]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Clean up fopen64 for O_LARGEFILE==0.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
2747bf9a
RM
12012-08-01 Roland McGrath <roland@hack.frob.com>
2
3 * libio/iofopen.c: Include <fcntl.h>.
4 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
5 (_IO_fopen64, fopen64): Define as aliases.
6 * libio/iofopen64.c: Include <fcntl.h>.
7 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
8 Conditionalize body on this.
9 * sysdeps/wordsize-64/iofopen.c: File removed.
10 * sysdeps/wordsize-64/iofopen64.c: File removed.
11
3fb791b8
MP
122012-08-01 Marek Polacek <polacek@redhat.com>
13
14 * libc/Makeconfig: Use elf in place of binfmt-subdir.
15 Use dlfcn directly instead of a variable.
16 (binfmt-subdir): Do not define.
17 (dlfcn): Likewise.
18
a9f1039f
JM
192012-08-01 Joseph Myers <joseph@codesourcery.com>
20
23bddc06
JM
21 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
22 Remove all definitions.
23 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
24 <kernel-features.h>.
25 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26 (miss_F_GETOWN_EX): Remove all definitions.
27 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
28 macro definition.
29 [!__ASSUME_FCNTL64]: Remove conditional code.
30 [__ASSUME_FCNTL64]: Make code unconditional.
31 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
32 <kernel-features.h>.
33 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
34 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35 (lockf64) [__NR_fcntl64]: Make code unconditional.
36 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37
a9f1039f
JM
38 * sysdeps/unix/sysv/linux/kernel-features.h
39 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
41 Make code unconditional.
42 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
44 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
45 [__NR_vfork]: Make code unconditional.
46 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
47 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
48 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49 [__NR_vfork]: Make code unconditional.
50 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
51 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
52
09c0ee5f
RM
532012-08-01 Roland McGrath <roland@hack.frob.com>
54
48aec5b9
RM
55 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
56 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
57
cd97c966
RM
58 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
59 Define mkstemp64 as an alias.
3f55550c
RM
60 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61 Define mkstemps64 as an alias.
cd97c966
RM
62 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63 Define mkostemp64 as an alias.
b8625cfc
RM
64 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
65 Define mkostemps64 as an alias.
cd97c966
RM
66 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
67 Conditionalize body on this.
68 * misc/mkostemp64.c: Likewise.
b8625cfc 69 * misc/mkostemps64.c: Likewise.
3f55550c 70 * misc/mkstemps64.c: Likewise.
cd97c966
RM
71 * sysdeps/wordsize-64/mkstemp64.c: File removed.
72 * sysdeps/wordsize-64/mkostemp64.c: File removed.
73 * sysdeps/wordsize-64/mkostemp.c: File removed.
74 * sysdeps/wordsize-64/mkstemp.c: File removed.
75 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
76 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
77 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
79
09c0ee5f
RM
80 [BZ #14138]
81 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
82 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
83 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
84 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
85
86 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
87 compat_symbol macros from <shlib-compat.h> rather than the underlying
88 default_symbol_version and symbol_version macros, so that DEFAULT
89 lines in shlib-versions are respected.
90 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
91
7e66ee51
FW
922012-08-01 Florian Weimer <fweimer@redhat.com>
93
94 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
95 Declare with warn_unused_result.
96 (setgid, setregid, setegid, setresgid): Likewise.
97 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
98 Likewise.
99 * WUR-REPORT: Remove set*id functions.
100
d2a54255
PT
1012012-07-31 Pino Toscano <toscano.pino@tiscali.it>
102
103 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
104
7ecdb005
RM
1052012-07-31 Roland McGrath <roland@hack.frob.com>
106
789bd351
RM
107 * include/sys/socket.h (__libc_accept, __libc_accept4):
108 Add attribute_hidden.
109 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
110
40ce302d
RM
111 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
112 use of PTR_MANGLE.
113 * inet/getnetgrent_r.c (setup): Likewise.
114
7ecdb005
RM
115 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
116
e2eabb2c
DM
1172012-07-31 David S. Miller <davem@davemloft.net>
118
119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
120
d0419dbf
JM
1212012-07-31 Joseph Myers <joseph@codesourcery.com>
122
123 [BZ #13629]
124 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
125 value between 1.0 and 2.0 and smaller part has absolute value less
126 than 1.0.
127 * math/s_clog10.c (__clog10): Likewise.
128 * math/s_clog10f.c (__clog10f): Likewise.
129 * math/s_clog10l.c (__clog10l): Likewise.
130 * math/s_clogf.c (__clogf): Likewise.
131 * math/s_clogl.c (__clogl): Likewise.
132 * math/libm-test.inc (clog_test): Add more tests.
133 (clog10_test): Likewise.
134 * sysdeps/i386/fpu/libm-test-ulps: Update.
135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
136
2bc13872
FW
1372012-07-31 Florian Weimer <fweimer@redhat.com>
138
139 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
140 Exit with zero in case no suitable GID is found, and write a
141 message to standard error.
142
bea9b193
RM
1432012-07-30 Roland McGrath <roland@hack.frob.com>
144
145 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
146 rather than to 1.
147 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
148 (MAXPATHLEN): Removed.
149 (NOGROUP, NODEV): New macros.
150 (setbit, clrbit, isset, isclr): New macros.
151 (howmany, roundup, powerof2): New macros.
152 (DEV_BSIZE): New macro.
153
154 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
155 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
156
157 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
158 definition on [!__NO_LONG_DOUBLE_MATH].
159
160 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
161 PTR_MANGLE and PTR_DEMANGLE.
162
163 * socket/accept4.c (accept4): Rename to __libc_accept4.
164 Define accept4 as a weak alias.
165
166 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
167 on [_DIRENT_HAVE_D_TYPE].
168 * io/ftw.c (ftw_dir): Likewise.
169
170 * io/xmknod.c (__xmknod): Don't check PATH for being null.
171
172 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
173
174 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
175 Use the BSD numbers rather than the arbitrary ones we had.
176 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
177 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
178 (SIGXCPU, SIGXFSZ): New macros.
179 (_NSIG): Now 32.
180
181 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
182 initializer on [_LIBC_REENTRANT].
183
184 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
185 definitions inside [_POSIX_MAPPED_FILES].
186
187 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
188
189 * dirent/opendir.c: Include <fcntl.h>.
190
191 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
192 (__libc_getspecific): Likewise.
193 (__libc_key_create): Likewise.
194
195 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
196 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
197 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
198 (tmpfile64): Define as alias.
199 * sysdeps/wordsize-64/tmpfile.c: File removed.
200 * sysdeps/wordsize-64/tmpfile64.c: File removed.
201 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
202 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
203
204 * stdio-common/vfscanf.c: Include <stdbool.h>.
205 * nss/makedb.c: Likewise.
206 * stdio-common/_i18n_number.h: Likewise.
207 * argp/argp-help.c: Likewise.
208 * posix/wordexp.c: Likewise.
209 * sysdeps/posix/spawni.c: Likewise.
210 * nss/nss_files/files-initgroups.c: Likewise.
211 * stdio-common/reg-modifier.c: Include <stdlib.h>.
212 * nss/nss_files/files-initgroups.c: Likewise.
213 * nss/nss_db/db-netgrp.c: Likewise.
214 * nss/nss_db/db-initgroups.c: Likewise.
215 * io/fchmodat.c: Include <sys/stat.h>.
216
217 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
218 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
219
220 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
221 [HAVE_MMAP].
222
223 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
224 Add multiple inclusion protection.
225
e5abc686
DM
2262012-07-27 David S. Miller <davem@davemloft.net>
227
228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
229
815e6fa3
GB
2302012-07-27 Gary Benson <gbenson@redhat.com>
231
232 [BZ #14298]
233 * elf/rtld.c: Include <stap-probe.h>.
234 (dl_main): Added static probes "init_start" and "init_complete".
235 * elf/dl-load.c: Include <stap-probe.h>.
236 (lose): Take new parameter "nsid".
237 Added static probe "map_failed".
238 (_dl_map_object_from_fd): Pass namespace id to lose.
239 Added static probe "map_start".
240 (open_verify): Pass namespace id to lose.
241 * elf/dl-open.c: Include <stap-probe.h>.
242 (dl_open_worker) Added static probes "map_complete", "reloc_start"
243 and "reloc_complete".
244 * elf/dl-close.c: Include <stap-probe.h>.
245 (_dl_close_worker): Added static probes "unmap_start" and
246 "unmap_complete".
247 * elf/rtld-debugger-interface.txt: New file documenting the above.
248
9f98c16c
RM
2492012-07-26 Roland McGrath <roland@hack.frob.com>
250
251 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
252 rather than a string variable.
253 * sunrpc/rpc_main.c (h_output): Likewise.
254 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
255
f3c22df3
PT
2562012-07-26 Pino Toscano <toscano.pino@tiscali.it>
257
258 * inet/check_native.c: New file.
259
3129cfc6
JM
2602012-07-26 Joseph Myers <joseph@codesourcery.com>
261
da865e95
JM
262 [BZ #13629]
263 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
264 if larger part has absolute value 1.0.
265 * math/s_clog10.c (__clog10): Likewise.
266 * math/s_clog10f.c (__clog10f): Likewise.
267 * math/s_clog10l.c (__clog10l): Likewise.
268 * math/s_clogf.c (__clogf): Likewise.
269 * math/s_clogl.c (__clogl): Likewise.
270 * math/libm-test.inc (clog_test): Add more tests.
271 (clog10_test): Likewise.
272 * sysdeps/i386/fpu/libm-test-ulps: Update.
273 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
274
3129cfc6
JM
275 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
276 (pltexit): Likewise.
277 (La_regs): Likewise.
278 (La_retval): Likewise.
279 (int_retval): Likewise.
280 Update #error for removed macros to refer only to definitions in
281 tst-audit.h.
282 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
283 macro.
284 (pltexit): Likewise.
285 (La_regs): Likewise.
286 (La_retval): Likewise.
287 (int_retval): Likewise.
288 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
289 macro.
290 (pltexit): Likewise.
291 (La_regs): Likewise.
292 (La_retval): Likewise.
293 (int_retval): Likewise.
294 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
295 macro.
296 (pltexit): Likewise.
297 (La_regs): Likewise.
298 (La_retval): Likewise.
299 (int_retval): Likewise.
300 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
301 macro.
302 (pltexit): Likewise.
303 (La_regs): Likewise.
304 (La_retval): Likewise.
305 (int_retval): Likewise.
306 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
307 macro.
308 (pltexit): Likewise.
309 (La_regs): Likewise.
310 (La_retval): Likewise.
311 (int_retval): Likewise.
312 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
313 macro.
314 (pltexit): Likewise.
315 (La_regs): Likewise.
316 (La_retval): Likewise.
317 (int_retval): Likewise.
318 * sysdeps/generic/tst-audit.h: Update comment to refer only to
319 macro definitions in tst-audit.h.
320 * sysdeps/i386/tst-audit.h: New file.
321 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
322 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
323 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
324 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
325 * sysdeps/sh/tst-audit.h: Likewise.
326 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
327 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
328 * sysdeps/x86_64/tst-audit.h: Likewise.
329
bfc07087
AJ
3302012-07-26 Andreas Jaeger <aj@suse.de>
331
b1b2aaf8
AJ
332 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
333 ptrace.
334
335 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
336 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
337 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
338 PTRACE_O_MASK.
339 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
340 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
341 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
342
bfc07087
AJ
343 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
344 value.
345
346 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
347 _sigsys.
348 (si_call_addr, si_syscall, si_arch): Define new macro.
349 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
350 _sigsys.
351 (si_call_addr, si_syscall, si_arch): Define new marcro.
352 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
353 _sigsys.
354 (si_call_addr, si_syscall, si_arch): Define new macro.
355 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
356 _sigsys.
357 (si_call_addr, si_syscall, si_arch): Define new macro.
358
89b4b02f
JM
3592012-07-25 Joseph Myers <joseph@codesourcery.com>
360
361 [BZ #13717]
362 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
363 Change to 2.4.21 where previously 2.4.1.
364 * sysdeps/unix/sysv/linux/configure: Regenerated.
365 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
366 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
367 Linux kernel version.
368 (__ASSUME_STD_AUXV): Remove.
369 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
370 kernel version.
371 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
372 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
373 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
374 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
375 (__ASSUME_NETLINK_SUPPORT): Likewise.
376 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
377 (__no_netlink_support): Remove conditional definition.
378 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
379 Remove.
380 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
381 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
382 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
383 (if_nameindex_ioctl): Remove.
384 (if_nameindex_netlink): Do not handle __no_netlink_support.
385 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
386 code.
387 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
388 Remove conditional code.
389 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
390 code.
391 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
392 unconditional.
393 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
394 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
395 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
396 Remove.
397 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
398 [!__ASSUME_STD_AUXV]: Remove conditional code.
399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
400 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
401 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
403 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
404 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
405 code.
406 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
408 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
409 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
410 conditional code.
411 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
413 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
414 code.
415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
416 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
417 conditional code.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
419 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
420 code unconditional.
421 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
422 conditional code.
423 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
424 unconditional.
425 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
426 conditional code.
427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
428 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
429 unconditional.
430 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
431 conditional code.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
433 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
434 code unconditional.
435 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
436 conditional code.
437 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
438 unconditional.
439 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
440 conditional code.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
442 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
443 code unconditional.
444 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
445 conditional code.
446 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
447 unconditional.
448 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
449 conditional code.
450
842a39cd
AS
4512012-07-25 Andreas Schwab <schwab@linux-m68k.org>
452
453 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
454 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
455 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
456 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
457 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
458 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
460 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
461 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
462 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
463 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
464 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
465 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
466 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
467 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
468 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
469 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
470 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
471 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
472 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
473 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
474 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
475 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
476
84b3fd84
FW
4772012-07-25 Florian Weimer <fweimer@redhat.com>
478
479 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
480 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
481 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
482 Introduce __libc_secure_getenv.
0c7936d5
FW
483 * stdlib/Versions (2.17): Add secure_getenv
484 (GLIBC_PRIVATE): Add __libc_secure_getenv.
485 * stdlib/secure-getenv.c: Rename __secure_getenv to
486 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
487 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
488 * stdlib/tst-secure-getenv.c: New.
489 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
490 * manual/startup.texi (Environment Access): Document
491 secure_getenv.
84b3fd84
FW
492 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
493 __libc_secure_getenv.
494 * inet/ruserpass.c (ruserpass): Likewise.
495 * malloc/mtrace.c (mtrace): Likewise.
496 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 497 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
498 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
499 * sysdeps/posix/tempname.c: Likewise. Evaluate
500 HAVE_SECURE_GETENV.
501 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 502 __secure_getenv to __libc_secure_getenv.
84b3fd84 503 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
505 Likewise.
506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
507 Likewise.
508 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
509 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
510 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
513 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 515
56e49b71
JM
5162012-07-25 Joseph Myers <joseph@codesourcery.com>
517
518 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
519 (struct La_i86_retval): Likewise.
520 (struct La_x86_64_regs): Likewise.
521 (struct La_x86_64_retval): Likewise.
522 (struct La_x32_regs): Likewise.
523 (struct La_x32_retval): Likewise.
524 (struct La_ppc32_regs): Likewise.
525 (struct La_ppc32_retval): Likewise.
526 (struct La_ppc64_regs): Likewise.
527 (struct La_ppc64_retval): Likewise.
528 (struct La_sh_regs): Likewise.
529 (struct La_sh_retval): Likewise.
530 (struct La_s390_32_regs): Likewise.
531 (struct La_s390_32_retval): Likewise.
532 (struct La_s390_64_regs): Likewise.
533 (struct La_s390_64_retval): Likewise.
534 (struct La_sparc32_regs): Likewise.
535 (struct La_sparc32_retval): Likewise.
536 (struct La_sparc64_regs): Likewise.
537 (struct La_sparc64_retval): Likewise.
538 (struct audit_ifaces): Remove architecture-specific pltenter and
539 pltexit members.
540 * sysdeps/i386/ldsodefs.h: New file.
541 * sysdeps/powerpc/ldsodefs.h: Likewise.
542 * sysdeps/s390/ldsodefs.h: Likewise.
543 * sysdeps/sh/ldsodefs.h: Likewise.
544 * sysdeps/sparc/ldsodefs.h: Likewise.
545 * sysdeps/x86_64/ldsodefs.h: Likewise.
546
354691b7
MP
5472012-07-25 Marek Polacek <polacek@redhat.com>
548
549 [BZ #6808]
550 * math/libm-test.inc (yn_test): Add another test.
551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
552 to ERANGE when the result is +-Inf.
553 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
554 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
555 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
556 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
557
bf9e2071
JM
5582012-07-24 Joseph Myers <joseph@codesourcery.com>
559
560 * conform/data/time.h-data (NULL): Use macro-constant. Require
561 equal to 0.
562 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
563 clock_t.
564 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
565
57633811
TS
5662012-07-23 Thomas Schwinge <thomas@codesourcery.com>
567
568 * configure.in <sysdeps resolving>: Correct printing
569 Implies_before.
570 * configure: Regenerate.
571
c23c33b0
TS
5722012-07-22 Thomas Schwinge <thomas@codesourcery.com>
573
574 * math/w_ilogb.c: Include <limits.h>.
575 * math/w_ilogbl.c: Likewise.
576
b5982523
JM
5772012-07-20 Joseph Myers <joseph@codesourcery.com>
578
579 * manual/lang.texi (__va_copy): Document primarily as ISO C99
580 va_copy. Document allowing for unavailable va_copy only as
581 pre-C99 compatibility.
582 * manual/string.texi (Copying and Concatenation): Use va_copy
583 instead of __va_copy in concat example.
584
ac4ea442
PT
5852012-07-20 Pino Toscano <toscano.pino@tiscali.it>
586
587 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
588 (__sendto): Use create_address_port. Initialize APORT and deallocate
589 it if not null.
590
f98eafbd
PT
591 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
592 with O_NOLINK passed to __file_name_lookup.
593
898c7aab
PT
594 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
595 with O_NOLINK passed to __file_name_lookup.
596
0ced335a
PT
597 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
598 negative N or less than NGIDS.
599
b3404dbd
PT
600 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
601 type to string_t. Set ERANGE as errno and return it if NAME is not big
602 enough. Use memcpy instead of strncpy.
603
0f48659e
JM
6042012-07-20 Joseph Myers <joseph@codesourcery.com>
605
606 * elf/Makefile (check-data): Remove.
607 (localplt.data): New vpath directive.
608 ($(objpfx)check-localplt.out): Use localplt.data from vpath
609 instead of $(check-data).
610 * scripts/data/localplt-generic.data: Move to ...
611 * sysdeps/generic/localplt.data: ... here.
612 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
613 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
614 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
616 ... here.
617 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
619 ... here.
620 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
621 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
622 ... here.
623 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
624 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
625 ... here.
626 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
627 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
628 ... here.
629 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
631 ... here.
632
d37cbdaa
AZ
6332012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
634
635 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
636 PPC32 and PPC64 files.
637 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
638 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
639
46f85fc2
AK
6402012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
641
642 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
643 __makecontext_ret to ...
644 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
645 ... here and call exit if uc_link is NULL. New file.
646 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
647 __makecontext_ret.S.
648 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
649 __makecontext_ret to ...
650 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
651 ... here and call exit if uc_link is NULL. New file.
652 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
653 __makecontext_ret.S.
654
08f43f9b
AK
6552012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
656
657 * elf/elf.h (R_390_IRELATIVE): New definition.
658 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
659 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
660 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
661 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
662 (elf_machine_lazy_rel): Likewise.
663 * sysdeps/s390/dl-irel.h: New file.
664 * sysdeps/s390/s390-64/memcpy.S: New asm code.
665 * sysdeps/s390/s390-64/memset.S: New asm code.
666 * sysdeps/s390/s390-64/memcmp.S: New asm code.
667 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
668 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
669 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
670 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
671 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
672 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
673 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
674 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
675 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
676 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
677 * sysdeps/s390/s390-32/memcpy.S: New asm code.
678 * sysdeps/s390/s390-32/memset.S: New asm code.
679 * sysdeps/s390/s390-32/memcmp.S: New asm code.
680
3b05db33
MP
6812012-07-17 Marek Polacek <polacek@redhat.com>
682
683 [BZ #14349]
684 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
685 * sysdeps/s390/s390-64/configure.in: Likewise.
686 * sysdeps/sparc/configure.in: Likewise.
687 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
688 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
689 * sysdeps/i386/configure.in: Likewise.
690 * sysdeps/x86_64/configure.in: Likewise.
691 * sysdeps/sh/configure.in: Likewise.
692 * sysdeps/s390/s390-32/configure: Regenerated.
693 * sysdeps/s390/s390-64/configure: Likewise.
694 * sysdeps/x86_64/configure: Likewise.
695 * sysdeps/sh/configure: Likewise.
696 * sysdeps/powerpc/powerpc64/configure: Likewise.
697 * sysdeps/powerpc/powerpc32/configure: Likewise.
698 * sysdeps/sparc/configure: Likwise.
699 * sysdeps/i386/configure: Likewise.
700
a66877c6
MP
701 * elf/dl-open.c: Comment fixes.
702
cfc82fd8
JM
7032012-07-17 Joseph Myers <joseph@codesourcery.com>
704
bd29910a
JM
705 * Makefile [CXX] (check-data): Remove.
706 [CXX] (c++-types.data): New vpath directive.
707 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
708 vpath. Do not allow for C++ type data being missing.
709 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
710 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
711 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
712 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
713 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
714 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
715 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
717 ... here.
718 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
720 ... here.
721 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
723 ... here.
724 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
726 ... here.
727 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
729 ... here.
730 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
731 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
732 ... here.
733 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
735 ... here.
736 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
738
cfc82fd8
JM
739 * elf/tls-macros.h (TLS_LE): Move architecture-specific
740 definitions to architecture-specific files.
741 (TLS_IE): Likewise.
742 (TLS_LD): Likewise.
743 (TLS_GD): Likewise.
744 * sysdeps/i386/tls-macros.h: New file.
745 * sysdeps/powerpc/tls-macros.h: Likewise.
746 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
747 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
748 * sysdeps/sh/tls-macros.h: Likewise.
749 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
750 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
751 * sysdeps/x86_64/tls-macros.h: Likewise.
752
f7db3170
TS
7532012-07-17 Thomas Schwinge <thomas@codesourcery.com>
754
07cbfc23
TS
755 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
756 zero value for regular exit case.
757
f7db3170
TS
758 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
759 (__start_context): Preserve zero value for regular exit case.
760
dc97c227
TS
7612012-07-17 Thomas Schwinge <thomas@codesourcery.com>
762 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
763
764 * manual/setjmp.texi (setcontext): Clarify normal process
765 termination when uc_link is the null pointer.
766 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
767 exit call.
768
d0cd7d02
AS
7692012-07-16 Andreas Schwab <schwab@linux-m68k.org>
770
771 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
772 preprocessor. Test for each exception mask separately.
773
dd318934
AJ
7742012-07-16 Andreas Jaeger <aj@suse.de>
775
776 * po/ru.po: Update from translation team.
777
8048311a
JM
7782012-07-15 Joseph Myers <joseph@codesourcery.com>
779
780 * conform/data/string.h-data (NULL): Use macro-constant. Require
781 equal to 0.
782 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
783 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
784 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
785 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
786 [ISO || ISO99 || ISO11] (*_t): Do not allow.
787
b637d46e
AJ
7882012-07-13 Andreas Jaeger <aj@suse.de>
789
790 * po/fr.po: Update from translation team.
791
541428fe
MP
7922012-07-12 Marek Polacek <polacek@redhat.com>
793
794 [BZ #14173]
795 * math/libm-test.inc (yn_test): Add test for BZ #14173.
796 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
797 loop condition.
798
ec332e94
JM
7992012-07-12 Joseph Myers <joseph@codesourcery.com>
800
801 [BZ #13717]
802 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
803 Change to 2.4.1 where previously 2.4.0.
804 * sysdeps/unix/sysv/linux/configure: Regenerated.
805 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
806 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
807 version.
808 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
809 (__ASSUME_AT_CLKTCK): Remove.
810 (__ASSUME_AT_PAGESIZE): Likewise.
811 (__ASSUME_AT_XID): Likewise.
812 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
813 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
814 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
815 unconditionally.
816 (HAVE_AUX_PAGESIZE): Likewise.
817 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
818 [__ASSUME_AT_CLKTCK]: Make code unconditional.
819 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
820
7b6e99be
JB
8212012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
822
823 [BZ #14307]
824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
825 the temporary buffer used to invoke __gethostbyname2_r,
826 __gethostbyaddr_r and gethostbyname4_r to make room for struct
827 host_data / struct gaih_addrtuple.
828 * resolv/nss_dns/dns-host.c (global scope): Move definition of
829 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
830 header file nss/nsswitch.h.
831 * nss/nsswitch.h (global scope): Add definition of implementation
832 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
833 resolv/nss_dns/dns-host.c).
834
608404eb
AJ
8352012-07-11 Andreas Jaeger <aj@suse.de>
836
837 * po/fr.po: Update from translation team.
838
71220aca
AJ
839 * po/sv.po: Update from translation team
840 * po/fr.po: Another update from translation team.
841
28cfe843
AZ
8422012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
843
844 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
845 for subnormals or multiply small sinh result by itself.
846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
847 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
848
6b90f981
DM
8492012-07-11 David S. Miller <davem@davemloft.net>
850
851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
852
c6825772
AS
8532012-07-10 Andreas Schwab <schwab@linux-m68k.org>
854
855 [BZ #14347]
856 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
857 (INTERNAL_MARK): Shift it here.
858
7b8e0d49
MP
8592012-07-10 Marek Polacek <polacek@redhat.com>
860
861 [BZ #14151]
862 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
863 libc_cv_asm_global_directive with .globl.
864 * configure: Regenerated.
865 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
866 with .globl.
867 * sysdeps/i386/configure: Regenerated.
868 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
869 with .globl.
870 * sysdeps/x86_64/configure: Regenerated.
871 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
872 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
873 * elf/tst-unique2mod2.c: Likewise.
874 * elf/tst-unique2mod1.c: Likewise.
875 * elf/tst-unique1mod2.c: Likewise.
876 * elf/tst-unique1mod1.c: Likewise.
877 * sysdeps/s390/s390-32/sysdep.h: Likewise.
878 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
879 * sysdeps/s390/s390-64/sysdep.h: Likewise.
880 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
881 * sysdeps/mach/sysdep.h: Likewise.
882 * sysdeps/i386/sysdep.h: Likewise.
883 * sysdeps/i386/i386-mcount.S: Likewise.
884 * sysdeps/x86_64/_mcount.S: Likewise.
885 * sysdeps/x86_64/sysdep.h: Likewise.
886 * sysdeps/sh/_mcount.S: Likewise.
887 * sysdeps/sh/sysdep.h: Likewise.
888 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
889 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
890 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
891 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
892 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
893 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
894 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
895 * locale/localeinfo.h: Likewise.
896 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
897 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
898
6c55cda3
RM
8992012-07-09 Roland McGrath <roland@hack.frob.com>
900
901 [BZ #14336]
902 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
903 system".
904 * manual/message.texi (The Uniforum approach): Likewise.
905 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
906 (glibc iconv Implementation): Likewise.
907
638a572e
JM
9082012-07-09 Joseph Myers <joseph@codesourcery.com>
909
910 [BZ #14337]
911 * math/s_clog.c (__clog): Avoid scaling a value down where that
912 could result in underflow.
913 * math/s_clog10.c (__clog10): Likewise.
914 * math/s_clog10f.c (__clog10f): Likewise.
915 * math/s_clog10l.c (__clog10l): Likewise.
916 * math/s_clogf.c (__clogf): Likewise.
917 * math/s_clogl.c (__clogl): Likewise.
918 * math/libm-test.inc (clog_test): Add more tests.
919 (clog10_test): Likewise.
920 * sysdeps/i386/fpu/libm-test-ulps: Update.
921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
922
261f4859
AS
9232012-07-06 Andreas Schwab <schwab@linux-m68k.org>
924
0abaf3e4
AS
925 [BZ #14283]
926 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
927 by 7 not 8 to examine high bit of fractional part.
928
261f4859
AS
929 [BZ #14042]
930 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
931 for call to __mcount_internal.
932 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
933 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
934 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
935
f17ac40d
JM
9362012-07-06 Joseph Myers <joseph@codesourcery.com>
937
9ad63c23
JM
938 [BZ #14154]
939 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
940 approximation for values within 0x1p-13f of an odd multiple of
941 pi/4.
942 * math/libm-test.inc (tan_test): Do not allow spurious underflow
943 exception. Add more tests.
944 * sysdeps/i386/fpu/libm-test-ulps: Update.
945
f17ac40d
JM
946 [BZ #6778]
947 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
948 inputs and return -1 for them. Do not check for +Inf in case not
949 reachable for +Inf.
950 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
951 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
952 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
953 and return -1 for them. Do not check for +Inf in case not
954 reachable for +Inf.
955 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
956 define.
957 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
958 and return -1 for them. Do not check for +Inf in case not
959 reachable for +Inf.
960 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
961 spurious underflow.
962 * sysdeps/i386/fpu/libm-test-ulps: Update.
963 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
964
fb21f89b
MF
9652012-07-06 Mike Frysinger <vapier@gentoo.org>
966
967 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
968
cdfe2c5e
JM
9692012-07-05 Joseph Myers <joseph@codesourcery.com>
970
971 [BZ #14157]
972 [BZ #14331]
973 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
974 could result in spurious underflow. Scale down values above
975 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
976 * math/s_csqrtf.c (__csqrtf): Likewise.
977 * math/s_csqrtl.c (__csqrtl): Likewise.
978 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
979 spurious underflow.
980 * sysdeps/i386/fpu/libm-test-ulps: Update.
981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
982
70d35b67
AS
9832012-07-04 Andreas Schwab <schwab@linux-m68k.org>
984
704bc459
AS
985 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
986 xopen-msg.sed.
987 * catgets/xopen-msg.awk: New file.
988 * catgets/xopen-msg.sed: Removed.
989
70d35b67
AS
990 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
991 po2text.sed.
992 * intl/po2test.awk: New file.
993 * intl/po2test.sed: Removed.
994
ca61cf32
JM
9952012-07-04 Joseph Myers <joseph@codesourcery.com>
996
997 [BZ #14328]
998 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
999 or multiply small sinh result by itself.
1000 * math/s_ctanf.c (__ctanf): Likewise.
1001 * math/s_ctanh.c (__ctanh): Likewise.
1002 * math/s_ctanhf.c (__ctanhf): Likewise.
1003 * math/s_ctanhl.c (__ctanhl): Likewise.
1004 * math/s_ctanl.c (__ctanl): Likewise.
1005 * math/libm-test.inc (ctan_test_tonearest): New function.
1006 (ctan_test_towardzero): Likewise.
1007 (ctan_test_downward): Likewise.
1008 (ctan_test_upward): Likewise.
1009 (ctanh_test_tonearest): Likewise.
1010 (ctanh_test_towardzero): Likewise.
1011 (ctanh_test_downward): Likewise.
1012 (ctanh_test_upward): Likewise.
1013 (main): Call these new functions.
1014 * sysdeps/i386/fpu/libm-test-ulps: Update.
1015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1016
ca48a46a
MF
10172012-07-03 Mike Frysinger <vapier@gentoo.org>
1018
1019 * .gitignore: Delete /ports entry.
1020
9d63d37d
AJ
10212012-07-03 Andreas Jaeger <aj@suse.de>
1022
1023 * po/bg.po: Update from translation team.
1024 * po/cs.po: Likewise.
1025 * po/de.po: Likewise.
1026 * po/hr.po: Likewise.
1027 * po/nl.pl: Likewise.
1028 * po/pl.po: Likewise.
1029 * po/vi.po: Likewise.
1030
370ca3d2
JM
10312012-07-03 Joseph Myers <joseph@codesourcery.com>
1032
95f5a9a8
JM
1033 * Makeconfig [!+link] (+link-before-libc): New variable.
1034 [!+link] (+link-after-libc): Likewise.
1035 [!+link] (+link-tests): Likewise.
1036 [!+link] (+link): Define in terms of $(+link-before-libc) and
1037 $(+link-after-libc).
1038 [!+link-static] (+link-static-before-libc): New variable.
1039 [!+link-static] (+link-static-after-libc): Likewise.
1040 [!+link-static] (+link-static-tests): Likewise.
1041 [!+link-static] (+link-static): Define in terms of
1042 $(+link-static-before-libc) and $(+link-static-after-libc).
1043 [build-shared] (link-libc-before-gnulib): New variable.
1044 [build-shared] (link-libc-tests): Likewise.
1045 [build-shared] (link-libc): Define in terms of
1046 $(link-libc-before-gnulib).
1047 [!build-shared] (link-libc-tests): New variable.
1048 (link-libc-static-tests): New variable.
1049 [!gnulib] (gnulib-arch): New variable.
1050 [!gnulib] (gnulib-tests): Likewise.
1051 [!gnulib] (static-gnulib-arch): Likewise.
1052 [!gnulib] (static-gnulib-tests): Likewise.
1053 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
1054 Define with "=" instead of ":=".
1055 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
1056 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
1057 * Rules (binaries-all-notests): New variable.
1058 (binaries-all-tests): Likewise.
1059 (binaries-static-notests): Likewise.
1060 (binaries-static-tests): Likewise.
1061 (binaries-all): Define using $(binaries-all-notests) and
1062 $(binaries-all-tests).
1063 (binaries-static): Define using $(binaries-static-notests) and
1064 $(binaries-static-tests).
1065 (binaries-shared-tests): New variable.
1066 (binaries-shared-notests): Likewise.
1067 (binaries-shared): Remove variable.
1068 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
1069 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
1070 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
1071 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
1072 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
1073 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
1074 * elf/Makefile (sln-modules): New variable.
1075 (extra-objs): Add $(sln-modules:=.o).
1076 (ldconfig-modules): Add static-stubs.
1077 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
1078 * elf/static-stubs.c: New file.
1079
7a845b2c
JM
1080 [BZ #14283]
1081 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
1082 by 7 not 8 to examine high bit of fractional part. Use volatile
1083 variables when splitting into final array of floats if
1084 __FLT_EVAL_METHOD__ != 0.
1085 * math/libm-test.inc (cos_test): Add another test.
1086 (sin_test): Likewise.
1087 * sysdeps/i386/fpu/libm-test-ulps: Update.
1088
e2283f38
JM
1089 [BZ #14273]
1090 * math/libm-test.inc (cosh_test): Add more tests.
1091
370ca3d2
JM
1092 * version.h (RELEASE): Set to "development".
1093 (VERSION): Set to "2.16.90".
1094
ee9247c3
CD
10952012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
1096
1097 * NEWS: Update copyright. Remove last-updated date.
1098 Mention math library bug fixes and timezone data changes.
1099 * README: Mention GNU/Hurd, x32, and HPPA support status.
1100
4648c381
TS
11012012-06-28 Thomas Schwinge <thomas@codesourcery.com>
1102
1103 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
1104
aac78a43
AJ
11052012-06-27 Andreas Jaeger <aj@suse.de>
1106
1107 * manual/contrib.texi (Contributors): Add Samuel Thibault.
1108
ed3dbfad
AJ
11092012-06-25 Andreas Jaeger <aj@suse.de>
1110
1111 * sysdeps/s390/fpu/libm-test-ulps: Update.
1112
4d0ee855
AS
11132012-06-23 Andreas Schwab <schwab@linux-m68k.org>
1114 Thomas Schwinge <thomas@codesourcery.com>
1115
1116 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
1117 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
1118 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
1119 fanotify_mark.
1120
af1bce34
TS
11212012-06-23 Thomas Schwinge <thomas@codesourcery.com>
1122
a9fa33ba
TS
1123 * sysdeps/mach/start.c: Remove file.
1124 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
1125 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
1126 * sysdeps/sh/init-first.c: Likewise.
1127
58f902b8
TS
1128 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
1129 registers for frame unwinding purposes, add CFI directives.
1130 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1131 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
1132 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
1133 Likewise.
1134
1518f58b
TS
1135 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
1136 __fortify_fail returning.
1137 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
1138
db9b5059
TS
1139 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
1140 sysdeps/sh/____longjmp_chk.S.
1141 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
1142 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
1143 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
1144 (gen-as-const-headers): Append sigaltstack-offsets.sym.
1145
967705fe
TS
1146 * sysdeps/sh/abort-instr.h: New file.
1147 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
1148 process in case exit returns.
1149
a9def8c4
TS
1150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
1151 initialize the GOT register before use.
1152
2a649725
TS
1153 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
1154 calculation of ARGC > 4.
1155
af1bce34
TS
1156 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
1157 meaningful names to some local labels.
1158
d230f50a
KK
11592012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
1160 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1161
1162 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
1163 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
1164 (__arch_compare_and_exchange_val_16_acq): Likewise.
1165 (__arch_compare_and_exchange_val_32_acq): Likewise.
1166 (atomic_exchange_and_add): Fix gUSA sequence.
1167 (atomic_add): Likewise.
1168 (atomic_add_negative): Likewise.
1169 (atomic_add_zero): Likewise.
1170 (atomic_bit_test_set): Likewise.
1171
0479b305
AS
11722012-06-22 Andreas Schwab <schwab@redhat.com>
1173
1174 [BZ #13579]
1175 * include/link.h (struct link_map): Add l_free_initfini.
1176 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
1177 l_initfini.
1178 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
1179 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
1180 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
1181 set.
1182
0e3933b9
CD
11832012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
1184
1185 * configure.in: Use AC_LANG_SOURCE.
1186 * configure: Regenerate.
1187
4248b1b1
RM
11882012-06-22 Roland McGrath <roland@hack.frob.com>
1189
1190 * configure.in (libc_cv_localstatedir): New substituted variable.
1191 * configure: Regenerated.
1192 * config.make.in (localstatedir): New variable, substituted from
1193 libc_cv_localstatedir.
1194 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
1195 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
1196 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
1197 * sysdeps/gnu/configure: Regenerated.
1198
006dd861
JL
11992012-06-21 Jeff Law <law@redhat.com>
1200
1201 [BZ #14277]
1202 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
1203 free. Simplify list management for _LIBC case.
1204
79662d42
JM
12052012-06-21 Joseph Myers <joseph@codesourcery.com>
1206
b7abb4bf
JM
1207 [BZ #14273]
1208 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
1209 Clear sign bit of 64-bit integer value before comparing against
1210 overflow value.
1211
79662d42
JM
1212 * sysdeps/mach/configure: Regenerated.
1213
1f150908
L
12142012-06-21 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 [BZ #14278]
1217 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
1218
28363bbf
JL
12192012-06-21 Jeff Law <law@redhat.com>
1220
1221 [BZ #13882]
1222 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
1223 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 1224 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
1225 * elf/dl-open.c (dl_open_worker): Likewise.
1226
09615db4
CD
12272012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
1228
1229 * scripts/list-sources.sh: Scan PORTS for translations.
1230 * po/libc.pot: Regenerated.
1231
2174c6dd
AJ
12322012-06-21 Andreas Jaeger <aj@suse.de>
1233
1234 [BZ #12194]
1235 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
1236 warning.
1237 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
1238 * bits/byteswap-16.h (__bswap_16): Likewise.
1239 * bits/byteswap.h (__bswap_constant_16): Likewise.
1240
3ee947b1
L
12412012-06-18 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 [BZ #14117]
a2f34833
L
1244 * sysdeps/i386/fpu_control.h: Removed.
1245 * sysdeps/x86_64/fpu_control.h: Moved to ...
1246 * sysdeps/x86/fpu_control.h: Here.
1247
3ee947b1
L
1248 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
1249 (_FPU_SETCW): Likewise.
1250
ed1825f8
L
12512012-06-15 H.J. Lu <hongjiu.lu@intel.com>
1252
25f1282a
L
1253 [BZ #14117]
1254 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
1255 * sysdeps/x86/fpu/bits/mathinline.h: This.
1256 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
1257
ed1825f8
L
1258 [BZ #14050]
1259 [BZ #14117]
1260 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
1261 functions if __x86_64__ is defined.
1262
36d54b74
CLT
12632012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
1264
1265 * string/endian.h: Add !__ASSEMBLER__ condition for including
1266 conversion interfaces.
1267
10285c21
JM
12682012-06-15 Joseph Myers <joseph@codesourcery.com>
1269
1270 [BZ #14241]
1271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
1272 of ABS(x) in calculating zero to negative powers other than odd
1273 integers.
1274 * math/libm-test.inc (pow_test): Add more tests.
1275
06c5abbd
AJ
12762012-06-15 Andreas Jaeger <aj@suse.de>
1277
1278 * manual/contrib.texi (Contributors): Update entry of Liubov
1279 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
1280 Machado Filho.
1281
a3aeac40
CH
12822012-06-15 Cyril Hrubis <metan@ucw.cz>
1283
1284 * string/string.h: Add __wur to GNU version of strerror_r.
1285
49bdf4c1
L
12862012-06-14 H.J. Lu <hongjiu.lu@intel.com>
1287
1288 [BZ #14229]
1289 * string/Makefile (tests): Add tst-strtok_r.
1290 * string/tst-strtok_r.c: New file.
1291 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
1292 RAX_LP/RDX_LP on SAVE_PTR.
1293
834f9b8d
RM
12942012-06-14 Roland McGrath <roland@hack.frob.com>
1295
1296 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
1297
75fa1921
JM
12982012-06-14 Joseph Myers <joseph@codesourcery.com>
1299
1300 * libm_test.inc (csqrt_test): Allow more spurious underflow
1301 exceptions.
1302 (j0_test): Likewise.
1303 (j1_test): Likewise.
1304 (y0_test): Likewise.
1305 (y1_test): Likewise.
1306
771766df
CD
13072012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
1308
1309 * po/Makefile (libc.pot): Use UTF-8 charset.
1310
ceb9e56b
PP
13112012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
1312
1313 [BZ #14210]
1314 Suppress sign-conversion warning from FD_SET.
1315 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
1316 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
1317 not unsigned long int.
1318 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
1319
ddb28975
L
13202012-06-12 H.J. Lu <hongjiu.lu@intel.com>
1321
1322 [BZ #14050]
1323 [BZ #14117]
1324 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
1325 __extern_always_inline instead of __extern_inline.
1326 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
1327 (__signbit): Likewise.
1328 (__signbitl): Support C++ namespace.
1329 (lrintf): New inline function.
1330 (lrint): Likewise.
1331 (llrintf): Likewise.
1332 (llrint): Likewise.
1333 (fmaxf): Likewise.
1334 (fmax): Likewise.
1335 (fminf): Likewise.
1336 (fmin): Likewise.
1337 (rint): Likewise.
1338 (rintf): Likewise.
1339 (ceil): Likewise.
1340 (ceilf): Likewise.
1341 (floor): Likewise.
1342 (floorf): Likewise.
1343 (nearbyint): Likewise.
1344 (nearbyintf): Likewise.
1345
d7b4fb26
TS
13462012-06-12 Thomas Schwinge <thomas@codesourcery.com>
1347
1348 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
1349 non-default versions.
1350
eb55f5c2
RM
13512012-06-11 Roland McGrath <roland@hack.frob.com>
1352
1353 [BZ #14218]
1354 * manual/argp.texi (Argp): Reword argp_parse description slightly.
1355
366af02c
TS
13562012-06-09 Thomas Schwinge <thomas@codesourcery.com>
1357
99ff6e5c
TS
1358 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
1359 (FE_UPWARD, FE_DOWNWARD): Don't define.
1360 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
1361 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1362
366af02c
TS
1363 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
1364 reading it.
1365 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1366 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1367
793ea851
KK
13682012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1369
1370 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
1371 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
1372 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
1373 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
1374
a728a38f
L
13752012-06-06 H.J. Lu <hongjiu.lu@intel.com>
1376
1377 [BZ #14117]
c08010c7
L
1378 * sysdeps/i386/fpu/bits/fenv.h: Removed.
1379 * sysdeps/i386/fpu/Implies: New file.
1380 * sysdeps/x86_64/fpu/Implies: Likewise.
1381 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
1382 * sysdeps/x86/fpu/bits/fenv.h: This.
1383
a728a38f
L
1384 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
1385 __SSE_MATH__.
1386
6e230d11
SP
13872012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
1388
1389 [BZ #14134]
1390 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
1391 character 0xffff that matches the last element of the
1392 conversion table.
1393
1b671feb
AZ
13942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1395
1396 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
1397 fmodl commit.
1398
6043738b
AZ
13992012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1400
1401 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
1402 values higher than 25.6283.
1403
34ae0b32
AZ
14042012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1405
1406 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
1407 subnormal exponent extraction and add some __builtin_expect.
1408 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
1409 Fix for subnormal mantissa calculation.
1410
1214ec8f
MF
14112012-06-04 Mike Frysinger <vapier@gentoo.org>
1412
1413 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
1414 cpu2 is -1 and errno is not ENOSYS.
1415
f3d1f93c
L
14162012-06-04 H.J. Lu <hongjiu.lu@intel.com>
1417
1418 [BZ #14117]
0e4a3cd7
L
1419 * sysdeps/i386/i486/bits/string.h: Renamed to ...
1420 * sysdeps/x86/bits/string.h: This.
1421 * sysdeps/x86_64/bits/string.h: Removed.
1422
6704c645
L
1423 * sysdeps/i386/i486/bits/string.h: Define inline functions only
1424 if not compiling for x86-64, but compiling for >= i486.
1425
48495318
L
1426 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
1427 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
1428
14adcbfc
L
1429 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
1430 New macro from Linux kernel 3.4.0.
1431 (FP_XSTATE_MAGIC2): Likewise.
1432 (FP_XSTATE_MAGIC2_SIZE): Likewise.
1433 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
1434 (struct _fpx_sw_bytes): New struct.
1435 (struct _xsave_hdr): Likewise.
1436 (struct _ymmh_state): Likewise.
1437 (struct _xstate): Likewise.
1438
68e408ab
L
1439 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
1440 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
1441 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
1442 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
1443 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
1444 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
1445
f3d1f93c
L
1446 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
1447 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
1448 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
1449 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1450 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1451 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1452
d9dc34cd
TMQMF
14532012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1454
1455 [BZ #13743]
1456 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1457 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1458 (sysdep_headers): Include sys/platform/ppc.h.
1459 * sysdeps/powerpc/test-gettimebase.c: Test for
1460 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1461 * manual/Makefile (appendices): Include platform.texi.
1462 * manual/contrib.texi (Contributors): Update @node pointers.
1463 * manual/maint.texi (Maintenance): Likewise.
1464 (Platform): New node.
1465 * manual/platform.texi: New file. Document the new features.
1466
4af3879c
SP
14672012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1468 Jakub Jelinek <jakub@redhat.com>
1469
1470 [BZ #14188]
1471 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1472 where __builtin_expect is unavailable.
1473
2fd6ff13
DM
14742012-06-03 David S. Miller <davem@davemloft.net>
1475
1476 * stdlib/longlong.h: Updated from GCC.
1477
173f7220
AS
14782012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1479
1480 [BZ #14042]
1481 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1482 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1483 __mcount_internal.
1484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1485 (GLIBC_2.16): Likewise.
1486
f34a1c6f
L
14872012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1488
1489 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1490
88a4576f
JM
14912012-06-01 Joseph Myers <joseph@codesourcery.com>
1492
ea32bcdd
JM
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1494 (default-abi): New variable.
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1496 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1497 variable.
1498 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1499 Likewise.
1500 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1501 Likewise.
1502 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1503 Likewise.
1504
88a4576f
JM
1505 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1506 definition. Document in comment.
1507
402fe938
DM
15082012-06-01 David S. Miller <davem@davemloft.net>
1509
1510 * stdlib/longlong.h: Updated from GCC.
1511
3553723f
L
15122012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1513
1514 [BZ #14117]
3bd872c4
L
1515 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1516 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1517 sys/debugreg.h sys/io.h here.
1518 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1519 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1520 sys/io.h.
1521 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1522 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1523 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1524 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1525 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1526 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1527
3553723f
L
1528 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1529 Define only if __x86_64__ is defined.
1530
4842e4fe
JM
15312012-06-01 Joseph Myers <joseph@codesourcery.com>
1532
c5bfe3d5
JM
1533 [BZ #14048]
1534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1535 Use int64_t for variable i.
1536 * math/libm-test.inc (fmod_test): Add more tests.
1537
4842e4fe
JM
1538 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1539 z computation is not scheduled after fetestexcept.
1540 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1541 Use math_force_eval instead of asm to ensure calculation scheduled
1542 before exception test.
1543 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1544 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1545
efb73488
AJ
15462012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1547
1548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1549 computation is not scheduled after fetestexcept.
1550
29bcce7c
L
15512012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1552
1553 [BZ #14117]
1554 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1555 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1556
73a68f94
AZ
15572012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1558
1559 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1560 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1561
67b6df78
L
15622012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1563
edf2933a 1564 [BZ #14117]
ebc64a18
L
1565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1566 <bits/wordsize.h>.
1567 (__WCHAR_MIN): Support __WORDSIZE == 64.
1568 (__WCHAR_MAX): Likewise.
1569
edf2933a
L
1570 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1571 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1572
57c6cf40
L
1573 [BZ #14183]
1574 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1575 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1576
67b6df78 1577 [BZ #14117]
8eb6281e
L
1578 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1579 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1580
aac639f4
L
1581 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1582 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1583
67b6df78
L
1584 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1585 Defined to 1 if __x86_64__ isn't defined.
1586 (_STAT_VER_LINUX_OLD): New.
1587 (st_atime): Remove duplicate.
1588 (st_mtime): Likewise.
1589 (st_ctime): Likewise.
1590
1c2cfe81
DM
15912012-05-31 David S. Miller <davem@davemloft.net>
1592
1593 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1594 entries.
1595
5be8418c
AS
15962012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1597
e7725326
AS
1598 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1599 gen-libm-test.pl.
1600
5be8418c
AS
1601 [BZ #14132]
1602 * elf/dl-reloc.c: Include <_itoa.h>.
1603 (_dl_reloc_bad_type): Remove use of INTUSE.
1604 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1605 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1606 * stdio-common/psiginfo.c (psiginfo): Likewise.
1607 * stdio-common/psignal.c (psignal): Likewise.
1608 * string/strsignal.c (strsignal): Likewise.
1609 * include/signal.h (_sys_siglist): Declare hidden proto.
1610 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1611 INTVARDEF with libc_hidden_data_def.
1612 * stdio-common/itoa-udigits.c: Likewise.
1613 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1614 (_itoa_lower_digits_internal): Remove declaration.
1615 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1616 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1617 (_sys_sigabbrev_internal): Remove aliases.
1618 (_sys_siglist): Define hidden alias.
1619
507352f1
MT
16202012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1621
1622 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1623 bits/sysctl.h.
1624
42bbb1c3
L
16252012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 [BZ #14117]
6bd784b6
L
1628 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1629 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1630
8bca20f0
L
1631 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1632 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1633 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1634 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1636 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1637
f9e890a9
L
1638 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1639 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1640 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1641
471101a1
L
1642 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1643 with __addr.
1644 (insw): Likewise.
1645 (insl): Likewise.
1646 (outsb): Likewise.
1647 (outsw): Likewise.
1648 (outsl): Likewise.
1649
6451c862
L
1650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1652 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1653
a254b8c9
L
1654 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1655 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1656 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1657 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1658 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1659 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1660
b8dfdd92
L
1661 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1662 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1663
578cd270
L
1664 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1665 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1666
de662f5f
L
1667 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1668 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1669 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1670
25653439
L
1671 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1672 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1673 to ...
1674 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1675
6bad24a0
L
1676 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1678 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1679
42bbb1c3
L
1680 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1681 for x86-64.
1682 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1683
2d10d547
JM
16842012-05-31 Joseph Myers <joseph@codesourcery.com>
1685
1686 * math/math.h (M_El): Use two more decimal places.
1687 (M_LOG2El): Likewise.
1688 (M_LOG10El): Likewise.
1689 (M_LN2l): Likewise.
1690 (M_LN10l): Likewise.
1691 (M_PIl): Likewise.
1692 (M_PI_2l): Likewise.
1693 (M_PI_4l): Likewise.
1694 (M_1_PIl): Likewise.
1695 (M_2_PIl): Likewise.
1696 (M_2_SQRTPIl): Likewise.
1697 (M_SQRT2l): Likewise.
1698 (M_SQRT1_2l): Likewise.
1699
f230c29b
DM
17002012-05-31 David S. Miller <davem@davemloft.net>
1701
1702 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1703 values between float registers.
1704 * sysdeps/sparc/sparc64/memset.S: Likewise.
1705 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1706
fed806c3
MF
17072012-05-31 Mike Frysinger <vapier@gentoo.org>
1708
1709 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1710 -D_FORTIFY_SOURCE=1.
1711 (CPPFLAGS-tst-longjmp_chk.c): Define.
1712 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1713 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1714 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1715 CFLAGS-tst-wchar-h.c.
1716
30917259
MP
17172012-05-31 Marek Polacek <polacek@redhat.com>
1718
1719 [BZ #14132]
1720 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1721 __endmntent_internal): Remove declaration.
1722 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1723 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1724 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1725
1c58d5dc
DM
17262012-05-30 David S. Miller <davem@davemloft.net>
1727
1728 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1729 (___Q_simulate_exceptions): Use real FP ops rather than writing
1730 into the %fsr.
1731 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1732 Likewise.
1733
7dc00e0d
L
17342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1735
1736 [BZ #14117]
0bd53985
L
1737 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1738 * sysdeps/x86/bits/xtitypes.h: This.
1739
3a257e66
L
1740 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1741 * sysdeps/x86/bits/wordsize.h: This.
1742
62f62904
L
1743 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1744 * sysdeps/x86/bits/huge_vall.h: This.
1745
404fe9d9
L
1746 * sysdeps/i386/bits/select.h: Removed.
1747 * sysdeps/x86_64/bits/select.h: Renamed to ...
1748 * sysdeps/x86/bits/select.h: This.
1749
d48d0446
L
1750 * sysdeps/i386/bits/setjmp.h: Removed.
1751 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1752 * sysdeps/x86/bits/setjmp.h: This.
1753
7dc00e0d
L
1754 * sysdeps/i386/bits/mathdef.h: Removed.
1755 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1756 * sysdeps/x86/bits/mathdef.h: This.
1757
03277f8f
AS
17582012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1759
1760 [BZ #14132]
1761 * include/sys/socket.h (__connect_internal)
1762 (__libc_sa_len_internal): Remove declaration.
1763 (__connect, __libc_sa_len): Declare hidden_proto.
1764 (SA_LEN): Remove use of INTUSE.
1765 * socket/connect.c: Add libc_hidden_def.
1766 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1767 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1768 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1769 alias.
1770 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1771 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1772 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1773 of adding _internal alias.
1774
13764867
L
17752012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1776
1777 [BZ #14117]
6bd97696
L
1778 * sysdeps/i386/bits/link.h: Removed.
1779 * sysdeps/i386/bits/linkmap.h: Likewise.
1780 * sysdeps/x86_64/bits/link.h: Renamed to ...
1781 * sysdeps/x86/bits/link.h: This.
1782 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1783 * sysdeps/x86/bits/linkmap.h: This.
1784
f726f0bb
L
1785 * sysdeps/i386/bits/endian.h: Removed.
1786 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1787 * sysdeps/x86/bits/endian.h: This.
1788
13764867
L
1789 * sysdeps/i386/bits/byteswap.h: Removed.
1790 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1791 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1792 * sysdeps/x86/bits/byteswap.h: This.
1793 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1794 * sysdeps/x86/bits/byteswap-16.h: This.
1795 * sysdeps/i386/Implies: Add x86.
1796 * sysdeps/x86_64/Implies: Likewise.
1797
ae251b0b
DM
17982012-05-30 David S. Miller <davem@davemloft.net>
1799
1800 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1801 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1802 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1803 (FP_TRAPPING_EXCEPTIONS): Define.
1804 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1805 (FP_TRAPPING_EXCEPTIONS): Define.
1806 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1807 subnormals only when inexact has been signalled or underflow
1808 exceptions are enabled.
1809 (_FP_PACK_CANONICAL): Likewise.
1810
d5c90867
L
18112012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1812
1813 [BZ #14183]
1814 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1815 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1816
63f1549e
RH
18172012-05-30 Richard Henderson <rth@twiddle.net>
1818
8d8f2279
RH
1819 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1820 with #ifndef NOT_IN_libc.
1821
63f1549e
RH
1822 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1823 marked to avoid plt entry.
1824
0ab0291b
L
18252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1826
1827 [BZ #14112]
1828 * Makeconfig (default-abi): New macro.
1829 (abi-includes): Likewise.
1830 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1831 $(abi-$(default-abi)-lib-soname) for soname if defined.
1832 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1833 abi-variants.
1834 * Makefile (installed-stubs): Likewise.
1835 * include/stubs-biarch.h: Removed.
1836 * scripts/lib-names.awk: Only handle one library at a time.
1837 * scripts/soversions.awk: Remove WORDSIZE support.
1838 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1839 entries.
1840 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1841 Removed.
1842 (syscall-list-default-condition): Likewise.
1843 (syscall-list-default-condition): Likewise.
1844 (syscall-list-includes): Likewise.
1845 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1846 syscall-list-* with abi-*. Handle undefined abi-variants.
1847 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1848 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1849 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1850 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1852 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1853 Removed.
1854 (syscall-list-32-options): Likewise.
1855 (syscall-list-32-condition): Likewise.
1856 (syscall-list-64-options): Likewise.
1857 (syscall-list-64-condition): Likewise.
1858 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1859 macro.
1860 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1861 Renamed to ...
1862 (abi-*): This.
1863 (abi-64-ld-soname): New macro.
1864 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1865 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1866 Renamed to ...
1867 (abi-*): This.
1868 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1869 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1870
4da0431d
JM
18712012-05-30 Joseph Myers <joseph@codesourcery.com>
1872
3a85279c
JM
1873 * sysdeps/unix/sysv/linux/kernel-features.h
1874 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1875 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1876 include <kernel-features.h>.
1877 [!__NR_ftruncate64]: Remove conditional code.
1878 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1879 [__NR_ftruncate64]: Make code unconditional.
1880 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1881 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1882 include <kernel-features.h>.
1883 [!__NR_ftruncate64]: Remove conditional code.
1884 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1885 [__NR_ftruncate64]: Make code unconditional.
1886 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1888 include <kernel-features.h>.
1889 [!__NR_ftruncate64]: Remove conditional code.
1890 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1891 [__NR_ftruncate64]: Make code unconditional.
1892 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1894 include <kernel-features.h>.
1895 [!__NR_ftruncate64]: Remove conditional code.
1896 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1897 [__NR_ftruncate64]: Make code unconditional.
1898 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1899
4da0431d
JM
1900 * configure.in (libc_cv_fpie): Weaken to a compile test using
1901 LIBC_TRY_CC_OPTION.
1902 * configure: Regenerated.
1903
11ef492c
AK
19042012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1905
1906 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1910 Refreshed.
1911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1917 Refreshed.
1918
d66ef399
DM
19192012-05-27 David S. Miller <davem@davemloft.net>
1920
1921 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1922 (___Q_zero): New.
1923 (__Q_simulate_exceptions): Return void. Change to simulate
1924 exceptions by writing into the %fsr.
1925 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1926 (__Qp_handle_exceptions): Likewise.
1927 (numbers): Delete.
1928 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1929 __Qp_handle_exceptions.
1930 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1931 __Qp_handle_exceptions.
1932 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1933 as unused and give dummy FP_RND_NEAREST initializer.
1934 (FP_INHIBIT_RESULTS): Define.
1935 (___Q_simulate_exceptions): Update declaration.
1936 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1937 formatting.
1938 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1939 as unused and give dummy FP_RND_NEAREST initializer.
1940 (__Qp_handle_exceptions): Update declaration.
1941 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1942 formatting.
1943
04fb54b5
TS
19442012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1945
1946 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1947 the temporary FPU control word.
1948 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1949 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1951 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1952 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1953 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1954 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1956 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1957 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1958 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1959
3f99608f
KK
19602012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1961
1962 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1963 fields.
1964
65a4de4e
CLT
19652012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1966
1967 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1968 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1969 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1970 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1971 Likewise.
1972 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1973 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1974 Likewise.
1975
15749d40
UD
19762012-05-27 Ulrich Drepper <drepper@gmail.com>
1977
1978 * po/h.po: Update from translation team.
1979
25dbcb27
AS
19802012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1981
3d3f8e55
AS
1982 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1983
25dbcb27
AS
1984 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1985 handling of denormals.
1986 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1987 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1988 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1989 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1990 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1991 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1993 Likewise.
1994
7ad47a80 19952012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
1996
1997 [BZ #14152]
1998 * math/libm-test.inc (fma_test): Don't always expect underflow
1999 exception.
2000
9c6ea9fa
SP
20012012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2002
2003 [BZ #12416]
2004 * elf/tst-execstack.c: Include stackinfo.h.
2005 (do_test): Adjust test case to ensure that pthread_getattr_np
2006 behaviour remains the same after marking stack executable.
2007
a8239222
JM
20082012-05-25 Joseph Myers <joseph@codesourcery.com>
2009
2010 * sysdeps/unix/sysv/linux/kernel-features.h
2011 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
2012 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
2013 kernel-features.h.
2014 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2015 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2016 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
2017 kernel-features.h.
2018 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
2019 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
2020
918b5606
L
20212012-05-25 H.J. Lu <hongjiu.lu@intel.com>
2022
2023 * configure.in: Define the default includes to being none.
2024 * configure: Regenerated.
2025
3a097cc7
RM
20262012-05-25 Roland McGrath <roland@hack.frob.com>
2027
8422c9a5
RM
2028 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
2029 * sysdeps/x86_64/setjmp.S: Likewise.
2030 * sysdeps/i386/bsd-setjmp.S: Likewise.
2031 * sysdeps/i386/bsd-_setjmp.S: Likewise.
2032 * sysdeps/i386/setjmp.S: Likewise.
2033 * sysdeps/i386/__longjmp.S: Likewise.
2034 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2035 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
2036
3a097cc7
RM
2037 * include/stap-probe.h: New file.
2038 * configure.in: Handle --enable-systemtap.
2039 * configure: Regenerated.
2040 * config.h.in (USE_STAP_PROBE): New #undef.
2041 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
2042 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
2043 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2044
21708942
JM
20452012-05-25 Joseph Myers <joseph@codesourcery.com>
2046
2047 [BZ #13717]
2048 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
2049 to 2.4.0 where earlier.
2050 * sysdeps/unix/sysv/linux/configure: Regenerated.
2051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
2052 <kernel-features.h>.
2053 [__ASSUME_32BITUIDS]: Make code unconditional.
2054 [!__ASSUME_32BITUIDS]: Remove conditional code.
2055 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
2056 <kernel-features.h>.
2057 [__ASSUME_32BITUIDS]: Make code unconditional.
2058 [!__ASSUME_32BITUIDS]: Remove conditional code.
2059 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
2060 [__ASSUME_32BITUIDS]: Make code unconditional.
2061 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
2062 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
2063 <kernel-features.h>.
2064 [__ASSUME_32BITUIDS]: Make code unconditional.
2065 [!__ASSUME_32BITUIDS]: Remove conditional code.
2066 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
2067 <kernel-features.h>.
2068 [__ASSUME_32BITUIDS]: Make code unconditional.
2069 [!__ASSUME_32BITUIDS]: Remove conditional code.
2070 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
2071 <kernel-features.h>.
2072 [__ASSUME_32BITUIDS]: Make code unconditional.
2073 [!__ASSUME_32BITUIDS]: Remove conditional code.
2074 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
2075 <kernel-features.h>.
2076 [__ASSUME_32BITUIDS]: Make code unconditional.
2077 [!__ASSUME_32BITUIDS]: Remove conditional code.
2078 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
2079 <kernel-features.h>.
2080 [__ASSUME_32BITUIDS]: Make code unconditional.
2081 [!__ASSUME_32BITUIDS]: Remove conditional code.
2082 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
2083 <kernel-features.h>.
2084 [__ASSUME_32BITUIDS]: Make code unconditional.
2085 [!__ASSUME_32BITUIDS]: Remove conditional code.
2086 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
2087 <kernel-features.h>.
2088 [__ASSUME_32BITUIDS]: Make code unconditional.
2089 [!__ASSUME_32BITUIDS]: Remove conditional code.
2090 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
2091 <kernel-features.h>.
2092 [__ASSUME_32BITUIDS]: Make code unconditional.
2093 [!__ASSUME_32BITUIDS]: Remove conditional code.
2094 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
2095 <kernel-features.h>.
2096 [__ASSUME_32BITUIDS]: Make code unconditional.
2097 [!__ASSUME_32BITUIDS]: Remove conditional code.
2098 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
2099 <kernel-features.h>.
2100 [__ASSUME_32BITUIDS]: Make code unconditional.
2101 [!__ASSUME_32BITUIDS]: Remove conditional code.
2102 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
2103 <kernel-features.h>.
2104 [__NR_setresgid] (__setresgid): Do not declare.
2105 [__ASSUME_32BITUIDS]: Make code unconditional.
2106 [!__ASSUME_32BITUIDS]: Remove conditional code.
2107 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
2108 <kernel-features.h>.
2109 [__NR_setresuid] (__setresuid): Do not declare.
2110 [__ASSUME_32BITUIDS]: Make code unconditional.
2111 [!__ASSUME_32BITUIDS]: Remove conditional code.
2112 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
2113 <kernel-features.h>.
2114 [__ASSUME_32BITUIDS]: Make code unconditional.
2115 [!__ASSUME_32BITUIDS]: Remove conditional code.
2116 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
2117 <kernel-features.h>.
2118 [__ASSUME_32BITUIDS]: Make code unconditional.
2119 [!__ASSUME_32BITUIDS]: Remove conditional code.
2120 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
2121 <kernel-features.h>.
2122 [__ASSUME_32BITUIDS]: Make code unconditional.
2123 [!__ASSUME_32BITUIDS]: Remove conditional code.
2124 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
2125 <kernel-features.h>.
2126 [__ASSUME_32BITUIDS]: Make code unconditional.
2127 [!__ASSUME_32BITUIDS]: Remove conditional code.
2128 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
2129 <kernel-features.h>.
2130 [__ASSUME_32BITUIDS]: Make code unconditional.
2131 [!__ASSUME_32BITUIDS]: Remove conditional code.
2132 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
2133 <kernel-features.h>.
2134 [__ASSUME_32BITUIDS]: Make code unconditional.
2135 [!__ASSUME_32BITUIDS]: Remove conditional code.
2136 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
2137 <kernel-features.h>.
2138 [__ASSUME_32BITUIDS]: Make code unconditional.
2139 [!__ASSUME_32BITUIDS]: Remove conditional code.
2140 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
2141 <kernel-features.h>.
2142 [__ASSUME_32BITUIDS]: Make code unconditional.
2143 [!__ASSUME_32BITUIDS]: Remove conditional code.
2144 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
2145 <kernel-features.h>.
2146 [__ASSUME_32BITUIDS]: Make code unconditional.
2147 [!__ASSUME_32BITUIDS]: Remove conditional code.
2148 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
2149 <kernel-features.h>.
2150 [__ASSUME_32BITUIDS]: Make code unconditional.
2151 [!__ASSUME_32BITUIDS]: Remove conditional code.
2152 * sysdeps/unix/sysv/linux/kernel-features.h
2153 (__ASSUME_SETRESUID_SYSCALL): Remove.
2154 (__ASSUME_SETRESGID_SYSCALL): Likewise.
2155 (__ASSUME_32BITUIDS): Likewise.
2156 (__ASSUME_LDT_WORKS): Likewise.
2157 (__ASSUME_O_DIRECTORY): Likewise.
2158 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
2159 architecture but not kernel version.
2160 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2161 (__ASSUME_MMAP2_SYSCALL): Likewise.
2162 (__ASSUME_STAT64_SYSCALL): Likewise.
2163 (__ASSUME_IPC64): Likewise.
2164 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
2165 <kernel-features.h>.
2166 [__ASSUME_32BITUIDS]: Make code unconditional.
2167 [!__ASSUME_32BITUIDS]: Remove conditional code.
2168 * sysdeps/unix/sysv/linux/opendir.c: Do not include
2169 <kernel-features.h>.
2170 [__ASSUME_O_DIRECTORY]: Make code unconditional.
2171 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
2172 132096]: Remove conditional code.
2173 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
2174 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
2175 <kernel-features.h>.
2176 [__ASSUME_32BITUIDS]: Make code unconditional.
2177 [!__ASSUME_32BITUIDS]: Remove conditional code.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
2179 <kernel-features.h>.
2180 [__ASSUME_32BITUIDS]: Make code unconditional.
2181 [!__ASSUME_32BITUIDS]: Remove conditional code.
2182 * sysdeps/unix/sysv/linux/setegid.c: Do not include
2183 <kernel-features.h>.
2184 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
2185 unconditional.
2186 (__setresgid): Do not declare.
2187 [__ASSUME_32BITUIDS]: Make code unconditional.
2188 [!__ASSUME_32BITUIDS]: Remove conditional code.
2189 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
2190 <kernel-features.h>.
2191 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
2192 unconditional.
2193 (__setresuid): Do not declare.
2194 [__ASSUME_32BITUIDS]: Make code unconditional.
2195 [!__ASSUME_32BITUIDS]: Remove conditional code.
2196 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
2197 <kernel-features.h>.
2198 [__ASSUME_32BITUIDS]: Make code unconditional.
2199 [!__ASSUME_32BITUIDS]: Remove conditional code.
2200 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
2201 <kernel-features.h>.
2202 [__ASSUME_32BITUIDS]: Make code unconditional.
2203 [!__ASSUME_32BITUIDS]: Remove conditional code.
2204
a386f1cc
RH
22052012-05-25 Richard Henderson <rth@twiddle.net>
2206
2207 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
2208 dl_hwcap to ifunc resolver.
2209 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
2210 elf_ifunc_invoke.
2211 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
2212 dl_hwcap to ifunc resolver.
2213 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
2214
b6550497
JM
22152012-05-24 Joseph Myers <joseph@codesourcery.com>
2216
2217 [BZ #14153]
2218 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
2219 for |x| <= 2**-26, not 2**-57.
2220 * math/libm-test.inc (acos_test): Do not allow spurious underflow
2221 exception.
2222
b0bc23a1
JL
22232012-05-24 Jeff Law <law@redhat.com>
2224
2225 * stdio-common/Makefile (tests): Add bug25.
2226 * stdio-common/bug25.c: New test.
2227
347c92e9
L
22282012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2229
2230 [BZ #13576]
2231 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
2232 multiple of MALLOC_ALIGNMENT in size.
2233 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
2234
6bcc8b3f
JM
22352012-05-24 Joseph Myers <joseph@codesourcery.com>
2236
2237 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
2238 Require >= 256.
2239 (FILENAME_MAX): Use macro-int-constant.
2240 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
2241 (_IOFBF): Use macro-int-constant.
2242 (_IOLBF): Likewise.
2243 (_IONBF): Likewise.
2244 (SEEK_CUR): Likewise.
2245 (SEEK_END): Likewise.
2246 (SEEK_SET): Likewise.
2247 (TMP_MAX): Likewise.
2248 (EOF): Use macro-int-constant. Require < 0.
2249 (NULL): Use macro-constant. Require == 0.
2250 (stdin): Require type to be FILE *.
2251 (stdout): Likewise.
2252 (stderr): Likewise.
2253 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
2254 macro-int-constant.
2255 (EXIT_SUCCESS): Likewise.
2256 (NULL): Use macro-constant. Require == 0.
2257 (RAND_MAX): Use macro-int-constant.
2258 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
2259 [C99-based standards] (strtof): Require function.
2260 [C99-based standards] (strtold): Likewise.
2261 [C99-based standards] (strtoll): Likewise.
2262 [C99-based standards] (strtoull): Likewise.
2263 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
2264 [ISO || ISO99 || ISO11] (limits.h): Likewise.
2265 [ISO || ISO99 || ISO11] (math.h): Likewise.
2266 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
2267 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
2268 [ISO || ISO99 || ISO11] (*_t): Do not allow.
2269
d18ea0c5
AS
22702012-05-24 Andreas Schwab <schwab@linux-m68k.org>
2271
2272 [BZ #14132]
56d25bb8
AS
2273 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
2274 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
2275 * intl/dgettext.c (DCGETTEXT): Likewise.
2276 * intl/gettext.c (DCGETTEXT): Likewise.
2277 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
2278 * posix/regex_internal.h (gettext): Likewise.
2279 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
2280 Remove declaration.
2281 * include/argz.h (__argz_count_internal)
2282 (__argz_stringify_internal): Remove declaration.
2283 (__argz_count, __argz_stringify): Declare hidden proto.
2284 * intl/dcgettext.c: Remove use of INTDEF.
2285 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
2286 * string/argz-stringify.c: Likewise.
2287 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2288 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2289 Declare hidden proto.
d18ea0c5
AS
2290 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
2291 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
2292 Declare hidden proto.
2293 * include/stdio.h (__asprintf_internal): Don't declare.
2294 (__asprintf): Don't define as macro. Declare hidden proto.
2295 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
2296 (__fsetlocking): Declare hidden proto.
2297 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
2298 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
2299 hidden proto.
2300 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
2301 (_IO_setlinebuf): Remove use of INTUSE.
2302 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
2303 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
2304 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
2305 Remove declaration.
2306 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
2307 (_IO_do_flush): Remove use of INTUSE.
2308 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
2309 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
2310 (_IO_adjust_column, _IO_least_wmarker)
2311 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
2312 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
2313 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
2314 (_IO_default_doallocate, _IO_wdefault_doallocate)
2315 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
2316 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
2317 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
2318 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
2319 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
2320 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
2321 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
2322 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
2323 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
2324 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
2325 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
2326 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
2327 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
2328 proto.
2329 (_IO_flush_all_internal, _IO_adjust_column_internal)
2330 (_IO_default_uflow_internal, _IO_default_finish_internal)
2331 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
2332 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
2333 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
2334 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
2335 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
2336 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
2337 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
2338 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
2339 (_IO_file_close_internal, _IO_file_close_it_internal)
2340 (_IO_file_underflow_internal, _IO_file_overflow_internal)
2341 (_IO_file_init_internal, _IO_file_attach_internal)
2342 (_IO_file_fopen_internal, _IO_file_read_internal)
2343 (_IO_file_sync_internal, _IO_file_seek_internal)
2344 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
2345 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
2346 (_IO_str_underflow_internal, _IO_str_overflow_internal)
2347 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
2348 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
2349 (_IO_list_all_internal, _IO_link_in_internal)
2350 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
2351 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
2352 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
2353 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
2354 (_IO_do_write_internal, _IO_padn_internal)
2355 (_IO_getline_info_internal, _IO_getline_internal)
2356 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
2357 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
2358 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
2359 (_IO_vfscanf_internal, _IO_vfprintf_internal)
2360 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
2361 (_IO_init_internal, _IO_un_link_internal): Don't declare.
2362 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
2363 with libc_hidden_ver, remove use of INTUSE.
2364 * libio/genops.c: Likewise.
2365 * libio/freopen.c: Likewise.
2366 * libio/freopen64.c: Likewise.
2367 * libio/iofclose.c: Likewise.
2368 * libio/iofdopen.c: Likewise.
2369 * libio/iofflush.c: Likewise.
2370 * libio/iofflush_u.c: Likewise.
2371 * libio/iofgets.c: Likewise.
2372 * libio/iofgets_u.c: Likewise.
2373 * libio/iofopen.c: Likewise.
2374 * libio/iofopncook.c: Likewise.
2375 * libio/iofread.c: Likewise.
2376 * libio/iofread_u.c: Likewise.
2377 * libio/ioftell.c: Likewise.
2378 * libio/iofwrite.c: Likewise.
2379 * libio/iogetline.c: Likewise.
2380 * libio/iogets.c: Likewise.
2381 * libio/iogetwline.c: Likewise.
2382 * libio/iopadn.c: Likewise.
2383 * libio/iopopen.c: Likewise.
2384 * libio/ioseekoff.c: Likewise.
2385 * libio/ioseekpos.c: Likewise.
2386 * libio/iosetbuffer.c: Likewise.
2387 * libio/iosetvbuf.c: Likewise.
2388 * libio/ioungetc.c: Likewise.
2389 * libio/ioungetwc.c: Likewise.
2390 * libio/iovdprintf.c: Likewise.
2391 * libio/iovsprintf.c: Likewise.
2392 * libio/iovsscanf.c: Likewise.
2393 * libio/memstream.c: Likewise.
2394 * libio/obprintf.c: Likewise.
2395 * libio/oldfileops.c: Likewise.
2396 * libio/oldiofclose.c: Likewise.
2397 * libio/oldiofdopen.c: Likewise.
2398 * libio/oldiofopen.c: Likewise.
2399 * libio/oldiopopen.c: Likewise.
2400 * libio/oldstdfiles.c: Likewise.
2401 * libio/putc.c: Likewise.
2402 * libio/setbuf.c: Likewise.
2403 * libio/setlinebuf.c: Likewise.
2404 * libio/stdfiles.c: Likewise.
2405 * libio/strops.c: Likewise.
2406 * libio/vasprintf.c: Likewise.
2407 * libio/vscanf.c: Likewise.
2408 * libio/vsnprintf.c: Likewise.
2409 * libio/vswprintf.c: Likewise.
2410 * libio/wfiledoalloc.c: Likewise.
2411 * libio/wfileops.c: Likewise.
2412 * libio/wgenops.c: Likewise.
2413 * libio/wmemstream.c: Likewise.
2414 * libio/wstrops.c: Likewise.
2415 * libio/__fpurge.c: Likewise.
2416 * libio/__fsetlocking.c: Likewise.
2417 * assert/assert.c: Likewise.
2418 * debug/fgets_chk.c: Likewise.
2419 * debug/fgets_u_chk.c: Likewise.
2420 * debug/fread_chk.c: Likewise.
2421 * debug/fread_u_chk.c: Likewise.
2422 * debug/gets_chk.c: Likewise.
2423 * debug/obprintf_chk.c: Likewise.
2424 * debug/vasprintf_chk.c: Likewise.
2425 * debug/vdprintf_chk.c: Likewise.
2426 * debug/vsnprintf_chk.c: Likewise.
2427 * debug/vsprintf_chk.c: Likewise.
2428 * malloc/mtrace.c: Likewise.
2429 * misc/error.c: Likewise.
2430 * misc/syslog.c: Likewise.
2431 * stdio-common/asprintf.c: Likewise.
2432 * stdio-common/fxprintf.c: Likewise.
2433 * stdio-common/getw.c: Likewise.
2434 * stdio-common/isoc99_fscanf.c: Likewise.
2435 * stdio-common/isoc99_scanf.c: Likewise.
2436 * stdio-common/isoc99_vfscanf.c: Likewise.
2437 * stdio-common/isoc99_vscanf.c: Likewise.
2438 * stdio-common/isoc99_vsscanf.c: Likewise.
2439 * stdio-common/printf-prs.c: Likewise.
2440 * stdio-common/printf_fp.c: Likewise.
2441 * stdio-common/printf_fphex.c: Likewise.
2442 * stdio-common/printf_size.c: Likewise.
2443 * stdio-common/putw.c: Likewise.
2444 * stdio-common/scanf.c: Likewise.
2445 * stdio-common/sprintf.c: Likewise.
2446 * stdio-common/tmpfile.c: Likewise.
2447 * stdio-common/vfprintf.c: Likewise.
2448 * stdio-common/vfscanf.c: Likewise.
2449 * stdlib/strfmon_l.c: Likewise.
2450 * sunrpc/openchild.c: Likewise.
2451 * sunrpc/xdr_stdio.c: Likewise.
2452 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2453 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2454
d6c33fda
RM
24552012-05-24 Roland McGrath <roland@hack.frob.com>
2456
c1487492
RM
2457 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2458
2459 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2460 in the third column, to generate for the shared library an IFUNC
2461 that uses _dl_vdso_vsym.
2462 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2463 * Makeconfig (object-suffixes-noshared): New variable.
2464
2465 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2466 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2467 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2468 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2469
d6c33fda
RM
2470 [BZ #14132]
2471 * include/sys/time.h (__gettimeofday): Remove macro.
2472 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2473 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2474 Remove INTDEF.
2475 (__gettimeofday): Add libc_hidden_def.
2476 (gettimeofday): Add libc_hidden_weak.
2477 * sysdeps/mach/gettimeofday.c: Likewise.
2478 * sysdeps/posix/gettimeofday.c: Likewise.
2479 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2480 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2482 (__gettimeofday_internal): Remove strong_alias.
2483 (__gettimeofday): Add libc_hidden_def.
2484 (gettimeofday): Add libc_hidden_weak.
2485 * sysdeps/unix/syscalls.list (gettimeofday):
2486 Remove __gettimeofday_internal alias.
2487
b5a2bbe6
L
24882012-05-24 Daniel Jacobowitz <drow@false.org>
2489 H.J. Lu <hongjiu.lu@intel.com>
2490
2491 [BZ #12495]
2492 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2493 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2494 (largebin_index_32_big): New.
2495 (largebin_index): Use it for 16-byte alignment.
2496 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2497 correction with front_misalign.
2498
cfba4fda
L
24992012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2500
7f907421
L
2501 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2502 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2503 Likewise.
2504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2505 Likewise.
2506 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2507 Likewise.
2508 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2509 Likewise.
2510 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2511 Likewise.
2512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2513 Likewise.
2514 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2515 Likewise.
2516 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2517 Likewise.
2518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2519 Likewise.
2520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2521 Likewise.
2522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2523 Likewise.
2524 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2525 Likewise.
2526
cfba4fda
L
2527 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2528 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2529
80bad0cc
JM
25302012-05-24 Joseph Myers <joseph@codesourcery.com>
2531
7a25eb06
JM
2532 [BZ #10846]
2533 [BZ #14036]
2534 * math/libm-test.inc (exp_test): Add test from bug 14036.
2535 (pow_test): Add test from bug 10846.
2536
795405f9
JM
2537 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2538 and other flags.
2539 (special_function): Do not include flags in test name.
2540 (parse_args): Likewise.
2541 * sysdeps/i386/fpu/libm-test-ulps: Update.
2542 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2543 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2544 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546
80bad0cc
JM
2547 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2548 exceptions.
2549 * math/libm-test.inc ("Philosophy"): Update comment about
2550 exception testing.
2551 (UNDERFLOW_EXCEPTION): New macro.
2552 (UNDERFLOW_EXCEPTION_OK): Likewise.
2553 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2554 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2555 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2556 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2557 (INVALID_EXCEPTION_OK): Update value.
2558 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2559 (OVERFLOW_EXCEPTION_OK): Likewise.
2560 (IGNORE_ZERO_INF_SIGN): Likewise.
2561 (test_exceptions): Handle underflow exceptions.
2562 (acos_test): Update for underflow exception expectations.
2563 (cexp_test): Likewise.
2564 (clog_test): Likewise.
2565 (clog10_test): Likewise.
2566 (csqrt_test): Likewise.
2567 (ctan_test): Likewise.
2568 (ctanh_test): Likewise.
2569 (exp_test): Likewise.
2570 (exp10_test): Likewise.
2571 (exp2_test): Likewise.
2572 (expm1_test): Likewise.
2573 (fma_test): Likewise.
2574 (j0_test): Likewise.
2575 (jn_test): Likewise.
2576 (nexttoward_test): Likewise.
2577 (pow_test): Likewise.
2578 (scalbn_test): Likewise.
2579 (scalbln_test): Likewise.
2580 (tan_test): Likewise.
2581 (y1_test): Likewise.
2582 * sysdeps/i386/fpu/libm-test-ulps: Update.
2583 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2584
9e0e3d0b
DM
25852012-05-23 David S. Miller <davem@davemloft.net>
2586
2587 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2588 (__libc_sigaction): Remove unused local variables.
2589
ccd0a08f
L
25902012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2591
2592 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2593
62bdf9a6
PE
25942012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2595
f8591f80
PE
2596 mktime: avoid signed integer overflow
2597 * time/mktime.c (__mktime_internal): Do not mishandle the case
2598 where diff == INT_MIN.
2599
94c7d826
PE
2600 mktime: simplify computation of average
2601 * time/mktime.c (ranged_convert): Use new time_t_avg function
2602 instead of rolling our own (probably-slower) code.
2603
ce73d683
PE
2604 mktime: do not assume signed right shift propagates sign bit
2605 * time/mktime.c (isdst_differ): New static function.
2606 (__mktime_internal): No need to normalize tm_isdst now.
2607 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2608 tm_isdst values.
2609
72a22e59
PE
2610 mktime: merge another wrapv change from gnulib
2611 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2612 from some compilers.
2613
68605433
PE
2614 mktime: remove incorrect attempt at unusual arithmetics
2615 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2616 The code didn't really work on such machines anyway.
2617 (TYPE_MINIMUM): Assume two's complement.
2618 (twos_complement_arithmetic): Verify that long_int and time_t
2619 are two's complement (or unsigned, in the latter case).
2620
03cf7fe3
PE
2621 mktime: check signed shifts on long_int and time_t, too
2622 * time/mktime.c (SHR): Check that shifts work as desired
2623 on the types long_int and time_t too, as SHR is used on
2624 such types.
2625
f04dfbc2
PE
2626 mktime: do not assume 'long' is wide enough
2627 * time/mktime.c (verify): Move decl up.
2628 (long_int): New type.
2629 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2630 to remove assumption in the code that 'long' is wide enough to
2631 store year values. This assumption is not true on x32 and on
2632 some non-glibc platforms.
2633
62bdf9a6
PE
2634 mktime: merge wrapv change from gnulib
2635 * time/mktime.c (WRAPV): New macro.
2636 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2637 (guess_time_tm, __mktime_internal): Do not assume that signed
2638 integer overflow wraps around; modern compilers generate code
2639 where this assumption is no longer valid.
2640
5e292e4f
L
26412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2644 Replace "jmp L(pseudo_end)" with "ret".
2645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2646 Likewise.
2647
8caf8c87
AJ
26482012-05-23 Andreas Jaeger <aj@suse.de>
2649
2650 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2651 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2652
1a09dc56
AJ
26532012-05-23 Andreas Jaeger <aj@suse.de>
2654 Maximilian Attems <max@stro.at>
2655
2656 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2657 New macros.
2658
1c87aba0
L
26592012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2660
2661 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2662 code so that pseudo_end is just ret and the stack pointer is
2663 correct also for static library in error case.
2664
40e45bd5
JM
26652012-05-23 Joseph Myers <joseph@codesourcery.com>
2666
c2670533
JM
2667 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2668 move to syscalls.list.
2669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2673
40e45bd5
JM
2674 * manual/install.texi (Running make install): Do not mention Linux
2675 kernel version for which pt_chown is not needed.
2676 (Linux): Do not mention problems with nscd with 2.0 kernels.
2677 * INSTALL: Regenerated.
2678
be08eda5
AJ
26792012-05-23 Andreas Jaeger <aj@suse.de>
2680
2681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2682 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2683 macro.
2684 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2685 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2686 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2687 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2688 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2689 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2690 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2691 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2692 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2693 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2694 * sysdeps/unix/sysv/linux/bits/in.h
2695 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2696
a6a056bb
RM
26972012-05-22 Roland McGrath <roland@hack.frob.com>
2698
2699 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2700 (PREPARE_VERSION): Just use assert instead, it will be elided
2701 under [NDEBUG] anyway.
2702
c9009328
L
27032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2704
2705 * sysdeps/unix/sysv/linux/Makefile: Include
2706 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 2707 (sysdep_routines): Remove sysctl.
c9009328
L
2708 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2709 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2710 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2711 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2712 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2713
73338355
AJ
27142012-05-22 Andreas Jaeger <aj@suse.de>
2715
2716 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2717 that pseudo_end is just ret and the stack pointer is correct also
2718 for static library in error case.
2719
d44638b0
PP
27202012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2721
2722 [BZ #14122]
2723 * nss/nsswitch.c (defconfig_entries): New variable.
2724 (__nss_database_lookup): Don't leak defconfig entries.
2725 (nss_parse_service_list): Don't leak on error paths.
2726 (free_database_entries): New function.
2727 (free_defconfig): New function.
2728 (free_mem): Move common code to free_database_entries.
2729
31a39bd8
L
27302012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2731
da0331a8
L
2732 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2733 Add arch_prctl.
2734 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2735
31a39bd8
L
2736 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2737 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2738 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2739 New macro.
2740 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2741 (INTERNAL_SYSCALL_TYPES): Likewise.
2742 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2743 (LOAD_REGS_TYPES_[1-6]): Likewise.
2744 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2745 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2746
45470df3
AZ
27472012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2748
2749 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2750 copysignl for GLIBC_2_0.
2751 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2752 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2753 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2754 logbl for GLIBC_2_0.
2755 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2756 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2757
98a61bcb
L
27582012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2759
a4f6e481
L
2760 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2761 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2762
f63d5db6
L
2763 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2764 Use "neg %eax".
2765
98a61bcb
L
2766 * time/mktime.c: Update copyright years.
2767
95770f14
PE
27682012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2769
6226efbd
PE
2770 mktime: merge comment-quoting-style change from gnulib
2771 * time/mktime.c: Quote 'like this' in comments.
2772 The GNU coding standards suggest that we no longer quote `like this',
2773 as "`" and "'" are typically rendered asymmetrically nowadays.
2774 The typical gnulib style is to quote 'like this' when quoting
2775 code, and "like this" when quoting English.
2776
b99e4f78
PE
2777 * time/mktime.c (compile-command): Add "-I.".
2778
643e01e6
PE
2779 mktime: merge mktime-internal.h change from gnulib
2780 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2781
2554247d
PE
2782 mktime: merge time_r change from gnulib
2783 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2784
826dd0ab
PE
2785 mktime: merge DEBUG change from gnulib
2786 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2787 case system <time.h> has a #define.
2788
bd83aabe
PE
2789 mktime: merge <sys/types.h> change from gnulib
2790 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2791 since <time.t> is now guaranteed to define time_t.
2792
95770f14
PE
2793 mktime: merge HAVE_CONFIG_H change from gnulib
2794 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2795
5e1a27a9
L
27962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2797
0e44a77e
L
2798 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2799 Use "neg %eax".
2800
5e1a27a9
L
2801 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2802 __rlim_t cast.
2803 (struct rusage): Use anonymous union to pad each field to
2804 __syscall_slong_t.
2805
46259bec
DM
28062012-05-21 David S. Miller <davem@davemloft.net>
2807
2808 * Makefules (o-iterator): Remove .s cases.
2809 (compile-command.s): Delete.
2810 (COMPILE.s): Delete.
2811 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2812
59f0c22e
JM
28132012-05-21 Joseph Myers <joseph@codesourcery.com>
2814
2815 * configure.in (libc_cv_predef_stack_protector): Only consider
2816 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2817 * configure: Regenerated.
2818
20c07380
L
28192012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2820
bbb3154b
L
2821 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2822 New macro. Use R*LP on int and pointer.
2823 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
2824 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2825 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
2826 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2827
20c07380
L
2828 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2829 [__WORDSIZE_TIME64_COMPAT32] instead of
2830 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2831 (struct utmp): Likewise.
2832 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2833 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2834 Renamed to ...
2835 (__WORDSIZE_TIME64_COMPAT32): This.
2836 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2837 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2838 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2839 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2840 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2841 (__WORDSIZE_TIME64_COMPAT32): New macro.
2842
d8d1017e
AJ
28432012-05-21 Andreas Jaeger <aj@suse.de>
2844
2845 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2846 only if [SHARED]. Add prototype for __wcschr_ia32.
2847
6c7fb145
RM
28482012-05-21 Roland McGrath <roland@hack.frob.com>
2849
2850 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2851 of %rbp unmolested in the jmp_buf while mangling the low bits.
2852 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2853 unmolested high bits of %rbp while demangling the low bits.
2854 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2855
66274218
AJ
28562012-05-21 Andreas Jaeger <aj@suse.de>
2857
07c58f8f
AJ
2858 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2859 * sunrpc/svc_simple.c: Use it for registerrpc.
2860 * sunrpc/xcrypt.c: Use it for passwd2des.
2861
66274218
AJ
2862 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2863
61f65140
L
28642012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2865
2866 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2867 Don't define if [__SYSCALL_WORDSIZE != 32].
2868 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2869 New macro.
2870
5fefb436
AJ
28712012-05-21 Bruno Haible <bruno@clisp.org>
2872 Andreas Jaeger <aj@suse.de>
2873
2874 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2875 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2876 inptr and inend for must_buffer_ch.
2877 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2878 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2879 * stdio-common/Makefile (tests): Remove bug15.
2880 (bug15-ENV): Remove macro.
2881 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2882 anymore.
2883
d8e272ab
AJ
28842012-05-19 Andreas Jaeger <aj@suse.de>
2885 Roland McGrath <roland@hack.frob.com>
2886
2887 * manual/contrib.texi: Completely rewritten. It contains now an
2888 alphabetical list of contributors and their contributions.
2889
4a56a162
RH
28902012-05-21 Richard Henderson <rth@twiddle.net>
2891
2892 * misc/getauxval.c (__getauxval): Use unsigned long int.
2893 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2894 (getauxval): Use unsigned long int.
2895
d024d23c
L
28962012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2897
2898 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2899
cbc00a03
RM
29002012-05-21 Roland McGrath <roland@hack.frob.com>
2901
2902 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2903 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2904 __alignof__ (long double).
2905
478143fa
AZ
29062012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907
2908 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2909
c7683a6d
RH
29102012-05-20 Richard Henderson <rth@twiddle.net>
2911
2912 * misc/getauxval.c: New file.
2913 * misc/sys/auxv.h: New file.
2914 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2915 (routines): Add getauxval.
2916 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2917 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2918 * elf/dl-sysdep.c (_dl_auxv): Remove.
2919 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2920 * elf/dl-support.c (_dl_auxv): New variable.
2921 (_dl_aux_init): Initialize it.
2922 * manual/startup.texi (Auxiliary Vector): New node.
2923 * sysdeps/generic/bits/hwcap.h: New file.
2924 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2925 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2926 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2927 * sysdeps/sparc/sysdep.h: ... here. Include it.
2928 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
2930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2931 Update.
c7683a6d
RH
2932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2933 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2936 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2938 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2939 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2940
a6f1845d
AZ
29412012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2942
2943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2944
cbcbe830
DM
29452012-05-19 David S. Miller <davem@davemloft.net>
2946
2947 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2948
e0b16cc2
JM
29492012-05-19 Joseph Myers <joseph@codesourcery.com>
2950
2951 [BZ #14123]
2952 * math/s_ccosh.c: Include <float.h>
2953 (__ccosh): Avoid internal overflow calculating sinh and cosh
2954 values before multiplying by sin and cos values.
2955 * math/s_ccoshf.c: Likewise.
2956 * math/s_ccoshl.c: Likewise.
2957 * math/s_csin.c: Likewise.
2958 * math/s_csinf.c: Likewise.
2959 * math/s_csinl.c: Likewise.
2960 * math/s_csinh.c: Likewise.
2961 * math/s_csinhf.c: Likewise.
2962 * math/s_csinhl.c: Likewise.
2963 * math/libm-test.inc (ccos_test): Add more tests.
2964 (ccosh_test): Likewise.
2965 (csin_test): Likewise.
2966 (csinh_test): Likewise.
2967 * sysdeps/i386/fpu/libm-test-ulps: Update.
2968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2969
6ad13e08
L
29702012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2971
f66f0ce8
L
2972 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2973 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2974
6ad13e08
L
2975 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2976
b1d072a7
JM
29772012-05-19 Joseph Myers <joseph@codesourcery.com>
2978
2979 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2980 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2981 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2982 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2983 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2984 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2985 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2986 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2987 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2988 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2989 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2990 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2991 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2992 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2993 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2994 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2995 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2996 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2997 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2998 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2999 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
3000 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
3001 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
3002 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
3003 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
3004 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
3005 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
3006 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
3007 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
3008 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
3009 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
3010
9eae47cb
AJ
30112012-05-18 Andreas Jaeger <aj@suse.de>
3012
3013 * csu/.gitignore: Delete.
3014
bb07f69f
L
30152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3016
3017 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
3018 (timex): Use __syscall_slong_t.
3019
e6bdb741
AJ
30202012-05-18 Andreas Jaeger <aj@suse.de>
3021 Carlos O'Donell <carlos_odonell@mentor.com>
3022
3023 * manual/install.texi (Configuring and compiling): Update
3024 description about files modified in the source directory.
d6c33fda 3025 * INSTALL: Regenerated.
e6bdb741 3026
1b74487e
L
30272012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3028
3029 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
3030 value. Use "or" to set return value to -1.
3031 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
3032 negate return value.
3033
a88b64b9
TMQMF
30342012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3035
3036 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
3037 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
3038 failure if the compiler has Graphite support disabled.
3039 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
3040 Likewise.
3041 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
3042 CFLAGS-memmove.c): Likewise.
3043 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
3044 Likewise.
3045
3707636e
L
30462012-05-18 H.J. Lu <hongjiu.lu@intel.com>
3047
610b8622
L
3048 * sysdeps/x86_64/x32/_itoa.h: New file.
3049
7cd195df
L
3050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
3051 getdents system call only if kernel and user dirents have the
3052 same d_ino and d_off.
3053
94b07d20
L
3054 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3055 LLONG_MAX != LONG_MAX.
3056 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3057 (_fitoa_word): Likewise.
3058
18298070
L
3059 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
3060 years.
3061 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
3062 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
3063 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
3064
553c7ea4
L
3065 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
3066 include <bits/wordsize.h>. Check __x86_64__ instead of
3067 __WORDSIZE.
3068 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
3069 if __x86_64__ is defined. Use anonymous union on fpstate.
3070
3707636e
L
3071 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
3072 anonymous union.
3073
b53ef01a
AS
30742012-05-18 Andreas Schwab <schwab@linux-m68k.org>
3075
37fb1dc0
AS
3076 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3077 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
3078 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
3079 Refer to _rtld_local_ro instead of _rtld_global_ro.
3080 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
3081 Likewise.
3082 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
3083 Likewise.
3084 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
3085 Likewise.
3086 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
3087 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
3088 of _rtld_global, and rtld_progname instead of _dl_argv[0].
3089
b53ef01a
AS
3090 * sysdeps/powerpc/powerpc32/dl-machine.c
3091 (__elf_machine_runtime_setup) [PROF]: Don't reference
3092 _dl_prof_resolve.
3093
7a185db2
AJ
30942012-05-18 Andreas Jaeger <aj@suse.de>
3095
3096 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
3097 function only available for GCCs before 3.4 since GCC 3.4
3098 introduced a builtin.
3099 (lrint): Likewise.
3100 (llrintf): Likewise.
3101 (llrint): Likewise.
3102 (fmaxf): Likewise.
3103 (fmax): Likewise.
3104 (fminf): Likewise.
3105 (fmin): Likewise.
3106 (rint): Likewise.
3107 (rintf): Likewise.
3108 (nearbyint): Likewise.
3109 (nearbyintf): Likewise.
3110 (ceil): Likewise.
3111 (ceilf): Likewise.
3112 (floor): Likewise.
3113 (floorf): Likewise.
3114
3e5aef87
L
31152012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3116
428bd707
L
3117 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
3118 on both fields and cast pointer to __syscall_ulong_t.
3119
3e5aef87
L
3120 * bits/types.h (__fsword_t): New type.
3121 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
3122 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
3123 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3124 (__FSWORD_T_TYPE): Likewise.
3125 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3126 (__FSWORD_T_TYPE): Likewise.
3127 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3128 (__FSWORD_T_TYPE): Likewise.
3129 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
3130 (__FSWORD_T_TYPE): Likewise.
3131 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
3132 __SWORD_TYPE with __fsword_t.
3133 (statfs64): Likewise.
3134
1ba7c3dc
DM
31352012-05-17 David S. Miller <davem@davemloft.net>
3136
3137 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
3138
59910343
AJ
31392012-05-17 Andreas Jaeger <aj@suse.de>
3140
3141 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
3142 warning.
3143
2e4c1e9e
L
31442012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3145
3146 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
3147
de7f5ce7
AJ
31482012-05-17 Andreas Jaeger <aj@suse.de>
3149
3150 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
3151 when it is used.
3152
286abc3d
CM
31532012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3154
3155 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
3156
477cc68e
L
31572012-05-17 H.J. Lu <hongjiu.lu@intel.com>
3158
3159 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
3160 * sysdeps/x86_64/tst-mallocalign1.c: New file.
3161
1a0994f5
CD
31622012-05-17 Andreas Jaeger <aj@suse.de>
3163 Carlos O'Donell <carlos_odonell@mentor.com>
3164
3165 [BZ #14059]
3166 * sysdeps/x86_64/multiarch/init-arch.h
3167 (bit_YMM_Usable): Rename to...
3168 (bit_AVX_Usable): ... this.
3169 (bit_FMA4_Usable): New macro.
3170 (bit_XMM_state): New macro.
3171 (bit_YMM_state): New macro.
3172 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
3173 [__ASSEMBLER__] (index_AVX_Usable): ... this.
3174 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
3175 (CPUID_OSXSAVE): New macro.
3176 (CPUID_AVX): New macro.
3177 (CPUID_FMA4): New macro.
3178 (index_YMM_Usable): Rename to...
3179 (index_AVX_Usable): ... this.
3180 (HAS_AVX): Use HAS_ARCH_FEATURE.
3181 (HAS_FMA4): Likewise.
3182 (HAS_YMM_USABLE): Remove.
3183 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3184 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
3185 are present.
3186 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
3187 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
3188 * sysdeps/x86_64/multiarch/Makefile: Likewise.
3189 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
3190 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
3191
0af797de
CM
31922012-05-17 Chris Metcalf <cmetcalf@tilera.com>
3193
3194 * math/libm-test.c: Support platforms without multiple rounding modes.
3195 * math/bug-nextafter.c: Support platforms without FP exceptions.
3196 * math/bug-nexttoward.c: Likewise.
3197 * math/test-fenv.c: Likewise.
3198 * math/test-misc.c: Likewise.
3199 * stdlib/bug-getcontext.c: Likewise.
3200
e39745ff
AJ
32012012-05-17 Andreas Jaeger <aj@suse.de>
3202
3203 * manual/examples/search.c (critter_cmp): Change signature to
3204 avoid warnings.
3205 * manual/string.texi (Collation Functions): Likewise.
3206
48970aba
L
32072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3208
3209 * bits/types.h: Fold copyright years.
3210 * bits/typesizes.h: Likewise.
3211 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
3212 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
3213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
3214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
3215 * time/time.h: Likewise.
3216
bedee953
PP
32172012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
3218
3219 [BZ #208]
3220 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
3221 in instead of returning them. Return void.
3222 (__libc_mallinfo): Accumulate over all arenas.
3223 (__malloc_stats): Adjust for change in int_mallinfo interface.
3224
61653dfb
RM
32252012-05-16 Roland McGrath <roland@hack.frob.com>
3226
30b99d79
RM
3227 [BZ #10375]
3228 * configure.in (NM): Add AC_CHECK_TOOL for it.
3229 (libc_extra_cflags): New substituted variable.
3230 Check for -fstack-protector being used implicitly.
3231 * configure: Regenerated.
3232 * config.make.in (config-extra-cflags): New variable,
3233 gets @libc_extra_cflags@.
3234 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
3235
61653dfb
RM
3236 [BZ #10375]
3237 * configure.in: Check for _FORTIFY_SOURCE being predefined.
3238 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
3239 * configure: Regenerated.
3240 * config.make.in (CPPUNDEFS): New substituted variable.
3241 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
3242 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
3243 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
3244
661768bb
L
32452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3246
3247 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
3248 (mq_attr): Use __syscall_slong_t.
3249
d4261567
L
32502012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3251
3252 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
3253 Check __x86_64__ instead of __WORDSIZE.
3254 (_STAT_VER_LINUX): Likewise.
3255 (stat): Check __x86_64__ instead of __WORDSIZE. Use
3256 __syscall_ulong_t and __syscall_slong_t.
3257 (stat64): Likewise.
3258
cf3ff365
L
32592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3260
3261 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
3262
76cf3e4d
L
32632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3264
3265 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
3266
a637753a
L
32672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3268
3269 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
3270 __syscall_ulong_t.
3271
d5e05119
L
3272 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
3273 include <bits/wordsize.h>. Check __x86_64__ instead of
3274 __WORDSIZE.
3275 (greg_t): Use "__extension__ long long int" if __x86_64__ is
3276 defined.
3277 (mcontext_t): Replace "unsigned long" with "unsigned long long".
3278
f62ee380
L
3279 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
3280 include <bits/wordsize.h>. Check __x86_64__ instead of
3281 __WORDSIZE.
3282 (user_regs_struct): Use "__extension__ unsigned long long"
3283 instead of "unsigned long" if __x86_64__ is defined.
3284 (user): Likewise. Pad after pointer field if __ILP32__ is
3285 defined.
3286
4e124ced
JM
32872012-05-16 Joseph Myers <joseph@codesourcery.com>
3288
6a3951a0
JM
3289 * configure.in (makeinfo): Require version 4.5 or later. Allow
3290 versions 5 to 9.
3291 * configure: Regenerated.
3292 * manual/install.texi (texinfo): Increase version requirement to
3293 4.5 or later.
3294 * INSTALL: Regenerated.
3295
4e124ced
JM
3296 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
3297
953ca31a
L
32982012-05-16 H.J. Lu <hongjiu.lu@intel.com>
3299
3300 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
3301
617aca05
L
3302 * sysdeps/x86_64/x32/ffs.c: New file.
3303
5762f7ae
L
3304 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
3305 __syscall_ulong_t.
3306 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
3307 defined. Use __syscall_ulong_t.
3308 (shminfo): Use __syscall_ulong_t.
3309 (shm_info): Likewise.
3310
a26b6856
L
3311 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
3312 __syscall_ulong_t.
3313
cb2b9ef7
L
3314 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
3315 <bits/wordsize.h>.
3316 (msgqnum_t): Use __syscall_ulong_t.
3317 (msglen_t): Likewise.
3318 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
3319 __syscall_ulong_t.
3320
34683bb0
L
3321 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
3322 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3323
84a68786
L
3324 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
3325
48baa5f1
L
3326 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
3327 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
3328
180be88b
L
3329 * sysvipc/sys/msg.h (msgbuf): Replace long int with
3330 __syscall_slong_t.
3331
5e90c8ad
L
3332 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
3333 include <bits/wordsize.h>. Check __x86_64__ instead of
3334 __WORDSIZE.
3335
23dfb58b
L
3336 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
3337 "unsigned long long int" if __x86_64__ is defined.
3338 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
3339
ce5d54b0
L
3340 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
3341 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
3342 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
3343
13dc9eac
L
3344 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
3345 <stdint.h>.
3346 (GET_PC): Cast to uintptr_t first.
3347 (GET_FRAME): Likewise.
3348 (GET_STACK): Likewise.
3349
a7895d15
L
3350 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
3351 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
3352 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
3353 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
3354 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
3357 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
3358 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
3359 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
3360 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
3361 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
3362 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
3363 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
3364 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
3365 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
3366 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
3367 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
3368 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
3369 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
3371 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
3372 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
3373 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
3374 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
3375 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
3376 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
3377 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
3378 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
3379
656416c9
AS
33802012-05-16 Andreas Schwab <schwab@linux-m68k.org>
3381
5bd66283
AS
3382 * Makerules (+depfiles): Also collect depfiles from .oS in
3383 $(extra-objs).
3384 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
3385 .oS, $(libnldbl-routines)).
3386
656416c9
AS
3387 * Makerules (native-compile-mkdep-flags): Define.
3388 * sunrpc/Makefile (extra-objs): Add $(addprefix
3389 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
3390 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
3391 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
3392 calling $(make-target-directory).
3393
a46f2169
L
33942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3395
3396 * bits/types.h (__snseconds_t): Removed.
3397 * time/time.h (struct timespec): Replace __snseconds_t with
3398 __syscall_slong_t.
3399 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
3400 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
3401 Likewise.
3402 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3403 (__SNSECONDS_T_TYPE): Likewise.
3404 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3405 (__SNSECONDS_T_TYPE): Likewise.
3406 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3407 (__SNSECONDS_T_TYPE): Likewise.
3408
6af6528b
L
34092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * sysdeps/mach/hurd/bits/typesizes.h
3412 (__SYSCALL_SLONG_TYPE): New macro.
3413 (__SYSCALL_ULONG_TYPE): Likewise.
3414
de986b56
L
34152012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3416
3417 * bits/types.h (__syscall_slong_t): New type.
3418 (__syscall_ulong_t): Likewise.
3419
3420 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
3421 (__SYSCALL_ULONG_TYPE): Likewise.
3422 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
3423 (__SYSCALL_SLONG_TYPE): Likewise.
3424 (__SYSCALL_ULONG_TYPE): Likewise.
3425 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
3426 (__SYSCALL_SLONG_TYPE): Likewise.
3427 (__SYSCALL_ULONG_TYPE): Likewise.
3428 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3429 (__SYSCALL_SLONG_TYPE): Likewise.
3430 (__SYSCALL_ULONG_TYPE): Likewise.
3431
85736dc7
L
34322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3433
3434 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
3435 Add sigaltstack-offsets.sym.
3436 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
3437 <sigaltstack-offsets.h>.
3438 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
3439 longjmp_msg pointer.
3440 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
3441 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
3442 signal stack.
3443 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
3444
cc03b296
JM
34452012-05-15 Joseph Myers <joseph@codesourcery.com>
3446
a9538892
JM
3447 * elf/stackguard-macros.h: Remove file.
3448 * sysdeps/generic/stackguard-macros.h: New file.
3449 * sysdeps/i386/stackguard-macros.h: Likewise.
3450 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3451 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3452 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3453 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3454 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3455 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3456 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3457 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3458 <elf/stackguard-macros.h>.
3459
cc03b296
JM
3460 [BZ #14109]
3461 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3462 __aligned__ in attribute.
3463 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3464 (gregset_t): Likewise.
3465
93171016
L
34662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3467
3468 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3469 * sysdeps/x86_64/64/Implies-after: Here. New file.
3470 * sysdeps/x86_64/x32/Implies-after: New file.
3471
d86813a0
L
34722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3473
3474 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3475 and access return value for _dl_profile_fixup. Use R10_LP to
3476 load frame size.
3477
2953ec75
L
34782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3479
3480 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3481
3b550e9e
L
34822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3483
3484 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3485 * sysdeps/x86_64/x32/sysdep.h: New file.
3486
eda41706
L
34872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3488
3489 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3490 * sysdeps/x86_64/setjmp.S: Likewise.
3491
9ea01d93
AZ
34922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3493
3494 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3495 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3496 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3497 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3498 remove unused global constant.
3499
02a91938
CM
35002012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3501
3502 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3503 include of <not-cancel.h>.
3504
6540185f
RM
35052012-05-15 Roland McGrath <roland@hack.frob.com>
3506
3507 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3508
509072a0
AJ
35092012-05-15 Jeff Law <law@redhat.com>
3510 Andreas Jaeger <aj@suse.de>
3511
3512 [BZ #13594]
3513 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3514 out from...
3515 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3516 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3517 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3518 code changing __hst_map_handle.map.
3519
ba75122d
RM
35202012-05-15 Roland McGrath <roland@hack.frob.com>
3521
3522 * configure.in (sysnames): Look for Implies-before and Implies-after
3523 files.
3524 * configure: Regenerated.
3525
890d8bd8
L
35262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3527
3528 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3529 8-byte data alignment with LP_SIZE alignment.
3530
f6ee6623
L
35312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3532
3533 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3534 into R10_LP.
3535
ea2626f6
L
35362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3537
3538 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3539
085f715e
L
35402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3543 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3544 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3547
be8498fc
L
35482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3549
3550 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3551 (stackinfo_sub_sp): Likewise.
3552
70bc83b9
L
35532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3554
3555 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3556 RAX_LP.
3557
9bc0b730
L
35582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3559
3560 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3561 into R*_LP.
3562
6d2850e7
L
35632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3564
3565 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3566 sizes into R*_LP.
3567
3cb84561
L
35682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3569
3570 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3571
54e2ed81
L
35722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3573
3574 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3575 into R11_LP and load __x86_64_shared_cache_size_half into
3576 R8_LP.
3577
8a17f349
L
35782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3579
3580 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3581 R8_LP.
3582
777b1eea
AZ
35832012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3584
3585 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3586 logb for POWER7.
3587 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3588 logbf for POWER7.
3589 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3590 logbl for POWER7.
3591 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3592 powerpc32/power7/fpu/s_logb.c via #include.
3593 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3594 powerpc32/power7/fpu/s_logbf.c via #include.
3595 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3596 powerpc32/power7/fpu/s_logbl.c via #include.
3597
d20d4ac2
JM
35982012-05-15 Joseph Myers <joseph@codesourcery.com>
3599
3600 * README.libm: Remove file.
3601
6cdef1ab
L
36022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3603
3604 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3605 count for x32. Use R*_LP and omit operand-size suffix.
3606
0b254d8f
L
36072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3608
3609 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3610 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3611 * sysdeps/x86_64/x32/shlib-versions: New file.
3612
ceb809dc
RM
36132012-05-14 Roland McGrath <roland@hack.frob.com>
3614
3615 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3616 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3617 Use _dl_fatal_printf instead.
3618
37f1abd4
JM
36192012-05-14 Joseph Myers <joseph@codesourcery.com>
3620
3621 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3622 set if not set by the user. Do not allow for being unset.
3623 * sysdeps/unix/sysv/linux/configure: Regenerated.
3624
11de3a33
L
36252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3626
3627 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3628 the `q' suffix from lea and replace .quad with ASM_ADDR.
3629
e02f153a
L
36302012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3631
3632 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3633 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3634 instead of $17.
3635 (PTR_DEMANGLE): Likewise.
3636
520ae0fd
L
36372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3640 (LP_OP): Likewise.
3641 (ASM_ADDR): Likewise.
3642 (RAX_LP): Likewise.
3643 (RBP_LP): Likewise.
3644 (RBX_LP): Likewise.
3645 (RCX_LP): Likewise.
3646 (RDI_LP): Likewise.
3647 (RSI_LP): Likewise.
3648 (RSP_LP): Likewise.
3649 (R8_LP): Likewise.
3650 (R9_LP): Likewise.
3651 (R10_LP): Likewise.
3652 (R10_LP): Likewise.
3653 (R11_LP): Likewise.
3654 (R12_LP): Likewise.
3655 (R13_LP): Likewise.
3656 (R14_LP): Likewise.
3657 (R15_LP): Likewise.
3658
b985be81
L
36592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86_64/x32/dl-machine.h: New file.
3662
6a4888ff
AJ
36632012-05-14 Andreas Jaeger <aj@suse.de>
3664
3665 * manual/Makefile (subdir): Remove export of subdir.
3666 (all): Remove target.
3667 (.PHONY): Remove all from list.
3668 (mkinstalldirs): Remove.
3669 (.PHONY): Remove installdirs from list.
3670 ($(inst_infodir)/libc.info): Use make-target-directory.
3671 (installdirs): Remove.
3672 (subdir_%): Remove.
3673 (glibc-targets): Remove.
3674 (lib): Remove.
3675 (stubs): Remove.
3676 ($(objpfx)stubs ../po/manual.pot): Remove.
3677 ($(objpfx)stamp%): Remove.
3678 (make-target-directory): Remove.
3679 (subdir_install): Remove.
3680 (routines): Remove.
3681 (aux): Remove.
3682 (sources): Remove.
3683 (objects): Remove.
3684 (headers): Remove.
3685
3686 [BZ #13750]
3687 * manual/.gitignore: Remove, it's not needed anymore.
3688 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3689 all files in it.
3690 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3691 directory.
3692 (texis): Renamed to $(objpfx)texis.
3693 (texis-path): New, contains path to generated files.
3694 (chapters.%): Use texis-path for complete path, add extra argument
3695 libc-texinfo.sh.
3696 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3697 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3698 (summary,texi, stamp-summary): Use complete path of
3699 files. Generate files in build dir.
3700 (dir-add.texi): Build in build dir.
3701 (libm-err.texi,stamp-libm-err): Likewise.
3702 (version.texi, stamp-version): Likewise.
3703 (.%c.texi): Likewise.
3704 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3705 (mostlyclean): Remove target.
3706 (realclean): Remove target.
3707 (generated): Add new variable with contents from mostlyclean and
3708 realclean, remove entries duplicated in common-mostlyclean, add
3709 stamp-libm-err and stamp-version.
3710 (generated-dirs): Add libc directory.
3711 ($(inst_infodir)/libc.info): Install files from build dir.
3712
3713 * manual/install.texi (Configuring and compiling): Adjust since
3714 the info files are not part of the tar ball anymore.
3715
7ac77294
AJ
37162012-05-14 Andreas Jaeger <aj@suse.de>
3717
3718 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3719 variable.
3720
ffb7875d
JM
37212012-05-14 Joseph Myers <joseph@codesourcery.com>
3722
3723 [BZ #13717]
3724 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3725 to 2.2.0 where earlier.
3726 * sysdeps/unix/sysv/linux/configure: Regenerated.
3727 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3728 Remove conditional code.
3729 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3730 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3731 Remove conditional code.
3732 [!__NR_lchown]: Likewise.
3733 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3734 [__NR_lchown]: Likewise.
3735 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3736 comment referencing __ASSUME_LCHOWN_SYSCALL.
3737 * sysdeps/unix/sysv/linux/i386/sigaction.c
3738 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3739 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3740 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3741 Remove conditional code.
3742 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3743 (__protocol_available): Remove #if 0 code.
3744 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3745 conditional code.
3746 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3747 * sysdeps/unix/sysv/linux/kernel-features.h
3748 (__ASSUME_GETCWD_SYSCALL): Don't define.
3749 (__ASSUME_REALTIME_SIGNALS): Likewise.
3750 (__ASSUME_PREAD_SYSCALL): Likewise.
3751 (__ASSUME_PWRITE_SYSCALL): Likewise.
3752 (__ASSUME_POLL_SYSCALL): Likewise.
3753 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3754 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3755 non-SPARC.
3756 (__ASSUME_SIOCGIFNAME): Don't define.
3757 (__ASSUME_MSG_NOSIGNAL): Likewise.
3758 (__ASSUME_SENDFILE): Define unconditionally.
3759 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3760 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3761 conditional code.
3762 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3763 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3764 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3765 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3766 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3767 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3768 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3770 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3771 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3773 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3774 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3776 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3777 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3778 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3779 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3780 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3782 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3783 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3785 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3786 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3788 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3789 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3791 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3792 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3793 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3794 Remove conditional code.
3795 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3796 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3797 Remove conditional code.
3798 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3799 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3800 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3801 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3802 Remove conditional code.
3803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3804 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3805 Remove conditional code.
3806 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3807 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3808 Remove conditional code.
3809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3810 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3811 Remove conditional code.
3812 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3813 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3814 Remove conditional code.
3815 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3816 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3817 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3818 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3819 * sysdeps/unix/sysv/linux/sigaction.c
3820 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3821 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3822 * sysdeps/unix/sysv/linux/sigpending.c
3823 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3824 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3825 * sysdeps/unix/sysv/linux/sigprocmask.c
3826 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3827 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3828 * sysdeps/unix/sysv/linux/sigsuspend.c
3829 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3830 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3831 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3832 (__libc_missing_rt_sigs): Remove.
3833 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3834 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3835 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3836 Remove conditional code.
3837 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3838 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3839 return 1.
3840 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3841 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3842 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3843 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3844
1bfb7291
AJ
38452012-05-14 Andreas Jaeger <aj@suse.de>
3846
caae5a81
AJ
3847 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3848 it's not used in glibc.
3849 (__coshm1): Likewise.
3850 (__acosh1p): Likewise.
3851 (__sgn): Likewise.
3852
1bfb7291
AJ
3853 * manual/string.texi (Copying and Concatenation): Add missing
3854 variable in concat example.
3855 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3856
c044d724
L
38572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3858
144c5467 3859 [BZ #14103]
c044d724
L
3860 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3861 __builtin_clzl with __builtin_clzll.
3862
2523c62b
L
38632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 [BZ #14104]
3866 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3867 libc_freeres_ptr.
3868
d7bb4c42
LD
38692012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3870
3871 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3872 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3873 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3874 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3875
9dc4e1fb
MF
38762012-05-14 Mike Frysinger <vapier@gentoo.org>
3877
3878 * NEWS: Update ia64 info.
3879
c7df0112
AS
38802012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3881
3882 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3883 used as bcopy.
3884
dc70356c
TS
38852012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3886
3887 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3888 * sysdeps/unix/syscalls.list (dup3): Likewise.
3889 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3890 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3891
9fb1a21f
L
38922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3895 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3896
4822a2a5
L
38972012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3898
3899 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3900 thread pointer.
3901 (TLS_IE): Use mov/add instead of movq/addq to load thread
3902 pointer.
3903 (TLS_GD_PREFIX): New.
3904 (TLS_GD): Use it.
3905
842b81d6
DM
39062012-05-11 David S. Miller <davem@davemloft.net>
3907
3908 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3909 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3910 (_FPU_SETCW): Likewise.
3911
1cf463cd
L
39122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3913
3914 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3915 is 32-byte aligned.
3916
60cc4a18
AS
39172012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3918
3919 [BZ #11837]
3920 * iconvdata/gb18030.c: Update tables.
3921 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3922 characters specially.
3923 (BODY for TO_LOOP): Add encoding of missing ranges.
3924
febb44a4
TS
39252012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3926
3927 [BZ #13673]
3928 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3929 * sysdeps/mach/hurd/dup3.c: Likewise.
3930 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3931 * sysdeps/powerpc/memmove.c:: Likewise.
3932
0a10fb9e
L
39332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3934
3935 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3936 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3937
df8a552f
L
39382012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3939
3940 * elf/elf.h (R_X86_64_RELATIVE64): New.
3941 (R_X86_64_NUM): Updated.
3942 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3943 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3944 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3945 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3946 tst-quad1pie tst-quad2pie
3947 (modules-names): Add tst-quadmod1 tst-quadmod2.
3948 ($(objpfx)tst-quad1): New dependency.
3949 ($(objpfx)tst-quad2): Likewise.
3950 ($(objpfx)tst-quad1pie): Likewise.
3951 ($(objpfx)tst-quad2pie): Likewise.
3952 * sysdeps/x86_64/tst-quad1.c: New file.
3953 * sysdeps/x86_64/tst-quad1pie.c: New file.
3954 * sysdeps/x86_64/tst-quad2.c: Likewise.
3955 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3956 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3957 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3958 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3959 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3960
f34d6f84
ST
39612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3962
f42d41d1
ST
3963 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3964 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3965 * streams/stropts.h (t_scalar_t): Define type.
3966
3c3571fc
ST
3967 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3968 (_PATH_PRESERVE): Set to "/var/lib".
3969 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3970
61f06bd3
ST
3971 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3972 instead of int.
3973
918d4d71
ST
3974 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3975 if __dir_mkfile succeeded.
3976
f34d6f84
ST
3977 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3978 checking for _hurd_dtablesize. Unlock it right after having
3979 finished _hurd_dtable allocation.
3980
10589b4a
TS
39812012-05-10 Thomas Schwinge <thomas@schwinge.name>
3982
674cdbc7
TS
3983 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3984 * sysdeps/mach/hurd/configure: Regenerated.
3985 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3986 special-casing to...
3987 * sysdeps/gnu/configure.in: ... this new file.
3988 * sysdeps/unix/sysv/linux/configure: Regenerated.
3989 * sysdeps/gnu/configure: New generated file.
3990
8e41b99f
TS
3991 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3992 for Linux: use nsec instead of usec, as well as:
3993 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3994 members of type struct timespec.
3995 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3996 New macros.
3997 (struct stat64): Likewise.
3998 (_STATBUF_ST_NSEC): New macro.
3999 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
4000
10589b4a
TS
4001 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
4002 __strtoul_internal rather than strtoul.
4003
63643c85
PT
40042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4005
4006 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
4007 and reject them.
4008
3faebe6a
ST
40092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4010
4011 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
4012 which preserves existing values.
4013 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
4014
c6474b07
PT
40152012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4016
4017 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
4018 TIMEOUT values. Return EINVAL for NFDS values either negative or
4019 greater than FD_SETSIZE.
4020
1043890b
ST
40212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4022
4023 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
4024 allocated, call __vm_protect to finish enabling the existing space, and
4025 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
4026 allocate the remainder.
4027
37ed8b9b
PT
40282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4029
4030 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
4031 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
4032
db653660
ST
40332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4034
37ed8b9b
PT
4035 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
4036 sysdeps/mach/hurd/readlink.c.
b29d4053 4037
db653660
ST
4038 * posix/tst-sysconf.c (posix_options): Only use
4039 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
4040 _POSIX_SYNCHRONIZED_IO when they are defined
4041 * sysdeps/mach/hurd/bits/posix_opt.h:
4042 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
4043 (_XOPEN_REALTIME): Undefine macro.
4044 (_XOPEN_REALTIME_THREADS): Undefine macro.
4045 (_XOPEN_SHM): Undefine macro.
4046 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
4047 macro to -1.
4048 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
4049 macro to -1.
4050 (_POSIX_ASYNC_IO): Undefine macro.
4051 (_POSIX_PRIORITIZED_IO): Undefine macro.
4052 (_POSIX_SPIN_LOCKS): Define macro to -1.
4053
ee16e894
ST
4054 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
4055 SA_NODEFER, SA_RESETHAND.
4056 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
4057 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
4058 F_DUPFD_CLOEXEC.
4059
6103ae3b
TS
40602012-05-10 Thomas Schwinge <thomas@schwinge.name>
4061
4062 * elf/Makefile (pldd-modules): Define unconditionally.
4063
80b4e5f3
TS
40642012-05-10 Thomas Schwinge <thomas@schwinge.name>
4065
4066 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
4067
edadcbd6
ST
40682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4069
4070 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
4071 Return ENOENT when name is empty.
4072 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
4073
80694780
TS
40742012-05-10 Thomas Schwinge <thomas@schwinge.name>
4075
1792c087
TS
4076 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
4077
80694780
TS
4078 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
4079
6b645f0d
ST
40802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4081
80694780
TS
4082 Fix mlock in all cases except non-readable pages.
4083 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
4084 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 4085
6b645f0d
ST
4086 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
4087 (__mkdir): When path is `/', just fail with EEXIST.
4088 * sysdeps/mach/hurd/mkdirat.c: Likewise.
4089
e468f8a3
TS
40902012-05-10 Thomas Schwinge <thomas@schwinge.name>
4091
4092 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
4093 <sys/uio.h> (for writev).
4094 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
4095 and <sys/param.h> (for MIN).
4096
a4186cff
PT
40972012-05-10 Pino Toscano <toscano.pino@tiscali.it>
4098
4099 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
4100 REQUESTED_TIME. Properly set the remaining time and return EINTR
4101 if interrupted.
4102
510bbf14
TS
41032012-05-10 Thomas Schwinge <thomas@schwinge.name>
4104
4105 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
4106 Depend on against $(link-rpcuserlibs).
4107
5d5722e8
ST
41082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4109
a4186cff
PT
4110 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
4111 (__libc_stack_end): Do not use attribute_relro.
4112 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
4113 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 4114 to libthread-provided value.
a4186cff
PT
4115 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
4116 attribute_relro.
5d5722e8 4117
37233df9
TS
41182012-05-10 Thomas Schwinge <thomas@schwinge.name>
4119
be971a2b
TS
4120 [BZ #3748]
4121 * bits/libc-lock.h (__libc_once_get): New macro.
4122 * sysdeps/mach/bits/libc-lock.h: Likewise.
4123 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
4124 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
4125 instead of using implementation details.
4126
37233df9
TS
4127 * libio/fileops.c: Unconditionally include <kernel-features.h>.
4128 * libio/freopen.c: Likewise.
4129 * libio/freopen64.c: Likewise.
4130 * misc/syslog.c: Likewise.
4131 * nscd/connections.c: Likewise.
4132 * nscd/netgroupcache.c: Likewise.
4133 * sysdeps/posix/getcwd.c: Likewise.
4134
38de94a5
RM
41352012-05-10 Roland McGrath <roland@hack.frob.com>
4136
4137 * math/w_ilogbf.c: Add #include <limits.h>.
4138
67530489
ST
41392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4140
a4186cff 4141 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
4142 path instead of returning without unlocking.
4143
67530489
ST
4144 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
4145 immediate-write ioctls.
4146 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
4147
5aa3a74a
TS
41482012-05-10 Thomas Schwinge <thomas@schwinge.name>
4149
18bad2ae
TS
4150 * sysdeps/mach/hurd/i386/init-first.c (init): Use
4151 __builtin_frame_address instead of making assumptions about the
4152 location of the return address relative to DATA. Force early load of
4153 the return address.
4154 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
4155 __builtin_frame_address.
4156
5aa3a74a
TS
4157 dup3 for GNU Hurd.
4158 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
4159 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
4160 implement dup3 and do some further code clean-ups.
4161 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
4162 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
4163
ecd0de9a
ST
41642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4165
cd9fa985
ST
4166 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
4167
a4186cff
PT
4168 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
4169 HURD_CRITICAL_END around holding _hurd_dtable_lock.
4170 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
4171 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
4172 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
4173 d->port.lock.
802ca5a5 4174
a4186cff
PT
4175 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
4176 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
4177 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 4178
bcf55240
TS
41792012-05-10 Thomas Schwinge <thomas@schwinge.name>
4180
6960eb42
TS
4181 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
4182 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
4183 definitions.
4184
eb43375f
TS
4185 accept4 for GNU Hurd.
4186 * include/sys/socket.h (__libc_accept4): New prototype.
4187 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
4188 to implement __libc_accept4.
4189 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
4190 __libc_accept4.
4191 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
4192
bcf55240
TS
4193 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
4194 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
4195 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
4196 signal-defines.sym.
4197
6178c55b
ST
41982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4199
a4186cff 4200 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 4201
6f080c2f
TS
42022012-05-10 Thomas Schwinge <thomas@schwinge.name>
4203
4204 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
4205 assertion on O_CLOEXEC flag.
4206 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
4207 * hurd/intern-fd.c: Likewise.
4208 * hurd/port2fd.c: Likewise.
4209
bcfe3a54
ST
42102012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
4211
4212 [BZ #3906]
4213 * bits/in.h (IPV6_PKTINFO): Define new macro.
4214 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
4215
89c9aa49
AZ
42162012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4217
4218 [BZ #13954]
4219 [BZ #13955]
4220 [BZ #13956]
4221 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
4222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4223 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
4224 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
4225 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4226 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
4227 * math/libm-test.inc (logb_test) : Additional logb tests.
4228
021db4be
AJ
42292012-05-09 Andreas Schwab <schwab@linux-m68k.org>
4230 Andreas Jaeger <aj@suse.de>
4231
4232 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
4233 * configure: Regenerated.
4234 * config.h.in (LINK_OBSOLETE_RPC): New macro.
4235 * config.make.in (link-obsolete-rpc): New substituted variable.
4236 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
4237 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
4238 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4239 (shared-only-routines): Don't set it under [link-obsolete-rpc],
4240 so that libc.a contains the symbols.
4241 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
4242 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
4243 * sunrpc/auth_none.c: Likewise.
4244 * sunrpc/auth_unix.c: Likewise.
4245 * sunrpc/authdes_prot.c: Likewise.
4246 * sunrpc/authuxprot.c: Likewise.
4247 * sunrpc/clnt_gen.c: Likewise.
4248 * sunrpc/clnt_perr.c: Likewise.
4249 * sunrpc/clnt_raw.c: Likewise.
4250 * sunrpc/clnt_simp.c: Likewise.
4251 * sunrpc/clnt_tcp.c: Likewise.
4252 * sunrpc/clnt_udp.c: Likewise.
4253 * sunrpc/clnt_unix.c: Likewise.
4254 * sunrpc/des_crypt.c: Likewise.
4255 * sunrpc/des_soft.c: Likewise.
4256 * sunrpc/get_myaddr.c: Likewise.
4257 * sunrpc/key_call.c: Likewise.
4258 * sunrpc/key_prot.c: Likewise.
4259 * sunrpc/netname.c: Likewise.
4260 * sunrpc/pm_getmaps.c: Likewise.
4261 * sunrpc/pm_getport.c: Likewise.
4262 * sunrpc/pmap_clnt.c: Likewise.
4263 * sunrpc/pmap_prot.c: Likewise.
4264 * sunrpc/pmap_prot2.c: Likewise.
4265 * sunrpc/pmap_rmt.c: Likewise.
4266 * sunrpc/publickey.c: Likewise.
4267 * sunrpc/rpc_cmsg.c: Likewise.
4268 * sunrpc/rpc_common.c: Likewise.
4269 * sunrpc/rpc_dtable.c: Likewise.
4270 * sunrpc/rpc_prot.c: Likewise.
4271 * sunrpc/rpc_thread.c: Likewise.
4272 * sunrpc/rtime.c: Likewise.
4273 * sunrpc/svc.c: Likewise.
4274 * sunrpc/svc_auth.c: Likewise.
4275 * sunrpc/svc_raw.c: Likewise.
4276 * sunrpc/svc_run.c: Likewise.
4277 * sunrpc/svc_tcp.c: Likewise.
4278 * sunrpc/svc_udp.c: Likewise.
4279 * sunrpc/svc_unix.c: Likewise.
4280 * sunrpc/svcauth_des.c: Likewise.
4281 * sunrpc/xcrypt.c: Likewise.
4282 * sunrpc/xdr.c: Likewise.
4283 * sunrpc/xdr_array.c: Likewise.
4284 * sunrpc/xdr_float.c: Likewise.
4285 * sunrpc/xdr_intXX_t.c: Likewise.
4286 * sunrpc/xdr_mem.c: Likewise.
4287 * sunrpc/xdr_rec.c: Likewise.
4288 * sunrpc/xdr_ref.c: Likewise.
4289 * sunrpc/xdr_sizeof.c: Likewise.
4290 * sunrpc/xdr_stdio.c: Likewise.
4291
b5c086a2
RM
42922012-05-10 Roland McGrath <roland@hack.frob.com>
4293
4294 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
4295 change. Update copyright years.
4296
6d74dd09
JM
42972012-05-10 Joseph Myers <joseph@codesourcery.com>
4298
4299 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
4300
28e72501
MK
43012012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
4302 Joseph Myers <joseph@codesourcery.com>
4303 Paul Pluzhnikov <ppluzhnikov@google.com>
4304
4305 [BZ #14012]
4306 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
4307 requiring rpcgen.
4308 [cross-compiling] (extra-libs): Likewise.
4309 [cross-compiling] (extra-libs-others): Likewise.
4310 [cross-compiling] (librpcsvc-routines): Likewise.
4311 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
4312 [cross-compiling] (omit-deps): Likewise.
4313 (sunrpc-CPPFLAGS): New variable.
4314 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
4315 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
4316 (cross-rpcgen-objs): New variable.
4317 (extra-objs): Append $(cross-rpcgen-objs).
4318 ($(cross-rpcgen-objs)): New rule.
4319 ($(objpfx)cross-rpcgen): Likewise.
4320 (rpcgen-cmd): Define to use $(built-program-file). Expand
4321 comment.
4322 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
4323 ($(objpfx)x%.stmp): Likewise.
4324 * sunrpc/proto.h [IS_IN_build] (_): Define.
4325 [IS_IN_build] (_libc_intl_domainname): Likewise.
4326
c8c59454
L
43272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
4328
4329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
4330 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
4331 and R_X86_64_TPOFF64.
4332
6f27cd16
JM
43332012-05-10 Joseph Myers <joseph@codesourcery.com>
4334
4335 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
4336 sysdeps/unix/sysv/syscalls.list.
4337 (stime): Likewise.
4338 (utime): Likewise.
4339 * sysdeps/unix/sysv/syscalls.list: Remove file.
4340
02467e1c
PE
43412012-05-10 Paul Eggert <eggert@cs.ucla.edu>
4342
4343 [BZ #3440]
4344 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
4345 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
4346 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
4347 (__LC_IDENTIFICATION): Make these macros useful in #if
4348 expressions, as required by C99.
4349
da392631
AS
43502012-05-10 Andreas Schwab <schwab@linux-m68k.org>
4351
4352 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
4353 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
4354 after this.
4355
8115f29b
L
43562012-05-09 H.J. Lu <hongjiu.lu@intel.com>
4357
4358 * stdlib/longlong.h: Updated from GCC.
4359
bdd74070
AJ
43602012-05-09 Andreas Jaeger <aj@suse.de>
4361
edfe0dbe
AJ
4362 * nscd/nscd.c (run_modes): Make named enum, reorder so that
4363 default is first entry.
4364 (run_mode): Set type.
4365 (main): Remove informal message about syslog.
4366 (options): Fix typo.
4367
bcfe3a54
ST
4368 [BZ #14053]
4369 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 4370 to asm.
bcfe3a54
ST
4371 (lrint): Likewise.
4372 (llrintf): Likewise.
4373 (llrint): Likewise.
4374 (rint): Likewise.
4375 (rintf): Likewise.
4376 (nearbyint): Likewise.
4377 (nearbyintf): Likewise.
bdd74070 4378
91d8d69e
AJ
43792012-05-09 Andreas Jaeger <aj@suse.de>
4380 Pedro Alves <palves@redhat.com>
4381
4382 * nscd/nscd.c (run_mode): Use enum.
4383 (main): Cleanup coding style issue.
4384
bb90b80b
AJ
43852012-05-09 Alexandre Oliva <aoliva@redhat.com>
4386 Andreas Jaeger <aj@suse.de>
4387
bcfe3a54
ST
4388 * nscd/nscd.c (go_background): Replaced with...
4389 (run_mode): ... this.
bb90b80b 4390 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
4391 (options): Add -F --foreground.
4392 (main): Implement it.
4393 (parse_opt): Parse it.
bb90b80b 4394
1a4b75a1
AJ
43952012-05-09 Andreas Jaeger <aj@suse.de>
4396
4397 [BZ #14083]
4398 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
4399 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
4400 -Wconversion warning.
4401 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
4402 Likewise.
4403
b1cc2472
JM
44042012-05-09 Joseph Myers <joseph@codesourcery.com>
4405
4406 * conform/data/locale.h-data (NULL): Use macro-constant. Require
4407 == 0.
4408 (LC_ALL): Use macro-int-constant.
4409 (LC_COLLATE): Likewise.
4410 (LC_CTYPE): Likewise.
4411 (LC_MESSAGES): Likewise.
4412 (LC_MONETARY): Likewise.
4413 (LC_NUMERIC): Likewise.
4414 (LC_TIME): Likewise.
4415 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
4416 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4417 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4418 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
4419 Specify type.
4420 [C99-based standards] (float_t): Expect type.
4421 [C99-based standards] (double_t): Expect type.
4422 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
4423 type.
4424 [C99-based standards] (HUGE_VALL): Likewise.
4425 [C99-based standards] (INFINITY): Likewise.
4426 [C99-based standards] (NAN): Likewise.
4427 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
4428 [C99-based standards] (FP_NAN): Likewise.
4429 [C99-based standards] (FP_NORMAL): Likewise.
4430 [C99-based standards] (FP_SUBNORMAL): Likewise.
4431 [C99-based standards] (FP_ZERO): Likewise.
4432 [C99-based standards] (FP_FAST_FMA): Use
4433 optional-macro-int-constant. Specify type. Require == 1.
4434 [C99-based standards] (FP_FAST_FMAF): Likewise.
4435 [C99-based standards] (FP_FAST_FMAL): Likewise.
4436 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
4437 [C99-based standards] (FP_ILOGBNAN): Likewise.
4438 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
4439 Specify type.
4440 [C99-based standards] (MATH_ERREXCEPT): Likewise.
4441 [C99-based standards] (math_errhandling): Specify type.
4442 [ISO99 || ISO11] (signgam): Do not allow.
4443 [non-C99-based standards] (copysignf): Do not allow.
4444 [non-C99-based standards] (exp2f): Likewise.
4445 [non-C99-based standards] (log2f): Likewise.
4446 [non-C99-based standards] (modff): Allow.
4447 [non-C99-based standards] (erff): Do not allow.
4448 [non-C99-based standards] (erfcf): Likewise.
4449 [non-C99-based standards] (gammaf): Likewise.
4450 [non-C99-based standards] (hypotf): Likewise.
4451 [non-C99-based standards] (j0f): Likewise.
4452 [non-C99-based standards] (j1f): Likewise.
4453 [non-C99-based standards] (jnf): Likewise.
4454 [non-C99-based standards] (lgammaf): Likewise.
4455 [non-C99-based standards] (tgammaf): Likewise.
4456 [non-C99-based standards] (y0f): Likewise.
4457 [non-C99-based standards] (y1f): Likewise.
4458 [non-C99-based standards] (ynf): Likewise.
4459 [non-C99-based standards] (isnanf): Likewise.
4460 [non-C99-based standards] (acoshf): Likewise.
4461 [non-C99-based standards] (asinhf): Likewise.
4462 [non-C99-based standards] (atanhf): Likewise.
4463 [non-C99-based standards] (cbrtf): Likewise.
4464 [non-C99-based standards] (expm1f): Likewise.
4465 [non-C99-based standards] (ilogbf): Likewise.
4466 [non-C99-based standards] (log1pf): Likewise.
4467 [non-C99-based standards] (logbf): Likewise.
4468 [non-C99-based standards] (nextafterf): Likewise.
4469 [non-C99-based standards] (remainderf): Likewise.
4470 [non-C99-based standards] (rintf): Likewise.
4471 [non-C99-based standards] (scalbf): Likewise.
4472 [non-C99-based standards] (copysignl): Likewise.
4473 [non-C99-based standards] (exp2l): Likewise.
4474 [non-C99-based standards] (log2l): Likewise.
4475 [non-C99-based standards] (modfl): Allow.
4476 [non-C99-based standards] (erfl): Do not allow.
4477 [non-C99-based standards] (erfcl): Likewise.
4478 [non-C99-based standards] (gammal): Likewise.
4479 [non-C99-based standards] (hypotl): Likewise.
4480 [non-C99-based standards] (j0l): Likewise.
4481 [non-C99-based standards] (j1l): Likewise.
4482 [non-C99-based standards] (jnl): Likewise.
4483 [non-C99-based standards] (lgammal): Likewise.
4484 [non-C99-based standards] (tgammal): Likewise.
4485 [non-C99-based standards] (y0l): Likewise.
4486 [non-C99-based standards] (y1l): Likewise.
4487 [non-C99-based standards] (ynl): Likewise.
4488 [non-C99-based standards] (isnanl): Likewise.
4489 [non-C99-based standards] (acoshl): Likewise.
4490 [non-C99-based standards] (asinhl): Likewise.
4491 [non-C99-based standards] (atanhl): Likewise.
4492 [non-C99-based standards] (cbrtl): Likewise.
4493 [non-C99-based standards] (expm1l): Likewise.
4494 [non-C99-based standards] (ilogbl): Likewise.
4495 [non-C99-based standards] (log1pl): Likewise.
4496 [non-C99-based standards] (logbl): Likewise.
4497 [non-C99-based standards] (nextafterl): Likewise.
4498 [non-C99-based standards] (remainderl): Likewise.
4499 [non-C99-based standards] (rintl): Likewise.
4500 [non-C99-based standards] (scalbl): Likewise.
4501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4502 [non-C99-based standards] (FP_*): Do not allow.
4503 [C99-based standards] (FP_*): Change to
4504 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4505 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4506 allow.
4507 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4508 (SIG_ERR): Likewise.
4509 [X/Open-based standards] (SIG_HOLD): Likewise.
4510 (SIG_IGN): Likewise.
4511 (SIGABRT): Use macro-int-constant. Specify type. Require
4512 positive value.
4513 (SIGFPE): Likewise.
4514 (SIGILL): Likewise.
4515 (SIGINT): Likewise.
4516 (SIGSEGV): Likewise.
4517 (SIGTER): Likewise.
4518 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4519 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4520 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4521 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4522 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4523 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4524 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4525 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4526 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4527 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4536 [X/Open-based standards] (SIGTRAP): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4541 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4542 allow.
4543
b9f1922d
IW
45442012-05-08 Ian Wienand <ianw@vmware.com>
4545
4546 [BZ #14080]
4547 * time/tzset.c (__tzset_parse_tz): Update default rules for
4548 daylight time changes in the Energy Policy Act of 2005.
4549
1db86e88
AJ
45502012-05-09 Andreas Jaeger <aj@suse.de>
4551
4552 [BZ #13983]
4553 * elf/ldconfig.c (parse_conf): Change string to make clear that
4554 ldconfig only issued a warning if ld.so.conf does not exist.
4555
dee4a4e3
DM
45562012-05-08 David S. Miller <davem@davemloft.net>
4557
ee0db190
DM
4558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4559 movxtod instead of popping the value on the stack.
4560
dee4a4e3
DM
4561 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4562
6a43ec98
CD
45632012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4564
4565 * config.h.in: Add HAVE_ARM_PCS_VFP.
4566
05c2c961
RMG
45672012-05-08 Roland Mc Grath <roland@hack.frob.com>
4568
bcfe3a54
ST
4569 [BZ #13979]
4570 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4571 checking but the checks are disabled for any reason.
05c2c961 4572
4b30f61a
L
45732012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4574
4575 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4576 and ELF64_R_TYPE with ELFW(R_TYPE).
4577
eee2bc67
JM
45782012-05-08 Joseph Myers <joseph@codesourcery.com>
4579
7ea5391a
JM
4580 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4581 (ulimit): Likewise.
4582
eee2bc67
JM
4583 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4584 (settimeofday): Likewise.
4585
abb66a67
MF
45862012-05-08 Mike Frysinger <vapier@gentoo.org>
4587
4588 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4589 a struct th_u2 inside the union, and move tu_block/tu_code into
4590 a new th_u3 union of tu_block/tu_code inside of that. Move
4591 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4592 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4593 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4594 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4595 (th_stuff): Change to th_u1.tu_stuff.
4596 (th_data): Define.
4597 (th_msg): Change to th_u1.th_u2.tu_data.
4598
7f18b530
DM
45992012-05-07 David S. Miller <davem@davemloft.net>
4600
05760585
DM
4601 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4602
7f18b530
DM
4603 [BZ #14074]
4604 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4605 (SETUP_PIC_REG): Use it.
4606 (SETUP_PIC_REG_LEAF): Use it.
4607
495fd99f
JM
46082012-05-07 Joseph Myers <joseph@codesourcery.com>
4609
4610 [BZ #13885]
4611 [BZ #13923]
4612 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4613 USE_AS_EXPM1L.
4614 (EXPL_FINITE): Likewise.
4615 (FLDLOG): Likewise.
4616 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4617 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4618 e_expl.S.
4619 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4620 USE_AS_EXPM1L.
4621 (EXPL_FINITE): Likewise.
4622 (FLDLOG): Likewise.
4623 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4624 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4625 e_expl.S.
4626 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4627 test of -max_value argument for long double.
4628 * sysdeps/i386/fpu/libm-test-ulps: Update.
4629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4630
6693d694
DM
46312012-05-06 David S. Miller <davem@davemloft.net>
4632
4633 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4634 quad soft-float symbols whose references which are compiler
4635 generated.
4636 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4637
6c23e11c
JM
46382012-05-06 Joseph Myers <joseph@codesourcery.com>
4639
d8b82cad
JM
4640 [BZ #13884]
4641 [BZ #13914]
4642 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4643 USE_AS_EXP10L.
4644 (EXPL_FINITE): Likewise.
4645 (FLDLOG): Likewise.
4646 (c0): Likewise.
4647 (c1): Likewise.
4648 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4649 Adjust comments for base varying.
4650 (__expl_finite): Change alias to EXPL_FINITE.
4651 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4652 e_expl.S.
4653 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4654 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4656 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4657 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4658 USE_AS_EXP10L.
4659 (EXPL_FINITE): Likewise.
4660 (FLDLOG): Likewise.
4661 (c0): Likewise.
4662 (c1): Likewise.
4663 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4664 Adjust comments for base varying.
4665 (__expl_finite): Change alias to EXPL_FINITE.
4666 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4667 tests for bugs.
4668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4669
6c23e11c
JM
4670 [BZ #14064]
4671 * math/libm-test.inc (check_float_internal): Correct ulp
4672 calculation for subnormal expected results.
4673
29ba805c
AJ
46742012-05-06 Andreas Jaeger <aj@suse.de>
4675
4676 * Makeconfig (+math-flags): New, set to -frounding-math.
4677 (+cflags): Add +math-flags so that all of glibc gets compiled with
4678 it.
4679
4680 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4681
7b17aeda
JM
46822012-05-05 Joseph Myers <joseph@codesourcery.com>
4683
5779f134
JM
4684 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4685 Disable one test.
4686
41498f4d
JM
4687 [BZ #13787]
4688 [BZ #13922]
4689 [BZ #14036]
4690 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4691 (__ieee754_expl): Allow for and saturate large arguments.
4692 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4693 (u_threshold): Likewise.
4694 (__exp): Call __ieee754_exp before checking for overflow and
4695 underflow.
4696 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4697 (u_threshold): Likewise.
4698 (__expf): Call __ieee754_expf before checking for overflow and
4699 underflow.
4700 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4701 (u_threshold): Likewise.
4702 (__expl): Call __ieee754_expl before checking for overflow and
4703 underflow.
4704 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4705 (__ieee754_expl): Allow for and saturate large arguments.
4706 * math/libm-test.inc (exp_test): Add another test. Do not allow
4707 missing overflow exception on overflow.
4708 (expm1_test): Do not allow missing overflow exception on overflow.
4709
6698b8bf
JM
4710 * sysdeps/i386/fpu/e_expl.c: Move to ...
4711 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4712 rather than using inline asm.
4713 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4714 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4715 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4716
7b17aeda
JM
4717 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4718 (nice): Likewise.
4719 (poll): Likewise.
4720 (signal): Likewise.
4721 (time): Likewise.
4722 (times): Likewise.
4723
f7c85819
JM
47242012-05-04 Joseph Myers <joseph@codesourcery.com>
4725
4726 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4727 sysdeps/unix/common/syscalls.list.
4728 (fchmod): Likewise.
4729 (fchown): Likewise.
4730 (ftruncate): Likewise.
4731 (getrusage): Likewise.
4732 (gettimeofday): Likewise.
4733 (setpgid): Likewise.
4734 (setregid): Likewise.
4735 (setreuid): Likewise.
4736 (sigaction): Likewise.
4737 (truncate): Likewise.
4738 (vhangup): Likewise.
4739 * sysdeps/unix/common/syscalls.list: Remove file.
4740 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4741 * sysdeps/unix/sysv/linux/Implies: Likewise.
4742
336270d0
L
47432012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4744
4745 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4747 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4748 Moved to ...
4749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4750 Here.
4751 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4752 to ...
4753 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4754 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4755 to ...
4756 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4757 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4758 to ...
4759 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4760 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4761 to ...
4762 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4763 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4764 to ...
4765 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4766 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4767 to ...
4768 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4769 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4770 to ...
4771 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4772 Here.
4773 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4774 to ...
4775 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4776 Here.
4777 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4778 to ...
4779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4780 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4781 Moved to ...
4782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4783 Here.
4784 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4785 to ...
4786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4787
d128e450
JM
47882012-05-04 Joseph Myers <joseph@codesourcery.com>
4789
fa8ee516
JM
4790 * sysdeps/unix/common/bits/dirent.h: Remove file.
4791 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4792
d128e450
JM
4793 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4794 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4795 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4796 * sysdeps/unix/bsd/isatty.c: Likewise.
4797 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4798 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4799 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4800
ff8faaf0 48012012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 4802
62881be4 4803 [BZ #13563]
31dc8730
AZ
4804 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4805 long double comparison inaccuracies.
4806 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4808
6fef930c
AS
48092012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4810
4811 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4812 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4813
8f203e6c
JM
48142012-05-04 Joseph Myers <joseph@codesourcery.com>
4815
4816 [BZ #14049]
4817 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4818 nonzero digits before rounding a hex value.
4819 * stdlib/tst-strtod.c (tests): Add another test.
4820
5197d9c2
AK
48212012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4822
4823 * sysdeps/s390/fpu/libm-test-ulps: Update.
4824
f0c1dedf
AJ
48252012-05-03 Andreas Jaeger <aj@suse.de>
4826
4827 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4828 does not get optimized out.
4829 (malloc_opt_barrier): New.
4830
a65ef2ae 48312012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 4832 Roland McGrath <roland@hack.frob.com>
a65ef2ae 4833
2b942cb7 4834 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 4835 intermediate file deletion.
2b942cb7 4836 (generated): Add .symlist files.
a65ef2ae 4837
54b71e02
JM
48382012-05-03 Joseph Myers <joseph@codesourcery.com>
4839
4840 [BZ #13775]
4841 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4842 Redirect under this condition.
4843 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4844 [__USE_GNU] (__dprintf_chk): Not under this condition.
4845 [__USE_GNU] (__vdprintf_chk): Likewise.
4846 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4847 under this condition.
4848 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4849 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4850 [__USE_XOPEN2K8] (vdprintf): Likewise.
4851 [__USE_GNU] (__dprintf_chk): Not under this condition.
4852 [__USE_GNU] (__vdprintf_chk): Likewise.
4853 [__USE_GNU] (dprintf): Likewise.
4854 [__USE_GNU] (vdprintf): Likewise.
4855
d3dfcc41
RM
48562012-05-03 Roland McGrath <roland@hack.frob.com>
4857
4858 * elf/Makefile (common-generated): Set this instead of generated for
4859 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4860 $(all-built-dso)-derived lists.
4861
7ac30cc5
AJ
48622012-05-03 Andreas Jaeger <aj@suse.de>
4863
0c51e550
AJ
4864 * sysdeps/i386/fpu/libm-test-ulps: Update.
4865
7ac30cc5
AJ
4866 * FAQ: Removed.
4867 * FAQ.in: Likewise.
4868 * scripts/gen-FAQ.pl: Likewise.
4869 * manual/install.texi (Installation): Point to online location of
4870 FAQ.
4871 * Makefile (files-for-dist): Remove FAQ.
4872 (FAQ): Remove.
4873
d4c2917f
AM
48742012-05-02 Allan McRae <allan@archlinux.org>
4875
4876 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4877 (LDFLAGS-reldepmod5.so): Likewise.
4878 (LDFLAGS-reldep6mod1.so): Likewise.
4879 (LDFLAGS-reldep6mod4.so): Likewise.
4880 (LDFLAGS-reldep8mod3.so): Likewise.
4881 (LDFLAGS-unload4mod1.so): Likewise.
4882 (LDFLAGS-unload4mod2.so): Likewise.
4883 (LDFLAGS-tst-initorder): Likewise.
4884 (LDFLAGS-tst-initordera2.so): Likewise.
4885 (LDFLAGS-tst-initordera3.so): Likewise.
4886 (LDFLAGS-tst-initordera4.so): Likewise.
4887 (LDFLAGS-tst-initorderb2.so): Likewise.
4888 (LDFLAGS-noload): Likewise.
4889 (LDFLAGS-next): Likewise.
4890 (LDFLAGS-order2mod1.so): Likewise.
4891 (LDFLAGS-order2mod2.so): Likewise.
4892 (LDFLAGS-tst-initorder2): Likewise.
4893 (LDFLAGS-tst-initorder2a.so): Likewise.
4894 (LDFLAGS-tst-initorder2b.so): Likewise.
4895 (LDFLAGS-tst-initorder2c.so): Likewise.
4896 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4897
d77f993f
DM
48982012-05-02 David S. Miller <davem@davemloft.net>
4899
4900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4901
171a70b4
PP
49022012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4903
4904 [BZ #14055]
4905 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4906
0be196ad
AJ
49072012-05-02 Andreas Jaeger <aj@suse.de>
4908
4909 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4910 since we manipulate rounding mode.
4911 (CPPFLAGS-test-idouble.c): Likewise.
4912 (CPPFLAGS-test-ifloat.c): Likewise.
4913 (CFLAGS-test-ldouble.c): Likewise.
4914 (CFLAGS-test-double.c): Likewise.
4915 (CFLAGS-test-float.c): Likewise.
4916 (CFLAGS-test-misc.c): Likewise.
4917 (CFLAGS-test-test-fenv.c): Likewise.
4918
4f9d04aa
AZ
49192012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4920
2b942cb7
RM
4921 [BZ #2550]
4922 [BZ #2570]
4923 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4924 comparisons to determine direction to adjust input.
4f9d04aa 4925
82a79e7d
RM
49262012-05-01 Roland McGrath <roland@hack.frob.com>
4927
f5a01ca9
RM
4928 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4929 output to the target.
4930
90fe4186
RM
4931 * scripts/localplt.awk: New file.
4932 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4933 (check-localplt-CFLAGS): Variable removed.
4934 ($(all-built-dso:=.jmprel)): New static pattern rule.
4935 (generated): Add those targets.
4936 (localplt-built-dso): New variable.
4937 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4938
4939 * elf/check-localplt.c: File removed.
4940
82397ed6
RM
4941 * scripts/check-execstack.awk: New file.
4942 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4943 (check-execstack-CFLAGS): Variable removed.
4944 ($(objpfx)check-execstack.h): Target removed.
4945 ($(objpfx)execstack-default): New target.
4946 (generated): Add that instead of check-execstack.h.
4947 ($(all-built-dso:=.phdr)): New static pattern rule.
4948 (generated): Add those targets.
4949 * elf/check-execstack.c: File removed.
4950
82a79e7d
RM
4951 * scripts/check-textrel.awk: New file.
4952 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4953 (check-textrel-CFLAGS): Variable removed.
4954 (all-built-dso): Use := to define.o
4955 ($(all-built-dso:=.dyn)): New static pattern rule.
4956 (generated): Add those targets.
4957 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4958 * config.make.in (READELF): New substituted variable.
4959 * elf/check-textrel.c: File removed.
4960
62fde54f 49612012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 4962
615605c9
JM
4963 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4964 allow.
4965 * conform/data/ctype.h-data [C99-based standards] (isblank):
4966 Expect function.
4967 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4968 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4969 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4970 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4971 Specify type. Require positive value.
4972 (EILSEQ): Likewise.
4973 (ERANGE): Likewise.
4974 [ISO || POSIX] (EILSEQ): Do not expect.
4975 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4976 Specify type. Require positive value.
4977 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4978 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4979 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4980 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4981 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4982 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4983 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4984 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4985 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4986 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4987 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4988 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4989 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4990 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4991 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4992 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4993 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4994 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4995 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4996 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4997 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4998 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4999 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
5000 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
5001 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
5002 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
5003 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
5004 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
5005 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
5006 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
5007 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
5008 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
5009 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
5010 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
5011 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
5012 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
5013 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
5014 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
5015 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
5016 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
5017 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
5018 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
5019 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
5020 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
5021 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
5022 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
5023 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
5024 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
5025 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
5026 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
5027 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
5028 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
5029 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
5030 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
5031 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
5032 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
5033 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
5034 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
5035 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
5036 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
5037 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
5038 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
5039 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
5040 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
5041 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
5042 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
5043 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
5044 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
5045 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
5046 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
5047 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
5048 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
5049 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
5050 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
5051 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
5052 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
5053 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
5054 Require >= 2.
5055 (FLT_ROUNDS): Expect as macro, not constant.
5056 (FLT_MANT_DIG): Use macro-int-constant.
5057 (DBL_MANT_DIG): Likewise.
5058 (LDBL_MANT_DIG): Likewise.
5059 (FLT_DIG): Likewise.
5060 (DBL_DIG): Likewise.
5061 (LDBL_DIG): Likewise.
5062 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
5063 (DBL_MIN_EXP): Likewise.
5064 (LDBL_MIN_EXP): Likewise.
5065 (FLT_MAX_EXP): Use macro-int-constant.
5066 (DBL_MAX_EXP): Likewise.
5067 (LDBL_MAX_EXP): Likewise.
5068 (FLT_MAX_10_EXP): Likewise.
5069 (DBL_MAX_10_EXP): Likewise.
5070 (LDBL_MAX_10_EXP): Likewise.
5071 (FLT_MAX): Use macro-constant.
5072 (DBL_MAX): Likewise.
5073 (LDBL_MAX): Likewise.
5074 (FLT_EPSILON): Use macro-constant. Give upper bound.
5075 (DBL_EPSILON): Likewise.
5076 (LDBL_EPSILON): Likewise.
5077 (FLT_MIN): Likewise.
5078 (DBL_MIN): Likewise.
5079 (LDBL_MIN): Likewise.
5080 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
5081 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
5082 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
5083 [ISO11] (FLT_HAS_SUBNORM): Likewise.
5084 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
5085 [ISO11] (DBL_DECIMAL_DIG): Likewise.
5086 [ISO11] (FLT_DECIMAL_DIG): Likewise.
5087 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
5088 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
5089 [ISO11] (FLT_TRUE_MIN): Likewise.
5090 [ISO11] (LDBL_TRUE_MIN): Likewise.
5091 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5092 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
5093 (SCHAR_MIN): Use macro-int-constant. Specify type.
5094 (SCHAR_MAX): Likewise.
5095 (UCHAR_MAX): Likewise.
5096 (CHAR_MIN): Likewise.
5097 (CHAR_MAX): Likewise.
5098 (MB_LEN_MAX): Use macro-int-constant.
5099 (SHRT_MIN): Use macro-int-constant. Specify type.
5100 (SHRT_MAX): Likewise.
5101 (USHRT_MAX): Likewise.
5102 (INT_MAX): Likewise.
5103 (INT_MIN): Use macro-int-constant. Specify type. Make upper
5104 bound negative.
5105 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
5106 bound with "U".
5107 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5108 bound with "L".
5109 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
5110 bound negative. Suffix upper bound with "L".
5111 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
5112 bound with "UL".
5113 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
5114 Specify type.
5115 [C99-based standards] (LLONG_MAX): Likewise.
5116 [C99-based standards] (ULLONG_MAX): Likewise.
5117 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
5118 == 0.
5119 [ISO11] (max_align_t): Require type.
5120 [ISO || ISO99 || ISO11] (*_t): Do not allow.
5121
c9140a62
JM
5122 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
5123 from $CFLAGS, without defining away __attribute__ calls.
5124 (checknamespace): Use $CFLAGS_namespace.
5125
9af0bf29
JM
5126 * conform/conformtest.pl (@keywords): Only include C99 keywords
5127 for standards based on C99 or C11.
5128
343222a2
JM
5129 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
5130 Disable tests.
5131 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
5132 UNIX98]: Likewise.
5133
661f8cf0
JM
5134 * conform/conformtest.pl: Handle "macro-int-constant" and test for
5135 usability of symbols in #if.
5136
ee74b9cb
JM
5137 * conform/conformtest.pl: If macro or constant types start
5138 "promoted:", expect the symbol to be of the following type
5139 promoted by the integer promotions.
62fde54f 5140
aafc49b3
JM
5141 * conform/conformtest.pl: Parse all "constant" and "macro" lines
5142 in one place. Also handle "macro-constant".
5143
fefdf574
JM
5144 * conform/conformtest.pl: Only accept expected macro values with
5145 "==". Parse all "macro" lines in one place.
5146 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
5147
f2d922fe
JM
5148 * conform/conformtest.pl: Handle braced types on "constant" lines
5149 instead of handling "typed-constant".
5150 * conform/data/signal.h-data: Use "constant" instead of
5151 "typed-constant".
5152
d22956c9
JM
5153 * conform/conformtest.pl: Handle "optional-" at start of lines in
5154 one place rather than duplicating several cases. Handle each
5155 format of "macro" line with initial "optional-".
5156
028e2e38
JM
5157 * conform/conformtest.pl: Only accept expected constant or
5158 optional-constant values with "==". Parse all "constant" lines in
5159 one place. Parse all "optional-constant" lines in one place.
5160 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
5161 * conform/data/fmtmsg.h-data: Likewise.
5162 * conform/data/netinet/in.h-data: Likewise.
5163 * conform/data/tar.h-data: Likewise.
5164 * conform/data/limits.h-data: Use "==" form on "constant" and
5165 "optional-constant" lines.
5166
1b8f2850
JM
5167 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
5168 Use -std=c99 for XOPEN2K.
5169 (@knownproblems): Remove.
5170 (newtoken): Don't check %isknown.
5171
a05a144b
JM
5172 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
5173 Do not expect macro.
5174 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
5175 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
5176 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
5177 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
5178 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
5179 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
5180 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
5181 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
5182 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
5183 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
5184 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
5185 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
5186 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
5187 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
5188 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
5189 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
5190 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
5191 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
5192 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
5193 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
5194 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
5195 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
5196 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
5197 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
5198 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
5199 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
5200 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
5201 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
5202 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
5203 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
5204 [XPG3] (acosh): Likewise.
5205 [XPG3] (asinh): Likewise.
5206 [XPG3] (atanh): Likewise.
5207 [XPG3] (cbrt): Likewise.
5208 [XPG3] (expm1): Likewise.
5209 [XPG3] (ilogb): Likewise.
5210 [XPG3] (log1p): Likewise.
5211 [XPG3] (logb): Likewise.
5212 [XPG3] (nextafter): Likewise.
5213 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
5214 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
5215 [XPG3] (remainder): Likewise.
5216 [XPG3] (rint): Likewise.
5217 [XPG3 || XPG4 || UNIX98] (round): Likewise.
5218 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
5219 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
5220 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
5221 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
5222 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
5223 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
5224 [UNIX98 || XOPEN2K] (scalb): Expect.
5225 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
5226 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
5227 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
5228 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
5229 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
5230 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
5231 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
5232 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
5233 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
5234 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
5235 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
5236 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
5237 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
5238 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
5239 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
5240 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
5241 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
5242 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
5243 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
5244 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
5245 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
5246 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
5247 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
5248 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
5249 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
5250 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
5251 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
5252 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
5253 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
5254 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
5255 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
5256 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
5257 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
5258 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
5259 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
5260 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
5261 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
5262 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
5263 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
5264 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
5265 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
5266 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
5267 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
5268 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
5269 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
5270 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
5271 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
5272 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
5273 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
5274 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
5275 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
5276 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
5277 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
5278 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
5279 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
5280 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
5281 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
5282 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
5283 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
5284 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
5285 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
5286 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
5287 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
5288 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
5289 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
5290 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
5291 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
5292 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
5293 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
5294 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
5295 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
5296 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
5297 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
5298 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
5299 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
5300 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
5301 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
5302 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
5303 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
5304 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
5305 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
5306 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
5307 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
5308 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
5309 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
5310 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
5311 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
5312 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
5313 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
5314 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
5315 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
5316 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
5317 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
5318 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
5319 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
5320 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
5321 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
5322 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
5323 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
5324 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
5325 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
5326 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
5327 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
5328 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
5329 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
5330 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
5331 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
5332 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
5333 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
5334 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
5335 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
5336 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
5337 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
5338 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
5339 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
5340 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
5341 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
5342 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
5343 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
5344 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
5345 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
5346 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
5347 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
5348 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
5349 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
5350 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
5351 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
5352 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
5353 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
5354 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
5355 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
5356 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
5357 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
5358 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
5359 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
5360 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
5361 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
5362
73c5ebe3
JM
5363 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
5364 _XOPEN_SOURCE_EXTENDED for XPG4.
5365
39c33b6c
JM
5366 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
5367
62fde54f
JM
5368 * Makeconfig (localtime): Remove variable.
5369 (inst_localtime-file): Likewise.
5370
0741d64c
AS
53712012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5372
5373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
5374 Update.
5375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
5376 Update.
5377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
5378 Update.
5379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5380 Update.
5381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
5382 Update.
5383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
5384 Update.
5385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
5386 Update.
5387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
5388 Update.
5389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5390 Update.
5391
7cb029ee
JM
53922012-05-01 Joseph Myers <joseph@codesourcery.com>
5393
5394 [BZ #2550]
5395 [BZ #2570]
5396 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
5397 comparisons to determine direction to adjust input.
5398 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
5399 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
5400 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
5401 Likewise.
5402 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
5403 Likewise.
5404 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
5405 Likewise.
5406 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
5407 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
5408 Likewise.
5409 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
5410 Likewise.
5411 * math/libm-test.inc (nexttoward_test): Add more tests.
5412
412bd966
AS
54132012-05-01 Andreas Schwab <schwab@linux-m68k.org>
5414
5415 [BZ #14040]
5416 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
5417 in version GLIBC_2.1, not GLIBC_2.0.
5418 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
5419 Likewise.
5420
9568c0c2
JM
54212012-04-30 Joseph Myers <joseph@codesourcery.com>
5422
adfbc8ac
JM
5423 [BZ #13942]
5424 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
5425 (1 - x) * (1 + x).
5426 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5427 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
5428 * math/libm-test.inc (acos_test): Add more tests.
5429 (asin_test): Likewise.
5430 * sysdeps/i386/fpu/libm-test-ulps: Update.
5431 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5432
5ba3cc69
JM
5433 [BZ #14034]
5434 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
5435 of square root.
5436 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
5437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
5438 * math/libm-test.inc (acos_test_tonearest): New function.
5439 (acos_test_towardzero): Likewise.
5440 (acos_test_downward): Likewise.
5441 (acos_test_upward): Likewise.
5442 (asin_test_tonearest): Likewise.
5443 (asin_test_towardzero): Likewise.
5444 (asin_test_downward): Likewise.
5445 (asin_test_upward): Likewise.
5446 (main): Call the new functions.
5447 * sysdeps/i386/fpu/libm-test-ulps: Update.
5448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5449
9568c0c2
JM
5450 [BZ #13884]
5451 [BZ #13924]
5452 * math/e_exp10.c: Include <float.h>.
5453 (__ieee754_exp10): Handle underflow here rather than multiplying
5454 large negative argument by M_LN10.
5455 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5456 of __ieee754_expf.
5457 * math/e_exp10l.c: Include <float.h>.
5458 (__ieee754_exp10l): Handle underflow here rather than multiplying
5459 large negative argument by M_LN10l.
5460 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5461 spurious overflow exception on underflow.
5462
5ac3ea17
MP
54632012-04-29 Marek Polacek <polacek@redhat.com>
5464
5465 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5466 (__fortify_function): New macro.
5467 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5468 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5469 __extern_always_inline.
5470 * libio/bits/stdio2.h: Likewise.
5471 * libio/bits/stdio.h: Likewise.
5472 * string/string.h: Likewise.
5473 * string/bits/string3.h: Likewise.
5474 * include/stdio.h: Likewise.
5475 * stdlib/bits/stdlib.h: Likewise.
5476 * stdlib/stdlib.h: Likewise.
5477 * rt/bits/mqueue2.h: Likewise.
5478 * rt/mqueue.h: Likewise.
5479 * posix/bits/unistd.h: Likewise.
5480 * posix/unistd.h: Likewise.
5481 * io/bits/poll2.h: Likewise.
5482 * io/bits/fcntl2.h: Likewise.
5483 * io/fcntl.h: Likewise.
5484 * io/sys/poll.h: Likewise.
5485 * misc/bits/syslog.h: Likewise.
5486 * misc/bits/syslog-ldbl.h: Likewise.
5487 * misc/sys/syslog.h: Likewise.
5488 * socket/bits/socket2.h: Likewise.
5489 * socket/sys/socket.h: Likewise.
5490 * debug/tst-chk1.c: Likewise.
5491 * wcsmbs/bits/wchar2.h: Likewise.
5492 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5493 * wcsmbs/wchar.h: Likewise.
5494
ecf0ebfb
AJ
54952012-04-29 Andreas Jaeger <aj@suse.de>
5496
5497 * Makerules (tests): Remove enable-check-abi protection.
5498 (check-abi-warn): Remove.
5499 (check-abi-%): Remove check-abi-warn usage.
5500
5501 * configure.in: Remove check-abi configure option.
5502 * configure: Regenerated.
5503 * config.make.in (enable-check-abi): Remove.
5504
6d5c57fa
AS
55052012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5506
24c5d07e 5507 [BZ #14033]
ded5180a
AS
5508 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5509 double functions to double *_finite functions.
5510
7e0d315d
AS
5511 [BZ #13941]
5512 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5513 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5514 LDBL_MIN_EXP.
5515 * stdio-common/Makefile (tests): Add tst-sprintf3.
5516 * stdio-common/tst-sprintf3.c: New file.
5517
6d5c57fa
AS
5518 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5519 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5520
0749ff8b
JM
55212012-04-28 Joseph Myers <joseph@codesourcery.com>
5522
5523 * conform/conformtest.pl: Remove duplicate typed-constant
5524 handling.
5525
8dbd5d7b
DM
55262012-04-28 David S. Miller <davem@davemloft.net>
5527
5528 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5529 (check-abi-%): Remove AWK script prerequisite and explicit
5530 abilist directory.
5531 (check-abi): Rewrite to just diff the symlist with the abilist.
5532 (config-tls, config-abi-config): Delete, no longer used.
5533 (update-abi-%): Remove AWK script and explicit abilist directory.
5534 (update-abi): Rewrite to simply compare and conditionally copy the
5535 symlist and the sysdep abilist file. Remove update-abi-config
5536 checks.
5537 * abilist/ld.abilist: Remove.
5538 * abilist/libBrokenLocale.abilist: Remove.
5539 * abilist/libanl.abilist: Remove.
5540 * abilist/libcrypt.abilist: Remove.
5541 * abilist/libdl.abilist: Remove.
5542 * abilist/librt.abilist: Remove.
5543 * abilist/libthread_db.abilist: Remove.
5544 * abilist/libutil.abilist: Remove.
5545 * scripts/extract-abilist.awk: Remove.
5546 * scripts/merge-abilist.awk: Remove.
5547 * sysdeps/generic/libcidn.abilist: New file.
5548 * sysdeps/generic/libnss_compat.abilist: New file.
5549 * sysdeps/generic/libnss_db.abilist: New file.
5550 * sysdeps/generic/libnss_dns.abilist: New file.
5551 * sysdeps/generic/libnss_files.abilist: New file.
5552 * sysdeps/generic/libnss_hesiod.abilist: New file.
5553 * sysdeps/generic/libnss_nis.abilist: New file.
5554 * sysdeps/generic/libnss_nisplus.abilist: New file.
5555 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5556 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5557 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5558 file.
5559 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5560 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5561 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5562 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5563 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5564 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5565 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5566 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5567 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5568 file.
5569 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5570 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5571 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5572 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5573 file.
5574 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5575 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5576 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5577 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5578 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5579 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5580 file.
5581 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5582 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5583 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5584 file.
5585 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5586 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5587 New file.
5588 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5589 New file.
5590 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5591 New file.
5592 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5593 New file.
5594 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5595 New file.
5596 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5597 New file.
5598 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5599 New file.
5600 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5601 New file.
5602 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5603 New file.
5604 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5605 New file.
5606 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5607 New file.
5608 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5609 New file.
5610 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5611 New file.
5612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5613 file.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5615 New file.
5616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5617 New file.
5618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5619 file.
5620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5621 New file.
5622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5623 New file.
5624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5625 file.
5626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5627 New file.
5628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5629 New file.
5630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5631 New file.
5632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5633 New file.
5634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5635 New file.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5637 New file.
5638 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5639 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5640 file.
5641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5642 New file.
5643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5644 file.
5645 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5646 file.
5647 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5648 file.
5649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5650 file.
5651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5652 file.
5653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5654 New file.
5655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5656 file.
5657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5658 file.
5659 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5660 New file.
5661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5662 file.
5663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5665 file.
5666 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5667 New file.
5668 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5669 file.
5670 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5671 file.
5672 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5673 file.
5674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5675 file.
5676 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5677 file.
5678 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5679 New file.
5680 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5681 file.
5682 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5683 file.
5684 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5685 New file.
5686 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5687 file.
5688 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5689 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5690 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5691 file.
5692 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5693 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5694 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5695 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5696 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5697 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5698 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5699 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5700 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5701 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5702 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5704 file.
5705 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5706 New file.
5707 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5708 file.
5709 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5710 file.
5711 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5712 file.
5713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5714 file.
5715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5716 file.
5717 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5718 New file.
5719 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5720 New file.
5721 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5722 file.
5723 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5724 New file.
5725 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5726 file.
5727 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5729 file.
5730 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5731 New file.
5732 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5733 file.
5734 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5735 file.
5736 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5737 file.
5738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5739 file.
5740 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5741 file.
5742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5743 New file.
5744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5745 New file.
5746 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5747 file.
5748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5749 New file.
5750 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5751 file.
5752
41d73a1b
JM
57532012-04-28 Joseph Myers <joseph@codesourcery.com>
5754
5755 * conform/conformtest.pl: Fix typo in handling typed-constant from
5756 allow-header.
5757
28aeeda4
JM
57582012-04-27 Joseph Myers <joseph@codesourcery.com>
5759
adae8f5e
JM
5760 * README: Cut down references to pre-2.6 Linux kernels and
5761 Linuxthreads. Update lists of configurations in libc and ports
5762 and sort alphabetically. Say "or newer" with Linux kernel version
5763 requirements.
5764
28aeeda4
JM
5765 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5766
a462cb63
RA
57672012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5768
5769 [BZ #887]
5770 * math/libm-test.inc (logb_test_downward): New test to expose
5771 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5772 rounding mode.
5773
6ad3493e
JM
57742012-04-27 Joseph Myers <joseph@codesourcery.com>
5775
5776 [BZ #14027]
5777 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5778 to be done.
5779 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5780 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5781
2ce4f015
JM
57822012-04-26 Joseph Myers <joseph@codesourcery.com>
5783
5aeb141a
JM
5784 * sysdeps/unix/i386/brk.S: Remove file.
5785 * sysdeps/unix/i386/dl-brk.S: Likewise.
5786 * sysdeps/unix/i386/pipe.S: Likewise.
5787 * sysdeps/unix/i386/sigreturn.S: Likewise.
5788 * sysdeps/unix/i386/syscall.S: Likewise.
5789 * sysdeps/unix/i386/vfork.S: Likewise.
5790 * sysdeps/unix/i386/wait.S: Likewise.
5791
7143acae
JM
5792 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5793 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5794
2ce4f015
JM
5795 * configure.in (arm*-none*): Do not allow without
5796 --enable-hacker-mode.
5797 (netbsd*): Remove case setting base_os.
5798 (386bsd*): Likewise.
5799 (freebsd*): Likewise.
5800 (bsdi*): Likewise.
5801 (osf*): Likewise.
5802 (sunos*): Likewise.
5803 (ultrix*): Likewise.
5804 (newsos*): Likewise.
5805 (dynix*): Likewise.
5806 (*bsd*): Likewise.
5807 (sysv*): Likewise.
5808 (isc*): Likewise.
5809 (esix*): Likewise.
5810 (sco*): Likewise.
5811 (minix*): Likewise.
5812 (irix4*): Likewise.
5813 (irix6*): Likewise.
5814 (solaris[2-9]*): Likewise.
5815 (none): Likewise.
5816 * configure: Regenerated.
5817
0ac229c8
AZ
58182012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5819
5820 [BZ #11521]
5821 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5822 overflow or cancellation in calculating denominator.
5823 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5825 down expression to avoid unexpected rounding in newer GCCs.
5826 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5827
33f244f4
DM
58282012-04-26 David S. Miller <davem@davemloft.net>
5829
5830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5831 long-double compat symbols.
5832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5839 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5840 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5841 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5842 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5843 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5844 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5845
cfa1f3e8
DM
58462012-04-25 David S. Miller <davem@davemloft.net>
5847
5848 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5849 HWCAP_* values only after the memory barriers have been defined.
5850 (atomic_full_barrier): Define.
5851 (atomic_read_barrier): Define.
5852 (atomic_write_barrier): Define.
5853
6e236b92
SP
58542012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5855
5856 * shlib-versions: Add libgcc_s version information.
5857 * sysdeps/generic/libgcc_s.h: Remove.
5858 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5859 libgcc_s.h.
5860 * sysdeps/gnu/unwind-resume.c: Likewise.
5861 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5862
aab39a09
DM
58632012-04-25 David S. Miller <davem@davemloft.net>
5864
5865 * sysdeps/unix/sparc/brk.S: Delete.
5866 * sysdeps/unix/sparc/dl-brk.S: Delete.
5867 * sysdeps/unix/sparc/pipe.S: Delete.
5868 * sysdeps/unix/sparc/sysdep.S: Delete.
5869 * sysdeps/unix/sparc/sysdep.h: Delete.
5870 * sysdeps/unix/sparc/vfork.S: Delete.
5871 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5872 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5873 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5874 ret_ERRVAL, r0, r1, MOVE): Define.
5875 (JUMPTARGET): Remove.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5877 sysdeps/unix/sparc/sysdep.h
5878 (ENTRY, END): Remove.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5880
a3cc4f48
JM
58812012-04-25 Joseph Myers <joseph@codesourcery.com>
5882
2ed8cda2
JM
5883 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5884 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5885 -DIS_IN_build.
5886
35d76d59
JM
5887 * timezone/README: Update upstream location and email address for
5888 tzcode and tzdata.
5889 * timezone/zdump.c: Update from tzcode 2012b.
5890 * timezone/zic.c: Likewise.
5891
a3cc4f48
JM
5892 * configure.in (libc_cv_as_needed): Remove test.
5893 * configure: Regenerated.
5894 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5895 conditional definition.
5896 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5897 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5898 * config.make.in (have-as-needed): Remove variable.
5899
ceab42c3
SP
59002012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5901 Paul Pluzhnikov <ppluzhnikov@google.com>
5902
5903 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5904 strings correctly.
5905
3ce2865f
CLT
59062012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5907
5908 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5909 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5910 * sysdeps/sh/strlen.S: Likewise.
5911
f37e0d68
JM
59122012-04-24 Joseph Myers <joseph@codesourcery.com>
5913
ae186e9a
JM
5914 * sysdeps/unix/fork.S: Remove file.
5915 * sysdeps/unix/i386/fork.S: Likewise.
5916 * sysdeps/unix/sparc/fork.S: Likewise.
5917
b96914af
JM
5918 * sysdeps/unix/system.c: Remove file.
5919 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5920
f37e0d68
JM
5921 * sysdeps/unix/getegid.S: Remove file.
5922 * sysdeps/unix/geteuid.S: Likewise.
5923
87ef29ca
RM
59242012-04-24 Roland McGrath <roland@hack.frob.com>
5925
83bcd236
RM
5926 * scripts/check-localplt.awk: New file.
5927 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5928 of diff.
5929 * scripts/data/localplt-generic.data: Add a comment.
5930
87ef29ca
RM
5931 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5932 NODE when __dir_mkfile failed.
5933 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5934 Reported by Ludovic Courtès <ludo@gnu.org>.
5935
e5a6e567
AJ
59362012-04-24 Andreas Jaeger <aj@suse.de>
5937
5938 * Makerules (common-clean): Also remove gen-as-const-headers
5939 files.
5940
c1820385
JM
59412012-04-24 Joseph Myers <joseph@codesourcery.com>
5942
5943 * Makerules (native-compile): Do not change working directory for
5944 build. Use $(OUTPUT_OPTION) in command.
5945 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5946
94e02fc4
AZ
59472012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5948
5949 [BZ #13886]
5950 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5951 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5952 * math/libm-test.inc (floor_test): Add more tests.
5953 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5954
3a533ca3
JM
59552012-04-24 Joseph Myers <joseph@codesourcery.com>
5956
940ab4b3
JM
5957 * sysdeps/unix/getdents.c: Remove file.
5958 * sysdeps/unix/sysv/getdents.c: Likewise.
5959 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5960
90e037bd
JM
5961 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5962 sysdeps/unix/mman/syscalls.list.
5963 (mmap): Likewise.
5964 (mprotect): Likewise.
5965 (msync): Likewise.
5966 (munmap): Likewise.
5967 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5968 * sysdeps/unix/mman/syscalls.list: Remove.
5969 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5970
3a533ca3
JM
5971 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5972 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5973 * configure: Regenerated.
5974 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5975 $(libgcc_s_suffix).
5976 * config.make.in (libgcc_s_suffix): Remove variable.
5977
1ad743de
JM
59782012-04-23 Joseph Myers <joseph@codesourcery.com>
5979
4ad451e2
JM
5980 * sysdeps/unix/sysv/gethostname.c: Move to ...
5981 * sysdeps/posix/gethostname.c: ... here.
5982
5e37ce39
JM
5983 * sysdeps/unix/execve.S: Remove file.
5984
1ad743de
JM
5985 * sysdeps/unix/_exit.S: Remove file.
5986
4e681b5b
AJ
59872012-04-23 Andreas Jaeger <aj@suse.de>
5988
5989 [BZ #13739]
5990 * manual/Makefile: Remove make dist support, there's no
5991 need for a stand-alone documentation tar ball.
5992 (TEXI2DVI): Define always, it's not in Makeconfig.
5993 (dist): Removed.
5994 (tar-it): Removed.
5995 (edition): Removed.
5996 (glibc-doc-$(edition).tar): Removed
5997 (%.Z): Removed.
5998 (%.gz): Removed.
5999 (%.uu): Removed.
6000 (ETAGS): Remove, it's in Makeconfig.
6001 (move-if-change): Remove, it's in Makeconfig.
6002
c0baea34
PE
60032013-04-23 Paul Eggert <eggert@cs.ucla.edu>
6004
6005 [BZ #13970]
6006 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
6007 (strtod, strtof, strtold, strtol, strtoul, strtoq)
6008 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
6009 (strtod_l, strtof_l, strtold_l): Remove __wur.
6010 It is not necessarily an error to ignore strtol's return value.
6011 One can reliably look at the stored endptr to decide whether
6012 the number had valid syntax.
6013
7c0616fa
AJ
60142012-04-21 Andreas Jaeger <aj@suse.de>
6015
803cb6b7 6016 [BZ #13739]
7c0616fa
AJ
6017 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
6018
b0fe253f
JM
60192012-04-21 Joseph Myers <joseph@codesourcery.com>
6020
6021 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
6022 * sysdeps/unix/sysv/Versions: Remove file.
6023
8280f22d
MT
60242012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
6025
6026 [BZ #13927]
6027 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6028
75ce411f 60292012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
6030
6031 [BZ #7064]
6032 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
6033 version from __vm86.
6034
097d59fa
JM
60352012-04-20 Joseph Myers <joseph@codesourcery.com>
6036
a90f3bcb
JM
6037 * sysdeps/unix/common/lxstat.c: Remove file.
6038 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
6039
edc7ea78
JM
6040 * sysdeps/unix/sysv/Makefile: Remove file.
6041
cb78c221
JM
6042 * sysdeps/unix/sysv/direct.h: Remove file.
6043
efa6a45f
JM
6044 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
6045 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
6046 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
6047 * sysdeps/unix/sysv/bits/signum.h: Likewise.
6048 * sysdeps/unix/sysv/bits/stat.h: Likewise.
6049 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
6050 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
6051
9c9f2d0c
JM
6052 * sysdeps/unix/sysv/setrlimit.c: Remove file.
6053
4541c83b
JM
6054 * sysdeps/unix/xmknod.c: Remove file.
6055 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
6056
f5d153a0
JM
6057 * sysdeps/unix/sysv/settimeofday.c: Remove file.
6058
aa746595
JM
6059 * sysdeps/unix/sysv/i386/time.S: Remove file.
6060
cce5905e
JM
6061 * sysdeps/unix/fxstat.c: Remove file.
6062 * sysdeps/unix/xstat.c: Likewise.
6063 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
6064
37fa3841
JM
6065 * sysdeps/unix/sysv/sigaction.c: Remove file.
6066
ff1962a3
JM
6067 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
6068 (sysdep_headers): Remove variable.
6069 [termio.h not in sysdep_headers] (generated): Likewise.
6070 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
6071 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
6072 * sysdeps/unix/sysv/tcdrain.c: Likewise.
6073 * sysdeps/unix/sysv/tcflow.c: Likewise.
6074 * sysdeps/unix/sysv/tcflush.c: Likewise.
6075 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
6076 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
6077 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
6078 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
6079 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
6080
e7740d31
JM
6081 * sysdeps/unix/siglist.c: Remove file.
6082
ee06f18b
JM
6083 * sysdeps/unix/getppid.S: Remove file.
6084
097d59fa
JM
6085 * sysdeps/unix/mkdir.c: Remove file.
6086 * sysdeps/unix/rmdir.c: Likewise.
6087
ff3d51ec
AS
60882012-04-19 Andreas Schwab <schwab@linux-m68k.org>
6089
6090 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
6091 ERR_MAX value.
6092 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
6093 errlist-compat value.
6094
50f81fd7
DM
60952012-04-18 David S. Miller <davem@davemloft.net>
6096
6097 * sysdeps/generic/memcopy.h (reg_char): Delete.
6098 * debug/strcat_chk.c: Use char, not reg_char.
6099 * debug/strcpy_chk.c: Likewise.
6100 * debug/strncat_chk.c: Likewise.
6101 * debug/strncpy_chk.c: Likewise.
6102 * string/memchr.c: Likewise.
6103 * string/memrchr.c: Likewise.
6104 * string/rawmemchr.c: Likewise.
6105 * string/strcat.c: Likewise.
6106 * string/strchr.c: Likewise.
6107 * string/strchrnul.c: Likewise.
6108 * string/strcmp.c: Likewise.
6109 * string/strcpy.c: Likewise.
6110 * string/strncat.c: Likewise.
6111 * string/strncmp.c: Likewise.
6112 * string/strncpy.c: Likewise.
6113
8ff41c46
WS
61142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6115
6116 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
6117 __builtin_memcopy is called when src and dest ranges are known to not
6118 overlap.
6119
6b652f46
WS
61202012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6121
6122 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
6123 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
6124 fwd_align_merge macro call.
6125 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
6126 bwd_align_merge macro call.
6127 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6128
b282631e
WS
61292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
6130
6131 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
6132 bwd_align_merge macros.
6133 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
6134 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
6135 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6136
95aa737c
DM
61372012-04-18 David S. Miller <davem@davemloft.net>
6138
6139 * sysdeps/sparc/sparc64/memcopy.h: Delete.
6140
7a99a614
AJ
61412012-04-18 Andreas Jaeger <aj@suse.de>
6142
6143 [BZ# 6794]
6144 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
6145 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
6146 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6147
6148 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
6149 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
6150 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6151
6152 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
6153 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
6154 Adjust for changed ldbl-128 files.
6155
6156 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
6157 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
6158 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
6159
e5270c23
DM
61602012-04-17 David S. Miller <davem@davemloft.net>
6161
6162 * sysdeps/sparc/sparc32/memcopy.h: Delete.
6163
fb5e92c9
AS
61642012-04-17 Andreas Schwab <schwab@linux-m68k.org>
6165
6166 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
6167 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
6168 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
6169 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
6170 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
6171 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
6172
76da7265
AZ
61732012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 [BZ #6794]
6176 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
6177 * math/libm-test.inc: Add ilogb errno and exception tests.
6178 * math/w_ilogb.c: New file: ilogb wrapper.
6179 * math/w_ilogbf.c: New file: ilogbf wrapper.
6180 * math/w_ilogbl.c: New file: ilogbl wrapper.
6181 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
6182 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
6183 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
6184 exception being thrown with 0.0 as argument.
6185 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
6186 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
6187 exception being thrown with 0.0 as argument.
6188 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
6189 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6190 exception being thrown with 0.0 as argument.
6191 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
6192 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
6193 exception being thrown with 0.0 as argument.
6194 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
6195 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 6196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
6197 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
6198 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
6199 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
6200 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
6201 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
6202 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
6203
0396e69d
PB
62042012-04-17 Petr Baudis <pasky@ucw.cz>
6205
6206 * include/sys/uio.h: Change __vector to __iovec to avoid clash
6207 with altivec.
6208
750b5926
MP
62092012-04-16 Marek Polacek <polacek@redhat.com>
6210
6211 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
6212
751728a1
MP
62132012-04-16 Marek Polacek <polacek@redhat.com>
6214
6215 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
6216 operands of fdivp instruction.
6217
34a27407
L
62182012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6219
6220 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
6221 * elf/tst-auditmod3b.c: Likewise.
6222 * elf/tst-auditmod4b.c: Likewise.
6223 * elf/tst-auditmod5b.c: Likewise.
6224 * elf/tst-auditmod6b.c: Likewise.
6225 * elf/tst-auditmod6c.c: Likewise.
6226 * elf/tst-auditmod7b.c: Likewise.
6227 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
6228 * sysdeps/x86_64/preconfigure.in: Likewise.
6229 * sysdeps/x86_64/preconfigure: Regenerated.
6230
7e73e17d
L
62312012-04-13 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
6234 __ILP32__.
6235
c7a6ab72
AB
62362012-04-13 Antoine Balestrat <merkil33@gmail.com>
6237
6238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
6239 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
6240
a9e8e0e0
CL
62412012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
6242
6243 [BZ #13973]
6244 * locale/iso-639.def: Fix gl language name. Spotted by
6245 Yaron Shahrabani.
6246
ec98af7d
RM
62472012-04-12 Roland McGrath <roland@hack.frob.com>
6248
6249 [BZ #2074]
6250 * libio/libio.h (__io_write_fn): Update comment.
6251
247c3ede
PB
62522012-04-12 Petr Baudis <pasky@ucw.cz>
6253
6254 [BZ #2074]
6255 * stdio.texi (Hook Functions): The user provided writer function
6256 is not allowed to return -1.
6257
55939d6d
DM
62582012-04-11 David S. Miller <davem@davemloft.net>
6259
6260 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6261
90020f5a
MF
62622012-04-11 Mike Frysinger <vapier@gentoo.org>
6263
6264 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
6265 Add a leading slash to rtkaio.
6266
288f9098
JM
62672012-04-11 Jim Meyering <meyering@redhat.com>
6268
90020f5a
MF
6269 [BZ #11959]
6270 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
6271 It is not necessarily an error to ignore fwrite's return
6272 value. One can reliably use ferror to test for errors after
6273 the fact.
288f9098 6274
4be2b570
L
62752012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6276
6277 * bits/types.h (__snseconds_t): New type.
6278 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
6279
6280 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
6281 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
6282 (__SNSECONDS_T_TYPE): Likewise.
6283 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
6284 (__SNSECONDS_T_TYPE): Likewise.
6285 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
6286 (__SNSECONDS_T_TYPE): Likewise.
6287
288f9098 62882012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
6289
6290 [BZ #2636]
6291 * manual/time.texi (Processor Time): Return type of times is
6292 elapsed real time since an arbitrary point in the past.
6293 (CPU Time): Move CLK_TCK from here...
6294 (Processor Time): ...to here. Correct description.
6295 * manual/conf.texi (Constants for Sysconf): Correct description of
6296 _SC_CLK_TCK.
6297
d7dd4413
DM
62982012-04-10 David S. Miller <davem@davemloft.net>
6299
6300 [BZ #13967]
6301 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
6302 where the is a gap between DT_REL(A) and DT_JMPREL.
6303
b46068fc
L
63042012-04-10 H.J. Lu <hongjiu.lu@intel.com>
6305
6306 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
6307 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6308 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6309
73d65cc3
SP
63102012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6311
6312 * elf/dl-support.c (_dl_inhibit_cache): New variable.
6313 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
6314 (dl_main): Handle --inhibit-cache.
6315 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
6316 _dl_inhibit_cache.
6317 * elf/dl-load.c (_dl_map_object): Use it.
6318 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
6319
bcc8d661
JM
63202012-04-09 Joseph Myers <joseph@codesourcery.com>
6321
8f9a2fae
JM
6322 [BZ #13872]
6323 * sysdeps/i386/fpu/e_powl.S (p78): New object.
6324 (__ieee754_powl): Saturate large exponents rather than testing for
6325 overflow of y*log2(x).
6326 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6327 * math/libm-test.inc (pow_test): Do not permit spurious overflow
6328 exceptions.
6329
bcc8d661
JM
6330 [BZ #11521]
6331 * math/s_ctan.c: Include <float.h>.
6332 (__ctan): Avoid internal overflow or cancellation in calculating
6333 denominator.
6334 * math/s_ctanf.c: Likewise.
6335 * math/s_ctanl.c: Likewise.
6336 * math/s_ctanh.c: Likewise.
6337 * math/s_ctanhf.c: Likewise.
6338 * math/s_ctanhl.c: Likewise.
6339 * math/libm-test.inc (ctan_test): Add more tests.
6340 (ctanh_test): Likewise.
6341 * sysdeps/i386/fpu/libm-test-ulps: Update.
6342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6343
823fbbb4
AJ
63442012-04-09 Andreas Jaeger <aj@suse.de>
6345
03879793
AJ
6346 [BZ #6894]
6347 * manual/filesys.texi (Directory Entries): Mention that d_namlen
6348 is an optional BSD extension.
6349
823fbbb4
AJ
6350 [BZ #10254]
6351 * manual/stdio.texi (Opening Streams): Document additional fopen
6352 parameters.
6353
8de131cb
RM
63542012-04-09 Roland McGrath <roland@hack.frob.com>
6355
6356 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
6357 %eax without telling the compiler.
6358
c0ed9d7d
CD
63592012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
6360
6361 [BZ # 13963]
6362 * manual/install.texi: Use sourceware.org.
6363
c483f6b4
JM
63642012-04-09 Joseph Myers <joseph@codesourcery.com>
6365
d7dd9453
JM
6366 [BZ #13873]
6367 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
6368 (__ieee754_pow): Generate overflow and underflow using huge*huge
6369 and tiny*tiny rather than just returning constant infinity or zero
6370 for large exponents.
6371 * math/libm-test.inc (pow_test): Require overflow exceptions for
6372 applicable cases of large exponents.
6373
c483f6b4
JM
6374 [BZ #706]
6375 * sysdeps/i386/fpu/e_pow.S (p10): New object.
6376 (__ieee754_pow): Use iterative multiplication algorithm only for
6377 integer exponents with absolute value below 1024. Check for odd
6378 integer exponents when using algorithm for real exponents.
6379 * math/libm-test.inc (pow_test): Add more tests.
6380 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6381
d2de7579
JM
63822012-04-08 Joseph Myers <joseph@codesourcery.com>
6383
6384 [BZ #13705]
6385 * math/libm-test.inc (exp_test): Do not allow overflow exception
6386 on underflow test.
6387
f77f1232
AJ
63882012-04-08 Aurelien Jarno <aurelien@aurel32.net>
6389
6390 [BZ #13705]
6391 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
6392 instead of __kernel_standard_f.
6393
3884932b
MF
63942012-04-08 Mike Frysinger <vapier@gentoo.org>
6395
6396 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
6397 * sysdeps/x86_64/memset_chk.S: Likewise.
6398
54472e9c
AJ
63992012-04-08 Andreas Jaeger <aj@suse.de>
6400
6ab0fbfc
AJ
6401 [BZ #10153]
6402 * manual/startup.texi (Environment Access): Describe return value
6403 for putenv and setenv.
6404
61efba8c
AJ
6405 [BZ #6895]
6406 * manual/filesys.texi (Directory Entries): Add description for
6407 DT_LNK.
6408
95c3f29a
AJ
6409 [BZ #6890]
6410 * manual/filesys.texi (Directory Entries): Clarify that it's file
6411 system not operating system in the description of DT_UNKNOWN.
6412
54472e9c
AJ
6413 [BZ #6578]
6414 * manual/syslog.texi (closelog): Fix reference, it's openlog.
6415
624254b1
SC
64162012-04-08 Stephen Compall <s11@member.fsf.org>
6417
6418 [BZ #6649]
6419 * manual/llio.texi (Opening and Closing Files): Add cross
6420 reference to explain mode argument.
6421
1e4920e0
MF
64222012-04-07 Mike Frysinger <vapier@gentoo.org>
6423
6424 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
6425 * sysdeps/x86_64/memset_chk.S: Likewise.
6426
5ed848f3
DM
64272012-04-07 David S. Miller <davem@davemloft.net>
6428
6429 * elf/elf.h (R_SPARC_WDISP10): Define.
6430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
6431 R_SPARC_SIZE32.
6432 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
6433 R_SPARC_SIZE64 and R_SPARC_H34.
6434
96154cd8
CD
64352012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
6436
6437 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
6438 conditions and remove no longer applicable assertion.
6439
9904dc47
L
64402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6441
6442 * bits/byteswap.h: Include <features.h>.
6443 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
6444 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
6445
f8887d0a
L
64462012-04-06 H.J. Lu <hongjiu.lu@intel.com>
6447
6448 * bits/byteswap.h (__bswap_16): Removed.
6449 Include <bits/byteswap-16.h> to get __bswap_16.
6450 * sysdeps/i386/bits/byteswap.h: Likewise.
6451 * sysdeps/s390/bits/byteswap.h: Likewise.
6452 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6453 * bits/byteswap-16.h: New file.
6454 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6455 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6456 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6457 * string/Makefile (headers): Add bits/byteswap-16.h.
6458
62470f60
PP
64592012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6460
6461 [BZ #13895]
6462 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6463 extra indirection.
6464 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6465 * nss/tst-nss-static.c: New.
6466
4dad7bab
RM
64672012-04-06 Robert Millan <rmh@gnu.org>
6468
6469 [BZ #6486]
6470 * manual/llio.texi (File Position Primitive): lseek
6471 refers to WHENCE when it really means OFFSET.
6472
e9142a17
AJ
64732012-04-06 Andreas Jaeger <aj@suse.de>
6474
2c040eff
AJ
6475 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6476 strncmp declarations.
6477
e9142a17
AJ
6478 * abilist/libc.abilist: Add __poll and __ppoll.
6479
ff9f1c5f
DM
64802012-04-05 David S. Miller <davem@davemloft.net>
6481
dcd2ae90
DM
6482 * scripts/check-local-headers.sh: Accept a host triplet in the
6483 path matched by the exclude regexp.
6484
993eb054
DM
6485 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6486 definition.
6487 * sysdeps/powerpc/powerpc32/dl-machine.h
6488 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6489 * sysdeps/s390/s390-32/dl-machine.h
6490 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6491 * sysdeps/sparc/sparc32/dl-machine.h
6492 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6493 * sysdeps/sparc/sparc64/dl-machine.h
6494 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6495
ff9f1c5f
DM
6496 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6497 lazy binding.
48e2e132 6498 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
6499 undefined symbol errors.
6500
48e2e132 6501 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
6502 DT_NEEDED entries.
6503
e80d6f94
MM
65042012-04-05 Michael Matz <matz@suse.de>
6505
6506 [BZ #13592]
6507 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6508
349fa79f
AJ
65092012-04-05 Andreas Jaeger <aj@suse.de>
6510
6511 [BZ #13908]
6512 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6513 comment.
6514
f402708f
KK
65152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6516
6517 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6518 which ROUND is no valid rounding mode.
6519
2ecccfc9
KK
65202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6521
6522 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6523 read again.
6524 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6525
8a53f50f
KK
65262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6527
6528 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6529 an exception using FPU order intentionally.
6530
65312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6532
6533 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6534 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6535 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6536 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6537
d653abb7
SJ
65382012-04-05 Simon Josefsson <simon@josefsson.org>
6539
6540 [BZ #12340]
6541 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6542 EINVAL when BUFLEN is too smal.
6543
c3b1bf7d
TS
65442012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6545
6546 [BZ #13553]
6547 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6548 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6549
b1aa60f3
AJ
65502012-04-03 Andreas Jaeger <aj@suse.de>
6551
c3b1bf7d 6552 [BZ #13938]
67f60a26
AJ
6553 * manual/setjmp.texi (System V contexts): Fix sentence.
6554
b1aa60f3
AJ
6555 [BZ #13926]
6556 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6557 New macro for this case.
6558 [!__GNUC__] (__bswap_64): New inline function for this case.
6559 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6560 * bits/byteswap.h: Likewise.
6561 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6562 ull, guard with __GLIBC_HAVE_LONG_LONG.
6563
6564 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6565 __GLIBC_HAVE_LONG_LONG.
6566
6567 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6568 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6569
39c59c35
TMQMF
65702012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6571
6572 [BZ #13691]
6573 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6574 inptr and inend, rather than using last_ch.
6575
135ffda8
DM
65762012-04-02 David S. Miller <davem@davemloft.net>
6577
6578 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6579 * stdio-common/printf-parse.h (read_int): Change return type to
6580 'int', return -1 on INT_MAX overflow.
6581 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6582 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6583 overflows INT_MAX. Check for overflow of in-format-string precision
6584 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6585 SIZE_MAX not INT_MAX for integer overflow test.
6586 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6587 skip the construct in the format string but do not record anything.
6588 * stdio-common/bug22.c: Adjust to test both width/prevision
6589 INT_MAX overflow as well as total length INT_MAX overflow. Check
6590 explicitly for proper errno values.
6591
228c019e
TS
65922012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6593
302cadd3
TS
6594 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6595 CHAR_MAX.
6596 * string/test-strcmp.c [! WIDE]: Likewise.
6597 * time/tst-mktime2.c: Likewise for INT_MAX.
6598 * string/test-string.h: #include <sys/param.h> for MIN.
6599
228c019e
TS
6600 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6601 * sysdeps/i386/init-first.c (init): Likewise.
6602 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6603 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6604 * sysdeps/sh/init-first.c (init): Likewise.
6605
cfa633f5
UD
66062012-04-01 Ulrich Drepper <drepper@gmail.com>
6607
6608 * po/ru.po: Update from translation team.
d1635ef8 6609 * po/vi.po: Likewise.
cfa633f5 6610
6cd0a5ea
SP
66112012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6612
6613 * resolv/nss_dns/dns-host.c: Merge copyright years.
6614
4b43400f
LD
66152012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6616
6617 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6618 Optimize memcpy with prefetch if
6619 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6620 src, dst pointers have unequal 16 byte alignments.
6621
48c41d04
SP
66222012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6623
6624 [BZ #13928]
6625 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6626 from a CNAME entry and return the minimum ttl for the query.
6627 (gaih_getanswer_slice): Likewise.
6628
b8dc394d
JL
66292012-03-30 Jeff Law <law@redhat.com>
6630
6631 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6632 due to long keys.
6633 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6634 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6635
2f5a5ed0
JL
6636 * resolv/nss_dns/dns-host.c: Update copyright year.
6637
1d39e359
UD
66382012-03-30 Ulrich Drepper <drepper@gmail.com>
6639
c030f70c 6640 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 6641 requests to save a system call. Fix check that all bytes are sent.
c030f70c 6642
1d39e359
UD
6643 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6644 comments for sendmmsg.
6645
66462012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
6647
6648 [BZ #13691]
6649 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6650 with only 1 character between 0x0041 and 0x01b0.
6651 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6652 * wcsmbs/tst-mbsnrtowcs.c: New file.
6653
20fde227
DM
66542012-03-29 David S. Miller <davem@davemloft.net>
6655
6656 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6657 small copies by hand.
6658
984a4237
JL
66592012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6660
6661 [BZ #13761]
6662 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6663 _nss_compat_initgroups_dyn): Fall back to malloc/free
6664 for large group memberships.
6665
18c9d62b
DM
66662012-03-28 David S. Miller <davem@davemloft.net>
6667
88d85d4f
DM
6668 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6669 that branches into memcpy.
6670 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6671 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6672 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6673 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6674 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6675 bits.
6676 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6677 implementation too.
6678 * sysdeps/sparc/mempcpy.S: New file.
6679
e5aa83e1
DM
6680 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6681 the IFUNC routine in the libc case.
6682 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6683
88570753
DM
6684 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6685 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6686 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6687 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6688 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6689 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6690 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6691 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6692
249d7567
DM
6693 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6694 loop to 256 bytes instead of 64 bytes and fix test signedness.
6695
18c9d62b
DM
6696 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6697 * sysdeps/sparc/sparc32/Makefile: rather than here...
6698 * sysdeps/sparc/sparc64/Makefile: and here.
6699
05f3d1f6
UD
67002012-03-28 Ulrich Drepper <drepper@gmail.com>
6701
6702 * malloc/mallocbug.c: Avoid warnings about unused variables.
6703
86ae07a8
JL
67042012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6705
6706 [BZ #13760]
6707 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6708 in the right place. Discard and retry query if response is
6709 larger than input buffer size.
6710
41bf21a1
JM
67112012-03-28 Joseph Myers <joseph@codesourcery.com>
6712
d6270972
JM
6713 [BZ #369]
6714 [BZ #2678]
6715 [BZ #3866]
6716 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6717 x for large integer exponent.
6718 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6719 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6720 sign of result as needed afterwards.
6721 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6722 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6723 result for underflowing pow the same as for overflow.
6724 (__kernel_standard_l): Handle powl overflow and underflow here
6725 rather than calling __kernel_standard.
6726 * math/libm-test.inc (pow_test): Add more tests.
6727
414fca03 6728 [BZ #3868]
41bf21a1
JM
6729 [BZ #13879]
6730 [BZ #13910]
6731 [BZ #13911]
6732 [BZ #13912]
6733 [BZ #13913]
6734 [BZ #13915]
6735 [BZ #13916]
6736 [BZ #13917]
6737 [BZ #13918]
6738 [BZ #13919]
6739 [BZ #13920]
6740 [BZ #13921]
6741 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6742 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6743 (__kernel_standard_l): New function.
6744 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6745 __kernel_standard.
6746 * math/w_acosl.c (__acosl): Likewise.
6747 * math/w_asinl.c (__asinl): Likewise.
6748 * math/w_atan2l.c (__atan2l): Likewise.
6749 * math/w_atanhl.c (__atanhl): Likewise.
6750 * math/w_coshl.c (__coshl): Likewise.
6751 * math/w_exp10l.c (__exp10l): Likewise.
6752 * math/w_exp2l.c (__exp2l): Likewise.
6753 * math/w_fmodl.c (__fmodl): Likewise.
6754 * math/w_hypotl.c (__hypotl): Likewise.
6755 * math/w_j0l.c (__j0l, __y0l): Likewise.
6756 * math/w_j1l.c (__j1l, __y1l): Likewise.
6757 * math/w_jnl.c (__jnl, __ynl): Likewise.
6758 * math/w_lgammal.c (__lgammal): Likewise.
6759 * math/w_log10l.c (__log10l): Likewise.
6760 * math/w_log2l.c (__log2l): Likewise.
6761 * math/w_logl.c (__logl): Likewise.
6762 * math/w_powl.c (__powl): Likewise.
6763 * math/w_remainderl.c (__remainderl): Likewise.
6764 * math/w_scalbl.c (sysv_scalbl): Likewise.
6765 * math/w_sinhl.c (__sinhl): Likewise.
6766 * math/w_sqrtl.c (__sqrtl): Likewise.
6767 * math/w_tgammal.c (__tgammal): Likewise.
6768 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6769 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6770 * math/libm-test.inc (acos_test): Add more tests.
6771 (acosh_test): Likewise.
6772 (asin_test): Likewise.
6773 (atanh_test): Likewise.
6774 (exp_test): Likewise.
6775 (exp10_test): Likewise.
6776 (exp2_test): Likewise.
6777 (expm1_test): Likewise.
6778 (lgamma_test): Likewise.
6779 (log_test): Likewise.
6780 (log10_test): Likewise.
6781 (log1p_test): Likewise.
6782 (log2_test): Likewise.
6783 (pow_test): Do not allow some spurious overflow exceptions.
6784 (sqrt_test): Add more tests.
6785 (tgamma_test): Likewise.
6786 (y0_test): Likewise.
6787 (y1_test): Likewise.
6788 (yn_test): Likewise.
6789
dd62fda6
AB
67902012-03-27 Anton Blanchard <anton@samba.org>
6791
6792 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6793 MAP_HUGETLB.
6794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6797
1e3cdfda
AJ
67982012-03-27 David S. Miller <davem@davemloft.net>
6799
b855ab85
DM
6800 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6801
1e3cdfda
AJ
6802 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6803 have-as-vis3 check.
6804
68052012-03-27 Andreas Jaeger <aj@suse.de>
6806
6807 * sysdeps/x86_64/elf/configure.in: Moved to ...
6808 * sysdeps/x86_64/configure.in: ... here.
6809 * sysdeps/x86_64/elf/start.S: Moved to ...
6810 * sysdeps/x86_64/start.S: ... here.
6811 * sysdeps/x86_64/elf/configure: Delete.
6812
6813 * sysdeps/x86_64/configure.in: Merge contents from
6814 sysdeps/i386/configure.in (without i686 check).
6815
6816 * sysdeps/i386/elf/Versions: Merge into ...
6817 * sysdeps/i386/Versions: ... this.
6818 * sysdeps/i386/elf/Versions: Delete file.
6819 * sysdeps/i386/elf/start.S: Moved to ...
6820 * sysdeps/i386/start.S: ...here.
6821 * sysdeps/i386/elf/configure.in: Merge into...
6822 * sysdeps/i386/configure.in: ...here.
6823 * sysdeps/i386/elf/configure.in: Delete file.
6824 * sysdeps/i386/elf/configure: Delete file.
6825
6826 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6827 * debug/backtracesyms.c: ... here.
6828 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6829 * debug/backtracesymsfd.c: ... here.
6830 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6831 * sysdeps/generic/ifunc-sel.h: ... here.
6832
6833 * sysdeps/unix/i386/start.c: Delete file.
6834 * sysdeps/unix/sparc/start.c: Delete file.
6835 * sysdeps/unix/start.c: Delete file.
6836
6837 * sysdeps/sh/elf/configure.in: Moved to ...
6838 * sysdeps/sh/configure.in: ... here.
6839 * sysdeps/sh/elf/start.S: Moved to ...
6840 * sysdeps/sh/start.S: ... here.
6841 * sysdeps/sh/elf/configure: Delete file.
6842
6843 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6844 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6845 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6846 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6847 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6848 * sysdeps/powerpc/powerpc64/start.S: here.
6849 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6850 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6851 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6852 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6853 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6854
6855 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6856 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6857 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6858 * sysdeps/powerpc/powerpc32/start.S: ... here.
6859 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6860 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6861 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6862
6863 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6864 * sysdeps/powerpc/ifunc-sel.h: ... here.
6865 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6866 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6867
6868 * sysdeps/sparc/elf/configure.in: Moved to ...
6869 * sysdeps/sparc/configure.in: ... here.
6870 * sysdeps/sparc/elf/configure: Delete file.
6871 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6872 * sysdeps/sparc/sparc32/start.S: ... here.
6873 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6874 * sysdeps/sparc/sparc64/start.S: ... here.
6875 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6876 * sysdeps/sparc/sparc32/Makefile: ... this.
6877 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6878 * sysdeps/sparc/sparc64/Makefile: ... this.
6879
6880 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6881 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6882 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6883 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6884 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6885 * sysdeps/s390/s390-32/setjmp.S: ... here.
6886 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6887 * sysdeps/s390/s390-32/configure.in: ... here.
6888 * sysdeps/s390/s390-32/elf/configure: Delete file.
6889 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6890 * sysdeps/s390/s390-32/start.S: ... here.
6891
6892 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6893 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6894 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6895 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6896 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6897 * sysdeps/s390/s390-64/setjmp.S: ... here.
6898 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6899 * sysdeps/s390/s390-64/configure.in: ... here
6900 * sysdeps/s390/s390-64/elf/configure: Delete file.
6901 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6902 * sysdeps/s390/s390-64/start.S: ... here.
6903 * sysdeps/s390/s390-64/elf/configure: Delete.
6904
6905 * configure.in: Remove support for elf directories in sysdeps.
6906
6907 * configure: Regenerated.
6908 * sysdeps/i386/configure: Regenerated.
6909 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6910 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6911 * sysdeps/s390/s390-32/configure: Regenerated.
6912 * sysdeps/s390/s390-64/configure: Regenerated.
6913 * sysdeps/sh/configure: Regenerated.
6914 * sysdeps/sparc/configure: Regenerated.
6915 * sysdeps/x86_64/configure: Regenerated.
6916
a3f61311
AS
69172012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6918
c876e002
AS
6919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6920
a3f61311
AS
6921 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6922 denormal result into account.
6923
ac4c54f0
RM
69242012-03-25 Roland McGrath <roland@hack.frob.com>
6925
6926 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6927 Reported by Allan McRae <allan@archlinux.org>.
6928
6a9b9c02
JL
69292012-03-23 Jeff Law <law@redhat.com>
6930
6931 * nss/getnssent.c (__nss_getent): Fix typo.
6932
4c42a0c1
DM
69332012-03-23 David S. Miller <davem@davemloft.net>
6934
6935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6936
1532c7ac
L
69372012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6938
6939 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6940 to pad to uint64_t for each field.
6941 (dl_tls_index): Replace unsigned long with uint64_t.
6942
3ff42526
PP
69432012-03-23 Daniel Jacobowitz <dmj@google.com>
6944 Paul Pluzhnikov <ppluzhnikov@google.com>
6945
6946 [BZ #6528]
6947 * grp/Makefile (otherlibs): Don't set it.
6948 * inet/Makefile (otherlibs): Likewise.
6949 * login/Makefile (otherlibs): Likewise.
6950 * nscd/Makefile (otherlibs): Likewise.
6951 * posix/Makefile (otherlibs): Likewise.
6952 * pwd/Makefile (otherlibs): Likewise.
6953 * rt/Makefile (otherlibs): Likewise.
6954 * sunrpc/Makefile (otherlibs): Likewise.
6955 * nss/Makefile (otherlibs): Likewise.
6956 Add libnss_files to routines and static-only-routines.
6957 ($(objpfx)getent): Remove rule.
6958 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6959 static-only-routines.
6960
7c69cd14
JM
69612012-03-22 Joseph Myers <joseph@codesourcery.com>
6962
6963 [BZ #13892]
6964 * math/s_cexp.c: Include <float.h>.
6965 (__cexp): Handle exp result overflowing not necessarily
6966 overflowing both real and imaginary parts of result.
6967 * math/s_cexpf.c: Likewise.
6968 * math/s_cexpl.c: Likewise.
6969 * math/libm-test.inc (cexp_test): Add more tests.
6970 * sysdeps/i386/fpu/libm-test-ulps: Update.
6971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6972
81b035fe
L
69732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6974
6975 * include/link.h (ELFW): New macro.
6976 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6977 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6978
1da7940c
L
69792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6980
6981 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6982 with uint64_t.
6983
b749dbb9
L
69842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6985
6986 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6987 declaration.
6988 (struct La_x32_retval): Likewise.
6989
2ff87f3f
L
69902012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6991
6992 * sysdeps/x86_64/preconfigure.in: New file.
6993 * sysdeps/x86_64/preconfigure: New generated file.
6994
c0df8e69
JM
69952012-03-22 Joseph Myers <joseph@codesourcery.com>
6996
48e44791
JM
6997 [BZ #13824]
6998 * math/e_exp2l.c: Include <float.h>.
6999 (__ieee754_exp2l): Handle overflow and underflow cases
7000 separately. Only pass fractional part of argument to
7001 __ieee754_expl.
7002 * math/libm-test.inc (exp2_test): Add more tests.
7003
c0df8e69
JM
7004 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
7005 negating x to take absolute value.
7006 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
7007 Likewise.
7008 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
7009 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
7010 Likewise.
7011 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
7012 computing low part if x was negated.
7013 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
7014
c8e43ba7
L
70152012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7016
7017 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
7018 la_x32_gnu_pltexit.
7019 (pltexit): Cast int_retval to ptrdiff_t.
7020 * elf/tst-auditmod3b.c: Likewise.
7021 * elf/tst-auditmod4b.c: Likewise.
7022 * elf/tst-auditmod5b.c: Likewise.
7023 * elf/tst-auditmod6b.c: Likewise.
7024 * elf/tst-auditmod6c.c: Likewise.
7025 * elf/tst-auditmod7b.c: Likewise.
7026
7027 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
7028 and x32_gnu_pltexit.
7029
7030 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
7031 __ELF_NATIVE_CLASS.
7032 (La_x32_regs): New macro.
7033 (La_x32_retval): Likewise.
7034 (la_x32_gnu_pltenter): New function prototype.
7035 (la_x32_gnu_pltexit): Likewise.
7036
7998fa78
AS
70372012-03-21 Andreas Schwab <schwab@linux-m68k.org>
7038
dcb33988
AS
7039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
7040 exponent.
7041
233fc563
AS
7042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7043
7998fa78
AS
7044 * configure.in (libc_cv_cc_nofma): Check for option to disable
7045 generation of FMA instructions.
7046 * configure: Regenerate.
7047 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
7048 * sysdeps/ieee754/dbl-64/Makefile: New file.
7049 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
7050 Remove brandred-fma4.
7051 (CFLAGS-brandred-fma4.c): Remove.
7052 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
7053 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
7054 define.
7055 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
7056 define.
7057
8e95c99a
L
70582012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7059
7060 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
7061 LLONG_MAX != LONG_MAX.
7062 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7063 (_fitoa_word): Likewise.
7064 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
7065 LLONG_MAX != LONG_MAX.
7066 * stdio-common/_itowa.h: Include <_itoa.h>.
7067 (_itowa_word): Use _ITOA_WORD_TYPE on value.
7068 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
7069 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
7070 only if not defined.
7071 (_ITOA_WORD_TYPE): Likewise.
7072 (_itoa_word): Use _ITOA_WORD_TYPE on value.
7073 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
7074
6f4db457
DM
70752012-03-21 David S. Miller <davem@davemloft.net>
7076
7077 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7078
7785fe5a
L
70792012-03-21 H.J. Lu <hongjiu.lu@intel.com>
7080
7081 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
7082 of x86_64 when setting libc_cv_slibdir, libdir and
7083 libc_cv_localedir.
7084 * sysdeps/unix/sysv/linux/configure: Regenerated.
7085
4535cd55
JM
70862012-03-21 Joseph Myers <joseph@codesourcery.com>
7087
7088 * manual/lang.texi (Old Varargs): Remove section.
7089 (How Variadic): Update menu.
7090 (va_start): Do not mention varargs.h.
7091
17228132
TS
70922012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7093 Joseph Myers <joseph@codesourcery.com>
7094
7095 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
7096 link test.
7097 * configure: Regenerated.
7098
8149f976
TS
70992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
7100
05f3d1f6
UD
7101 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
7102 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
7103 conformtest.pl
8149f976 7104
1a4ac776
JM
71052012-03-21 Joseph Myers <joseph@codesourcery.com>
7106
be22ce65
JM
7107 * NOTES: Remove.
7108 * Makefile (files-for-dist): Remove NOTES.
7109 (NOTES): Remove rule.
7110 * README: Don't refer to NOTES.
7111 * manual/creature.texi: Don't include macros.texi.
7112 * manual/intro.texi (creature.texi): Remove comment referring to
7113 NOTES.
7114
40b601fb
JM
7115 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
7116 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
7117 * configure: Regenerated.
7118 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
7119 LIBC_TRY_CC_OPTION.
7120 (libc_cv_as_i686): Likewise.
7121 (libc_cv_cc_avx): Likewise.
7122 (libc_cv_cc_sse2avx): Likewise.
7123 (libc_cv_cc_fma4): Likewise.
7124 (libc_cv_cc_novzeroupper): Likewise.
7125 * sysdeps/i386/configure: Regenerated.
7126
1a4ac776
JM
7127 [BZ #13883]
7128 * sysdeps/i386/fpu/s_cexp.S: Remove.
7129 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
7130 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
7131 * math/libm-test.inc (cexp_test): Add more tests.
7132 * sysdeps/i386/fpu/libm-test-ulps: Update.
7133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7134
a458e7fe
AM
71352012-03-21 Allan McRae <allan@archlinux.org>
7136
7137 * timezone/Makefile: Do not install iso3166.tab and zone.tab
7138
0cb7efc5
JM
71392012-03-21 Joseph Myers <joseph@codesourcery.com>
7140
7141 [BZ #13871]
7142 * math/w_exp2.c: Do not include <float.h>.
7143 (o_threshold, u_threshold): Remove.
7144 (__exp2): Calculate result before checking finiteness and calling
7145 __kernel_standard.
7146 * math/w_exp2f.c: Likewise.
7147 * math/w_exp2l.c: Likewise.
7148 * math/libm-test.inc (exp2_test): Require overflow exception for
7149 1e6 input.
2460d3aa
JM
7150
7151 [BZ #3866]
7152 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
7153 range of signed 64-bit integers before using fistpll. Remove
7154 checks for whether integers fit in mantissa bits.
7155 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
7156 the range of signed 32-bit integers before using fistpl. Remove
7157 checks for whether integers fit in mantissa bits.
7158 * sysdeps/i386/fpu/e_powl.S (p64): New object.
7159 (__ieee754_powl): Test for y outside the range of signed 64-bit
7160 integers before using fistpll. Reduce 64-bit values to 63-bit
7161 ones as needed.
7162 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
7163 divide-by-zero is raised for zero to large negative powers.
7164 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
7165 (__ieee754_powl): Test for y outside the range of signed 64-bit
7166 integers before using fistpll. Reduce 64-bit values to 63-bit
7167 ones as needed.
7168 * math/libm-test.inc (pow_test): Add more tests.
7169
eb96ffb0
L
71702012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7171
7172 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
7173 <stdio-common/_itoa.h>.
7174 * debug/segfault.c: Likewise.
7175 * elf/dl-cache.c: Likewise.
7176 * elf/dl-minimal.c: Likewise.
7177 * elf/dl-misc.c: Likewise.
7178 * elf/dl-sysdep.c: Likewise.
7179 * elf/dl-version.c: Likewise.
7180 * elf/rtld.c: Likewise.
7181 * hurd/hurdsock.c: Likewise.
7182 * hurd/lookup-retry.c: Likewise.
7183 * malloc/malloc.c: Likewise.
7184 * malloc/mtrace.c: Likewise.
7185 * nscd/nscd_getgr_r.c: Likewise.
7186 * nscd/nscd_getpw_r.c: Likewise.
7187 * nscd/nscd_getserv_r.c: Likewise.
7188 * posix/getopt_init.c: Likewise.
7189 * posix/wordexp.c: Likewise.
7190 * stdio-common/_itoa.c: Likewise.
7191 * stdio-common/printf_fphex.c: Likewise.
7192 * stdio-common/vfprintf.c: Likewise.
7193 * string/_strerror.c: Likewise.
7194 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
7195 * sysdeps/i386/i686/hp-timing.h: Likewise.
7196 * sysdeps/mach/_strerror.c: Likewise.
7197 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
7198 * sysdeps/mach/hurd/sethostid.c: Likewise.
7199 * sysdeps/mach/hurd/xmknodat.c: Likewise.
7200 * sysdeps/mach/xpg-strerror.c: Likewise.
7201 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
7202 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7203 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
7204 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
7205 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7206 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
7207 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7208 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7209 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
7210 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
7211 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
7212 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
7213 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
7214 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
7216 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
7217 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
7218 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
7219 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7220 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7221 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
7222
7223 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
7224
7225 * stdio-common/_itoa.h: Moved to ...
7226 * sysdeps/generic/_itoa.h: Here.
7227
7228 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
7229
7230 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
7231 instead of "_itoa.h" and "_itowa.h".
7232 * stdio-common/vfprintf.: Likewise.
7233
d1af992d
L
72342012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7235
7236 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
7237 <bits/wordsize.h>.
7238 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
7239 (__signbit): Likwise.
7240 (llrintf): Likwise.
7241 (llrint): Likwise.
7242
114883e0
L
72432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
7244
7245 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
7246 __WORDSIZE != 64.
7247
c135cc1b
JM
72482012-03-20 Joseph Myers <joseph@codesourcery.com>
7249
7250 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
7251 OVERFLOW_EXCEPTION_OK.
7252 * math/libm-test.inc ("Philosophy"): Update comment about
7253 exception testing.
7254 (OVERFLOW_EXCEPTION): Define.
7255 (OVERFLOW_EXCEPTION_OK): Likewise.
7256 (INVALID_EXCEPTION_OK): Renumber.
7257 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7258 (IGNORE_ZERO_INF_SIGN): Likewise.
7259 (test_exceptions): Handle FE_OVERFLOW.
7260 (exp10_test): Expect overflow exceptions.
7261 (exp2_test): Likewise.
7262 (expm1_test): Likewise.
7263 (nextafter_test): Likewise.
7264 (pow_test): Likewise.
7265 (scalbn_test): Likewise.
7266 (scalbln_test): Likewise.
7267
95443d88
L
72682012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7269
7270 * sysdeps/x86_64/bits/atomic.h
7271 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
7272 64bit integer.
7273 (atomic_exchange_acq): Likewise.
7274 (__arch_exchange_and_add_body): Likewise.
7275 (__arch_add_body): Likewise.
7276 (atomic_add_negative): Likewise.
7277 (atomic_add_zero): Likewise.
7278
490df6c4
L
72792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7280
c2722551 7281 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
7282 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
7283
5e52b189
L
72842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7285
7286 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
7287 Check __x86_64__ instead of __WORDSIZE.
7288
a9879d4c
L
72892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7290
7291 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
7292
5df98260
DM
72932012-03-19 David S. Miller <davem@davemloft.net>
7294
e1497744
DM
7295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7296
5df98260
DM
7297 * sysdeps/sparc/fpu/fenv_private.h: New file.
7298 * sysdeps/sparc/fpu/math_private.h: Use it.
7299 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
7300 Remove.
7301 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
7302 (libc_feholdexcept_setroundl): Remove.
7303 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
7304 Remove.
7305 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
7306 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
7307
b4c35121
L
73082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7309
7310 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
7311 int64_t instead of long int.
7312 (INSERT_WORDS64): Likwise.
7313
56965fd7
L
73142012-03-19 H.J. Lu <hongjiu.lu@intel.com>
7315
7316 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
7317 _Unwind_GetCFA return to _Unwind_Ptr first.
7318
83d1aec8
JM
73192012-03-19 Joseph Myers <joseph@codesourcery.com>
7320
1897ad44
JM
7321 [BZ #13629]
7322 * math/s_clog.c: Include <float.h>.
7323 (__clog): Scale large or subnormal inputs.
7324 * math/s_clogf.c: Likewise.
7325 * math/s_clogl.c: Likewise.
7326 * math/s_clog10.c: Include <float.h>.
7327 (M_LOG10_2): Define.
7328 (__clog10): Scale large or subnormal inputs.
7329 * math/s_clog10f.c: Likewise.
7330 * math/s_clog10l.c: Likewise.
7331 * math/libm-test.inc (clog_test): Add more tests.
7332 (clog10_test): Likewise.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7335
7726d6a9
JM
7336 [BZ #11451]
7337 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
7338 x and y.
7339 * math/libm-test.inc (atan2_test): Add another test.
7340
83d1aec8
JM
7341 * Makerules (common-objdir-compile): Remove.
7342 * sysdeps/unix/Makefile (config-generated): Do not add
7343 $(unix-generated) to variable.
7344 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
7345 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
7346 Remove rule.
7347 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
7348 Likewise.
7349 [generic bits/local_lim.h] (before-compile): Do not append to
7350 variable.
7351 [generic bits/local_lim.h] (common-generated): Likewise.
7352 [generic sys/param.h] (before-compile): Do not append to variable.
7353 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
7354 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
7355 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
7356 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
7357 include.
7358 [generic sys/param.h] (sys/param.h-includes): Remove variable.
7359 [generic sys/param.h] (sys/param.h-includes): Remove rule.
7360 [generic sys/param.h] ($(addprefix
7361 $(common-objpfx),$(sys/param.h-includes))): Likewise.
7362 [generic sys/param.h] (common-generated): Do not append to
7363 variable.
7364 [generic sys/param.h] (sysdep_headers): Likewise.
7365 [generic bits/errno.h] (before-compile): Do not append to
7366 variable.
7367 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
7368 rule.
7369 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
7370 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
7371 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
7372 [generic bits/errno.h] (common-generated): Do not append to
7373 variable.
7374 [generic bits/ioctls.h] (before-compile): Do not append to
7375 variable.
7376 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
7377 rule.
7378 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
7379 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
7380 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
7381 rule.
7382 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
7383 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
7384 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
7385 [generic bits/ioctls.h] (common-generated): Do not append to
7386 variable.
7387 [generic sys/syscall.h] (syscall.h): Remove variable.
7388 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
7389 rule.
7390 [generic sys/syscall.h] (before-compile): Do not append to
7391 variable.
7392 [generic sys/syscall.h] (common-generated): Likewise.
7393 * sysdeps/unix/errnos-tmpl.c: Remove file.
7394 * sysdeps/unix/errnos.awk: Likewise.
7395 * sysdeps/unix/ioctls-tmpl.c: Likewise.
7396 * sysdeps/unix/ioctls.awk: Likewise.
7397 * sysdeps/unix/mk-local_lim.c: Likewise.
7398 * sysdeps/unix/snarf-ioctls: Likewise.
7399
4851a949
RH
74002012-03-19 Richard Henderson <rth@twiddle.net>
7401
bd37f2ee
RH
7402 * sysdeps/i386/fpu/fenv_private.h: New file.
7403 * sysdeps/i386/fpu/math_private.h: Use it.
7404 (math_opt_barrier, math_force_eval): Remove.
7405 (libc_feholdexcept_setround_53bit): Remove.
7406 (libc_feupdateenv_53bit): Remove.
7407 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7408 (math_opt_barrier, math_force_eval): Remove.
7409 (libc_feholdexcept): Remove.
7410 (libc_feholdexcept_setround): Remove.
7411 (libc_fetestexcept, libc_fesetenv): Remove.
7412 (libc_feupdateenv_test): Remove.
7413 (libc_feupdateenv, libc_feholdsetround): Remove.
7414 (libc_feresetround): Remove.
7415
d0adc922
RH
7416 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
7417 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
7418
0fe0f1f8
RH
7419 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
7420 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
7421 (libc_feupdateenv_testl): New.
7422 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
7423 (libc_feupdateenv_testf): New.
7424 (libc_feupdateenv): Use libc_feupdateenv_test.
7425 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
7426 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
7427
eb92c487
RH
7428 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
7429 (libc_feholdsetroundf, libc_feholdsetroundl): New.
7430 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
7431 (libc_feresetround_noex): New.
7432 (libc_feresetround_noexf): New.
7433 (libc_feresetround_noexl): New.
7434 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
7435 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
7436 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
7437 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
7438 SET_RESTORE_ROUND.
7439 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
7440 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
7441 (__cos): Likewise.
7442 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
7443 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
7444 SET_RESTORE_ROUND_NOEX.
7445 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
7446 SET_RESTORE_ROUND_NOEXF.
7447 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
7448 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
7449 (libc_feholdsetroundf): New.
7450 (libc_feresetround, libc_feresetroundf): New.
7451
7d2e8012
RH
7452 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7453 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7454 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7455
b4dabbb4
RH
7456 * sysdeps/generic/math_private.h: Include <fenv.h>.
7457 (default_libc_feholdexcept): New.
7458 (default_libc_feholdexcept_setround): New.
7459 (default_libc_fesetenv, default_libc_feupdateenv): New.
7460 (libc_feholdexcept): Only define if undefined.
7461 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7462 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7463 (libc_feholdexcept_setroundl): Likewise.
7464 (libc_feholdexcept_setround_53bit): Likewise.
7465 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7466 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7467 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7468 (libc_feupdateenv_53bit): Likewise.
7469 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7470 (libc_feholdexcept): Convert from macro to inline function.
7471 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7472 (libc_fesetenv, libc_feupdateenv): Likewise.
7473
4851a949
RH
7474 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7475 not previously defined.
7476 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7477 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7478 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7479 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7480 * sysdeps/ieee754/flt-32/math_private.h: New file.
7481 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7482 math_private.h below SET_FLOAT_WORD.
7483 (__isnan, __isinf_ns, __finite): Remove.
7484 (__isnanf, __isinf_nsf, __finitef): Remove.
7485
e79d442e
AS
74862012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7487
7488 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7489
90b80344
DM
74902012-03-17 David S. Miller <davem@davemloft.net>
7491
7492 [BZ #6471]
7493 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7494 for 2.16.
7495
edc21804
DM
74962012-03-16 David S. Miller <davem@davemloft.net>
7497
77e927af
DM
7498 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7499 warnings.
7500
374976dd
DM
7501 [BZ #6471]
7502 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7503 properly.
7504 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7505 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7506 sysdep_routines when subdir is sysvipc.
7507 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7508 __getshmlba helper.
7509
edc21804
DM
7510 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7511
473c3ef3
L
75122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7513
7514 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7515 [__LP64__].
7516
eb0f39b6
L
75172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7518
7519 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7520 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7521 (__lround): Renamed to ...
7522 (__llround): This. Replace long int with long long int.
7523 Define lround functions as aliases of llround functions.
7524 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7525
6b6cd74b
L
75262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7527
7528 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7529 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7530 adresses to uintptr_t. Replace "long int" and "unsigned long
7531 int" with "greg_t" on va_arg.
7532
f1a77b01
L
75332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7534
7535 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7536 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7537
7538 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7539 Move e_machine check before EI_CLASS check. Handle x32
7540 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7541 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7542 SKIP_EM_IA_64 and include
7543 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7544
7545 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7546 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7547 (add_system_dir): New macro.
7548
7549 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7550 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7551
11b90b9f
JM
75522012-03-16 Joseph Myers <joseph@codesourcery.com>
7553
c36e1d23
JM
7554 [BZ #2551]
7555 [BZ #2552]
7556 [BZ #2553]
7557 [BZ #2554]
7558 [BZ #2562]
7559 [BZ #2563]
7560 [BZ #2565]
7561 [BZ #2566]
7562 [BZ #2576]
7563 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7564 (y0): Likewise.
7565 * math/w_j0f.c (j0f): Likewise.
7566 (y0f): Likewise.
7567 * math/w_j0l.c (__j0l): Likewise.
7568 (__y0l): Likewise.
7569 * math/w_j1.c (j1): Likewise.
7570 (y1): Likewise.
7571 * math/w_j1f.c (j1f): Likewise.
7572 (y1f): Likewise.
7573 * math/w_j1l.c (__j1l): Likewise.
7574 (__y1l): Likewise.
7575 * math/w_jn.c (jn): Likewise.
7576 (yn): Likewise.
7577 * math/w_jnf.c (jnf): Likewise.
7578 (ynf): Likewise.
7579 * math/w_jnl.c (__jnl): Likewise.
7580 (__ynl): Likewise.
7581 * math/libm-test.inc (j0_test): Add more tests.
7582 (j1_test): Likewise.
7583 (jn_test): Likewise. Add trailing semicolon to existing test.
7584 (y0_test): Likewise.
7585 (y1_test): Likewise.
7586 * sysdeps/i386/fpu/libm-test-ulps: Update.
7587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7588
11b90b9f
JM
7589 [BZ #13851]
7590 [BZ #13854]
7591 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7592 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7593 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7594 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7595 (__tanl): Set errno for infinite argument.
7596 * sysdeps/i386/fpu/mptan.c: Remove.
7597 * sysdeps/i386/fpu/s_tan.S: Likewise.
7598 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7599 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7600 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7601 * math/libm-test.inc (tan_test): Add more tests and enable more
7602 tests for double and long double.
7603 * sysdeps/i386/fpu/libm-test-ulps: Update.
7604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7605
6a1bd2a1
JK
76062012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7607
7608 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7609 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7610
10a803e0
RM
76112012-03-16 Roland McGrath <roland@hack.frob.com>
7612
7613 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7614 * configure.in: Use it for both main tree and add-ons.
7615 * configure: Regenerated.
7616
f196c7f7
L
76172012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7618
7619 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7620
8848d99d
JM
76212012-03-16 Joseph Myers <joseph@codesourcery.com>
7622
96cbe7f4
JM
7623 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7624 in comment.
7625
8848d99d
JM
7626 [BZ #13851]
7627 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7628 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7629 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7630 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7631 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7632 infinite argument.
7633 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7634 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7635 != 0 for prec == 2.
7636 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7637 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7638 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7639 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7640 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7641 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7642 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7643 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7644 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7645 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7646 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7647 * math/libm-test.inc (cos_test): Add more tests and enable more
7648 tests for long double.
7649 (sin_test): Likewise.
7650 (sincos_test): Likewise.
7651 * sysdeps/i386/fpu/libm-test-ulps: Update.
7652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7653
dd7f4703
DM
76542012-03-16 David S. Miller <davem@davemloft.net>
7655
7656 * sysdeps/sparc/fpu/math_private.h: New file.
7657
006f1daa
DM
76582012-03-15 David S. Miller <davem@davemloft.net>
7659
c0c83bc8
DM
7660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7661 file.
e6a62e18 7662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
7663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7664 file.
e6a62e18
DM
7665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7666 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7667 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7668 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7669 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7671 sysdep routines.
7672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7673
88cb87d9
DM
7674 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7675 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7676
006f1daa 7677 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
7678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7679 sparc-ifunc.h
006f1daa 7680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
7681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7682 Likewise.
7683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7684 Likewise.
006f1daa
DM
7685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
7688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7689 Likewise.
006f1daa
DM
7690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
7694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7695 Likewise.
7696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7697 Likewise.
006f1daa
DM
7698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7703 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7704 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7705 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7706 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7707 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7709 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7710 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7711 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7712 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7713 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7714 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7715 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7716 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7717 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7718 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7719 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7720 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7721 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7722
11e0098e
AS
77232012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7724
7725 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7726 scaling.
7727 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7728
e85b09d0
AJ
77292012-03-15 Andreas Jaeger <aj@suse.de>
7730
7731 [BZ #13852]
7732 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7733 ieee754/flt-32 implementation for sin, cos and sincos.
7734 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7735 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7736 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7737 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7738 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7739 ieee754/flt-32 implementation for tan.
7740
7741 * math/libm-test.inc (cos_test): Enable some large input tests for
7742 float as well
7743 (sin_test): Likewise.
7744 (sincos_test): Likewise.
7745 (tan_test): Add tests for large input.
7746
7747 * sysdeps/i386/fpu/libm-test-ulps: Update.
7748
81c64153
AJ
77492012-03-15 Andreas Jaeger <aj@suse.de>
7750
7751 [BZ #13658]
7752 * math/libm-test.inc (cos_test): Add more test cases.
7753 (sin_test): Likewise.
7754 (sincos_test): Likewise.
7755
7bbfa5c6
AJ
77562012-03-15 Andreas Jaeger <aj@suse.de>
7757
7758 [BZ #13837]
7759 * math/libm-test.inc (cos_test): Add a test case for large input
7760 value.
7761 (sin_test): Likewise.
7762 (sincos_test): Likewise.
7763
77642012-03-15 Andreas Jaeger <aj@suse.de>,
7765 Joseph Myers <joseph@codesourcery.com>
7766
7767 [BZ #13658]
0671f479 7768 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
7769 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7770 * sysdeps/i386/fpu/branred.c: Likewise.
7771 * sysdeps/i386/fpu/dosincos.c: Likewise.
7772 * sysdeps/i386/fpu/mpa.c: Likewise.
7773 * sysdeps/i386/fpu/s_cos.S: Likewise.
7774 * sysdeps/i386/fpu/s_sin.S: Likewise.
7775 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7776 * sysdeps/i386/fpu/sincos32.c: Likewise.
7777
7778 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7779 Define.
7780 (libc_feupdateenv_53bit): Define.
7781 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7782 Define.
7783 (libc_feupdateenv_53bit): Define.
7784
7785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7786 53 bit (without extend i386 double precision).
7787
7788 * math/libm-test.inc (sincos_test): Add tests for large input.
7789 (sin): Likewise.
7790 (cos): Likewise.
7791
7792 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7793
9cad04ea
AS
77942012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7795
7796 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7797
f7062b9a
DM
77982012-03-15 David S. Miller <davem@davemloft.net>
7799
7800 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7801 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7802 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7803 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7804 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7807 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7808 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7809 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7812 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7813 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7814 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
7815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7816 file.
f7062b9a 7817 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
7818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7819 file.
f7062b9a 7820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
7821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7822 file.
f7062b9a 7823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
7824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7825 file.
f7062b9a
DM
7826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7827 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7828 fmin/fmax sysdep routines.
7829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7830
7bd951ff
DM
78312012-03-14 David S. Miller <davem@davemloft.net>
7832
559398ab
DM
7833 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7834 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7835 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7836 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7837 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7838 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7844 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7845 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7846 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7851 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7852 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7853 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7854 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7855 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7856 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7857 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7858 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7860 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7861 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7862 routines.
7863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7864 file.
559398ab 7865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
7866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7867 file.
559398ab 7868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
7869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7870 file.
559398ab 7871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
7872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7873 file.
559398ab 7874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
7875 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7876 file.
559398ab 7877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7879 file.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7881 file.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7883 file.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7885 file.
7886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7887 New file.
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7889 file.
7890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7891 file.
559398ab 7892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
7893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7894 file.
559398ab 7895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7897 file.
559398ab 7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
7899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7900 file.
559398ab 7901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7903 VIS3 routines.
559398ab
DM
7904
7905 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7906 New file.
7907
5a1c1e32
DM
7908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7909
eae47a36
DM
7910 * sysdeps/sparc/configure.in: New file.
7911 * sysdeps/sparc/configure: Generate.
7912 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7913 * configure: Regenerate.
7914 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7915 * config.make.in (have-as-vis3): New.
7916 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7917 available use -Av9d instead of -Av9a.
7918 * sysdeps/sparc/sparc64/Makefile: Likewise.
7919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
7920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7921 New file.
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7923 file.
7924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7925 New file.
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7927 file.
eae47a36
DM
7928 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7929 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7930 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7931 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7932 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7933
c0c83bc8
DM
7934 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7935 fzeros/fnegs to load 0x80000000 into a float register instead of
7936 using the stack.
7bd951ff
DM
7937 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7938
bd951ccb
JM
79392012-03-14 Joseph Myers <joseph@codesourcery.com>
7940
7941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7942 bits/syscall.h.
7943 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7944 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7945 ($(inst_includedir)/bits/syscall.h): Remove rule.
7946 ($(objpfx)bits/syscall.d): Include instead of
7947 $(objpfx)syscall-list.d.
7948 (generated): Change syscall-list.h and syscall-list.d to
7949 bits/syscall.h and bits/syscall.d.
7950
bb4e6db2
RM
79512012-03-14 Roland McGrath <roland@hack.frob.com>
7952
7953 [BZ #13846]
7954 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7955
aa4a2ae1
JM
79562012-03-14 Joseph Myers <joseph@codesourcery.com>
7957
e456826d
JM
7958 [BZ #13841]
7959 * math/s_csqrt.c: Include <float.h>.
7960 (__csqrt): Scale large or subnormal inputs.
7961 * math/s_csqrtf.c: Likewise.
7962 * math/s_csqrtl.c: Likewise.
7963 * math/libm-test.inc (csqrt_test): Add more tests.
7964 * sysdeps/i386/fpu/libm-test-ulps: Update.
7965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7966
aa4a2ae1
JM
7967 [BZ #13840]
7968 * math/libm-test.inc (hypot_test): Add more tests.
7969
7c10fd35
DM
79702012-03-13 David S. Miller <davem@davemloft.net>
7971
7972 [BZ #13840]
7973 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7974 double-precision for the calculation instead of scaling.
7975
f453b98b
JM
79762012-03-13 Joseph Myers <joseph@codesourcery.com>
7977
7978 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7979 manipulate bits before adding and subtracting TWO52[sx].
7980 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7981 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7982 Likewise.
7983 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7984
09a3453f
DM
79852012-03-13 David S. Miller <davem@davemloft.net>
7986
8e59da90
DM
7987 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7988 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7989 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7990 rtld-global-offsets.h
7991 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7992
2a8ab7f2
DM
7993 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7994 large parameters.
7995
10f62770
DM
7996 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7997
5f0bdb18
DM
7998 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7999 'err' in the ifdef scope in which it is actually used.
8000
09a3453f
DM
8001 * nss/nss_db/db-init.c: Include string.h
8002
b4b2eb5e
DM
80032012-03-12 David S. Miller <davem@davemloft.net>
8004
98bb2f1c
DM
8005 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
8006 masking out of the most significant byte of random value used.
8007 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8008 Fix coding style in previous change.
8009
b4b2eb5e
DM
8010 * sysdeps/unix/sysv/linux/kernel-features.h
8011 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
8012 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
8013 expression.
8014 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
8015 later.
8016
6e226b09
DM
80172012-03-11 David S. Miller <davem@davemloft.net>
8018
a1bcbd40
DM
8019 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
8020 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
8021 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
8022 for 'resultvar' otherwise things get truncated on 64-bit.
8023
cb9d6174
DM
8024 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8025 Fix masking out of the most significant byte of random value used.
8026
6e226b09
DM
8027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8028
058c132d
AS
80292012-03-10 Andreas Schwab <schwab@linux-m68k.org>
8030
8031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8032
2d2cd515
DM
80332012-03-09 David S. Miller <davem@davemloft.net>
8034
8035 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
8036 variables with appropriate CPP guards.
8037 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
8038 frame pointer, not the stack pointer. Correct layout comments. Fix test
8039 on resulting framesize and the management of the outregs buffer for pltexit.
8040 Preserve floating point return values across _dl_call_pltexit call.
8041 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
8042 framesize and the management of the outregs buffer for pltexit.
8043 Preserve floating point return values across _dl_call_pltexit
8044 call.
8045 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
8046 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
8047 (print_exit): Fix format string for return register value.
8048
9a07f9d0
JM
80492012-03-10 Joseph Myers <joseph@codesourcery.com>
8050
8051 * sunrpc/Makefile (others): Add rpcgen.
8052 ($(objpfx)rpcgen): Remove special build rule and dependency on
8053 libc.
8054 * sunrpc/rpcgen.c: New file.
8055
547b5e30
PE
80562012-03-09 Paul Eggert <eggert@cs.ucla.edu>
8057
c524201a
PE
8058 [BZ #13673]
8059 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
8060 * stdio-common/bug-vfprintf-nargs.c: Likewise.
8061 * sysdeps/i386/crti.S: Likewise.
8062 * sysdeps/i386/crtn.S: Likewise.
8063 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
8064 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
8065 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
8066 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
8067 * sysdeps/sh/crti.S: Likewise.
8068 * sysdeps/sh/crtn.S: Likewise.
8069 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
8070
7b6235f2
PE
8071 [BZ #13673]
8072 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
8073 with URL.
8074 * locale/programs/locfile-kw.gperf: Likewise.
8075 * locale/programs/charmap-kw.h: Regenerated.
8076 * locale/programs/locfile-kw.h: Likewise.
8077
547b5e30
PE
8078 [BZ #13673]
8079 * intl/plural.y: Replace FSF snail mail address with URL.
8080 * intl/plural.c: Regenerated.
8081
5f0a5dae
RH
80822012-03-09 Richard Henderson <rth@twiddle.net>
8083
8084 * include/math_private.h: Remove file.
8085 * math/math_private.h: Move file ...
8086 * sysdeps/generic/math_private.h: ... here.
8087
b8c03620
RH
8088 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
8089 * sysdeps/powerpc/fpu/math_private.h: Likewise.
8090 * sysdeps/x86_64/fpu/math_private.h: Likewise.
8091
4e234f5d 8092 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
8093 and <math_private.h>.
8094 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
8095 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
8096 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
8097 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
8098 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
8099 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
8100 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8101 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8102 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8103 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8104 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8105 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8107 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8109 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8110 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8111 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8112 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8113 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
8114 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8117 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8118 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8119 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8124 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8125 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8126 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8127 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8128 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8129 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8130 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8131 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8132 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8133 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8134 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
8135 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8136 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
8137 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8138 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8139 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8140 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
8141 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8142 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8143 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8144 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8145 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
8146 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8147 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8148 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8149 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8150 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8151 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8152 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8153 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
8154 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8155 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8156 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8157 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8158 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
8159 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8160 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8161 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8162 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
8163 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
8164 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
8165 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8166 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8167 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8168 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
8169 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8170 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
8171 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8172 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
8173 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
8174 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
8175 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
8176 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
8177 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8178 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8179 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8180 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
8181 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8182 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
8183 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
8184 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
8185 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
8186 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8187 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
8188 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
8189 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
8190 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8191 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
8192 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
8193 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
8194 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
8195 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
8196 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
8197 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
8198 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
8199 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
8200 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
8201 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
8202 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
8203 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
8204 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
8205 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
8206 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
8207 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
8208 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8210 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8211 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
8212 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
8213 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
8215 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
8216 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8217 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
8218 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
8219 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
8220 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
8221 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
8222 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
8223 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
8224 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
8225 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8226 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
8227 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
8228 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
8229 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
8230 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8231 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
8232 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
8233 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8235 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
8236 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
8237 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
8238 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
8239 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
8240 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
8241 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
8242 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8243 * sysdeps/ieee754/k_standard.c: Likewise.
8244 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
8245 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
8246 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
8247 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
8248 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
8249 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
8251 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
8252 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
8253 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
8254 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
8255 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
8256 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
8257 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
8258 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
8259 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
8260 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
8261 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
8262 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
8263 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
8264 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
8265 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
8266 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
8267 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
8268 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
8269 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
8270 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
8271 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8272 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
8273 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
8274 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
8275 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
8277 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
8278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
8279 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
8280 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
8281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
8282 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
8284 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
8285 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
8286 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
8287 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
8289 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
8290 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
8291 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
8292 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
8293 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
8294 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
8295 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
8296 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
8297 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
8300 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
8301 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
8302 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
8303 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
8304 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
8305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
8306 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
8308 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
8309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
8310 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
8311 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
8312 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
8313 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
8314 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
8315 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
8316 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
8317 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
8318 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
8319 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
8320 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
8321 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
8322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8323 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
8324 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
8325 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
8326 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
8327 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
8328 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
8329 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8330 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
8331 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
8332 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
8333 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
8334 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
8335 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
8336 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
8338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
8340 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
8341 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8342 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8343 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
8344 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
8345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
8347 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
8348 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
8349 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
8350 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8351 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8352 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
8353 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
8354 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
8355 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
8356 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
8357 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
8358 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
8359 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8360 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
8361 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
8362 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8363 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
8366 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
8367 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
8368 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
8369 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8370 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
8371 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8372 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
8373 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
8374 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
8375 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
8376 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
8377 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
8378 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
8379 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
8380 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
8381 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
8385 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
8386 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
8387 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
8388 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
8389 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
8390 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
8391 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
8392 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
8393 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
8394 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
8395 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
8398 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
8399 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
8402 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
8403 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
8404 * sysdeps/ieee754/s_lib_version.c: Likewise.
8405 * sysdeps/ieee754/s_matherr.c: Likewise.
8406 * sysdeps/ieee754/s_signgam.c: Likewise.
8407 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
8408 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8409 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
8410 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
8411 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
8412 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
8413 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
8414 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
8415 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
8416 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
8417 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
8418 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
8419 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
8420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
8421 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
8422 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8424 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8425 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8426 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
8427 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 8428
1991fa03
JM
84292012-03-09 Joseph Myers <joseph@codesourcery.com>
8430
8431 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
8432 * sunrpc/rpc_main.c: Likewise.
8433 * sunrpc/rpc_svcout.c: Likewise.
8434
60d6f5a6
DM
84352012-03-09 David S. Miller <davem@davemloft.net>
8436
8437 * include/math_private.h: New file.
8438
4962050e
JM
84392012-03-09 Joseph Myers <joseph@codesourcery.com>
8440
02a6f887
JM
8441 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
8442 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
8443 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
8444 from <bits/socket_type.h>.
8445 (enum __socket_type): Don't define here.
8446 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
8447 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8448 bits/socket_type.h.
8449
c6e013c1
JM
8450 [BZ #13566]
8451 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8452 checking __USE_GNU.
8453
4962050e
JM
8454 * Makerules ($(inst_includedir)/%.h): New rule.
8455 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8456 (install-others): Remove variable setting.
8457 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8458
38842f45
RH
84592012-03-08 Richard Henderson <rth@twiddle.net>
8460
67bb6da6
RH
8461 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8462 from macro to inline function; merge with the
8463 !__LIBC_INTERNAL_MATH_INLINES version.
8464 (__ieee754_sqrtf): Likewise.
8465
15194b4b
RH
8466 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8467 to inline function.
8468 (__rintf, __floor, __floorf): Likewise.
8469
64e21ede
RH
8470 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8471 macro to inline function.
8472 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8473
38842f45
RH
8474 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8475 not <math/math_private.h>.
8476
c64bf5fe
DM
84772012-03-08 David S. Miller <davem@davemloft.net>
8478
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8480 copyright year.
8481 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8482
82d86f28
TS
84832012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8484
8485 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8486 normalization.
8487 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8488 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8489
aea5d727
UD
84902012-03-08 Ulrich Drepper <drepper@gmail.com>
8491
8492 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8493 be defined individually, they must be defined as a block. Define
8494 S for printing a string instead of hidint the different by using a
8495 macro for adding the 'l'.
8496 * stdio-common/tst-fphex-wide.c: Adjust.
8497
70bca0a3
MP
84982012-03-07 Marek Polacek <polacek@redhat.com>
8499
8500 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8501
65b81130
MP
85022012-03-08 Marek Polacek <polacek@redhat.com>
8503
8504 [BZ #13806]
8505 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8506 * stdio-common/tst-fphex.c: Define a few macros to make the
8507 test reusable. Use them.
8508 * stdio-common/tst-fphex-wide.c: New file.
8509
07037eeb
JM
85102012-03-08 Joseph Myers <joseph@codesourcery.com>
8511
a7a93d50
JM
8512 [BZ #6911]
8513 * manual/macros.texi (gnusystems): New macro.
8514 (nongnusystems): Likewise.
8515 (gnulinuxhurdsystems): Likewise.
8516 (gnuhurdsystems): Likewise..
8517 (gnulinuxsystems): Likewise.
8518 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8519 variants of the GNU system, not "GNU system".
8520 * manual/conf.texi: Likewise.
8521 * manual/errno.texi: Likewise. Update example of errno macro
8522 expansion.
8523 * manual/filesys.texi: Likewise.
8524 (getumask): Document as specific to GNU/Hurd.
8525 * manual/install.texi: Likewise. Reword some references to
8526 GNU/Linux.
8527 * manual/intro.texi: Likewise.
8528 * manual/io.texi: Likewise.
8529 (File Name Portability): Detail which constraints are inapplicable
8530 to all GNU systems and which are only inapplicable to GNU/Hurd.
8531 * manual/job.texi: Likewise.
8532 * manual/llio.texi: Likewise.
8533 (O_NOCTTY): Document as present on GNU/Linux.
8534 * manual/maint.texi: Likewise.
8535 * manual/memory.texi: Likewise.
8536 * manual/pattern.texi: Likewise.
8537 * manual/pipe.texi: Likewise.
8538 * manual/process.texi: Likewise.
8539 * manual/resource.texi: Likewise.
8540 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8541 child on GNU/Hurd.
8542 * manual/setjmp.texi: Likewise.
8543 * manual/signal.texi: Likewise.
8544 * manual/startup.texi: Likewise.
8545 * manual/stdio.texi: Likewise.
8546 * manual/terminal.texi: Likewise.
8547 (ONLCR): Document as POSIX.
8548 (OXTABS): Document availability on GNU/Linux as XTABS.
8549 (ONOEOT): Document availability separately from other bits.
8550 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8551 * manual/time.texi: Likewise.
8552 * manual/users.texi: Likewise.
8553 * INSTALL: Regenerated.
8554 * sysdeps/gnu/errlist.c: Regenerated.
8555
07037eeb
JM
8556 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8557 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8558 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8559 puts.
8560 * configure: Regenerated.
8561
d1d3431a
JM
85622012-03-07 Joseph Myers <joseph@codesourcery.com>
8563
af6a1e37
JM
8564 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8565 default includes instead of AC_HEADER_CHECK.
8566 * sysdeps/i386/configure: Regenerated.
8567
d1d3431a
JM
8568 [BZ #10716]
8569 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8570 * math/s_cacoshf.c (__cacoshf): Likewise.
8571 * math/s_cacoshl.c (__cacoshl): Likewise.
8572 * math/s_casinh.c (__casinh): Set signs of result from argument.
8573 * math/s_casinhf.c (__casinhf): Likewise.
8574 * math/s_casinhl.c (__casinhl): Likewise.
8575 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8576 (casinh_test): Add more tests.
8577 * sysdeps/i386/fpu/libm-test-ulps: Update.
8578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8579
482ff4da
UD
85802012-03-07 Ulrich Drepper <drepper@gmail.com>
8581
872fda05
UD
8582 * po/zh_TW.po: Update from translation team.
8583
a4300c7a
UD
8584 * login/Makefile (distribute): Remove variable.
8585 * catgets/Makefile: Likewise.
8586 * mach/Makefile: Likewise.
8587 * malloc/Makefile: Likewise.
8588 * misc/Makefile: Likewise.
8589 * iconv/Makefile: Likewise.
8590 * nscd/Makefile: Likewise.
8591 * hurd/Makefile: Likewise.
8592 * manual/Makefile: Likewise.
8593 * locale/Makefile: Likewise.
8594 * intl/Makefile: Likewise.
8595 * conform/Makefile: Likewise.
8596 * nss/Makefile: Likewise.
8597 * time/Makefile: Likewise.
8598 * soft-fp/Makefile: Likewise.
8599 * dirent/Makefile: Likewise.
8600 * gmon/Makefile: Likewise.
8601 * po/Makefile: Likewise.
8602 * rt/Makefile: Likewise.
8603 * socket/Makefile: Likewise.
8604 * math/Makefile: Likewise.
8605 * signal/Makefile: Likewise.
8606 * debug/Makefile: Likewise.
8607 * elf/Makefile: Likewise.
8608 * timezone/Makefile: Likewise.
8609 * stdlib/Makefile: Likewise.
8610 * iconvdata/Makefile: Likewise.
8611 * sunrpc/Makefile: Likewise.
8612 * io/Makefile: Likewise.
8613 * argp/Makefile: Likewise.
8614 * inet/Makefile: Likewise.
8615 * hesiod/Makefile: Likewise.
8616 * grp/Makefile: Likewise.
8617 * csu/Makefile: Likewise.
8618 * wctype/Makefile: Likewise.
8619 * crypt/Makefile: Likewise.
8620 * libio/Makefile: Likewise.
8621 * string/Makefile: Likewise.
8622 * nis/Makefile: Likewise.
8623 * resolv/Makefile: Likewise.
8624 * stdio-common/Makefile: Likewise.
8625 * wcsmbs/Makefile: Likewise.
8626 * dlfcn/Makefile: Likewise.
8627 * posix/Makefile: Likewise.
8628
3b7c4e74 8629 [BZ #6959]
482ff4da
UD
8630 * timezone/Makefile: Don't install timezone files, just the programs
8631 and scripts.
8632
f72ed77d
UD
86332012-03-06 Ulrich Drepper <drepper@gmail.com>
8634
a000466f
UD
8635 * nss/databases.def: Add missing gshadow entry.
8636
f72ed77d
UD
8637 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8638
a53b7a4e
MP
86392012-03-06 Marek Polacek <polacek@redhat.com>
8640
8641 [BZ #13726]
8642 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8643 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8644 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8645 * stdio-common/tst-long-dbl-fphex.c: New file.
8646
e9258400
DM
86472012-03-06 David S. Miller <davem@davemloft.net>
8648
8649 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8650 (set_obp_int): New function.
8651 (get_obp_int): New function.
8652 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
8653 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8654 Avoid unused variable warnings on 'val' and use builtin_expect.
8655 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8656 __builtin_expect.
e9258400
DM
8657 (INLINE_CLONE_SYSCALL): Likewise.
8658
3bd2c723
DM
86592012-03-05 David S. Miller <davem@davemloft.net>
8660
8661 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8662
bbb78d03
AS
86632012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8664
884c5db4
AS
8665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8666
bbb78d03
AS
8667 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8668 only for |x| >= 40.
8669 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8670
1c9f702a 86712012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
8672
8673 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8674 Replace gettimeofday with __vdso_gettimeofday.
8675
7be16f82
RM
8676 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8677 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8678 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
8679
8680 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8681 time with __vdso_time.
8682
ed58a00f
JM
86832012-03-05 Joseph Myers <joseph@codesourcery.com>
8684
8685 * manual/lang.texi (size_t): Note types to which size_t may be
8686 equivalent with the GNU C Library, but do not describe when
8687 differences between them are significant.
8688
30ee4ced
AJ
86892012-03-05 Andreas Jaeger <aj@suse.de>
8690
8691 * sysdeps/i386/fpu/libm-test-ulps: Update.
8692
b7cd39e8
JM
86932012-03-05 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #3976]
8696 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8697 (__ieee754_pow): Save and restore rounding mode and use
8698 round-to-nearest for main computations.
8699 * math/libm-test.inc (pow_test_tonearest): New function.
8700 (pow_test_towardzero): Likewise.
8701 (pow_test_downward): Likewise.
8702 (pow_test_upward): Likewise.
8703 (main): Call the new functions.
8704 * sysdeps/i386/fpu/libm-test-ulps: Update.
8705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
8706
8707 [BZ #3976]
8708 * math/libm-test.inc (cosh_test_tonearest): New function.
8709 (cosh_test_towardzero): Likewise.
8710 (cosh_test_downward): Likewise.
8711 (cosh_test_upward): Likewise.
8712 (sinh_test_tonearest): Likewise.
8713 (sinh_test_towardzero): Likewise.
8714 (sinh_test_downward): Likewise.
8715 (sinh_test_upward): Likewise.
8716 (main): Call the new functions.
8717 * sysdeps/i386/fpu/libm-test-ulps: Update.
8718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8719
6c6a98c9
TV
87202012-03-05 Tom de Vries <tom@codesourcery.com>
8721
8722 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8723 default stack guard is set in last bytes.
8724 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8725
21bb2d2e 87262012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 8727
21bb2d2e 8728 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 8729
21bb2d2e
AJ
8730 [BZ #13656]
8731 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8732 possibly allocate from heap instead of stack.
8733 * stdio-common/bug-vfprintf-nargs.c: New file.
8734 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 8735
c6922934
AS
87362012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8737
8738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8739
bc957d53
MP
87402012-03-03 Marek Polacek <polacek@redhat.com>
8741
8742 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8743 * math/math_private.h: Likewise.
8744 * stdlib/tst-strtod.c: Likewise.
8745 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8746 * sysdeps/x86_64/bits/atomic.h: Likewise.
8747
6358490d
DM
87482012-03-02 David S. Miller <davem@davemloft.net>
8749
8750 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8751 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8753 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8754 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8755 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8756 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8757 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8758
01ae168d
RM
87592012-03-02 Roland McGrath <roland@hack.frob.com>
8760
d9a17c07
RM
8761 [BZ #13792]
8762 * manual/examples/README: New file, says the example source files
8763 can be used under GPL>=2.
8764 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8765 line containing just "*/".
8766 * manual/examples/add.c: Add copyright header (GPL>=2).
8767 * manual/examples/argp-ex1.c: Likewise.
8768 * manual/examples/argp-ex2.c: Likewise.
8769 * manual/examples/argp-ex3.c: Likewise.
8770 * manual/examples/argp-ex4.c: Likewise.
8771 * manual/examples/atexit.c: Likewise.
8772 * manual/examples/db.c: Likewise.
8773 * manual/examples/dir.c: Likewise.
8774 * manual/examples/dir2.c: Likewise.
8775 * manual/examples/execinfo.c: Likewise.
8776 * manual/examples/filecli.c: Likewise.
8777 * manual/examples/filesrv.c: Likewise.
8778 * manual/examples/fmtmsgexpl.c: Likewise.
8779 * manual/examples/genpass.c: Likewise.
8780 * manual/examples/inetcli.c: Likewise.
8781 * manual/examples/inetsrv.c: Likewise.
8782 * manual/examples/isockad.c: Likewise.
8783 * manual/examples/longopt.c: Likewise.
8784 * manual/examples/memopen.c: Likewise.
8785 * manual/examples/memstrm.c: Likewise.
8786 * manual/examples/mkfsock.c: Likewise.
8787 * manual/examples/mkisock.c: Likewise.
8788 * manual/examples/mygetpass.c: Likewise.
8789 * manual/examples/pipe.c: Likewise.
8790 * manual/examples/popen.c: Likewise.
8791 * manual/examples/rprintf.c: Likewise.
8792 * manual/examples/search.c: Likewise.
8793 * manual/examples/select.c: Likewise.
8794 * manual/examples/setjmp.c: Likewise.
8795 * manual/examples/sigh1.c: Likewise.
8796 * manual/examples/sigusr.c: Likewise.
8797 * manual/examples/stpcpy.c: Likewise.
8798 * manual/examples/strdupa.c: Likewise.
8799 * manual/examples/strftim.c: Likewise.
8800 * manual/examples/strncat.c: Likewise.
8801 * manual/examples/subopt.c: Likewise.
8802 * manual/examples/swapcontext.c: Likewise.
8803 * manual/examples/termios.c: Likewise.
8804 * manual/examples/testopt.c: Likewise.
8805 * manual/examples/testpass.c: Likewise.
8806 * manual/examples/timeval_subtract.c: Likewise.
8807
01ae168d
RM
8808 [BZ #13792]
8809 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8810 function to ...
8811 * manual/timeval_subtract.c.texi: ... here, new file.
8812
49efa33d
DM
88132012-03-02 David S. Miller <davem@davemloft.net>
8814
8815 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8816
28afd92d
JM
88172012-03-02 Joseph Myers <joseph@codesourcery.com>
8818
804360ed
JM
8819 [BZ #3976]
8820 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8821 (__sin): Save and restore rounding mode and use round-to-nearest
8822 for all computations.
8823 (__cos): Save and restore rounding mode and use round-to-nearest
8824 for all computations.
8825 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8826 <fenv.h>.
8827 (tan): Save and restore rounding mode and use round-to-nearest for
8828 all computations.
8829 * math/libm-test.inc (cos_test_tonearest): New function.
8830 (cos_test_towardzero): Likewise.
8831 (cos_test_downward): Likewise.
8832 (cos_test_upward): Likewise.
8833 (sin_test_tonearest): Likewise.
8834 (sin_test_towardzero): Likewise.
8835 (sin_test_downward): Likewise.
8836 (sin_test_upward): Likewise.
8837 (tan_test_tonearest): Likewise.
8838 (tan_test_towardzero): Likewise.
8839 (tan_test_downward): Likewise.
8840 (tan_test_upward): Likewise.
8841 (main): Call the new functions.
8842 * sysdeps/i386/fpu/libm-test-ulps: Update.
8843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8844
a6d06d7b
JM
8845 [BZ #10135]
8846 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8847 small n, then large n, before computing and testing k+n.
8848 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8849 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8850 Likewise.
8851 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8852 Likewise.
8853 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8854 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8855 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8856 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8857 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8858 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8860 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8861 * math/libm-test.inc (scalbn_test): Add more tests.
8862 (scalbln_test): Likewise.
8863
07e12bb3
JM
8864 * manual/filesys.texi (mode_t): Describe constraints on size and
8865 signedness, not exact equivalence to a particular type.
8866 (ino_t): Likewise.
8867 (ino64_t): Likewise.
8868 (dev_t): Likewise.
8869 (nlink_t): Likewise.
8870 (blkcnt_t): Likewise.
8871 (blkcnt64_t): Likewise.
8872 * manual/llio.texi (off_t): Likewise.
8873
28afd92d
JM
8874 [BZ #3976]
8875 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8876 (__ieee754_exp): Save and restore rounding mode and use
8877 round-to-nearest for all computations.
8878 * math/libm-test.inc (exp_test_tonearest): New function.
8879 (exp_test_towardzero): Likewise.
8880 (exp_test_downward): Likewise.
8881 (exp_test_upward): Likewise.
8882 (main): Call the new functions.
8883 * sysdeps/i386/fpu/libm-test-ulps: Update.
8884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8885
b1eeb65d
CD
88862012-03-01 Chris Demetriou <cgd@google.com>
8887
8888 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8889 have predictable order.
8890
53362a4b
DM
88912012-03-01 David S. Miller <davem@davemloft.net>
8892
3c969083
DM
8893 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8894
759707de
DM
8895 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8896 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8897 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8898 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8899
dfdb8ff2
DM
8900 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8901 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8902 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8903 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8904 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8905 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8906 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8907 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8908 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8909
ead89f96
DM
8910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8911
7f66bd07
DM
8912 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8913 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8914 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8915
53362a4b
DM
8916 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8917 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8919 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8920 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8921 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8922 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8923 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8924 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8925 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8926 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8927 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8928 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8929 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8930 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8931 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8932 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8933 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8934 * sysdeps/sparc/elf/configure: Regenerated.
8935
7b1902cb
JM
89362012-03-01 Joseph Myers <joseph@codesourcery.com>
8937
bec039bc
JM
8938 * configure.in (AS, LD): Require binutils 2.20 or later.
8939 * configure: Regenerated.
8940 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8941 as required minimum version.
8942 * INSTALL: Regenerated.
8943
7b1902cb
JM
8944 [BZ #2541]
8945 [BZ #4108]
8946 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8947 before squaring exponent.
8948 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8949 bottom long double and 27 bits of top long double before squaring
8950 exponent.
8951 * math/libm-test.inc (erfc_test): Add more tests.
8952 * sysdeps/i386/fpu/libm-test-ulps: Update.
8953 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8955
f775c276
KT
89562012-03-01 Kai Tietz <ktietz@redhat.com>
8957
8958 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8959 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8960 containing bit-fields.
8961 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8962 * soft-fp/single.h (_FP_UNION_S): Likewise.
8963 * soft-fp/double.h (_FP_UNION_D): Likewise.
8964
5b8a4d4a
JM
89652012-02-29 Joseph Myers <joseph@codesourcery.com>
8966
0bab47b6
JM
8967 [BZ #13786]
8968 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8969 not include ../strcmp.S.
8970 [USE_AS_STRNCASECMP_L]: Likewise.
8971 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8972 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8973 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8974 (__strncasecmp_l_ia32): Define as alias to
8975 __strncasecmp_l_nonascii.
8976
0fcad3e2
JM
8977 [BZ #5794]
8978 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8979 * sysdeps/i386/fpu/libm-test-ulps: Update.
8980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8981
5b8a4d4a
JM
8982 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8984
8fdceb2e
JL
89852012-02-29 Jeff Law <law@redhat.com>
8986
8987 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8988 out of bounds read.
8989
1f393a11
MP
89902012-02-29 Marek Polacek <polacek@redhat.com>
8991
8992 [BZ #13706]
8993 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8994 * elf/Makefile: Add rules to run tst-unused-dep.out.
8995
8847f037
DM
89962012-02-28 David S. Miller <davem@davemloft.net>
8997
8998 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8999 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
9000 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
9001 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
9002 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
9003 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
9004
169d7f11
JM
90052012-02-29 Joseph Myers <joseph@codesourcery.com>
9006
9007 * math/libm-test.inc (llround_test): Move one test from
9008 lround_test. Use TEST_f_L in moved test.
9009 (lround_test): Move misplaced test to llround_test. Add testcase
9010 from bug 2561.
9011
39adf059
UD
90122012-02-28 Ulrich Drepper <drepper@gmail.com>
9013
9014 * sysdeps/x86_64/fpu/e_expf.S: New file.
9015 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
9016
71b5d1c5
SB
90172012-02-28 Stanislav Brabec <sbrabec@suse.cz>
9018
9019 [BZ #13637]
9020 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
9021 of remain_len that may cause incomplete multi-byte character and
9022 false match.
9023 * posix/bug-regex33.c: New file.
9024 * posix/Makefile (tests): Add bug-regex33.
9025
1f77f049
JM
90262012-02-28 Joseph Myers <joseph@codesourcery.com>
9027
9028 * manual/macros.texi: New file.
9029 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
9030 * manual/libc.texinfo: Include macros.texi.
9031 * manual/creatute.texi: Likewise.
9032 * manual/install.texi: Likewise.
9033 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
9034 @glibcadj{} in references to the GNU C Library.
9035 * manual/charset.texi: Likewise.
9036 * manual/conf.texi: Likewise.
9037 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
9038 when not using those macros.
9039 * manual/creature.texi: Likewise.
9040 * manual/crypt.texi: Likewise.
9041 * manual/errno.texi: Likewise.
9042 * manual/filesys.texi: Likewise.
9043 * manual/header.texi: Likewise.
9044 * manual/install.texi: Likewise.
9045 * manual/intro.texi: Likewise.
9046 * manual/io.texi: Likewise.
9047 * manual/job.texi: Likewise.
9048 * manual/lang.texi: Likewise.
9049 * manual/libc.texiinfo: Likewise.
9050 * manual/llio.texi: Likewise.
9051 * manual/locale.texi: Likewise.
9052 * manual/maint.texi: Likewise.
9053 * manual/math.texi: Likewise.
9054 * manual/memory.texi: Likewise.
9055 * manual/message.texi: Likewise.
9056 * manual/nss.texi: Likewise.
9057 * manual/pattern.texi: Likewise.
9058 * manual/process.texi: Likewise.
9059 * manual/resource.texi: Likewise.
9060 * manual/search.texi: Likewise.
9061 * manual/setjmp.texi: Likewise.
9062 * manual/signal.texi: Likewise.
9063 * manual/socket.texi: Likewise.
9064 * manual/startup.texi: Likewise.
9065 * manual/stdio.texi: Likewise.
9066 * manual/string.texi: Likewise.
9067 * manual/sysinfo.texi: Likewise.
9068 * manual/syslog.texi: Likewise.
9069 * manual/terminal.texi: Likewise.
9070 * manual/time.texi: Likewise.
9071 * manual/users.texi: Likewise.
9072 * INSTALL: Regenerated.
9073 * NOTES: Regenerated.
d40c5d54 9074 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 9075
450bf206
AS
90762012-02-28 Andreas Schwab <schwab@linux-m68k.org>
9077
9078 * include/dirent.h: Include <dirstream.h> before
9079 <dirent/dirent.h>.
9080
741a235b
DM
90812012-02-28 David S. Miller <davem@davemloft.net>
9082
9083 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
9084 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
9085 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
9086 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
9087
d6b5aa58
DM
90882012-02-27 David S. Miller <davem@davemloft.net>
9089
1aff59a3
DM
9090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
9091 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
9092 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
9093 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
9094
d6b5aa58
DM
9095 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
9096 frame pointer instead of stack pointer relative arg slot.
9097 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9098 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9099 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9100
433f48bf
CD
91012012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
9102
9103 [BZ #3992]
9104 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
9105
d674b76d
DM
91062012-02-27 David S. Miller <davem@davemloft.net>
9107
9108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
9109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
9110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
9111 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
9112 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
9113 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
9114 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
9115 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
9116
0e7727f7
JM
91172012-02-27 Joseph Myers <joseph@codesourcery.com>
9118
9119 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
9120 later. Allow versions 5-9.
43be4ca2 9121 * configure: Regenerated.
0e7727f7
JM
9122 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
9123 required minimum version and 4.6 as recommended version. Do not
9124 mention bugs in GCC 2.7 and 2.8.
43be4ca2 9125 * INSTALL: Regenerated.
0e7727f7 9126
a78bc654
DM
91272012-02-27 David S. Miller <davem@davemloft.net>
9128
428d5830
DM
9129 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
9130 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
9131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
9132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
9133 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
9134 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
9135 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
9136 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
9137
a78bc654
DM
9138 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
9139 manipulate bits before adding and subtracting TWO112[sx].
9140 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9141
4579f81c
RM
91422012-02-27 Roland McGrath <roland@hack.frob.com>
9143
36c8acb4
RM
9144 [BZ #13775]
9145 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
9146 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
9147 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
9148 being in POSIX, because they are in 1003.1-2008.
9149
84ad622b
RM
9150 * rt/tst-aio.c: Include <fcntl.h>.
9151 * rt/tst-aio7.c: Likewise.
9152 * rt/tst-aio64.c: Likewise.
9153
4579f81c
RM
9154 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
9155
abd923db
JM
91562012-02-27 Joseph Myers <joseph@codesourcery.com>
9157
9158 * manual/install.texi (--with-headers): Describe headers as
9159 interface headers, not private headers.
9160 (Specific advice for GNU/Linux systems): Describe use of headers
9161 from "make headers_install", not private headers from older
9162 kernels.
43be4ca2 9163 * INSTALL: Regenerated.
abd923db
JM
9164 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
9165 Change to 2.6.19.
9166 * sysdeps/unix/sysv/linux/configure: Regenerated.
9167
6664049b
JM
9168 * manual/llio.texi (fclean): Remove documentation.
9169
bb8b6697
JM
9170 * manual/Makefile (libc-texi-generated): New variable. Include
9171 version.texi.
9172 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
9173 $(libc-texi-generated), not duplicated list of files.
9174 (version.texi, stamp-version): New rules.
9175 (realclean): Remove $(libc-texi-generated), not individual files
9176 from that list. Do not remove dir-add.texinfo.
9177 * manual/libc.texinfo: Comment out uses of edition numbers and
9178 references to printed manual. Remove last-updated dates.
9179 (EDITION): Comment out.
9180 (ISBN): Likewise.
9181 (VERSION, UPDATED): Remove.
9182 (version.texi): Include.
9183
12e5c3b9
AS
91842012-02-27 Andreas Schwab <schwab@linux-m68k.org>
9185
9186 * sysdeps/posix/spawni.c: Include <signal.h>.
9187 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
9188 * sysdeps/pthread/aio_fsync.c: Likewise.
9189
4efeffc1 91902012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 9191
ba63ba08
UD
9192 * conform/Makefile (tests): Run only when not cross-compiling and
9193 when fast-check is not defined.
9194
d94a4670
UD
9195 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
9196 * conform/data/limits.h-data: Fixes for POSIX2008.
9197 * conform/run-conformtest.sh: Run all tests.
9198 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
9199 headers.
9200 * include/bits/dlfcn.h: Likewise.
9201 * include/langinfo.h: Likewise.
9202 * include/monetary.h: Likewise.
9203 * include/sys/poll.h: Likewise.
9204
9205 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
9206 for __USE_GNU.
9207 * posix/spawn.h: Define __need_sigset_t.
9208 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
9209 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
9210 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
9211 to get sigevent_t only.
9212 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
9213 only for __USE_GNU.
9214 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9215 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
9216 process_vm_writev only for __USE_GNU.
9217 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
9218
9219 * conform/Makefile: For now ignore errors from run-conformtest.
9220 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
9221 POSIX to avoid namespace pollution. Don't prepend headers.
9222 * conform/data/aio.h-data: Fixes for POSIX testing.
9223 * conform/data/fcntl.h-data: Likewise.
9224 * conform/data/glob.h-data: Likewise.
9225 * conform/data/grp.h-data: Likewise.
9226 * conform/data/pthread.h-data: Likewise.
9227 * conform/data/pwd.h-data: Likewise.
9228 * conform/data/signal.h-data: Likewise.
9229 * conform/data/spawn.h-data: Likewise.
9230 * conform/data/stdio.h-data: Likewise.
9231 * conform/data/stdlib.h-data: Likewise.
9232 * conform/data/stropts.h-data: Likewise.
9233 * conform/data/sys/mman.h-data: Likewise.
9234 * conform/data/sys/stat.h-data: Likewise.
9235 * conform/data/sys/types.h-data: Likewise.
9236 * conform/data/sys/wait.h-data: Likewise.
9237 * conform/data/time.h-data: Likewise.
9238 * conform/data/unistd.h-data: Likewise.
9239 * conform/data/utime.h-data: Likewise.
9240
9241 * io/sys/stat.h: fchmod was always in POSIX.
9242 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
9243 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
9244 * rt/aio.h: Define __need_timespec before including <time.h>.
9245 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
9246 struct. Add forward declaration of pthread_attr_t and use it in
9247 sigevent.
9248 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
9249 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
9250 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
9251 always remove CLK_TCK definition.
9252
c20105c3
AS
92532012-02-26 Andreas Schwab <schwab@linux-m68k.org>
9254
9255 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
9256
7a270350
UD
92572012-02-25 Ulrich Drepper <drepper@gmail.com>
9258
31341567
UD
9259 * conform/run-conformtest.sh: New file.
9260 * conform/Makefile: Run run-conformtest for tests.
9261 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
9262 support.
9263
9264 * conform/data/uchar.h-data: New file.
9265 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
9266 * conform/data/arpa/inet.h-data: Likewise.
9267 * conform/data/assert.h-data: Likewise.
9268 * conform/data/complex.h-data: Likewise.
9269 * conform/data/cpio.h-data: Likewise.
9270 * conform/data/ctype.h-data: Likewise.
9271 * conform/data/dirent.h-data: Likewise.
9272 * conform/data/dlfcn.h-data: Likewise.
9273 * conform/data/errno.h-data: Likewise.
9274 * conform/data/fcntl.h-data: Likewise.
9275 * conform/data/float.h-data: Likewise.
9276 * conform/data/fmtmsg.h-data: Likewise.
9277 * conform/data/fnmatch.h-data: Likewise.
9278 * conform/data/ftw.h-data: Likewise.
9279 * conform/data/glob.h-data: Likewise.
9280 * conform/data/grp.h-data: Likewise.
9281 * conform/data/iconv.h-data: Likewise.
9282 * conform/data/inttypes.h-data: Likewise.
9283 * conform/data/langinfo.h-data: Likewise.
9284 * conform/data/libgen.h-data: Likewise.
9285 * conform/data/limits.h-data: Likewise.
9286 * conform/data/locale.h-data: Likewise.
9287 * conform/data/math.h-data: Likewise.
9288 * conform/data/monetary.h-data: Likewise.
9289 * conform/data/mqueue.h-data: Likewise.
9290 * conform/data/ndbm.h-data: Likewise.
9291 * conform/data/net/if.h-data: Likewise.
9292 * conform/data/netdb.h-data: Likewise.
9293 * conform/data/netinet/in.h-data: Likewise.
9294 * conform/data/nl_types.h-data: Likewise.
9295 * conform/data/poll.h-data: Likewise.
9296 * conform/data/pthread.h-data: Likewise.
9297 * conform/data/pwd.h-data: Likewise.
9298 * conform/data/regex.h-data: Likewise.
9299 * conform/data/sched.h-data: Likewise.
9300 * conform/data/search.h-data: Likewise.
9301 * conform/data/semaphore.h-data: Likewise.
9302 * conform/data/setjmp.h-data: Likewise.
9303 * conform/data/signal.h-data: Likewise.
9304 * conform/data/spawn.h-data: Likewise.
9305 * conform/data/stdarg.h-data: Likewise.
9306 * conform/data/stdio.h-data: Likewise.
9307 * conform/data/stdlib.h-data: Likewise.
9308 * conform/data/string.h-data: Likewise.
9309 * conform/data/strings.h-data: Likewise.
9310 * conform/data/stropts.h-data: Likewise.
9311 * conform/data/sys/ipc.h-data: Likewise.
9312 * conform/data/sys/mman.h-data: Likewise.
9313 * conform/data/sys/msg.h-data: Likewise.
9314 * conform/data/sys/resource.h-data: Likewise.
9315 * conform/data/sys/select.h-data: Likewise.
9316 * conform/data/sys/sem.h-data: Likewise.
9317 * conform/data/sys/shm.h-data: Likewise.
9318 * conform/data/sys/socket.h-data: Likewise.
9319 * conform/data/sys/stat.h-data: Likewise.
9320 * conform/data/sys/statvfs.h-data: Likewise.
9321 * conform/data/sys/time.h-data: Likewise.
9322 * conform/data/sys/timeb.h-data: Likewise.
9323 * conform/data/sys/times.h-data: Likewise.
9324 * conform/data/sys/types.h-data: Likewise.
9325 * conform/data/sys/uio.h-data: Likewise.
9326 * conform/data/sys/un.h-data: Likewise.
9327 * conform/data/sys/utsname.h-data: Likewise.
9328 * conform/data/sys/wait.h-data: Likewise.
9329 * conform/data/syslog.h-data: Likewise.
9330 * conform/data/tar.h-data: Likewise.
9331 * conform/data/termios.h-data: Likewise.
9332 * conform/data/utime.h-data: Likewise.
9333 * conform/data/utmpx.h-data: Likewise.
9334 * conform/data/varargs.h-data: Likewise.
9335 * conform/data/wchar.h-data: Likewise.
9336 * conform/data/wctype.h-data: Likewise.
9337 * conform/data/wordexp.h-data: Likewise.
9338
9339 * include/stropts.h: New file.
9340 * include/uchar.h: New file.
9341 * include/aio.h: Changes to allow conformtest.pl to use the headers.
9342 * include/assert.h: Likewise.
9343 * include/ctype.h: Likewise.
9344 * include/dirent.h: Likewise.
9345 * include/dlfcn.h: Likewise.
9346 * include/fcntl.h: Likewise.
9347 * include/fnmatch.h: Likewise.
9348 * include/glob.h: Likewise.
9349 * include/grp.h: Likewise.
9350 * include/libio.h: Likewise.
9351 * include/locale.h: Likewise.
9352 * include/math.h: Likewise.
9353 * include/net/if.h: Likewise.
9354 * include/netdb.h: Likewise.
9355 * include/netinet/in.h: Likewise.
9356 * include/pthread.h: Likewise.
9357 * include/pwd.h: Likewise.
9358 * include/regex.h: Likewise.
9359 * include/sched.h: Likewise.
9360 * include/search.h: Likewise.
9361 * include/setjmp.h: Likewise.
9362 * include/signal.h: Likewise.
9363 * include/stdio.h: Likewise.
9364 * include/stdlib.h: Likewise.
9365 * include/string.h: Likewise.
9366 * include/sys/cdefs.h: Likewise.
9367 * include/sys/mman.h: Likewise.
9368 * include/sys/msg.h: Likewise.
9369 * include/sys/resource.h: Likewise.
9370 * include/sys/select.h: Likewise.
9371 * include/sys/socket.h: Likewise.
9372 * include/sys/stat.h: Likewise.
9373 * include/sys/statvfs.h: Likewise.
9374 * include/sys/time.h: Likewise.
9375 * include/sys/times.h: Likewise.
9376 * include/sys/uio.h: Likewise.
9377 * include/sys/utsname.h: Likewise.
9378 * include/sys/wait.h: Likewise.
9379 * include/termios.h: Likewise.
9380 * include/time.h: Likewise.
9381 * include/ulimit.h: Likewise.
9382 * include/unistd.h: Likewise.
9383 * include/utime.h: Likewise.
9384 * include/wchar.h: Likewise.
9385 * include/wctype.h: Likewise.
9386 * include/wordexp.h: Likewise.
9387
9388 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
9389
7a270350
UD
9390 * time/time.h: TIME_UTC must be a macro.
9391 Make timespec_get available for ISO C11 only as well.
9392
7724defc
UD
93932012-02-24 Ulrich Drepper <drepper@gmail.com>
9394
9395 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
9396 Reported by Peng Haitao <penght@cn.fujitsu.com>.
9397
6b1d1d46
JM
93982012-02-24 Joseph Myers <joseph@codesourcery.com>
9399
9400 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 9401
0f8bbd69
JM
94022012-02-24 Joseph Myers <joseph@codesourcery.com>
9403
9404 * manual/texinfo.tex: Update to version 2012-01-19.16.
9405
66ab80bc
JM
94062012-02-24 Joseph Myers <joseph@codesourcery.com>
9407
9408 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
9409
74981cc5
RM
94102012-02-24 Roland McGrath <roland@hack.frob.com>
9411
ee968201
RM
9412 [BZ #13738]
9413 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
9414 * manual/fdl-1.3.texi: New file.
9415 * manual/fdl-1.1.texi: File removed.
9416
74981cc5
RM
9417 [BZ #13738]
9418 * manual/libc.texinfo (FDL_VERSION): New @set.
9419 Use it for mention of FDL in cover text.
9420 (Documentation License): Use it in @include file name.
9421
7bb764bc
JM
94222012-02-22 Joseph Myers <joseph@codesourcery.com>
9423 Roland McGrath <roland@hack.frob.com>
9424
9425 [BZ #5461]
9426 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
9427 not LONG_LONG_MAX and LONG_LONG_MIN.
9428 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
9429 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
9430 name.
9431 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
9432
6cbeae47
JM
94332012-02-22 Joseph Myers <joseph@codesourcery.com>
9434
9435 [BZ #2547]
9436 [BZ #11365]
9437 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
9438 manipulate bits before adding and subtracting TWO23[sx].
9439 * math/libm-test.inc (nearbyint_test): Add more tests.
9440
fe45ce09
JM
94412012-02-22 Joseph Myers <joseph@codesourcery.com>
9442
9443 [BZ #2548]
9444 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
9445 bits before adding and subtracting TWO23[sx].
9446 * math/libm-test.inc (rint_test): Add more tests.
9447 (rint_test_tonearest): Likewise.
9448 (rint_test_towardzero): Likewise.
9449 (rint_test_downward): Likewise.
9450 (rint_test_upward: Likewise.
9451
ff3b3d82
JM
94522012-02-22 Joseph Myers <joseph@codesourcery.com>
9453
9454 [BZ #10110]
9455 * include/stdc-predef.h: New file. Extracted from features.h.
9456 * include/features.h: Include stdc-predef.h.
9457 * Makefile (headers): Add stdc-predef.h.
9458 * CONFORMANCE (Compiler limitations): Update.
9459
ef0aab35
JM
94602012-02-22 Joseph Myers <joseph@codesourcery.com>
9461
9462 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9463
58639409
DM
94642012-02-21 David S. Miller <davem@davemloft.net>
9465
9466 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9467 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9468
c0e70b25
DM
94692012-02-20 David S. Miller <davem@davemloft.net>
9470
9471 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9472 using a normal save/restore sequence, rather than allocating a
9473 dummy stack frame just to store a frame pointer and restore.
9474 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9475
fb06851d
JM
94762012-02-21 Joseph Myers <joseph@codesourcery.com>
9477
9478 * manual/install.texi: Fix stray word in line-wrapped comment.
9479
7a8b71c3
DM
94802012-02-20 David S. Miller <davem@davemloft.net>
9481
d510c123
DM
9482 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9483 both binutils and gcc support GOTDATA.
9484
0722d7c2
DM
9485 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9486 "rd %pc" in the PIC register setup sequences.
9487
3d2b3019
DM
9488 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9489 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9490 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9491 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9492 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9493 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9494 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9495 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9496 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9497 (SYSCALL_ERROR_HANDLER): Likewise.
9498 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9500 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9501 (SYSCALL_ERROR_HANDLER): Likewise.
9502
c80098a9
DM
9503 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9504 (HAVE_GCC_GOTDATA): New.
9505 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9506 relocation support in both binutils and gcc.
9507 * sysdeps/sparc/elf/configure: Regenerate.
9508
3a2545a0
DM
9509 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9510 * sysdeps/sparc/sparc32/elf/configure: Delete.
9511 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9512 * sysdeps/sparc/sparc64/elf/configure: Delete.
9513 * sysdeps/sparc/elf/configure.in: New file.
9514 * sysdeps/sparc/elf/configure: Generate.
9515
7a8b71c3
DM
9516 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9517 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9518 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9519 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9520 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9521
f1e86fca
JM
95222012-02-21 Joseph Myers <joseph@codesourcery.com>
9523
9524 * manual/install.texi: Do not mention specific glibc version
9525 numbers.
9526 * manual/libc.texinfo (VERSION, UPDATED): Update.
9527 (@copying): Use @copyright{} and range of years.
9528
0e7dfaef
JM
95292012-02-21 Joseph Myers <joseph@codesourcery.com>
9530
9531 [BZ #13695]
9532 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9533 [crti.S not in sysdirs] (generated): Do not append.
9534 [crti.S not in sysdirs] (omit-deps): Likewise.
9535 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9536 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9537 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9538 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9539 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9540 Likewise.
9541 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9542 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9543 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9544 * csu/defs.awk: Remove file.
9545 * sysdeps/generic/initfini.c: Likewise.
9546 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9547 variable.
9548 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9549 Likewise.
9550
599af3ca
JM
95512012-02-20 Joseph Myers <joseph@codesourcery.com>
9552
9553 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9554 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9555 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9556 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9557 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9558 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9559 <bits/epoll.h>.
9560 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9561 (__EPOLL_PACKED): Define to empty if not defined by
9562 <bits/epoll.h>.
9563 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9565 bits/epoll.h.
9566
0e499750
JM
95672012-02-20 Joseph Myers <joseph@codesourcery.com>
9568
9569 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9570 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9571 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9572 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9573 <bits/timerfd.h>.
9574 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9576 bits/timerfd.h.
9577
5ad91f6e
JM
95782012-02-20 Joseph Myers <joseph@codesourcery.com>
9579
9580 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9581 in C locale.
9582 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9583 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9584 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9586
06b99b02
AJ
95872012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9588
9589 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9590 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9591
7638c0fd
AS
95922012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9593
9594 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9595 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9596 defined.
9597 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9598 Likewise.
9599 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9600 entry for 2.16.
9601
92221550
AJ
96022012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9603
9604 * math/w_acos.c: Use non-signaling floating-point comparisons.
9605 * math/w_acosf.c: Likewise.
9606 * math/w_acosh.c: Likewise.
9607 * math/w_acoshf.c: Likewise.
9608 * math/w_acoshl.c: Likewise.
9609 * math/w_acosl.c: Likewise.
9610 * math/w_asin.c: Likewise.
9611 * math/w_asinf.c: Likewise.
9612 * math/w_asinl.c: Likewise.
9613 * math/w_atanh.c: Likewise.
9614 * math/w_atanhf.c: Likewise.
9615 * math/w_atanhl.c: Likewise.
9616 * math/w_exp2.c: Likewise.
9617 * math/w_exp2f.c: Likewise.
9618 * math/w_exp2l.c: Likewise.
9619 * math/w_j0.c: Likewise.
9620 * math/w_j0f.c: Likewise.
9621 * math/w_j0l.c: Likewise.
9622 * math/w_j1.c: Likewise.
9623 * math/w_j1f.c: Likewise.
9624 * math/w_j1l.c: Likewise.
9625 * math/w_jn.c: Likewise.
9626 * math/w_jnf.c: Likewise.
9627 * math/w_log.c: Likewise.
9628 * math/w_log10.c: Likewise.
9629 * math/w_log10f.c: Likewise.
9630 * math/w_log10l.c: Likewise.
9631 * math/w_log2.c: Likewise.
9632 * math/w_log2f.c: Likewise.
9633 * math/w_log2l.c: Likewise.
9634 * math/w_logf.c: Likewise.
9635 * math/w_logl.c: Likewise.
9636 * math/w_sqrt.c: Likewise.
9637 * math/w_sqrtf.c: Likewise.
9638 * math/w_sqrtl.c: Likewise.
9639 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9640 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9641 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9642 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9643 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9644
ebaf36eb
JM
96452012-02-19 Joseph Myers <joseph@codesourcery.com>
9646
9647 [BZ #9739]
9648 * manual/string.texi (strnlen): Use correct parameter name in
9649 equivalent expression.
9650
71c254a6
JM
96512012-02-19 Joseph Myers <joseph@codesourcery.com>
9652
9653 [BZ #11174]
9654 * manual/users.texi (seteuid): Consistently use neweuid for
9655 argument name.
9656
16d2c631
JM
96572012-02-19 Joseph Myers <joseph@codesourcery.com>
9658
9659 [BZ #13704]
9660 * manual/nss.texi (Services in the NSS configuration): Correct
9661 list of services in example configuration file.
9662
cd837b09
NB
96632012-02-19 Nick Bowler <nbowler@draconx.ca>
9664
9665 [BZ #11322]
9666 * manual/arith.texi: Remove statements about negative zero
9667 behaving identically to zero.
9668
02c4bbad
JM
96692012-02-18 Joseph Myers <joseph@codesourcery.com>
9670
9671 [BZ #5993]
9672 * manual/install.texi: Do not document upgrading from libc5.
9673
366842e7
JM
96742012-02-18 Joseph Myers <joseph@codesourcery.com>
9675
9676 [BZ #4596]
9677 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9678
dd54084d
DM
96792012-02-18 David S. Miller <davem@davemloft.net>
9680
9681 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9682 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9683 %o7 across the call.
9684 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9685 instead.
9686 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9687 SETUP_PIC_REG_LEAF.
9688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9689 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9690 * sysdeps/sparc/crtn.S: Likewise.
9691
2bcc53a3
UD
96922012-02-17 Ulrich Drepper <drepper@gmail.com>
9693
9694 * aout/Makefile: Remove.
9695
09c093b5
RK
96962012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9697
9698 [BZ #13058]
9699 * manual/examples/argp-ex1.c (main): Format definition in GNU
9700 style.
9701 * manual/examples/argp-ex2.c (main): Likewise.
9702 * manual/examples/argp-ex3.c (main): Likewise.
9703 * manual/examples/argp-ex4.c (main): Likewise.
9704 * manual/examples/longopt.c (main): Use new-style prototype
9705 definition.
9706 * manual/examples/strncat.c (main): Specify return type and use
9707 (void) for arguments.
9708 * manual/examples/subopt.c (main): Use char **argv argument.
9709
2ee633a2
JM
97102012-02-17 Joseph Myers <joseph@codesourcery.com>
9711
9712 [BZ #5077]
9713 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9714 rounding modes.
9715
0520adde
FB
97162012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9717
9718 [BZ #6907]
9719 * manual/string.texi (strchr): Change when strchrnul is
9720 recommended.
9721
3f4081cd
DGM
97222012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9723
9724 [BZ #174]
9725 * manual/locale.texi (setlocale): Document LOCPATH.
9726
d1b10e78
JM
97272012-02-17 Joseph Myers <joseph@codesourcery.com>
9728
9729 [BZ #10210]
9730 * manual/process.texi (execle): Move @dots{} before last argument.
9731
79c6869c
PB
97322012-02-17 Paul Bolle <pebolle@tiscali.nl>
9733
9734 [BZ #12047]
9735 * manual/charset.texi (Generic Charset Conversion): Fix typo
9736 (LC_TYPE -> LC_CTYPE).
9737
cc6e48bc
NB
97382012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9739
9740 [BZ #5805]
9741 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9742 (scalbnf): Likewise.
9743 (scalbnl): Likewise.
9744 (scalbln): Likewise.
9745 (scalblnf): Likewise.
9746 (scalblnl): Likewise.
9747 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9748 (vwarnx): Likewise.
9749 (verr): Likewise.
9750 (verrx): Likewise.
9751 * manual/filesys.texi (telldir): Use braces around return type.
9752 * manual/llio.texi (mmap): Add space after comma.
9753 (mmap64): Likewise.
9754 * manual/math.texi (jn): Use @var{} on parameter names.
9755 (jnf): Likewise.
9756 (jnl): Likewise.
9757 (yn): Likewise.
9758 (ynf): Likewise.
9759 (ynl): Likewise.
9760 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9761 line.
9762 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9763 "...".
9764 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9765 (sched_get_priority_max): Likewise.
9766 * manual/signal.texi (sigvec): Add space after comma.
9767 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9768 names.
9769 (if_indextoname): Likewise.
9770 (if_freenameindex): Likewise.
9771 (sendto): Use ',' instead of '.' in prototype.
9772 * manual/startup.texi (syscall): Use @dots{} instead of literal
9773 "...".
9774 * manual/stdio.texi (__fpending): Separate initial words of
9775 paragraph from @deftypefun line.
9776 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9777 "...".
9778 (vsyslog): Use @var{} on parameter names.
9779 * manual/terminal.texi (stty): Use @var{} on parameter names.
9780 * manual/users.texi (getutmp): Use @var{} on parameter names.
9781 (getutmpx): Likewise.
9782
5b23062f
JM
97832012-02-17 Joseph Myers <joseph@codesourcery.com>
9784
9785 [BZ #6884]
9786 * manual/stdio.texi (fopen): Fix typos in description of
9787 ",ccs=STRING".
9788
8dee4833
AJ
97892012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9790
9791 [BZ #4026]
9792 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9793 get clock_id definition.
9794
9078ce93
TS
97952012-02-17 Thomas Schwinge <thomas@schwinge.name>
9796
9797 [BZ #4822]
9798 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9799 (madvise): Cast every argument to void on its own.
9800
3835c55f
JM
98012012-02-17 Joseph Myers <joseph@codesourcery.com>
9802
9803 [BZ #9902]
9804 * manual/startup.texi (Exit Status): Fix typo.
9805
35c47e37
JM
98062012-02-17 Joseph Myers <joseph@codesourcery.com>
9807
9808 [BZ #10140]
9809 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9810 * manual/examples/argp-ex2.c: Likewise.
9811 * manual/examples/argp-ex3.c: Likewise.
9812
e3b69ca7
RH
98132012-02-16 Richard Henderson <rth@redhat.com>
9814
9815 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9816 * sysdeps/s390/s390-32/initfini.c: Remove.
9817 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9818 * sysdeps/s390/s390-64/initfini.c: Remove.
9819
df83af67
KK
98202012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9821
9822 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9823 compiler output for sysdeps/generic/initfini.c.
9824 * sysdeps/sh/elf/initfini.c: Remove file.
9825
f63f3380
DM
98262012-02-16 David S. Miller <davem@davemloft.net>
9827
fb59b3a4
DM
9828 [BZ #11494]
9829 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9830
f63f3380
DM
9831 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9832 * sysdeps/sparc/crti.S: New file.
9833 * sysdeps/sparc/crtn.S: New file.
9834 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9835 * sysdeps/sparc/sparc64/Makefile: Likewise.
9836
df6a4a4a
MF
98372012-02-15 Mike Frysinger <vapier@gentoo.org>
9838
6dd8f3dc 9839 [BZ #3335]
df6a4a4a
MF
9840 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9841
1cac7236
RM
98422012-02-15 Roland McGrath <roland@hack.frob.com>
9843
d2c736f8
RM
9844 [BZ #4822]
9845 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9846
1cac7236
RM
9847 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9848 (write, read, close): Likewise.
9849 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9850
8e475601
JM
98512012-02-15 Joseph Myers <joseph@codesourcery.com>
9852
9853 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9854 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9855 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9856 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9857 <bits/signalfd.h>.
9858 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9859 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9860 bits/signalfd.h.
9861
ed656b40
MP
98622012-02-14 Marek Polacek <polacek@redhat.com>
9863
9864 * sysdeps/x86_64/crti.S: New file.
9865 * sysdeps/x86_64/crtn.S: New file.
9866 * sysdeps/x86_64/elf/initfini.c: Remove file.
9867
2a979d3a
JM
98682012-02-13 Joseph Myers <joseph@codesourcery.com>
9869
9870 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9871 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9872 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9873 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9874 <bits/inotify.h>.
9875 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9876 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9877 bits/inotify.h.
9878
2a418ac3
JM
98792012-02-13 Joseph Myers <joseph@codesourcery.com>
9880
9881 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9882 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9883 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9884 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9885 <bits/eventfd.h>.
9886 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9887 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9888 bits/eventfd.h.
9889
fb779be7
TS
98902012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9891
e19e83c5
RM
9892 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9893 __feraiseexcept instead of feraiseexcept.
7c35ffed 9894
fb779be7
TS
9895 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9896 nanosleep invocations.
9897 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9898 strings, and add error checking for a nanosleep invocations.
9899
59ba27a6
PE
99002012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9901
9902 Replace FSF snail mail address with URLs, as per GNU coding standards.
9903 Most of the snail mail addresses were wrong anyway, and omitting
9904 them makes the source code easier to maintain. Almost all of the
9905 changes are to license notices and to locale LC_IDENTIFICATION
9906 addresses, except for this one:
9907 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9908 not its snail mail address.
9909
57b957eb
RH
99102012-02-09 Richard Henderson <rth@twiddle.net>
9911
af850b1c
RH
9912 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9913 of kernel-features.h.
9914
57b957eb
RH
9915 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9916
6b73181a
MP
99172012-02-08 Marek Polacek <polacek@redhat.com>
9918
9919 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9920 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9921 * sysdeps/gnu/_G_config.h: Likewise.
9922 * sysdeps/generic/_G_config.h: Likewise.
9923
26ecc33a
AS
99242012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9925
6c6dbc63
AS
9926 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9927 tests.
9928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9929
e216c012
AS
9930 * sysdeps/powerpc/powerpc32/crti.S: New file.
9931 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9932 * sysdeps/powerpc/powerpc64/crti.S: New file.
9933 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9934
26ecc33a
AS
9935 * Makeconfig (have-initfini): Don't set.
9936 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9937 * configure.in (nopic_initfini): Don't substitute.
9938 * config.h.in (HAVE_INITFINI): Don't #undef.
9939 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9940 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9941
3add8e13
JM
99422012-02-08 Joseph Myers <joseph@codesourcery.com>
9943
9944 Support crti.S and crtn.S provided directly by architectures.
9945 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9946 [crti.S in sysdirs] (omit-deps): Likewise.
9947 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9948 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9949 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9950 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9951 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9952 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9953 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9954 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9955 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9956 compiler output for sysdeps/generic/initfini.c.
9957 * sysdeps/i386/elf/Makefile: Remove file.
9958 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9959
a22f12b4
MP
99602012-02-07 Marek Polacek <polacek@redhat.com>
9961
9962 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9963 * sysdeps/gnu/_G_config.h: Likewise.
9964 * sysdeps/mach/hurd/_G_config.h: Likewise.
9965
148cf100
MP
99662012-02-07 Marek Polacek <polacek@redhat.com>
9967
9968 * math/Makefile (tests): Add tst-CMPLX2.
9969 * math/tst-CMPLX2.c: New file.
9970
cfdc0dd7
AS
99712012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9972
84ba42c4
AS
9973 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9974
cfdc0dd7
AS
9975 * math/libm-test.inc (jn_test): Add missing L suffix.
9976
622c86f4
MP
99772012-02-06 Marek Polacek <polacek@redhat.com>
9978
9979 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9980 * sysdeps/i386/fpu/e_powf.S: Likewise.
9981 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9982 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9983 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9984 * sysdeps/i386/fpu/e_pow.S: Likewise.
9985 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9986 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9987 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9988 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9989 * sysdeps/i386/fpu/e_log2.S: Likewise.
9990 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9991 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9992 * sysdeps/i386/fpu/e_powl.S: Likewise.
9993 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9994 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9995 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9996 * sysdeps/i386/fpu/e_logl.S: Likewise.
9997 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9998 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9999 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
10000 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
10001 * sysdeps/i386/fpu/e_log2f.S: Likewise.
10002 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
10003 * sysdeps/i386/fpu/e_log.S: Likewise.
10004 * sysdeps/i386/fpu/s_cexp.S: Likewise.
10005 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
10006 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
10007 * sysdeps/i386/fpu/e_logf.S: Likewise.
10008 * sysdeps/i386/fpu/e_log10l.S: Likewise.
10009 * sysdeps/i386/fpu/e_atanh.S: Likewise.
10010 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
10011 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
10012 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
10013 * sysdeps/i386/fpu/e_log10.S: Likewise.
10014 * sysdeps/i386/fpu/s_frexp.S: Likewise.
10015 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
10016 * sysdeps/i386/fpu/s_asinh.S: Likewise.
10017 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
10018 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
10019 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
10020 * sysdeps/i386/asm-syntax.h: Likewise.
10021 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
10022 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
10023 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
10024 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
10025 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
10026 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
10027 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
10028 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
10029 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
10030 * sysdeps/powerpc/sysdep.h: Likewise.
10031 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
10032 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
10033
d4a54ac6
JM
100342012-02-06 Joseph Myers <joseph@codesourcery.com>
10035
10036 [BZ #411]
10037 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
10038
314054ea
JM
100392012-02-06 Joseph Myers <joseph@codesourcery.com>
10040
10041 * sysdeps/i386/sysdep.h: Include <features.h>.
10042 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
10043 version.
10044
d8e0ca50
JM
100452012-02-05 Joseph Myers <joseph@codesourcery.com>
10046
10047 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
10048 Define.
10049 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
10050 LOAD_PIC_REG_STR.
10051
b1da7dd9
JM
100522012-02-03 Joseph Myers <joseph@codesourcery.com>
10053
10054 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
10055 (SETUP_PIC_REG): Use GET_PC_THUNK.
10056 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
10057 macro.
10058
9a1d9254
JM
100592012-02-03 Joseph Myers <joseph@codesourcery.com>
10060
10061 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
10062 for non-PIC compilation.
10063 (SETUP_PIC_REG): Add .p2align directive.
10064 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
10065 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
10066 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
10068 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10069 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
10070 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
10071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
10072 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
10073 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
10074 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
10075 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
10076 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
10077 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
10078 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
10079 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10080 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10081 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
10082 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
10083 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
10084 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10085 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10086 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
10087 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
10088 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10090 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
10091 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10092 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
10093 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
10094 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
10095 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10096 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
10097 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
10098 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
10099 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
10100 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
10101 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
10102 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
10103 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
10104 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
10105
65dc3b75
JM
101062012-02-03 Joseph Myers <joseph@codesourcery.com>
10107
10108 * math/tst-CMPLX.c: Include <stdio.h>.
10109
d55bf177
JM
101102012-01-31 Joseph Myers <joseph@codesourcery.com>
10111
10112 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
10113 float.
10114 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10115 * sysdeps/sparc/bits/mathdef.h: Likewise.
10116
69db4f8f
MP
101172012-01-31 Marek Polacek <polacek@redhat.com>
10118
10119 * libio/libio.h: Don't define _PARAMS.
10120 * locale/programs/config.h: Don't define PARAMS.
10121 * stdlib/strtol_l.c: Likewise.
10122 (__strtol_l): Remove PARAMS from the prototype.
10123
41b81892
UD
101242012-01-31 Ulrich Drepper <drepper@gmail.com>
10125
3b49edc0
UD
10126 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
10127 names. Just use the correct names. Remove unnecessary wrapper
10128 functions.
10129 * malloc/arena.c: Likewise.
10130 * malloc/hooks.c: Likewise.
10131
41b81892
UD
10132 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
10133 ARENA_TEST says not to. Simplify test for creation of a new arena.
10134 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
10135
27a25b6e
UD
101362012-01-30 Ulrich Drepper <drepper@gmail.com>
10137
10138 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
10139 into tail calls.
10140 (update_get_addr): New function.
10141 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
10142 GET_ADDR_MODULE parameter.
10143
c8a89e7d
JM
101442012-01-30 Joseph Myers <joseph@codesourcery.com>
10145
10146 * crypt/cert.c: Remove __STDC__ conditionals.
10147 * crypt/crypt-entry.c: Likewise.
10148 * crypt/crypt_util.c: Likewise.
10149 * libio/filedoalloc.c: Likewise.
10150 * libio/fileops.c: Likewise.
10151 * libio/genops.c: Likewise.
10152 * libio/iofclose.c: Likewise.
10153 * libio/iofdopen.c: Likewise.
10154 * libio/iofopen.c: Likewise.
10155 * libio/iofopen64.c: Likewise.
10156 * libio/iogetdelim.c: Likewise.
10157 * libio/iopopen.c: Likewise.
10158 * libio/obprintf.c: Likewise.
10159 * libio/oldfileops.c: Likewise.
10160 * libio/oldiofclose.c: Likewise.
10161 * libio/oldiofdopen.c: Likewise.
10162 * libio/oldiofopen.c: Likewise.
10163 * libio/oldiopopen.c: Likewise.
10164 * libio/wfiledoalloc.c: Likewise.
10165 * libio/wgenops.c: Likewise.
10166 * locale/programs/xmalloc.c: Likewise.
10167 * misc/syslog.c: Likewise.
10168 * stdio-common/xbug.c: Likewise.
10169 * string/memchr.c: Likewise.
10170 * string/memcmp.c: Likewise.
10171 * string/memrchr.c: Likewise.
10172 * string/rawmemchr.c: Likewise.
10173 * sysdeps/posix/getcwd.c: Likewise.
10174 * time/strftime_l.c: Likewise.
10175
3b100462
JM
101762012-01-30 Joseph Myers <joseph@codesourcery.com>
10177
10178 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
10179 * config.make.in (config-cflags-sse2avx): Define.
10180 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
10181 Fix typo.
10182
607998af
CM
101832012-01-29 Chris Metcalf <cmetcalf@tilera.com>
10184
10185 * scripts/config.guess: Update from upstream config git repository.
10186 * scripts/config.sub: Likewise.
10187
3601428f
CM
101882012-01-28 Chris Metcalf <cmetcalf@tilera.com>
10189
3ac8b282
CM
10190 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
10191 (EM_NUM): Update.
10192 (R_TILEPRO_*, R_TILEGX_*): New macros.
10193
e034841e
CM
10194 * scripts/firstversions.awk: Fix bug in version range handling.
10195
540d7568
CM
10196 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
10197
3601428f
CM
10198 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
10199
463de862
CM
10200 * include/sys/epoll.h: New file.
10201 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
10202 libc_hidden_def.
10203
73139a76
UD
102042012-01-28 Ulrich Drepper <drepper@gmail.com>
10205
96bc5b45
UD
10206 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
10207 Avoid unnecessary __WORDSIZE == 64 test.
10208 (fmaxf): Use VEX format if possible.
10209 (fmax): Likewise.
10210 (fminf): Likewise.
10211 (fmin): Likewise.
10212
56f6f6a2
UD
10213 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
10214 * math/math_private.h: Remove libc_fegetround* and
10215 libc_fesetround*.
10216 * sysdeps/i386/configure.in: Check for -msse2avx.
10217 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
10218 also if SSE2AVX is defined.
10219 Remove libc_fegetround* and libc_fesetround*.
10220 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
10221 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
10222 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
10223 of HAS_YMM_USABLE.
10224 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10225 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10226 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10227 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10228 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
10229
73139a76
UD
10230 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
10231
d73f93a4
AZ
102322012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10233
10234 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
10235 size is not set.
10236 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
10237
6ee65ed6
UD
102382012-01-27 Ulrich Drepper <drepper@gmail.com>
10239
10240 [BZ #13618]
10241 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
10242 relocation.
10243 * Makeconfig (libm): Define.
10244 * elf/Makefile: Add rules to build and run tst-relsort1.
10245 * elf/tst-relsort1.c: New file.
10246 * elf/tst-relsort1mod1.c: New file.
10247 * elf/tst-relsort1mod2.c: New file.
10248
8db21882
JM
102492012-01-27 Joseph Myers <joseph@codesourcery.com>
10250
10251 * math/s_ldexp.c: Remove __STDC__ conditionals.
10252 * math/s_ldexpf.c: Likewise.
10253 * math/s_ldexpl.c: Likewise.
10254 * math/s_nextafter.c: Likewise.
10255 * math/s_nexttowardf.c: Likewise.
10256 * math/s_significand.c: Likewise.
10257 * math/s_significandf.c: Likewise.
10258 * math/s_significandl.c: Likewise.
10259 * math/w_jnl.c: Likewise.
10260 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
10261 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
10262 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
10263 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
10264 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
10265 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10266 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
10267 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10268 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10269 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10270 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10271 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
10274 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10275 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10276 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10278 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
10279 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
10280 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
10281 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10282 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10283 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
10286 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
10287 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
10288 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
10289 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
10290 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
10291 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
10292 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
10293 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
10294 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
10295 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
10296 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
10297 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
10298 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
10299 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
10300 * sysdeps/ieee754/k_standard.c: Likewise.
10301 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
10302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
10303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
10304 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
10305 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
10306 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
10307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
10308 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
10309 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
10310 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
10311 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
10312 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
10313 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
10314 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
10315 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
10316 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10317 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
10318 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
10319 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
10320 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
10321 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10322 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
10323 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
10324 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
10325 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
10326 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
10327 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
10328 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
10329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10330 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
10331 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
10332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
10333 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
10334 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
10335 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
10336 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
10337 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
10338 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
10339 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
10340 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10341 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10342 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
10343 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10344 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10345 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
10346 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
10347 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
10348 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
10349 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
10350 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10351 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
10352 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
10353 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
10354 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
10355 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
10356 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
10357 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
10358 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
10359 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
10360 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
10361 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
10362 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
10363 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
10364 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
10365 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
10366 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
10367 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
10368 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
10369 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
10370 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
10371 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
10372 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
10373 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
10374 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
10375 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
10376 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
10377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
10378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
10379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
10380 * sysdeps/ieee754/s_matherr.c: Likewise.
10381 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
10382 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10383 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10384 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10385
965a54a4
JM
103862012-01-26 Joseph Myers <joseph@codesourcery.com>
10387
10388 * crypt/md5.h: Remove __STDC__ conditionals.
10389 * libio/libioP.h: Likewise.
10390 * locale/programs/config.h: Likewise.
10391 * sysdeps/generic/sysdep.h: Likewise.
10392 * sysdeps/i386/asm-syntax.h: Likewise.
10393 * sysdeps/s390/asm-syntax.h: Likewise.
10394 * sysdeps/unix/sysdep.h: Likewise.
10395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
10396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
10397
7071ad79
JM
103982012-01-26 Joseph Myers <joseph@codesourcery.com>
10399
10400 * libio/libio.h: Remove __STDC__ conditionals.
10401 * malloc/obstack.h: Likewise.
10402 * math/complex.h: Likewise.
10403 * math/math.h: Likewise.
10404 * sysdeps/generic/_G_config.h: Likewise.
10405 * sysdeps/gnu/_G_config.h: Likewise.
10406 * sysdeps/mach/hurd/_G_config.h: Likewise.
10407 * sysdeps/powerpc/bits/mathdef.h: Likewise.
10408 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10409 * sysdeps/sparc/bits/mathdef.h: Likewise.
10410
afc5ed09
UD
104112012-01-26 Ulrich Drepper <drepper@gmail.com>
10412
10413 [BZ #13583]
10414 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 10415 Clean up HAS_* macros.
afc5ed09 10416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
10417 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
10418 possible.
10419 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
10420 HAS_AVX.
10421 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
10422 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
10423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
10424 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
10425 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 10426
bdb6de1d
JM
104272012-01-25 Joseph Myers <joseph@codesourcery.com>
10428
10429 * elf/tst-unique3.cc (gets): Remove declaration.
10430 * elf/tst-unique3lib.cc (gets): Likewise.
10431 * elf/tst-unique3lib2.cc (gets): Likewise.
10432 * elf/tst-unique4.cc (gets): Likewise.
10433
b15549e6
UD
104342012-01-24 Ulrich Drepper <drepper@gmail.com>
10435
10436 * include/stdio.h: Add C++ protection. Add gets declarations and
10437 definitions.
10438 * debug/tst-chk1.c: Don't declare gets here.
10439 * stdio-common/tst-gets.c: Likewise.
10440
a037381f
JM
104412012-01-24 Joseph Myers <joseph@codesourcery.com>
10442
10443 * posix/glob: Remove directory.
10444
f1d4aa75
JM
104452012-01-24 Joseph Myers <joseph@codesourcery.com>
10446
10447 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
10448
81c0c964
PT
104492012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10450
10451 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10452 of the non-standard EPFNOSUPPORT.
10453
0ea698ae
ST
104542011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10455
10456 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10457 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10458 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10459
d220b117
UD
104602012-01-21 Ulrich Drepper <drepper@gmail.com>
10461
10462 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10463
3e1aa84e
UD
104642012-01-20 Ulrich Drepper <drepper@gmail.com>
10465
10466 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10467 transient errors.
10468 * nscd/grpcache.c (cache_addgr): Likewise.
10469 * nscd/hstcache.c (cache_addhst): Likewise.
10470 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10471 * nscd/pwdcache.c (cache_addpw): Likewise.
10472 * nscd/servicescache.c (cache_addserv): Likewise.
10473
400aa020
UD
104742012-01-16 Ulrich Drepper <drepper@gmail.com>
10475
d77e7869
UD
10476 * malloc/malloc.c: Various cleanups.
10477 * malloc/hooks.c: Likewise.
10478
400aa020
UD
10479 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10480 * stdlib/bug-fmtmsg1.c: New file.
10481
10482 * stdlib/fmtmsg.c (init): Add missing unlock.
10483 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10484
e0a309cf
MP
104852012-01-12 Marek Polacek <polacek@redhat.com>
10486
10487 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10488 and _GNU_SOURCE.
10489
929d11c7
WS
104902012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10491
10492 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10493 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10494 macro to ensure uniqueness of label name.
10495 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10496 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10497
41d0e869
UD
104982012-01-11 Ulrich Drepper <drepper@gmail.com>
10499
0cc5ed3b
UD
10500 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10501
41d0e869
UD
10502 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10503 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10504 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10505 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10506
a47a831a
UD
105072012-01-10 Ulrich Drepper <drepper@gmail.com>
10508
daa891c0
UD
10509 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10510
10511 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10512 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10513 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10514
e58ef0f2
UD
10515 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10516
a47a831a 10517 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
10518 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10519 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 10520 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
10521
10522 * math/bits/math-finite.h: Add ldexp support.
10523
a0bfc9c7
MP
105242012-01-10 Marek Polacek <polacek@redhat.com>
10525
10526 * locale/programs/localedef.h (show_archive_content): Add noreturn
10527 attribute.
10528
d6e97a1d
UD
105292012-01-09 Ulrich Drepper <drepper@gmail.com>
10530
10531 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10532
d5835c26
UD
105332012-01-08 Ulrich Drepper <drepper@gmail.com>
10534
e5f484c6
UD
10535 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10536
d5835c26
UD
10537 * io/Makefile (headers): Add bits/poll2.h.
10538
d1f741e9
WS
105392011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10540
10541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10542 typo #include statement.
10543
ec09c1c4
UD
105442012-01-08 Ulrich Drepper <drepper@gmail.com>
10545
10546 * include/sys/cdefs.h: Define __attribute_alloc_size.
10547 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10548 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10549 * elf/pldd.c: Likewise.
10550 * iconv/iconv_charmap.c: Likewise.
10551 * iconv/iconvconfig.c: Likewise.
10552 * iconv/strtab.c: Likewise.
10553 * locale/programs/locale.c: Likewise.
10554 * locale/programs/localedef.h: Likewise.
10555 * locale/programs/simple-hash.c: Likewise.
10556 * nscd/nscd.h: Likewise.
10557 * nss/makedb.c: Likewise.
10558 * sysdeps/generic/ldconfig.h: Likewise.
10559 * locale/programs/localedef.c: Remove xmalloc prototype.
10560 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10561
20b38e03
PP
105622012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10563
10564 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10565 appropriate.
10566
a0da5fe1
UD
105672012-01-08 Ulrich Drepper <drepper@gmail.com>
10568
1d5a644a 10569 * math/Makefile (tests): Add tst-CMPLX.
669704fd 10570 * math/tst-CMPLX.c: New file.
1d5a644a 10571
8784a6db
UD
10572 * math/complex.h (CMPLXL): Fix typo.
10573
d9a216c0
UD
10574 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10575 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10576 GLIBC_2.16.
10577 * debug/tst-chk1.c: Add poll and ppoll tests.
10578 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10579 * include/sys/poll.h: Add hidden proto for ppoll.
10580 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10581 * sysdeps/mach/hurd/ppoll.c: Likewise.
10582 * io/ppoll.c: Likewise.
10583 * debug/poll_chk.c: New file.
10584 * debug/ppoll_chk.c: New file.
10585 * include/bits/poll2.h: New file.
10586 * io/bits/poll2.h: New file.
10587
ac097f5c
UD
10588 [BZ #1350]
10589 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10590
2119dcfa
UD
10591 * configure.in: static is always set to yes. Remove.
10592 * config.make.in: Don't set build-static.
10593 * Makeconfig: Remove use of build-static.
10594 * dlfcn/Makefile: Likewise.
10595 * elf/Makefile: Likewise.
10596 * math/Makefile: Likewise.
10597 * misc/Makefile: Likewise.
10598 * nptl/Makefile: Likewise.
10599 * sysdeps/mach/hurd/Makefile: Likewise.
10600
121766a9
UD
10601 * configure.in: PWD_P is not used anymore.
10602 * config.make.in: Remove PWD_P entry.
10603
51a1d39c 10604 * configure.in: Remove last remnants of RANLIB.
8720d066 10605 No need to check for signed size_t anymore.
215f4bdc
UD
10606 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10607 and IA-64.
3857022a 10608 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
10609 * aclocal.m4: Likewise.
10610
d3ed7225
UD
10611 * wcsmbs/mbrtoc16.c: Implement using towc function.
10612 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10613 * wcsmbs/wcsmbsload.c: Likewise.
10614 * iconv/gconv_simple.c: Likewise.
10615 * iconv/gconv_int.h: Likewise.
10616 * iconv/gconv_builtin.h: Likewise.
10617 * iconv/iconv_prog.c: Remove CHAR16 handling.
10618
10619 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10620
10621 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10622
a0da5fe1
UD
10623 * configure.in: Remove --with-elf and --enable-bounded options.
10624 Dont set base_machine for ia64. More non-ELF conditions removed.
10625 Remove testing and setting of leading underscore information.
10626 * config.make.in (build-bounded): Set to no.
10627 * config.h.in: Remove NO_UNDERSCORES entry.
10628 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10629 them.
10630 * csu/start.c: Remove !NO_UNDERSCORE code.
10631 * locale/localeinfo.h: Likewise.
10632 * sysdeps/generic/machine-gmon.h: Likewise.
10633 * sysdeps/generic/sysdep.h: Likewise.
10634 * sysdeps/i386/sysdep.h: Likewise.
10635 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10636 * sysdeps/mach/sysdep.h: Likewise.
10637 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10638 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10639 * sysdeps/sh/sysdep.h: Likewise.
10640 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10641 * sysdeps/unix/i386/sysdep.S: Likewise.
10642 * sysdeps/unix/sparc/start.c: Likewise.
10643 * sysdeps/unix/sparc/sysdep.S: Likewise.
10644 * sysdeps/unix/sparc/sysdep.h: Likewise.
10645 * sysdeps/unix/start.c: Likewise.
10646 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10647 * sysdeps/x86_64/sysdep.h: Likewise.
10648
df78418a
UD
106492012-01-07 Ulrich Drepper <drepper@gmail.com>
10650
a784e502
UD
10651 [BZ #13553]
10652 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10653 for non-gcc.
10654 * argp/argp-fmtstream.h: Use const instead __const.
10655 * argp/argp.h: Likewise.
10656 * assert/assert.h: Likewise.
10657 * bits/fenv.h: Likewise.
10658 * bits/sched.h: Likewise.
10659 * bits/sigset.h: Likewise.
10660 * bits/sigthread.h: Likewise.
10661 * catgets/nl_types.h: Likewise.
10662 * conform/data/pthread.h-data: Likewise.
10663 * crypt/crypt-private.h: Likewise.
10664 * crypt/crypt.h: Likewise.
10665 * crypt/crypt_util.c: Likewise.
10666 * ctype/ctype.h: Likewise.
10667 * debug/execinfo.h: Likewise.
10668 * debug/mbsnrtowcs_chk.c: Likewise.
10669 * debug/mbsrtowcs_chk.c: Likewise.
10670 * debug/wcsnrtombs_chk.c: Likewise.
10671 * debug/wcsrtombs_chk.c: Likewise.
10672 * debug/wcstombs_chk.c: Likewise.
10673 * dirent/dirent.h: Likewise.
10674 * dlfcn/dlfcn.h: Likewise.
10675 * elf/neededtest4.c: Likewise.
10676 * grp/grp.h: Likewise.
10677 * gshadow/gshadow.h: Likewise.
10678 * iconv/gconv.h: Likewise.
10679 * iconv/gconv_int.h: Likewise.
10680 * iconv/gconv_simple.c: Likewise.
10681 * iconv/iconv.h: Likewise.
10682 * iconv/loop.c: Likewise.
10683 * iconv/skeleton.c: Likewise.
10684 * include/aio.h: Likewise.
10685 * include/aliases.h: Likewise.
10686 * include/argz.h: Likewise.
10687 * include/arpa/inet.h: Likewise.
10688 * include/assert.h: Likewise.
10689 * include/dirent.h: Likewise.
10690 * include/dlfcn.h: Likewise.
10691 * include/execinfo.h: Likewise.
10692 * include/fcntl.h: Likewise.
10693 * include/fenv.h: Likewise.
10694 * include/glob.h: Likewise.
10695 * include/grp.h: Likewise.
10696 * include/libintl.h: Likewise.
10697 * include/mntent.h: Likewise.
10698 * include/netdb.h: Likewise.
10699 * include/pwd.h: Likewise.
10700 * include/rpc/netdb.h: Likewise.
10701 * include/sched.h: Likewise.
10702 * include/search.h: Likewise.
10703 * include/shadow.h: Likewise.
10704 * include/signal.h: Likewise.
10705 * include/stdio.h: Likewise.
10706 * include/stdlib.h: Likewise.
10707 * include/string.h: Likewise.
10708 * include/sys/socket.h: Likewise.
10709 * include/sys/stat.h: Likewise.
10710 * include/sys/statfs.h: Likewise.
10711 * include/sys/statvfs.h: Likewise.
10712 * include/sys/syslog.h: Likewise.
10713 * include/sys/time.h: Likewise.
10714 * include/sys/uio.h: Likewise.
10715 * include/time.h: Likewise.
10716 * include/unistd.h: Likewise.
10717 * include/utmp.h: Likewise.
10718 * include/wchar.h: Likewise.
10719 * include/wctype.h: Likewise.
10720 * inet/aliases.h: Likewise.
10721 * inet/arpa/inet.h: Likewise.
10722 * inet/netinet/ether.h: Likewise.
10723 * inet/netinet/in.h: Likewise.
10724 * intl/libintl.h: Likewise.
10725 * io/bits/fcntl2.h: Likewise.
10726 * io/fcntl.h: Likewise.
10727 * io/ftw.h: Likewise.
10728 * io/sys/poll.h: Likewise.
10729 * io/sys/stat.h: Likewise.
10730 * io/sys/statfs.h: Likewise.
10731 * io/sys/statvfs.h: Likewise.
10732 * io/utime.h: Likewise.
10733 * libio/bits/stdio.h: Likewise.
10734 * libio/bits/stdio2.h: Likewise.
10735 * libio/libio.h: Likewise.
10736 * libio/libioP.h: Likewise.
10737 * libio/stdio.h: Likewise.
10738 * locale/lc-ctype.c: Likewise.
10739 * locale/locale.h: Likewise.
10740 * login/utmp.h: Likewise.
10741 * malloc/arena.c: Likewise.
10742 * malloc/malloc.c: Likewise.
10743 * malloc/malloc.h: Likewise.
10744 * malloc/mcheck.c: Likewise.
10745 * malloc/mtrace.c: Likewise.
10746 * math/bits/mathcalls.h: Likewise.
10747 * math/fenv.h: Likewise.
10748 * math/math_private.h: Likewise.
10749 * misc/bits/error.h: Likewise.
10750 * misc/bits/syslog.h: Likewise.
10751 * misc/err.h: Likewise.
10752 * misc/error.h: Likewise.
10753 * misc/fstab.h: Likewise.
10754 * misc/mntent.h: Likewise.
10755 * misc/regexp.h: Likewise.
10756 * misc/search.h: Likewise.
10757 * misc/sgtty.h: Likewise.
10758 * misc/sys/mman.h: Likewise.
10759 * misc/sys/syslog.h: Likewise.
10760 * misc/sys/uio.h: Likewise.
10761 * misc/sys/xattr.h: Likewise.
10762 * misc/ttyent.h: Likewise.
10763 * nis/rpcsvc/ypclnt.h: Likewise.
10764 * nss/nss.h: Likewise.
10765 * posix/bits/unistd.h: Likewise.
10766 * posix/fnmatch.h: Likewise.
10767 * posix/glob.h: Likewise.
10768 * posix/sched.h: Likewise.
10769 * posix/spawn.h: Likewise.
10770 * posix/sys/wait.h: Likewise.
10771 * posix/unistd.h: Likewise.
10772 * posix/wordexp.h: Likewise.
10773 * pwd/pwd.h: Likewise.
10774 * resolv/netdb.h: Likewise.
10775 * resource/sys/resource.h: Likewise.
10776 * rt/aio.h: Likewise.
10777 * rt/bits/mqueue2.h: Likewise.
10778 * rt/mqueue.h: Likewise.
10779 * shadow/shadow.h: Likewise.
10780 * signal/signal.h: Likewise.
10781 * socket/send.c: Likewise.
10782 * socket/sendto.c: Likewise.
10783 * socket/sys/socket.h: Likewise.
10784 * stdio-common/printf.h: Likewise.
10785 * stdlib/bits/stdlib.h: Likewise.
10786 * stdlib/fmtmsg.h: Likewise.
10787 * stdlib/monetary.h: Likewise.
10788 * stdlib/stdlib.h: Likewise.
10789 * stdlib/ucontext.h: Likewise.
10790 * streams/stropts.h: Likewise.
10791 * string/argz.h: Likewise.
10792 * string/bits/string2.h: Likewise.
10793 * string/string.h: Likewise.
10794 * string/strings.h: Likewise.
10795 * sunrpc/rpc/auth.h: Likewise.
10796 * sunrpc/rpc/auth_des.h: Likewise.
10797 * sunrpc/rpc/clnt.h: Likewise.
10798 * sunrpc/rpc/netdb.h: Likewise.
10799 * sunrpc/rpc/pmap_clnt.h: Likewise.
10800 * sunrpc/rpc/xdr.h: Likewise.
10801 * sysdeps/generic/inttypes.h: Likewise.
10802 * sysdeps/generic/net/if.h: Likewise.
10803 * sysdeps/generic/sys/swap.h: Likewise.
10804 * sysdeps/gnu/net/if.h: Likewise.
10805 * sysdeps/gnu/utmpx.h: Likewise.
10806 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10807 * sysdeps/i386/i486/bits/string.h: Likewise.
10808 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10809 * sysdeps/s390/bits/string.h: Likewise.
10810 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10811 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10812 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10813 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10814 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10815 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10816 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10817 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10818 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10819 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10820 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10821 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10822 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10823 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10824 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10825 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10826 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10828 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10829 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10830 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10831 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10832 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10833 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10834 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10835 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10836 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10837 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10838 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10839 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10840 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10841 * sysvipc/sys/ipc.h: Likewise.
10842 * sysvipc/sys/msg.h: Likewise.
10843 * sysvipc/sys/sem.h: Likewise.
10844 * sysvipc/sys/shm.h: Likewise.
10845 * termios/termios.h: Likewise.
10846 * time/sys/time.h: Likewise.
10847 * time/time.h: Likewise.
10848 * wcsmbs/bits/wchar2.h: Likewise.
10849 * wcsmbs/uchar.h: Likewise.
10850 * wcsmbs/wchar.h: Likewise.
10851 * wctype/wctype.h: Likewise.
10852
0269750c
UD
10853 [BZ #13551]
10854 * Makeconfig: Remove all but ELF support including AIX support.
10855 * Makerules: Likewise.
10856 * config.h.in: Likewise.
10857 * config.make.in: Likewise.
10858 * configure: Likewise.
10859 * configure.in: Likewise.
10860 * csu/Makefile: Likewise.
10861 * csu/version.c: Likewise.
10862 * debug/Makefile: Likewise.
10863 * dlfcn/Makefile: Likewise.
10864 * elf/Makefile: Likewise.
10865 * extra-lib.mk: Likewise.
10866 * iconv/Makefile: Likewise.
10867 * include/libc-symbols.h: Likewise.
10868 * include/shlib-compat.h: Likewise.
10869 * resolv/Makefile: Likewise.
10870 * resolv/res_libc.c: Likewise.
10871 * rt/Makefile: Likewise.
10872 * sysdeps/i386/asm-syntax.h: Likewise.
10873 * sysdeps/i386/sysdep.h: Likewise.
10874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10875 * sysdeps/mach/sysdep.h: Likewise.
10876 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10877 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10878 * sysdeps/s390/asm-syntax.h: Likewise.
10879 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10880 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10881 * sysdeps/sh/sysdep.h: Likewise.
10882 * sysdeps/unix/sparc/sysdep.h: Likewise.
10883 * sysdeps/wordsize-32/divdi3.c: Likewise.
10884 * sysdeps/x86_64/sysdep.h: Likewise.
10885
00bbd29b
UD
10886 * argp/Versions: Remove _argp_unlock_xxx.
10887
10888 [BZ #13559]
10889 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10890 * abilist/libBrokenLocale.abilist: Likewise.
10891 * abilist/libanl.abilist: Likewise.
10892 * abilist/libc.abilist: Likewise.
10893 * abilist/libcrypt.abilist: Likewise.
10894 * abilist/libdl.abilist: Likewise.
10895 * abilist/libm.abilist: Likewise.
10896 * abilist/libnsl.abilist: Likewise.
10897 * abilist/libpthread.abilist: Likewise.
10898 * abilist/libresolv.abilist: Likewise.
10899 * abilist/librt.abilist: Likewise.
10900 * abilist/libthread_db.abilist: Likewise.
10901 * abilist/libutil.abilist: Likewise.
10902 * abilist/libnss_db.abilist: New file.
10903
10904 * scripts/abilist.awk: Add support for indirect functions.
10905
a2693a0e
UD
10906 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10907
3f05895f
UD
10908 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10909
ecb6fb48
UD
10910 * shlib-versions: Remove entries for ports architectures.
10911
664f8cb9
UD
10912 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10913 files in ports.
10914 * elf/stackguard-macros.h: Remove support for IA-64.
10915 * elf/tst-auditmod1.c: Likewise.
10916 * sysdeps/generic/ldsodefs.h: Likewise.
10917
7ae81d88
UD
10918 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10919 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10920 configure files.
10921
bdeba135
UD
10922 [BZ #13552]
10923 * configure.in: Remove --enable-omitfp support.
10924 * FAQ.in: Adjust.
10925 * config.make.in: Likewise.
10926 * Makeconfig: Likewise.
10927 * manual/install.texi: Likewise.
10928
d75a0a62
UD
10929 In case anyone cares, the IA-64 architecture could move to ports.
10930 * sysdeps/ia64/*: Removed.
10931 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 10932 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 10933
dcc9756b
UD
10934 [BZ #13555]
10935 * configure.in: Remove entries for unsupported architectures.
10936
d3761ebc 10937 [BZ #13533]
9954432e
UD
10938 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10939 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10940 routines.
10941 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10942 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10943 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10944 fall back to using wcrtomb.
10945 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10946 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10947 renaming.
10948 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10949 * wcsmbs/tst-c16c32-1.c: New file.
10950
10951 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10952 local variable.
10953
c3a87236
UD
10954 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10955
28926a1b
UD
10956 * elf/tst-unique3.cc: Add explicit declaration of gets.
10957 * elf/tst-unique3lib.cc: Likewise.
10958 * elf/tst-unique3lib2.cc: Likewise.
10959 * elf/tst-unique4.cc: Likewise.
10960
df78418a
UD
10961 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10962
8ecd6b2a
JM
109632012-01-06 Joseph Myers <joseph@codesourcery.com>
10964
10965 [BZ #13566]
10966 * assert/assert.h (static_assert): Don't define for C++.
10967 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10968 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10969
9f115170
UD
109702012-01-03 Ulrich Drepper <drepper@gmail.com>
10971
5e0d0300
UD
10972 * iconv/loop.c (single loop): Fix assertion in storing of
10973 remaining bytes.
10974
9f115170
UD
10975 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10976
81fb02b0
UD
109772012-01-01 Ulrich Drepper <drepper@gmail.com>
10978
10979 * posix/getconf.c: Update copyright year.
10980 * nss/getent.c: Likewise.
a316c1f6 10981 * nss/makedb.c: Likewise.
81fb02b0
UD
10982 * iconv/iconvconfig.c: Likewise.
10983 * iconv/iconv_prog.c: Likewise.
10984 * elf/ldconfig.c: Likewise.
a316c1f6
UD
10985 * elf/pldd.c: Likewise.
10986 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
10987 * catgets/gencat.c: Likewise.
10988 * csu/version.c: Likewise.
10989 * elf/ldd.bash.in: Likewise.
10990 * elf/sprof.c (print_version): Likewise.
10991 * locale/programs/locale.c: Likewise.
10992 * locale/programs/localedef.c: Likewise.
a316c1f6 10993 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
10994 * nscd/nscd.c (print_version): Likewise.
10995 * debug/xtrace.sh: Likewise.
10996 * malloc/memusage.sh: Likewise.
10997 * malloc/mtrace.pl: Likewise.
10998 * debug/catchsegv.sh: Likewise.
10999
2ba92745
JJ
110002011-12-30 Jakub Jelinek <jakub@redhat.com>
11001
11002 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
11003 pure attribute.
11004
dadebdae
UD
110052011-12-24 Ulrich Drepper <drepper@gmail.com>
11006
d3761ebc 11007 [BZ #13533]
db6af3eb
UD
11008 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
11009 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
11010 transformations.
11011 * iconv/gconv_int.h: Likewise.
11012 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
11013 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
11014 from libc for GLIBC_2.16.
11015 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
11016 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
11017 * wcsmbs/uchar.h: Really define mbstate_t.
11018 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
11019 * wcsmbs/c16rtomb.c: New file.
11020 * wcsmbs/mbrtoc16.c: New file.
11021 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
11022 for C/POSIX locale.
11023 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
11024 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
11025
dadebdae
UD
11026 * wcsmbs/wchar.h: Add missing __restrict.
11027
67371b56
UD
110282011-12-23 Ulrich Drepper <drepper@gmail.com>
11029
74033a25
UD
11030 [BZ #13532]
11031 * time/Makefile (routines): Add timespec_get.
11032 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
11033 * time/time.h: Define TIME_UTC and declare timespec_get. Define
11034 timespec for ISO C11.
11035 * time/timespec_get.c: New file.
11036 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
11037 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
11038
380d7e87
UD
11039 [BZ #13531]
11040 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
11041 * stdlib/stdlib.h: Declare aligned_alloc.
11042 * Versions.def: Add GLIBC_2.16 for libc.
11043 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
11044
4e9e7a35
UD
11045 [BZ 13527]
11046 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
11047 ISO C11.
11048
380d7e87 11049 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
11050 code.
11051
03a71829
UD
11052 [BZ #13528]
11053 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
11054
839e283e
UD
11055 [BZ #13529]
11056 * assert/assert.h (static_assert): Define.
11057
ce5294e2 11058 * version.h: Update for 2.16 development version.
90fa7312 11059
8d44e150 11060 [BZ #13526]
d7809905
UD
11061 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
11062 _ISOC11_SOURCE.
11063
c0da14cd
UD
11064 * version.h (RELEASE): Bump for 2.15 release.
11065 * include/features.h (__GLIBC_MINOR__): Bump to 15.
11066
530a3249
MP
11067 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
11068 Patch by Marek Polacek <mpolacek@redhat.com>.
11069
67371b56
UD
11070 * bits/byteswap.h: Protect long long constants with __extension__.
11071 * sysdeps/i386/bits/byteswap.h: Likewise.
11072 * sysdeps/ia64/bits/byteswap.h: Likewise.
11073 * sysdeps/s390/bits/byteswap.h: Likewise.
11074 * sysdeps/x86_64/bits/byteswap.h: Likewise.
11075
15db4de1
LD
110762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11077
11078 [BZ #13540]
bbe315ea
LD
11079 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
11080 destination buffer.
15db4de1
LD
11081 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
11082
2b2596b1
MP
110832011-12-23 Marek Polacek <polacek@redhat.com>
11084
11085 * elf/dl-addr.c (determine_info): Add inline keyword.
11086 * elf/tst-auditmod4b.c (check_avx): Likewise.
11087 * elf/tst-auditmod6b.c (check_avx): Likewise.
11088 * elf/tst-auditmod6c.c (check_avx): Likewise.
11089 * elf/tst-auditmod7b.c (check_avx): Likewise.
11090
70c6c246
UD
110912011-12-23 Ulrich Drepper <drepper@gmail.com>
11092
11093 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
11094 !__SSE_MATH__.
11095
c044cf14
LD
110962011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11097
15db4de1 11098 [BZ #13540]
c044cf14
LD
11099 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
11100 processing for last bytes.
11101
6b13d9d9
BH
111022011-08-06 Bruno Haible <bruno@clisp.org>
11103
d455f537
BH
11104 [BZ #13061]
11105 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
11106 U+0385, not to U+1FEE.
11107
6b13d9d9
BH
11108 [BZ #13062]
11109 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
11110 entry for U+00A5 U+0301.
11111
db910efd
UD
111122011-12-22 Ulrich Drepper <drepper@gmail.com>
11113
27deeafc
UD
11114 [BZ #13166]
11115 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
11116 buffer for the output is too small.
11117
aed9d171
UD
11118 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
11119 optimization.
11120
db910efd
UD
11121 [BZ #13185]
11122 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
11123 SSE flags if possible.
11124
2bd779ae
LD
111252011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11126
e7f9dac3 11127 [BZ #13540]
2bd779ae
LD
11128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
11129 processing for last bytes.
11130
154bfc16
JM
111312011-12-22 Joseph Myers <joseph@codesourcery.com>
11132
11133 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
11134 (syscall-list-default-options, syscall-list-default-condition)
11135 (syscall-list-includes): Define.
11136 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
11137 list of ABIs and options and #if conditions for each ABI. Do not
11138 handle common syscalls between ABIs specially.
11139 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
11140 Remove.
11141 (syscall-list-variants, syscall-list-32bit-options)
11142 (syscall-list-32bit-condition, syscall-list-64bit-options)
11143 (syscall-list-64bit-condition): Define.
11144 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
11145 (syscall-list-variants, syscall-list-32bit-options)
11146 (syscall-list-32bit-condition, syscall-list-64bit-options)
11147 (syscall-list-64bit-condition): Define.
11148 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
11149 Remove.
11150 (syscall-list-variants, syscall-list-32bit-options)
11151 (syscall-list-32bit-condition, syscall-list-64bit-options)
11152 (syscall-list-64bit-condition): Define.
11153 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
11154 Remove.
11155 (syscall-list-variants, syscall-list-32bit-options)
11156 (syscall-list-32bit-condition, syscall-list-64bit-options)
11157 (syscall-list-64bit-condition): Define.
11158
21eaf3a5
UD
111592011-12-22 Ulrich Drepper <drepper@gmail.com>
11160
16c6f992
UD
11161 * locale/iso-639.def: Add brx entry.
11162
41043168
UD
11163 [BZ #13328]
11164 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
11165 Proposed by Mariusz_Cukr <marcukr@op.pl>.
11166
21eaf3a5
UD
11167 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
11168 __feraiseexcept_renamed.
11169
e3a851a2
UD
111702011-12-21 Ulrich Drepper <drepper@gmail.com>
11171
4920765e
UD
11172 [BZ #13538]
11173 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
11174 EPOLLET with unsigned values.
11175 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
11176 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
11177
e3a851a2
UD
11178 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
11179 to large cancellation.
11180 * math/s_cacoshf.c: Likewise.
11181 * math/s_cacoshl.c: Likewise.
11182
b27e24b8
RK
111832011-11-18 Richard B. Kreckel <kreckel@ginac.de>
11184
11185 [BZ #13305]
aebefeee 11186 [BZ #12786]
b27e24b8
RK
11187 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
11188 * math/s_cacoshf.c: Likewise.
11189 * math/s_cacoshl.c: Likewise.
11190
ee190f67
UD
111912011-12-21 Ulrich Drepper <drepper@gmail.com>
11192
11193 [BZ #13439]
11194 * iconv/gconv.h: Define __GCONV_SWAP.
11195 * iconvdata/unicode.c: The swap bit must be stored in __flags.
11196 * iconvdata/utf-16.c: Likewise.
11197 * iconvdata/utf-32.c: Likewise.
11198
707f25df
AS
111992011-12-21 Andreas Schwab <schwab@linux-m68k.org>
11200
11201 [BZ #13524]
11202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
11203 numerator after shifting it by one limb.
11204
d2daaa1e
RÁE
112052011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
11206
11207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
11208 under [__USE_EXTERN_INLINES].
11209
a4647e72
UD
112102011-12-17 Ulrich Drepper <drepper@gmail.com>
11211
11212 [BZ #13446]
11213 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
11214
f0b264f1
AZ
112152011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11216
11217 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
11218 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
11219 optimized code.
11220 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
11221 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
11222 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
11223 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
11224 for strncasecmp/strncasecmp_l compilation.
11225 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
11226 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
11227
8ef4f244
MP
112282011-12-08 Marek Polacek <mpolacek@redhat.com>
11229
11230 [BZ #13484]
11231 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
11232 of __asm__.
11233
97ac2654
UD
112342011-12-17 Ulrich Drepper <drepper@gmail.com>
11235
11236 [BZ #13506]
11237 * time/tzfile.c (__tzfile_read): Check values from file header.
11238
91d2a845
WS
112392011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
11240
11241 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
11242 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
11243 * powerpc/powerpc32/dl-start.S: Likewise.
11244 * powerpc/powerpc32/elf/start.S: Likewise.
11245 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11246 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
11247 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
11248 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
11249 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
11250 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
11251 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
11252 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
11253 * powerpc/powerpc32/fpu/s_round.S: Likewise.
11254 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
11255 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
11256 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
11257 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
11258 * powerpc/powerpc32/memset.S: Likewise.
11259 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
11260 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11261 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11262 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11263 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11264 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11265 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11266 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11267 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
11268 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
11269 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
11270 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
11271 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
11272
a1267ba1
AZ
112732011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11274
11275 * math/libm-test.inc: Added more nearbyint tests.
11276 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
11277 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
11278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
11279 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
11280
ad8ac1bd
RL
112812011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
11282
11283 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
11284 FD_CLOEXEC.
11285
1d3e4b61
UD
112862011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11287
11288 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
11289 Add wcscpy-ssse3 wcscpy-c.
11290 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
11291 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
11292 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
11293 * sysdeps/x86_64/wcschr.S: New file.
11294 * sysdeps/x86_64/wcsrchr.S: New file.
11295 * string/test-strcmp.c: Remove checking of wcscmp function for
11296 wrong alignments.
11297 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
11298 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
11299 wcsrchr-sse2 wcsrchr-c.
11300 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
11301 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
11302 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
11303 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
11304 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
11305 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
11306 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
11307 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
11308 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
11309 * wcsmbc/wcschr.c (WCSCHR): New macro.
11310
5b330a2d
UD
113112011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11312
11313 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
11314 * wcsmbs/test-wcsrchr.c: New file.
11315 * string/test-strrchr.c: Add wcsrchr support.
11316 (WIDE): New macro.
11317 * wcsmbs/test-wcscpy.c: New file.
11318 * string/test-strcpy.c: Add wcscpy support.
11319 (WIDE): New macro.
26428b7c 11320
f039c043
UD
113212011-12-10 Ulrich Drepper <drepper@gmail.com>
11322
11323 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
11324 the inner loop.
11325
850fb039
AS
113262011-12-06 Andreas Schwab <schwab@linux-m68k.org>
11327
11328 [BZ #13472]
11329 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
11330
4efbd5cb
UD
113312011-12-04 Ulrich Drepper <drepper@gmail.com>
11332
52ff5dd0 11333 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 11334 Minor optimizations.
52ff5dd0 11335
4efbd5cb
UD
11336 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
11337 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
11338 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
11339
8a426e12
UD
113402011-12-03 Ulrich Drepper <drepper@gmail.com>
11341
aff2453d
UD
11342 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
11343 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
11344 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
11345 for gcc to avoid warnings.
11346 * inet/Makefile (tests): Add tst-checks.
11347 * inet/tst-checks.c: New file.
11348
11349 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
11350 warning.
11351
11352 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
11353 __wmemcmp_sse2.
11354
11355 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
11356 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
11357
8a426e12
UD
11358 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
11359
9bea3473
UD
113602011-12-02 Ulrich Drepper <drepper@gmail.com>
11361
3a965496
UD
11362 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
11363 problem.
11364
9bea3473
UD
11365 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
11366
f101631b
UD
113672011-11-29 Joseph Myers <joseph@codesourcery.com>
11368
11369 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
11370 conditional on GCC version.
11371 (__arch_compare_and_exchange_val_8_acq)
11372 (__arch_compare_and_exchange_val_16_acq)
11373 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
11374 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
11375 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
11376
a98275aa
UD
113772011-12-02 Joseph Myers <joseph@codesourcery.com>
11378
11379 * sysdeps/sh/backtrace.c: New file.
11380
d4cc29a2
AS
113812011-12-02 Andreas Schwab <schwab@redhat.com>
11382
11383 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
11384 parenthesis.
11385
6257af2d
AS
113862011-12-01 Andreas Schwab <schwab@redhat.com>
11387
11388 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
11389 falling back to utime.
11390
b5f44c1a
AS
113912011-11-30 Andreas Schwab <schwab@redhat.com>
11392
11393 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
11394 expectations for float.
11395
f3a6cc0a
AS
113962011-11-29 Andreas Schwab <schwab@redhat.com>
11397
11398 * locale/weight.h (findidx): Add parameter len.
11399 * locale/weightwc.h (findidx): Likewise.
11400 * posix/fnmatch_loop.c (FCT): Adjust caller.
11401 * posix/regcomp.c (build_equiv_class): Likewise.
11402 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
11403 * posix/regexec.c (check_node_accept_bytes): Likewise.
11404 * string/strcoll_l.c (STRCOLL): Likewise.
11405 * string/strxfrm_l.c (STRXFRM): Likewise.
11406
9d65ea3a
UD
114072011-11-17 Ulrich Drepper <drepper@gmail.com>
11408
11409 * Makefile.in: Remove CVSOPT handling.
11410 * configure.in: Remove use of AC_REVISION.
11411 * iconvdata/Makefile (distribute): No need to filter out CVS.
11412 * scripts/list-sources.sh: Remove CVS, subversion and monotone
11413 handling.
11414
5583a086
AS
114152011-11-16 Andreas Schwab <schwab@redhat.com>
11416
11417 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
11418 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
11419 [USE_AS_STRNCASECMP_L]: Likewise.
11420 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
11421 NO_TLS_DIRECT_SEG_REFS.
11422 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
11423 Fix argument offsets for non-PIC.
11424 [USE_AS_STRNCASECMP_L]: Likewise.
11425 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
11426 NO_TLS_DIRECT_SEG_REFS.
11427
d62a8200
UD
114282011-11-15 Ulrich Drepper <drepper@gmail.com>
11429
9d65ea3a 11430 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
11431 O_CLOEXEC.
11432 * locale/loadlocale.c (_nl_load_locale): Likewise.
11433
09f93bd3
AS
114342011-11-15 Andreas Schwab <schwab@redhat.com>
11435
446514f9
AS
11436 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
11437 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
11438 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
11439 (SYSCALL_GETTIME): Set errno on error.
11440
09f93bd3
AS
11441 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
11442 count references to noai6ai_cached.
11443
312be3f9
UD
114442011-11-15 Ulrich Drepper <drepper@gmail.com>
11445
11446 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
11447
11448 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
11449 FD_CLOEXEC for /proc/self/maps.
11450
11451 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11452 FD_CLOEXEC for /proc/meminfo.
11453
11454 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11455 gai.conf.
11456
11457 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11458 FD_CLOEXEC for given file.
11459
11460 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11461
11462 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11463 FD_CLOEXEC for /etc/hosts.
11464 (_gethtent): Likewise.
11465
11466 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11467
11468 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11469 cancellation and set FD_CLOEXEC for /etc/netgroup.
11470
11471 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11472 reading /etc/publickey.
11473
11474 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11475 allow cancellation when reading /etc/group.
11476
11477 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11478 cancellation.
11479 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11480
11481 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11482 when using data file.
11483
11484 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11485
11486 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11487 (write_nis_obj): Use "c" and "e" in fopen.
11488
11489 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11490
11491 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11492
11493 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11494
11495 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11496
11497 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11498 locale.alias.
11499
11500 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11501
11502 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11503
11504 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11505
11506 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11507 file parsing and set FD_CLOEXEC.
11508
82af0fa8
UD
115092011-11-14 Ulrich Drepper <drepper@gmail.com>
11510
11511 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11512
a5fb313c
AS
115132011-11-14 Andreas Schwab <schwab@redhat.com>
11514
11515 * malloc/arena.c (arena_get2): Don't call reused_arena when
11516 _int_new_arena failed.
11517
6abf3465
UD
115182011-11-14 Ulrich Drepper <drepper@gmail.com>
11519
11520 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11521 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11524 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11525 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11526 to compile strcasecmp and strncasecmp.
11527 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11528 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11529
11530 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11531
76e3966e
UD
115322011-11-13 Ulrich Drepper <drepper@gmail.com>
11533
11534 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11535 locale-defines.sym to gen-as-const-headers.
11536 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11537 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11538 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11539 to compile strcasecmp and strncasecmp.
11540 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11541 strcasecmp_l and strncasecmp_l.
11542 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11543 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11544 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11545 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11546 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11547 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11548 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11549 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11550 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11551 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11552 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11553
ab26144e
UD
115542011-11-12 Ulrich Drepper <drepper@gmail.com>
11555
7edb22ef
UD
11556 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11557 result of SYSDEP_GETTIME_CPU to retval.
11558 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11559 parameter list to macro. Remove trailing semicolon. Adjust users.
11560
9694fc44
UD
11561 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11562 variable.
11563
8ad89ef8
UD
11564 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11565 mantissa words.
11566 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11567
0c822ef9
UD
11568 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11569 from unused variable.
11570
874e0564
UD
11571 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11572 DWARF definitions.
11573 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11574 for assembling.
11575
3a2edc79
UD
11576 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11577 over namespaces.
11578
f3c2577f
UD
11579 * sunrpc/rpc_prot.c (rejected): Fix case value.
11580
294ce126
UD
11581 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11582 unsigned long long int to avoid warnings in shift.
11583
5e2b63c6
UD
11584 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11585 of use of trans.
11586 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11587 variable tmp.
11588
e7f4b08e
UD
11589 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11590 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11591 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11592
ab26144e
UD
11593 * nis/nis_table.c (nis_list): Use variable of correct type for
11594 result of __follow_path call.
11595
8a6d5255
AZ
115962011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11597
11598 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11599 of math functions ceil, trunc, floor, round, and sqrt, when
11600 avaliable on the platform.
11601 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11602 name clash.
11603 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11604 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11605 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11606
aaddc98c
MP
116072011-10-30 Marek Polacek <mpolacek@redhat.com>
11608
11609 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11610 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11611
95b7042b
RM
116122011-11-11 Roland McGrath <roland@hack.frob.com>
11613
11614 * include/unistd.h: Fix __readlink return type.
11615 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11616
57769839
UD
116172011-11-11 Ulrich Drepper <drepper@gmail.com>
11618
11619 * stdlib/ucontext.h: Undo last change for makecontext.
11620
edc5984d
AS
116212011-11-11 Andreas Schwab <schwab@redhat.com>
11622
98591e58
AS
11623 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11624
edc5984d
AS
11625 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11626 * setjmp/setjmp.h: Mark functions as non-leaf.
11627 * setjmp/bits/setjmp2.h: Likewise.
11628 * stdlib/ucontext.h: Likewise.
11629
77cdc054
AS
116302011-11-10 Andreas Schwab <schwab@redhat.com>
11631
11632 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11633 (reused_arena): Don't check arena limit.
11634 (arena_get2): Atomically check arena limit.
11635
fe72eebd
UD
116362011-11-08 Ulrich Drepper <drepper@gmail.com>
11637
5f078c32
UD
11638 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11639 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11640
fe72eebd
UD
11641 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11642 instructions.
11643
ae1bc2fa
AS
116442011-11-07 Andreas Schwab <schwab@redhat.com>
11645
7583a88d
AS
11646 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11647 handler when locking.
11648
ae1bc2fa
AS
11649 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11650 Fix size of allocated buffer.
11651
10fb0bfa
AS
116522011-11-04 Andreas Schwab <schwab@redhat.com>
11653
998832a4
AS
11654 [BZ #10103]
11655 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11656 declarations for long double functions.
11657 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11658
10fb0bfa
AS
11659 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11660
3d7ba52b
AS
116612011-11-03 Andreas Schwab <schwab@redhat.com>
11662
a9ae54a1
AS
11663 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11664 installed.
11665
3d7ba52b
AS
11666 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11667 is disabled.
11668
bc8db248
ST
116692011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11670
11671 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11672
45b96dd6
AS
116732011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11674
647776f6
AS
11675 * include/alloca.h (stackinfo_alloca_round): Define.
11676 (extend_alloca): Use it.
11677 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11678 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11679 here.
11680
d91a8b93
AS
11681 * scripts/check-local-headers.sh: Ignore libaudit.h.
11682
45b96dd6
AS
11683 * nscd/Makefile (extra-objs): Make recursively expanded.
11684
432d41ce
UD
116852011-11-01 Ulrich Drepper <drepper@gmail.com>
11686
34372fc6
UD
11687 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11688 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11689
fadb59f8
UD
11690 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11691 * posix/tst-rfc3484-2.c: Likewise.
11692 * posix/tst-rfc3484-3.c: Likewise.
11693
78239589
UD
11694 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11695 process_vm_writev.
11696 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11697 process_vm_writev.
11698 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11699 process_vm_writev from libc using GLIBC_2.15 version.
11700
432d41ce
UD
11701 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11702
02f9c6cf
PP
117032011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11704
11705 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11706 stack usage.
11707
3a2c0242
UD
117082011-10-31 Ulrich Drepper <drepper@gmail.com>
11709
f4ec4833
UD
11710 [BZ #13367]
11711 * nss/getent.c (initgroups_keys): Show error message in case no group
11712 names are given.
11713
3a2c0242
UD
11714 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11715 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11716 __bump_nl_timestamp.
11717 * nscd/connections (nscd_init): When host database is served open
11718 netlink socket and request notification about configuration changes.
11719 (main_loop_poll): Track netlink file descriptor and bump timestamp
11720 in case data becomes available.
11721 (main_loop_epoll): Likewise.
11722 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11723 (database_pers_head): Add extra_data fileds.
11724 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11725 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11726 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11727 Adjust caller.
11728 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11729 in6ai data, call __free_in6ai.
11730 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11731 Add -DHAVE_NETLINK.
11732 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11733 interface information. Reuse previous data if netlink timestamp
11734 is not changed.
11735 (__bump_nl_timestamp): New function.
11736 (__free_in6ai): New function.
11737
636064eb
UD
117382011-10-30 Ulrich Drepper <drepper@gmail.com>
11739
11740 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11741 close_not_cancel_no_status here.
11742 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11743
9beb2334
UD
117442011-10-29 Ulrich Drepper <drepper@gmail.com>
11745
6ef76f3b
UD
11746 [BZ #13276]
11747 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11748 return value.
11749
0ffc4f3e 11750 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
11751 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11752 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11753
cb95113e
UD
117542011-07-03 Andreas Jaeger <aj@suse.de>
11755
11756 [BZ #10709]
11757 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11758 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11759 * math/libm-test.inc (sin_test): Add test case.
11760
a1b560ff
UD
117612011-10-29 Ulrich Drepper <drepper@gmail.com>
11762
c9aaface
UD
11763 [BZ #13337]
11764 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11765 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11766
d272e7f1
UD
11767 * elf/chroot_canon.c (chroot_canon): Cleanups.
11768
1bc33071
UD
11769 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11770
1760874d
TJ
11771 [BZ #13335]
11772 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11773 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11774
51d91b18
UD
11775 * string/test-strchr.c: Make usable for strchrnul testing.
11776 * string/test-strchrnul.c: New file.
11777 * string/Makefile (strop-tests): Add strchrnul.
11778
a1b560ff 11779 * po/it.po: Update from translation team.
b611fb81 11780 * po/es.po: Likewise.
a1b560ff 11781
a5b81e1f
UD
117822011-10-28 Ulrich Drepper <drepper@gmail.com>
11783
fd52bc6d
UD
11784 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11785 the three constants needed as parameters. Drop the others.
11786 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11787 __m128i_strloadu_tolower.
52e4b9eb
UD
11788 Create and initialize variable zero and use it in all the places
11789 where _mm_setzero_si128 was used.
fd52bc6d 11790
a5b81e1f
UD
11791 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11792 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11793 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11794 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11795 anymore.
11796 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11797 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11798 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11799 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11800 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11801 __mpranred, __mptan.
11802 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11803 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11804 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11805 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11806 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11807 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11808 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11809 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11810 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11811
b4343346
AS
118122011-10-28 Andreas Schwab <schwab@redhat.com>
11813
0c92d8a8
AS
11814 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11815 redefine if SHARED.
11816 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11817
b4343346
AS
11818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11819 wide char related routines to wcsmbs subdir.
11820
3871f58f
AS
118212011-10-27 Andreas Schwab <schwab@redhat.com>
11822
11823 [BZ #13344]
11824 * misc/sys/cdefs.h (__THROWNL): Define.
11825 * posix/unistd.h: Use __THREADNL instead of __THREAD
11826 for memory synchronization functions.
11827
94d44d9f
RM
118282011-10-26 Roland McGrath <roland@hack.frob.com>
11829
21b64b15 11830 [BZ #13349]
94d44d9f
RM
11831 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11832 doesn't exist.
11833 * manual/stdio.texi (Obstack Streams): Node removed.
11834
f6ce9294
AS
118352011-10-26 Andreas Schwab <schwab@redhat.com>
11836
80479147
AS
11837 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11838 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11839 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11840
f6ce9294
AS
11841 * math/math_private.h (math_force_eval): Allow non-addressable
11842 arguments.
11843 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11844
618280a1
UD
118452011-10-25 Ulrich Drepper <drepper@gmail.com>
11846
e0016b11
UD
11847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11848 file is not needed.
11849
11850 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11851 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11852 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11853 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11854 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11855 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11856 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11857 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11858 Add AVX variants.
11859 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11860 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11861 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11862 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11863 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11864 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11865 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11866 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11867 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11868 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11869 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11870 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11871 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11872 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11873 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11874 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11875 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11876 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11877 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11878
11879 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11880 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11881
618280a1
UD
11882 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11883 place. Use VEX encoding when compiling for AVX.
11884
37822576
AS
118852011-10-25 Andreas Schwab <schwab@redhat.com>
11886
1f1e1947
AS
11887 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11888 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11889
37822576
AS
11890 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11891
31ea014d
UD
118922011-10-25 Ulrich Drepper <drepper@gmail.com>
11893
d7826aa1 11894 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 11895 useless if() expression.
d7826aa1
UD
11896 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11897 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11898 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11899 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11900 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11901 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11902 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11903 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11904 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11905 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11906 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11907 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11908 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11909 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11910 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11911 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11912 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11915
31ea014d
UD
11916 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11917
16437fec
AS
119182011-10-25 Andreas Schwab <schwab@redhat.com>
11919
11920 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11921 condition.
11922 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11923
31d3cc00
UD
119242011-10-25 Ulrich Drepper <drepper@gmail.com>
11925
11926 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11927 .text section. Avoid duplicate constants.
11928 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11929 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11930 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11931 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11932 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11933 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11934 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11935 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11936 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11937 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11938 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11939 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11940 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11941 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11942 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11943 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11944 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11945 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11946 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11947 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11948 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11949 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11950 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11951 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11952 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11953 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11954 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11955 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11956 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11957 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11958 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11959 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11960 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11961 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11962 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11963 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11964 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11965 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11966 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11967 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11968 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11969 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11970 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11971 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11972 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11973
58985aa9
UD
119742011-10-24 Ulrich Drepper <drepper@gmail.com>
11975
202c9deb
UD
11976 * sysdeps/x86_64/dla.h: Move to ...
11977 * sysdeps/x86_64/fpu/dla.h: ...here.
11978 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11979 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 11980
af968f62
UD
11981 * config.make.in: Add have-mfma4 entry.
11982 * configure.in: Substitute libc_cv_cc_fma4.
11983 * math/Makefile (dbl-only-routines): Add sincostab.
11984 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11985 Use __sincostab not sincos.
11986 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11987 name is a macro.
11988 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11989 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11990 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11991 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11992 using __copysign.
11993 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11994 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11995 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11996 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11997 and __inv.
11998 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11999 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
12000 __copysign.
12001 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
12002 define aliases when function name is a macro.
12003 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
12004 sysdeps/ieee754/dbl-64/sincos.tbl.
12005 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
12006 fma4-enabled routines.
12007 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
12008 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
12009 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
12010 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
12011 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
12012 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
12013 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
12014 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
12015 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
12016 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
12017 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
12018 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
12019 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
12020 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
12021 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
12022 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
12023 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
12024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
12025 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
12026 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
12027 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
12028 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
12029 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
12030 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
12031 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
12032 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
12033 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
12034 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
12035 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
12036 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
12037
58985aa9
UD
12038 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
12039 rename.
12040 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12041 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12042 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12043 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12044 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12045 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12046 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12047 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12048
a201fbcf
AS
120492011-10-24 Andreas Schwab <schwab@redhat.com>
12050
12051 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
12052
fc2ee42a
LD
120532011-10-23 Ulrich Drepper <drepper@gmail.com>
12054
bb3129bd
UD
12055 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
12056
0275fff8
UD
12057 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
12058 prediction.
12059 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
12060
2fa2ae85
UD
12061 * string/strnlen.c: Don't define STRNLEN, reverse logic.
12062 Remove unused variable magic_bits.
12063 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
12064
fc2ee42a
LD
12065 * string/strnlen.c: Define and use STRNLEN macro.
12066 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
12067 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
12068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
12069 * wcsmbs/wcslen.c: Define and use WCSLEN.
12070 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
12071 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
12072 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
12073 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
12074 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
12075 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
12076 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12077
ce7dd29f
LD
120782011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12079
12080 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12081 strnlen-sse2-no-bsf.
12082 Rename strlen-no-bsf to strlen-sse2-no-bsf.
12083 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
12084 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
12085 Add strnlen support.
12086 (USE_AS_STRNLEN): New macro.
12087 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
12088 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
12089 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
12090 * sysdeps/x86_64/wcslen.S: New file.
12091
979c70a3
MZ
120922011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
12093
12094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
12095 XMM-moves are used for copying on small sizes.
12096
2d09f82f
LD
120972011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12098
12099 * wcsmbs/Makefile (strop-tests): Add wcschr.
12100 * wcsmbs/test-wcschr.c: New file.
12101 * string/test-strchr.c: Update.
12102 Add wcschr support.
12103 (WIDE): New macro.
12104
619fccca
LD
121052011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12106
2d09f82f 12107 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
12108 * wcsmbs/test-wcslen.c: New file.
12109 * string/test-strlen.c: Update.
12110 Add wcslen support.
12111 (WIDE): New macro.
12112
09f699ea
UD
121132011-10-23 Ulrich Drepper <drepper@gmail.com>
12114
12115 * po/it.po: Update from translation team.
12116
95584d3b
LD
121172011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12118
12119 * sysdeps/x86_64/wcscmp.S: Update.
12120 Fix wrong comparison semantics.
12121 wcscmp shall use signed comparison not unsigned.
12122 Don't use substraction to avoid overflow bug.
12123 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
12124 * wcsmbc/wcscmp.c: Likewise.
12125 * string/test-strcmp.c: Likewise.
12126 Add new tests to check cases with negative values.
12127
c8b3296b
UD
121282011-10-23 Ulrich Drepper <drepper@gmail.com>
12129
12130 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
12131 * sysdeps/x86_64/dla.h: ...here. New file.
12132 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
12133 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12134 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12135 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12136 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12141
246ad57a
AS
121422011-10-23 Andreas Schwab <schwab@linux-m68k.org>
12143
12144 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
12145 __ynl_finite aliases.
12146
a1a87169
UD
121472011-10-22 Ulrich Drepper <drepper@gmail.com>
12148
0d355eb7
UD
12149 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12150
a1a87169
UD
12151 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
12152 define DLA_FMA.
12153 [DLA_FMA] (EMULV): Use DLA_FMA.
12154 [DLA_FMA] (MUL12): Use EMULV.
12155 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
12156 that are not needed.
12157 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12159 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12160 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12161 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12162 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12164
ee2aafe0
AS
121652011-10-22 Andreas Schwab <schwab@linux-m68k.org>
12166
12167 * math/s_nan.c: Undef __nan.
12168 * math/s_nanf.c: Undef __nanf.
12169 * math/s_nanl.c: Undef __nanl.
12170 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
12171 "math_private.h".
12172
bc62c2fb
UD
121732011-10-22 Ulrich Drepper <drepper@gmail.com>
12174
77425c63
UD
12175 * math/s_catan.c: Add branch predictions.
12176 * math/s_catanf.c: Likewise.
12177 * math/s_catanh.c: Likewise.
12178 * math/s_catanhf.c: Likewise.
12179 * math/s_catanhl.c: Likewise.
12180 * math/s_catanl.c: Likewise.
12181 * math/s_cexp.c: Likewise.
12182 * math/s_cexpf.c: Likewise.
12183 * math/s_cexpl.c: Likewise.
12184 * math/s_clog.c: Likewise.
12185 * math/s_clog10.c: Likewise.
12186 * math/s_clog10f.c: Likewise.
12187 * math/s_clog10l.c: Likewise.
12188 * math/s_clogf.c: Likewise.
12189 * math/s_clogl.c: Likewise.
12190 * math/s_csqrt.c: Likewise.
12191 * math/s_csqrtf.c: Likewise.
12192 * math/s_csqrtl.c: Likewise.
12193 * math/s_ctanf.c: Likewise.
12194 * math/s_ctanh.c: Likewise.
12195 * math/s_ctanhf.c: Likewise.
12196 * math/s_ctanhl.c: Likewise.
12197 * math/s_ctanl.c: Likewise.
12198
bc62c2fb
UD
12199 * math/math_private.h: Define __nan, __nanf, __nanl.
12200 * math/s_cacosh.c: Include <math_private.h>.
12201 * math/s_cacoshl.c: Likewise.
12202 * math/s_casinh.c: Likewise.
12203 * math/s_casinhf.c: Likewise.
12204 * math/s_casinhl.c: Likewise.
12205 * math/s_ccos.c: Rely entire on ccosh.
12206 * math/s_ccosf.c: Rely entire on ccoshf.
12207 * math/s_ccosl.c: Rely entirely on ccoshl.
12208 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
12209 Remove tests for FE_INVALID.
12210 * math/s_ccoshf.c: Likewise.
12211 * math/s_ccoshl.c: Likewise.
12212 * math/s_csin.c: Likewise.
12213 * math/s_csinf.c: Likewise.
12214 * math/s_csinh.c Likewise.
12215 * math/s_csinhf.c: Likewise.
12216 * math/s_csinhl.c: Likewise.
12217 * math/s_csinl.c: Likewise.
12218 * math/s_ctan.c: Likewise.
12219 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
12220 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
12221 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
12222
8ec250a4
UD
122232011-10-21 Ulrich Drepper <drepper@gmail.com>
12224
c196fed8
UD
12225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
12226 compilation problems.
12227
8ec250a4
UD
12228 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
12229 __builtin_expect.
12230
8d4f46c6
UD
122312011-10-20 Ulrich Drepper <drepper@gmail.com>
12232
ed72b654
UD
12233 * sysdeps/i386/configure.in: Test for -mfma4 option.
12234 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
12235 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
12236 COMMON_CPUID_INDEX_80000001.
12237 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
12238 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
12239 use it if FMA3 is not supported.
12240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
12241
8d4f46c6
UD
12242 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
12243 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
12244
d45c60c2
AS
122452011-10-20 Andreas Schwab <schwab@redhat.com>
12246
12247 [BZ #12892]
12248 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
12249 it would create a cycle with a link time dependency.
12250
d9a4d2ab
UD
122512011-10-19 Ulrich Drepper <drepper@gmail.com>
12252
855d1560
UD
12253 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
12254 instruction.
12255 * string/Makefile (strop-tests): Add rawmemchr.
12256 * string/test-rawmemchr.c: New file.
12257
d9a4d2ab
UD
12258 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
12259 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
12260 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
12261 when compiling str{,n}casecmp and when AVX is available. Hook up
12262 new optimized code in initializers.
12263
8f3b1ffe
AS
122642011-10-19 Andreas Schwab <schwab@redhat.com>
12265
12266 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
12267 __feraiseexcept instead of feraiseexcept.
12268
d38f1dba
UD
122692011-10-18 Ulrich Drepper <drepper@gmail.com>
12270
d9a8d0ab
UD
12271 * math/math_private.h: Define defaults for libc_fetestexcept and
12272 libc_feupdateenv.
12273 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
12274 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12276 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
12278 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12279 libc_fetestexcept and libc_feupdateenv.
12280
4855e3dd
UD
12281 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
12282 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
12283 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
12284 * sysdeps/x86_64/fpu/math_private.h: Define special version of
12285 libc_feholdexcept_setround.
12286
581d30e3
UD
12287 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
12288 Add s_nearbyint-c and s_nearbyintf-c.
12289 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
12290 nearbyintf inlines.
12291 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
12292 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
12293 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
12294 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
12295
d38f1dba
UD
12296 * math/math_private.h: Define defaults for libc_fegetround,
12297 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
12298 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
12299 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
12300 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
12301 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
12302 standard functions.
12303 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12304 Remove comments and hacks for old compiler versions.
12305 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
12306 libc_fegetround, libc_fesetround, libc_feholdexcept, and
12307 libc_feholdexceptl.
12308
caa6c9d8
AS
123092011-10-18 Andreas Schwab <schwab@redhat.com>
12310
12311 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
12312 (__feraiseexcept_renamed): Add __NTH.
12313 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
12314 namespace violations.
12315
97c066e6
UD
123162011-10-17 Ulrich Drepper <drepper@gmail.com>
12317
99ce7b04
UD
12318 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
12319
1004d182
UD
12320 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
12321
228a984d
UD
12322 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
12323 recently added interfaces.
12324 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
12325
c8553a6a
UD
12326 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
12327 about macro parameter expansion.
12328
ed22dcf6
UD
12329 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
12330 __NO_MATH_INLINES is defined. Cleanups.
12331
12332 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
12333 and __floorf is target has SSE4.1.
12334 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
12335 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
12336 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
12337 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
12338
b171c137
UD
12339 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
12340 name.
12341 (floorf): Likewise.
12342
97c066e6
UD
12343 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
12344
629f62ef
AS
123452011-10-17 Andreas Schwab <schwab@redhat.com>
12346
49a43d80
AS
12347 * misc/sys/cdefs.h: Fix last change.
12348
629f62ef
AS
12349 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
12350 database lookup.
12351
e453f6cd
UD
123522011-10-16 Ulrich Drepper <drepper@gmail.com>
12353
aa78043a
UD
12354 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
12355
ad0f5cad
UD
12356 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
12357 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12358 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12359 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
12360 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
12361 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
12362 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
12363 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
12364 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
12365 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
12366 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
12367 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
12368 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
12369 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
12370 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
12371 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
12372 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
12373 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
12374 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
12375 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
12376 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
12377 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
12378
12379 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
12380 ceil, ceilf, floor, floorf.
12381
12382 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
12383 Perform IRELATIVE relocations last.
12384
e453f6cd
UD
12385 * elf/do-rel.h: Add another parameter nrelative, replacing the
12386 local variable with the same name. Change name of the function
12387 to end in Rel or Rela (uppercase).
12388 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
12389 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
12390 elf_dynamic_do_##reloc function.
12391
fd5bdc09
UD
123922011-10-15 Ulrich Drepper <drepper@gmail.com>
12393
79b195b5
UD
12394 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
12395 is sufficient, at least on modern CPUs.
12396
d4a28569
UD
12397 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
12398
b61099b5
UD
12399 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
12400 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
12401
bcf01e6d
UD
12402 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
12403 __expl_finite.
12404 * math/bits/math-finite.h: Add entries for exp.
12405 * math/e_expl.c: Add __*_finite alias.
12406 * sysdeps/i386/fpu/e_exp.S: Likewise.
12407 * sysdeps/i386/fpu/e_expf.S: Likewise.
12408 * sysdeps/i386/fpu/e_expl.c: Likewise.
12409 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12410 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
12411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12413 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
12414 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
12415 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
12416
ba1a0d59
UD
12417 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
12418 is sufficient, at least on modern CPUs.
12419
fd5bdc09
UD
12420 * ctype/ctype-info.c (__ctype_init): Define.
12421 * include/ctype.h (__ctype_init): Declare.
12422 (__ctype_b_loc): The variable is always initialized.
12423 (__ctype_toupper_loc): Likewise.
12424 (__ctype_tolower_loc): Likewise.
12425 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
12426 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
12427
7872cfb0
AS
124282011-10-15 Andreas Schwab <schwab@linux-m68k.org>
12429
b468825a
AS
12430 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
12431
7872cfb0
AS
12432 * configure.in: Also look in $cxxmachine/include for C++ system
12433 headers.
12434
be13f7bf
LD
124352011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12436
12437 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
12438 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
12439 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
12440 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
12441 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
12442 (USE_AS_WMEMCMP): New macro.
12443 Fixing indents.
12444 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
12445 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
12446 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
12447 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
12448 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12449 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12450 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12451 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12452 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12453 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12454 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12455 (USE_AS_WMEMCMP): New macro.
12456 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12457 * sysdeps/string/test-memcmp.c: Update.
12458 Fix simple_wmemcmp.
12459 Add new tests.
12460 * wcsmbs/wmemcmp.c: Update.
12461 (WMEMCMP): New macro.
12462 Fix overflow bug.
12463
556a2007
AJ
124642011-10-12 Andreas Jaeger <aj@suse.de>
12465
12466 [BZ #13268]
12467 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12468
538faaa7
UD
124692011-10-15 Ulrich Drepper <drepper@gmail.com>
12470
ab6737ff
UD
12471 * libio/iofwide.c (do_length): Avoid warning.
12472
538faaa7
UD
12473 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12474
396a21b1
UD
124752011-10-14 Ulrich Drepper <drepper@gmail.com>
12476
cdf2901f
UD
12477 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12478
38ad40ce
UD
12479 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12480 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12481 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12482 * sysdeps/i386/i686/fpu/e_log.S: New file.
12483 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12484 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12485
396a21b1
UD
12486 * ctype/ctype.h: Add support for inlined isXXX functions when
12487 compiling C++ code.
12488
6b1f68c9
AS
124892011-10-14 Andreas Schwab <schwab@redhat.com>
12490
349290c0
AS
12491 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12492
6b1f68c9
AS
12493 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12494
f2282d42
RM
124952011-10-13 Roland McGrath <roland@hack.frob.com>
12496
12497 [BZ #13291]
12498 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12499
5298ffa8
AS
125002011-10-13 Andreas Schwab <schwab@redhat.com>
12501
714fad23
AS
12502 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12503 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12504 feraiseexcept.
12505
81dcc7fb
AS
12506 * sysdeps/x86_64/memrchr.S: Check for zero size.
12507
5298ffa8
AS
12508 * string/stratcliff.c: Add memrchr tests.
12509
951fbcec
LD
125102011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12511
12512 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12513 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12514 rawmemchr-sse2 rawmemchr-sse2-bsf.
12515 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12516 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12517 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12518 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12519 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12520 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12521 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12522 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12523 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12524 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12525 * string/memrchr.c (MEMRCHR): New macro.
12526
0ac5ae23
UD
125272011-10-12 Ulrich Drepper <drepper@gmail.com>
12528
12529 Add integration with gcc's -ffinite-math-only and optimize wrapper
12530 functions in libm.
12531 * Versions.def: Define GLIBC_2.15 version for libm.
12532 * math/Makefile (headers): Add bits/math-finite.h.
12533 * math/bits/math-finite.h: New file.
12534 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12535 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12536 * math/e_acoshl.c: Add __*_finite alias.
12537 * math/e_acosl.c: Likewise.
12538 * math/e_asinl.c: Likewise.
12539 * math/e_atan2l.c: Likewise.
12540 * math/e_atanhl.c: Likewise.
12541 * math/e_coshl.c: Likewise.
12542 * math/e_exp10.c: Likewise.
12543 * math/e_exp10f.c: Likewise.
12544 * math/e_exp10l.c: Likewise.
12545 * math/e_exp2l.c: Likewise.
12546 * math/e_fmodl.c: Likewise.
12547 * math/e_gammal_r.c: Likewise.
12548 * math/e_hypotl.c: Likewise.
12549 * math/e_j0l.c: Likewise.
12550 * math/e_j1l.c: Likewise.
12551 * math/e_jnl.c: Likewise.
12552 * math/e_lgammal_r.c: Likewise.
12553 * math/e_log10l.c: Likewise.
12554 * math/e_log2l.c: Likewise.
12555 * math/e_logl.c: Likewise.
12556 * math/e_powl.c: Likewise.
12557 * math/e_sinhl.c: Likewise.
12558 * math/e_sqrtl.c: Likewise.
12559 * math/e_scalb.c: Completely rewritten and optimized.
12560 * math/e_scalbf.c: Likewise.
12561 * math/e_scalbl.c: Likewise.
12562 * math/w_acos.c: Likewise.
12563 * math/w_acosf.c: Likewise.
12564 * math/w_acosl.c: Likewise.
12565 * math/w_acosh.c: Likewise.
12566 * math/w_acoshf.c: Likewise.
12567 * math/w_acoshl.c: Likewise.
12568 * math/w_asin.c: Likewise.
12569 * math/w_asinf.c: Likewise.
12570 * math/w_asinl.c: Likewise.
12571 * math/w_atan2.c: Likewise.
12572 * math/w_atan2f.c: Likewise.
12573 * math/w_atan2l.c: Likewise.
12574 * math/w_atanh.c: Likewise.
12575 * math/w_atanhf.c: Likewise.
12576 * math/w_atanhl.c: Likewise.
12577 * math/w_exp10.c: Likewise.
12578 * math/w_exp10f.c: Likewise.
12579 * math/w_exp10l.c: Likewise.
12580 * math/w_fmod.c: Likewise.
12581 * math/w_fmodf.c: Likewise.
12582 * math/w_fmodl.c: Likewise.
12583 * math/w_j0.c: Likewise.
12584 * math/w_j0f.c: Likewise.
12585 * math/w_j0l.c: Likewise.
12586 * math/w_j1.c: Likewise.
12587 * math/w_j1f.c: Likewise.
12588 * math/w_j1l.c: Likewise.
12589 * math/w_jn.c: Likewise.
12590 * math/w_jnf.c: Likewise.
12591 * math/w_log.c: Likewise.
12592 * math/w_logf.c: Likewise.
12593 * math/w_logl.c: Likewise.
12594 * math/w_log10.c: Likewise.
12595 * math/w_log10f.c: Likewise.
12596 * math/w_log10l.c: Likewise.
12597 * math/w_log2.c: Likewise.
12598 * math/w_log2f.c: Likewise.
12599 * math/w_log2l.c: Likewise.
12600 * math/w_pow.c: Likewise.
12601 * math/w_powf.c: Likewise.
12602 * math/w_powl.c: Likewise.
12603 * math/w_remainder.c: Likewise.
12604 * math/w_remainderf.c: Likewise.
12605 * math/w_remainderl.c: Likewise.
12606 * math/w_scalb.c: Likewise.
12607 * math/w_scalbf.c: Likewise.
12608 * math/w_scalbl.c: Likewise.
12609 * math/w_sqrt.c: Likewise.
12610 * math/w_sqrtf.c: Likewise.
12611 * math/w_sqrtl.c: Likewise.
12612 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12613 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12614 used.
12615 * math/math_private.h: Declare __kernel_standard_f.
12616 * math/w_cosh.c: Remove cruft and optimize a bit.
12617 * math/w_coshf.c: Likewise.
12618 * math/w_coshl.c: Likewise.
12619 * math/w_exp2.c: Likewise.
12620 * math/w_exp2f.c: Likewise.
12621 * math/w_exp2l.c: Likewise.
12622 * math/w_hypot.c: Likewise.
12623 * math/w_hypotf.c: Likewise.
12624 * math/w_hypotl.c: Likewise.
12625 * math/w_lgamma.c: Likewise.
12626 * math/w_lgamma_r.c: Likewise.
12627 * math/w_lgammaf.c: Likewise.
12628 * math/w_lgammaf_r.c: Likewise.
12629 * math/w_lgammal.c: Likewise.
12630 * math/w_lgammal_r.c: Likewise.
12631 * math/w_sinh.c: Likewise.
12632 * math/w_sinhf.c: Likewise.
12633 * math/w_sinhl.c: Likewise.
12634 * math/w_tgamma.c: Likewise.
12635 * math/w_tgammaf.c: Likewise.
12636 * math/w_tgammal.c: Likewise.
12637 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12638 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12639 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12640 Minor optimizations. Pretty printing. Remove cruft.
12641 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12642 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12643 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12644 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12645 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12646 * sysdeps/i386/fpu/e_asin.S: Likewise.
12647 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12648 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12649 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12650 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12651 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12652 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12653 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12654 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12655 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12656 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12657 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12658 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12659 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12660 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12661 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12662 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12663 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12664 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12665 * sysdeps/i386/fpu/e_log.S: Likewise.
12666 * sysdeps/i386/fpu/e_log10.S: Likewise.
12667 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12668 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12669 * sysdeps/i386/fpu/e_log2.S: Likewise.
12670 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12671 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12672 * sysdeps/i386/fpu/e_logf.S: Likewise.
12673 * sysdeps/i386/fpu/e_logl.S: Likewise.
12674 * sysdeps/i386/fpu/e_pow.S: Likewise.
12675 * sysdeps/i386/fpu/e_powf.S: Likewise.
12676 * sysdeps/i386/fpu/e_powl.S: Likewise.
12677 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12678 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12679 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12680 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12681 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12682 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12683 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12684 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12685 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12686 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12687 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12688 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12689 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12690 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12691 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12693 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12694 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12695 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12696 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12697 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12698 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12699 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12700 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12701 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12702 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12703 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12704 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12705 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12706 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12707 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12708 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12709 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12710 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12711 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12712 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12713 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12714 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12715 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12716 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12717 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12718 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12719 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12720 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12721 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12722 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12723 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12724 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12725 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12726 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12727 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12728 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12729 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12730 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12731 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12732 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12733 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12734 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12735 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12736 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12737 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12738 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12739 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12740 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12741 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12742 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12748 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12749 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12750 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12751 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12752 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12754 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12755 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12756 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12757 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12758 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12759 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12760 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12761 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12762 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12768 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12769 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12770 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12771 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12772 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12774 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12776 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12779 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12780 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12781 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12782 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12783 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12784 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12785 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12786 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12787 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12788 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12789 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12790 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12791 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12792 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12793 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12794 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12795 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12796 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12797 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12798 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12799 (__isnanf): Likewise.
12800 (__isinf_ns): Likewise.
12801 (__isinf_nsf): Likewise.
12802 (__finite): Likewise.
12803 (__finitef): Likewise.
12804 (__ieee754_sqrt): Define as macro.
12805 (__ieee754_sqrtf): Define as macro.
12806 (__ieee754_sqrtl): Define as macro.
12807 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12808 inlined copy.
12809 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12810 __FINITE_MATH_ONLY__ consistent.
12811 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12812
12cc2fcd
AS
128132011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12814
a843a204
AS
12815 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12816 of rawmemchr.
12817
12cc2fcd
AS
12818 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12819
c853acd5
UD
128202011-10-09 Ulrich Drepper <drepper@gmail.com>
12821
12822 * po/ja.po: Update from translation team.
12823
c658d255
RM
128242011-10-08 Roland McGrath <roland@hack.frob.com>
12825
110946e4
RM
12826 * locale/programs/locarchive.c (prepare_address_space): New function.
12827 (create_archive, enlarge_archive, open_archive): Use it.
12828
50604220
RM
12829 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12830 inside [SHARED], where it is used.
12831
c658d255
RM
12832 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12833
12834 * nss/getent.c (netgroup_keys): Remove unused variable.
12835 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12836
6a621eb7
UD
128372011-10-08 Ulrich Drepper <drepper@gmail.com>
12838
7edb55ce
UD
12839 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12840 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12841 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12844 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12845 * math/Makefile (libm-calls): Add s_isinf_ns.
12846 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12847 * math/multc3.c: Likewise.
12848 * math/s_casin.c: Likewise.
12849 * math/s_casinf.c: Likewise.
12850 * math/s_casinl.c: Likewise.
12851 * math/s_ccos.c: Likewise.
12852 * math/s_ccosf.c: Likewise.
12853 * math/s_ccosl.c: Likewise.
12854 * math/s_ctan.c: Likewise.
12855 * math/s_ctanf.c: Likewise.
12856 * math/s_ctanh.c: Likewise.
12857 * math/s_ctanhf.c: Likewise.
12858 * math/s_ctanhl.c: Likewise.
12859 * math/s_ctanl.c: Likewise.
12860 * math/w_fmod.c: Likewise.
12861 * math/w_fmodf.c: Likewise.
12862 * math/w_fmodl.c: Likewise.
12863 * math/w_remainder.c: Likewise.
12864 * math/w_remainderf.c: Likewise.
12865 * math/w_remainderl.c: Likewise.
12866 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12867 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12868 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12869 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12870 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12871 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12872 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12873 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12874
187da0ae
UD
12875 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12876 of the number.
12877 * stdio-common/printf_fphex.c: Likewise.
12878 * stdio-common/printf_size.c: Likewise.
12879
9277c064
UD
12880 * math/e_exp10.c: Include math_private.h using <...> not "...".
12881 * math/e_exp10f.c: Likewise.
12882 * math/e_exp10l.c: Likewise.
12883 * math/e_exp2l.c: Likewise.
12884 * math/e_j0l.c: Likewise.
12885 * math/e_j1l.c: Likewise.
12886 * math/e_jnl.c: Likewise.
12887 * math/e_lgammal_r.c: Likewise.
12888 * math/e_rem_pio2l.c: Likewise.
12889 * math/e_scalb.c: Likewise.
12890 * math/e_scalbf.c: Likewise.
12891 * math/e_scalbl.c: Likewise.
12892 * math/k_cosl.c: Likewise.
12893 * math/k_sinl.c: Likewise.
12894 * math/k_tanl.c: Likewise.
12895 * math/s_cacoshf.c: Likewise.
12896 * math/s_catan.c: Likewise.
12897 * math/s_catanf.c: Likewise.
12898 * math/s_catanh.c: Likewise.
12899 * math/s_catanhf.c: Likewise.
12900 * math/s_catanhl.c: Likewise.
12901 * math/s_catanl.c: Likewise.
12902 * math/s_ccosh.c: Likewise.
12903 * math/s_ccoshf.c: Likewise.
12904 * math/s_ccoshl.c: Likewise.
12905 * math/s_cexp.c: Likewise.
12906 * math/s_cexpf.c: Likewise.
12907 * math/s_cexpl.c: Likewise.
12908 * math/s_clog.c: Likewise.
12909 * math/s_clog10.c: Likewise.
12910 * math/s_clog10f.c: Likewise.
12911 * math/s_clog10l.c: Likewise.
12912 * math/s_clogf.c: Likewise.
12913 * math/s_clogl.c: Likewise.
12914 * math/s_csin.c: Likewise.
12915 * math/s_csinf.c: Likewise.
12916 * math/s_csinh.c: Likewise.
12917 * math/s_csinhf.c: Likewise.
12918 * math/s_csinhl.c: Likewise.
12919 * math/s_csinl.c: Likewise.
12920 * math/s_csqrt.c: Likewise.
12921 * math/s_csqrtf.c: Likewise.
12922 * math/s_csqrtl.c: Likewise.
12923 * math/s_ctan.c: Likewise.
12924 * math/s_ctanf.c: Likewise.
12925 * math/s_ctanh.c: Likewise.
12926 * math/s_ctanhf.c: Likewise.
12927 * math/s_ctanhl.c: Likewise.
12928 * math/s_ctanl.c: Likewise.
12929 * math/s_ldexp.c: Likewise.
12930 * math/s_ldexpf.c: Likewise.
12931 * math/s_ldexpl.c: Likewise.
12932 * math/s_significand.c: Likewise.
12933 * math/s_significandf.c: Likewise.
12934 * math/s_significandl.c: Likewise.
12935 * math/w_acos.c: Likewise.
12936 * math/w_acosf.c: Likewise.
12937 * math/w_acosh.c: Likewise.
12938 * math/w_acoshf.c: Likewise.
12939 * math/w_acoshl.c: Likewise.
12940 * math/w_acosl.c: Likewise.
12941 * math/w_asin.c: Likewise.
12942 * math/w_asinf.c: Likewise.
12943 * math/w_asinl.c: Likewise.
12944 * math/w_atan2.c: Likewise.
12945 * math/w_atan2f.c: Likewise.
12946 * math/w_atan2l.c: Likewise.
12947 * math/w_atanh.c: Likewise.
12948 * math/w_atanhf.c: Likewise.
12949 * math/w_atanhl.c: Likewise.
12950 * math/w_cosh.c: Likewise.
12951 * math/w_coshf.c: Likewise.
12952 * math/w_coshl.c: Likewise.
12953 * math/w_dremf.c: Likewise.
12954 * math/w_exp10.c: Likewise.
12955 * math/w_exp10f.c: Likewise.
12956 * math/w_exp10l.c: Likewise.
12957 * math/w_exp2.c: Likewise.
12958 * math/w_exp2f.c: Likewise.
12959 * math/w_fmod.c: Likewise.
12960 * math/w_fmodf.c: Likewise.
12961 * math/w_fmodl.c: Likewise.
12962 * math/w_hypot.c: Likewise.
12963 * math/w_hypotf.c: Likewise.
12964 * math/w_hypotl.c: Likewise.
12965 * math/w_j0.c: Likewise.
12966 * math/w_j0f.c: Likewise.
12967 * math/w_j0l.c: Likewise.
12968 * math/w_j1.c: Likewise.
12969 * math/w_j1f.c: Likewise.
12970 * math/w_j1l.c: Likewise.
12971 * math/w_jn.c: Likewise.
12972 * math/w_jnf.c: Likewise.
12973 * math/w_jnl.c: Likewise.
12974 * math/w_lgamma.c: Likewise.
12975 * math/w_lgamma_r.c: Likewise.
12976 * math/w_lgammaf.c: Likewise.
12977 * math/w_lgammaf_r.c: Likewise.
12978 * math/w_lgammal.c: Likewise.
12979 * math/w_lgammal_r.c: Likewise.
12980 * math/w_log.c: Likewise.
12981 * math/w_log10.c: Likewise.
12982 * math/w_log10f.c: Likewise.
12983 * math/w_log10l.c: Likewise.
12984 * math/w_log2.c: Likewise.
12985 * math/w_log2f.c: Likewise.
12986 * math/w_log2l.c: Likewise.
12987 * math/w_logf.c: Likewise.
12988 * math/w_logl.c: Likewise.
12989 * math/w_pow.c: Likewise.
12990 * math/w_powf.c: Likewise.
12991 * math/w_powl.c: Likewise.
12992 * math/w_remainder.c: Likewise.
12993 * math/w_remainderf.c: Likewise.
12994 * math/w_remainderl.c: Likewise.
12995 * math/w_scalb.c: Likewise.
12996 * math/w_scalbf.c: Likewise.
12997 * math/w_scalbl.c: Likewise.
12998 * math/w_sinh.c: Likewise.
12999 * math/w_sinhf.c: Likewise.
13000 * math/w_sinhl.c: Likewise.
13001 * math/w_sqrt.c: Likewise.
13002 * math/w_sqrtf.c: Likewise.
13003 * math/w_sqrtl.c: Likewise.
13004 * math/w_tgamma.c: Likewise.
13005 * math/w_tgammaf.c: Likewise.
13006 * math/w_tgammal.c: Likewise.
13007
6a621eb7
UD
13008 * po/ja.po: Update from translation team.
13009
bf582445
AJ
130102011-09-29 Andreas Jaeger <aj@suse.de>
13011
f9efbf3a
AJ
13012 [BZ #13179]
13013 * sunrpc/netname.c (netname2host): Fix logic.
13014
bf582445
AJ
13015 [BZ #6779]
13016 [BZ #6783]
13017 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
13018 correctly.
13019 * math/w_remainder.c (__remainder): Likewise.
13020 * math/w_remainderf.c (__remainderf): Likewise.
13021 * math/libm-test.inc (remainder_test): Add test cases.
13022
48693bea
AK
130232011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13024
13025 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
13026 sdiv_qrnnd.
13027
42622229
LD
130282011-10-07 Ulrich Drepper <drepper@gmail.com>
13029
13030 * string/test-memcmp.c: Avoid unncessary #defines.
13031 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
13032
093ecf92
LD
130332011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13034
13035 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
13036 Use new sse2 version for core i3 - i7 as it's faster
13037 than sse42 version.
13038 (bit_Prefer_PMINUB_for_stringop): New.
13039 * sysdeps/x86_64/rawmemchr.S: Update.
13040 Replace with faster SSE2 version.
13041 * sysdeps/x86_64/memrchr.S: New file.
13042 * sysdeps/x86_64/memchr.S: Update.
13043 Replace with faster SSE2 version.
13044
fde56e5c
MP
130452011-09-12 Marek Polacek <mpolacek@redhat.com>
13046
13047 * elf/dl-load.c (lose): Add cast to avoid warning.
13048
21fd49a9
UD
130492011-10-07 Ulrich Drepper <drepper@gmail.com>
13050
5a06e643
UD
13051 * po/ca.po: Update from translation team.
13052
684ae515
UD
13053 * inet/getnetgrent_r.c: Hook up nscd.
13054 * nscd/Makefile (routines): Add nscd_netgroup.
13055 (nscd-modules): Add netgroupcache.
13056 (CFLAGS-netgroupcache.c): Define.
13057 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
13058 (cache_search): Add const to second parameter.
13059 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
13060 INNETGR.
13061 (dbs): Add netgrdb entry.
13062 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
13063 (verify_persistent_db): Handle netgrdb.
13064 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
13065 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
13066 GETFDNETGR.
13067 (netgroup_response_header): Define.
13068 (innetgroup_response_header): Define.
13069 (datahead): Add netgroup_response_header and innetgroup_response_header
13070 elements.
13071 * nscd/nscd.conf: Add entries for netgroup cache.
13072 * nscd/nscd.h (dbtype): Add netgrdb.
13073 (_PATH_NSCD_NETGROUP_DB): Define.
13074 (netgroup_iov_disabled): Declare.
13075 (xmalloc, xcalloc, xrealloc): Move declarations here.
13076 (cache_search): Adjust prototype.
13077 Add netgroup-related prototypes.
13078 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
13079 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
13080 (__nscd_innetgr): Declare.
13081 * nscd/selinux.c (perms): Use access_vector_t as element type and
13082 add netgroup-related initializers.
13083 * nscd/netgroupcache.c: New file.
13084 * nscd/nscd_netgroup.c: New file.
13085 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
13086 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
13087 For four parameters use innetgr.
13088 * nss/nss_files/files-init.c: Add definition and callback for netgr.
13089 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
13090 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
13091 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
13092
21fd49a9
UD
13093 * nscd/connections.c (register_traced_file): Don't register file
13094 for disabled databases.
13095
054c0457
UD
130962011-10-06 Ulrich Drepper <drepper@gmail.com>
13097
32b63198
UD
13098 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
13099
054c0457
UD
13100 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
13101 from tree and freeing node.
13102
64031225
JO
131032011-09-25 Jiri Olsa <jolsa@redhat.com>
13104
13105 * nss/nsswitch.c (__nss_database_lookup): Handle
13106 nss_parse_service_list out of memory case.
13107
0490345c
JO
131082011-09-15 Jiri Olsa <jolsa@redhat.com>
13109
13110 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
13111 out of memory case.
13112
3a62d00d
AS
131132011-10-04 Andreas Schwab <schwab@redhat.com>
13114
13115 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
13116 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
13117 pass it down.
13118 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
13119 elf_machine_rela, elf_machine_lazy_rel.
13120 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
13121 (ELF_DYNAMIC_DO_REL): Likewise.
13122 (ELF_DYNAMIC_DO_RELA): Likewise.
13123 (ELF_DYNAMIC_RELOCATE): Likewise.
13124 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
13125 to ELF_DYNAMIC_DO_REL.
13126 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
13127 (dl_main): In trace mode always set __RTLD_NOIFUNC.
13128 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
13129 elf_machine_rela.
13130 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
13131 skip_ifunc, don't call ifunc function if non-zero.
13132 (elf_machine_rela): Likewise.
13133 (elf_machine_lazy_rel): Likewise.
13134 (elf_machine_lazy_rela): Likewise.
13135 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
13136 (elf_machine_lazy_rel): Likewise.
13137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
13138 Likewise.
13139 (elf_machine_lazy_rel): Likewise.
13140 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13141 Likewise.
13142 (elf_machine_lazy_rel): Likewise.
13143 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
13144 (elf_machine_lazy_rel): Likewise.
13145 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
13146 (elf_machine_lazy_rel): Likewise.
13147 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
13148 (elf_machine_lazy_rel): Likewise.
13149 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
13150 (elf_machine_lazy_rel): Likewise.
13151 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
13152 (elf_machine_lazy_rel): Likewise.
13153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
13154 (elf_machine_lazy_rel): Likewise.
13155
68577918
UD
131562011-09-28 Ulrich Drepper <drepper@gmail.com>
13157
13158 * nss/nss_files/files-init.c (_nss_files_init): Use static
13159 initialization for all the *_traced_file variables.
13160
68822d74
AS
131612011-09-28 Andreas Schwab <schwab@redhat.com>
13162
13163 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13164
2056100b
RM
131652011-09-27 Roland McGrath <roland@hack.frob.com>
13166
13167 [BZ #13226]
13168 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
13169
32c76b63
AS
131702011-09-27 Andreas Schwab <schwab@redhat.com>
13171
13172 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
13173 Reread the line before reparsing it.
13174
bf972c9d
AS
131752011-09-26 Andreas Schwab <schwab@redhat.com>
13176
13177 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
13178
e057a1b5
JM
131792011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
13180 Maxim Kuvyrkov <maxim@codesourcery.com>
13181 Joseph Myers <joseph@codesourcery.com>
13182
13183 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
13184 if needed for __stack_chk_guard.
13185
bc7e1c36
RM
131862011-09-19 Roland McGrath <roland@hack.frob.com>
13187
ecb1482f
RM
13188 * sysdeps/posix/spawni.c (script_execute): Always define it.
13189 It will be optimized away if unused.
13190 (maybe_script_execute): New function.
13191 (__spawni): Call it.
13192
bc7e1c36
RM
13193 * Makerules: Don't include tls.make.
13194 (config-tls): Always set to thread.
13195 * tls.make.c: File removed.
13196
1c3b002b
MF
131972011-09-19 Mike Frysinger <vapier@gentoo.org>
13198
13199 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
13200 * config.make.in (CPPFLAGS-config): New substituted variable.
13201
2840865d
UD
132022011-09-15 Ulrich Drepper <drepper@gmail.com>
13203
88738eb6
UD
13204 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
13205
cbf645a6 13206 [BZ #13192]
2840865d
UD
13207 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
13208 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
13209
b402e91a
RM
132102011-09-15 Roland McGrath <roland@hack.frob.com>
13211
13212 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
13213 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
13214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13215 (CALL_FAIL): Likewise.
13216 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
13217 (CALL_FAIL): Macro removed.
13218 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
13219
4c1a1f71
UD
132202011-09-15 Ulrich Drepper <drepper@gmail.com>
13221
13222 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
13223 for __FINITE_MATH_ONLY__ == 1.
13224
edc121be
AS
132252011-09-15 Andreas Schwab <schwab@redhat.com>
13226
13227 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
13228 __ieee754_sqrt instead of sqrt.
13229 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
13230 __ieee754_sqrtf instead of sqrtf.
13231 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
13232 __floorf instead of floorf.
13233 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
13234 __floorf, __truncf instead of floorf, truncf.
13235
cd205654
UD
132362011-09-14 Ulrich Drepper <drepper@gmail.com>
13237
ee4d0315
UD
13238 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
13239
cd205654
UD
13240 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
13241 __extern_always_inline.
13242 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
13243 32-bit.
13244
48b67d71
AS
132452011-09-14 Andreas Schwab <schwab@redhat.com>
13246
13247 * elf/rtld.c (dl_main): Also relocate in dependency order when
13248 doing symbol dependency testing.
13249
1ae12c75
AS
132502011-09-13 Andreas Schwab <schwab@linux-m68k.org>
13251
13252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13253 Always define `refsym'.
13254
995a80df
AS
132552011-09-13 Andreas Schwab <schwab@redhat.com>
13256
e529793b
AS
13257 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
13258 (__FD_ELT): Renamed from __FDELT.
13259 * misc/bits/select2.h (__FD_ELT): Likewise.
13260 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
13261 __FD_MASK instead of __FDELT, __FDMASK.
13262 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13263 Likewise.
13264 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
13265 Likewise.
13266
52d4fef8
AS
13267 * elf/Makefile (gen-ldd): Fix pattern.
13268
995a80df
AS
13269 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
13270 (init_tls): Likewise.
13271
8682f8b0
UD
132722011-09-12 Ulrich Drepper <drepper@gmail.com>
13273
13274 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
13275
de82006d
AS
132762011-09-12 Andreas Schwab <schwab@redhat.com>
13277
a7c8e6a1
AS
13278 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
13279 `struct cmsghdr *' instead of `void *'.
13280 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
13281 Likewise.
13282
0f31fe77
AS
132832011-09-11 Andreas Schwab <schwab@linux-m68k.org>
13284
13285 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
13286 if non-absolute.
13287 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
13288 ldd_rewrite_script.
0f31fe77 13289
32b4c839
UD
132902011-09-11 Ulrich Drepper <drepper@gmail.com>
13291
83cd1420
UD
13292 * configure.in: Remove --with-tls option.
13293 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
13294 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
13295 out in case it is missing.
13296 * sysdeps/ia64/elf/configure.in: Likewise.
13297 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
13298 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
13299 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
13300 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
13301 * sysdeps/sh/elf/configure.in: Likewise.
13302 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
13303 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
13304 * sysdeps/x86_64/elf/configure.in: Likewise.
13305 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
13306 * sysdeps/mach/hurd/tls.h: Likewise.
13307
633f745d
UD
13308 [BZ #13067]
13309 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
13310
f318beb8
UD
13311 [BZ #13090]
13312 * configure.in: Fix use of AC_INIT.
13313
32b4c839
UD
13314 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
13315
3ce1f295
UD
133162011-09-10 Ulrich Drepper <drepper@gmail.com>
13317
bb016596
UD
13318 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
13319 __set_errno.
8e58439c
UD
13320 * malloc/hooks.c: Likewise.
13321
aebae053 13322 [BZ #11929]
02d46fc4
UD
13323 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
13324 variables statically.
13325 (narenas): Initialize.
13326 (list_lock): Initialize.
bb016596
UD
13327 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
13328 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
13329 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
13330 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
13331 Add initializers to main_arena and mp_.
13332 (malloc_state): Remove pagesize member. Change all users to use
13333 GLRO(dl_pagesize).
13334
13335 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
13336 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
13337 is always initialized.
13338
22a89187
UD
13339 * malloc/malloc.c: Removed unused configurations and dead code.
13340 * malloc/arena.c: Likewise.
13341 * malloc/hooks.c: Likewise.
02d46fc4 13342 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 13343
d063d164
UD
13344 * include/tls.h: Removed. USE___THREAD must always be defined.
13345 * bits/libc-tsd.h: Don't handle !USE___THREAD.
13346 * elf/dl-libc.c: Likewise.
13347 * elf/dl-tsd.c: Likewise.
13348 * include/errno.h: Likewise.
13349 * include/netdb.h: Likewise.
13350 * include/resolv.h: Likewise.
13351 * inet/herrno-loc.c: Likewise.
13352 * inet/herrno.c: Likewise.
13353 * malloc/arena.c: Likewise.
13354 * malloc/hooks.c: Likewise.
13355 * malloc/malloc.c: Likewise.
13356 * resolv/res-state.c: Likewise.
13357 * resolv/res_libc.c: Likewise.
13358 * sysdeps/i386/dl-machine.h: Likewise.
13359 * sysdeps/ia64/dl-machine.h: Likewise.
13360 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13361 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13362 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13363 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13364 * sysdeps/sh/dl-machine.h: Likewise.
13365 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13366 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13367 * sysdeps/unix/i386/sysdep.S: Likewise.
13368 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
13369 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
13370 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
13371 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
13372 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
13373 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
13374 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
13375 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
13376 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
13377 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
13378 * sysdeps/unix/x86_64/sysdep.S: Likewise.
13379 * sysdeps/x86_64/dl-machine.h: Likewise.
13380 * tls.make.c: Likewise.
13381
3ce1f295
UD
13382 * configure.in: Remove --with-__thread option. Make tests for
13383 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
13384 tls_model attribute fail if no support is available. Remove
13385 USE_IN_LIBIO.
13386 * Makeconfig: Adjust for dropped configure option. All features are
13387 now mandatory.
13388 * Makerules: Likewise.
13389 * Versions.def: Likewise.
13390 * argp/argp-fmtstream.c: Likewise.
13391 * argp/argp-fmtstream.h: Likewise.
13392 * argp/argp-help.c: Likewise.
13393 * assert/assert.c: Likewise.
13394 * config.h.in: Likewise.
13395 * config.make.in: Likewise.
13396 * configure: Likewise.
13397 * configure.in: Likewise.
13398 * csu/Versions: Likewise.
13399 * csu/init.c: Likewise.
13400 * elf/tst-audit2.c: Likewise.
13401 * elf/tst-tls10.c: Likewise.
13402 * elf/tst-tls10.h: Likewise.
13403 * elf/tst-tls11.c: Likewise.
13404 * elf/tst-tls12.c: Likewise.
13405 * elf/tst-tls14.c: Likewise.
13406 * elf/tst-tlsmod11.c: Likewise.
13407 * elf/tst-tlsmod12.c: Likewise.
13408 * elf/tst-tlsmod13.c: Likewise.
13409 * elf/tst-tlsmod13a.c: Likewise.
13410 * elf/tst-tlsmod14a.c: Likewise.
13411 * elf/tst-tlsmod15b.c: Likewise.
13412 * elf/tst-tlsmod16a.c: Likewise.
13413 * elf/tst-tlsmod16b.c: Likewise.
13414 * elf/tst-tlsmod7.c: Likewise.
13415 * elf/tst-tlsmod8.c: Likewise.
13416 * elf/tst-tlsmod9.c: Likewise.
13417 * gmon/gmon.c: Likewise.
13418 * grp/fgetgrent_r.c: Likewise.
13419 * grp/putgrent.c: Likewise.
13420 * hurd/fopenport.c: Likewise.
13421 * include/libc-symbols.h: Likewise.
13422 * include/tls.h: Likewise.
13423 * intl/gettextP.h: Likewise.
13424 * intl/loadinfo.h: Likewise.
13425 * locale/global-locale.c: Likewise.
13426 * locale/localeinfo.h: Likewise.
13427 * mach/devstream.c: Likewise.
13428 * malloc/arena.c: Likewise.
13429 * malloc/set-freeres.c: Likewise.
13430 * misc/err.c: Likewise.
13431 * misc/getttyent.c: Likewise.
13432 * misc/mntent_r.c: Likewise.
13433 * posix/getopt.c: Likewise.
13434 * posix/wordexp.c: Likewise.
13435 * pwd/fgetpwent_r.c: Likewise.
13436 * resolv/Versions: Likewise.
13437 * resolv/res_hconf.c: Likewise.
13438 * shadow/fgetspent_r.c: Likewise.
13439 * shadow/putspent.c: Likewise.
13440 * stdio-common/printf_fphex.c: Likewise.
13441 * stdio-common/tmpfile.c: Likewise.
13442 * stdlib/abort.c: Likewise.
13443 * stdlib/fmtmsg.c: Likewise.
13444 * sunrpc/auth_unix.c: Likewise.
13445 * sunrpc/clnt_perr.c: Likewise.
13446 * sunrpc/clnt_tcp.c: Likewise.
13447 * sunrpc/clnt_udp.c: Likewise.
13448 * sunrpc/clnt_unix.c: Likewise.
13449 * sunrpc/openchild.c: Likewise.
13450 * sunrpc/svc_simple.c: Likewise.
13451 * sunrpc/svc_tcp.c: Likewise.
13452 * sunrpc/svc_udp.c: Likewise.
13453 * sunrpc/svc_unix.c: Likewise.
13454 * sunrpc/xdr.c: Likewise.
13455 * sunrpc/xdr_array.c: Likewise.
13456 * sunrpc/xdr_rec.c: Likewise.
13457 * sunrpc/xdr_ref.c: Likewise.
13458 * sunrpc/xdr_stdio.c: Likewise.
13459
1248c1c4
PB
134602011-09-09 Ulrich Drepper <drepper@gmail.com>
13461
13462 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13463
134642011-07-03 Andreas Jaeger <aj@suse.de>
13465
13466 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13467 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13468 regenerate with gen-libm-tests.pl.
13469
134702010-05-12 Petr Baudis <pasky@suse.cz>
13471
13472 [BZ #11589]
13473 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13474 around j0() zero points by switching to j1().
13475 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13476 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13477 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13478 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13479
f22e1074
UD
134802011-09-09 Ulrich Drepper <drepper@gmail.com>
13481
f19009c1
UD
13482 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13483 instead of 0.
13484 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13485 instead of 0. .
13486 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13487 Patch in part by Pavel Roskin <proski@gnu.org>.
13488
3f8cc204
UD
13489 [BZ #13138]
13490 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13491 realloc.
13492 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13493 Free memory block if necessary.
13494
f22e1074
UD
13495 [BZ #12847]
13496 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13497 be NULL. Don't lock in this case.
13498
0a2349f9
RM
134992011-09-09 Roland McGrath <roland@hack.frob.com>
13500
13501 * elf/elf.h (ELFOSABI_GNU): New macro.
13502 (ELFOSABI_LINUX): Define to that.
13503
f3cdd467
DZ
135042011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13505
13506 * string/strncat.c (strncat): Undef the symbol in case it has been
13507 defined in bits/string.h.
13508
74718d13
UD
135092011-09-09 Ulrich Drepper <drepper@gmail.com>
13510
633e9e0f
UD
13511 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13512
0a2349f9 13513 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
13514 link map.
13515
f9924780
AJ
135162011-08-17 Andreas Jaeger <aj@suse.de>
13517
13518 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13519
7f5517aa
PP
135202011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13521 Ian Lance Taylor <iant@google.com>
13522
13523 * math/libm-test.inc (lround_test): New testcase.
13524 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13525
762011fe
UD
135262011-09-08 Ulrich Drepper <drepper@gmail.com>
13527
92963737
UD
13528 * Makefile: Remove support for automatic cvs check-ins.
13529 * Makerules: Likewise.
13530 * config.make.in: Likewise.
13531 * configure.in: Likewise.
13532 * intl/Makefile: Likewise.
13533 * locale/Makefile: Likewise.
13534 * po/Makefile: Likewise.
13535 * posix/Makefile: Likewise.
13536 * sysdeps/gnu/Makefile: Likewise.
13537 * sysdeps/mach/hurd/Makefile: Likewise.
13538 * sysdeps/sparc/sparc32/Makefile: Likewise.
13539
b0727fd8
JS
13540 [BZ #13118]
13541 * posix/Makefile (bug-regex32-ENV): Define.
13542 Patch by John Stanley <jpsinthemix@verizon.net>.
13543
a0f33f99
UD
13544 * misc/Makefile (headers): Add bits/select2.h.
13545 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13546 * misc/bits/select2.h: New file.
13547 * include/bits/select2.h: New file.
13548 * debug/Makefile (routines): Add fdelt_chk.
13549 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13550 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13551 FD_ISSET.
13552 * debug/fdelt_chk.c: New file.
13553
762011fe
UD
13554 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13555 * wcsmbs/test-wmemcmp.c: Likewise.
13556 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 13557 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
13558
135592011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13560
13561 * string/Makefile (strop-tests): Add memcmp.
13562 * string/test-wmemcmp.c: New file.
13563 * string/test-memcmp.c: Add wmemcmp support.
13564
7f513ec8
RM
135652011-09-08 Roland McGrath <roland@hack.frob.com>
13566
0442afb4
RM
13567 [BZ #13153]
13568 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13569 2011-07-19 change.
13570
7f513ec8
RM
13571 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13572 garbage value in a __mach_port_mod_refs call in the cases of the
13573 task-self and thread-self ports.
13574
a12b2239
ST
135752011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13576
13577 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13578
610f9ab4
AS
135792011-09-08 Andreas Schwab <schwab@redhat.com>
13580
7f513ec8 13581 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 13582
48882a1a
LD
135832011-09-07 Ulrich Drepper <drepper@gmail.com>
13584
b49865be
UD
13585 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13586
fdc86bc9
UD
13587 * elf/dl-libc.c (dlerror_run): Pass back error code from
13588 dl_catch_error.
13589
c966526a
UD
13590 [BZ #13123]
13591 * elf/dl-load.c (lose): Free l_origin if it is valid.
13592
48882a1a
LD
13593 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13594 names.
13595 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13596 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13597 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13598 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13599 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13600 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13601
77a2a8b4
AZ
136022011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13603
13604 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13605 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13606 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13607 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13608 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13609 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13610 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13611 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13612 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13613 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13614
24f579d8
AM
136152011-08-15 Alan Modra <amodra@gmail.com>
13616
13617 [BZ #13092]
13618 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13619 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13620 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13621 ppc_mcount to static-only-routines.
13622 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13623 __mcount_internal.
13624 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13625 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13626
3d4837df
UD
136272011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13628
13629 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13630 for finite and infinity parameters.
13631
22700377
WS
136322011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13633
13634 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13635 and add nop instructions for throughput optimization.
13636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13637
5025581e
WS
136382011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13639
13640 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13641 aligned copy for power7 with vector-scalar instructions.
13642 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13643
08a300c9
L
136442011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13645
13646 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13647 AVX check.
13648
59178ef9
AS
136492011-09-07 Andreas Schwab <schwab@redhat.com>
13650
13651 [BZ #13144]
13652 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13653 last change.
13654
e38ba7ab
UD
136552011-09-07 Ulrich Drepper <drepper@gmail.com>
13656
13657 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13658 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13659 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13660 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13661 clock_gettime.
13662
d53a73ac
UD
136632011-09-06 Ulrich Drepper <drepper@gmail.com>
13664
fc8bffcc
UD
13665 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13666 Forgot to demangle the pointer.
13667
ceaa0c5d
UD
13668 * sysdeps/i386/sysdep.h: Define atom_text_section.
13669 * sysdeps/x86_64/sysdep.h: Likewise.
13670 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13671 section with atom_text_section.
13672 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13673 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13674 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13675 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13676 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13677
a77d3c17
UD
13678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13679 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13680 already be defined. Change to take two parameters and don't assign
13681 result to variable. Adjust all users.
13682 Define INTERNAL_GETTIME if not already defined.
13683 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13684 call.
13685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13686 HAVE_CLOCK_GETTIME_VSYSCALL.
13687 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13688
d53a73ac
UD
13689 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13690 gettimeofday vsyscall, just use time.
13691
a8f84144
AS
136922011-09-06 Andreas Schwab <schwab@redhat.com>
13693
13694 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13695 <errno.h>.
13696
ef606249
UD
136972011-09-06 Ulrich Drepper <drepper@gmail.com>
13698
13699 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13700 syscall on x86-64.
13701 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13702 syscall.
13703 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13704 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13705 syscall if possible.
13706
6585cb60
UD
137072011-09-05 Ulrich Drepper <drepper@gmail.com>
13708
13709 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13710 e_ident. Don't pass to find_mapsXX.
13711 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13712
a5f524e4
LD
137132011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13714
13715 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13716 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13717 * sysdeps/x86_64/multiarch/strchr.S: Update.
13718 Check bit_slow_BSF bit.
13719 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13720 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13721 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13722
554881ef
UD
137232011-09-05 Ulrich Drepper <drepper@gmail.com>
13724
d96de963
UD
13725 [BZ #13134]
13726 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13727 before glibc 2.15.
13728 (tryshell): Define.
13729 (__spawni): Change last parameter to be flag. Test
13730 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13731 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13732 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13733 * posix/spawni.c: Likewise.
13734 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13735 * posix/spawnp.c: Likewise. Change normal version to use
13736 SPAWN_XFLAGS_USE_PATH.
13737 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13738 SPAWN_XFLAGS_TRY_SHELL.
13739
d48e5868
UD
13740 [BZ #13150]
13741 * posix/glob.h: Remove gcc 1.x support.
13742
554881ef
UD
13743 [BZ #13068]
13744 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13745
693fb948
LD
137462011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13747
13748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13749 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13750 strrchr-sse2-bsf
13751 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13752 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13753 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13754 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13755 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13756 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13757
1b48c537
UD
137582011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13759
49d42c37
UD
13760 * sysdeps/x86_64/wcscmp.S: New file.
13761
1b48c537
UD
13762 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13763 wcscmp-c wcscmp-sse2
13764 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13765 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13766 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13767 * wcsmbs/wcscmp.c: Allow renaming.
13768
15c95c5d
DM
137692011-09-05 David S. Miller <davem@davemloft.net>
13770
13771 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13772 stack slot, rather than the struct return pointer slot.
13773 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13774 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13775 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13776 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13777
2f0ad8f3
UD
137782011-09-05 Ulrich Drepper <drepper@gmail.com>
13779
d88ae418
UD
13780 * po/ja.po: Update from translation team.
13781
2f0ad8f3
UD
13782 [BZ #13144]
13783 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13784 kernel in 64-bit binaries.
13785
5f4318d1
DM
137862011-09-01 David S. Miller <davem@davemloft.net>
13787
13788 * elf/elf.h (HWCAP_SPARC_*): Move to..
13789 * sysdeps/sparc/sysdep.h: this new file and add new values.
13790 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13791 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13792 _DL_HWCAP_COUNT to 24.
13793 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13794 entries.
13795 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13796 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13797 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13799 instead of magic constants.
13800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13801
3ba57516
DM
138022011-08-31 David S. Miller <davem@davemloft.net>
13803
13804 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13805 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13806 Reimplement to do errno handling inline.
13807 (SYSCALL_ERROR_HANDLER): New macro.
13808 (__SYSCALL_STRING): Do not do errno handling in asm.
13809 (__CLONE_SYSCALL_STRING): Delete.
13810 (__INTERNAL_SYSCALL_STRING): Delete.
13811 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13812 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13813 (PSEUDO): Reimplement to do errno handling inline.
13814 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13815 (SYSCALL_ERROR_HANDLER): New macro.
13816 (__SYSCALL_STRING): Do not do errno handling in asm.
13817 (__CLONE_SYSCALL_STRING): Delete.
13818 (__INTERNAL_SYSCALL_STRING): Delete.
13819 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13820 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13821 i386.
13822 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13823 (inline_syscall*): Add 'err' argument.
13824 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13825 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13826 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13827 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13828
13829 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13830 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13831
2bc17433
AS
138322011-08-30 Andreas Schwab <schwab@redhat.com>
13833
13834 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13835
fbeb5f4d
JO
138362011-08-29 Jiri Olsa <jolsa@redhat.com>
13837
13838 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13839 directive.
13840
ad69cc26
DM
138412011-08-24 David S. Miller <davem@davemloft.net>
13842
13843 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13844
39dd69df
AS
138452011-08-24 Andreas Schwab <schwab@redhat.com>
13846
13847 * elf/Makefile: Add rules to build and run unload8 test.
13848 * elf/unload8.c: New file.
13849 * elf/unload8mod1.c: New file.
13850 * elf/unload8mod1x.c: New file.
13851 * elf/unload8mod2.c: New file.
13852 * elf/unload8mod3.c: New file.
13853
13854 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13855 it wasn't used.
13856
2c0b250a
DM
138572011-08-23 David S. Miller <davem@davemloft.net>
13858
13859 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13860 subtract stack bias.
13861 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13862 %sp not %fp in calculations.
13863 (_JMPBUF_UNWINDS_ADJ): Likewise.
13864
22044b48
DM
13865 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13866 (aio_suspend): Call it to force an exception region around the
13867 AIO_MISC_WAIT() invocation.
13868
2cae4995
AS
138692011-08-23 Andreas Schwab <schwab@redhat.com>
13870
13871 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13872 backslash.
13873
873a772e
AJ
138742011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13875
13876 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13877 protection macro.
13878 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13879 and <dl-machine.h>.
13880 (Elf64_FuncDesc): Remove.
13881
25ad0df1
DM
138822011-08-22 David S. Miller <davem@davemloft.net>
13883
13884 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13885 sigaltstack check, add missing cfi directives.
13886 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13887 missing cfi directives, and sigaltstack handling.
13888
e888bcbe
AS
138892011-08-16 Andreas Schwab <schwab@redhat.com>
13890
13891 [BZ #11724]
13892 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13893 object is seen twice.
13894 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13895
13896 * elf/Makefile (distribute): Add tst-initorder2.c.
13897 (tests): Add tst-initorder2.
13898 (modules-names): Add tst-initorder2a tst-initorder2b
13899 tst-initorder2c tst-initorder2d. Add rules to build them.
13900 ($(objpfx)tst-initorder2.out): New rule.
13901 * elf/tst-initorder2.c: New file.
13902 * elf/tst-initorder2.exp: New file.
13903
87162f46
AS
139042011-08-22 Andreas Schwab <schwab@redhat.com>
13905
70538b7f
AS
13906 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13907
f55ffe58
AS
13908 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13909 dependencies back to end of function.
13910
87162f46
AS
13911 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13912 $(elfobjdir)/ld.so.
13913
91b392a4
UD
139142011-08-21 Ulrich Drepper <drepper@gmail.com>
13915
13916 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13917 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13918 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13919 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13921 of __vdso_gettimeofday.
13922 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13923 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13924 attribute_hidden.
13925 (_libc_vdso_platform_setup): Remove initialization of
13926 __vdso_gettimeofday and __vdso_time.
13927
5c43483f
UD
139282011-08-20 Ulrich Drepper <drepper@gmail.com>
13929
775a77e7
UD
13930 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13931 and fgetc_unlocked.
13932 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13933 getc_unlocked.
89f447ed 13934
49c74ba9
UD
13935 * elf/dl-open.c (add_to_global): Report additions to the global scope
13936 for LD_DEBUG=scopes.
13937 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 13938 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 13939
5c43483f
UD
13940 [BZ #13114]
13941 * stdio-common/Makefile (tests): Add bug24.
13942 * stdio-common/bug24.c: New file.
13943
a101b025
AJ
139442011-08-19 Andreas Jaeger <aj@suse.de>
13945
13946 [BZ #13114]
13947 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13948 non-existant file when using close-on-exec mode.
13949
c88f1766
UD
139502011-08-20 Ulrich Drepper <drepper@gmail.com>
13951
0276a718
UD
13952 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13953 the very first instruction.
13954
c88f1766
UD
13955 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13956 the CFI state in the end.
13957 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13958 inclusion of dl-trampoline.h.
13959 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13960
51ccffa0
AS
139612011-08-19 Andreas Schwab <schwab@redhat.com>
13962
94d7165f
AS
13963 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13964 expectations for long double.
13965
51ccffa0
AS
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13967 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13968
fd708658 139692011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
13970
13971 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13972 artificual limit depends upon the system page size.
13973
44f0a71e
UD
139742011-08-17 Ulrich Drepper <drepper@gmail.com>
13975
13976 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13977 * resolv/Makefile: Define CFLAGS-libresolv.
13978
8de79a24
AS
139792011-08-17 Andreas Schwab <schwab@redhat.com>
13980
13981 * nss/makedb.c (compute_tables): Make variables used in nested
13982 function static.
13983
27724598
UD
139842011-08-17 Ulrich Drepper <drepper@gmail.com>
13985
c5305d88
UD
13986 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13987 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13988 if buffer was too small.
13989
27724598
UD
13990 * elf/pldd.c (main): Attach to all threads in the process.
13991 Rewrite /proc handling to use *at functions.
13992
076fe015
UD
139932011-08-16 Ulrich Drepper <drepper@gmail.com>
13994
174baab3
UD
13995 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13996 specifies first scope to show.
13997 (dl_open_worker): Update callers. Move printing scope of new
13998 object to before the relocation.
44f0a71e 13999 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
14000 * sysdeps/generic/ldsodefs.h: Update declaration.
14001
076fe015
UD
14002 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
14003 string for the scope number.
14004
a60df2c3
UD
140052011-08-14 Ulrich Drepper <drepper@gmail.com>
14006
14007 * nscd/servicescache.c (cache_addserv): Make sure written is always
14008 initialized.
14009
5e4287d1
RM
140102011-08-14 Roland McGrath <roland@hack.frob.com>
14011
85ae0589
RM
14012 * sysdeps/i386/i486/bits/atomic.h
14013 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
14014 statement expression, so as to suppress "set but not used" warning.
14015 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
14016
69f63097
RM
14017 * string/strncat.c (STRNCAT): Use prototype definition.
14018
675456ef
RM
14019 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
14020 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
14021 -Iprograms here.
14022 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
14023 (localedef-modules): Add localedef.
14024 (locale-modules): Add locale.
14025
5e4287d1
RM
14026 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
14027 * elf/rtld.c (dl_main): Invert order of assignment in last change,
14028 to avoid a warning.
14029
9c96ff23
DM
140302011-08-14 David S. Miller <davem@davemloft.net>
14031
14032 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
14033 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
14034
f9ddf089
UD
140352011-08-13 Ulrich Drepper <drepper@gmail.com>
14036
44f0a71e 14037 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
14038 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
14039 * elf/rtld.c (dl_main): Set l_name of vDSO.
14040 Call _dl_show_scope when DL_DEBUG_SCOPES.
14041 (process_dl_debug): Recognize scopes flag and also set it for all.
14042 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
14043 Declare _dl_show_scope.
14044
1dc27704
UD
14045 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
14046 (do_dlopen): Pass caller_dlopen to dl_open.
14047 (__libc_dlopen_mode): Initialize caller_dlopen.
14048
f9ddf089
UD
14049 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
14050 of libc. Make tolower call locale-independent. Optimize a bit by
14051 using isdigit instead of isalnum.
14052 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
14053
9ac533d3
UD
140542011-08-12 Ulrich Drepper <drepper@gmail.com>
14055
14056 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
14057 was a dependency or dynamically loaded.
14058
89edf2e9
UD
140592011-08-11 Ulrich Drepper <drepper@gmail.com>
14060
8e999d29
UD
14061 * intl/l10nflist.c: Allow architecture-specific pop function.
14062 * sysdeps/x86_64/l10nflist.c: New file.
14063
89edf2e9
UD
14064 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
14065 classification.
14066
14d96785
AS
140672011-08-10 Andreas Schwab <schwab@redhat.com>
14068
14069 * include/dirent.h: Add libc_hidden_proto for scandirat and
14070 scandirat64. Don't declare __scandirat64.
14071 * dirent/scandirat.c: Add libc_hidden_def.
14072 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
14073 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
14074
6761ac04
DM
140752011-08-10 David S. Miller <davem@davemloft.net>
14076
14077 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
14078 enum.
14079 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14080 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14081 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14082
c55fbd1e
UD
140832011-08-09 Ulrich Drepper <drepper@gmail.com>
14084
14085 * Versions.def [libc]: Add GLIBC_2.15.
14086 * dirent/Makefile (routines): Add scandirat and scandirat64.
14087 * dirent/Versions [libc]: Export scandirat and scandirat64 for
14088 GLIBC_2.15.
14089 * dirent/dirent.h: Declare scandirat and scandirat64.
14090 * dirent/scandirat.c: New file.
14091 * dirent/scandirat64.c: New file.
14092 * sysdeps/wordsize-64/scandirat.c: New file.
14093 * sysdeps/wordsize-64/scandirat64.c: New file.
14094 * dirent/opendir.c: Define opendirat.
14095 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
14096 using scandirat.
14097 * dirent/scandir64.c: Adjust for scandir.c change.
14098 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
14099 __scandirat64, and __scandir_cancel_handler.
14100 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
14101 additional parameter and use openat instead of open (outside of ld.so).
14102 Add new __opendir as wrapper around __opendirat.
14103 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
14104 here without requiring old scandirat implementation.
14105
879165f2
UD
141062011-08-08 Ulrich Drepper <drepper@gmail.com>
14107
14108 * dirent/scandir.c (cancel_handler): Renamed to
14109 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
14110 defined. Adjust users.
14111 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
14112 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
14113
cb7e923b
UD
141142011-08-04 Ulrich Drepper <drepper@gmail.com>
14115
16292edd
UD
14116 * string/test-string.h (IMPL): Use __STRING to expand name and then
14117 stringify it.
14118
cb7e923b
UD
14119 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
14120 of cleanups.
14121
cff82933
LD
141222011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14123
14124 * string/Makefile: Update.
14125 (strop-tests): Append strncat.
14126 * string/test-wcscmp.c: New file.
14127 New comprehensive test for wcscmp.
14128 * string/test-strcmp.c: Update.
14129 (WIDE): New define.
14130
9be9bfcc
AS
141312011-07-22 Andreas Schwab <schwab@redhat.com>
14132
14133 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
14134 line.
14135
2e96f1c7
AS
141362011-07-26 Andreas Schwab <schwab@redhat.com>
14137
14138 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
14139 encoding to ACE if AI_IDN.
14140
85188888
JJ
141412011-08-01 Jakub Jelinek <jakub@redhat.com>
14142
14143 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
14144 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
14145
5fa16e9b
LD
141462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14147
14148 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
14149 Fix overflow bug in strncat.
14150 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
14151
14152 * string/test-strncat.c: Update.
14153 Add new tests for checking overflow bugs.
14154
141552011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14156
14157 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14158 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
14159 * sysdeps/i386/i686/multiarch/strcat.S: New file.
14160 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
14161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
14162 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
14163 * sysdeps/i386/i686/multiarch/strncat.S: New file.
14164 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
14165 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
14166
14167 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
14168 (USE_AS_STRCAT): Define.
14169 Add strcat and strncat support.
14170 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
14171
8c1a459f
AS
141722011-07-25 Andreas Schwab <schwab@redhat.com>
14173
14174 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
14175 __n bigger than INT_MAX+1.
14176 (__strncmp_g): Likewise.
14177
bba33c28
UD
141782011-07-23 Ulrich Drepper <drepper@gmail.com>
14179
798be72d
UD
14180 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
14181 * libio/stido.h: Likewise.
14182
8accd4dc
UD
14183 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
14184 (AF_NFC): Define.
14185 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
14186 (AF_NFC): Define.
14187
cbff0d96
UD
14188 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
14189 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14190 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14191 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
14192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14193
9191c04a
UD
14194 [BZ #13021]
14195 * scripts/test-installation.pl: Don't expect libnss_test1 to be
14196 installed.
14197
bba33c28
UD
14198 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
14199 typo.
14200 (_dl_x86_64_save_sse): Likewise.
14201
90f139dd
UD
142022011-07-22 Ulrich Drepper <drepper@gmail.com>
14203
1aae088a
UD
14204 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
14205 OSXSAVE.
14206 (_dl_x86_64_save_sse): Likewise.
14207
8e2045f5
UD
14208 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
14209
90f139dd
UD
14210 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
14211
1d002f25
AS
142122011-07-21 Andreas Schwab <schwab@redhat.com>
14213
14214 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
14215 change.
14216 (_dl_x86_64_save_sse): Use correct AVX check.
14217
21137f89
UD
142182011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
14219
14220 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
14221 bug in strncpy/strncat.
14222 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14223
a65c0b7a
UD
142242011-07-21 Ulrich Drepper <drepper@gmail.com>
14225
14226 * string/tester.c (test_strcat): Add tests for different alignments
14227 of source and destination.
14228 (test_strncat): Likewise.
14229
6986b98a
UD
142302011-07-20 Ulrich Drepper <drepper@gmail.com>
14231
90bb2039
UD
14232 [BZ #12852]
14233 * posix/glob.c (glob): Check passed in values before using them in
14234 expressions to avoid some overflows.
14235 (glob_in_dir): Likewise.
14236
5644ef54
UD
14237 [BZ #13007]
14238 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
14239 check for AVX enablement so that we don't crash with old kernels and
14240 new hardware.
14241 * elf/tst-audit4.c: Add same checks here.
14242 * elf/tst-audit6.c: Likewise.
14243
14244 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 14245
bfc9dc9b
AS
142462011-07-09 Andreas Schwab <schwab@linux-m68k.org>
14247
14248 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
14249
702e64bb
UD
142502011-07-20 Ulrich Drepper <drepper@gmail.com>
14251
14252 * po/cs.po: Update from translation team.
14253 * po/bg.po: Likewise.
14254
295e904f
MP
142552011-07-12 Marek Polacek <mpolacek@redhat.com>
14256
14257 * misc/sys/cdefs.h: Add support for const attribute.
14258 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
14259 to gnu_dev_{major,minor,makedev} functions.
14260
3ff94596
MP
142612011-07-20 Marek Polacek <mpolacek@redhat.com>
14262
14263 * intl/dcigettext.c (get_output_charset): Add missing bracket.
14264
28b59fca
AS
142652011-07-20 Andreas Schwab <schwab@redhat.com>
14266
14267 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
14268 strlen results.
14269
19df733e
AK
142702011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14271
14272 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
14273 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
14274 register in order to avoid conflicts with the soft frame pointer
14275 being held in r11 when necessary.
14276 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
14277 (INTERNAL_VSYSCALL_NCS): Likewise.
14278
c8835729
MP
142792011-07-14 Marek Polacek <mpolacek@redhat.com>
14280
14281 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
14282 * elf/dl-fini.c (_dl_fini): Adjust caller.
14283 * elf/dl-close.c (_dl_close_worker): Likewise.
14284 * sysdeps/generic/ldsodefs.h: Adjust declaration.
14285
b902330c
MP
142862011-07-15 Marek Polacek <mpolacek@redhat.com>
14287
8991e135
MP
14288 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
14289 "aux_cache->nlibs < 0".
14290
b902330c
MP
14291 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
14292 in the reload-count case.
14293
99710781
LD
142942011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
14295
14296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14297 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
14298 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
14299 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
14300 * sysdeps/x86_64/multiarch/strcat.S: New file.
14301 * sysdeps/x86_64/multiarch/strncat.S: New file.
14302 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
14303 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
14304 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
14305 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
14306 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
14307 (USE_AS_STRCAT): Define.
14308 Add strcat and strncat support.
14309 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
14310 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14311 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
14312 * string/strncat.c: Update.
14313 (USE_AS_STRNCAT): Define.
14314 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14315 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
14316 and i7.
14317 * sysdeps/x86_64/multiarch/init-arch.h
14318 (bit_Prefer_PMINUB_for_stringop): New.
14319 (index_Prefer_PMINUB_for_stringop): Likewise.
14320 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
14321 bit_Prefer_PMINUB_for_stringop.
14322
7dc6bd90
UD
143232011-07-19 Ulrich Drepper <drepper@gmail.com>
14324
14325 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
14326 buffer64.
14327 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
14328 of casting of buffer.
14329 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
14330 buffer32 and buffer64.
14331 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
14332 writes instead of casting of buffer.
14333 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
14334 buffer32.
14335 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
14336 casting of buffer.
14337
e0e72284
AS
143382011-07-19 Andreas Schwab <schwab@redhat.com>
14339
14340 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
14341
feb1eb0b
UD
143422011-07-19 Ulrich Drepper <drepper@gmail.com>
14343
14344 * nscd/nscd.c (termination_handler): Don't do anything for a database
14345 if it has not yet been initialized.
14346
298711ff
UD
143472011-07-18 Ulrich Drepper <drepper@gmail.com>
14348
14349 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14350
143512011-07-15 Marek Polacek <mpolacek@redhat.com>
14352
14353 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
14354
f9d68389
UD
143552011-07-18 Ulrich Drepper <drepper@gmail.com>
14356
14357 * po/nl.po: Update from translation team.
14358 * po/sv.po: Likewise.
14359
db290cf5
RM
143602011-07-16 Roland McGrath <roland@hack.frob.com>
14361
14362 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
14363 now disallowed by GCC.
5c550700 14364
fd5e21c7
RM
14365 * configure.in (use-default-link): Default to yes if a test -shared
14366 link meets our qualifications.
14367 * configure: Regenerated.
14368
5c550700
RM
14369 * config.make.in (output-format): New variable.
14370 * configure.in: Check for ld --print-output-format support.
14371 * configure: Regenerated.
14372 * Makerules ($(common-objpfx)format.lds)
14373 [$(output-format) != unknown]: Just use $(output-format),
14374 instead of the linker-script munging.
14375
9fa2c032
RM
143762011-07-14 Roland McGrath <roland@hack.frob.com>
14377
a6928d51
RM
14378 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
14379 of $(common-objpfx)shlib.lds.
14380 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
14381
661607b3
RM
14382 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
14383 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
14384
9fa2c032
RM
14385 * configure.in (-z relro check): Adjust test code to add a large
14386 writable data section after it.
14387 * configure: Regenerated.
14388
defe9061
RM
143892011-07-11 Roland McGrath <roland@hack.frob.com>
14390
14391 * configure.in (-z relro check): Fix test code to make the variable
14392 truly const.
14393 * configure: Regenerated.
14394
319b9ad4
UD
143952011-07-11 Ulrich Drepper <drepper@gmail.com>
14396
14397 * nscd/nscd.h (struct traced_file): Define.
14398 (struct database_dyn): Remove inotify_descr, reset_res, and filename
14399 elements. Add traced_files.
14400 (inotify_fd): Declare.
14401 (register_traced_file): Declare.
14402 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
14403 (inotify_fd): Export.
14404 (resolv_conf_descr): Remove.
14405 (nscd_init): Move inotify descriptor creation to main.
14406 Don't register files for notification here.
14407 (register_traced_file): New function.
14408 (invalidate_cache): Don't use reset_res to determine whether to call
14409 res_init, go through the list of registered files.
14410 (main_loop_poll): The inotify descriptors are now stored in the
14411 structures for the traced files.
14412 (main_loop_epoll): Likewise
14413 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
14414 to __nss_disable_nscd.
14415 * nscd/cache.c (prune_cache): There is no single inotify descriptor
14416 for a database anymore. Check the records for all the registered
14417 files instead.
14418 * nss/Makefile (libnss_files-routines): Add files-init.
14419 (libnss_db-routines): Add db-init.
14420 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
14421 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
14422 * nss/nss_db/db-init.c: New file.
14423 * nss/nss_files/files-init.c: New file.
14424 * nss/nsswitch.c (nss_load_library): New function. Broken out of
14425 __nss_lookup_function.
14426 (__nss_lookup_function): Call nss_load_library.
14427 (nss_load_all_libraries): New function.
14428 (__nss_disable_nscd): Take parameter with callback function for files
14429 to register. Set is_nscd. Load all the DSOs for the NSS modules
14430 used for the cached services.
14431 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
14432 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
14433 options for features to all the files in nscd.
14434
14435 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
14436
23bee3e8
RM
144372011-07-10 Roland McGrath <roland@hack.frob.com>
14438
14439 * csu/elf-init.c (__libc_csu_init): Comment typo.
14440
46a5b7f0
UD
144412011-07-09 Ulrich Drepper <drepper@gmail.com>
14442
14443 * po/pl.po: Update from translation team.
14444 * po/ja.po: Likewise.
14445 * po/ru.po: Likewise.
14446 * po/ko.po: Likewise.
14447 * po/fr.po: Likewise.
14448
d30cf5bb
RM
144492011-07-09 Roland McGrath <roland@hack.frob.com>
14450
113ddea4
RM
14451 * configure.in (.ctors/.dtors header and trailer check):
14452 Use an empirical test on a built program.
14453 * configure: Regenerated.
14454
574920b4
RM
14455 * configure.in (-z relro check): Use an empirical test on a built DSO.
14456 Detect, but do not require, on ia64.
14457 * configure: Regenerated.
14458
d30cf5bb
RM
14459 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14460 Update tests that use readelf to use $READELF instead.
14461 * configure: Regenerated.
14462
8538fdb3
UD
144632011-07-08 Ulrich Drepper <drepper@gmail.com>
14464
14465 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14466 if the result is not used.
14467
04d08991
AJ
144682011-07-05 Andreas Jaeger <aj@suse.de>
14469
14470 [BZ#9696]
14471 * stdlib/tst-strtod.c: Add testcase.
14472
de283087
AD
144732011-07-07 Ulrich Drepper <drepper@gmail.com>
14474
4e5f31c8 14475 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 14476 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
14477 The latter has a higher limit. Take additional parameter to pass to
14478 the new function.
14479 (__pathconf): Pass file to __statfs_link_max.
14480 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14481 __statfs_link_max.
14482 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14483 __statfs_link_max.
14484
de283087
AD
14485 [BZ #12868]
14486 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14487 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14488 Handle Lustre.
14489 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14490 (__statfs_filesize_max): Likewise.
14491 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14492
c75fa153
AJ
144932011-07-05 Andreas Jaeger <aj@suse.de>
14494
14495 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14496
1a544854
UD
144972011-07-06 Marek Polacek <mpolacek@redhat.com>
14498
14499 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14500 `status' variable.
14501 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14502 Likewise.
14503
6f0eec67
UD
145042011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14505
14506 * Makefile (strop-tests): Add strncat.
14507 * string/test-strncat.c: New file.
14508
aae30307
UD
145092011-06-30 Marek Polacek <mpolacek@redhat.com>
14510
14511 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14512
c0cfb5eb
UD
145132011-06-21 Andreas Jaeger <aj@suse.de>
14514
14515 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14516 Copy rule from iconvdata/Makefile.
14517
01636b21
UD
145182011-07-06 Ulrich Drepper <drepper@gmail.com>
14519
14520 [BZ #12922]
14521 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14522 but no long options are defined, just return 'W'.
14523
9895c8bc
UD
145242011-06-22 Marek Polacek <mpolacek@redhat.com>
14525
14526 [BZ #9696]
14527 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14528
5d4cf042
UD
145292011-07-06 Ulrich Drepper <drepper@gmail.com>
14530
14531 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14532 netgroups to read.
960e5535 14533 (innetgr): Likewise.
5d4cf042 14534
751eb97e
RM
145352011-07-05 Roland McGrath <roland@hack.frob.com>
14536
14537 * config.make.in (install_root): Default to $(DESTDIR).
14538
f15f1e45
UD
145392011-07-05 Ulrich Drepper <drepper@gmail.com>
14540
14541 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14542
4e34ac6a
RM
145432011-07-02 Roland McGrath <roland@hack.frob.com>
14544
5e9b6af4
RM
14545 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14546
84f9ea0f
RM
14547 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14548 containing directory rather than embedding absolute directory names.
14549
ea5ee9f7
RM
14550 * scripts/check-local-headers.sh: Rewritten using awk.
14551 Match by word, not by line. Print error messages for matches.
14552 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14553
1b74661a
RM
14554 * Makerules [shlib-lds-flags empty]:
14555 ($(common-objpfx)libc_pic.opts): New target.
14556 ($(common-objpfx)libc_pic.os.clean): New target.
14557 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14558
14559 * config.make.in (OBJCOPY): New variable.
14560 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14561 * configure: Regenerated.
14562
f781ef40
RM
14563 * config.make.in (use-default-link): New variable.
14564 * configure.in (use_default_link): Grok --with-default-link to set it.
14565 * configure: Regenerated.
14566 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14567 (shlib-lds, shlib-lds-flags): Define to empty.
14568
2d4fa81e
RM
14569 * Makerules (shlib-lds): New variable.
14570 (shlib-lds-flags): New variable.
14571 (build-shlib, build-moduile, build-module-asneeded): Use it.
14572 ($(common-objpfx)libc.so): Use $(shlib-lds).
14573 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14574 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14575
31fffa6b
RM
14576 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14577 DT_FLAGS/DT_FLAGS_1 with zero flags.
14578
4e34ac6a
RM
14579 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14580 linker script munging.
14581
fcfc776b
UD
145822011-07-02 Ulrich Drepper <drepper@gmail.com>
14583
14584 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14585 as 128-bit value.
14586 * crypt/sha512.c (sha512_process_block): Perform total addition using
14587 128-bit if possible.
14588 (__sha512_finish_ctx): Likewise.
14589 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14590 as 64-bit value.
14591 * crypt/sha256.c (SWAP64): Define.
14592 (sha256_process_block): Perform total addition using 64-bit if
14593 possible.
14594 (__sha256_finish_ctx): Likewise.
14595
99231d9a
UD
145962011-07-01 Ulrich Drepper <drepper@gmail.com>
14597
14598 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14599 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14600 * nscd/hstcache.c (cache_addhst): Likewise.
14601 * nscd/grpcache.c (cache_addgr): Likewise.
14602 * nscd/aicache.c (addhstaiX): Likewise
14603 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14604
445b4a53
TK
146052011-07-01 Thorsten Kukuk <kukuk@suse.de>
14606
14607 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14608 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14609 * nscd/hstcache.c (cache_addhst): Likewise.
14610 * nscd/grpcache.c (cache_addgr): Likewise.
14611 * nscd/aicache.c (addhstaiX): Likewise
14612
6d4d8e8e
AS
146132011-07-01 Andreas Schwab <schwab@redhat.com>
14614
14615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14616 domain only when needed.
14617
89f654c5
AS
146182011-06-30 Andreas Schwab <schwab@redhat.com>
14619
14620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14621 is always restored.
14622
cf3b23ff
UD
146232011-06-29 Ulrich Drepper <drepper@gmail.com>
14624
14625 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14626 are re-adding the entry.
14627 * nscd/servicescache.c (cache_addserv): Likewise.
14628
751626f9
AJ
146292011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14630
14631 * sysdeps/generic/dl-irel.h: fix protection against multiple
14632 inclusions.
14633 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14634
9113ea1f
UD
146352011-06-28 Ulrich Drepper <drepper@gmail.com>
14636
5c0b8d90
UD
14637 [BZ #12935]
14638 * malloc/memusage.sh: Fix quoting in message.
14639 * debug/xtrace.sh: Likewise.
14640
9113ea1f
UD
14641 * configure.in: Remove support for --experimental-malloc option, make
14642 it the default.
14643 * config.make.in: Likewise.
14644 * malloc/Makefile: Likewise.
14645
a4172181
AS
146462011-06-27 Andreas Schwab <schwab@redhat.com>
14647
14648 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14649 two-byte characters.
14650
78a7eee7
RM
146512011-06-27 Roland McGrath <roland@hack.frob.com>
14652
62bede13
RM
14653 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14654 AC_CACHE_CHECK invocation.
14655 * configure: Regenerated.
14656
78a7eee7
RM
14657 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14658
5ce33a62
UD
146592011-06-27 Ulrich Drepper <drepper@gmail.com>
14660
034807a9
UD
14661 [BZ #12350]
14662 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14663 bit from old_res_options.
14664
4902da17
UD
14665 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14666
5ce33a62
UD
14667 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14668 value type for setfct.
14669
c2344f56
L
146702011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14671
14672 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14673 __gettimeofday instead of gettimeofday.
14674
68468076
UD
146752011-06-26 Ulrich Drepper <drepper@gmail.com>
14676
14677 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14678
acb0d739
L
146792011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14680
14681 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14682
14683 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14684 info.
14685
8912479f
L
146862011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14687
14688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14689 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14690 strcpy-sse2-unaligned strncpy-sse2-unaligned
14691 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14692 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14693 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14694 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14695 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14696 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14697 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14698 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14699 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14700 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14701 (STRCPY): Support SSE2 and SSSE3 versions.
14702
d5495a11
UD
147032011-06-24 Ulrich Drepper <drepper@gmail.com>
14704
14705 [BZ #12874]
14706 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14707 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14708 kernels which artificially limit size of requests.
14709
0b1cbaae
L
147102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14711
14712 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14713 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14714 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14715 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14716 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14717 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14718 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14719 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14720 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14721 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14722 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14723 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14724 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14725 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14726 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14727 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14728 Enable unaligned load optimization for Intel Core i3, i5 and i7
14729 processors.
14730 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14731 Define.
14732 (index_Fast_Unaligned_Load): Define.
14733 (HAS_FAST_UNALIGNED_LOAD): Define.
14734
07f494a0
MP
147352011-06-23 Marek Polacek <mpolacek@redhat.com>
14736
14737 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14738
fa3fc0fe
UD
147392011-06-22 Ulrich Drepper <drepper@gmail.com>
14740
14741 [BZ #12907]
14742 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14743 until it is clear that the information is realy needed.
14744 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14745
e12df166
AS
147462011-06-22 Andreas Schwab <schwab@redhat.com>
14747
14748 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14749
852eb34d
UD
147502011-06-22 Ulrich Drepper <drepper@gmail.com>
14751
84e2a551
UD
14752 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14753 /sys/devices/system/cpu/online if it is usable.
14754
852eb34d
UD
14755 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14756 reading the information from the /proc filesystem to once a second.
14757
6e502e19
UD
147582011-06-21 Andreas Jaeger <aj@suse.de>
14759
14760 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14761 NULL after inclusion of kernel headers.
14762
75d39ff2
UD
147632011-06-21 Ulrich Drepper <drepper@gmail.com>
14764
51f9aa6a
UD
14765 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14766 calls to internal_setent.
14767
c0244a9d
UD
14768 [BZ #12885]
14769 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14770 addresses using gethostbyname4_r ignore IPv4 addresses.
14771
c5e3c2ae
UD
14772 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14773 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14774
75d39ff2
UD
14775 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14776
42675c6f
DM
147772011-06-20 David S. Miller <davem@davemloft.net>
14778
14779 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14780 inclusions.
14781 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14782
14783 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14784 (elf_irel): Use it.
14785 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14786 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14787 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14788 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14789 * sysdeps/x86_64/dl-irel.h: Likewise.
14790
14791 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14792 * elf/dl-sym.c: Likewise.
14793
57912a71
UD
147942011-06-15 Ulrich Drepper <drepper@gmail.com>
14795
14796 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14797 need to dereference resplen2.
14798
ee22793d
AS
147992011-06-14 Andreas Schwab <schwab@redhat.com>
14800
14801 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14802
a9e836b0
UD
148032011-06-15 Ulrich Drepper <drepper@gmail.com>
14804
77fb9117
UD
14805 * Makeconfig: Define vardbdir and inst_vardbdir.
14806 * nss/Makefile: Add rules to install db-Makefile.
14807
40c1b22c
UD
14808 * nss/nss_db/db-XXX.c: Cleanup.
14809
9f2da732
UD
14810 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14811 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14812 GLIBC_PRIVATE.
14813 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14814 * nss/makedb.c: Implement -g option to specify that value strings
14815 are generated and should not be added to table iterated over for
14816 get*ent calls.
14817 * nss/nss_db/db-initgroups.c: New file.
14818
82e9a1f7
UD
14819 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14820 interface.
14821
c41af17e
UD
14822 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14823 (internal_getgrouplist): Adjust to name change.
14824 Update use_initgroups_entry if this is not the first call.
14825 * nss/databases.def: Add initgroups entry.
14826
a9e836b0
UD
14827 * nss/makedb.c (compute_tables): Check result of multiple hash table
14828 sizes to minimize maximum chain length.
14829
2666d441
UD
148302011-06-14 Ulrich Drepper <drepper@gmail.com>
14831
14832 * Versions.def: Add entry for libnss_db.
14833 * shlib-versions: Likewise.
14834 * nss/Makefile: Add rules to build libnss_db.
14835 * nss/Versions: Add libnss_db information. Organize libnss_files
14836 entries better.
14837 * nss/db-Makefile: Add gshadow support. Change rules for the new
14838 makedb progra. Some minor improvements to generate smaller files.
14839 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14840 here from...
14841 * nss/makedb.c: ...here.
14842 Improve database format to be smaller and require less memory at
14843 runtime.
14844 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14845 db anymore.
14846 * nss/nss_db/db-netgrp.c: Likewise.
14847 * nss/nss_db/db-open.c: Likewise.
14848 * nss/nss_files/flies-XXX.x: Adjust comments.
14849 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14850 * nss/nss_files/files-grp.c: Likewise.
14851 * nss/nss_files/files-hosts.c: Likewise.
14852 * nss/nss_files/files-network.c: Likewise.
14853 * nss/nss_files/files-proto.c: Likewise.
14854 * nss/nss_files/files-pwd.c: Likewise.
14855 * nss/nss_files/files-rpc.c: Likewise.
14856 * nss/nss_files/files-service.c: Likewise.
14857 * nss/nss_files/files-sgrp.c: Likewise.
14858 * nss/nss_files/files-spwd.c: Likewise.
14859 * nss/nss_db/db-alias.c: Removed.
14860 * nss/nss_db/dummy-db.h: Removed.
14861
9ee76b5a
UD
148622011-06-02 Ulrich Drepper <drepper@gmail.com>
14863
14864 * nss/makedb.c: Rewritten to not use database library.
14865 * nss/Makefile: Update to build new makedb program.
14866
c71ca1f8
AJ
148672011-06-14 Andreas Jaeger <aj@suse.de>
14868
14869 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14870 memset declaration.
14871
3154bfb8
UD
148722011-06-10 Andreas Schwab <schwab@redhat.com>
14873
14874 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14875 tmpbuf.
14876
b350afab
RM
148772011-06-10 Roland McGrath <roland@hack.frob.com>
14878
decd4e50
RM
14879 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14880 * elf/Makefile ($(objpfx)ld.so): Likewise.
14881
5615eaf2
RM
14882 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14883 Don't list ld.so twice in dependencies.
14884
14885 * posix/bug-regex31.c: Include <stdlib.h>.
14886
14887 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14888
14889 * nis/nss_compat/compat-spwd.c
14890 (getspent_next_nss_netgr): Remove unused variable.
14891 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14892
14893 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14894 nonmembers" output to use the right array.
14895
14896 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14897
14898 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14899
14900 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14901 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14902 * catgets/gencat.c (read_input_file): Likewise.
14903 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14904
14905 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14906 variable definition inside #if's controlling its use.
14907
14908 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14909
14910 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14911
14912 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14913
14914 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14915 unreachable code.
14916
14917 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14918
b68e08db
RM
14919 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14920 * configure: Regenerated.
14921
b350afab
RM
14922 * Makerules: Revert last change.
14923 * elf/Makefile: Likewise.
14924
28368601
RM
149252011-06-09 Roland McGrath <roland@hack.frob.com>
14926
14927 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14928 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14929 (reloc-link): Likewise.
14930
11988f8f
UD
149312011-06-09 Ulrich Drepper <drepper@gmail.com>
14932
14933 * elf/Makefile: Add rules to build pldd.
14934 * elf/pldd.c: New file.
14935 * elf/pldd-xx.c: New file.
14936
e80fab37
UD
149372011-06-07 Ulrich Drepper <drepper@gmail.com>
14938
14939 * version.h: Update for 2.15 development version.
14940
9b849836
DM
149412011-06-07 David S. Miller <davem@davemloft.net>
14942
14943 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14944 ifuncs.
14945 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14946 elf_machine_lazy_rel): Likewise.
14947 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14949 elf_machine_lazy_rel): Likewise.
14950 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14951 dl_hwcap via passed in argument.
14952 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14953 Likewise.
14954
5a31b283
AK
149552011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14956
14957 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14958
069e52f8
RM
149592011-06-06 Roland McGrath <roland@hack.frob.com>
14960
14961 [BZ #12849]
14962 * manual/fdl-1.1.texi: New file, verbatim from:
14963 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14964 * manual/lgpl-2.1.texi: New file, verbatim from:
14965 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14966 * manual/Makefile (licenses): New variable, list those new file names.
14967 (texis): Use it.
14968 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14969
14970 * manual/fdl.texi: File removed.
14971 * manual/lesser.texi: File removed.
14972 * manual/libc.texinfo (Copying, Documentation License):
14973 Use new @include file names, put @appendix directive before @include.
14974
f16846a5
JJ
149752011-06-04 Jakub Jelinek <jakub@redhat.com>
14976
14977 [BZ #12841]
14978 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14979 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14980 (mq_open): Add __NTH.
14981
3d29045b
L
149822011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14983
14984 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14985 Assume Intel Core i3/i5/i7 processor if AVX is available.
14986
8c297311
UD
149872011-05-31 Ulrich Drepper <drepper@gmail.com>
14988
14989 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14990 typo.
14991
c8fc0c91
UD
149922011-05-31 Andreas Schwab <schwab@redhat.com>
14993
14994 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14995 memory. Use alloca_account. Fix memory leak when retrying.
14996
5b27a807
UD
149972011-05-31 Ulrich Drepper <drepper@gmail.com>
14998
356f8bc6
UD
14999 * version.h (RELEASE): Bump for 2.14 release.
15000 * include/features.h (__GLIBC_MINOR__): Bump to 14.
15001
5b27a807
UD
15002 * config.make.in (RANLIB): Remove entry.
15003
01f16ab0
UD
150042011-05-30 Ulrich Drepper <drepper@gmail.com>
15005
41fce8bd
UD
15006 * po/Makefile (po-sed-cmd): Add ksh to extensions.
15007 (libc.pot): Work around missing support for .ksh extension in xgettext.
15008
4769ae77
UD
15009 [BZ #12684]
15010 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
15011 if both request failed.
15012 (send_dg): In case of server errors clear resplen or *resplen2.
15013
6b1e7d19
UD
15014 [BZ #12454]
15015 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
15016 when there are multiple maps.
15017 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
15018 (_dl_fini): Remove test here.
15019
01f16ab0
UD
15020 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
15021
b1ebd700
UD
150222011-05-29 Ulrich Drepper <drepper@gmail.com>
15023
7ae22829
UD
15024 [BZ #12350]
15025 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
15026 bit from old_res_options.
15027 (gaih_inet): Likewise.
15028
553149f6 15029 [BZ #11099]
18a84741 15030 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
15031 as signed.
15032
652ffab1
UD
15033 * resolv/res_init.c (res_setoptions): Make the code more compact.
15034
16985fd0
UD
15035 [BZ #11558]
15036 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
15037 set RES_USEVC.
15038
0464f746
UD
15039 [BZ #11634]
15040 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
15041
7d17596c
UD
15042 * malloc/malloc.h: Mark malloc hook variables as deprecated.
15043
cf6bbbd7
UD
15044 [BZ #11781]
15045 * malloc/malloc.h: Declare malloc hook variables as volatile.
15046
13f1ab36
UD
15047 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
15048 in last patch.
15049
b1ebd700
UD
15050 [BZ #11799]
15051 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 15052 raise in the comment.
80e2212d
UD
15053 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
15054 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
15055 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 15056
ce67228d
UD
150572011-05-28 Ulrich Drepper <drepper@gmail.com>
15058
8887a920
UD
15059 [BZ #12811]
15060 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
15061 grow the buffers more if it already has to be sufficient.
15062 (build_wcs_upper_buffer): Likewise.
15063 * posix/regexec.c (check_matching): Likewise.
15064 (clean_state_log_if_needed): Likewise.
15065 (extend_buffers): Don't enlarge buffers beyond size of the input
15066 buffer.
15067 Patches mostly by Emil Wojak <emil@wojak.eu>.
15068 * posix/bug-regex32.c: New file.
15069 * posix/Makefile (tests): Add bug-regex32.
15070
4f031072
UD
15071 * locale/findlocale.c (_nl_find_locale): Return right away if
15072 _nl_explode_name failed.
15073 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
15074
d0478f0c
UD
15075 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
15076
de81b246
UD
15077 * debug/xtrace.sh: Unify messages.
15078 * malloc/memusage.sh: Likewise.
15079
c738465a
UD
15080 [BZ #12813]
15081 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
15082 time symbol from vDSO. Substitute with vsyscall if not available.
15083 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
15084 __vdso_time.
15085
f1f929d7
UD
15086 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
15087 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
15088 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
15089 Add sendmmsg and internal_sendmmsg.
15090 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
15091 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
15092 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
15093
ce67228d
UD
15094 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
15095 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
15096 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
15097
e57420c6
UD
150982011-05-27 Ulrich Drepper <drepper@gmail.com>
15099
a8509ca5
UD
15100 [BZ #12813]
15101 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
15102 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
15103 available.
15104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
15105 __vdso_getcpu.
15106
e57420c6
UD
15107 [BZ #12814]
15108 * iconvdata/Makefile (tests): Add bug-iconv9.
15109 * iconvdata/bug-iconv9.c: New file.
15110
4d07db15
AS
151112011-05-27 Andreas Schwab <schwab@redhat.com>
15112
15113 [BZ #12814]
15114 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
15115
ea486f69
JJ
151162011-05-25 Jakub Jelinek <jakub@redhat.com>
15117
15118 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15119 (struct user_regs_struct): Change intcs field back to cs.
15120
6f038433
UD
151212011-05-25 Ulrich Drepper <drepper@gmail.com>
15122
15123 * po/ja.po: Update from translation team.
15124
67f86a25
UD
151252011-05-23 Ulrich Drepper <drepper@gmail.com>
15126
15127 [BZ #12795]
15128 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
15129 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
15130
def7fbd6
AS
151312011-05-20 Andreas Schwab <schwab@redhat.com>
15132
15133 * stdlib/longlong.h: Update from GCC.
15134
f50ef8f1
AS
151352011-05-23 Andreas Schwab <schwab@redhat.com>
15136
15137 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
15138 parameter name.
15139 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
15140 Add parameter name.
15141 (__sysconf): Pass it down.
15142
de7ce8f1
UD
151432011-05-22 Ulrich Drepper <drepper@gmail.com>
15144
f2962a71
UD
15145 [BZ #12671]
15146 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
15147 some situations.
15148 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15149 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
15150 add in in __libc_use_alloca calls. Adjust callers.
15151 (glob): Use malloc in some situations.
15152
de7ce8f1
UD
15153 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
15154 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
15155 pltexit.
15156
aec84f53
UD
151572011-05-21 Ulrich Drepper <drepper@gmail.com>
15158
05bb4a68
UD
15159 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
15160 and CLOCK_BOOTTIME_ALARM.
15161
7ea72f99
UD
15162 [BZ #12782]
15163 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
15164 is returned.
15165
7e4afad5
UD
15166 * string/_strerror.c (__strerror_r): Print negative errors as signed
15167 numbers.
15168
8e211fec
UD
15169 [BZ #12777]
15170 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
15171 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
15172 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
15173
f7d82dc9
UD
15174 * configure.in: Fix typo in redirection and correct removal of test
15175 files in two cases.
15176
cc9e536d
UD
15177 [BZ #12788]
15178 * locale/setlocale.c (new_composite_name): Fix test to check for
15179 identical name of all categories.
15180
aec84f53
UD
15181 [BZ #12792]
15182 * libio/filedoalloc.c (local_isatty): New function.
15183 (_IO_file_doallocate): Use local_isatty.
15184 * stdio-common/perror.c (perror): In case a new stream is used
15185 forward the stream error.
15186 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
15187 error flag.
15188
78e64fdc
RT
151892011-05-20 Ulrich Drepper <drepper@gmail.com>
15190
34a9094f
UD
15191 [BZ #11869]
15192 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
15193 alloca.
15194 * include/alloca.h (extend_alloca_account): Define.
15195
78e64fdc
RT
15196 [BZ #11857]
15197 * posix/regex.h: Fix comments with documentation of user-accessible
15198 fields after compilation and describe correct free'ing of pattern
15199 after re_compile_pattern.
15200 Patch by Reuben Thomas <rrt@sc3d.org>.
15201
457bddfc
RA
152022011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
15203
15204 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
15205 and -mno-altivec to prevent the compiler from using Altivec and/or
15206 VSX instructions when the corresponding registers are not available.
15207
a4527b51
AS
152082011-05-19 Andreas Schwab <schwab@redhat.com>
15209
15210 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
15211
ed690b2f
UD
152122011-05-19 Ulrich Drepper <drepper@gmail.com>
15213
15214 * libio/freopen.c (freopen): Use __dup2, not dup2.
15215 * libio/freopen64.c (freopen64): Likewise.
15216
8db73634
L
152172011-05-17 H.J. Lu <hongjiu.lu@intel.com>
15218
15219 [BZ #12775]
15220 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
15221 * math/Makefile (tests): Add test-powl.
15222 (CFLAGS-test-powl.c): Define.
15223 * math/test-powl.c: New file.
15224
0a197a9d
L
152252011-05-16 H.J. Lu <hongjiu.lu@intel.com>
15226
15227 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
15228
ee30c380
UD
152292011-05-17 Ulrich Drepper <drepper@gmail.com>
15230
15231 [BZ #11837]
15232 * iconvdata/gb18030.c: Update to GB18020-2005.
15233
6ce75379
UD
152342011-05-16 Ulrich Drepper <drepper@gmail.com>
15235
a4b89fd8
AR
15236 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
15237 RE_SYNTAX_POSIX_AWK): Update to match recent development.
15238 Patch by Aharon Robbins <arnold@skeeve.com>.
15239
ea389b12
UD
15240 [BZ #11892]
15241 * stdlib/putenv.c (putenv): Don't always create copy of the variable
15242 on the stack.
15243
68a3f91f
UD
15244 [BZ #11895]
15245 * misc/pselect.c (__pselect): Handle timeout value errors hidden
15246 through underflows.
15247
15cc7dd1
UD
15248 [BZ #12766]
15249 * misc/error.c (error_at_line): Ensure file_name and old_file_name
15250 point to strings before performing equality test for error_one_per_line
15251 mode.
15252
f3799213
UD
15253 [BZ #11697]
15254 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
15255
d79a9c94
UD
15256 [BZ #11820]
15257 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
15258 (struct user_fpregs_struct): Avoid __uint*_t types.
15259
56e5eb46
UD
15260 [BZ #6420]
15261 * malloc/mtrace.c (tr_where): Add additional parameter to point to
15262 symbol info. Use it instead of calling _dl_addr locally.
15263 (lock_and_info): New function.
15264 (tr_freehook): Call lock_and_info and pass symbol info as additional
15265 parameter to tr_where.
15266 (tr_mallochook): Likewise.
15267 (tr_reallochook): Likewise.
15268 (tr_memalignhook): Likewise.
15269
6ce75379
UD
15270 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
15271 used and couldn't be at all thread-safe.
15272
f8a3b5bf
UD
152732011-05-15 Ulrich Drepper <drepper@gmail.com>
15274
94b7cc37
UD
15275 * libio/freopen.c (freopen): Don't close old file descriptor
15276 before the new one is opened. Instead dup the new file descriptor
15277 to the old one after the new stream is created.
15278 * libio/freopen64.c (freopen64): Likewise.
15279 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
15280 * libio/fileops.c (_IO_new_file_close_it): Handle new
15281 _IO_FLAGS2_NOCLOSE flag.
15282 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
15283 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
15284 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
15285 _IO_FLAGS2_NOCLOSE flag.
15286 * include/unistd.h: Add hidden_proto for dup3.
15287 Define __have_dup3.
15288 * io/dup3.c: Define hidden symbol.
15289 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
15290
bd25564e
UD
15291 [BZ #7101]
15292 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
15293 when an incomplete long option is used.
15294 * posix/tst-getopt_long1.c: New file.
15295 * posix/Makefile (tests): Add tst-getopt_long1.
15296
c84cfef4
UD
15297 [BZ #10138]
15298 * scripts/config.guess: Update from autoconf-2.68.
15299 * scripts/config.sub: Likewise.
15300
3b85df27
UD
15301 [BZ #10157]
15302 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
15303 tests into ...
15304 (has_cpuclock): ...this. New function.
15305 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
15306 macro here based on has_cpuclock code.
15307
15a856b1
UD
15308 [BZ #10149]
15309 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15310 First byte (not low byte) is now always NUL.
15311 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
15312
05f399e6
UD
15313 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15314 Use non-cancelable interfaces.
15315
10a52685 15316 [BZ #9809]
94ecc67d
UD
15317 * locale/iso-639.def: Add entry for Sorani.
15318
f8a3b5bf
UD
15319 [BZ #11901]
15320 * include/stdlib.h: Move include protection to the right place.
15321 Define abort_msg_s. Declare __abort_msg with it.
15322 * stdlib/abort.c (__abort_msg): Adjust type.
15323 * assert/assert.c (__assert_fail_base): New function. Majority
15324 of code from __assert_fail. Allocate memory for __abort_msg with
15325 mmap.
15326 (__assert_fail): Now call __assert_fail_base.
15327 * assert/assert-perr.c: Remove bulk of implementation. Use
15328 __assert_fail_base.
15329 * include/assert.hL Declare __assert_fail_base.
15330 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
15331 mmap.
15332 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
15333
1af4e298
UD
153342011-05-14 Ulrich Drepper <drepper@gmail.com>
15335
f8a3b5bf 15336 [BZ #11952]
d26dfc60
MG
15337 [BZ #12453]
15338 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
15339 until all modules are registered in the DTV.
15340 * elf/Makefile: Add rules to build and run tst-tls19.
15341 * elf/tst-tls19.c: New file.
15342 * elf/tst-tls19mod1.c: New file.
15343 * elf/tst-tls19mod2.c: New file.
15344 * elf/tst-tls19mod3.c: New file.
15345 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
15346
2fc54d6f
UD
15347 [BZ #12083]
15348 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
15349 correctly.
15350
98d76b46
UD
15351 [BZ #12601]
15352 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
15353 two-byte sequence errors.
15354 * iconvdata/Makefile (tests): Add bug-iconv8.
15355 * iconvdata/bug-iconv8.c: New file.
15356
da3c19ef
UD
15357 [BZ #12626]
15358 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
15359 buf2 definition.
15360
ca408c15
UD
15361 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
15362
d6f67f7d
UD
15363 [BZ #12432]
15364 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
15365 (dummy_getcfa): New function.
15366 (init): Get _Unwind_GetCFA address, use dummy if not found.
15367 (backtrace_helper): In recursion check, also check whether CFA changes.
15368 (__backtrace): Completely initialize arg.
15369
1af4e298 15370 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
15371 storing incomplete byte sequence in state object. Avoid testing for
15372 guaranteed too small input if we know there is enough data available.
1af4e298 15373
da62f81b
AS
153742011-05-11 Andreas Schwab <schwab@redhat.com>
15375
15376 * Makeconfig (+link-pie): Indent.
15377 * Rules (binaries-pie): Define if $(have-fpie) and
15378 $(build-shared).
15379 (binaries-shared): Also filter out $(binaries-pie).
15380 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
15381 * nscd/Makefile (others-pie): Add nscd.
15382 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
15383 ($(objpfx)nscd): Remove command override.
15384 * login/Makefile (others-pie): Add pt_chown.
15385 ($(objpfx)pt_chown): Remove command override.
15386 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
15387 remove command overrides.
15388
fcabc0f8
UD
153892011-05-13 Ulrich Drepper <drepper@gmail.com>
15390
20030ae6
UD
15391 * libio/tst_putwc.c: Fix error messages.
15392
fcabc0f8
UD
15393 [BZ #12724]
15394 * libio/fileops.c (_IO_new_file_close_it): Always flush when
15395 currently writing and seek to current position when not.
15396 * libio/Makefile (tests): Add bug-fclose1.
15397 * libio/bug-fclose1.c: New file.
15398
320a5dc0
PB
153992011-05-12 Ulrich Drepper <drepper@gmail.com>
15400
15401 [BZ #12511]
15402 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
15403 don't set DF_1_NODELETE here.
15404 (do_lookup_x): When entering new entry test for copy relocation
15405 and if necessary set DF_1_NODELETE flag.
15406 * elf/tst-unique4.cc: New file.
15407 * elf/tst-unique4.h: New file.
15408 * elf/tst-unique4lib.cc: New file.
15409 * elf/Makefile: Add rules to build and run tst-unique4.
15410 Patch by Piotr Bury <pbury@goahead.com>.
15411
22836f52
UD
154122011-05-11 Ulrich Drepper <drepper@gmail.com>
15413
f574184a
UD
15414 [BZ #12052]
15415 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
15416
e1fb097f
UD
15417 [BZ #12625]
15418 * misc/mntent_r.c (addmntent): Flush the stream after the output
15419
22836f52
UD
15420 [BZ #12393]
15421 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
15422 (is_trusted_path_normalize): Skip initial colon. Append slash
15423 to empty buffer. Duplicate is_trusted_path code but allow
15424 constructed patch to be prefix.
15425 (is_dst): Allow $ORIGIN followed by /.
15426 (_dl_dst_substitute): Correct clearing of check_for_trusted.
15427 Correct testing of result of is_trusted_path_normalize
15428 (decompose_rpath): Fix warning.
15429
7b3b0b2a
UD
154302011-05-10 Ulrich Drepper <drepper@gmail.com>
15431
15432 [BZ #11257]
15433 * grp/initgroups.c (internal_getgrouplist): When we found the service
15434 list through the initgroups entry in nsswitch.conf do not always
15435 continue on a successful lookup. Don't always use the
eac80ce2 15436 __nss_group_database value if it is set.
7b3b0b2a
UD
15437 * nss/nsswitch.conf (initgroups): Change action for successful db
15438 lookup to continue for compatibility.
15439
2a81eaa5
UD
154402011-05-09 Ulrich Drepper <drepper@gmail.com>
15441
be97a69e
UD
15442 [BZ #11532]
15443 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
15444 and CP774 modules.
15445 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
15446 and CP774 modules.
15447 * iconvdata/tst-tables.sh: Likewise.
15448 * iconvdata/cp770.c: New file.
15449 * iconvdata/cp771.c: New file.
15450 * iconvdata/cp772.c: New file.
15451 * iconvdata/cp773.c: New file.
15452 * iconvdata/cp774.c: New file.
15453 * iconvdata/testdata/CP770: New file.
15454 * iconvdata/testdata/CP770..UTF8: New file.
15455 * iconvdata/testdata/CP771: New file.
15456 * iconvdata/testdata/CP771..UTF8: New file.
15457 * iconvdata/testdata/CP772: New file.
15458 * iconvdata/testdata/CP772..UTF8: New file.
15459 * iconvdata/testdata/CP773: New file.
15460 * iconvdata/testdata/CP773..UTF8: New file.
15461 * iconvdata/testdata/CP774: New file.
15462 * iconvdata/testdata/CP774..UTF8: New file.
15463
15464 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15465 END CHARMAP line.
15466 * iconvdata/gen-8bit-gap.sh: Likewise.
15467 * iconvdata/gen-8bit.sh: Likewise.
15468
c1e9e399
UD
15469 * locale/iso-639.def: Add ary entry.
15470
24c55fb3 15471 [BZ #11258]
96b4b1b0
UD
15472 * locale/C-translit.h.in: Add U20A1 transliteration.
15473
bdc2f971
KB
15474 [BZ #12178]
15475 * locale/iso-639.def: Add wae entry.
15476 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15477
2952b117
UD
15478 [BZ #12545]
15479 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15480 for n.
15481
2a81eaa5
UD
15482 [BZ #12711]
15483 * locale/C-translit.h.in: Add entry for U20B9.
15484 Patch by pravin.d.s@gmail.com.
15485
28377d1b
UD
154862011-05-08 Ulrich Drepper <drepper@gmail.com>
15487
7fb90fb8
UD
15488 [BZ #12713]
15489 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15490 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
15491 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15492 in rtld. Use *stat64.
7fb90fb8 15493 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 15494 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 15495 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
15496 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15497 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15498 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15499 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15500 __fstatat64 macros.
7fb90fb8
UD
15501 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15502 * dirent/rewinddir.c: Add libc_hidden_def.
15503 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 15504 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 15505
28377d1b
UD
15506 * include/dirent.h (__alloc_dir): Add flags parameter.
15507 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15508 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15509 __alloc_dir.
15510 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15511 from fdopendir if O_CLOEXEC is already set.
15512
66bdbaa4
AM
155132011-03-15 Alan Modra <amodra@gmail.com>
15514
15515 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15516 l_tls_firstbyte_offset non-zero. Save padding offset in
15517 l_tls_firstbyte_offset for later use.
15518 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15519 freeing static tls block.
15520
95721191
JN
155212011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15522
15523 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15524 where #ifdef was intended. The intent is to prevent ARG_MAX from
15525 being defined by the kernel headers.
15526
f87dfb1f
UD
155272011-05-07 Ulrich Drepper <drepper@gmail.com>
15528
15529 [BZ #12734]
15530 * resolv/resolv.h: Define RES_NOTLDQUERY.
15531 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15532 no-tld-query and set RES_NOTLDQUERY.
15533 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15534 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15535 modern BIND to search name as TLD unless forbidden.
15536
47c3cd7a
UD
155372011-05-07 Petr Baudis <pasky@suse.cz>
15538 Ulrich Drepper <drepper@gmail.com>
15539
15540 [BZ #12393]
15541 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15542 (is_trusted_path): ...to here.
c1e9ea35 15543 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 15544 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 15545 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 15546
8a35c912
PP
155472011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15548
15549 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15550 __BEGIN/__END_DECLS.
15551
acd41f47
UD
155522011-05-06 Ulrich Drepper <drepper@gmail.com>
15553
15554 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15555 NSS_STATUS_NOTFOUND if no record was found.
15556
597df647
AS
155572011-05-05 Andreas Schwab <schwab@redhat.com>
15558
15559 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15560 (headers-not-in-tirpc): Remove rpc/netdb.h
15561 * resolv/netdb.h: Revert last change.
15562
b9af1301
PP
155632011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15564
15565 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15566 circular dependency between libgcc.a and libc.a.
15567
4e34d5f5
AS
155682011-05-05 Andreas Schwab <schwab@redhat.com>
15569
15570 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15571 * nis/Makefile: Don't install rpcsvc/*.
15572 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15573 instead of <rpc/types.h>.
15574 (MAXHOSTNAMELEN): Define.
15575
00ee369c
AS
155762011-05-03 Andreas Schwab <schwab@redhat.com>
15577
15578 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15579
0b592a30
MB
155802011-04-28 Maciej Babinski <mbabinski@google.com>
15581
15582 [BZ #12714]
15583 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15584 gethostbyname4_r when IPv6 results are possible.
15585
6e04cbbe
UD
155862011-05-02 Ulrich Drepper <drepper@gmail.com>
15587
15588 [BZ #12723]
15589 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15590 _PC_PIPE_BUF handling.
15591
e4ecafe0
BH
155922011-04-30 Bruno Haible <bruno@clisp.org>
15593
15594 [BZ #12717]
15595 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15596 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15597 to 'int'.
15598 * inet/getnameinfo.c (getnameinfo): Likewise.
15599
125ee683
UD
156002011-04-29 Ulrich Drepper <drepper@gmail.com>
15601
15602 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15603 to groups setting in database lookup.
15604 * nss/nsswitch.conf: Add initgroups entry.
15605
b722481a
EB
156062011-04-22 Ulrich Drepper <drepper@gmail.com>
15607
15608 [BZ #12685]
15609 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15610 mode string.
15611 Patch by Eric Blake <eblake@redhat.com>.
15612
4df46dbd
L
156132011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15614
15615 * sunrpc/Makefile (need-export-routines): Add svc_run.
15616 (routines): Remove svc_run.
15617 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15618 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15619 * sunrpc/svc_run.c (svc_run): Likewise.
15620 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15621
e84142d2
UD
156222011-04-21 Ulrich Drepper <drepper@gmail.com>
15623
15624 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15625 problem in reallocation in last patch.
15626
877175d8
UD
156272011-04-20 Ulrich Drepper <drepper@gmail.com>
15628
15629 * sunrpc/Makefile: Move inclusion of Rules.
15630
ab8eed78
UD
156312011-04-19 Ulrich Drepper <drepper@gmail.com>
15632
15633 * nss/nss_files/files-initgroups.c: New file.
15634 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15635 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15636 _nss_files_initgroups_dyn.
15637
e3d8f584
RS
156382011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15639
15640 * elf/elf.h (R_ARM_IRELATIVE): Define.
15641
af190f45
UD
156422011-04-19 Ulrich Drepper <drepper@gmail.com>
15643
15644 * po/ru.po: Update from translation team.
15645
53cf59ef
UD
156462011-04-17 Ulrich Drepper <drepper@gmail.com>
15647
15648 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15649 dependencies.
15650
4c559bcd
MF
156512011-02-06 Mike Frysinger <vapier@gentoo.org>
15652
15653 [BZ #12653]
15654 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15655 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15656 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15657 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15659
4420675c
AS
156602011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15661
15662 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15663 differing bytes.
15664 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15666 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15667
75ea32ab
UD
156682011-04-17 Ulrich Drepper <drepper@gmail.com>
15669
15670 [BZ #12420]
15671 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15672 storing it.
15673 * stdlib/bug-getcontext.c: New file.
15674 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15675
27390476
AK
156762011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15677
15678 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15679 instructions into .machine "z9-109".
15680 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15681 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15682
10442705
AK
156832011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15684
15685 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15686 between environment variables and auxiliary vector.
15687
7b57bfe5
UD
156882011-04-16 Ulrich Drepper <drepper@gmail.com>
15689
15690 * Makefile: Add rules to build linkobj/libc.so.
15691 * include/libc-symbols.h: Define libc_hidden_nolink.
15692 * include/rpc/auth.h: Mark functions which are to be hidden.
15693 * include/rpc/auth_des.h: Likewise.
15694 * include/rpc/auth_unix.h: Likewise.
15695 * include/rpc/clnt.h: Likewise.
15696 * include/rpc/des_crypt.h: Likewise.
15697 * include/rpc/key_prot.h: Likewise.
15698 * include/rpc/pmap_clnt.h: Likewise.
15699 * include/rpc/pmap_prot.h: Likewise.
15700 * include/rpc/pmap_rmt.h: Likewise.
15701 * include/rpc/rpc_msg.h: Likewise.
15702 * include/rpc/svc.h: Likewise.
15703 * include/rpc/svc_auth.h: Likewise.
15704 * include/rpc/xdr.h: Likewise.
15705 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15706 * nss/Makefile: Likewise.
15707 * sunrpc/Makefile: Don't install headers. Build library with normal
15708 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15709 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15710 for the compat linking library. Remove use of INTDEF/INTUSE.
15711 * sunrpc/auth_none.c: Likewise.
15712 * sunrpc/auth_unix.c: Likewise.
15713 * sunrpc/authdes_prot.c: Likewise.
15714 * sunrpc/authuxprot.c: Likewise.
15715 * sunrpc/clnt_gen.c: Likewise.
15716 * sunrpc/clnt_perr.c: Likewise.
15717 * sunrpc/clnt_raw.c: Likewise.
15718 * sunrpc/clnt_simp.c: Likewise.
15719 * sunrpc/clnt_tcp.c: Likewise.
15720 * sunrpc/clnt_udp.c: Likewise.
15721 * sunrpc/clnt_unix.c: Likewise.
15722 * sunrpc/des_crypt.c: Likewise.
15723 * sunrpc/des_soft.c: Likewise.
15724 * sunrpc/get_myaddr.c: Likewise.
15725 * sunrpc/key_call.c: Likewise.
15726 * sunrpc/key_prot.c: Likewise.
15727 * sunrpc/netname.c: Likewise.
15728 * sunrpc/pm_getmaps.c: Likewise.
15729 * sunrpc/pm_getport.c: Likewise.
15730 * sunrpc/pmap_clnt.c: Likewise.
15731 * sunrpc/pmap_prot.c: Likewise.
15732 * sunrpc/pmap_prot2.c: Likewise.
15733 * sunrpc/pmap_rmt.c: Likewise.
15734 * sunrpc/publickey.c: Likewise.
15735 * sunrpc/rpc_cmsg.c: Likewise.
15736 * sunrpc/rpc_common.c: Likewise.
15737 * sunrpc/rpc_dtable.c: Likewise.
15738 * sunrpc/rpc_prot.c: Likewise.
15739 * sunrpc/rpc_thread.c: Likewise.
15740 * sunrpc/rtime.c: Likewise.
15741 * sunrpc/svc.c: Likewise.
15742 * sunrpc/svc_auth.c: Likewise.
15743 * sunrpc/svc_authux.c: Likewise.
15744 * sunrpc/svc_raw.c: Likewise.
15745 * sunrpc/svc_run.c: Likewise.
15746 * sunrpc/svc_simple.c: Likewise.
15747 * sunrpc/svc_tcp.c: Likewise.
15748 * sunrpc/svc_udp.c: Likewise.
15749 * sunrpc/svc_unix.c: Likewise.
15750 * sunrpc/svcauth_des.c: Likewise.
15751 * sunrpc/xcrypt.c: Likewise.
15752 * sunrpc/xdr.c: Likewise.
15753 * sunrpc/xdr_array.c: Likewise.
15754 * sunrpc/xdr_float.c: Likewise.
15755 * sunrpc/xdr_intXX_t.c: Likewise.
15756 * sunrpc/xdr_mem.c: Likewise.
15757 * sunrpc/xdr_rec.c: Likewise.
15758 * sunrpc/xdr_ref.c: Likewise.
15759 * sunrpc/xdr_sizeof.c: Likewise.
15760 * sunrpc/xdr_stdio.c: Likewise.
15761
e6c61494
UD
157622011-04-10 Ulrich Drepper <drepper@gmail.com>
15763
15764 [BZ #12650]
15765 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15766 * sysdeps/ia64/dl-tls.h: Likewise.
15767 * sysdeps/powerpc/dl-tls.h: Likewise.
15768 * sysdeps/s390/dl-tls.h: Likewise.
15769 * sysdeps/sh/dl-tls.h: Likewise.
15770 * sysdeps/sparc/dl-tls.h: Likewise.
15771 * sysdeps/x86_64/dl-tls.h: Likewise.
15772 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15773
34fe483e
AS
157742011-03-14 Andreas Schwab <schwab@redhat.com>
15775
15776 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15777 rpath element also skip the following colon.
15778 (expand_dynamic_string_token): Add is_path parameter and pass
15779 down to DL_DST_REQUIRED and _dl_dst_substitute.
15780 (decompose_rpath): Call expand_dynamic_string_token with
15781 non-zero is_path. Ignore empty rpaths.
15782 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15783 with zero is_path.
15784
f12a32e6
AS
157852011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15786
15787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15788 Make cancelable.
15789
38a7d692
UD
157902011-04-09 Ulrich Drepper <drepper@gmail.com>
15791
15792 [BZ #12655]
15793 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15794 Patch by Filipe David Manana <fdmanana@apache.org>.
15795
e451d22b
AS
157962011-04-07 Andreas Schwab <schwab@redhat.com>
15797
15798 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15799 Maintain aligned stack.
15800 (CHECK_RSP): Remove unused macro.
15801
dedc7c7b
UD
158022011-04-03 Ulrich Drepper <drepper@gmail.com>
15803
15804 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15805 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15806
94521213
UD
158072011-04-02 Ulrich Drepper <drepper@gmail.com>
15808
15809 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15810
8cb700c0 15811 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 15812
0354e355
L
158132011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15814
15815 [BZ #12518]
15816 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15817 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15818 * sysdeps/x86_64/memmove.c: New file.
15819 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15820 (memcpy): Renamed to ...
15821 (__new_memcpy): This.
15822 (memcpy): Provide GLIBC_2_14 memcpy.
15823 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15824 (memcpy): Provide GLIBC_2_2_5 memcpy.
15825
8593482f
UD
158262011-04-01 Ulrich Drepper <drepper@gmail.com>
15827
15828 [BZ #12631]
15829 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15830
81a5726b
AS
158312011-03-30 Andreas Schwab <schwab@redhat.com>
15832
15833 * misc/syncfs.c: New file.
15834 * misc/Makefile (routines): Add syncfs.
15835 * posix/unistd.h: Declare syncfs.
15836 * sysdeps/unix/syscalls.list: Add syncfs.
15837
00e5419f
AS
158382011-04-01 Andreas Schwab <schwab@redhat.com>
15839
15840 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15841 open_by_handle_at.
15842 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15843 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15844 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15845 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15846 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15847 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15848 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15849
748876bf
UD
158502011-04-01 Ulrich Drepper <drepper@gmail.com>
15851
658e451d
UD
15852 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15853 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15854 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15855 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15856 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15857 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15858 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15859
748876bf
UD
15860 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15861 sync_file_range.c with -fexceptions.
15862 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15863 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15864 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15865 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15866 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15867 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15868 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
15869 sync_file_range as cancellation point
15870 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15871 now a wrapper around __call_sync_file_range with cancellation handling.
15872 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15873 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15874 function name to __call_sync_file_range.
15875 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15876 Add call_sync_file_range.
748876bf 15877
6e63d5e1
AS
158782011-04-01 Andreas Schwab <schwab@redhat.com>
15879
15880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 15881 bits/timex.h.
6e63d5e1 15882
46998f74
UD
158832011-04-01 Ulrich Drepper <drepper@gmail.com>
15884
4c1423ed
UD
15885 * iconv/iconv.h: Fix typo in comment.
15886 * io/fcntl.h: Likewise.
15887 * libio/stdio.h: Likewise.
15888 * posix/spawn.h: Likewise.
15889 * posix/unistd.h: Likewise.
15890 * stdlib/stdlib.h: Likewise.
15891 * time/time.h: Likewise.
15892 * wcsmbs/wchar.h: Likewise.
15893
158648c0
UD
15894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15895 open_by_handle): Add.
15896 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15897 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15898 Augment a few comments.
15899 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15900 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15901 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15902 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15903 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15904 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15905 open_by_handle.
15906
46998f74
UD
15907 * io/fcntl.h (AT_EMPTY_PATH): Define.
15908
83fe108b
UD
159092011-03-30 Ulrich Drepper <drepper@gmail.com>
15910
15911 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15912 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15913 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15914 to...
15915 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
15916 * Versions.def: Add GLIBC_2.14.
15917 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15918 Export.
83fe108b 15919
bb242059
UD
159202011-03-22 Ulrich Drepper <drepper@gmail.com>
15921
15922 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15923 round counter.
15924 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15925
c97a1282
L
159262011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15927
15928 [BZ #12597]
15929 * string/test-strncmp.c (do_page_test): New function.
15930 (check2): Likewise.
15931 (test_main): Call check2.
15932 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15933
2a115601
UD
159342011-03-20 Ulrich Drepper <drepper@gmail.com>
15935
15936 [BZ #12587]
15937 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15938 Handle cache information in CPU leaf 4.
15939 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15940
8126d904
UD
159412011-03-18 Ulrich Drepper <drepper@gmail.com>
15942
042c49c6 15943 [BZ #12583]
8126d904
UD
15944 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15945 character representation.
15946 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15947
ccfe366e
RA
159482011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15949
15950 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15951 END(__isnan) to END(__isnanf) to match function entry point/label
15952 EALIGN(__isnanf,...).
15953
c6e13027
JJ
159542011-03-10 Jakub Jelinek <jakub@redhat.com>
15955
15956 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15957
33f85a3f
UD
159582011-03-10 Ulrich Drepper <drepper@gmail.com>
15959
028478fa
UD
15960 [BZ #12510]
15961 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15962 copy from the symbol referenced in the relocation to initialize the
15963 used variable.
15964 Patch by Piotr Bury <pbury@goahead.com>.
15965 * elf/Makefile: Add rules to build and tst-unique3.
15966 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15967 * elf/tst-unique3.cc: New file.
15968 * elf/tst-unique3.h: New file.
15969 * elf/tst-unique3lib.cc: New file.
15970 * elf/tst-unique3lib2.cc: New file.
15971
33f85a3f
UD
15972 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15973
03592fc7
MF
159742011-03-10 Mike Frysinger <vapier@gentoo.org>
15975
15976 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15977 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15978 to _start.
03592fc7 15979
6a5ee102
UD
159802011-03-06 Ulrich Drepper <drepper@gmail.com>
15981
15982 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15983 to-be-loaded object along a path to loader is ld.so.
15984
7e4ba49c
HJ
159852011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15986 Ulrich Drepper <drepper@gmail.com>
15987
15988 * sysdeps/x86_64/memset.S: After aligning destination, code
15989 branches to different locations depending on the value of
15990 misalignment, when multiarch is enabled. Fix this.
15991
159922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15993
15994 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15995 Set _x86_64_preferred_memory_instruction for AMD processsors.
15996 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15997 Set bit_Prefer_SSE_for_memop for AMD processors.
15998
13a804de
UD
159992011-03-04 Ulrich Drepper <drepper@gmail.com>
16000
16001 * libio/fmemopen.c (fmemopen): Optimize a bit.
16002
9d25c392
AS
160032011-03-03 Andreas Schwab <schwab@redhat.com>
16004
16005 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
16006
a5543c6a
RM
160072011-03-03 Roland McGrath <roland@redhat.com>
16008
16009 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
16010
012d35f7
DM
160112011-02-28 Aurelien Jarno <aurelien@aurel32.net>
16012
7e4ba49c 16013 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
16014 __bzero_ultra1 instead of __memset_ultra1.
16015
4bff6e01
AS
160162011-02-23 Andreas Schwab <schwab@redhat.com>
16017 Ulrich Drepper <drepper@gmail.com>
16018
16019 [BZ #12509]
16020 * include/link.h (struct link_map): Add l_orig_initfini.
16021 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
16022 returning unsuccessfully.
16023 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
16024 close of a file loaded at startup, restore the original l_initfini
16025 list.
16026 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
16027 list, store the pointer.
16028 * elf/Makefile ($(objpfx)noload-mem): New rule.
16029 (noload-ENV): Define.
16030 (tests): Add $(objpfx)noload-mem.
16031 * elf/noload.c: Include <memcheck.h>.
16032 (main): Call mtrace. Close all opened handles.
16033
f2092faf
AS
160342011-02-17 Andreas Schwab <schwab@redhat.com>
16035
16036 [BZ #12454]
16037 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
16038 dependencies are missing.
16039
6c8a2e88
ST
160402011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
16041
f2092faf 16042 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
16043 Hurd needs munmap.
16044 * sysdeps/mach/hurd/ifreq.h: New file.
16045
84a42118
PB
160462011-01-27 Petr Baudis <pasky@suse.cz>
16047 Ulrich Drepper <drepper@gmail.com>
16048
071f805e 16049 [BZ 12445]#
84a42118
PB
16050 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
16051 to extend_alloca().
16052 * stdio-common/bug23.c: New file.
16053 * stdio-common/Makefile (tests): Add bug23.
16054
e23fe25b
AS
160552010-09-28 Andreas Schwab <schwab@redhat.com>
16056 Ulrich Drepper <drepper@gmail.com>
16057
16058 [BZ #12489]
16059 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
16060 before performing relro protection. At old place add assertion
16061 to make sure nothing changed.
16062
d3f02e10
NS
160632011-02-17 Nathan Sidwell <nathan@codesourcery.com>
16064 Glauber de Oliveira Costa <glommer@gmail.com>
16065
16066 * elf/elf.h: Add new ARM TLS relocs.
16067
d55fd7a5
RA
160682011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
16069
16070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
16071 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
16072 cast from r3.
16073 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
16074 'tests' variable.
16075 * sysdeps/wordsize-64/tst-writev.c: New file.
16076
2206397e
RA
160772011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
16078
16079 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
16080 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
16081 insns in _dl_start to prevent a TOC reference before relocs are
16082 resolved.
16083
e9433893
UD
160842011-02-15 Ulrich Drepper <drepper@gmail.com>
16085
16086 [BZ #12469]
16087 * Makeconfig: Remove RANLIB definition.
16088 * Makerules: Don't use RANLIB.
16089 * aclocal.m4: Remove ranlib test.
16090 * configure.in: No need to check for ranlib.
16091 * elf/rtld-Rules: Don't use RANLIB.
16092
f75286c6
ST
160932011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16094
8e31c82d
ST
16095 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
16096 protection macro.
16097 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
16098 inclusion protection macro.
16099
f75286c6
ST
16100 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
16101 SIGRTMIN and SIGRTMAX and print information in that case only when
16102 SIGRTMIN is defined.
16103
c1d0e639
JJ
161042011-02-11 Jakub Jelinek <jakub@redhat.com>
16105
16106 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
16107 arginfo fn returning -1.
16108
16109 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
16110 and thousands string is zero terminated.
16111
edf9294e
AS
161122011-02-03 Andreas Schwab <schwab@redhat.com>
16113
16114 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
16115 sysdeps/unix/sysv/linux/bits/socket.h.
16116
2b7e92df
ST
161172011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
16118
edf9294e
AS
16119 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
16120 (__CPU_COUNT): Remove old macros.
16121 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
16122 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
16123 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
16124 (__sched_cpualloc, __sched_cpufree): Add declarations.
16125
a4c7ea7b
UD
161262011-02-05 Ulrich Drepper <drepper@gmail.com>
16127
16128 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
16129 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
16130 * nscd/aicache.c (addhstaiX): Return timeout of added value.
16131 (readdhstai): Return value of addhstaiX call.
16132 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
16133 (addgrbyX): Return value returned by cache_addgr.
16134 (readdgrbyname): Return value returned by addgrbyX.
16135 (readdgrbygid): Likewise.
16136 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
16137 (addpwbyX): Return value returned by cache_addpw.
16138 (readdpwbyname): Return value returned by addhstbyX.
16139 (readdpwbyuid): Likewise.
16140 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
16141 (addservbyX): Return value returned by cache_addserv.
16142 (readdservbyname): Return value returned by addservbyX:
16143 (readdservbyport): Likewise.
16144 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
16145 (addhstbyX): Return value returned by cache_addhst.
16146 (readdhstbyname): Return value returned by addhstbyX.
16147 (readdhstbyaddr): Likewise.
16148 (readdhstbynamev6): Likewise.
16149 (readdhstbyaddrv6): Likewise.
16150 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
16151 (readdinitgroups): Return value returned by addinitgroupsX.
16152 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
16153 (prune_cache): Keep track of timeout value of re-added entries.
16154 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
16155 * nscd/nscd.h: Adjust prototypes of readd* functions.
16156
a0bf67cc
RM
161572011-02-04 Roland McGrath <roland@redhat.com>
16158
16159 * nis/nis_server.c (nis_servstate): Use the right name for 0.
16160 (nis_stats): Likewise.
16161 * nis/nis_modify.c (nis_modify): Likewise.
16162 * nis/nis_remove.c (nis_remove): Likewise.
16163 * nis/nis_add.c (nis_add): Likewise.
16164
16165 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
16166
16167 * posix/fnmatch_loop.c: Add some consts.
16168
16169 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
16170
435b95eb
L
161712011-02-02 H.J. Lu <hongjiu.lu@intel.com>
16172
16173 [BZ #12460]
16174 * config.make.in (config-cflags-novzeroupper): Define.
16175 * configure.in: Substitute libc_cv_cc_novzeroupper.
16176 * elf/Makefile (AVX-CFLAGS): Define.
16177 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
16178 (CFLAGS-tst-auditmod4a.c): Likewise.
16179 (CFLAGS-tst-auditmod4b.c): Likewise.
16180 (CFLAGS-tst-auditmod6b.c): Likewise.
16181 (CFLAGS-tst-auditmod6c.c): Likewise.
16182 (CFLAGS-tst-auditmod7b.c): Likewise.
16183 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
16184
8517b15e
UD
161852011-02-02 Ulrich Drepper <drepper@gmail.com>
16186
16187 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
16188 function to the callback.
16189 Patch partly by Jiri Olsa <jolsa@redhat.com>.
16190
10a656fe
AS
161912011-02-02 Andreas Schwab <schwab@redhat.com>
16192
16193 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
16194 of errno.
16195
968dad0a
UD
161962011-01-19 Ulrich Drepper <drepper@gmail.com>
16197
9f94d2ea 16198 [BZ #11724]
968dad0a
UD
16199 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
16200 of constructors.
16201 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
16202 of destructors.
16203 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
16204
16205 [BZ #11724]
16206 * elf/Makefile: Add rules to build and run new test.
16207 * elf/tst-initorder.c: New file.
16208 * elf/tst-initorder.exp: New file.
16209 * elf/tst-initordera1.c: New file.
16210 * elf/tst-initordera2.c: New file.
16211 * elf/tst-initordera3.c: New file.
16212 * elf/tst-initordera4.c: New file.
16213 * elf/tst-initorderb1.c: New file.
16214 * elf/tst-initorderb2.c: New file.
16215 * elf/tst-order-a1.c: New file.
16216 * elf/tst-order-a2.c: New file.
16217 * elf/tst-order-a3.c: New file.
16218 * elf/tst-order-a4.c: New file.
16219 * elf/tst-order-b1.c: New file.
16220 * elf/tst-order-b2.c: New file.
16221 * elf/tst-order-main.c: New file.
16222 New test case by George Gensure <werkt0@gmail.com>.
16223
86e92359
UD
162242010-10-01 Andreas Schwab <schwab@redhat.com>
16225
16226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
16227 decoding ACE if AI_CANONIDN.
16228
5d5732b0
UD
162292011-01-18 Ulrich Drepper <drepper@gmail.com>
16230
16231 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
16232
a77e8cbc
UD
162332011-01-17 Ulrich Drepper <drepper@gmail.com>
16234
6392473f
UD
16235 * version.h (RELEASE): Bump for 2.13 release.
16236 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
16237
620a0529
UD
16238 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
16239
18ba70a5
UD
16240 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
16241 MADV_NOHUGEPAGE.
32465c3e
UD
16242 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
16243 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
16244 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16245 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
16246 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16247 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16248
c0dafcf1
UD
16249 * posix/getconf.c: Update copyright year.
16250 * catgets/gencat.c: Likewise.
16251 * csu/version.c: Likewise.
16252 * debug/catchsegv.sh: Likewise.
16253 * debug/xtrace.sh: Likewise.
16254 * elf/ldconfig.c: Likewise.
16255 * elf/ldd.bash.in: Likewise.
16256 * elf/sprof.c (print_version): Likewise.
16257 * iconv/iconv_prog.c: Likewise.
16258 * iconv/iconvconfig.c: Likewise.
16259 * locale/programs/locale.c: Likewise.
16260 * locale/programs/localedef.c: Likewise.
16261 * malloc/memusage.sh: Likewise.
16262 * malloc/mtrace.pl: Likewise.
16263 * nscd/nscd.c (print_version): Likewise.
16264 * nss/getent.c: Likewise.
16265
a77e8cbc
UD
16266 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
16267 PF_CAIF, and PF_ALG.
16268 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
16269
77e8bddf
AS
162702011-01-16 Andreas Schwab <schwab@linux-m68k.org>
16271
1f20b93a
AS
16272 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
16273 (modules-names): Use them.
16274 (ifunc-test-modules, ifunc-pie-tests): Define.
16275 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
16276 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
16277 (test-extras): Likewise.
16278 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
16279 $(compile-command.c).
16280 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
16281 (all-built-dso): Define.
16282 (check-textrel.out, check-execstack.out): Depend on it.
16283
77e8bddf
AS
16284 * configure.in: Don't override --enable-multi-arch.
16285
bc425b33
UD
162862011-01-15 Ulrich Drepper <drepper@gmail.com>
16287
16288 [BZ #6812]
16289 * nscd/hstcache.c (tryagain): Define.
16290 (cache_addhst): Return tryagain not notfound for temporary errors.
16291 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
16292 failed.
16293
794c3ad3
UD
162942011-01-14 Ulrich Drepper <drepper@gmail.com>
16295
70181fdd
UD
16296 [BZ #10563]
16297 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
16298 to make the syscall.
16299 * sysdeps/unix/sysv/linux/setgroups.c: New file.
16300
794c3ad3
UD
16301 [BZ #12378]
16302 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
16303 and fall back to matching as normal character if the string ends before
16304 the matching ']' is found. This is what POSIX requires.
16305 * posix/testfnm.c: Adjust test result.
16306 * posix/globtest.sh: Adjust test result. Add new test.
16307 * posix/tst-fnmatch.input: Likewise.
16308 * posix/tst-fnmatch2.c: Add new test.
16309
68dc9497
AS
163102010-12-28 Andreas Schwab <schwab@linux-m68k.org>
16311
16312 * elf/Makefile (check-execstack): Revert last change. Depend on
16313 check-execstack.h.
16314 (check-execstack.h): New target.
16315 (generated): Add check-execstack.h.
16316 * elf/check-execstack.c: Include "check-execstack.h".
16317 (main): Revert last change.
16318 (handle_file): Return zero if GNU_STACK is absent and
16319 DEFAULT_STACK_PERMS doesn't include PF_X.
16320
451f001b
UD
163212011-01-13 Ulrich Drepper <drepper@gmail.com>
16322
cfa28e56
UD
16323 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
16324 in child fails because the descriptor is already closed.
8cf8ce17
UD
16325 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
16326 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
16327 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 16328
1086d70d
UD
16329 [BZ #12397]
16330 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
16331 syscall.
16332
451f001b
UD
16333 [BZ #10484]
16334 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
16335 temporary buffer used to handle multi lookups locally.
a85b5cb4 16336 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 16337
08769175
UD
163382011-01-12 Ulrich Drepper <drepper@gmail.com>
16339
16340 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
16341 loader is ld.so.
16342
5e49c52e
UD
163432011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
16344
16345 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
16346 alignment for SSE2.
16347
60522a5f
UD
163482011-01-12 Ulrich Drepper <drepper@gmail.com>
16349
16350 [BZ #12394]
16351 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
16352 characters. When rounding increased number of integer digits recompute
16353 number of groups.
16354 * stdio-common/tst-grouping.c: New file.
16355 * stdio-common/Makefile: Add rules to build and run tst-grouping.
16356
f257bbd7
UD
163572011-01-09 Ulrich Drepper <drepper@gmail.com>
16358
16359 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
16360 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
16361
16362 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
16363 void.
16364 * bits/select.h: Likewise.
16365
fa9c15cb
UD
163662011-01-08 Ulrich Drepper <drepper@gmail.com>
16367
16368 * po/ja.po: Update from translation team.
16369
16c2895f
DM
163702011-01-04 David S. Miller <davem@sunset.davemloft.net>
16371
16372 [BZ #11155]
16373 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
16374 implementation just like for lxstat, fxstatat, et al.
16375
2543fef2
JM
163762010-12-27 Jim Meyering <meyering@redhat.com>
16377
16378 [BZ #12348]
16379 * posix/regexec.c (build_trtable): Return failure indication upon
16380 calloc failure. Otherwise, re_search_internal could infloop on OOM.
16381
98727dbe
UD
163822010-12-25 Ulrich Drepper <drepper@gmail.com>
16383
5bd6dc5c
UD
16384 [BZ #12201]
16385 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
16386 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
16387 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
16388 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
16389
97983464
UD
16390 [BZ #12207]
16391 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
16392
98727dbe
UD
16393 [BZ #12204]
16394 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
16395 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
16396
4a531bb0
L
163972010-12-15 H.J. Lu <hongjiu.lu@intel.com>
16398
16399 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
16400 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
16401 script has SORT_BY_INIT_PRIORITY.
16402 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
16403 NO_CTORS_DTORS_SECTIONS is defined.
16404 * elf/soinit.c: Likewise.
16405 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
16406 NO_CTORS_DTORS_SECTIONS is defined.
16407 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
16408 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
16409 * sysdeps/sh/init-first.c: Likewise.
16410 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
16411
07eb4b71
UD
164122010-12-24 Ulrich Drepper <drepper@gmail.com>
16413
16414 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
16415 always use the slow path.
16416
30950a5f
RA
164172010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
16418
16419 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
16420 similar rule which adds the sysdep directories to the header search in
16421 order to pick up the correct platform stackinfo.h.
16422 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
16423 perform test if it is, otherwise return successfully without testing.
16424 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
16425 DEFAULT_STACK_PERMS define in stackinfo.h.
16426 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
16427 defined in stackinfo.h.
16428 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
16429 DEFAULT_STACK_PERMS defined in stackinfo.h.
16430 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
16431 * sysdeps/ia64/stackinfo.h: Likewise.
16432 * sysdeps/s390/stackinfo.h: Likewise.
16433 * sysdeps/sh/stackinfo.h: Likewise.
16434 * sysdeps/sparc/stackinfo.h: Likewise.
16435 * sysdeps/x86_64/stackinfo.h: Likewise.
16436 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
16437 PF_X for powerpc64. Retain PF_X for powerpc32.
16438
db753e2c
UD
164392010-12-19 Ulrich Drepper <drepper@gmail.com>
16440
14b697f7
UD
16441 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
16442 accurately.
db753e2c
UD
16443 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
16444 GETDENTS_64BIT_ALIGNED.
16445
28300719
UD
164462010-12-14 Ulrich Drepper <dreper@gmail.com>
16447
14b697f7 16448 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 16449
4f197237
AS
164502010-12-10 Andreas Schwab <schwab@redhat.com>
16451
dbb0472f
AS
16452 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16453 _GNU_SOURCE.
16454
4f197237
AS
16455 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16456 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16457 Remove __restrict.
16458 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16459 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16460
fb88ac72
UD
164612010-12-09 Ulrich Drepper <drepper@gmail.com>
16462
16463 [BZ #11655]
16464 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16465 are initialized.
16466
42acbb92
JJ
164672010-12-09 Jakub Jelinek <jakub@redhat.com>
16468
16469 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16470
c038d98d
UD
164712010-12-03 Ulrich Drepper <drepper@gmail.com>
16472
16473 * po/it.po: Update from translation team.
16474
3a4a2499
L
164752010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16476
16477 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16478 unused codes.
16479
1e24cf6e
UD
164802010-11-30 Ulrich Drepper <drepper@gmail.com>
16481
16482 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16483
a7690819
AS
164842010-11-24 Andreas Schwab <schwab@redhat.com>
16485
16486 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16487 specially.
16488 (gaih_getanswer_slice): Likewise.
16489
3bf8d1b1
JJ
164902010-10-20 Jakub Jelinek <jakub@redhat.com>
16491
16492 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16493
6db52fbb
PB
164942010-05-31 Petr Baudis <pasky@suse.cz>
16495
16496 [BZ #11149]
16497 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16498 silently even in the chroot mode.
16499
eaca7569
UD
165002010-11-22 Ulrich Drepper <drepper@gmail.com>
16501
16502 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16503 last patch a bit. Pretty printing
16504
3056dcdb
UD
165052010-05-31 Petr Baudis <pasky@suse.cz>
16506
16507 [BZ #10085]
16508 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16509 initialization of skip_initgroups_dyn.
16510
cf7c9078
UD
165112010-11-19 Ulrich Drepper <drepper@gmail.com>
16512
16513 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16514 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16515
a1fb5e3e
UD
165162010-11-16 Ulrich Drepper <drepper@gmail.com>
16517
16518 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16519
3540d66b
AS
165202010-11-11 Andreas Schwab <schwab@redhat.com>
16521
16522 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16523 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16524 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16525 ($(objpfx)tst-fnmatch-mem): New rule.
16526 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16527 * posix/tst-fnmatch.c (main): Call mtrace.
16528
13b69574
L
165292010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16530
16531 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16532 Support Intel processor model 6 and model 0x2c.
16533
da93d214
LM
165342010-11-10 Luis Machado <luisgpm@br.ibm.com>
16535
16536 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16537 signed comparison.
16538
8ca52c6e
L
165392010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16540
16541 [BZ #12205]
16542 * string/test-strncasecmp.c (check_result): New function.
16543 (do_one_test): Use it.
16544 (check1): New function.
16545 (test_main): Use it.
16546 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16547 Support strcasecmp and strncasecmp.
16548
69da074d
UD
165492010-11-08 Ulrich Drepper <drepper@gmail.com>
16550
16551 [BZ #12194]
16552 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16553 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16554
ff02d528
L
165552010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16556
16557 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16558 IFUNC support.
16559 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16560 memset-x86-64.
16561 * sysdeps/x86_64/multiarch/bzero.S: New file.
16562 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16563 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16564 * sysdeps/x86_64/multiarch/memset.S: New file.
16565 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16566 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16567 Set bit_Prefer_SSE_for_memop for Intel processors.
16568 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16569 Define.
16570 (index_Prefer_SSE_for_memop): Define.
16571 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16572
344d0b54
LM
165732010-11-04 Luis Machado <luisgpm@br.ibm.com>
16574
16575 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16576 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16577
c0dde15b
UD
165782010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16579
16580 [BZ #12191]
16581 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16582 (__x86_64_raw_data_cache_size_half): Likewise.
16583 (__x86_64_raw_shared_cache_size): Likewise.
16584 (__x86_64_raw_shared_cache_size_half): Likewise.
16585
16586 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16587 (__x86_64_raw_data_cache_size_half): Likewise.
16588 (__x86_64_raw_shared_cache_size): Likewise.
16589 (__x86_64_raw_shared_cache_size_half): Likewise.
16590 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16591 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16592 and __x86_64_raw_shared_cache_size_half. Round
16593 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16594 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16595 to multiple of 256 bytes.
16596
0e516e0e
MS
165972010-11-03 Ulrich Drepper <drepper@gmail.com>
16598
16599 [BZ #12167]
16600 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16601 of inacessible symlinks. Verify result of symlink before returning it.
16602 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16603 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16604
0e012e87
ER
166052010-10-28 Erich Ritz <erichritz@gmail.com>
16606
16607 * math/math.h (isinf): Fix typo in comment.
16608
de0ff7bc
UD
166092010-11-01 Ulrich Drepper <drepper@gmail.com>
16610
16611 * po/da.po: Update from translation team.
16612
fa41c84d
UD
166132010-10-26 Ulrich Drepper <drepper@gmail.com>
16614
16615 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16616 is added to the list.
16617
f0967738
AK
166182010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16619 Ulrich Drepper <drepper@gmail.com>
16620
16621 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16622 the global list here. Move code to...
16623 (_dl_add_to_namespace_list): ...here. New function.
16624 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16625 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16626 * elf/dl-load.c (lose): Don't remove the element from the list.
16627 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16628 (_dl_map_object): Likewise.
16629
166302010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
16631
16632 [BZ #12159]
16633 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16634 into all bytes of SSE register.
16635 Patch by Richard Li <richardpku@gmail.com>.
16636
f0967738 166372010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
16638
16639 [BZ #12140]
16640 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16641 perturbing.
16642
d0b9e94f
MB
166432010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16644
16645 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16646 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16647 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16648 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16650 submachine.
16651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16652
8e9f92e9
AS
166532010-10-22 Andreas Schwab <schwab@redhat.com>
16654
16655 * include/dlfcn.h (__RTLD_SECURE): Define.
16656 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16657 mode & __RTLD_SECURE instead.
16658 (open_path): Rename preloaded parameter to secure.
16659 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16660 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16661 * elf/dl-deps.c (openaux): Likewise.
16662 * elf/rtld.c (struct map_args): Remove is_preloaded.
16663 (map_doit): Don't use it.
16664 (dl_main): Likewise.
16665 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16666 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16667
bc96fbda
AS
166682010-09-09 Andreas Schwab <schwab@redhat.com>
16669
16670 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16671 (sysd-rules-targets): Remove duplicates.
16672 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16673 rtld-%.$o dependency.
16674
22cd1c9b
AS
166752010-10-18 Andreas Schwab <schwab@redhat.com>
16676
16677 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16678 _dl_map_object do it.
16679
18edac48
UD
166802010-10-19 Ulrich Drepper <drepper@gmail.com>
16681
16682 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16683 fast fma builtins, define the macros in the C99 standard.
16684 (FP_FAST_FMAF): Likewise.
16685 (FP_FAST_FMAL): Likewise.
16686 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16687
16688 * bits/mathdef.h: Update copyright year.
16689 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16690
d2050124
MM
166912010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16692
16693 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16694 builtins, define the macros in the C99 standard.
16695 (FP_FAST_FMAF): Likewise.
16696 (FP_FAST_FMAL): Likewise.
16697 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16698 multiply/add.
16699 (FP_FAST_FMAF): Likewise.
16700
475facd1
JJ
167012010-10-15 Jakub Jelinek <jakub@redhat.com>
16702
16703 [BZ #3268]
16704 * math/libm-test.inc (fma_test): Some new testcases.
16705 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16706 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16707 y and infinite z. Do multiplication by C already in long double.
16708 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16709 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16710 y and infinite z. Do bitwise or of inexact bit into u.d.
16711 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16712 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16713 * sysdeps/i386/fpu/s_fma.S: Removed.
16714 * sysdeps/i386/fpu/s_fmal.S: Removed.
16715
7c08a05c
JJ
167162010-10-16 Jakub Jelinek <jakub@redhat.com>
16717
16718 [BZ #3268]
16719 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16720 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16721 computation is not scheduled after fetestexcept. Fix value
16722 of minimum denormal long double.
16723
f3f7372d
JJ
167242010-10-14 Jakub Jelinek <jakub@redhat.com>
16725
16726 [BZ #3268]
16727 * math/libm-test.inc (fma_test): Add some more tests.
16728 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16729 correctly.
16730
14d43591
AS
167312010-10-15 Andreas Schwab <schwab@redhat.com>
16732
16733 * scripts/data/localplt-s390-linux-gnu.data: New file.
16734 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16735
5e908464
JJ
167362010-10-13 Jakub Jelinek <jakub@redhat.com>
16737
16738 [BZ #3268]
16739 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16740 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16741 instead of dbl-64.
16742 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16743 inlines.
16744 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16745 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16746 if one of x and y is very large and the other is subnormal.
16747 * sysdeps/s390/fpu/s_fmaf.c: New file.
16748 * sysdeps/s390/fpu/s_fma.c: New file.
16749 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16750 * sysdeps/powerpc/fpu/s_fma.S: New file.
16751 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16752 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16753 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16754
167552010-10-12 Jakub Jelinek <jakub@redhat.com>
16756
16757 [BZ #3268]
16758 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16759 fma tests.
16760 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16761 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16762 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16763 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16764 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16765 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16766 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16767
b833d51f
UD
167682010-10-12 Ulrich Drepper <drepper@redhat.com>
16769
16770 [BZ #12078]
16771 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16772 * posix/bug-regex31.input: Add test case.
16773
1751705d
UD
167742010-10-11 Ulrich Drepper <drepper@gmail.com>
16775
e9b9cbf5
UD
16776 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16777 * posix/bug-regex31.input: New file.
16778
16779 [BZ #12078]
16780 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16781 (parse_sub_exp): Fix last change, use postorder.
16782
ef06edbe
UD
16783 * posix/bug-regex31.c: New file.
16784 * posix/Makefile: Add rules to build and run bug-regex31.
16785
a129c80d
UD
16786 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16787
16788 [BZ #12078]
16789 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16790
b76b818e
UD
16791 [BZ #12108]
16792 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16793 to have entries in sys_siglist.
16794
1751705d
UD
16795 [BZ #12093]
16796 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16797 be NULL.
16798
9ff8d36f
JJ
167992010-10-07 Jakub Jelinek <jakub@redhat.com>
16800
16801 [BZ #3268]
16802 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16803 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16804 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16805 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16806 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16807 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16808 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16809 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16810 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16811 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16812 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16813 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16814 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16815 * math/ftestexcept.c (fetestexcept): Likewise.
16816 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16817 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16818 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16819 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16820 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16821 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16822 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16823
af325969
UD
168242010-10-11 Ulrich Drepper <drepper@gmail.com>
16825
c579b202 16826 [BZ #12107]
af325969
UD
16827 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16828 newline.
16829
67a67b95
UD
168302010-10-06 Ulrich Drepper <drepper@gmail.com>
16831
16832 * string/bug-strstr1.c: New file.
16833 * string/Makefile: Add rules to build and run bug-strstr1.
16834
5fb308bc
EB
168352010-10-05 Eric Blake <eblake@redhat.com>
16836
16837 [BZ #12092]
16838 * string/str-two-way.h (two_way_long_needle): Always clear memory
16839 when skipping input due to the shift table.
16840
45db99c7
UD
168412010-10-03 Ulrich Drepper <drepper@gmail.com>
16842
3b111893
UD
16843 [BZ #12005]
16844 * malloc/mcheck.c: Handle large requests.
16845
45db99c7
UD
16846 [BZ #12077]
16847 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16848 for strncmp and strncasecmp.
16849 * string/stratcliff.c: Add tests for strcmp and strncmp.
16850 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16851
cf7a1eb8
NI
168522010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16853
16854 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16855 __set_fpscr.
16856
6484ba5e
AJ
168572010-09-30 Andreas Jaeger <aj@suse.de>
16858
16859 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16860 (CGROUP_SUPER_MAGIC): Define.
16861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16862 Handle btrfs and cgroup file systems.
16863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16864 Likewise.
16865
91c42559
LM
168662010-09-27 Luis Machado <luisgpm@br.ibm.com>
16867
16868 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16869 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16870
87a97932
AK
168712010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16872
16873 [BZ #12067]
16874 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16875 trying to locate the ELF header.
16876
c21cc9bc
AS
168772010-09-27 Andreas Schwab <schwab@redhat.com>
16878
16879 [BZ #11611]
16880 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16881 Mask out sign-bit copies when constructing f_fsid.
16882
315970f6
PB
168832010-09-24 Petr Baudis <pasky@suse.cz>
16884
16885 * debug/stack_chk_fail_local.c: Add missing licence exception.
16886 * debug/warning-nop.c: Likewise.
16887
1ac7a2c7
JM
168882010-09-15 Joseph Myers <joseph@codesourcery.com>
16889
16890 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16891 implementing getdents64 using getdents syscall, set d_type if
16892 __ASSUME_GETDENTS32_D_TYPE.
16893
56801c50
AS
168942010-09-16 Andreas Schwab <schwab@redhat.com>
16895
16896 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16897 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16898
dda51327
UD
168992010-09-21 Ulrich Drepper <drepper@redhat.com>
16900
16901 [BZ #12037]
16902 * posix/unistd.h: Undo change of feature selection for ftruncate from
16903 2010-01-11.
16904
8ffcee4a
UD
169052010-09-20 Ulrich Drepper <drepper@redhat.com>
16906
a545ecd9 16907 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
16908 detection.
16909
e24f0a8b
AS
169102010-09-20 Andreas Schwab <schwab@redhat.com>
16911
16912 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16913 fanotify_mark.
16914 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16915
7291c56f
AS
169162010-09-14 Andreas Schwab <schwab@redhat.com>
16917
16918 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16919 variables after CHECK_SP call.
16920 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16921
bc5fb037
AS
169222010-09-13 Andreas Schwab <schwab@redhat.com>
16923 Ulrich Drepper <drepper@redhat.com>
16924
16925 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16926 re-relocationg ld.so.
16927 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16928 _dl_init_paths call.
16929 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16930 here anymore.
16931
e66e7419
UD
169322010-09-14 Ulrich Drepper <drepper@redhat.com>
16933
16934 * resolv/res_init.c (__res_vinit): Count the default server we added.
16935
c044aa75
CLT
169362010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16937 Ulrich Drepper <drepper@redhat.com>
16938
16939 [BZ #11968]
16940 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16941 (____longjmp_chk): Use %ebx for saving value across system call.
16942 Add unwind info.
16943
32cf4069
AS
169442010-09-06 Andreas Schwab <schwab@redhat.com>
16945
16946 * manual/Makefile: Don't mix pattern rules with normal rules.
16947
817328ee
AS
169482010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16949
16950 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16951 operation.
16952 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16953 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16954 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16955 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16956 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16957 Likewise.
16958
29fddf61
UD
169592010-09-04 Ulrich Drepper <drepper@redhat.com>
16960
16961 [BZ #11979]
16962 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16963 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16964
0959ffc9
UD
169652010-09-02 Ulrich Drepper <drepper@redhat.com>
16966
16967 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16968 * sysdeps/x86_64/addmul_1.S: Likewise.
16969 * sysdeps/x86_64/lshift.S: Likewise.
16970 * sysdeps/x86_64/mul_1.S: Likewise.
16971 * sysdeps/x86_64/rshift.S: Likewise.
16972 * sysdeps/x86_64/sub_n.S: Likewise.
16973 * sysdeps/x86_64/submul_1.S: Likewise.
16974
ece29840
ST
169752010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16976
0959ffc9
UD
16977 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16978 Define __sched_param instead of SCHED_* and sched_param when
ece29840 16979 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 16980 * bits/sched.h [__need_schedparam]
ece29840 16981 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
16982 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16983 (__defined_schedparam): Define to 1.
ece29840
ST
16984 (__sched_param): New structure, identical to sched_param.
16985 (__need_schedparam): Undefine.
16986
e53a31fe
MF
169872010-08-31 Mike Frysinger <vapier@gentoo.org>
16988
fdc0c10d
MF
16989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16990 (epoll_create1): Declare.
16991
e53a31fe
MF
16992 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16993
a726d796
AS
169942010-08-31 Andreas Schwab <schwab@redhat.com>
16995
16996 [BZ #7066]
16997 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16998 shifting retval into place.
16999
2f3e3dc7
UD
170002010-09-01 Ulrich Drepper <drepper@redhat.com>
17001
f2933da9
UD
17002 * nis/rpcsvc/nis.h: Update copyright notice.
17003 * nis/rpcsvc/nis.x: Likewise.
17004 * nis/rpcsvc/nis_callback.h: Likewise.
17005 * nis/rpcsvc/nis_callback.x: Likewise.
17006 * nis/rpcsvc/nis_object.x: Likewise.
17007 * nis/rpcsvc/nis_tags.h: Likewise.
17008 * nis/rpcsvc/yp.h: Likewise.
17009 * nis/rpcsvc/yp.x: Likewise.
17010 * nis/rpcsvc/ypupd.h: Likewise.
17011 * nis/yp_xdr.c: Likewise.
17012 * nis/ypupdate_xdr.c: Likewise.
17013
2f3e3dc7
UD
17014 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
17015 mainly the body of pmap_getport. Add parameters to specify timeouts.
17016 (pmap_getport): Use __libc_rpc_getport.
17017 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
17018 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
17019 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
17020
f3dcc2f9
AS
170212010-08-31 Andreas Schwab <schwab@linux-m68k.org>
17022
17023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
17024 fanotify_mark.
17025
6d34eb5b
RM
170262010-08-27 Roland McGrath <roland@redhat.com>
17027
17028 * sysdeps/i386/i686/multiarch/Makefile
17029 (CFLAGS-varshift.c): New variable.
17030
9ea3de11
UD
170312010-08-27 Ulrich Drepper <drepper@redhat.com>
17032
c96d23fc
UD
17033 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
17034 * sysdeps/i386/i686/multiarch/varshift.c: New file.
17035
9ea3de11
UD
17036 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
17037
17038 * sysdeps/x86_64/strlen.S: Minimal code improvement.
17039
623aac7f
L
170402010-08-26 H.J. Lu <hongjiu.lu@intel.com>
17041
17042 * sysdeps/x86_64/strlen.S: Unroll the loop.
17043 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17044 strlen-sse2 strlen-sse2-bsf.
17045 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
17046 __strlen_no_bsf if bit_Slow_BSF is set.
17047 (__strlen_sse42): Removed.
17048 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
17049 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
17050
8b2b7715
RM
170512010-08-25 Roland McGrath <roland@redhat.com>
17052
17053 * sysdeps/x86_64/multiarch/varshift.S: File removed.
17054 * sysdeps/x86_64/multiarch/varshift.c: New file.
17055 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
17056 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
17057 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
17058 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17059
e73015f2
L
170602010-08-25 H.J. Lu <hongjiu.lu@intel.com>
17061
17062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17063 strlen-sse2 strlen-sse2-bsf.
17064 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
17065 __strlen_sse2_bsf if bit_Slow_BSF is unset.
17066 (__strlen_sse2): Removed.
17067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
17068 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
17069 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
17070 bit_Slow_BSF for Atom.
17071 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
17072 (index_Slow_BSF): Define.
17073 (HAS_SLOW_BSF): Define.
17074
df24a73e
UD
170752010-08-25 Ulrich Drepper <drepper@redhat.com>
17076
17077 [BZ #10851]
17078 * resolv/res_init.c (__res_vinit): When no server address at all
17079 is given default to loopback.
17080
f2ac4868
RM
170812010-08-24 Roland McGrath <roland@redhat.com>
17082
09055553
RM
17083 * configure.in: Remove config-name.h generation.
17084 * configure: Regenerated.
17085 * config-name.in: File removed.
17086 * scripts/config-uname.sh: New file.
17087 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
17088 ($(objdir)config-name.h): New target.
17089
f2ac4868
RM
17090 * sunrpc/rpc_parse.h: Avoid nested comment.
17091
73f27d5e
RH
170922010-08-24 Richard Henderson <rth@redhat.com>
17093 Ulrich Drepper <drepper@redhat.com>
17094 H.J. Lu <hongjiu.lu@intel.com>
17095
17096 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
17097 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
17098 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
17099 Replace _mm_srli_si128 with __m128i_shift_right. Replace
17100 _mm_alignr_epi8 with _mm_loadu_si128.
17101 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
17102 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
17103 (__m128i_shift_right): Removed.
17104 * sysdeps/i386/i686/multiarch/varshift.h: New file.
17105 * sysdeps/i386/i686/multiarch/varshift.S: New file.
17106 * sysdeps/x86_64/multiarch/varshift.h: New file.
17107 * sysdeps/x86_64/multiarch/varshift.S: New file.
17108
84b9230c
MF
171092010-08-21 Mike Frysinger <vapier@gentoo.org>
17110
17111 * configure.in: Move assembler checks to before sysdep dir checking.
17112
9bbd0ddc
PB
171132010-08-20 Petr Baudis <pasky@suse.cz>
17114
17115 * LICENSES: Sync the sunrpc license.
17116
9da4bb31
UD
171172010-08-19 Ulrich Drepper <drepper@redhat.com>
17118
a7ab6ec8
UD
17119 * sunrpc/auth_des.c: Update copyright notice once again.
17120 * sunrpc/auth_none.c: Likewise.
17121 * sunrpc/auth_unix.c: Likewise.
17122 * sunrpc/authdes_prot.c: Likewise.
17123 * sunrpc/authuxprot.c: Likewise.
17124 * sunrpc/bindrsvprt.c: Likewise.
17125 * sunrpc/clnt_gen.c: Likewise.
17126 * sunrpc/clnt_perr.c: Likewise.
17127 * sunrpc/clnt_raw.c: Likewise.
17128 * sunrpc/clnt_simp.c: Likewise.
17129 * sunrpc/clnt_tcp.c: Likewise.
17130 * sunrpc/clnt_udp.c: Likewise.
17131 * sunrpc/clnt_unix.c: Likewise.
17132 * sunrpc/des_crypt.c: Likewise.
17133 * sunrpc/des_soft.c: Likewise.
17134 * sunrpc/get_myaddr.c: Likewise.
17135 * sunrpc/getrpcport.c: Likewise.
17136 * sunrpc/key_call.c: Likewise.
17137 * sunrpc/key_prot.c: Likewise.
17138 * sunrpc/openchild.c: Likewise.
17139 * sunrpc/pm_getmaps.c: Likewise.
17140 * sunrpc/pm_getport.c: Likewise.
17141 * sunrpc/pmap_clnt.c: Likewise.
17142 * sunrpc/pmap_prot.c: Likewise.
17143 * sunrpc/pmap_prot2.c: Likewise.
17144 * sunrpc/pmap_rmt.c: Likewise.
17145 * sunrpc/rpc/auth.h: Likewise.
17146 * sunrpc/rpc/auth_unix.h: Likewise.
17147 * sunrpc/rpc/clnt.h: Likewise.
17148 * sunrpc/rpc/des_crypt.h: Likewise.
17149 * sunrpc/rpc/key_prot.h: Likewise.
17150 * sunrpc/rpc/netdb.h: Likewise.
17151 * sunrpc/rpc/pmap_clnt.h: Likewise.
17152 * sunrpc/rpc/pmap_prot.h: Likewise.
17153 * sunrpc/rpc/pmap_rmt.h: Likewise.
17154 * sunrpc/rpc/rpc.h: Likewise.
17155 * sunrpc/rpc/rpc_des.h: Likewise.
17156 * sunrpc/rpc/rpc_msg.h: Likewise.
17157 * sunrpc/rpc/svc.h: Likewise.
17158 * sunrpc/rpc/svc_auth.h: Likewise.
17159 * sunrpc/rpc/types.h: Likewise.
17160 * sunrpc/rpc/xdr.h: Likewise.
17161 * sunrpc/rpc_clntout.c: Likewise.
17162 * sunrpc/rpc_cmsg.c: Likewise.
17163 * sunrpc/rpc_common.c: Likewise.
17164 * sunrpc/rpc_cout.c: Likewise.
17165 * sunrpc/rpc_dtable.c: Likewise.
17166 * sunrpc/rpc_hout.c: Likewise.
17167 * sunrpc/rpc_main.c: Likewise.
17168 * sunrpc/rpc_parse.c: Likewise.
17169 * sunrpc/rpc_parse.h: Likewise.
17170 * sunrpc/rpc_prot.c: Likewise.
17171 * sunrpc/rpc_sample.c: Likewise.
17172 * sunrpc/rpc_scan.c: Likewise.
17173 * sunrpc/rpc_scan.h: Likewise.
17174 * sunrpc/rpc_svcout.c: Likewise.
17175 * sunrpc/rpc_tblout.c: Likewise.
17176 * sunrpc/rpc_util.c: Likewise.
17177 * sunrpc/rpc_util.h: Likewise.
17178 * sunrpc/rpcinfo.c: Likewise.
17179 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
17180 * sunrpc/rpcsvc/key_prot.x: Likewise.
17181 * sunrpc/rpcsvc/klm_prot.x: Likewise.
17182 * sunrpc/rpcsvc/mount.x: Likewise.
17183 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
17184 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
17185 * sunrpc/rpcsvc/rex.x: Likewise.
17186 * sunrpc/rpcsvc/rstat.x: Likewise.
17187 * sunrpc/rpcsvc/rusers.x: Likewise.
17188 * sunrpc/rpcsvc/sm_inter.x: Likewise.
17189 * sunrpc/rpcsvc/spray.x: Likewise.
17190 * sunrpc/rpcsvc/yppasswd.x: Likewise.
17191 * sunrpc/rtime.c: Likewise.
17192 * sunrpc/svc.c: Likewise.
17193 * sunrpc/svc_auth.c: Likewise.
17194 * sunrpc/svc_authux.c: Likewise.
17195 * sunrpc/svc_raw.c: Likewise.
17196 * sunrpc/svc_run.c: Likewise.
17197 * sunrpc/svc_simple.c: Likewise.
17198 * sunrpc/svc_tcp.c: Likewise.
17199 * sunrpc/svc_udp.c: Likewise.
17200 * sunrpc/svc_unix.c: Likewise.
17201 * sunrpc/svcauth_des.c: Likewise.
17202 * sunrpc/xcrypt.c: Likewise.
17203 * sunrpc/xdr.c: Likewise.
17204 * sunrpc/xdr_array.c: Likewise.
17205 * sunrpc/xdr_float.c: Likewise.
17206 * sunrpc/xdr_mem.c: Likewise.
17207 * sunrpc/xdr_rec.c: Likewise.
17208 * sunrpc/xdr_ref.c: Likewise.
17209 * sunrpc/xdr_sizeof.c: Likewise.
17210 * sunrpc/xdr_stdio.c: Likewise.
17211
9da4bb31
UD
17212 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
17213 handling.
17214
bdaa77bc
AS
172152010-08-19 Andreas Schwab <schwab@redhat.com>
17216
17217 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
17218
fe2f79db
LM
172192010-08-19 Luis Machado <luisgpm@br.ibm.com>
17220
17221 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
17222 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
17223 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
17224 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
17225 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
17226 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
17227 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
17228 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
17229 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
17230 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
17231 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
17232 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
17233 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
17234 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
17235
b9b42ee0
AB
172362010-07-26 Anton Blanchard <anton@samba.org>
17237
17238 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
17239 * malloc/arena.c (heap_trim): Likewise.
17240
1c06ba31
UD
172412010-08-16 Ulrich Drepper <drepper@redhat.com>
17242
17243 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
17244 here. Not...
17245 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
17246 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
17247
f8392f40
L
172482010-08-12 H.J. Lu <hongjiu.lu@intel.com>
17249
17250 * sysdeps/i386/elf/Makefile: New file.
17251
3162f12e
AS
172522010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17253
17254 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
17255 from fanotify_init.
17256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
17257 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17258
28c90b2c
UD
172592010-08-15 Ulrich Drepper <drepper@redhat.com>
17260
17261 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
17262 of strncasecmp_l.
1feccb6c 17263 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 17264
ca6bb004
UD
172652010-08-14 Ulrich Drepper <drepper@redhat.com>
17266
e9f82e0d
UD
17267 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17268 strncase_l-nonascii.
17269 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17270 Add strncase_l-ssse3.
17271 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
17272 * sysdeps/x86_64/strcmp.S: Likewise.
17273 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
17274 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
17275 * sysdeps/x86_64/strncase.S: New file.
17276 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
17277 * sysdeps/x86_64/strncase_l.S: New file.
17278 * string/Makefile (strop-tests): Add strncasecmp.
17279 * string/test-strncasecmp.c: New file.
17280
17281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
17282 warning.
17283
ca6bb004
UD
17284 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
17285 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
17286
052fa7b3
AS
172872010-08-14 Andreas Schwab <schwab@linux-m68k.org>
17288
17289 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
17290
962dba78
UD
172912010-08-12 Ulrich Drepper <drepper@redhat.com>
17292
17293 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
17294 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
17295 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
17296
bebff237
AM
172972010-05-01 Alan Modra <amodra@gmail.com>
17298
17299 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
17300 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
17301 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
17302 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
17303 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
17304 tidying. Don't tail-call __sigjmp_save for static lib.
17305 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
17306 save location.
17307 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
17308 (CALL_MCOUNT): Add eh info, and nop after bl.
17309 (TAIL_CALL_SYSCALL_ERROR): New macro.
17310 (PSEUDO_RET): Use it.
17311 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17312 Correct save location of integer regs and cr.
17313 (_dl_profile_resolve): Correct cr save location. Delete nops
17314 after bl when SHARED. Reduce cfi size a little by better
17315 placement of cfi directives.
17316 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
17317 make a stack frame. Instead use parm save area as a temp.
17318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
17319 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
17320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17321 Don't make a stack frame for parent, use parm save area.
17322 Increase child stack frame to 112 bytes. Don't save unused reg,
17323 and adjust reg usage. Set up cfi on error recovery and
17324 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
17325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17326 (__makecontext): Add dummy nop after jump to exit.
17327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
17328 Use correct parm save area and cr save, reduce stack frame.
17329 Correct cfi for possible PSEUDO_RET frame setup.
17330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
17331 Branch to local label emitted by PSEUDO_RET rather than
17332 __syscall_error.
17333
02637374
AS
173342010-08-12 Andreas Schwab <schwab@redhat.com>
17335
17336 [BZ #11904]
17337 * locale/programs/locale.c (print_assignment): New function.
17338 (show_locale_vars): Use it.
17339
c3e2f19b
UD
173402010-08-11 Ulrich Drepper <drepper@redhat.com>
17341
3cdaa6ad
UD
17342 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
17343 field.
17344 (struct statfs64): Likewise.
17345 (_STATFS_F_FLAGS): Define.
17346 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
17347 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
17348 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
17349 (ST_VALID): Define locally.
17350 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
17351 __statvfs_getflags, use the provided value.
17352 * sysdeps/unix/sysv/linux/kernel-features.h: Define
17353 __ASSUME_STATFS_F_FLAGS.
17354
754f7da3
UD
17355 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
17356
10b3bedc
UD
17357 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
17358 Add sys/fanotify.h.
17359 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
17360 fanotify_mask for GLIBC_2.13.
17361 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
17362 fanotify_init and fanotify_mark.
17363 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
17364 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
17365
c08fb0d7
UD
17366 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
17367 Add prlimit.
17368 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
17369 prlimit64 for GLIBC_2.13.
17370 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
17371 prlimit64.
17372 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
17373 syscall.
17374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
17375 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
17376 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
17377 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
17378 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
17379 add prlimit alias.
17380 * sysdeps/unix/sysv/linux/prlimit.c: New file.
17381
15bac72b
UD
17382 [BZ #11903]
17383 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
17384 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
17385
c3e2f19b
UD
17386 * nss/Makefile: Add rules to build and run tst-nss-test1.
17387 * shlib-versions: Add entry for libnss_test1.
17388 * nss/nss_test1.c: New file.
17389 * nss/tst-nss-test1.c: New file.
17390
17391 * nss/nsswitch.c (__nss_database_custom): Define new variable.
17392 (__nss_configure_lookup): Set appropriate entry in
17393 __nss_configure_lookup to true.
17394 * nss/nsswitch.h: Define enum with indeces of databases in
17395 databases and __nss_database_custom arrays. Declare
17396 __nss_database_custom.
17397 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
17398 to avoid using nscd when custom rules are installed.
17399 * nss/getXXbyYY_r.c: Likewise.
17400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17401
17402 * nss/nss_files/files-parse.c: Whitespace fixes.
17403
f15ce4d8
UD
174042010-08-09 Ulrich Drepper <drepper@redhat.com>
17405
17406 [BZ #11883]
17407 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
17408 * posix/fnmatch_loop.c: Likewise.
17409
d22e4cc9
AK
174102010-07-17 Andi Kleen <ak@linux.intel.com>
17411
17412 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
17413 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
17414 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
17415 * Versions.def [GLIBC_2.13]: Add.
17416
805bc17d
UD
174172010-08-06 Ulrich Drepper <drepper@redhat.com>
17418
17419 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17420 Also fail if tpwd after pwuid call is NULL.
17421
5a42321d
ST
174222010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
17423
17424 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
17425 when converting to ms.
17426
fd3ebeda
ST
174272010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17428
17429 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
17430 EOPNOTSUPP errors with ENOTTY.
17431 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
17432 EOPNOTSUPP errors with ENOTTY.
17433
73507d3a
UD
174342010-07-31 Ulrich Drepper <drepper@redhat.com>
17435
17436 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
17437 Add strcasecmp_l-ssse3.
17438 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
17439 strcasecmp.
17440 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
17441 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
17442 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
17443
fe36dd02
UD
174442010-07-30 Ulrich Drepper <drepper@redhat.com>
17445
66f6765a
UD
17446 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
17447
42e08a54
UD
17448 * string/Makefile (strop-tests): Add strcasecmp.
17449 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17450 strcasecmp_l-nonascii.
17451 (gen-as-const-headers): Add locale-defines.sym.
17452 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17453 * sysdeps/x86_64/strcasecmp.S: New file.
17454 * sysdeps/x86_64/strcasecmp_l.S: New file.
17455 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17456 * sysdeps/x86_64/locale-defines.sym: New file.
17457 * string/test-strcasecmp.c: New file.
17458
fe36dd02
UD
17459 * string/test-strcasestr.c: Test both ends of the range of characters.
17460 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17461
48cbc0d6
RM
174622010-07-29 Roland McGrath <roland@redhat.com>
17463
76e6d6bc 17464 [BZ #11856]
48cbc0d6
RM
17465 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17466
880113d9
UD
174672010-07-27 Ulrich Drepper <drepper@redhat.com>
17468
17469 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17470 for ld.so.
17471
deb9cabb
AS
174722010-07-27 Andreas Schwab <schwab@redhat.com>
17473
17474 * manual/memory.texi (Malloc Tunable Parameters): Document
17475 M_PERTURB.
17476
1c7570ff
RM
174772010-07-26 Roland McGrath <roland@redhat.com>
17478
17479 [BZ #11840]
17480 * configure.in (-fgnu89-inline check): Set and substitute
17481 gnu89_inline, not libc_cv_gnu89_inline.
17482 * configure: Regenerated.
17483 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17484
24fb0f88
UD
174852010-07-26 Ulrich Drepper <drepper@redhat.com>
17486
17487 * string/test-strnlen.c: New file.
17488 * string/Makefile (strop-tests): Add strnlen.
17489 * string/tester.c (test_strnlen): Add a few more test cases.
17490 * string/tst-strlen.c: Better error reporting.
17491
17492 * sysdeps/x86_64/strnlen.S: New file.
17493
8e96b93a
UD
174942010-07-24 Ulrich Drepper <drepper@redhat.com>
17495
17496 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17497 lower-latency instructions.
17498
dbc676d4
UD
174992010-07-23 Ulrich Drepper <drepper@redhat.com>
17500
17501 * string/test-strcasestr.c: New file.
17502 * string/test-strstr.c: New file.
17503 * string/Makefile (strop-tests): Add strstr and strcasestr.
17504 * string/str-two-way.h: Don't undefine MAX.
17505 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17506
f6a31e0e
AS
175072010-07-21 Andreas Schwab <schwab@redhat.com>
17508
17509 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17510 strcasestr-nonascii.
17511 (CFLAGS-strcasestr-nonascii.c): Define.
17512 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17513 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17514 Remove unused attribute.
17515
5dbc3b6c
RM
175162010-07-20 Roland McGrath <roland@redhat.com>
17517
17518 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17519 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17520 ld.so.cache was broken. With it, there is no way to disable dsocaps
17521 like LD_HWCAP_MASK can disable hwcaps.
17522
23d101d8
EPM
175232010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17524
17525 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17526
cc9f2e47
UD
175272010-07-16 Ulrich Drepper <drepper@redhat.com>
17528
17529 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17530 call in strcasestr.
17531 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17532 __strcasestr_sse42_nonascii.
17533 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17534 strcasestr-nonascii.c.
17535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17536
77c1b069
LM
175372010-06-15 Luis Machado <luisgpm@br.ibm.com>
17538
17539 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17540 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17542 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17543
440566c3
UD
175442010-07-09 Ulrich Drepper <drepper@redhat.com>
17545
17546 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17547 fcntl.
17548
5be9d05d
AS
175492010-07-06 Andreas Schwab <schwab@redhat.com>
17550
c30b7ee2 17551 [BZ #11577]
5be9d05d
AS
17552 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17553 dl_signal_cerror.
17554
8a492a67
UD
175552010-07-06 Ulrich Drepper <drepper@redhat.com>
17556
17557 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17558 _PC_PIPE_BUF using F_GETPIPE_SZ.
17559
713df3d5
RM
175602010-07-05 Roland McGrath <roland@redhat.com>
17561
17562 * manual/arith.texi (Rounding Functions): Fix rint description
17563 implicit in round description.
17564
702e8f14
UD
175652010-07-02 Ulrich Drepper <drepper@redhat.com>
17566
17567 * elf/Makefile: Fix linking for a few tests to make recent linker
17568 happy.
17569
52ed8be9
AS
175702010-06-30 Andreas Schwab <schwab@redhat.com>
17571
17572 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17573 $(common-objpfx)libc_nonshared.a.
17574
f47c9a11
LM
175752010-06-21 Luis Machado <luisgpm@br.ibm.com>
17576
17577 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17578 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17579 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17580 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17581 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17582 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17583 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17584 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17599 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17600 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17601 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17602 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17603 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17604 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17605 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17606 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17607 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17608 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17609 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17610 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17617 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17625
6fb8cbcb
L
176262010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17627
17628 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17629 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17630 * string/memmove.c (memmove): Renamed to ...
17631 (MEMMOVE): ...this. Default to memmove.
17632 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17633 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17634 (END_CHK): Define.
17635 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17636 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17637 mempcpy-ssse3-back memmove-ssse3-back.
17638 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17639 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17640 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17641 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17642 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17643 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17644 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17645 * sysdeps/x86_64/multiarch/memmove.c: New file.
17646 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17647 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17648 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17649 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17650 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17651 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17652 Define.
17653 (index_Fast_Copy_Backward): Define.
17654 (HAS_ARCH_FEATURE): Define.
17655 (HAS_FAST_REP_STRING): Define.
17656 (HAS_FAST_COPY_BACKWARD): Define.
17657
4e733bac 176582010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
17659
17660 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17661 Restore proper fallback handling.
17662
63c4ed22
UD
176632010-06-19 Ulrich Drepper <drepper@redhat.com>
17664
ac2b484c
UD
17665 [BZ #11701]
17666 * posix/group_member.c (__group_member): Correct checking loop.
17667
63c4ed22
UD
17668 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17669 OOM in getpwuid_r correctly. Return error number when the caller
17670 should return, otherwise -1.
17671 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17672 call returning > 0 value.
17673 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17674
765ade4b
AS
176752010-06-07 Andreas Schwab <schwab@redhat.com>
17676
17677 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17678 libc_nonshared.a from targets in modules-names.
17679
80da2e09
KS
176802010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17681
17682 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17683 requires it.
17684
158db122
LM
176852010-06-10 Luis Machado <luisgpm@br.ibm.com>
17686
17687 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17688 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17689 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17690 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17691
caa78cf8
AS
176922010-06-02 Andreas Schwab <schwab@redhat.com>
17693
17694 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17695
b2ef2c01
UD
176962010-06-14 Ulrich Drepper <drepper@redhat.com>
17697
17698 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17699 and F_GETPIPE_SZ.
17700 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17701 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17703 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17704 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17705 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17706
fbd643b6
RM
177072010-06-14 Roland McGrath <roland@redhat.com>
17708
17709 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17710
f32f2869
JJ
177112010-06-07 Jakub Jelinek <jakub@redhat.com>
17712
17713 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17714 __REDIRECT followed by __THROW.
17715 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17716 * posix/getopt.h (getopt): Likewise.
17717
2a50c078
EPM
177182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17719
17720 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17721 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17722 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17723 in AT_FLAGS.
17724 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17725 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17726
eb5ad2eb
LM
177272010-05-28 Luis Machado <luisgpm@br.ibm.com>
17728
17729 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17730
3c88fe1e
L
177312010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17732
17733 [BZ #11640]
17734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17735 Properly check family and model.
17736
d2f73151
TY
177372010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17738
17739 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17740
ebd2e13d
LM
177412010-05-24 Luis Machado <luisgpm@br.ibm.com>
17742
17743 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17744
b32b8b45
UD
177452010-05-21 Ulrich Drepper <drepper@redhat.com>
17746
17747 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17748 symbol reference.
17749
9acbe24d
AS
177502010-05-19 Andreas Schwab <schwab@redhat.com>
17751
17752 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17753 symbol reference.
17754
f0ccf6ea
AS
177552010-05-21 Andreas Schwab <schwab@redhat.com>
17756
3d04ff3a
AS
17757 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17758 and internal_recvmmsg.
17759 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17760 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17761 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17762 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17763
f0ccf6ea
AS
17764 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17765 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17766 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17767
5b08ac57
AS
177682010-05-20 Andreas Schwab <schwab@redhat.com>
17769
17770 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17771
4828935d
LM
177722010-05-17 Luis Machado <luisgpm@br.ibm.com>
17773
17774 POWER7 optimizations.
17775 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17776 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17777
373d545e
UD
177782010-05-19 Ulrich Drepper <drepper@redhat.com>
17779
17780 * version.h: Update for 2.13 development version.
17781
21a2b1ae
AS
177822010-05-12 Andrew Stubbs <ams@codesourcery.com>
17783
17784 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17785 exceptions. Return 0.
17786
3f7dcb2b
RM
177872010-05-07 Roland McGrath <roland@redhat.com>
17788
17789 * elf/ldconfig.c (main): Add a const.
17790
5f24d53a 177912010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 17792
a160f8d8
UD
17793 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17794 (args_options): Add no-idn option.
17795 (ahosts_keys_int): Add idn_flags to ai_flags.
17796 (parse_option): Handle 'i' option to clear idn_flags.
17797
5f24d53a
UD
17798 * malloc/malloc.c (_int_free): Possible race in the most recently
17799 added check. Only act on the data if no current modification
17800 happened.
265bb1ce
UD
17801
17802See ChangeLog.17 for earlier changes.