]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Update x86_64 PTR_MANGLE/PTR_DEMANGLE for x32
[thirdparty/glibc.git] / ChangeLog
1 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
4 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
5 instead of $17.
6 (PTR_DEMANGLE): Likewise.
7
8 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
9
10 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
11 (LP_OP): Likewise.
12 (ASM_ADDR): Likewise.
13 (RAX_LP): Likewise.
14 (RBP_LP): Likewise.
15 (RBX_LP): Likewise.
16 (RCX_LP): Likewise.
17 (RDI_LP): Likewise.
18 (RSI_LP): Likewise.
19 (RSP_LP): Likewise.
20 (R8_LP): Likewise.
21 (R9_LP): Likewise.
22 (R10_LP): Likewise.
23 (R10_LP): Likewise.
24 (R11_LP): Likewise.
25 (R12_LP): Likewise.
26 (R13_LP): Likewise.
27 (R14_LP): Likewise.
28 (R15_LP): Likewise.
29
30 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
31
32 * sysdeps/x86_64/x32/dl-machine.h: New file.
33
34 2012-05-14 Andreas Jaeger <aj@suse.de>
35
36 * manual/Makefile (subdir): Remove export of subdir.
37 (all): Remove target.
38 (.PHONY): Remove all from list.
39 (mkinstalldirs): Remove.
40 (.PHONY): Remove installdirs from list.
41 ($(inst_infodir)/libc.info): Use make-target-directory.
42 (installdirs): Remove.
43 (subdir_%): Remove.
44 (glibc-targets): Remove.
45 (lib): Remove.
46 (stubs): Remove.
47 ($(objpfx)stubs ../po/manual.pot): Remove.
48 ($(objpfx)stamp%): Remove.
49 (make-target-directory): Remove.
50 (subdir_install): Remove.
51 (routines): Remove.
52 (aux): Remove.
53 (sources): Remove.
54 (objects): Remove.
55 (headers): Remove.
56
57 [BZ #13750]
58 * manual/.gitignore: Remove, it's not needed anymore.
59 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
60 all files in it.
61 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
62 directory.
63 (texis): Renamed to $(objpfx)texis.
64 (texis-path): New, contains path to generated files.
65 (chapters.%): Use texis-path for complete path, add extra argument
66 libc-texinfo.sh.
67 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
68 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
69 (summary,texi, stamp-summary): Use complete path of
70 files. Generate files in build dir.
71 (dir-add.texi): Build in build dir.
72 (libm-err.texi,stamp-libm-err): Likewise.
73 (version.texi, stamp-version): Likewise.
74 (.%c.texi): Likewise.
75 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
76 (mostlyclean): Remove target.
77 (realclean): Remove target.
78 (generated): Add new variable with contents from mostlyclean and
79 realclean, remove entries duplicated in common-mostlyclean, add
80 stamp-libm-err and stamp-version.
81 (generated-dirs): Add libc directory.
82 ($(inst_infodir)/libc.info): Install files from build dir.
83
84 * manual/install.texi (Configuring and compiling): Adjust since
85 the info files are not part of the tar ball anymore.
86
87 2012-05-14 Andreas Jaeger <aj@suse.de>
88
89 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
90 variable.
91
92 2012-05-14 Joseph Myers <joseph@codesourcery.com>
93
94 [BZ #13717]
95 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
96 to 2.2.0 where earlier.
97 * sysdeps/unix/sysv/linux/configure: Regenerated.
98 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
99 Remove conditional code.
100 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
101 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
102 Remove conditional code.
103 [!__NR_lchown]: Likewise.
104 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
105 [__NR_lchown]: Likewise.
106 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
107 comment referencing __ASSUME_LCHOWN_SYSCALL.
108 * sysdeps/unix/sysv/linux/i386/sigaction.c
109 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
110 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
111 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
112 Remove conditional code.
113 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
114 (__protocol_available): Remove #if 0 code.
115 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
116 conditional code.
117 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
118 * sysdeps/unix/sysv/linux/kernel-features.h
119 (__ASSUME_GETCWD_SYSCALL): Don't define.
120 (__ASSUME_REALTIME_SIGNALS): Likewise.
121 (__ASSUME_PREAD_SYSCALL): Likewise.
122 (__ASSUME_PWRITE_SYSCALL): Likewise.
123 (__ASSUME_POLL_SYSCALL): Likewise.
124 (__ASSUME_LCHOWN_SYSCALL): Likewise.
125 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
126 non-SPARC.
127 (__ASSUME_SIOCGIFNAME): Don't define.
128 (__ASSUME_MSG_NOSIGNAL): Likewise.
129 (__ASSUME_SENDFILE): Define unconditionally.
130 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
131 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
132 conditional code.
133 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
134 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
135 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
136 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
137 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
138 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
139 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
153 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
159 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
160 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
164 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
165 Remove conditional code.
166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
167 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
168 Remove conditional code.
169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
170 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
171 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
172 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
173 Remove conditional code.
174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
175 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
176 Remove conditional code.
177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
178 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
179 Remove conditional code.
180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
182 Remove conditional code.
183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
184 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
185 Remove conditional code.
186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
187 * sysdeps/unix/sysv/linux/sh/pwrite64.c
188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/sigaction.c
191 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
192 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
193 * sysdeps/unix/sysv/linux/sigpending.c
194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
196 * sysdeps/unix/sysv/linux/sigprocmask.c
197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
199 * sysdeps/unix/sysv/linux/sigsuspend.c
200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
203 (__libc_missing_rt_sigs): Remove.
204 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
205 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
206 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
207 Remove conditional code.
208 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
209 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
210 return 1.
211 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
212 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
213 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
214 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
215
216 2012-05-14 Andreas Jaeger <aj@suse.de>
217
218 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
219 it's not used in glibc.
220 (__coshm1): Likewise.
221 (__acosh1p): Likewise.
222 (__sgn): Likewise.
223
224 * manual/string.texi (Copying and Concatenation): Add missing
225 variable in concat example.
226 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
227
228 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
229
230 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
231 __builtin_clzl with __builtin_clzll.
232
233 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
234
235 [BZ #14104]
236 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
237 libc_freeres_ptr.
238
239 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
240
241 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
242 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
243 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
244 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
245
246 2012-05-14 Mike Frysinger <vapier@gentoo.org>
247
248 * NEWS: Update ia64 info.
249
250 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
251
252 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
253 used as bcopy.
254
255 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
256
257 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
258 * sysdeps/unix/syscalls.list (dup3): Likewise.
259 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
260 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
261
262 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
263
264 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
265 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
266
267 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
268
269 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
270 thread pointer.
271 (TLS_IE): Use mov/add instead of movq/addq to load thread
272 pointer.
273 (TLS_GD_PREFIX): New.
274 (TLS_GD): Use it.
275
276 2012-05-11 David S. Miller <davem@davemloft.net>
277
278 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
279 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
280 (_FPU_SETCW): Likewise.
281
282 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
283
284 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
285 is 32-byte aligned.
286
287 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
288
289 [BZ #11837]
290 * iconvdata/gb18030.c: Update tables.
291 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
292 characters specially.
293 (BODY for TO_LOOP): Add encoding of missing ranges.
294
295 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
296
297 [BZ #13673]
298 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
299 * sysdeps/mach/hurd/dup3.c: Likewise.
300 * sysdeps/mach/hurd/readlinkat.c: Likewise.
301 * sysdeps/powerpc/memmove.c:: Likewise.
302
303 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
304
305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
306 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
307
308 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
309
310 * elf/elf.h (R_X86_64_RELATIVE64): New.
311 (R_X86_64_NUM): Updated.
312 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
313 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
314 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
315 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
316 tst-quad1pie tst-quad2pie
317 (modules-names): Add tst-quadmod1 tst-quadmod2.
318 ($(objpfx)tst-quad1): New dependency.
319 ($(objpfx)tst-quad2): Likewise.
320 ($(objpfx)tst-quad1pie): Likewise.
321 ($(objpfx)tst-quad2pie): Likewise.
322 * sysdeps/x86_64/tst-quad1.c: New file.
323 * sysdeps/x86_64/tst-quad1pie.c: New file.
324 * sysdeps/x86_64/tst-quad2.c: Likewise.
325 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
326 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
327 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
328 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
329 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
330
331 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
332
333 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
334 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
335 * streams/stropts.h (t_scalar_t): Define type.
336
337 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
338 (_PATH_PRESERVE): Set to "/var/lib".
339 (_PATH_RWHODIR): Set to "/var/spool/rwho".
340
341 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
342 instead of int.
343
344 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
345 if __dir_mkfile succeeded.
346
347 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
348 checking for _hurd_dtablesize. Unlock it right after having
349 finished _hurd_dtable allocation.
350
351 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
352
353 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
354 * sysdeps/mach/hurd/configure: Regenerated.
355 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
356 special-casing to...
357 * sysdeps/gnu/configure.in: ... this new file.
358 * sysdeps/unix/sysv/linux/configure: Regenerated.
359 * sysdeps/gnu/configure: New generated file.
360
361 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
362 for Linux: use nsec instead of usec, as well as:
363 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
364 members of type struct timespec.
365 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
366 New macros.
367 (struct stat64): Likewise.
368 (_STATBUF_ST_NSEC): New macro.
369 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
370
371 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
372 __strtoul_internal rather than strtoul.
373
374 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
375
376 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
377 and reject them.
378
379 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
380
381 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
382 which preserves existing values.
383 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
384
385 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
386
387 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
388 TIMEOUT values. Return EINVAL for NFDS values either negative or
389 greater than FD_SETSIZE.
390
391 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
392
393 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
394 allocated, call __vm_protect to finish enabling the existing space, and
395 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
396 allocate the remainder.
397
398 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
399
400 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
401 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
402
403 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
404
405 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
406 sysdeps/mach/hurd/readlink.c.
407
408 * posix/tst-sysconf.c (posix_options): Only use
409 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
410 _POSIX_SYNCHRONIZED_IO when they are defined
411 * sysdeps/mach/hurd/bits/posix_opt.h:
412 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
413 (_XOPEN_REALTIME): Undefine macro.
414 (_XOPEN_REALTIME_THREADS): Undefine macro.
415 (_XOPEN_SHM): Undefine macro.
416 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
417 macro to -1.
418 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
419 macro to -1.
420 (_POSIX_ASYNC_IO): Undefine macro.
421 (_POSIX_PRIORITIZED_IO): Undefine macro.
422 (_POSIX_SPIN_LOCKS): Define macro to -1.
423
424 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
425 SA_NODEFER, SA_RESETHAND.
426 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
427 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
428 F_DUPFD_CLOEXEC.
429
430 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
431
432 * elf/Makefile (pldd-modules): Define unconditionally.
433
434 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
435
436 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
437
438 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
439
440 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
441 Return ENOENT when name is empty.
442 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
443
444 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
445
446 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
447
448 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
449
450 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
451
452 Fix mlock in all cases except non-readable pages.
453 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
454 instead of VM_PROT_ALL as parameter to __vm_wire function.
455
456 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
457 (__mkdir): When path is `/', just fail with EEXIST.
458 * sysdeps/mach/hurd/mkdirat.c: Likewise.
459
460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
461
462 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
463 <sys/uio.h> (for writev).
464 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
465 and <sys/param.h> (for MIN).
466
467 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
468
469 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
470 REQUESTED_TIME. Properly set the remaining time and return EINTR
471 if interrupted.
472
473 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
474
475 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
476 Depend on against $(link-rpcuserlibs).
477
478 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
479
480 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
481 (__libc_stack_end): Do not use attribute_relro.
482 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
483 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
484 to libthread-provided value.
485 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
486 attribute_relro.
487
488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
489
490 [BZ #3748]
491 * bits/libc-lock.h (__libc_once_get): New macro.
492 * sysdeps/mach/bits/libc-lock.h: Likewise.
493 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
494 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
495 instead of using implementation details.
496
497 * libio/fileops.c: Unconditionally include <kernel-features.h>.
498 * libio/freopen.c: Likewise.
499 * libio/freopen64.c: Likewise.
500 * misc/syslog.c: Likewise.
501 * nscd/connections.c: Likewise.
502 * nscd/netgroupcache.c: Likewise.
503 * sysdeps/posix/getcwd.c: Likewise.
504
505 2012-05-10 Roland McGrath <roland@hack.frob.com>
506
507 * math/w_ilogbf.c: Add #include <limits.h>.
508
509 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
510
511 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
512 path instead of returning without unlocking.
513
514 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
515 immediate-write ioctls.
516 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
517
518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
519
520 * sysdeps/mach/hurd/i386/init-first.c (init): Use
521 __builtin_frame_address instead of making assumptions about the
522 location of the return address relative to DATA. Force early load of
523 the return address.
524 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
525 __builtin_frame_address.
526
527 dup3 for GNU Hurd.
528 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
529 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
530 implement dup3 and do some further code clean-ups.
531 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
532 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
533
534 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
535
536 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
537
538 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
539 HURD_CRITICAL_END around holding _hurd_dtable_lock.
540 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
541 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
542 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
543 d->port.lock.
544
545 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
546 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
547 when handler == SIG_ERR, not when handler != SIG_ERR.
548
549 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
550
551 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
552 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
553 definitions.
554
555 accept4 for GNU Hurd.
556 * include/sys/socket.h (__libc_accept4): New prototype.
557 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
558 to implement __libc_accept4.
559 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
560 __libc_accept4.
561 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
562
563 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
564 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
565 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
566 signal-defines.sym.
567
568 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
569
570 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
571
572 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
573
574 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
575 assertion on O_CLOEXEC flag.
576 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
577 * hurd/intern-fd.c: Likewise.
578 * hurd/port2fd.c: Likewise.
579
580 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
581
582 [BZ #3906]
583 * bits/in.h (IPV6_PKTINFO): Define new macro.
584 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
585
586 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
587
588 [BZ #13954]
589 [BZ #13955]
590 [BZ #13956]
591 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
592 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
593 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
594 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
595 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
596 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
597 * math/libm-test.inc (logb_test) : Additional logb tests.
598
599 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
600 Andreas Jaeger <aj@suse.de>
601
602 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
603 * configure: Regenerated.
604 * config.h.in (LINK_OBSOLETE_RPC): New macro.
605 * config.make.in (link-obsolete-rpc): New substituted variable.
606 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
607 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
608 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
609 (shared-only-routines): Don't set it under [link-obsolete-rpc],
610 so that libc.a contains the symbols.
611 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
612 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
613 * sunrpc/auth_none.c: Likewise.
614 * sunrpc/auth_unix.c: Likewise.
615 * sunrpc/authdes_prot.c: Likewise.
616 * sunrpc/authuxprot.c: Likewise.
617 * sunrpc/clnt_gen.c: Likewise.
618 * sunrpc/clnt_perr.c: Likewise.
619 * sunrpc/clnt_raw.c: Likewise.
620 * sunrpc/clnt_simp.c: Likewise.
621 * sunrpc/clnt_tcp.c: Likewise.
622 * sunrpc/clnt_udp.c: Likewise.
623 * sunrpc/clnt_unix.c: Likewise.
624 * sunrpc/des_crypt.c: Likewise.
625 * sunrpc/des_soft.c: Likewise.
626 * sunrpc/get_myaddr.c: Likewise.
627 * sunrpc/key_call.c: Likewise.
628 * sunrpc/key_prot.c: Likewise.
629 * sunrpc/netname.c: Likewise.
630 * sunrpc/pm_getmaps.c: Likewise.
631 * sunrpc/pm_getport.c: Likewise.
632 * sunrpc/pmap_clnt.c: Likewise.
633 * sunrpc/pmap_prot.c: Likewise.
634 * sunrpc/pmap_prot2.c: Likewise.
635 * sunrpc/pmap_rmt.c: Likewise.
636 * sunrpc/publickey.c: Likewise.
637 * sunrpc/rpc_cmsg.c: Likewise.
638 * sunrpc/rpc_common.c: Likewise.
639 * sunrpc/rpc_dtable.c: Likewise.
640 * sunrpc/rpc_prot.c: Likewise.
641 * sunrpc/rpc_thread.c: Likewise.
642 * sunrpc/rtime.c: Likewise.
643 * sunrpc/svc.c: Likewise.
644 * sunrpc/svc_auth.c: Likewise.
645 * sunrpc/svc_raw.c: Likewise.
646 * sunrpc/svc_run.c: Likewise.
647 * sunrpc/svc_tcp.c: Likewise.
648 * sunrpc/svc_udp.c: Likewise.
649 * sunrpc/svc_unix.c: Likewise.
650 * sunrpc/svcauth_des.c: Likewise.
651 * sunrpc/xcrypt.c: Likewise.
652 * sunrpc/xdr.c: Likewise.
653 * sunrpc/xdr_array.c: Likewise.
654 * sunrpc/xdr_float.c: Likewise.
655 * sunrpc/xdr_intXX_t.c: Likewise.
656 * sunrpc/xdr_mem.c: Likewise.
657 * sunrpc/xdr_rec.c: Likewise.
658 * sunrpc/xdr_ref.c: Likewise.
659 * sunrpc/xdr_sizeof.c: Likewise.
660 * sunrpc/xdr_stdio.c: Likewise.
661
662 2012-05-10 Roland McGrath <roland@hack.frob.com>
663
664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
665 change. Update copyright years.
666
667 2012-05-10 Joseph Myers <joseph@codesourcery.com>
668
669 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
670
671 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
672 Joseph Myers <joseph@codesourcery.com>
673 Paul Pluzhnikov <ppluzhnikov@google.com>
674
675 [BZ #14012]
676 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
677 requiring rpcgen.
678 [cross-compiling] (extra-libs): Likewise.
679 [cross-compiling] (extra-libs-others): Likewise.
680 [cross-compiling] (librpcsvc-routines): Likewise.
681 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
682 [cross-compiling] (omit-deps): Likewise.
683 (sunrpc-CPPFLAGS): New variable.
684 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
685 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
686 (cross-rpcgen-objs): New variable.
687 (extra-objs): Append $(cross-rpcgen-objs).
688 ($(cross-rpcgen-objs)): New rule.
689 ($(objpfx)cross-rpcgen): Likewise.
690 (rpcgen-cmd): Define to use $(built-program-file). Expand
691 comment.
692 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
693 ($(objpfx)x%.stmp): Likewise.
694 * sunrpc/proto.h [IS_IN_build] (_): Define.
695 [IS_IN_build] (_libc_intl_domainname): Likewise.
696
697 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
698
699 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
700 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
701 and R_X86_64_TPOFF64.
702
703 2012-05-10 Joseph Myers <joseph@codesourcery.com>
704
705 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
706 sysdeps/unix/sysv/syscalls.list.
707 (stime): Likewise.
708 (utime): Likewise.
709 * sysdeps/unix/sysv/syscalls.list: Remove file.
710
711 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
712
713 [BZ #3440]
714 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
715 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
716 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
717 (__LC_IDENTIFICATION): Make these macros useful in #if
718 expressions, as required by C99.
719
720 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
721
722 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
723 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
724 after this.
725
726 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
727
728 * stdlib/longlong.h: Updated from GCC.
729
730 2012-05-09 Andreas Jaeger <aj@suse.de>
731
732 * nscd/nscd.c (run_modes): Make named enum, reorder so that
733 default is first entry.
734 (run_mode): Set type.
735 (main): Remove informal message about syslog.
736 (options): Fix typo.
737
738 [BZ #14053]
739 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
740 to asm.
741 (lrint): Likewise.
742 (llrintf): Likewise.
743 (llrint): Likewise.
744 (rint): Likewise.
745 (rintf): Likewise.
746 (nearbyint): Likewise.
747 (nearbyintf): Likewise.
748
749 2012-05-09 Andreas Jaeger <aj@suse.de>
750 Pedro Alves <palves@redhat.com>
751
752 * nscd/nscd.c (run_mode): Use enum.
753 (main): Cleanup coding style issue.
754
755 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
756 Andreas Jaeger <aj@suse.de>
757
758 * nscd/nscd.c (go_background): Replaced with...
759 (run_mode): ... this.
760 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
761 (options): Add -F --foreground.
762 (main): Implement it.
763 (parse_opt): Parse it.
764
765 2012-05-09 Andreas Jaeger <aj@suse.de>
766
767 [BZ #14083]
768 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
769 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
770 -Wconversion warning.
771 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
772 Likewise.
773
774 2012-05-09 Joseph Myers <joseph@codesourcery.com>
775
776 * conform/data/locale.h-data (NULL): Use macro-constant. Require
777 == 0.
778 (LC_ALL): Use macro-int-constant.
779 (LC_COLLATE): Likewise.
780 (LC_CTYPE): Likewise.
781 (LC_MESSAGES): Likewise.
782 (LC_MONETARY): Likewise.
783 (LC_NUMERIC): Likewise.
784 (LC_TIME): Likewise.
785 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
786 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
787 [ISO || ISO99 || ISO11] (*_t): Do not allow.
788 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
789 Specify type.
790 [C99-based standards] (float_t): Expect type.
791 [C99-based standards] (double_t): Expect type.
792 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
793 type.
794 [C99-based standards] (HUGE_VALL): Likewise.
795 [C99-based standards] (INFINITY): Likewise.
796 [C99-based standards] (NAN): Likewise.
797 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
798 [C99-based standards] (FP_NAN): Likewise.
799 [C99-based standards] (FP_NORMAL): Likewise.
800 [C99-based standards] (FP_SUBNORMAL): Likewise.
801 [C99-based standards] (FP_ZERO): Likewise.
802 [C99-based standards] (FP_FAST_FMA): Use
803 optional-macro-int-constant. Specify type. Require == 1.
804 [C99-based standards] (FP_FAST_FMAF): Likewise.
805 [C99-based standards] (FP_FAST_FMAL): Likewise.
806 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
807 [C99-based standards] (FP_ILOGBNAN): Likewise.
808 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
809 Specify type.
810 [C99-based standards] (MATH_ERREXCEPT): Likewise.
811 [C99-based standards] (math_errhandling): Specify type.
812 [ISO99 || ISO11] (signgam): Do not allow.
813 [non-C99-based standards] (copysignf): Do not allow.
814 [non-C99-based standards] (exp2f): Likewise.
815 [non-C99-based standards] (log2f): Likewise.
816 [non-C99-based standards] (modff): Allow.
817 [non-C99-based standards] (erff): Do not allow.
818 [non-C99-based standards] (erfcf): Likewise.
819 [non-C99-based standards] (gammaf): Likewise.
820 [non-C99-based standards] (hypotf): Likewise.
821 [non-C99-based standards] (j0f): Likewise.
822 [non-C99-based standards] (j1f): Likewise.
823 [non-C99-based standards] (jnf): Likewise.
824 [non-C99-based standards] (lgammaf): Likewise.
825 [non-C99-based standards] (tgammaf): Likewise.
826 [non-C99-based standards] (y0f): Likewise.
827 [non-C99-based standards] (y1f): Likewise.
828 [non-C99-based standards] (ynf): Likewise.
829 [non-C99-based standards] (isnanf): Likewise.
830 [non-C99-based standards] (acoshf): Likewise.
831 [non-C99-based standards] (asinhf): Likewise.
832 [non-C99-based standards] (atanhf): Likewise.
833 [non-C99-based standards] (cbrtf): Likewise.
834 [non-C99-based standards] (expm1f): Likewise.
835 [non-C99-based standards] (ilogbf): Likewise.
836 [non-C99-based standards] (log1pf): Likewise.
837 [non-C99-based standards] (logbf): Likewise.
838 [non-C99-based standards] (nextafterf): Likewise.
839 [non-C99-based standards] (remainderf): Likewise.
840 [non-C99-based standards] (rintf): Likewise.
841 [non-C99-based standards] (scalbf): Likewise.
842 [non-C99-based standards] (copysignl): Likewise.
843 [non-C99-based standards] (exp2l): Likewise.
844 [non-C99-based standards] (log2l): Likewise.
845 [non-C99-based standards] (modfl): Allow.
846 [non-C99-based standards] (erfl): Do not allow.
847 [non-C99-based standards] (erfcl): Likewise.
848 [non-C99-based standards] (gammal): Likewise.
849 [non-C99-based standards] (hypotl): Likewise.
850 [non-C99-based standards] (j0l): Likewise.
851 [non-C99-based standards] (j1l): Likewise.
852 [non-C99-based standards] (jnl): Likewise.
853 [non-C99-based standards] (lgammal): Likewise.
854 [non-C99-based standards] (tgammal): Likewise.
855 [non-C99-based standards] (y0l): Likewise.
856 [non-C99-based standards] (y1l): Likewise.
857 [non-C99-based standards] (ynl): Likewise.
858 [non-C99-based standards] (isnanl): Likewise.
859 [non-C99-based standards] (acoshl): Likewise.
860 [non-C99-based standards] (asinhl): Likewise.
861 [non-C99-based standards] (atanhl): Likewise.
862 [non-C99-based standards] (cbrtl): Likewise.
863 [non-C99-based standards] (expm1l): Likewise.
864 [non-C99-based standards] (ilogbl): Likewise.
865 [non-C99-based standards] (log1pl): Likewise.
866 [non-C99-based standards] (logbl): Likewise.
867 [non-C99-based standards] (nextafterl): Likewise.
868 [non-C99-based standards] (remainderl): Likewise.
869 [non-C99-based standards] (rintl): Likewise.
870 [non-C99-based standards] (scalbl): Likewise.
871 [ISO || ISO99 || ISO11] (*_t): Do not allow.
872 [non-C99-based standards] (FP_*): Do not allow.
873 [C99-based standards] (FP_*): Change to
874 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
875 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
876 allow.
877 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
878 (SIG_ERR): Likewise.
879 [X/Open-based standards] (SIG_HOLD): Likewise.
880 (SIG_IGN): Likewise.
881 (SIGABRT): Use macro-int-constant. Specify type. Require
882 positive value.
883 (SIGFPE): Likewise.
884 (SIGILL): Likewise.
885 (SIGINT): Likewise.
886 (SIGSEGV): Likewise.
887 (SIGTER): Likewise.
888 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
889 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
890 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
891 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
892 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
893 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
894 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
895 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
896 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
897 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
898 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
899 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
900 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
901 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
902 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
903 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
904 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
905 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
906 [X/Open-based standards] (SIGTRAP): Likewise.
907 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
908 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
909 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
910 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
911 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
912 allow.
913
914 2012-05-08 Ian Wienand <ianw@vmware.com>
915
916 [BZ #14080]
917 * time/tzset.c (__tzset_parse_tz): Update default rules for
918 daylight time changes in the Energy Policy Act of 2005.
919
920 2012-05-09 Andreas Jaeger <aj@suse.de>
921
922 [BZ #13983]
923 * elf/ldconfig.c (parse_conf): Change string to make clear that
924 ldconfig only issued a warning if ld.so.conf does not exist.
925
926 2012-05-08 David S. Miller <davem@davemloft.net>
927
928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
929 movxtod instead of popping the value on the stack.
930
931 * sysdeps/sparc/fpu/libm-test-ulps: Update.
932
933 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
934
935 * config.h.in: Add HAVE_ARM_PCS_VFP.
936
937 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
938
939 [BZ #13979]
940 * include/features.h: Warn if user requests __FORTIFY_SOURCE
941 checking but the checks are disabled for any reason.
942
943 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
944
945 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
946 and ELF64_R_TYPE with ELFW(R_TYPE).
947
948 2012-05-08 Joseph Myers <joseph@codesourcery.com>
949
950 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
951 (ulimit): Likewise.
952
953 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
954 (settimeofday): Likewise.
955
956 2012-05-08 Mike Frysinger <vapier@gentoo.org>
957
958 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
959 a struct th_u2 inside the union, and move tu_block/tu_code into
960 a new th_u3 union of tu_block/tu_code inside of that. Move
961 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
962 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
963 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
964 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
965 (th_stuff): Change to th_u1.tu_stuff.
966 (th_data): Define.
967 (th_msg): Change to th_u1.th_u2.tu_data.
968
969 2012-05-07 David S. Miller <davem@davemloft.net>
970
971 * sysdeps/sparc/fpu/libm-test-ulps: Update.
972
973 [BZ #14074]
974 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
975 (SETUP_PIC_REG): Use it.
976 (SETUP_PIC_REG_LEAF): Use it.
977
978 2012-05-07 Joseph Myers <joseph@codesourcery.com>
979
980 [BZ #13885]
981 [BZ #13923]
982 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
983 USE_AS_EXPM1L.
984 (EXPL_FINITE): Likewise.
985 (FLDLOG): Likewise.
986 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
987 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
988 e_expl.S.
989 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
990 USE_AS_EXPM1L.
991 (EXPL_FINITE): Likewise.
992 (FLDLOG): Likewise.
993 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
994 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
995 e_expl.S.
996 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
997 test of -max_value argument for long double.
998 * sysdeps/i386/fpu/libm-test-ulps: Update.
999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1000
1001 2012-05-06 David S. Miller <davem@davemloft.net>
1002
1003 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1004 quad soft-float symbols whose references which are compiler
1005 generated.
1006 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1007
1008 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1009
1010 [BZ #13884]
1011 [BZ #13914]
1012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1013 USE_AS_EXP10L.
1014 (EXPL_FINITE): Likewise.
1015 (FLDLOG): Likewise.
1016 (c0): Likewise.
1017 (c1): Likewise.
1018 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1019 Adjust comments for base varying.
1020 (__expl_finite): Change alias to EXPL_FINITE.
1021 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1022 e_expl.S.
1023 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1024 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1025 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1026 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1027 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1028 USE_AS_EXP10L.
1029 (EXPL_FINITE): Likewise.
1030 (FLDLOG): Likewise.
1031 (c0): Likewise.
1032 (c1): Likewise.
1033 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1034 Adjust comments for base varying.
1035 (__expl_finite): Change alias to EXPL_FINITE.
1036 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1037 tests for bugs.
1038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1039
1040 [BZ #14064]
1041 * math/libm-test.inc (check_float_internal): Correct ulp
1042 calculation for subnormal expected results.
1043
1044 2012-05-06 Andreas Jaeger <aj@suse.de>
1045
1046 * Makeconfig (+math-flags): New, set to -frounding-math.
1047 (+cflags): Add +math-flags so that all of glibc gets compiled with
1048 it.
1049
1050 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1051
1052 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1053
1054 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1055 Disable one test.
1056
1057 [BZ #13787]
1058 [BZ #13922]
1059 [BZ #14036]
1060 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1061 (__ieee754_expl): Allow for and saturate large arguments.
1062 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1063 (u_threshold): Likewise.
1064 (__exp): Call __ieee754_exp before checking for overflow and
1065 underflow.
1066 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1067 (u_threshold): Likewise.
1068 (__expf): Call __ieee754_expf before checking for overflow and
1069 underflow.
1070 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1071 (u_threshold): Likewise.
1072 (__expl): Call __ieee754_expl before checking for overflow and
1073 underflow.
1074 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1075 (__ieee754_expl): Allow for and saturate large arguments.
1076 * math/libm-test.inc (exp_test): Add another test. Do not allow
1077 missing overflow exception on overflow.
1078 (expm1_test): Do not allow missing overflow exception on overflow.
1079
1080 * sysdeps/i386/fpu/e_expl.c: Move to ...
1081 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1082 rather than using inline asm.
1083 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1084 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1085 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1086
1087 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1088 (nice): Likewise.
1089 (poll): Likewise.
1090 (signal): Likewise.
1091 (time): Likewise.
1092 (times): Likewise.
1093
1094 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1095
1096 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1097 sysdeps/unix/common/syscalls.list.
1098 (fchmod): Likewise.
1099 (fchown): Likewise.
1100 (ftruncate): Likewise.
1101 (getrusage): Likewise.
1102 (gettimeofday): Likewise.
1103 (setpgid): Likewise.
1104 (setregid): Likewise.
1105 (setreuid): Likewise.
1106 (sigaction): Likewise.
1107 (truncate): Likewise.
1108 (vhangup): Likewise.
1109 * sysdeps/unix/common/syscalls.list: Remove file.
1110 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1111 * sysdeps/unix/sysv/linux/Implies: Likewise.
1112
1113 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1114
1115 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1117 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1118 Moved to ...
1119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1120 Here.
1121 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1122 to ...
1123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1124 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1125 to ...
1126 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1127 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1128 to ...
1129 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1130 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1131 to ...
1132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1133 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1134 to ...
1135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1136 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1137 to ...
1138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1139 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1140 to ...
1141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1142 Here.
1143 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1144 to ...
1145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1146 Here.
1147 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1148 to ...
1149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1150 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1151 Moved to ...
1152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1153 Here.
1154 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1155 to ...
1156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1157
1158 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1159
1160 * sysdeps/unix/common/bits/dirent.h: Remove file.
1161 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1162
1163 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1164 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1165 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1166 * sysdeps/unix/bsd/isatty.c: Likewise.
1167 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1168 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1169 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1170
1171 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 [BZ #13563]
1174 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1175 long double comparison inaccuracies.
1176 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1178
1179 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1180
1181 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1182 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1183
1184 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1185
1186 [BZ #14049]
1187 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1188 nonzero digits before rounding a hex value.
1189 * stdlib/tst-strtod.c (tests): Add another test.
1190
1191 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1192
1193 * sysdeps/s390/fpu/libm-test-ulps: Update.
1194
1195 2012-05-03 Andreas Jaeger <aj@suse.de>
1196
1197 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1198 does not get optimized out.
1199 (malloc_opt_barrier): New.
1200
1201 2012-05-03 Andreas Jaeger <aj@suse.de>
1202 Roland McGrath <roland@hack.frob.com>
1203
1204 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1205 intermediate file deletion.
1206 (generated): Add .symlist files.
1207
1208 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #13775]
1211 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1212 Redirect under this condition.
1213 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1214 [__USE_GNU] (__dprintf_chk): Not under this condition.
1215 [__USE_GNU] (__vdprintf_chk): Likewise.
1216 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1217 under this condition.
1218 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1219 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1220 [__USE_XOPEN2K8] (vdprintf): Likewise.
1221 [__USE_GNU] (__dprintf_chk): Not under this condition.
1222 [__USE_GNU] (__vdprintf_chk): Likewise.
1223 [__USE_GNU] (dprintf): Likewise.
1224 [__USE_GNU] (vdprintf): Likewise.
1225
1226 2012-05-03 Roland McGrath <roland@hack.frob.com>
1227
1228 * elf/Makefile (common-generated): Set this instead of generated for
1229 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1230 $(all-built-dso)-derived lists.
1231
1232 2012-05-03 Andreas Jaeger <aj@suse.de>
1233
1234 * sysdeps/i386/fpu/libm-test-ulps: Update.
1235
1236 * FAQ: Removed.
1237 * FAQ.in: Likewise.
1238 * scripts/gen-FAQ.pl: Likewise.
1239 * manual/install.texi (Installation): Point to online location of
1240 FAQ.
1241 * Makefile (files-for-dist): Remove FAQ.
1242 (FAQ): Remove.
1243
1244 2012-05-02 Allan McRae <allan@archlinux.org>
1245
1246 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1247 (LDFLAGS-reldepmod5.so): Likewise.
1248 (LDFLAGS-reldep6mod1.so): Likewise.
1249 (LDFLAGS-reldep6mod4.so): Likewise.
1250 (LDFLAGS-reldep8mod3.so): Likewise.
1251 (LDFLAGS-unload4mod1.so): Likewise.
1252 (LDFLAGS-unload4mod2.so): Likewise.
1253 (LDFLAGS-tst-initorder): Likewise.
1254 (LDFLAGS-tst-initordera2.so): Likewise.
1255 (LDFLAGS-tst-initordera3.so): Likewise.
1256 (LDFLAGS-tst-initordera4.so): Likewise.
1257 (LDFLAGS-tst-initorderb2.so): Likewise.
1258 (LDFLAGS-noload): Likewise.
1259 (LDFLAGS-next): Likewise.
1260 (LDFLAGS-order2mod1.so): Likewise.
1261 (LDFLAGS-order2mod2.so): Likewise.
1262 (LDFLAGS-tst-initorder2): Likewise.
1263 (LDFLAGS-tst-initorder2a.so): Likewise.
1264 (LDFLAGS-tst-initorder2b.so): Likewise.
1265 (LDFLAGS-tst-initorder2c.so): Likewise.
1266 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1267
1268 2012-05-02 David S. Miller <davem@davemloft.net>
1269
1270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1271
1272 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1273
1274 [BZ #14055]
1275 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1276
1277 2012-05-02 Andreas Jaeger <aj@suse.de>
1278
1279 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1280 since we manipulate rounding mode.
1281 (CPPFLAGS-test-idouble.c): Likewise.
1282 (CPPFLAGS-test-ifloat.c): Likewise.
1283 (CFLAGS-test-ldouble.c): Likewise.
1284 (CFLAGS-test-double.c): Likewise.
1285 (CFLAGS-test-float.c): Likewise.
1286 (CFLAGS-test-misc.c): Likewise.
1287 (CFLAGS-test-test-fenv.c): Likewise.
1288
1289 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1290
1291 [BZ #2550]
1292 [BZ #2570]
1293 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1294 comparisons to determine direction to adjust input.
1295
1296 2012-05-01 Roland McGrath <roland@hack.frob.com>
1297
1298 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1299 output to the target.
1300
1301 * scripts/localplt.awk: New file.
1302 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1303 (check-localplt-CFLAGS): Variable removed.
1304 ($(all-built-dso:=.jmprel)): New static pattern rule.
1305 (generated): Add those targets.
1306 (localplt-built-dso): New variable.
1307 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1308
1309 * elf/check-localplt.c: File removed.
1310
1311 * scripts/check-execstack.awk: New file.
1312 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1313 (check-execstack-CFLAGS): Variable removed.
1314 ($(objpfx)check-execstack.h): Target removed.
1315 ($(objpfx)execstack-default): New target.
1316 (generated): Add that instead of check-execstack.h.
1317 ($(all-built-dso:=.phdr)): New static pattern rule.
1318 (generated): Add those targets.
1319 * elf/check-execstack.c: File removed.
1320
1321 * scripts/check-textrel.awk: New file.
1322 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1323 (check-textrel-CFLAGS): Variable removed.
1324 (all-built-dso): Use := to define.o
1325 ($(all-built-dso:=.dyn)): New static pattern rule.
1326 (generated): Add those targets.
1327 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1328 * config.make.in (READELF): New substituted variable.
1329 * elf/check-textrel.c: File removed.
1330
1331 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1332
1333 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1334 allow.
1335 * conform/data/ctype.h-data [C99-based standards] (isblank):
1336 Expect function.
1337 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1338 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1339 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1340 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1341 Specify type. Require positive value.
1342 (EILSEQ): Likewise.
1343 (ERANGE): Likewise.
1344 [ISO || POSIX] (EILSEQ): Do not expect.
1345 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1346 Specify type. Require positive value.
1347 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1348 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1349 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1350 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1351 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1352 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1421 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1422 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1423 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1424 Require >= 2.
1425 (FLT_ROUNDS): Expect as macro, not constant.
1426 (FLT_MANT_DIG): Use macro-int-constant.
1427 (DBL_MANT_DIG): Likewise.
1428 (LDBL_MANT_DIG): Likewise.
1429 (FLT_DIG): Likewise.
1430 (DBL_DIG): Likewise.
1431 (LDBL_DIG): Likewise.
1432 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1433 (DBL_MIN_EXP): Likewise.
1434 (LDBL_MIN_EXP): Likewise.
1435 (FLT_MAX_EXP): Use macro-int-constant.
1436 (DBL_MAX_EXP): Likewise.
1437 (LDBL_MAX_EXP): Likewise.
1438 (FLT_MAX_10_EXP): Likewise.
1439 (DBL_MAX_10_EXP): Likewise.
1440 (LDBL_MAX_10_EXP): Likewise.
1441 (FLT_MAX): Use macro-constant.
1442 (DBL_MAX): Likewise.
1443 (LDBL_MAX): Likewise.
1444 (FLT_EPSILON): Use macro-constant. Give upper bound.
1445 (DBL_EPSILON): Likewise.
1446 (LDBL_EPSILON): Likewise.
1447 (FLT_MIN): Likewise.
1448 (DBL_MIN): Likewise.
1449 (LDBL_MIN): Likewise.
1450 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1451 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1452 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1453 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1454 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1455 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1456 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1457 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1458 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1459 [ISO11] (FLT_TRUE_MIN): Likewise.
1460 [ISO11] (LDBL_TRUE_MIN): Likewise.
1461 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1462 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1463 (SCHAR_MIN): Use macro-int-constant. Specify type.
1464 (SCHAR_MAX): Likewise.
1465 (UCHAR_MAX): Likewise.
1466 (CHAR_MIN): Likewise.
1467 (CHAR_MAX): Likewise.
1468 (MB_LEN_MAX): Use macro-int-constant.
1469 (SHRT_MIN): Use macro-int-constant. Specify type.
1470 (SHRT_MAX): Likewise.
1471 (USHRT_MAX): Likewise.
1472 (INT_MAX): Likewise.
1473 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1474 bound negative.
1475 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1476 bound with "U".
1477 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1478 bound with "L".
1479 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1480 bound negative. Suffix upper bound with "L".
1481 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1482 bound with "UL".
1483 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1484 Specify type.
1485 [C99-based standards] (LLONG_MAX): Likewise.
1486 [C99-based standards] (ULLONG_MAX): Likewise.
1487 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1488 == 0.
1489 [ISO11] (max_align_t): Require type.
1490 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1491
1492 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1493 from $CFLAGS, without defining away __attribute__ calls.
1494 (checknamespace): Use $CFLAGS_namespace.
1495
1496 * conform/conformtest.pl (@keywords): Only include C99 keywords
1497 for standards based on C99 or C11.
1498
1499 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1500 Disable tests.
1501 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1502 UNIX98]: Likewise.
1503
1504 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1505 usability of symbols in #if.
1506
1507 * conform/conformtest.pl: If macro or constant types start
1508 "promoted:", expect the symbol to be of the following type
1509 promoted by the integer promotions.
1510
1511 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1512 in one place. Also handle "macro-constant".
1513
1514 * conform/conformtest.pl: Only accept expected macro values with
1515 "==". Parse all "macro" lines in one place.
1516 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1517
1518 * conform/conformtest.pl: Handle braced types on "constant" lines
1519 instead of handling "typed-constant".
1520 * conform/data/signal.h-data: Use "constant" instead of
1521 "typed-constant".
1522
1523 * conform/conformtest.pl: Handle "optional-" at start of lines in
1524 one place rather than duplicating several cases. Handle each
1525 format of "macro" line with initial "optional-".
1526
1527 * conform/conformtest.pl: Only accept expected constant or
1528 optional-constant values with "==". Parse all "constant" lines in
1529 one place. Parse all "optional-constant" lines in one place.
1530 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1531 * conform/data/fmtmsg.h-data: Likewise.
1532 * conform/data/netinet/in.h-data: Likewise.
1533 * conform/data/tar.h-data: Likewise.
1534 * conform/data/limits.h-data: Use "==" form on "constant" and
1535 "optional-constant" lines.
1536
1537 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1538 Use -std=c99 for XOPEN2K.
1539 (@knownproblems): Remove.
1540 (newtoken): Don't check %isknown.
1541
1542 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1543 Do not expect macro.
1544 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1545 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1546 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1547 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1548 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1549 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1550 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1551 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1552 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1553 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1554 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1555 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1556 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1557 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1561 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1562 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1567 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1568 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1574 [XPG3] (acosh): Likewise.
1575 [XPG3] (asinh): Likewise.
1576 [XPG3] (atanh): Likewise.
1577 [XPG3] (cbrt): Likewise.
1578 [XPG3] (expm1): Likewise.
1579 [XPG3] (ilogb): Likewise.
1580 [XPG3] (log1p): Likewise.
1581 [XPG3] (logb): Likewise.
1582 [XPG3] (nextafter): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1585 [XPG3] (remainder): Likewise.
1586 [XPG3] (rint): Likewise.
1587 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1588 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1589 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1590 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1591 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1594 [UNIX98 || XOPEN2K] (scalb): Expect.
1595 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1596 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1732
1733 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1734 _XOPEN_SOURCE_EXTENDED for XPG4.
1735
1736 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1737
1738 * Makeconfig (localtime): Remove variable.
1739 (inst_localtime-file): Likewise.
1740
1741 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1742
1743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1744 Update.
1745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1746 Update.
1747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1748 Update.
1749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1750 Update.
1751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1752 Update.
1753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1754 Update.
1755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1756 Update.
1757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1758 Update.
1759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1760 Update.
1761
1762 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1763
1764 [BZ #2550]
1765 [BZ #2570]
1766 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1767 comparisons to determine direction to adjust input.
1768 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1769 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1770 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1771 Likewise.
1772 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1773 Likewise.
1774 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1775 Likewise.
1776 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1777 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1778 Likewise.
1779 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1780 Likewise.
1781 * math/libm-test.inc (nexttoward_test): Add more tests.
1782
1783 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1784
1785 [BZ #14040]
1786 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1787 in version GLIBC_2.1, not GLIBC_2.0.
1788 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1789 Likewise.
1790
1791 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1792
1793 [BZ #13942]
1794 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1795 (1 - x) * (1 + x).
1796 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1797 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1798 * math/libm-test.inc (acos_test): Add more tests.
1799 (asin_test): Likewise.
1800 * sysdeps/i386/fpu/libm-test-ulps: Update.
1801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1802
1803 [BZ #14034]
1804 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1805 of square root.
1806 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1808 * math/libm-test.inc (acos_test_tonearest): New function.
1809 (acos_test_towardzero): Likewise.
1810 (acos_test_downward): Likewise.
1811 (acos_test_upward): Likewise.
1812 (asin_test_tonearest): Likewise.
1813 (asin_test_towardzero): Likewise.
1814 (asin_test_downward): Likewise.
1815 (asin_test_upward): Likewise.
1816 (main): Call the new functions.
1817 * sysdeps/i386/fpu/libm-test-ulps: Update.
1818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1819
1820 [BZ #13884]
1821 [BZ #13924]
1822 * math/e_exp10.c: Include <float.h>.
1823 (__ieee754_exp10): Handle underflow here rather than multiplying
1824 large negative argument by M_LN10.
1825 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1826 of __ieee754_expf.
1827 * math/e_exp10l.c: Include <float.h>.
1828 (__ieee754_exp10l): Handle underflow here rather than multiplying
1829 large negative argument by M_LN10l.
1830 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1831 spurious overflow exception on underflow.
1832
1833 2012-04-29 Marek Polacek <polacek@redhat.com>
1834
1835 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1836 (__fortify_function): New macro.
1837 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1838 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1839 __extern_always_inline.
1840 * libio/bits/stdio2.h: Likewise.
1841 * libio/bits/stdio.h: Likewise.
1842 * string/string.h: Likewise.
1843 * string/bits/string3.h: Likewise.
1844 * include/stdio.h: Likewise.
1845 * stdlib/bits/stdlib.h: Likewise.
1846 * stdlib/stdlib.h: Likewise.
1847 * rt/bits/mqueue2.h: Likewise.
1848 * rt/mqueue.h: Likewise.
1849 * posix/bits/unistd.h: Likewise.
1850 * posix/unistd.h: Likewise.
1851 * io/bits/poll2.h: Likewise.
1852 * io/bits/fcntl2.h: Likewise.
1853 * io/fcntl.h: Likewise.
1854 * io/sys/poll.h: Likewise.
1855 * misc/bits/syslog.h: Likewise.
1856 * misc/bits/syslog-ldbl.h: Likewise.
1857 * misc/sys/syslog.h: Likewise.
1858 * socket/bits/socket2.h: Likewise.
1859 * socket/sys/socket.h: Likewise.
1860 * debug/tst-chk1.c: Likewise.
1861 * wcsmbs/bits/wchar2.h: Likewise.
1862 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1863 * wcsmbs/wchar.h: Likewise.
1864
1865 2012-04-29 Andreas Jaeger <aj@suse.de>
1866
1867 * Makerules (tests): Remove enable-check-abi protection.
1868 (check-abi-warn): Remove.
1869 (check-abi-%): Remove check-abi-warn usage.
1870
1871 * configure.in: Remove check-abi configure option.
1872 * configure: Regenerated.
1873 * config.make.in (enable-check-abi): Remove.
1874
1875 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1876
1877 [BZ #14033]
1878 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1879 double functions to double *_finite functions.
1880
1881 [BZ #13941]
1882 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1883 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1884 LDBL_MIN_EXP.
1885 * stdio-common/Makefile (tests): Add tst-sprintf3.
1886 * stdio-common/tst-sprintf3.c: New file.
1887
1888 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1889 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1890
1891 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1892
1893 * conform/conformtest.pl: Remove duplicate typed-constant
1894 handling.
1895
1896 2012-04-28 David S. Miller <davem@davemloft.net>
1897
1898 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1899 (check-abi-%): Remove AWK script prerequisite and explicit
1900 abilist directory.
1901 (check-abi): Rewrite to just diff the symlist with the abilist.
1902 (config-tls, config-abi-config): Delete, no longer used.
1903 (update-abi-%): Remove AWK script and explicit abilist directory.
1904 (update-abi): Rewrite to simply compare and conditionally copy the
1905 symlist and the sysdep abilist file. Remove update-abi-config
1906 checks.
1907 * abilist/ld.abilist: Remove.
1908 * abilist/libBrokenLocale.abilist: Remove.
1909 * abilist/libanl.abilist: Remove.
1910 * abilist/libcrypt.abilist: Remove.
1911 * abilist/libdl.abilist: Remove.
1912 * abilist/librt.abilist: Remove.
1913 * abilist/libthread_db.abilist: Remove.
1914 * abilist/libutil.abilist: Remove.
1915 * scripts/extract-abilist.awk: Remove.
1916 * scripts/merge-abilist.awk: Remove.
1917 * sysdeps/generic/libcidn.abilist: New file.
1918 * sysdeps/generic/libnss_compat.abilist: New file.
1919 * sysdeps/generic/libnss_db.abilist: New file.
1920 * sysdeps/generic/libnss_dns.abilist: New file.
1921 * sysdeps/generic/libnss_files.abilist: New file.
1922 * sysdeps/generic/libnss_hesiod.abilist: New file.
1923 * sysdeps/generic/libnss_nis.abilist: New file.
1924 * sysdeps/generic/libnss_nisplus.abilist: New file.
1925 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1926 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1927 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1928 file.
1929 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1930 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1931 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1932 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1933 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1934 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1935 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1936 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1937 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1938 file.
1939 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1940 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1941 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1942 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1943 file.
1944 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1945 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1946 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1947 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1948 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1949 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1950 file.
1951 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1952 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1953 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1954 file.
1955 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1957 New file.
1958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1959 New file.
1960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1961 New file.
1962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1963 New file.
1964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1965 New file.
1966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1967 New file.
1968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1969 New file.
1970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1971 New file.
1972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1973 New file.
1974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1975 New file.
1976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1977 New file.
1978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1979 New file.
1980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1981 New file.
1982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1983 file.
1984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1985 New file.
1986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1987 New file.
1988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1989 file.
1990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1991 New file.
1992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1993 New file.
1994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1995 file.
1996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1997 New file.
1998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1999 New file.
2000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2001 New file.
2002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2003 New file.
2004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2005 New file.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2007 New file.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2010 file.
2011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2012 New file.
2013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2014 file.
2015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2016 file.
2017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2018 file.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2020 file.
2021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2022 file.
2023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2024 New file.
2025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2026 file.
2027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2028 file.
2029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2030 New file.
2031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2032 file.
2033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2035 file.
2036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2037 New file.
2038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2039 file.
2040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2041 file.
2042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2043 file.
2044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2045 file.
2046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2047 file.
2048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2049 New file.
2050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2051 file.
2052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2053 file.
2054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2055 New file.
2056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2057 file.
2058 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2059 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2060 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2061 file.
2062 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2063 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2064 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2065 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2066 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2067 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2068 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2069 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2070 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2071 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2074 file.
2075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2076 New file.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2078 file.
2079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2080 file.
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2082 file.
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2084 file.
2085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2086 file.
2087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2088 New file.
2089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2090 New file.
2091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2092 file.
2093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2094 New file.
2095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2096 file.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2099 file.
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2101 New file.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2103 file.
2104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2105 file.
2106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2107 file.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2109 file.
2110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2111 file.
2112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2113 New file.
2114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2115 New file.
2116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2117 file.
2118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2119 New file.
2120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2121 file.
2122
2123 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2124
2125 * conform/conformtest.pl: Fix typo in handling typed-constant from
2126 allow-header.
2127
2128 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2129
2130 * README: Cut down references to pre-2.6 Linux kernels and
2131 Linuxthreads. Update lists of configurations in libc and ports
2132 and sort alphabetically. Say "or newer" with Linux kernel version
2133 requirements.
2134
2135 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2136
2137 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2138
2139 [BZ #887]
2140 * math/libm-test.inc (logb_test_downward): New test to expose
2141 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2142 rounding mode.
2143
2144 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2145
2146 [BZ #14027]
2147 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2148 to be done.
2149 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2150 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2151
2152 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2153
2154 * sysdeps/unix/i386/brk.S: Remove file.
2155 * sysdeps/unix/i386/dl-brk.S: Likewise.
2156 * sysdeps/unix/i386/pipe.S: Likewise.
2157 * sysdeps/unix/i386/sigreturn.S: Likewise.
2158 * sysdeps/unix/i386/syscall.S: Likewise.
2159 * sysdeps/unix/i386/vfork.S: Likewise.
2160 * sysdeps/unix/i386/wait.S: Likewise.
2161
2162 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2163 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2164
2165 * configure.in (arm*-none*): Do not allow without
2166 --enable-hacker-mode.
2167 (netbsd*): Remove case setting base_os.
2168 (386bsd*): Likewise.
2169 (freebsd*): Likewise.
2170 (bsdi*): Likewise.
2171 (osf*): Likewise.
2172 (sunos*): Likewise.
2173 (ultrix*): Likewise.
2174 (newsos*): Likewise.
2175 (dynix*): Likewise.
2176 (*bsd*): Likewise.
2177 (sysv*): Likewise.
2178 (isc*): Likewise.
2179 (esix*): Likewise.
2180 (sco*): Likewise.
2181 (minix*): Likewise.
2182 (irix4*): Likewise.
2183 (irix6*): Likewise.
2184 (solaris[2-9]*): Likewise.
2185 (none): Likewise.
2186 * configure: Regenerated.
2187
2188 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2189
2190 [BZ #11521]
2191 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2192 overflow or cancellation in calculating denominator.
2193 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2195 down expression to avoid unexpected rounding in newer GCCs.
2196 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2197
2198 2012-04-26 David S. Miller <davem@davemloft.net>
2199
2200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2201 long-double compat symbols.
2202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2209 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2210 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2215
2216 2012-04-25 David S. Miller <davem@davemloft.net>
2217
2218 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2219 HWCAP_* values only after the memory barriers have been defined.
2220 (atomic_full_barrier): Define.
2221 (atomic_read_barrier): Define.
2222 (atomic_write_barrier): Define.
2223
2224 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2225
2226 * shlib-versions: Add libgcc_s version information.
2227 * sysdeps/generic/libgcc_s.h: Remove.
2228 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2229 libgcc_s.h.
2230 * sysdeps/gnu/unwind-resume.c: Likewise.
2231 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2232
2233 2012-04-25 David S. Miller <davem@davemloft.net>
2234
2235 * sysdeps/unix/sparc/brk.S: Delete.
2236 * sysdeps/unix/sparc/dl-brk.S: Delete.
2237 * sysdeps/unix/sparc/pipe.S: Delete.
2238 * sysdeps/unix/sparc/sysdep.S: Delete.
2239 * sysdeps/unix/sparc/sysdep.h: Delete.
2240 * sysdeps/unix/sparc/vfork.S: Delete.
2241 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2242 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2243 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2244 ret_ERRVAL, r0, r1, MOVE): Define.
2245 (JUMPTARGET): Remove.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2247 sysdeps/unix/sparc/sysdep.h
2248 (ENTRY, END): Remove.
2249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2250
2251 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2252
2253 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2254 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2255 -DIS_IN_build.
2256
2257 * timezone/README: Update upstream location and email address for
2258 tzcode and tzdata.
2259 * timezone/zdump.c: Update from tzcode 2012b.
2260 * timezone/zic.c: Likewise.
2261
2262 * configure.in (libc_cv_as_needed): Remove test.
2263 * configure: Regenerated.
2264 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2265 conditional definition.
2266 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2267 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2268 * config.make.in (have-as-needed): Remove variable.
2269
2270 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2271 Paul Pluzhnikov <ppluzhnikov@google.com>
2272
2273 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2274 strings correctly.
2275
2276 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2277
2278 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2279 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2280 * sysdeps/sh/strlen.S: Likewise.
2281
2282 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2283
2284 * sysdeps/unix/fork.S: Remove file.
2285 * sysdeps/unix/i386/fork.S: Likewise.
2286 * sysdeps/unix/sparc/fork.S: Likewise.
2287
2288 * sysdeps/unix/system.c: Remove file.
2289 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2290
2291 * sysdeps/unix/getegid.S: Remove file.
2292 * sysdeps/unix/geteuid.S: Likewise.
2293
2294 2012-04-24 Roland McGrath <roland@hack.frob.com>
2295
2296 * scripts/check-localplt.awk: New file.
2297 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2298 of diff.
2299 * scripts/data/localplt-generic.data: Add a comment.
2300
2301 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2302 NODE when __dir_mkfile failed.
2303 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2304 Reported by Ludovic Courtès <ludo@gnu.org>.
2305
2306 2012-04-24 Andreas Jaeger <aj@suse.de>
2307
2308 * Makerules (common-clean): Also remove gen-as-const-headers
2309 files.
2310
2311 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2312
2313 * Makerules (native-compile): Do not change working directory for
2314 build. Use $(OUTPUT_OPTION) in command.
2315 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2316
2317 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2318
2319 [BZ #13886]
2320 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2321 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2322 * math/libm-test.inc (floor_test): Add more tests.
2323 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2324
2325 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2326
2327 * sysdeps/unix/getdents.c: Remove file.
2328 * sysdeps/unix/sysv/getdents.c: Likewise.
2329 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2330
2331 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2332 sysdeps/unix/mman/syscalls.list.
2333 (mmap): Likewise.
2334 (mprotect): Likewise.
2335 (msync): Likewise.
2336 (munmap): Likewise.
2337 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2338 * sysdeps/unix/mman/syscalls.list: Remove.
2339 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2340
2341 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2342 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2343 * configure: Regenerated.
2344 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2345 $(libgcc_s_suffix).
2346 * config.make.in (libgcc_s_suffix): Remove variable.
2347
2348 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2349
2350 * sysdeps/unix/sysv/gethostname.c: Move to ...
2351 * sysdeps/posix/gethostname.c: ... here.
2352
2353 * sysdeps/unix/execve.S: Remove file.
2354
2355 * sysdeps/unix/_exit.S: Remove file.
2356
2357 2012-04-23 Andreas Jaeger <aj@suse.de>
2358
2359 [BZ #13739]
2360 * manual/Makefile: Remove make dist support, there's no
2361 need for a stand-alone documentation tar ball.
2362 (TEXI2DVI): Define always, it's not in Makeconfig.
2363 (dist): Removed.
2364 (tar-it): Removed.
2365 (edition): Removed.
2366 (glibc-doc-$(edition).tar): Removed
2367 (%.Z): Removed.
2368 (%.gz): Removed.
2369 (%.uu): Removed.
2370 (ETAGS): Remove, it's in Makeconfig.
2371 (move-if-change): Remove, it's in Makeconfig.
2372
2373 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2374
2375 [BZ #13970]
2376 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2377 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2378 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2379 (strtod_l, strtof_l, strtold_l): Remove __wur.
2380 It is not necessarily an error to ignore strtol's return value.
2381 One can reliably look at the stored endptr to decide whether
2382 the number had valid syntax.
2383
2384 2012-04-21 Andreas Jaeger <aj@suse.de>
2385
2386 [BZ #13739]
2387 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2388
2389 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2390
2391 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2392 * sysdeps/unix/sysv/Versions: Remove file.
2393
2394 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2395
2396 [BZ #13927]
2397 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2398
2399 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2400
2401 [BZ #7064]
2402 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2403 version from __vm86.
2404
2405 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2406
2407 * sysdeps/unix/common/lxstat.c: Remove file.
2408 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2409
2410 * sysdeps/unix/sysv/Makefile: Remove file.
2411
2412 * sysdeps/unix/sysv/direct.h: Remove file.
2413
2414 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2415 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2416 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2417 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2418 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2419 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2420 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2421
2422 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2423
2424 * sysdeps/unix/xmknod.c: Remove file.
2425 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2426
2427 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2428
2429 * sysdeps/unix/sysv/i386/time.S: Remove file.
2430
2431 * sysdeps/unix/fxstat.c: Remove file.
2432 * sysdeps/unix/xstat.c: Likewise.
2433 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2434
2435 * sysdeps/unix/sysv/sigaction.c: Remove file.
2436
2437 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2438 (sysdep_headers): Remove variable.
2439 [termio.h not in sysdep_headers] (generated): Likewise.
2440 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2441 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2442 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2443 * sysdeps/unix/sysv/tcflow.c: Likewise.
2444 * sysdeps/unix/sysv/tcflush.c: Likewise.
2445 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2446 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2447 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2448 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2449 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2450
2451 * sysdeps/unix/siglist.c: Remove file.
2452
2453 * sysdeps/unix/getppid.S: Remove file.
2454
2455 * sysdeps/unix/mkdir.c: Remove file.
2456 * sysdeps/unix/rmdir.c: Likewise.
2457
2458 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2459
2460 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2461 ERR_MAX value.
2462 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2463 errlist-compat value.
2464
2465 2012-04-18 David S. Miller <davem@davemloft.net>
2466
2467 * sysdeps/generic/memcopy.h (reg_char): Delete.
2468 * debug/strcat_chk.c: Use char, not reg_char.
2469 * debug/strcpy_chk.c: Likewise.
2470 * debug/strncat_chk.c: Likewise.
2471 * debug/strncpy_chk.c: Likewise.
2472 * string/memchr.c: Likewise.
2473 * string/memrchr.c: Likewise.
2474 * string/rawmemchr.c: Likewise.
2475 * string/strcat.c: Likewise.
2476 * string/strchr.c: Likewise.
2477 * string/strchrnul.c: Likewise.
2478 * string/strcmp.c: Likewise.
2479 * string/strcpy.c: Likewise.
2480 * string/strncat.c: Likewise.
2481 * string/strncmp.c: Likewise.
2482 * string/strncpy.c: Likewise.
2483
2484 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2485
2486 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2487 __builtin_memcopy is called when src and dest ranges are known to not
2488 overlap.
2489
2490 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2491
2492 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2493 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2494 fwd_align_merge macro call.
2495 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2496 bwd_align_merge macro call.
2497 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2498
2499 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2500
2501 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2502 bwd_align_merge macros.
2503 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2504 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2505 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2506
2507 2012-04-18 David S. Miller <davem@davemloft.net>
2508
2509 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2510
2511 2012-04-18 Andreas Jaeger <aj@suse.de>
2512
2513 [BZ# 6794]
2514 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2515 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2516 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2517
2518 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2519 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2520 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2521
2522 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2523 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2524 Adjust for changed ldbl-128 files.
2525
2526 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2527 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2528 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2529
2530 2012-04-17 David S. Miller <davem@davemloft.net>
2531
2532 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2533
2534 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2535
2536 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2537 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2538 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2539 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2540 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2541 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2542
2543 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2544
2545 [BZ #6794]
2546 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2547 * math/libm-test.inc: Add ilogb errno and exception tests.
2548 * math/w_ilogb.c: New file: ilogb wrapper.
2549 * math/w_ilogbf.c: New file: ilogbf wrapper.
2550 * math/w_ilogbl.c: New file: ilogbl wrapper.
2551 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2552 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2553 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2554 exception being thrown with 0.0 as argument.
2555 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2556 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2557 exception being thrown with 0.0 as argument.
2558 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2559 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2560 exception being thrown with 0.0 as argument.
2561 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2562 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2563 exception being thrown with 0.0 as argument.
2564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2565 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2566 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2567 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2568 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2569 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2570 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2571 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2572 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2573
2574 2012-04-17 Petr Baudis <pasky@ucw.cz>
2575
2576 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2577 with altivec.
2578
2579 2012-04-16 Marek Polacek <polacek@redhat.com>
2580
2581 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2582
2583 2012-04-16 Marek Polacek <polacek@redhat.com>
2584
2585 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2586 operands of fdivp instruction.
2587
2588 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2591 * elf/tst-auditmod3b.c: Likewise.
2592 * elf/tst-auditmod4b.c: Likewise.
2593 * elf/tst-auditmod5b.c: Likewise.
2594 * elf/tst-auditmod6b.c: Likewise.
2595 * elf/tst-auditmod6c.c: Likewise.
2596 * elf/tst-auditmod7b.c: Likewise.
2597 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2598 * sysdeps/x86_64/preconfigure.in: Likewise.
2599 * sysdeps/x86_64/preconfigure: Regenerated.
2600
2601 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2602
2603 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2604 __ILP32__.
2605
2606 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2607
2608 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2609 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2610
2611 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2612
2613 [BZ #13973]
2614 * locale/iso-639.def: Fix gl language name. Spotted by
2615 Yaron Shahrabani.
2616
2617 2012-04-12 Roland McGrath <roland@hack.frob.com>
2618
2619 [BZ #2074]
2620 * libio/libio.h (__io_write_fn): Update comment.
2621
2622 2012-04-12 Petr Baudis <pasky@ucw.cz>
2623
2624 [BZ #2074]
2625 * stdio.texi (Hook Functions): The user provided writer function
2626 is not allowed to return -1.
2627
2628 2012-04-11 David S. Miller <davem@davemloft.net>
2629
2630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2631
2632 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2633
2634 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2635 Add a leading slash to rtkaio.
2636
2637 2012-04-11 Jim Meyering <meyering@redhat.com>
2638
2639 [BZ #11959]
2640 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2641 It is not necessarily an error to ignore fwrite's return
2642 value. One can reliably use ferror to test for errors after
2643 the fact.
2644
2645 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2646
2647 * bits/types.h (__snseconds_t): New type.
2648 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2649
2650 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2651 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2652 (__SNSECONDS_T_TYPE): Likewise.
2653 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2654 (__SNSECONDS_T_TYPE): Likewise.
2655 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2656 (__SNSECONDS_T_TYPE): Likewise.
2657
2658 2012-04-10 Andreas Jaeger <aj@suse.de>
2659
2660 [BZ #2636]
2661 * manual/time.texi (Processor Time): Return type of times is
2662 elapsed real time since an arbitrary point in the past.
2663 (CPU Time): Move CLK_TCK from here...
2664 (Processor Time): ...to here. Correct description.
2665 * manual/conf.texi (Constants for Sysconf): Correct description of
2666 _SC_CLK_TCK.
2667
2668 2012-04-10 David S. Miller <davem@davemloft.net>
2669
2670 [BZ #13967]
2671 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2672 where the is a gap between DT_REL(A) and DT_JMPREL.
2673
2674 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2675
2676 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2677 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2678 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2679
2680 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2681
2682 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2683 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2684 (dl_main): Handle --inhibit-cache.
2685 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2686 _dl_inhibit_cache.
2687 * elf/dl-load.c (_dl_map_object): Use it.
2688 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2689
2690 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2691
2692 [BZ #13872]
2693 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2694 (__ieee754_powl): Saturate large exponents rather than testing for
2695 overflow of y*log2(x).
2696 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2697 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2698 exceptions.
2699
2700 [BZ #11521]
2701 * math/s_ctan.c: Include <float.h>.
2702 (__ctan): Avoid internal overflow or cancellation in calculating
2703 denominator.
2704 * math/s_ctanf.c: Likewise.
2705 * math/s_ctanl.c: Likewise.
2706 * math/s_ctanh.c: Likewise.
2707 * math/s_ctanhf.c: Likewise.
2708 * math/s_ctanhl.c: Likewise.
2709 * math/libm-test.inc (ctan_test): Add more tests.
2710 (ctanh_test): Likewise.
2711 * sysdeps/i386/fpu/libm-test-ulps: Update.
2712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2713
2714 2012-04-09 Andreas Jaeger <aj@suse.de>
2715
2716 [BZ #6894]
2717 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2718 is an optional BSD extension.
2719
2720 [BZ #10254]
2721 * manual/stdio.texi (Opening Streams): Document additional fopen
2722 parameters.
2723
2724 2012-04-09 Roland McGrath <roland@hack.frob.com>
2725
2726 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2727 %eax without telling the compiler.
2728
2729 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2730
2731 [BZ # 13963]
2732 * manual/install.texi: Use sourceware.org.
2733
2734 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2735
2736 [BZ #13873]
2737 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2738 (__ieee754_pow): Generate overflow and underflow using huge*huge
2739 and tiny*tiny rather than just returning constant infinity or zero
2740 for large exponents.
2741 * math/libm-test.inc (pow_test): Require overflow exceptions for
2742 applicable cases of large exponents.
2743
2744 [BZ #706]
2745 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2746 (__ieee754_pow): Use iterative multiplication algorithm only for
2747 integer exponents with absolute value below 1024. Check for odd
2748 integer exponents when using algorithm for real exponents.
2749 * math/libm-test.inc (pow_test): Add more tests.
2750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2751
2752 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2753
2754 [BZ #13705]
2755 * math/libm-test.inc (exp_test): Do not allow overflow exception
2756 on underflow test.
2757
2758 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2759
2760 [BZ #13705]
2761 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2762 instead of __kernel_standard_f.
2763
2764 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2765
2766 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2767 * sysdeps/x86_64/memset_chk.S: Likewise.
2768
2769 2012-04-08 Andreas Jaeger <aj@suse.de>
2770
2771 [BZ #10153]
2772 * manual/startup.texi (Environment Access): Describe return value
2773 for putenv and setenv.
2774
2775 [BZ #6895]
2776 * manual/filesys.texi (Directory Entries): Add description for
2777 DT_LNK.
2778
2779 [BZ #6890]
2780 * manual/filesys.texi (Directory Entries): Clarify that it's file
2781 system not operating system in the description of DT_UNKNOWN.
2782
2783 [BZ #6578]
2784 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2785
2786 2012-04-08 Stephen Compall <s11@member.fsf.org>
2787
2788 [BZ #6649]
2789 * manual/llio.texi (Opening and Closing Files): Add cross
2790 reference to explain mode argument.
2791
2792 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2793
2794 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2795 * sysdeps/x86_64/memset_chk.S: Likewise.
2796
2797 2012-04-07 David S. Miller <davem@davemloft.net>
2798
2799 * elf/elf.h (R_SPARC_WDISP10): Define.
2800 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2801 R_SPARC_SIZE32.
2802 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2803 R_SPARC_SIZE64 and R_SPARC_H34.
2804
2805 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2806
2807 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2808 conditions and remove no longer applicable assertion.
2809
2810 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2811
2812 * bits/byteswap.h: Include <features.h>.
2813 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2814 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2815
2816 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 * bits/byteswap.h (__bswap_16): Removed.
2819 Include <bits/byteswap-16.h> to get __bswap_16.
2820 * sysdeps/i386/bits/byteswap.h: Likewise.
2821 * sysdeps/s390/bits/byteswap.h: Likewise.
2822 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2823 * bits/byteswap-16.h: New file.
2824 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2825 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2826 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2827 * string/Makefile (headers): Add bits/byteswap-16.h.
2828
2829 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2830
2831 [BZ #13895]
2832 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2833 extra indirection.
2834 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2835 * nss/tst-nss-static.c: New.
2836
2837 2012-04-06 Robert Millan <rmh@gnu.org>
2838
2839 [BZ #6486]
2840 * manual/llio.texi (File Position Primitive): lseek
2841 refers to WHENCE when it really means OFFSET.
2842
2843 2012-04-06 Andreas Jaeger <aj@suse.de>
2844
2845 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2846 strncmp declarations.
2847
2848 * abilist/libc.abilist: Add __poll and __ppoll.
2849
2850 2012-04-05 David S. Miller <davem@davemloft.net>
2851
2852 * scripts/check-local-headers.sh: Accept a host triplet in the
2853 path matched by the exclude regexp.
2854
2855 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2856 definition.
2857 * sysdeps/powerpc/powerpc32/dl-machine.h
2858 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2859 * sysdeps/s390/s390-32/dl-machine.h
2860 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2861 * sysdeps/sparc/sparc32/dl-machine.h
2862 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2863 * sysdeps/sparc/sparc64/dl-machine.h
2864 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2865
2866 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2867 lazy binding.
2868 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2869 undefined symbol errors.
2870
2871 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2872 DT_NEEDED entries.
2873
2874 2012-04-05 Michael Matz <matz@suse.de>
2875
2876 [BZ #13592]
2877 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2878
2879 2012-04-05 Andreas Jaeger <aj@suse.de>
2880
2881 [BZ #13908]
2882 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2883 comment.
2884
2885 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2886
2887 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2888 which ROUND is no valid rounding mode.
2889
2890 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2891
2892 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2893 read again.
2894 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2895
2896 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2897
2898 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2899 an exception using FPU order intentionally.
2900
2901 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2902
2903 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2904 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2905 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2906 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2907
2908 2012-04-05 Simon Josefsson <simon@josefsson.org>
2909
2910 [BZ #12340]
2911 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2912 EINVAL when BUFLEN is too smal.
2913
2914 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2915
2916 [BZ #13553]
2917 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2918 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2919
2920 2012-04-03 Andreas Jaeger <aj@suse.de>
2921
2922 [BZ #13938]
2923 * manual/setjmp.texi (System V contexts): Fix sentence.
2924
2925 [BZ #13926]
2926 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2927 New macro for this case.
2928 [!__GNUC__] (__bswap_64): New inline function for this case.
2929 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2930 * bits/byteswap.h: Likewise.
2931 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2932 ull, guard with __GLIBC_HAVE_LONG_LONG.
2933
2934 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2935 __GLIBC_HAVE_LONG_LONG.
2936
2937 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2938 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2939
2940 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2941
2942 [BZ #13691]
2943 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2944 inptr and inend, rather than using last_ch.
2945
2946 2012-04-02 David S. Miller <davem@davemloft.net>
2947
2948 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2949 * stdio-common/printf-parse.h (read_int): Change return type to
2950 'int', return -1 on INT_MAX overflow.
2951 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2952 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2953 overflows INT_MAX. Check for overflow of in-format-string precision
2954 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2955 SIZE_MAX not INT_MAX for integer overflow test.
2956 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2957 skip the construct in the format string but do not record anything.
2958 * stdio-common/bug22.c: Adjust to test both width/prevision
2959 INT_MAX overflow as well as total length INT_MAX overflow. Check
2960 explicitly for proper errno values.
2961
2962 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2963
2964 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2965 CHAR_MAX.
2966 * string/test-strcmp.c [! WIDE]: Likewise.
2967 * time/tst-mktime2.c: Likewise for INT_MAX.
2968 * string/test-string.h: #include <sys/param.h> for MIN.
2969
2970 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2971 * sysdeps/i386/init-first.c (init): Likewise.
2972 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2973 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2974 * sysdeps/sh/init-first.c (init): Likewise.
2975
2976 2012-04-01 Ulrich Drepper <drepper@gmail.com>
2977
2978 * po/ru.po: Update from translation team.
2979 * po/vi.po: Likewise.
2980
2981 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2982
2983 * resolv/nss_dns/dns-host.c: Merge copyright years.
2984
2985 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2986
2987 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2988 Optimize memcpy with prefetch if
2989 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2990 src, dst pointers have unequal 16 byte alignments.
2991
2992 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2993
2994 [BZ #13928]
2995 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2996 from a CNAME entry and return the minimum ttl for the query.
2997 (gaih_getanswer_slice): Likewise.
2998
2999 2012-03-30 Jeff Law <law@redhat.com>
3000
3001 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3002 due to long keys.
3003 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3004 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3005
3006 * resolv/nss_dns/dns-host.c: Update copyright year.
3007
3008 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3009
3010 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3011 requests to save a system call. Fix check that all bytes are sent.
3012
3013 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3014 comments for sendmmsg.
3015
3016 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3017
3018 [BZ #13691]
3019 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3020 with only 1 character between 0x0041 and 0x01b0.
3021 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3022 * wcsmbs/tst-mbsnrtowcs.c: New file.
3023
3024 2012-03-29 David S. Miller <davem@davemloft.net>
3025
3026 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3027 small copies by hand.
3028
3029 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3030
3031 [BZ #13761]
3032 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3033 _nss_compat_initgroups_dyn): Fall back to malloc/free
3034 for large group memberships.
3035
3036 2012-03-28 David S. Miller <davem@davemloft.net>
3037
3038 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3039 that branches into memcpy.
3040 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3041 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3042 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3043 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3045 bits.
3046 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3047 implementation too.
3048 * sysdeps/sparc/mempcpy.S: New file.
3049
3050 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3051 the IFUNC routine in the libc case.
3052 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3053
3054 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3055 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3056 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3057 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3058 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3059 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3060 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3061 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3062
3063 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3064 loop to 256 bytes instead of 64 bytes and fix test signedness.
3065
3066 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3067 * sysdeps/sparc/sparc32/Makefile: rather than here...
3068 * sysdeps/sparc/sparc64/Makefile: and here.
3069
3070 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3071
3072 * malloc/mallocbug.c: Avoid warnings about unused variables.
3073
3074 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3075
3076 [BZ #13760]
3077 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3078 in the right place. Discard and retry query if response is
3079 larger than input buffer size.
3080
3081 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3082
3083 [BZ #369]
3084 [BZ #2678]
3085 [BZ #3866]
3086 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3087 x for large integer exponent.
3088 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3089 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3090 sign of result as needed afterwards.
3091 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3092 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3093 result for underflowing pow the same as for overflow.
3094 (__kernel_standard_l): Handle powl overflow and underflow here
3095 rather than calling __kernel_standard.
3096 * math/libm-test.inc (pow_test): Add more tests.
3097
3098 [BZ #3868]
3099 [BZ #13879]
3100 [BZ #13910]
3101 [BZ #13911]
3102 [BZ #13912]
3103 [BZ #13913]
3104 [BZ #13915]
3105 [BZ #13916]
3106 [BZ #13917]
3107 [BZ #13918]
3108 [BZ #13919]
3109 [BZ #13920]
3110 [BZ #13921]
3111 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3112 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3113 (__kernel_standard_l): New function.
3114 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3115 __kernel_standard.
3116 * math/w_acosl.c (__acosl): Likewise.
3117 * math/w_asinl.c (__asinl): Likewise.
3118 * math/w_atan2l.c (__atan2l): Likewise.
3119 * math/w_atanhl.c (__atanhl): Likewise.
3120 * math/w_coshl.c (__coshl): Likewise.
3121 * math/w_exp10l.c (__exp10l): Likewise.
3122 * math/w_exp2l.c (__exp2l): Likewise.
3123 * math/w_fmodl.c (__fmodl): Likewise.
3124 * math/w_hypotl.c (__hypotl): Likewise.
3125 * math/w_j0l.c (__j0l, __y0l): Likewise.
3126 * math/w_j1l.c (__j1l, __y1l): Likewise.
3127 * math/w_jnl.c (__jnl, __ynl): Likewise.
3128 * math/w_lgammal.c (__lgammal): Likewise.
3129 * math/w_log10l.c (__log10l): Likewise.
3130 * math/w_log2l.c (__log2l): Likewise.
3131 * math/w_logl.c (__logl): Likewise.
3132 * math/w_powl.c (__powl): Likewise.
3133 * math/w_remainderl.c (__remainderl): Likewise.
3134 * math/w_scalbl.c (sysv_scalbl): Likewise.
3135 * math/w_sinhl.c (__sinhl): Likewise.
3136 * math/w_sqrtl.c (__sqrtl): Likewise.
3137 * math/w_tgammal.c (__tgammal): Likewise.
3138 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3139 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3140 * math/libm-test.inc (acos_test): Add more tests.
3141 (acosh_test): Likewise.
3142 (asin_test): Likewise.
3143 (atanh_test): Likewise.
3144 (exp_test): Likewise.
3145 (exp10_test): Likewise.
3146 (exp2_test): Likewise.
3147 (expm1_test): Likewise.
3148 (lgamma_test): Likewise.
3149 (log_test): Likewise.
3150 (log10_test): Likewise.
3151 (log1p_test): Likewise.
3152 (log2_test): Likewise.
3153 (pow_test): Do not allow some spurious overflow exceptions.
3154 (sqrt_test): Add more tests.
3155 (tgamma_test): Likewise.
3156 (y0_test): Likewise.
3157 (y1_test): Likewise.
3158 (yn_test): Likewise.
3159
3160 2012-03-27 Anton Blanchard <anton@samba.org>
3161
3162 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3163 MAP_HUGETLB.
3164 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3165 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3166 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3167
3168 2012-03-27 David S. Miller <davem@davemloft.net>
3169
3170 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3171
3172 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3173 have-as-vis3 check.
3174
3175 2012-03-27 Andreas Jaeger <aj@suse.de>
3176
3177 * sysdeps/x86_64/elf/configure.in: Moved to ...
3178 * sysdeps/x86_64/configure.in: ... here.
3179 * sysdeps/x86_64/elf/start.S: Moved to ...
3180 * sysdeps/x86_64/start.S: ... here.
3181 * sysdeps/x86_64/elf/configure: Delete.
3182
3183 * sysdeps/x86_64/configure.in: Merge contents from
3184 sysdeps/i386/configure.in (without i686 check).
3185
3186 * sysdeps/i386/elf/Versions: Merge into ...
3187 * sysdeps/i386/Versions: ... this.
3188 * sysdeps/i386/elf/Versions: Delete file.
3189 * sysdeps/i386/elf/start.S: Moved to ...
3190 * sysdeps/i386/start.S: ...here.
3191 * sysdeps/i386/elf/configure.in: Merge into...
3192 * sysdeps/i386/configure.in: ...here.
3193 * sysdeps/i386/elf/configure.in: Delete file.
3194 * sysdeps/i386/elf/configure: Delete file.
3195
3196 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3197 * debug/backtracesyms.c: ... here.
3198 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3199 * debug/backtracesymsfd.c: ... here.
3200 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3201 * sysdeps/generic/ifunc-sel.h: ... here.
3202
3203 * sysdeps/unix/i386/start.c: Delete file.
3204 * sysdeps/unix/sparc/start.c: Delete file.
3205 * sysdeps/unix/start.c: Delete file.
3206
3207 * sysdeps/sh/elf/configure.in: Moved to ...
3208 * sysdeps/sh/configure.in: ... here.
3209 * sysdeps/sh/elf/start.S: Moved to ...
3210 * sysdeps/sh/start.S: ... here.
3211 * sysdeps/sh/elf/configure: Delete file.
3212
3213 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3214 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3215 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3216 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3217 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3218 * sysdeps/powerpc/powerpc64/start.S: here.
3219 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3220 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3221 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3222 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3223 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3224
3225 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3226 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3227 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3228 * sysdeps/powerpc/powerpc32/start.S: ... here.
3229 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3230 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3231 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3232
3233 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3234 * sysdeps/powerpc/ifunc-sel.h: ... here.
3235 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3236 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3237
3238 * sysdeps/sparc/elf/configure.in: Moved to ...
3239 * sysdeps/sparc/configure.in: ... here.
3240 * sysdeps/sparc/elf/configure: Delete file.
3241 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3242 * sysdeps/sparc/sparc32/start.S: ... here.
3243 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3244 * sysdeps/sparc/sparc64/start.S: ... here.
3245 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3246 * sysdeps/sparc/sparc32/Makefile: ... this.
3247 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3248 * sysdeps/sparc/sparc64/Makefile: ... this.
3249
3250 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3251 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3252 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3253 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3254 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3255 * sysdeps/s390/s390-32/setjmp.S: ... here.
3256 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3257 * sysdeps/s390/s390-32/configure.in: ... here.
3258 * sysdeps/s390/s390-32/elf/configure: Delete file.
3259 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3260 * sysdeps/s390/s390-32/start.S: ... here.
3261
3262 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3263 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3264 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3265 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3266 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3267 * sysdeps/s390/s390-64/setjmp.S: ... here.
3268 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3269 * sysdeps/s390/s390-64/configure.in: ... here
3270 * sysdeps/s390/s390-64/elf/configure: Delete file.
3271 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3272 * sysdeps/s390/s390-64/start.S: ... here.
3273 * sysdeps/s390/s390-64/elf/configure: Delete.
3274
3275 * configure.in: Remove support for elf directories in sysdeps.
3276
3277 * configure: Regenerated.
3278 * sysdeps/i386/configure: Regenerated.
3279 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3280 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3281 * sysdeps/s390/s390-32/configure: Regenerated.
3282 * sysdeps/s390/s390-64/configure: Regenerated.
3283 * sysdeps/sh/configure: Regenerated.
3284 * sysdeps/sparc/configure: Regenerated.
3285 * sysdeps/x86_64/configure: Regenerated.
3286
3287 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3288
3289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3290
3291 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3292 denormal result into account.
3293
3294 2012-03-25 Roland McGrath <roland@hack.frob.com>
3295
3296 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3297 Reported by Allan McRae <allan@archlinux.org>.
3298
3299 2012-03-23 Jeff Law <law@redhat.com>
3300
3301 * nss/getnssent.c (__nss_getent): Fix typo.
3302
3303 2012-03-23 David S. Miller <davem@davemloft.net>
3304
3305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3306
3307 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3308
3309 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3310 to pad to uint64_t for each field.
3311 (dl_tls_index): Replace unsigned long with uint64_t.
3312
3313 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3314 Paul Pluzhnikov <ppluzhnikov@google.com>
3315
3316 [BZ #6528]
3317 * grp/Makefile (otherlibs): Don't set it.
3318 * inet/Makefile (otherlibs): Likewise.
3319 * login/Makefile (otherlibs): Likewise.
3320 * nscd/Makefile (otherlibs): Likewise.
3321 * posix/Makefile (otherlibs): Likewise.
3322 * pwd/Makefile (otherlibs): Likewise.
3323 * rt/Makefile (otherlibs): Likewise.
3324 * sunrpc/Makefile (otherlibs): Likewise.
3325 * nss/Makefile (otherlibs): Likewise.
3326 Add libnss_files to routines and static-only-routines.
3327 ($(objpfx)getent): Remove rule.
3328 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3329 static-only-routines.
3330
3331 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3332
3333 [BZ #13892]
3334 * math/s_cexp.c: Include <float.h>.
3335 (__cexp): Handle exp result overflowing not necessarily
3336 overflowing both real and imaginary parts of result.
3337 * math/s_cexpf.c: Likewise.
3338 * math/s_cexpl.c: Likewise.
3339 * math/libm-test.inc (cexp_test): Add more tests.
3340 * sysdeps/i386/fpu/libm-test-ulps: Update.
3341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3342
3343 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3344
3345 * include/link.h (ELFW): New macro.
3346 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3347 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3348
3349 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3350
3351 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3352 with uint64_t.
3353
3354 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3357 declaration.
3358 (struct La_x32_retval): Likewise.
3359
3360 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * sysdeps/x86_64/preconfigure.in: New file.
3363 * sysdeps/x86_64/preconfigure: New generated file.
3364
3365 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3366
3367 [BZ #13824]
3368 * math/e_exp2l.c: Include <float.h>.
3369 (__ieee754_exp2l): Handle overflow and underflow cases
3370 separately. Only pass fractional part of argument to
3371 __ieee754_expl.
3372 * math/libm-test.inc (exp2_test): Add more tests.
3373
3374 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3375 negating x to take absolute value.
3376 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3377 Likewise.
3378 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3379 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3380 Likewise.
3381 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3382 computing low part if x was negated.
3383 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3384
3385 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3386
3387 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3388 la_x32_gnu_pltexit.
3389 (pltexit): Cast int_retval to ptrdiff_t.
3390 * elf/tst-auditmod3b.c: Likewise.
3391 * elf/tst-auditmod4b.c: Likewise.
3392 * elf/tst-auditmod5b.c: Likewise.
3393 * elf/tst-auditmod6b.c: Likewise.
3394 * elf/tst-auditmod6c.c: Likewise.
3395 * elf/tst-auditmod7b.c: Likewise.
3396
3397 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3398 and x32_gnu_pltexit.
3399
3400 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3401 __ELF_NATIVE_CLASS.
3402 (La_x32_regs): New macro.
3403 (La_x32_retval): Likewise.
3404 (la_x32_gnu_pltenter): New function prototype.
3405 (la_x32_gnu_pltexit): Likewise.
3406
3407 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3408
3409 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3410 exponent.
3411
3412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3413
3414 * configure.in (libc_cv_cc_nofma): Check for option to disable
3415 generation of FMA instructions.
3416 * configure: Regenerate.
3417 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3418 * sysdeps/ieee754/dbl-64/Makefile: New file.
3419 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3420 Remove brandred-fma4.
3421 (CFLAGS-brandred-fma4.c): Remove.
3422 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3423 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3424 define.
3425 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3426 define.
3427
3428 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3431 LLONG_MAX != LONG_MAX.
3432 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3433 (_fitoa_word): Likewise.
3434 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3435 LLONG_MAX != LONG_MAX.
3436 * stdio-common/_itowa.h: Include <_itoa.h>.
3437 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3438 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3439 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3440 only if not defined.
3441 (_ITOA_WORD_TYPE): Likewise.
3442 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3443 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3444
3445 2012-03-21 David S. Miller <davem@davemloft.net>
3446
3447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3448
3449 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3452 of x86_64 when setting libc_cv_slibdir, libdir and
3453 libc_cv_localedir.
3454 * sysdeps/unix/sysv/linux/configure: Regenerated.
3455
3456 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3457
3458 * manual/lang.texi (Old Varargs): Remove section.
3459 (How Variadic): Update menu.
3460 (va_start): Do not mention varargs.h.
3461
3462 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3463 Joseph Myers <joseph@codesourcery.com>
3464
3465 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3466 link test.
3467 * configure: Regenerated.
3468
3469 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3470
3471 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3472 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3473 conformtest.pl
3474
3475 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3476
3477 * NOTES: Remove.
3478 * Makefile (files-for-dist): Remove NOTES.
3479 (NOTES): Remove rule.
3480 * README: Don't refer to NOTES.
3481 * manual/creature.texi: Don't include macros.texi.
3482 * manual/intro.texi (creature.texi): Remove comment referring to
3483 NOTES.
3484
3485 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3486 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3487 * configure: Regenerated.
3488 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3489 LIBC_TRY_CC_OPTION.
3490 (libc_cv_as_i686): Likewise.
3491 (libc_cv_cc_avx): Likewise.
3492 (libc_cv_cc_sse2avx): Likewise.
3493 (libc_cv_cc_fma4): Likewise.
3494 (libc_cv_cc_novzeroupper): Likewise.
3495 * sysdeps/i386/configure: Regenerated.
3496
3497 [BZ #13883]
3498 * sysdeps/i386/fpu/s_cexp.S: Remove.
3499 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3500 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3501 * math/libm-test.inc (cexp_test): Add more tests.
3502 * sysdeps/i386/fpu/libm-test-ulps: Update.
3503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3504
3505 2012-03-21 Allan McRae <allan@archlinux.org>
3506
3507 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3508
3509 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3510
3511 [BZ #13871]
3512 * math/w_exp2.c: Do not include <float.h>.
3513 (o_threshold, u_threshold): Remove.
3514 (__exp2): Calculate result before checking finiteness and calling
3515 __kernel_standard.
3516 * math/w_exp2f.c: Likewise.
3517 * math/w_exp2l.c: Likewise.
3518 * math/libm-test.inc (exp2_test): Require overflow exception for
3519 1e6 input.
3520
3521 [BZ #3866]
3522 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3523 range of signed 64-bit integers before using fistpll. Remove
3524 checks for whether integers fit in mantissa bits.
3525 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3526 the range of signed 32-bit integers before using fistpl. Remove
3527 checks for whether integers fit in mantissa bits.
3528 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3529 (__ieee754_powl): Test for y outside the range of signed 64-bit
3530 integers before using fistpll. Reduce 64-bit values to 63-bit
3531 ones as needed.
3532 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3533 divide-by-zero is raised for zero to large negative powers.
3534 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3535 (__ieee754_powl): Test for y outside the range of signed 64-bit
3536 integers before using fistpll. Reduce 64-bit values to 63-bit
3537 ones as needed.
3538 * math/libm-test.inc (pow_test): Add more tests.
3539
3540 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3541
3542 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3543 <stdio-common/_itoa.h>.
3544 * debug/segfault.c: Likewise.
3545 * elf/dl-cache.c: Likewise.
3546 * elf/dl-minimal.c: Likewise.
3547 * elf/dl-misc.c: Likewise.
3548 * elf/dl-sysdep.c: Likewise.
3549 * elf/dl-version.c: Likewise.
3550 * elf/rtld.c: Likewise.
3551 * hurd/hurdsock.c: Likewise.
3552 * hurd/lookup-retry.c: Likewise.
3553 * malloc/malloc.c: Likewise.
3554 * malloc/mtrace.c: Likewise.
3555 * nscd/nscd_getgr_r.c: Likewise.
3556 * nscd/nscd_getpw_r.c: Likewise.
3557 * nscd/nscd_getserv_r.c: Likewise.
3558 * posix/getopt_init.c: Likewise.
3559 * posix/wordexp.c: Likewise.
3560 * stdio-common/_itoa.c: Likewise.
3561 * stdio-common/printf_fphex.c: Likewise.
3562 * stdio-common/vfprintf.c: Likewise.
3563 * string/_strerror.c: Likewise.
3564 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3565 * sysdeps/i386/i686/hp-timing.h: Likewise.
3566 * sysdeps/mach/_strerror.c: Likewise.
3567 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3568 * sysdeps/mach/hurd/sethostid.c: Likewise.
3569 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3570 * sysdeps/mach/xpg-strerror.c: Likewise.
3571 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3572 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3573 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3574 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3575 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3576 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3577 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3578 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3579 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3580 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3581 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3582 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3583 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3584 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3585 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3586 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3587 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3588 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3589 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3590 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3591 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3592
3593 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3594
3595 * stdio-common/_itoa.h: Moved to ...
3596 * sysdeps/generic/_itoa.h: Here.
3597
3598 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3599
3600 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3601 instead of "_itoa.h" and "_itowa.h".
3602 * stdio-common/vfprintf.: Likewise.
3603
3604 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3607 <bits/wordsize.h>.
3608 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3609 (__signbit): Likwise.
3610 (llrintf): Likwise.
3611 (llrint): Likwise.
3612
3613 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3614
3615 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3616 __WORDSIZE != 64.
3617
3618 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3619
3620 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3621 OVERFLOW_EXCEPTION_OK.
3622 * math/libm-test.inc ("Philosophy"): Update comment about
3623 exception testing.
3624 (OVERFLOW_EXCEPTION): Define.
3625 (OVERFLOW_EXCEPTION_OK): Likewise.
3626 (INVALID_EXCEPTION_OK): Renumber.
3627 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3628 (IGNORE_ZERO_INF_SIGN): Likewise.
3629 (test_exceptions): Handle FE_OVERFLOW.
3630 (exp10_test): Expect overflow exceptions.
3631 (exp2_test): Likewise.
3632 (expm1_test): Likewise.
3633 (nextafter_test): Likewise.
3634 (pow_test): Likewise.
3635 (scalbn_test): Likewise.
3636 (scalbln_test): Likewise.
3637
3638 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3639
3640 * sysdeps/x86_64/bits/atomic.h
3641 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3642 64bit integer.
3643 (atomic_exchange_acq): Likewise.
3644 (__arch_exchange_and_add_body): Likewise.
3645 (__arch_add_body): Likewise.
3646 (atomic_add_negative): Likewise.
3647 (atomic_add_zero): Likewise.
3648
3649 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3652 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3653
3654 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3655
3656 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3657 Check __x86_64__ instead of __WORDSIZE.
3658
3659 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3662
3663 2012-03-19 David S. Miller <davem@davemloft.net>
3664
3665 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3666
3667 * sysdeps/sparc/fpu/fenv_private.h: New file.
3668 * sysdeps/sparc/fpu/math_private.h: Use it.
3669 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3670 Remove.
3671 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3672 (libc_feholdexcept_setroundl): Remove.
3673 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3674 Remove.
3675 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3676 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3677
3678 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3679
3680 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3681 int64_t instead of long int.
3682 (INSERT_WORDS64): Likwise.
3683
3684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3685
3686 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3687 _Unwind_GetCFA return to _Unwind_Ptr first.
3688
3689 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3690
3691 [BZ #13629]
3692 * math/s_clog.c: Include <float.h>.
3693 (__clog): Scale large or subnormal inputs.
3694 * math/s_clogf.c: Likewise.
3695 * math/s_clogl.c: Likewise.
3696 * math/s_clog10.c: Include <float.h>.
3697 (M_LOG10_2): Define.
3698 (__clog10): Scale large or subnormal inputs.
3699 * math/s_clog10f.c: Likewise.
3700 * math/s_clog10l.c: Likewise.
3701 * math/libm-test.inc (clog_test): Add more tests.
3702 (clog10_test): Likewise.
3703 * sysdeps/i386/fpu/libm-test-ulps: Update.
3704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3705
3706 [BZ #11451]
3707 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3708 x and y.
3709 * math/libm-test.inc (atan2_test): Add another test.
3710
3711 * Makerules (common-objdir-compile): Remove.
3712 * sysdeps/unix/Makefile (config-generated): Do not add
3713 $(unix-generated) to variable.
3714 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3715 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3716 Remove rule.
3717 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3718 Likewise.
3719 [generic bits/local_lim.h] (before-compile): Do not append to
3720 variable.
3721 [generic bits/local_lim.h] (common-generated): Likewise.
3722 [generic sys/param.h] (before-compile): Do not append to variable.
3723 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3724 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3725 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3726 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3727 include.
3728 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3729 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3730 [generic sys/param.h] ($(addprefix
3731 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3732 [generic sys/param.h] (common-generated): Do not append to
3733 variable.
3734 [generic sys/param.h] (sysdep_headers): Likewise.
3735 [generic bits/errno.h] (before-compile): Do not append to
3736 variable.
3737 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3738 rule.
3739 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3740 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3741 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3742 [generic bits/errno.h] (common-generated): Do not append to
3743 variable.
3744 [generic bits/ioctls.h] (before-compile): Do not append to
3745 variable.
3746 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3747 rule.
3748 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3749 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3750 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3751 rule.
3752 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3753 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3754 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3755 [generic bits/ioctls.h] (common-generated): Do not append to
3756 variable.
3757 [generic sys/syscall.h] (syscall.h): Remove variable.
3758 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3759 rule.
3760 [generic sys/syscall.h] (before-compile): Do not append to
3761 variable.
3762 [generic sys/syscall.h] (common-generated): Likewise.
3763 * sysdeps/unix/errnos-tmpl.c: Remove file.
3764 * sysdeps/unix/errnos.awk: Likewise.
3765 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3766 * sysdeps/unix/ioctls.awk: Likewise.
3767 * sysdeps/unix/mk-local_lim.c: Likewise.
3768 * sysdeps/unix/snarf-ioctls: Likewise.
3769
3770 2012-03-19 Richard Henderson <rth@twiddle.net>
3771
3772 * sysdeps/i386/fpu/fenv_private.h: New file.
3773 * sysdeps/i386/fpu/math_private.h: Use it.
3774 (math_opt_barrier, math_force_eval): Remove.
3775 (libc_feholdexcept_setround_53bit): Remove.
3776 (libc_feupdateenv_53bit): Remove.
3777 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3778 (math_opt_barrier, math_force_eval): Remove.
3779 (libc_feholdexcept): Remove.
3780 (libc_feholdexcept_setround): Remove.
3781 (libc_fetestexcept, libc_fesetenv): Remove.
3782 (libc_feupdateenv_test): Remove.
3783 (libc_feupdateenv, libc_feholdsetround): Remove.
3784 (libc_feresetround): Remove.
3785
3786 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3787 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3788
3789 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3790 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3791 (libc_feupdateenv_testl): New.
3792 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3793 (libc_feupdateenv_testf): New.
3794 (libc_feupdateenv): Use libc_feupdateenv_test.
3795 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3796 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3797
3798 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3799 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3800 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3801 (libc_feresetround_noex): New.
3802 (libc_feresetround_noexf): New.
3803 (libc_feresetround_noexl): New.
3804 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3805 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3806 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3807 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3808 SET_RESTORE_ROUND.
3809 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3810 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3811 (__cos): Likewise.
3812 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3813 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3814 SET_RESTORE_ROUND_NOEX.
3815 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3816 SET_RESTORE_ROUND_NOEXF.
3817 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3818 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3819 (libc_feholdsetroundf): New.
3820 (libc_feresetround, libc_feresetroundf): New.
3821
3822 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3823 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3824 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3825
3826 * sysdeps/generic/math_private.h: Include <fenv.h>.
3827 (default_libc_feholdexcept): New.
3828 (default_libc_feholdexcept_setround): New.
3829 (default_libc_fesetenv, default_libc_feupdateenv): New.
3830 (libc_feholdexcept): Only define if undefined.
3831 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3832 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3833 (libc_feholdexcept_setroundl): Likewise.
3834 (libc_feholdexcept_setround_53bit): Likewise.
3835 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3836 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3837 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3838 (libc_feupdateenv_53bit): Likewise.
3839 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3840 (libc_feholdexcept): Convert from macro to inline function.
3841 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3842 (libc_fesetenv, libc_feupdateenv): Likewise.
3843
3844 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3845 not previously defined.
3846 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3847 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3848 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3849 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3850 * sysdeps/ieee754/flt-32/math_private.h: New file.
3851 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3852 math_private.h below SET_FLOAT_WORD.
3853 (__isnan, __isinf_ns, __finite): Remove.
3854 (__isnanf, __isinf_nsf, __finitef): Remove.
3855
3856 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3857
3858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3859
3860 2012-03-17 David S. Miller <davem@davemloft.net>
3861
3862 [BZ #6471]
3863 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3864 for 2.16.
3865
3866 2012-03-16 David S. Miller <davem@davemloft.net>
3867
3868 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3869 warnings.
3870
3871 [BZ #6471]
3872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3873 properly.
3874 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3875 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3876 sysdep_routines when subdir is sysvipc.
3877 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3878 __getshmlba helper.
3879
3880 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3881
3882 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3883
3884 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3885 [__LP64__].
3886
3887 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3890 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3891 (__lround): Renamed to ...
3892 (__llround): This. Replace long int with long long int.
3893 Define lround functions as aliases of llround functions.
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3895
3896 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3897
3898 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3899 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3900 adresses to uintptr_t. Replace "long int" and "unsigned long
3901 int" with "greg_t" on va_arg.
3902
3903 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3904
3905 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3906 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3907
3908 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3909 Move e_machine check before EI_CLASS check. Handle x32
3910 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3911 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3912 SKIP_EM_IA_64 and include
3913 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3914
3915 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3916 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3917 (add_system_dir): New macro.
3918
3919 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3920 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3921
3922 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3923
3924 [BZ #2551]
3925 [BZ #2552]
3926 [BZ #2553]
3927 [BZ #2554]
3928 [BZ #2562]
3929 [BZ #2563]
3930 [BZ #2565]
3931 [BZ #2566]
3932 [BZ #2576]
3933 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3934 (y0): Likewise.
3935 * math/w_j0f.c (j0f): Likewise.
3936 (y0f): Likewise.
3937 * math/w_j0l.c (__j0l): Likewise.
3938 (__y0l): Likewise.
3939 * math/w_j1.c (j1): Likewise.
3940 (y1): Likewise.
3941 * math/w_j1f.c (j1f): Likewise.
3942 (y1f): Likewise.
3943 * math/w_j1l.c (__j1l): Likewise.
3944 (__y1l): Likewise.
3945 * math/w_jn.c (jn): Likewise.
3946 (yn): Likewise.
3947 * math/w_jnf.c (jnf): Likewise.
3948 (ynf): Likewise.
3949 * math/w_jnl.c (__jnl): Likewise.
3950 (__ynl): Likewise.
3951 * math/libm-test.inc (j0_test): Add more tests.
3952 (j1_test): Likewise.
3953 (jn_test): Likewise. Add trailing semicolon to existing test.
3954 (y0_test): Likewise.
3955 (y1_test): Likewise.
3956 * sysdeps/i386/fpu/libm-test-ulps: Update.
3957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3958
3959 [BZ #13851]
3960 [BZ #13854]
3961 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3962 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3963 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3964 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3965 (__tanl): Set errno for infinite argument.
3966 * sysdeps/i386/fpu/mptan.c: Remove.
3967 * sysdeps/i386/fpu/s_tan.S: Likewise.
3968 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3969 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3970 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3971 * math/libm-test.inc (tan_test): Add more tests and enable more
3972 tests for double and long double.
3973 * sysdeps/i386/fpu/libm-test-ulps: Update.
3974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3975
3976 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3977
3978 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3979 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3980
3981 2012-03-16 Roland McGrath <roland@hack.frob.com>
3982
3983 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3984 * configure.in: Use it for both main tree and add-ons.
3985 * configure: Regenerated.
3986
3987 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3990
3991 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3992
3993 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3994 in comment.
3995
3996 [BZ #13851]
3997 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3998 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3999 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4000 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4001 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4002 infinite argument.
4003 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4004 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4005 != 0 for prec == 2.
4006 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4007 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4008 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4009 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4010 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4011 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4012 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4013 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4014 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4015 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4016 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4017 * math/libm-test.inc (cos_test): Add more tests and enable more
4018 tests for long double.
4019 (sin_test): Likewise.
4020 (sincos_test): Likewise.
4021 * sysdeps/i386/fpu/libm-test-ulps: Update.
4022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4023
4024 2012-03-16 David S. Miller <davem@davemloft.net>
4025
4026 * sysdeps/sparc/fpu/math_private.h: New file.
4027
4028 2012-03-15 David S. Miller <davem@davemloft.net>
4029
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4031 file.
4032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4034 file.
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4036 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4037 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4039 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4040 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4041 sysdep routines.
4042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4043
4044 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4045 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4046
4047 * sysdeps/sparc/sparc-ifunc.h: New file.
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4049 sparc-ifunc.h
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4052 Likewise.
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4054 Likewise.
4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4059 Likewise.
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4065 Likewise.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4067 Likewise.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4076 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4077 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4078 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4079 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4081 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4087 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4089 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4090 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4091 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4092
4093 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4094
4095 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4096 scaling.
4097 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4098
4099 2012-03-15 Andreas Jaeger <aj@suse.de>
4100
4101 [BZ #13852]
4102 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4103 ieee754/flt-32 implementation for sin, cos and sincos.
4104 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4105 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4106 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4107 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4108 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4109 ieee754/flt-32 implementation for tan.
4110
4111 * math/libm-test.inc (cos_test): Enable some large input tests for
4112 float as well
4113 (sin_test): Likewise.
4114 (sincos_test): Likewise.
4115 (tan_test): Add tests for large input.
4116
4117 * sysdeps/i386/fpu/libm-test-ulps: Update.
4118
4119 2012-03-15 Andreas Jaeger <aj@suse.de>
4120
4121 [BZ #13658]
4122 * math/libm-test.inc (cos_test): Add more test cases.
4123 (sin_test): Likewise.
4124 (sincos_test): Likewise.
4125
4126 2012-03-15 Andreas Jaeger <aj@suse.de>
4127
4128 [BZ #13837]
4129 * math/libm-test.inc (cos_test): Add a test case for large input
4130 value.
4131 (sin_test): Likewise.
4132 (sincos_test): Likewise.
4133
4134 2012-03-15 Andreas Jaeger <aj@suse.de>,
4135 Joseph Myers <joseph@codesourcery.com>
4136
4137 [BZ #13658]
4138 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4139 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4140 * sysdeps/i386/fpu/branred.c: Likewise.
4141 * sysdeps/i386/fpu/dosincos.c: Likewise.
4142 * sysdeps/i386/fpu/mpa.c: Likewise.
4143 * sysdeps/i386/fpu/s_cos.S: Likewise.
4144 * sysdeps/i386/fpu/s_sin.S: Likewise.
4145 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4146 * sysdeps/i386/fpu/sincos32.c: Likewise.
4147
4148 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4149 Define.
4150 (libc_feupdateenv_53bit): Define.
4151 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4152 Define.
4153 (libc_feupdateenv_53bit): Define.
4154
4155 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4156 53 bit (without extend i386 double precision).
4157
4158 * math/libm-test.inc (sincos_test): Add tests for large input.
4159 (sin): Likewise.
4160 (cos): Likewise.
4161
4162 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4163
4164 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4165
4166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4167
4168 2012-03-15 David S. Miller <davem@davemloft.net>
4169
4170 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4171 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4172 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4186 file.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4189 file.
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4192 file.
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4195 file.
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4198 fmin/fmax sysdep routines.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4200
4201 2012-03-14 David S. Miller <davem@davemloft.net>
4202
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4206 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4232 routines.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4234 file.
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4237 file.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4240 file.
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4243 file.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4246 file.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4249 file.
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4251 file.
4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4253 file.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4255 file.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4257 New file.
4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4259 file.
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4261 file.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4264 file.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4267 file.
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4270 file.
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4273 VIS3 routines.
4274
4275 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4276 New file.
4277
4278 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4279
4280 * sysdeps/sparc/configure.in: New file.
4281 * sysdeps/sparc/configure: Generate.
4282 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4283 * configure: Regenerate.
4284 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4285 * config.make.in (have-as-vis3): New.
4286 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4287 available use -Av9d instead of -Av9a.
4288 * sysdeps/sparc/sparc64/Makefile: Likewise.
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4291 New file.
4292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4293 file.
4294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4295 New file.
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4297 file.
4298 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4299 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4300 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4301 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4302 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4303
4304 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4305 fzeros/fnegs to load 0x80000000 into a float register instead of
4306 using the stack.
4307 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4308
4309 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4310
4311 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4312 bits/syscall.h.
4313 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4314 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4315 ($(inst_includedir)/bits/syscall.h): Remove rule.
4316 ($(objpfx)bits/syscall.d): Include instead of
4317 $(objpfx)syscall-list.d.
4318 (generated): Change syscall-list.h and syscall-list.d to
4319 bits/syscall.h and bits/syscall.d.
4320
4321 2012-03-14 Roland McGrath <roland@hack.frob.com>
4322
4323 [BZ #13846]
4324 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4325
4326 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4327
4328 [BZ #13841]
4329 * math/s_csqrt.c: Include <float.h>.
4330 (__csqrt): Scale large or subnormal inputs.
4331 * math/s_csqrtf.c: Likewise.
4332 * math/s_csqrtl.c: Likewise.
4333 * math/libm-test.inc (csqrt_test): Add more tests.
4334 * sysdeps/i386/fpu/libm-test-ulps: Update.
4335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4336
4337 [BZ #13840]
4338 * math/libm-test.inc (hypot_test): Add more tests.
4339
4340 2012-03-13 David S. Miller <davem@davemloft.net>
4341
4342 [BZ #13840]
4343 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4344 double-precision for the calculation instead of scaling.
4345
4346 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4347
4348 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4349 manipulate bits before adding and subtracting TWO52[sx].
4350 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4351 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4352 Likewise.
4353 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4354
4355 2012-03-13 David S. Miller <davem@davemloft.net>
4356
4357 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4358 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4359 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4360 rtld-global-offsets.h
4361 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4362
4363 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4364 large parameters.
4365
4366 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4367
4368 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4369 'err' in the ifdef scope in which it is actually used.
4370
4371 * nss/nss_db/db-init.c: Include string.h
4372
4373 2012-03-12 David S. Miller <davem@davemloft.net>
4374
4375 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4376 masking out of the most significant byte of random value used.
4377 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4378 Fix coding style in previous change.
4379
4380 * sysdeps/unix/sysv/linux/kernel-features.h
4381 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4382 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4383 expression.
4384 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4385 later.
4386
4387 2012-03-11 David S. Miller <davem@davemloft.net>
4388
4389 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4390 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4391 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4392 for 'resultvar' otherwise things get truncated on 64-bit.
4393
4394 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4395 Fix masking out of the most significant byte of random value used.
4396
4397 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4398
4399 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4400
4401 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4402
4403 2012-03-09 David S. Miller <davem@davemloft.net>
4404
4405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4406 variables with appropriate CPP guards.
4407 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4408 frame pointer, not the stack pointer. Correct layout comments. Fix test
4409 on resulting framesize and the management of the outregs buffer for pltexit.
4410 Preserve floating point return values across _dl_call_pltexit call.
4411 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4412 framesize and the management of the outregs buffer for pltexit.
4413 Preserve floating point return values across _dl_call_pltexit
4414 call.
4415 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4416 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4417 (print_exit): Fix format string for return register value.
4418
4419 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4420
4421 * sunrpc/Makefile (others): Add rpcgen.
4422 ($(objpfx)rpcgen): Remove special build rule and dependency on
4423 libc.
4424 * sunrpc/rpcgen.c: New file.
4425
4426 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4427
4428 [BZ #13673]
4429 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4430 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4431 * sysdeps/i386/crti.S: Likewise.
4432 * sysdeps/i386/crtn.S: Likewise.
4433 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4434 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4435 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4436 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4437 * sysdeps/sh/crti.S: Likewise.
4438 * sysdeps/sh/crtn.S: Likewise.
4439 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4440
4441 [BZ #13673]
4442 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4443 with URL.
4444 * locale/programs/locfile-kw.gperf: Likewise.
4445 * locale/programs/charmap-kw.h: Regenerated.
4446 * locale/programs/locfile-kw.h: Likewise.
4447
4448 [BZ #13673]
4449 * intl/plural.y: Replace FSF snail mail address with URL.
4450 * intl/plural.c: Regenerated.
4451
4452 2012-03-09 Richard Henderson <rth@twiddle.net>
4453
4454 * include/math_private.h: Remove file.
4455 * math/math_private.h: Move file ...
4456 * sysdeps/generic/math_private.h: ... here.
4457
4458 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4459 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4460 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4461
4462 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4463 and <math_private.h>.
4464 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4465 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4466 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4467 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4468 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4470 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4552 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4553 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4554 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4555 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4556 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4557 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4558 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4559 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4560 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4561 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4562 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4563 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4564 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4565 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4566 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4567 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4568 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4569 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4570 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4571 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4573 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4574 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4576 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4577 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4580 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4583 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4584 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4585 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4586 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4593 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4594 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4595 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4596 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4597 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4598 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4607 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4608 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4609 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4610 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4611 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4612 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4613 * sysdeps/ieee754/k_standard.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4729 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4741 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4774 * sysdeps/ieee754/s_lib_version.c: Likewise.
4775 * sysdeps/ieee754/s_matherr.c: Likewise.
4776 * sysdeps/ieee754/s_signgam.c: Likewise.
4777 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4778 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4779 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4780 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4781 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4782 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4783 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4784 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4785 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4786 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4787 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4788 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4789 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4790 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4791 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4792 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4793 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4794 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4795 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4796 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4797 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4798
4799 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4800
4801 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4802 * sunrpc/rpc_main.c: Likewise.
4803 * sunrpc/rpc_svcout.c: Likewise.
4804
4805 2012-03-09 David S. Miller <davem@davemloft.net>
4806
4807 * include/math_private.h: New file.
4808
4809 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4810
4811 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4812 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4813 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4814 from <bits/socket_type.h>.
4815 (enum __socket_type): Don't define here.
4816 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4817 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4818 bits/socket_type.h.
4819
4820 [BZ #13566]
4821 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4822 checking __USE_GNU.
4823
4824 * Makerules ($(inst_includedir)/%.h): New rule.
4825 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4826 (install-others): Remove variable setting.
4827 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4828
4829 2012-03-08 Richard Henderson <rth@twiddle.net>
4830
4831 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4832 from macro to inline function; merge with the
4833 !__LIBC_INTERNAL_MATH_INLINES version.
4834 (__ieee754_sqrtf): Likewise.
4835
4836 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4837 to inline function.
4838 (__rintf, __floor, __floorf): Likewise.
4839
4840 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4841 macro to inline function.
4842 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4843
4844 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4845 not <math/math_private.h>.
4846
4847 2012-03-08 David S. Miller <davem@davemloft.net>
4848
4849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4850 copyright year.
4851 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4852
4853 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4854
4855 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4856 normalization.
4857 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4858 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4859
4860 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4861
4862 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4863 be defined individually, they must be defined as a block. Define
4864 S for printing a string instead of hidint the different by using a
4865 macro for adding the 'l'.
4866 * stdio-common/tst-fphex-wide.c: Adjust.
4867
4868 2012-03-07 Marek Polacek <polacek@redhat.com>
4869
4870 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4871
4872 2012-03-08 Marek Polacek <polacek@redhat.com>
4873
4874 [BZ #13806]
4875 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4876 * stdio-common/tst-fphex.c: Define a few macros to make the
4877 test reusable. Use them.
4878 * stdio-common/tst-fphex-wide.c: New file.
4879
4880 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4881
4882 [BZ #6911]
4883 * manual/macros.texi (gnusystems): New macro.
4884 (nongnusystems): Likewise.
4885 (gnulinuxhurdsystems): Likewise.
4886 (gnuhurdsystems): Likewise..
4887 (gnulinuxsystems): Likewise.
4888 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4889 variants of the GNU system, not "GNU system".
4890 * manual/conf.texi: Likewise.
4891 * manual/errno.texi: Likewise. Update example of errno macro
4892 expansion.
4893 * manual/filesys.texi: Likewise.
4894 (getumask): Document as specific to GNU/Hurd.
4895 * manual/install.texi: Likewise. Reword some references to
4896 GNU/Linux.
4897 * manual/intro.texi: Likewise.
4898 * manual/io.texi: Likewise.
4899 (File Name Portability): Detail which constraints are inapplicable
4900 to all GNU systems and which are only inapplicable to GNU/Hurd.
4901 * manual/job.texi: Likewise.
4902 * manual/llio.texi: Likewise.
4903 (O_NOCTTY): Document as present on GNU/Linux.
4904 * manual/maint.texi: Likewise.
4905 * manual/memory.texi: Likewise.
4906 * manual/pattern.texi: Likewise.
4907 * manual/pipe.texi: Likewise.
4908 * manual/process.texi: Likewise.
4909 * manual/resource.texi: Likewise.
4910 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4911 child on GNU/Hurd.
4912 * manual/setjmp.texi: Likewise.
4913 * manual/signal.texi: Likewise.
4914 * manual/startup.texi: Likewise.
4915 * manual/stdio.texi: Likewise.
4916 * manual/terminal.texi: Likewise.
4917 (ONLCR): Document as POSIX.
4918 (OXTABS): Document availability on GNU/Linux as XTABS.
4919 (ONOEOT): Document availability separately from other bits.
4920 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4921 * manual/time.texi: Likewise.
4922 * manual/users.texi: Likewise.
4923 * INSTALL: Regenerated.
4924 * sysdeps/gnu/errlist.c: Regenerated.
4925
4926 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4927 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4928 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4929 puts.
4930 * configure: Regenerated.
4931
4932 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4933
4934 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4935 default includes instead of AC_HEADER_CHECK.
4936 * sysdeps/i386/configure: Regenerated.
4937
4938 [BZ #10716]
4939 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4940 * math/s_cacoshf.c (__cacoshf): Likewise.
4941 * math/s_cacoshl.c (__cacoshl): Likewise.
4942 * math/s_casinh.c (__casinh): Set signs of result from argument.
4943 * math/s_casinhf.c (__casinhf): Likewise.
4944 * math/s_casinhl.c (__casinhl): Likewise.
4945 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4946 (casinh_test): Add more tests.
4947 * sysdeps/i386/fpu/libm-test-ulps: Update.
4948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4949
4950 2012-03-07 Ulrich Drepper <drepper@gmail.com>
4951
4952 * po/zh_TW.po: Update from translation team.
4953
4954 * login/Makefile (distribute): Remove variable.
4955 * catgets/Makefile: Likewise.
4956 * mach/Makefile: Likewise.
4957 * malloc/Makefile: Likewise.
4958 * misc/Makefile: Likewise.
4959 * iconv/Makefile: Likewise.
4960 * nscd/Makefile: Likewise.
4961 * hurd/Makefile: Likewise.
4962 * manual/Makefile: Likewise.
4963 * locale/Makefile: Likewise.
4964 * intl/Makefile: Likewise.
4965 * conform/Makefile: Likewise.
4966 * nss/Makefile: Likewise.
4967 * time/Makefile: Likewise.
4968 * soft-fp/Makefile: Likewise.
4969 * dirent/Makefile: Likewise.
4970 * gmon/Makefile: Likewise.
4971 * po/Makefile: Likewise.
4972 * rt/Makefile: Likewise.
4973 * socket/Makefile: Likewise.
4974 * math/Makefile: Likewise.
4975 * signal/Makefile: Likewise.
4976 * debug/Makefile: Likewise.
4977 * elf/Makefile: Likewise.
4978 * timezone/Makefile: Likewise.
4979 * stdlib/Makefile: Likewise.
4980 * iconvdata/Makefile: Likewise.
4981 * sunrpc/Makefile: Likewise.
4982 * io/Makefile: Likewise.
4983 * argp/Makefile: Likewise.
4984 * inet/Makefile: Likewise.
4985 * hesiod/Makefile: Likewise.
4986 * grp/Makefile: Likewise.
4987 * csu/Makefile: Likewise.
4988 * wctype/Makefile: Likewise.
4989 * crypt/Makefile: Likewise.
4990 * libio/Makefile: Likewise.
4991 * string/Makefile: Likewise.
4992 * nis/Makefile: Likewise.
4993 * resolv/Makefile: Likewise.
4994 * stdio-common/Makefile: Likewise.
4995 * wcsmbs/Makefile: Likewise.
4996 * dlfcn/Makefile: Likewise.
4997 * posix/Makefile: Likewise.
4998
4999 [BZ #6959]
5000 * timezone/Makefile: Don't install timezone files, just the programs
5001 and scripts.
5002
5003 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5004
5005 * nss/databases.def: Add missing gshadow entry.
5006
5007 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5008
5009 2012-03-06 Marek Polacek <polacek@redhat.com>
5010
5011 [BZ #13726]
5012 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5013 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5014 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5015 * stdio-common/tst-long-dbl-fphex.c: New file.
5016
5017 2012-03-06 David S. Miller <davem@davemloft.net>
5018
5019 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5020 (set_obp_int): New function.
5021 (get_obp_int): New function.
5022 (__get_clockfreq_via_dev_openprom): Likewise.
5023 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5024 Avoid unused variable warnings on 'val' and use builtin_expect.
5025 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5026 __builtin_expect.
5027 (INLINE_CLONE_SYSCALL): Likewise.
5028
5029 2012-03-05 David S. Miller <davem@davemloft.net>
5030
5031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5032
5033 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5034
5035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5036
5037 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5038 only for |x| >= 40.
5039 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5040
5041 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5042
5043 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5044 Replace gettimeofday with __vdso_gettimeofday.
5045
5046 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5047 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5048 __vdso_clock_gettime and __vdso_getcpu.
5049
5050 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5051 time with __vdso_time.
5052
5053 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5054
5055 * manual/lang.texi (size_t): Note types to which size_t may be
5056 equivalent with the GNU C Library, but do not describe when
5057 differences between them are significant.
5058
5059 2012-03-05 Andreas Jaeger <aj@suse.de>
5060
5061 * sysdeps/i386/fpu/libm-test-ulps: Update.
5062
5063 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5064
5065 [BZ #3976]
5066 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5067 (__ieee754_pow): Save and restore rounding mode and use
5068 round-to-nearest for main computations.
5069 * math/libm-test.inc (pow_test_tonearest): New function.
5070 (pow_test_towardzero): Likewise.
5071 (pow_test_downward): Likewise.
5072 (pow_test_upward): Likewise.
5073 (main): Call the new functions.
5074 * sysdeps/i386/fpu/libm-test-ulps: Update.
5075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5076
5077 [BZ #3976]
5078 * math/libm-test.inc (cosh_test_tonearest): New function.
5079 (cosh_test_towardzero): Likewise.
5080 (cosh_test_downward): Likewise.
5081 (cosh_test_upward): Likewise.
5082 (sinh_test_tonearest): Likewise.
5083 (sinh_test_towardzero): Likewise.
5084 (sinh_test_downward): Likewise.
5085 (sinh_test_upward): Likewise.
5086 (main): Call the new functions.
5087 * sysdeps/i386/fpu/libm-test-ulps: Update.
5088 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5089
5090 2012-03-05 Tom de Vries <tom@codesourcery.com>
5091
5092 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5093 default stack guard is set in last bytes.
5094 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5095
5096 2012-03-05 Kees Cook <keescook@chromium.org>
5097
5098 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5099
5100 [BZ #13656]
5101 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5102 possibly allocate from heap instead of stack.
5103 * stdio-common/bug-vfprintf-nargs.c: New file.
5104 * stdio-common/Makefile (tests): Add nargs overflow test.
5105
5106 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5107
5108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5109
5110 2012-03-03 Marek Polacek <polacek@redhat.com>
5111
5112 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5113 * math/math_private.h: Likewise.
5114 * stdlib/tst-strtod.c: Likewise.
5115 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5116 * sysdeps/x86_64/bits/atomic.h: Likewise.
5117
5118 2012-03-02 David S. Miller <davem@davemloft.net>
5119
5120 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5124 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5125 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5126 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5127 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5128
5129 2012-03-02 Roland McGrath <roland@hack.frob.com>
5130
5131 [BZ #13792]
5132 * manual/examples/README: New file, says the example source files
5133 can be used under GPL>=2.
5134 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5135 line containing just "*/".
5136 * manual/examples/add.c: Add copyright header (GPL>=2).
5137 * manual/examples/argp-ex1.c: Likewise.
5138 * manual/examples/argp-ex2.c: Likewise.
5139 * manual/examples/argp-ex3.c: Likewise.
5140 * manual/examples/argp-ex4.c: Likewise.
5141 * manual/examples/atexit.c: Likewise.
5142 * manual/examples/db.c: Likewise.
5143 * manual/examples/dir.c: Likewise.
5144 * manual/examples/dir2.c: Likewise.
5145 * manual/examples/execinfo.c: Likewise.
5146 * manual/examples/filecli.c: Likewise.
5147 * manual/examples/filesrv.c: Likewise.
5148 * manual/examples/fmtmsgexpl.c: Likewise.
5149 * manual/examples/genpass.c: Likewise.
5150 * manual/examples/inetcli.c: Likewise.
5151 * manual/examples/inetsrv.c: Likewise.
5152 * manual/examples/isockad.c: Likewise.
5153 * manual/examples/longopt.c: Likewise.
5154 * manual/examples/memopen.c: Likewise.
5155 * manual/examples/memstrm.c: Likewise.
5156 * manual/examples/mkfsock.c: Likewise.
5157 * manual/examples/mkisock.c: Likewise.
5158 * manual/examples/mygetpass.c: Likewise.
5159 * manual/examples/pipe.c: Likewise.
5160 * manual/examples/popen.c: Likewise.
5161 * manual/examples/rprintf.c: Likewise.
5162 * manual/examples/search.c: Likewise.
5163 * manual/examples/select.c: Likewise.
5164 * manual/examples/setjmp.c: Likewise.
5165 * manual/examples/sigh1.c: Likewise.
5166 * manual/examples/sigusr.c: Likewise.
5167 * manual/examples/stpcpy.c: Likewise.
5168 * manual/examples/strdupa.c: Likewise.
5169 * manual/examples/strftim.c: Likewise.
5170 * manual/examples/strncat.c: Likewise.
5171 * manual/examples/subopt.c: Likewise.
5172 * manual/examples/swapcontext.c: Likewise.
5173 * manual/examples/termios.c: Likewise.
5174 * manual/examples/testopt.c: Likewise.
5175 * manual/examples/testpass.c: Likewise.
5176 * manual/examples/timeval_subtract.c: Likewise.
5177
5178 [BZ #13792]
5179 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5180 function to ...
5181 * manual/timeval_subtract.c.texi: ... here, new file.
5182
5183 2012-03-02 David S. Miller <davem@davemloft.net>
5184
5185 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5186
5187 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #3976]
5190 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5191 (__sin): Save and restore rounding mode and use round-to-nearest
5192 for all computations.
5193 (__cos): Save and restore rounding mode and use round-to-nearest
5194 for all computations.
5195 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5196 <fenv.h>.
5197 (tan): Save and restore rounding mode and use round-to-nearest for
5198 all computations.
5199 * math/libm-test.inc (cos_test_tonearest): New function.
5200 (cos_test_towardzero): Likewise.
5201 (cos_test_downward): Likewise.
5202 (cos_test_upward): Likewise.
5203 (sin_test_tonearest): Likewise.
5204 (sin_test_towardzero): Likewise.
5205 (sin_test_downward): Likewise.
5206 (sin_test_upward): Likewise.
5207 (tan_test_tonearest): Likewise.
5208 (tan_test_towardzero): Likewise.
5209 (tan_test_downward): Likewise.
5210 (tan_test_upward): Likewise.
5211 (main): Call the new functions.
5212 * sysdeps/i386/fpu/libm-test-ulps: Update.
5213 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5214
5215 [BZ #10135]
5216 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5217 small n, then large n, before computing and testing k+n.
5218 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5219 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5220 Likewise.
5221 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5222 Likewise.
5223 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5224 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5225 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5226 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5227 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5228 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5229 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5230 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5231 * math/libm-test.inc (scalbn_test): Add more tests.
5232 (scalbln_test): Likewise.
5233
5234 * manual/filesys.texi (mode_t): Describe constraints on size and
5235 signedness, not exact equivalence to a particular type.
5236 (ino_t): Likewise.
5237 (ino64_t): Likewise.
5238 (dev_t): Likewise.
5239 (nlink_t): Likewise.
5240 (blkcnt_t): Likewise.
5241 (blkcnt64_t): Likewise.
5242 * manual/llio.texi (off_t): Likewise.
5243
5244 [BZ #3976]
5245 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5246 (__ieee754_exp): Save and restore rounding mode and use
5247 round-to-nearest for all computations.
5248 * math/libm-test.inc (exp_test_tonearest): New function.
5249 (exp_test_towardzero): Likewise.
5250 (exp_test_downward): Likewise.
5251 (exp_test_upward): Likewise.
5252 (main): Call the new functions.
5253 * sysdeps/i386/fpu/libm-test-ulps: Update.
5254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5255
5256 2012-03-01 Chris Demetriou <cgd@google.com>
5257
5258 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5259 have predictable order.
5260
5261 2012-03-01 David S. Miller <davem@davemloft.net>
5262
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5264
5265 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5266 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5267 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5268 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5269
5270 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5271 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5272 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5274 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5275 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5276 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5277 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5278 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5279
5280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5281
5282 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5283 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5284 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5285
5286 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5287 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5288 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5289 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5290 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5291 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5292 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5293 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5294 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5295 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5296 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5297 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5301 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5302 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5303 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5304 * sysdeps/sparc/elf/configure: Regenerated.
5305
5306 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5307
5308 * configure.in (AS, LD): Require binutils 2.20 or later.
5309 * configure: Regenerated.
5310 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5311 as required minimum version.
5312 * INSTALL: Regenerated.
5313
5314 [BZ #2541]
5315 [BZ #4108]
5316 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5317 before squaring exponent.
5318 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5319 bottom long double and 27 bits of top long double before squaring
5320 exponent.
5321 * math/libm-test.inc (erfc_test): Add more tests.
5322 * sysdeps/i386/fpu/libm-test-ulps: Update.
5323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5325
5326 2012-03-01 Kai Tietz <ktietz@redhat.com>
5327
5328 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5329 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5330 containing bit-fields.
5331 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5332 * soft-fp/single.h (_FP_UNION_S): Likewise.
5333 * soft-fp/double.h (_FP_UNION_D): Likewise.
5334
5335 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5336
5337 [BZ #13786]
5338 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5339 not include ../strcmp.S.
5340 [USE_AS_STRNCASECMP_L]: Likewise.
5341 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5342 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5343 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5344 (__strncasecmp_l_ia32): Define as alias to
5345 __strncasecmp_l_nonascii.
5346
5347 [BZ #5794]
5348 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5349 * sysdeps/i386/fpu/libm-test-ulps: Update.
5350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5351
5352 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5354
5355 2012-02-29 Jeff Law <law@redhat.com>
5356
5357 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5358 out of bounds read.
5359
5360 2012-02-29 Marek Polacek <polacek@redhat.com>
5361
5362 [BZ #13706]
5363 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5364 * elf/Makefile: Add rules to run tst-unused-dep.out.
5365
5366 2012-02-28 David S. Miller <davem@davemloft.net>
5367
5368 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5369 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5370 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5371 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5372 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5373 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5374
5375 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5376
5377 * math/libm-test.inc (llround_test): Move one test from
5378 lround_test. Use TEST_f_L in moved test.
5379 (lround_test): Move misplaced test to llround_test. Add testcase
5380 from bug 2561.
5381
5382 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5383
5384 * sysdeps/x86_64/fpu/e_expf.S: New file.
5385 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5386
5387 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5388
5389 [BZ #13637]
5390 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5391 of remain_len that may cause incomplete multi-byte character and
5392 false match.
5393 * posix/bug-regex33.c: New file.
5394 * posix/Makefile (tests): Add bug-regex33.
5395
5396 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5397
5398 * manual/macros.texi: New file.
5399 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5400 * manual/libc.texinfo: Include macros.texi.
5401 * manual/creatute.texi: Likewise.
5402 * manual/install.texi: Likewise.
5403 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5404 @glibcadj{} in references to the GNU C Library.
5405 * manual/charset.texi: Likewise.
5406 * manual/conf.texi: Likewise.
5407 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5408 when not using those macros.
5409 * manual/creature.texi: Likewise.
5410 * manual/crypt.texi: Likewise.
5411 * manual/errno.texi: Likewise.
5412 * manual/filesys.texi: Likewise.
5413 * manual/header.texi: Likewise.
5414 * manual/install.texi: Likewise.
5415 * manual/intro.texi: Likewise.
5416 * manual/io.texi: Likewise.
5417 * manual/job.texi: Likewise.
5418 * manual/lang.texi: Likewise.
5419 * manual/libc.texiinfo: Likewise.
5420 * manual/llio.texi: Likewise.
5421 * manual/locale.texi: Likewise.
5422 * manual/maint.texi: Likewise.
5423 * manual/math.texi: Likewise.
5424 * manual/memory.texi: Likewise.
5425 * manual/message.texi: Likewise.
5426 * manual/nss.texi: Likewise.
5427 * manual/pattern.texi: Likewise.
5428 * manual/process.texi: Likewise.
5429 * manual/resource.texi: Likewise.
5430 * manual/search.texi: Likewise.
5431 * manual/setjmp.texi: Likewise.
5432 * manual/signal.texi: Likewise.
5433 * manual/socket.texi: Likewise.
5434 * manual/startup.texi: Likewise.
5435 * manual/stdio.texi: Likewise.
5436 * manual/string.texi: Likewise.
5437 * manual/sysinfo.texi: Likewise.
5438 * manual/syslog.texi: Likewise.
5439 * manual/terminal.texi: Likewise.
5440 * manual/time.texi: Likewise.
5441 * manual/users.texi: Likewise.
5442 * INSTALL: Regenerated.
5443 * NOTES: Regenerated.
5444 * sysdeps/gnu/errlist.c: Regenerated.
5445
5446 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5447
5448 * include/dirent.h: Include <dirstream.h> before
5449 <dirent/dirent.h>.
5450
5451 2012-02-28 David S. Miller <davem@davemloft.net>
5452
5453 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5454 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5455 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5456 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5457
5458 2012-02-27 David S. Miller <davem@davemloft.net>
5459
5460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5461 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5462 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5463 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5464
5465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5466 frame pointer instead of stack pointer relative arg slot.
5467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5468 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5469 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5470
5471 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5472
5473 [BZ #3992]
5474 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5475
5476 2012-02-27 David S. Miller <davem@davemloft.net>
5477
5478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5480 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5481 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5482 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5483 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5484 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5485 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5486
5487 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5488
5489 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5490 later. Allow versions 5-9.
5491 * configure: Regenerated.
5492 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5493 required minimum version and 4.6 as recommended version. Do not
5494 mention bugs in GCC 2.7 and 2.8.
5495 * INSTALL: Regenerated.
5496
5497 2012-02-27 David S. Miller <davem@davemloft.net>
5498
5499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5500 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5501 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5503 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5504 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5505 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5506 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5507
5508 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5509 manipulate bits before adding and subtracting TWO112[sx].
5510 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5511
5512 2012-02-27 Roland McGrath <roland@hack.frob.com>
5513
5514 [BZ #13775]
5515 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5516 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5517 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5518 being in POSIX, because they are in 1003.1-2008.
5519
5520 * rt/tst-aio.c: Include <fcntl.h>.
5521 * rt/tst-aio7.c: Likewise.
5522 * rt/tst-aio64.c: Likewise.
5523
5524 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5525
5526 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5527
5528 * manual/install.texi (--with-headers): Describe headers as
5529 interface headers, not private headers.
5530 (Specific advice for GNU/Linux systems): Describe use of headers
5531 from "make headers_install", not private headers from older
5532 kernels.
5533 * INSTALL: Regenerated.
5534 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5535 Change to 2.6.19.
5536 * sysdeps/unix/sysv/linux/configure: Regenerated.
5537
5538 * manual/llio.texi (fclean): Remove documentation.
5539
5540 * manual/Makefile (libc-texi-generated): New variable. Include
5541 version.texi.
5542 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5543 $(libc-texi-generated), not duplicated list of files.
5544 (version.texi, stamp-version): New rules.
5545 (realclean): Remove $(libc-texi-generated), not individual files
5546 from that list. Do not remove dir-add.texinfo.
5547 * manual/libc.texinfo: Comment out uses of edition numbers and
5548 references to printed manual. Remove last-updated dates.
5549 (EDITION): Comment out.
5550 (ISBN): Likewise.
5551 (VERSION, UPDATED): Remove.
5552 (version.texi): Include.
5553
5554 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5555
5556 * sysdeps/posix/spawni.c: Include <signal.h>.
5557 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5558 * sysdeps/pthread/aio_fsync.c: Likewise.
5559
5560 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5561
5562 * conform/Makefile (tests): Run only when not cross-compiling and
5563 when fast-check is not defined.
5564
5565 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5566 * conform/data/limits.h-data: Fixes for POSIX2008.
5567 * conform/run-conformtest.sh: Run all tests.
5568 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5569 headers.
5570 * include/bits/dlfcn.h: Likewise.
5571 * include/langinfo.h: Likewise.
5572 * include/monetary.h: Likewise.
5573 * include/sys/poll.h: Likewise.
5574
5575 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5576 for __USE_GNU.
5577 * posix/spawn.h: Define __need_sigset_t.
5578 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5579 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5580 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5581 to get sigevent_t only.
5582 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5583 only for __USE_GNU.
5584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5585 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5586 process_vm_writev only for __USE_GNU.
5587 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5588
5589 * conform/Makefile: For now ignore errors from run-conformtest.
5590 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5591 POSIX to avoid namespace pollution. Don't prepend headers.
5592 * conform/data/aio.h-data: Fixes for POSIX testing.
5593 * conform/data/fcntl.h-data: Likewise.
5594 * conform/data/glob.h-data: Likewise.
5595 * conform/data/grp.h-data: Likewise.
5596 * conform/data/pthread.h-data: Likewise.
5597 * conform/data/pwd.h-data: Likewise.
5598 * conform/data/signal.h-data: Likewise.
5599 * conform/data/spawn.h-data: Likewise.
5600 * conform/data/stdio.h-data: Likewise.
5601 * conform/data/stdlib.h-data: Likewise.
5602 * conform/data/stropts.h-data: Likewise.
5603 * conform/data/sys/mman.h-data: Likewise.
5604 * conform/data/sys/stat.h-data: Likewise.
5605 * conform/data/sys/types.h-data: Likewise.
5606 * conform/data/sys/wait.h-data: Likewise.
5607 * conform/data/time.h-data: Likewise.
5608 * conform/data/unistd.h-data: Likewise.
5609 * conform/data/utime.h-data: Likewise.
5610
5611 * io/sys/stat.h: fchmod was always in POSIX.
5612 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5613 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5614 * rt/aio.h: Define __need_timespec before including <time.h>.
5615 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5616 struct. Add forward declaration of pthread_attr_t and use it in
5617 sigevent.
5618 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5619 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5620 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5621 always remove CLK_TCK definition.
5622
5623 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5624
5625 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5626
5627 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5628
5629 * conform/run-conformtest.sh: New file.
5630 * conform/Makefile: Run run-conformtest for tests.
5631 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5632 support.
5633
5634 * conform/data/uchar.h-data: New file.
5635 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5636 * conform/data/arpa/inet.h-data: Likewise.
5637 * conform/data/assert.h-data: Likewise.
5638 * conform/data/complex.h-data: Likewise.
5639 * conform/data/cpio.h-data: Likewise.
5640 * conform/data/ctype.h-data: Likewise.
5641 * conform/data/dirent.h-data: Likewise.
5642 * conform/data/dlfcn.h-data: Likewise.
5643 * conform/data/errno.h-data: Likewise.
5644 * conform/data/fcntl.h-data: Likewise.
5645 * conform/data/float.h-data: Likewise.
5646 * conform/data/fmtmsg.h-data: Likewise.
5647 * conform/data/fnmatch.h-data: Likewise.
5648 * conform/data/ftw.h-data: Likewise.
5649 * conform/data/glob.h-data: Likewise.
5650 * conform/data/grp.h-data: Likewise.
5651 * conform/data/iconv.h-data: Likewise.
5652 * conform/data/inttypes.h-data: Likewise.
5653 * conform/data/langinfo.h-data: Likewise.
5654 * conform/data/libgen.h-data: Likewise.
5655 * conform/data/limits.h-data: Likewise.
5656 * conform/data/locale.h-data: Likewise.
5657 * conform/data/math.h-data: Likewise.
5658 * conform/data/monetary.h-data: Likewise.
5659 * conform/data/mqueue.h-data: Likewise.
5660 * conform/data/ndbm.h-data: Likewise.
5661 * conform/data/net/if.h-data: Likewise.
5662 * conform/data/netdb.h-data: Likewise.
5663 * conform/data/netinet/in.h-data: Likewise.
5664 * conform/data/nl_types.h-data: Likewise.
5665 * conform/data/poll.h-data: Likewise.
5666 * conform/data/pthread.h-data: Likewise.
5667 * conform/data/pwd.h-data: Likewise.
5668 * conform/data/regex.h-data: Likewise.
5669 * conform/data/sched.h-data: Likewise.
5670 * conform/data/search.h-data: Likewise.
5671 * conform/data/semaphore.h-data: Likewise.
5672 * conform/data/setjmp.h-data: Likewise.
5673 * conform/data/signal.h-data: Likewise.
5674 * conform/data/spawn.h-data: Likewise.
5675 * conform/data/stdarg.h-data: Likewise.
5676 * conform/data/stdio.h-data: Likewise.
5677 * conform/data/stdlib.h-data: Likewise.
5678 * conform/data/string.h-data: Likewise.
5679 * conform/data/strings.h-data: Likewise.
5680 * conform/data/stropts.h-data: Likewise.
5681 * conform/data/sys/ipc.h-data: Likewise.
5682 * conform/data/sys/mman.h-data: Likewise.
5683 * conform/data/sys/msg.h-data: Likewise.
5684 * conform/data/sys/resource.h-data: Likewise.
5685 * conform/data/sys/select.h-data: Likewise.
5686 * conform/data/sys/sem.h-data: Likewise.
5687 * conform/data/sys/shm.h-data: Likewise.
5688 * conform/data/sys/socket.h-data: Likewise.
5689 * conform/data/sys/stat.h-data: Likewise.
5690 * conform/data/sys/statvfs.h-data: Likewise.
5691 * conform/data/sys/time.h-data: Likewise.
5692 * conform/data/sys/timeb.h-data: Likewise.
5693 * conform/data/sys/times.h-data: Likewise.
5694 * conform/data/sys/types.h-data: Likewise.
5695 * conform/data/sys/uio.h-data: Likewise.
5696 * conform/data/sys/un.h-data: Likewise.
5697 * conform/data/sys/utsname.h-data: Likewise.
5698 * conform/data/sys/wait.h-data: Likewise.
5699 * conform/data/syslog.h-data: Likewise.
5700 * conform/data/tar.h-data: Likewise.
5701 * conform/data/termios.h-data: Likewise.
5702 * conform/data/utime.h-data: Likewise.
5703 * conform/data/utmpx.h-data: Likewise.
5704 * conform/data/varargs.h-data: Likewise.
5705 * conform/data/wchar.h-data: Likewise.
5706 * conform/data/wctype.h-data: Likewise.
5707 * conform/data/wordexp.h-data: Likewise.
5708
5709 * include/stropts.h: New file.
5710 * include/uchar.h: New file.
5711 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5712 * include/assert.h: Likewise.
5713 * include/ctype.h: Likewise.
5714 * include/dirent.h: Likewise.
5715 * include/dlfcn.h: Likewise.
5716 * include/fcntl.h: Likewise.
5717 * include/fnmatch.h: Likewise.
5718 * include/glob.h: Likewise.
5719 * include/grp.h: Likewise.
5720 * include/libio.h: Likewise.
5721 * include/locale.h: Likewise.
5722 * include/math.h: Likewise.
5723 * include/net/if.h: Likewise.
5724 * include/netdb.h: Likewise.
5725 * include/netinet/in.h: Likewise.
5726 * include/pthread.h: Likewise.
5727 * include/pwd.h: Likewise.
5728 * include/regex.h: Likewise.
5729 * include/sched.h: Likewise.
5730 * include/search.h: Likewise.
5731 * include/setjmp.h: Likewise.
5732 * include/signal.h: Likewise.
5733 * include/stdio.h: Likewise.
5734 * include/stdlib.h: Likewise.
5735 * include/string.h: Likewise.
5736 * include/sys/cdefs.h: Likewise.
5737 * include/sys/mman.h: Likewise.
5738 * include/sys/msg.h: Likewise.
5739 * include/sys/resource.h: Likewise.
5740 * include/sys/select.h: Likewise.
5741 * include/sys/socket.h: Likewise.
5742 * include/sys/stat.h: Likewise.
5743 * include/sys/statvfs.h: Likewise.
5744 * include/sys/time.h: Likewise.
5745 * include/sys/times.h: Likewise.
5746 * include/sys/uio.h: Likewise.
5747 * include/sys/utsname.h: Likewise.
5748 * include/sys/wait.h: Likewise.
5749 * include/termios.h: Likewise.
5750 * include/time.h: Likewise.
5751 * include/ulimit.h: Likewise.
5752 * include/unistd.h: Likewise.
5753 * include/utime.h: Likewise.
5754 * include/wchar.h: Likewise.
5755 * include/wctype.h: Likewise.
5756 * include/wordexp.h: Likewise.
5757
5758 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5759
5760 * time/time.h: TIME_UTC must be a macro.
5761 Make timespec_get available for ISO C11 only as well.
5762
5763 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5764
5765 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5766 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5767
5768 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5769
5770 * configure.in: Use -o not -a in test for unsupported multi-arch.
5771
5772 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5773
5774 * manual/texinfo.tex: Update to version 2012-01-19.16.
5775
5776 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5777
5778 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5779
5780 2012-02-24 Roland McGrath <roland@hack.frob.com>
5781
5782 [BZ #13738]
5783 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5784 * manual/fdl-1.3.texi: New file.
5785 * manual/fdl-1.1.texi: File removed.
5786
5787 [BZ #13738]
5788 * manual/libc.texinfo (FDL_VERSION): New @set.
5789 Use it for mention of FDL in cover text.
5790 (Documentation License): Use it in @include file name.
5791
5792 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5793 Roland McGrath <roland@hack.frob.com>
5794
5795 [BZ #5461]
5796 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5797 not LONG_LONG_MAX and LONG_LONG_MIN.
5798 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5799 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5800 name.
5801 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5802
5803 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5804
5805 [BZ #2547]
5806 [BZ #11365]
5807 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5808 manipulate bits before adding and subtracting TWO23[sx].
5809 * math/libm-test.inc (nearbyint_test): Add more tests.
5810
5811 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5812
5813 [BZ #2548]
5814 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5815 bits before adding and subtracting TWO23[sx].
5816 * math/libm-test.inc (rint_test): Add more tests.
5817 (rint_test_tonearest): Likewise.
5818 (rint_test_towardzero): Likewise.
5819 (rint_test_downward): Likewise.
5820 (rint_test_upward: Likewise.
5821
5822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5823
5824 [BZ #10110]
5825 * include/stdc-predef.h: New file. Extracted from features.h.
5826 * include/features.h: Include stdc-predef.h.
5827 * Makefile (headers): Add stdc-predef.h.
5828 * CONFORMANCE (Compiler limitations): Update.
5829
5830 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5831
5832 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5833
5834 2012-02-21 David S. Miller <davem@davemloft.net>
5835
5836 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5837 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5838
5839 2012-02-20 David S. Miller <davem@davemloft.net>
5840
5841 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5842 using a normal save/restore sequence, rather than allocating a
5843 dummy stack frame just to store a frame pointer and restore.
5844 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5845
5846 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5847
5848 * manual/install.texi: Fix stray word in line-wrapped comment.
5849
5850 2012-02-20 David S. Miller <davem@davemloft.net>
5851
5852 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5853 both binutils and gcc support GOTDATA.
5854
5855 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5856 "rd %pc" in the PIC register setup sequences.
5857
5858 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5859 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5860 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5861 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5862 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5863 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5864 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5865 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5866 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5867 (SYSCALL_ERROR_HANDLER): Likewise.
5868 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5869 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5870 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5871 (SYSCALL_ERROR_HANDLER): Likewise.
5872
5873 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5874 (HAVE_GCC_GOTDATA): New.
5875 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5876 relocation support in both binutils and gcc.
5877 * sysdeps/sparc/elf/configure: Regenerate.
5878
5879 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5880 * sysdeps/sparc/sparc32/elf/configure: Delete.
5881 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5882 * sysdeps/sparc/sparc64/elf/configure: Delete.
5883 * sysdeps/sparc/elf/configure.in: New file.
5884 * sysdeps/sparc/elf/configure: Generate.
5885
5886 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5887 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5888 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5889 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5890 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5891
5892 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5893
5894 * manual/install.texi: Do not mention specific glibc version
5895 numbers.
5896 * manual/libc.texinfo (VERSION, UPDATED): Update.
5897 (@copying): Use @copyright{} and range of years.
5898
5899 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5900
5901 [BZ #13695]
5902 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5903 [crti.S not in sysdirs] (generated): Do not append.
5904 [crti.S not in sysdirs] (omit-deps): Likewise.
5905 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5906 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5907 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5908 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5909 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5910 Likewise.
5911 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5912 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5913 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5914 * csu/defs.awk: Remove file.
5915 * sysdeps/generic/initfini.c: Likewise.
5916 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5917 variable.
5918 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5919 Likewise.
5920
5921 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5922
5923 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5924 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5925 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5926 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5927 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5928 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5929 <bits/epoll.h>.
5930 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5931 (__EPOLL_PACKED): Define to empty if not defined by
5932 <bits/epoll.h>.
5933 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5934 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5935 bits/epoll.h.
5936
5937 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5938
5939 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5940 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5941 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5942 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5943 <bits/timerfd.h>.
5944 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5946 bits/timerfd.h.
5947
5948 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5949
5950 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5951 in C locale.
5952 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5953 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5956
5957 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5958
5959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5960 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5961
5962 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5963
5964 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5965 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5966 defined.
5967 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5968 Likewise.
5969 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5970 entry for 2.16.
5971
5972 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5973
5974 * math/w_acos.c: Use non-signaling floating-point comparisons.
5975 * math/w_acosf.c: Likewise.
5976 * math/w_acosh.c: Likewise.
5977 * math/w_acoshf.c: Likewise.
5978 * math/w_acoshl.c: Likewise.
5979 * math/w_acosl.c: Likewise.
5980 * math/w_asin.c: Likewise.
5981 * math/w_asinf.c: Likewise.
5982 * math/w_asinl.c: Likewise.
5983 * math/w_atanh.c: Likewise.
5984 * math/w_atanhf.c: Likewise.
5985 * math/w_atanhl.c: Likewise.
5986 * math/w_exp2.c: Likewise.
5987 * math/w_exp2f.c: Likewise.
5988 * math/w_exp2l.c: Likewise.
5989 * math/w_j0.c: Likewise.
5990 * math/w_j0f.c: Likewise.
5991 * math/w_j0l.c: Likewise.
5992 * math/w_j1.c: Likewise.
5993 * math/w_j1f.c: Likewise.
5994 * math/w_j1l.c: Likewise.
5995 * math/w_jn.c: Likewise.
5996 * math/w_jnf.c: Likewise.
5997 * math/w_log.c: Likewise.
5998 * math/w_log10.c: Likewise.
5999 * math/w_log10f.c: Likewise.
6000 * math/w_log10l.c: Likewise.
6001 * math/w_log2.c: Likewise.
6002 * math/w_log2f.c: Likewise.
6003 * math/w_log2l.c: Likewise.
6004 * math/w_logf.c: Likewise.
6005 * math/w_logl.c: Likewise.
6006 * math/w_sqrt.c: Likewise.
6007 * math/w_sqrtf.c: Likewise.
6008 * math/w_sqrtl.c: Likewise.
6009 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6010 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6011 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6012 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6013 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6014
6015 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #9739]
6018 * manual/string.texi (strnlen): Use correct parameter name in
6019 equivalent expression.
6020
6021 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6022
6023 [BZ #11174]
6024 * manual/users.texi (seteuid): Consistently use neweuid for
6025 argument name.
6026
6027 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6028
6029 [BZ #13704]
6030 * manual/nss.texi (Services in the NSS configuration): Correct
6031 list of services in example configuration file.
6032
6033 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6034
6035 [BZ #11322]
6036 * manual/arith.texi: Remove statements about negative zero
6037 behaving identically to zero.
6038
6039 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6040
6041 [BZ #5993]
6042 * manual/install.texi: Do not document upgrading from libc5.
6043
6044 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6045
6046 [BZ #4596]
6047 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6048
6049 2012-02-18 David S. Miller <davem@davemloft.net>
6050
6051 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6052 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6053 %o7 across the call.
6054 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6055 instead.
6056 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6057 SETUP_PIC_REG_LEAF.
6058 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6059 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6060 * sysdeps/sparc/crtn.S: Likewise.
6061
6062 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6063
6064 * aout/Makefile: Remove.
6065
6066 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6067
6068 [BZ #13058]
6069 * manual/examples/argp-ex1.c (main): Format definition in GNU
6070 style.
6071 * manual/examples/argp-ex2.c (main): Likewise.
6072 * manual/examples/argp-ex3.c (main): Likewise.
6073 * manual/examples/argp-ex4.c (main): Likewise.
6074 * manual/examples/longopt.c (main): Use new-style prototype
6075 definition.
6076 * manual/examples/strncat.c (main): Specify return type and use
6077 (void) for arguments.
6078 * manual/examples/subopt.c (main): Use char **argv argument.
6079
6080 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6081
6082 [BZ #5077]
6083 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6084 rounding modes.
6085
6086 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6087
6088 [BZ #6907]
6089 * manual/string.texi (strchr): Change when strchrnul is
6090 recommended.
6091
6092 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6093
6094 [BZ #174]
6095 * manual/locale.texi (setlocale): Document LOCPATH.
6096
6097 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6098
6099 [BZ #10210]
6100 * manual/process.texi (execle): Move @dots{} before last argument.
6101
6102 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6103
6104 [BZ #12047]
6105 * manual/charset.texi (Generic Charset Conversion): Fix typo
6106 (LC_TYPE -> LC_CTYPE).
6107
6108 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6109
6110 [BZ #5805]
6111 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6112 (scalbnf): Likewise.
6113 (scalbnl): Likewise.
6114 (scalbln): Likewise.
6115 (scalblnf): Likewise.
6116 (scalblnl): Likewise.
6117 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6118 (vwarnx): Likewise.
6119 (verr): Likewise.
6120 (verrx): Likewise.
6121 * manual/filesys.texi (telldir): Use braces around return type.
6122 * manual/llio.texi (mmap): Add space after comma.
6123 (mmap64): Likewise.
6124 * manual/math.texi (jn): Use @var{} on parameter names.
6125 (jnf): Likewise.
6126 (jnl): Likewise.
6127 (yn): Likewise.
6128 (ynf): Likewise.
6129 (ynl): Likewise.
6130 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6131 line.
6132 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6133 "...".
6134 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6135 (sched_get_priority_max): Likewise.
6136 * manual/signal.texi (sigvec): Add space after comma.
6137 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6138 names.
6139 (if_indextoname): Likewise.
6140 (if_freenameindex): Likewise.
6141 (sendto): Use ',' instead of '.' in prototype.
6142 * manual/startup.texi (syscall): Use @dots{} instead of literal
6143 "...".
6144 * manual/stdio.texi (__fpending): Separate initial words of
6145 paragraph from @deftypefun line.
6146 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6147 "...".
6148 (vsyslog): Use @var{} on parameter names.
6149 * manual/terminal.texi (stty): Use @var{} on parameter names.
6150 * manual/users.texi (getutmp): Use @var{} on parameter names.
6151 (getutmpx): Likewise.
6152
6153 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6154
6155 [BZ #6884]
6156 * manual/stdio.texi (fopen): Fix typos in description of
6157 ",ccs=STRING".
6158
6159 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6160
6161 [BZ #4026]
6162 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6163 get clock_id definition.
6164
6165 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6166
6167 [BZ #4822]
6168 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6169 (madvise): Cast every argument to void on its own.
6170
6171 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6172
6173 [BZ #9902]
6174 * manual/startup.texi (Exit Status): Fix typo.
6175
6176 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #10140]
6179 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6180 * manual/examples/argp-ex2.c: Likewise.
6181 * manual/examples/argp-ex3.c: Likewise.
6182
6183 2012-02-16 Richard Henderson <rth@redhat.com>
6184
6185 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6186 * sysdeps/s390/s390-32/initfini.c: Remove.
6187 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6188 * sysdeps/s390/s390-64/initfini.c: Remove.
6189
6190 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6191
6192 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6193 compiler output for sysdeps/generic/initfini.c.
6194 * sysdeps/sh/elf/initfini.c: Remove file.
6195
6196 2012-02-16 David S. Miller <davem@davemloft.net>
6197
6198 [BZ #11494]
6199 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6200
6201 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6202 * sysdeps/sparc/crti.S: New file.
6203 * sysdeps/sparc/crtn.S: New file.
6204 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6205 * sysdeps/sparc/sparc64/Makefile: Likewise.
6206
6207 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6208
6209 [BZ #3335]
6210 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6211
6212 2012-02-15 Roland McGrath <roland@hack.frob.com>
6213
6214 [BZ #4822]
6215 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6216
6217 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6218 (write, read, close): Likewise.
6219 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6220
6221 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6222
6223 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6224 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6225 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6226 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6227 <bits/signalfd.h>.
6228 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6229 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6230 bits/signalfd.h.
6231
6232 2012-02-14 Marek Polacek <polacek@redhat.com>
6233
6234 * sysdeps/x86_64/crti.S: New file.
6235 * sysdeps/x86_64/crtn.S: New file.
6236 * sysdeps/x86_64/elf/initfini.c: Remove file.
6237
6238 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6239
6240 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6241 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6242 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6243 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6244 <bits/inotify.h>.
6245 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6246 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6247 bits/inotify.h.
6248
6249 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6250
6251 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6252 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6253 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6254 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6255 <bits/eventfd.h>.
6256 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6258 bits/eventfd.h.
6259
6260 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6261
6262 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6263 __feraiseexcept instead of feraiseexcept.
6264
6265 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6266 nanosleep invocations.
6267 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6268 strings, and add error checking for a nanosleep invocations.
6269
6270 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6271
6272 Replace FSF snail mail address with URLs, as per GNU coding standards.
6273 Most of the snail mail addresses were wrong anyway, and omitting
6274 them makes the source code easier to maintain. Almost all of the
6275 changes are to license notices and to locale LC_IDENTIFICATION
6276 addresses, except for this one:
6277 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6278 not its snail mail address.
6279
6280 2012-02-09 Richard Henderson <rth@twiddle.net>
6281
6282 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6283 of kernel-features.h.
6284
6285 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6286
6287 2012-02-08 Marek Polacek <polacek@redhat.com>
6288
6289 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6290 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6291 * sysdeps/gnu/_G_config.h: Likewise.
6292 * sysdeps/generic/_G_config.h: Likewise.
6293
6294 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6295
6296 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6297 tests.
6298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6299
6300 * sysdeps/powerpc/powerpc32/crti.S: New file.
6301 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6302 * sysdeps/powerpc/powerpc64/crti.S: New file.
6303 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6304
6305 * Makeconfig (have-initfini): Don't set.
6306 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6307 * configure.in (nopic_initfini): Don't substitute.
6308 * config.h.in (HAVE_INITFINI): Don't #undef.
6309 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6310 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6311
6312 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6313
6314 Support crti.S and crtn.S provided directly by architectures.
6315 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6316 [crti.S in sysdirs] (omit-deps): Likewise.
6317 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6318 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6319 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6320 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6321 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6322 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6323 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6324 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6325 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6326 compiler output for sysdeps/generic/initfini.c.
6327 * sysdeps/i386/elf/Makefile: Remove file.
6328 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6329
6330 2012-02-07 Marek Polacek <polacek@redhat.com>
6331
6332 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6333 * sysdeps/gnu/_G_config.h: Likewise.
6334 * sysdeps/mach/hurd/_G_config.h: Likewise.
6335
6336 2012-02-07 Marek Polacek <polacek@redhat.com>
6337
6338 * math/Makefile (tests): Add tst-CMPLX2.
6339 * math/tst-CMPLX2.c: New file.
6340
6341 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6342
6343 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6344
6345 * math/libm-test.inc (jn_test): Add missing L suffix.
6346
6347 2012-02-06 Marek Polacek <polacek@redhat.com>
6348
6349 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6350 * sysdeps/i386/fpu/e_powf.S: Likewise.
6351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6352 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6353 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6354 * sysdeps/i386/fpu/e_pow.S: Likewise.
6355 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6356 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6357 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6358 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6359 * sysdeps/i386/fpu/e_log2.S: Likewise.
6360 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6361 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6362 * sysdeps/i386/fpu/e_powl.S: Likewise.
6363 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6364 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6365 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6366 * sysdeps/i386/fpu/e_logl.S: Likewise.
6367 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6368 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6369 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6370 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6371 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6372 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6373 * sysdeps/i386/fpu/e_log.S: Likewise.
6374 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6375 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6376 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6377 * sysdeps/i386/fpu/e_logf.S: Likewise.
6378 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6379 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6380 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6381 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6382 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6383 * sysdeps/i386/fpu/e_log10.S: Likewise.
6384 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6385 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6386 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6387 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6388 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6389 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6390 * sysdeps/i386/asm-syntax.h: Likewise.
6391 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6392 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6393 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6394 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6395 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6396 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6397 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6398 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6399 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6400 * sysdeps/powerpc/sysdep.h: Likewise.
6401 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6402 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6403
6404 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6405
6406 [BZ #411]
6407 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6408
6409 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6410
6411 * sysdeps/i386/sysdep.h: Include <features.h>.
6412 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6413 version.
6414
6415 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6416
6417 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6418 Define.
6419 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6420 LOAD_PIC_REG_STR.
6421
6422 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6425 (SETUP_PIC_REG): Use GET_PC_THUNK.
6426 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6427 macro.
6428
6429 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6430
6431 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6432 for non-PIC compilation.
6433 (SETUP_PIC_REG): Add .p2align directive.
6434 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6435 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6436 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6437 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6438 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6439 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6440 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6442 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6443 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6444 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6445 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6475
6476 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6477
6478 * math/tst-CMPLX.c: Include <stdio.h>.
6479
6480 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6481
6482 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6483 float.
6484 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6485 * sysdeps/sparc/bits/mathdef.h: Likewise.
6486
6487 2012-01-31 Marek Polacek <polacek@redhat.com>
6488
6489 * libio/libio.h: Don't define _PARAMS.
6490 * locale/programs/config.h: Don't define PARAMS.
6491 * stdlib/strtol_l.c: Likewise.
6492 (__strtol_l): Remove PARAMS from the prototype.
6493
6494 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6495
6496 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6497 names. Just use the correct names. Remove unnecessary wrapper
6498 functions.
6499 * malloc/arena.c: Likewise.
6500 * malloc/hooks.c: Likewise.
6501
6502 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6503 ARENA_TEST says not to. Simplify test for creation of a new arena.
6504 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6505
6506 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6507
6508 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6509 into tail calls.
6510 (update_get_addr): New function.
6511 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6512 GET_ADDR_MODULE parameter.
6513
6514 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6515
6516 * crypt/cert.c: Remove __STDC__ conditionals.
6517 * crypt/crypt-entry.c: Likewise.
6518 * crypt/crypt_util.c: Likewise.
6519 * libio/filedoalloc.c: Likewise.
6520 * libio/fileops.c: Likewise.
6521 * libio/genops.c: Likewise.
6522 * libio/iofclose.c: Likewise.
6523 * libio/iofdopen.c: Likewise.
6524 * libio/iofopen.c: Likewise.
6525 * libio/iofopen64.c: Likewise.
6526 * libio/iogetdelim.c: Likewise.
6527 * libio/iopopen.c: Likewise.
6528 * libio/obprintf.c: Likewise.
6529 * libio/oldfileops.c: Likewise.
6530 * libio/oldiofclose.c: Likewise.
6531 * libio/oldiofdopen.c: Likewise.
6532 * libio/oldiofopen.c: Likewise.
6533 * libio/oldiopopen.c: Likewise.
6534 * libio/wfiledoalloc.c: Likewise.
6535 * libio/wgenops.c: Likewise.
6536 * locale/programs/xmalloc.c: Likewise.
6537 * misc/syslog.c: Likewise.
6538 * stdio-common/xbug.c: Likewise.
6539 * string/memchr.c: Likewise.
6540 * string/memcmp.c: Likewise.
6541 * string/memrchr.c: Likewise.
6542 * string/rawmemchr.c: Likewise.
6543 * sysdeps/posix/getcwd.c: Likewise.
6544 * time/strftime_l.c: Likewise.
6545
6546 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6547
6548 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6549 * config.make.in (config-cflags-sse2avx): Define.
6550 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6551 Fix typo.
6552
6553 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6554
6555 * scripts/config.guess: Update from upstream config git repository.
6556 * scripts/config.sub: Likewise.
6557
6558 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6559
6560 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6561 (EM_NUM): Update.
6562 (R_TILEPRO_*, R_TILEGX_*): New macros.
6563
6564 * scripts/firstversions.awk: Fix bug in version range handling.
6565
6566 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6567
6568 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6569
6570 * include/sys/epoll.h: New file.
6571 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6572 libc_hidden_def.
6573
6574 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6575
6576 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6577 Avoid unnecessary __WORDSIZE == 64 test.
6578 (fmaxf): Use VEX format if possible.
6579 (fmax): Likewise.
6580 (fminf): Likewise.
6581 (fmin): Likewise.
6582
6583 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6584 * math/math_private.h: Remove libc_fegetround* and
6585 libc_fesetround*.
6586 * sysdeps/i386/configure.in: Check for -msse2avx.
6587 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6588 also if SSE2AVX is defined.
6589 Remove libc_fegetround* and libc_fesetround*.
6590 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6591 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6592 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6593 of HAS_YMM_USABLE.
6594 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6595 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6596 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6597 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6598 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6599
6600 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6601
6602 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6603
6604 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6605 size is not set.
6606 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6607
6608 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6609
6610 [BZ #13618]
6611 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6612 relocation.
6613 * Makeconfig (libm): Define.
6614 * elf/Makefile: Add rules to build and run tst-relsort1.
6615 * elf/tst-relsort1.c: New file.
6616 * elf/tst-relsort1mod1.c: New file.
6617 * elf/tst-relsort1mod2.c: New file.
6618
6619 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6620
6621 * math/s_ldexp.c: Remove __STDC__ conditionals.
6622 * math/s_ldexpf.c: Likewise.
6623 * math/s_ldexpl.c: Likewise.
6624 * math/s_nextafter.c: Likewise.
6625 * math/s_nexttowardf.c: Likewise.
6626 * math/s_significand.c: Likewise.
6627 * math/s_significandf.c: Likewise.
6628 * math/s_significandl.c: Likewise.
6629 * math/w_jnl.c: Likewise.
6630 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6631 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6632 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6633 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6634 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6649 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6650 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6652 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6653 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6654 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6660 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6662 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6663 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6665 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6670 * sysdeps/ieee754/k_standard.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6750 * sysdeps/ieee754/s_matherr.c: Likewise.
6751 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6752 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6753 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6754 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6755
6756 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6757
6758 * crypt/md5.h: Remove __STDC__ conditionals.
6759 * libio/libioP.h: Likewise.
6760 * locale/programs/config.h: Likewise.
6761 * sysdeps/generic/sysdep.h: Likewise.
6762 * sysdeps/i386/asm-syntax.h: Likewise.
6763 * sysdeps/s390/asm-syntax.h: Likewise.
6764 * sysdeps/unix/sysdep.h: Likewise.
6765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6767
6768 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6769
6770 * libio/libio.h: Remove __STDC__ conditionals.
6771 * malloc/obstack.h: Likewise.
6772 * math/complex.h: Likewise.
6773 * math/math.h: Likewise.
6774 * sysdeps/generic/_G_config.h: Likewise.
6775 * sysdeps/gnu/_G_config.h: Likewise.
6776 * sysdeps/mach/hurd/_G_config.h: Likewise.
6777 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6778 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6779 * sysdeps/sparc/bits/mathdef.h: Likewise.
6780
6781 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6782
6783 [BZ #13583]
6784 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6785 Clean up HAS_* macros.
6786 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6787 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6788 possible.
6789 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6790 HAS_AVX.
6791 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6792 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6793 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6794 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6795 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6796
6797 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6798
6799 * elf/tst-unique3.cc (gets): Remove declaration.
6800 * elf/tst-unique3lib.cc (gets): Likewise.
6801 * elf/tst-unique3lib2.cc (gets): Likewise.
6802 * elf/tst-unique4.cc (gets): Likewise.
6803
6804 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6805
6806 * include/stdio.h: Add C++ protection. Add gets declarations and
6807 definitions.
6808 * debug/tst-chk1.c: Don't declare gets here.
6809 * stdio-common/tst-gets.c: Likewise.
6810
6811 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6812
6813 * posix/glob: Remove directory.
6814
6815 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6816
6817 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6818
6819 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6820
6821 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6822 of the non-standard EPFNOSUPPORT.
6823
6824 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825
6826 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6827 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6828 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6829
6830 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6831
6832 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6833
6834 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6835
6836 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6837 transient errors.
6838 * nscd/grpcache.c (cache_addgr): Likewise.
6839 * nscd/hstcache.c (cache_addhst): Likewise.
6840 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6841 * nscd/pwdcache.c (cache_addpw): Likewise.
6842 * nscd/servicescache.c (cache_addserv): Likewise.
6843
6844 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6845
6846 * malloc/malloc.c: Various cleanups.
6847 * malloc/hooks.c: Likewise.
6848
6849 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6850 * stdlib/bug-fmtmsg1.c: New file.
6851
6852 * stdlib/fmtmsg.c (init): Add missing unlock.
6853 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6854
6855 2012-01-12 Marek Polacek <polacek@redhat.com>
6856
6857 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6858 and _GNU_SOURCE.
6859
6860 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6861
6862 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6863 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6864 macro to ensure uniqueness of label name.
6865 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6866 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6867
6868 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6869
6870 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6871
6872 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6873 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6874 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6875 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6876
6877 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6878
6879 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6880
6881 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6882 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6883 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6884
6885 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6886
6887 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6888 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6889 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6890 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6891
6892 * math/bits/math-finite.h: Add ldexp support.
6893
6894 2012-01-10 Marek Polacek <polacek@redhat.com>
6895
6896 * locale/programs/localedef.h (show_archive_content): Add noreturn
6897 attribute.
6898
6899 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6900
6901 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6902
6903 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6904
6905 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6906
6907 * io/Makefile (headers): Add bits/poll2.h.
6908
6909 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6910
6911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6912 typo #include statement.
6913
6914 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6915
6916 * include/sys/cdefs.h: Define __attribute_alloc_size.
6917 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6918 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6919 * elf/pldd.c: Likewise.
6920 * iconv/iconv_charmap.c: Likewise.
6921 * iconv/iconvconfig.c: Likewise.
6922 * iconv/strtab.c: Likewise.
6923 * locale/programs/locale.c: Likewise.
6924 * locale/programs/localedef.h: Likewise.
6925 * locale/programs/simple-hash.c: Likewise.
6926 * nscd/nscd.h: Likewise.
6927 * nss/makedb.c: Likewise.
6928 * sysdeps/generic/ldconfig.h: Likewise.
6929 * locale/programs/localedef.c: Remove xmalloc prototype.
6930 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6931
6932 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6933
6934 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6935 appropriate.
6936
6937 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6938
6939 * math/Makefile (tests): Add tst-CMPLX.
6940 * math/tst-CMPLX.c: New file.
6941
6942 * math/complex.h (CMPLXL): Fix typo.
6943
6944 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6945 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6946 GLIBC_2.16.
6947 * debug/tst-chk1.c: Add poll and ppoll tests.
6948 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6949 * include/sys/poll.h: Add hidden proto for ppoll.
6950 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6951 * sysdeps/mach/hurd/ppoll.c: Likewise.
6952 * io/ppoll.c: Likewise.
6953 * debug/poll_chk.c: New file.
6954 * debug/ppoll_chk.c: New file.
6955 * include/bits/poll2.h: New file.
6956 * io/bits/poll2.h: New file.
6957
6958 [BZ #1350]
6959 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6960
6961 * configure.in: static is always set to yes. Remove.
6962 * config.make.in: Don't set build-static.
6963 * Makeconfig: Remove use of build-static.
6964 * dlfcn/Makefile: Likewise.
6965 * elf/Makefile: Likewise.
6966 * math/Makefile: Likewise.
6967 * misc/Makefile: Likewise.
6968 * nptl/Makefile: Likewise.
6969 * sysdeps/mach/hurd/Makefile: Likewise.
6970
6971 * configure.in: PWD_P is not used anymore.
6972 * config.make.in: Remove PWD_P entry.
6973
6974 * configure.in: Remove last remnants of RANLIB.
6975 No need to check for signed size_t anymore.
6976 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6977 and IA-64.
6978 Remove __builtin_expect test because we require at least gcc 3.4.
6979 * aclocal.m4: Likewise.
6980
6981 * wcsmbs/mbrtoc16.c: Implement using towc function.
6982 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6983 * wcsmbs/wcsmbsload.c: Likewise.
6984 * iconv/gconv_simple.c: Likewise.
6985 * iconv/gconv_int.h: Likewise.
6986 * iconv/gconv_builtin.h: Likewise.
6987 * iconv/iconv_prog.c: Remove CHAR16 handling.
6988
6989 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6990
6991 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6992
6993 * configure.in: Remove --with-elf and --enable-bounded options.
6994 Dont set base_machine for ia64. More non-ELF conditions removed.
6995 Remove testing and setting of leading underscore information.
6996 * config.make.in (build-bounded): Set to no.
6997 * config.h.in: Remove NO_UNDERSCORES entry.
6998 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6999 them.
7000 * csu/start.c: Remove !NO_UNDERSCORE code.
7001 * locale/localeinfo.h: Likewise.
7002 * sysdeps/generic/machine-gmon.h: Likewise.
7003 * sysdeps/generic/sysdep.h: Likewise.
7004 * sysdeps/i386/sysdep.h: Likewise.
7005 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7006 * sysdeps/mach/sysdep.h: Likewise.
7007 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7008 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7009 * sysdeps/sh/sysdep.h: Likewise.
7010 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7011 * sysdeps/unix/i386/sysdep.S: Likewise.
7012 * sysdeps/unix/sparc/start.c: Likewise.
7013 * sysdeps/unix/sparc/sysdep.S: Likewise.
7014 * sysdeps/unix/sparc/sysdep.h: Likewise.
7015 * sysdeps/unix/start.c: Likewise.
7016 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7017 * sysdeps/x86_64/sysdep.h: Likewise.
7018
7019 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7020
7021 [BZ #13553]
7022 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7023 for non-gcc.
7024 * argp/argp-fmtstream.h: Use const instead __const.
7025 * argp/argp.h: Likewise.
7026 * assert/assert.h: Likewise.
7027 * bits/fenv.h: Likewise.
7028 * bits/sched.h: Likewise.
7029 * bits/sigset.h: Likewise.
7030 * bits/sigthread.h: Likewise.
7031 * catgets/nl_types.h: Likewise.
7032 * conform/data/pthread.h-data: Likewise.
7033 * crypt/crypt-private.h: Likewise.
7034 * crypt/crypt.h: Likewise.
7035 * crypt/crypt_util.c: Likewise.
7036 * ctype/ctype.h: Likewise.
7037 * debug/execinfo.h: Likewise.
7038 * debug/mbsnrtowcs_chk.c: Likewise.
7039 * debug/mbsrtowcs_chk.c: Likewise.
7040 * debug/wcsnrtombs_chk.c: Likewise.
7041 * debug/wcsrtombs_chk.c: Likewise.
7042 * debug/wcstombs_chk.c: Likewise.
7043 * dirent/dirent.h: Likewise.
7044 * dlfcn/dlfcn.h: Likewise.
7045 * elf/neededtest4.c: Likewise.
7046 * grp/grp.h: Likewise.
7047 * gshadow/gshadow.h: Likewise.
7048 * iconv/gconv.h: Likewise.
7049 * iconv/gconv_int.h: Likewise.
7050 * iconv/gconv_simple.c: Likewise.
7051 * iconv/iconv.h: Likewise.
7052 * iconv/loop.c: Likewise.
7053 * iconv/skeleton.c: Likewise.
7054 * include/aio.h: Likewise.
7055 * include/aliases.h: Likewise.
7056 * include/argz.h: Likewise.
7057 * include/arpa/inet.h: Likewise.
7058 * include/assert.h: Likewise.
7059 * include/dirent.h: Likewise.
7060 * include/dlfcn.h: Likewise.
7061 * include/execinfo.h: Likewise.
7062 * include/fcntl.h: Likewise.
7063 * include/fenv.h: Likewise.
7064 * include/glob.h: Likewise.
7065 * include/grp.h: Likewise.
7066 * include/libintl.h: Likewise.
7067 * include/mntent.h: Likewise.
7068 * include/netdb.h: Likewise.
7069 * include/pwd.h: Likewise.
7070 * include/rpc/netdb.h: Likewise.
7071 * include/sched.h: Likewise.
7072 * include/search.h: Likewise.
7073 * include/shadow.h: Likewise.
7074 * include/signal.h: Likewise.
7075 * include/stdio.h: Likewise.
7076 * include/stdlib.h: Likewise.
7077 * include/string.h: Likewise.
7078 * include/sys/socket.h: Likewise.
7079 * include/sys/stat.h: Likewise.
7080 * include/sys/statfs.h: Likewise.
7081 * include/sys/statvfs.h: Likewise.
7082 * include/sys/syslog.h: Likewise.
7083 * include/sys/time.h: Likewise.
7084 * include/sys/uio.h: Likewise.
7085 * include/time.h: Likewise.
7086 * include/unistd.h: Likewise.
7087 * include/utmp.h: Likewise.
7088 * include/wchar.h: Likewise.
7089 * include/wctype.h: Likewise.
7090 * inet/aliases.h: Likewise.
7091 * inet/arpa/inet.h: Likewise.
7092 * inet/netinet/ether.h: Likewise.
7093 * inet/netinet/in.h: Likewise.
7094 * intl/libintl.h: Likewise.
7095 * io/bits/fcntl2.h: Likewise.
7096 * io/fcntl.h: Likewise.
7097 * io/ftw.h: Likewise.
7098 * io/sys/poll.h: Likewise.
7099 * io/sys/stat.h: Likewise.
7100 * io/sys/statfs.h: Likewise.
7101 * io/sys/statvfs.h: Likewise.
7102 * io/utime.h: Likewise.
7103 * libio/bits/stdio.h: Likewise.
7104 * libio/bits/stdio2.h: Likewise.
7105 * libio/libio.h: Likewise.
7106 * libio/libioP.h: Likewise.
7107 * libio/stdio.h: Likewise.
7108 * locale/lc-ctype.c: Likewise.
7109 * locale/locale.h: Likewise.
7110 * login/utmp.h: Likewise.
7111 * malloc/arena.c: Likewise.
7112 * malloc/malloc.c: Likewise.
7113 * malloc/malloc.h: Likewise.
7114 * malloc/mcheck.c: Likewise.
7115 * malloc/mtrace.c: Likewise.
7116 * math/bits/mathcalls.h: Likewise.
7117 * math/fenv.h: Likewise.
7118 * math/math_private.h: Likewise.
7119 * misc/bits/error.h: Likewise.
7120 * misc/bits/syslog.h: Likewise.
7121 * misc/err.h: Likewise.
7122 * misc/error.h: Likewise.
7123 * misc/fstab.h: Likewise.
7124 * misc/mntent.h: Likewise.
7125 * misc/regexp.h: Likewise.
7126 * misc/search.h: Likewise.
7127 * misc/sgtty.h: Likewise.
7128 * misc/sys/mman.h: Likewise.
7129 * misc/sys/syslog.h: Likewise.
7130 * misc/sys/uio.h: Likewise.
7131 * misc/sys/xattr.h: Likewise.
7132 * misc/ttyent.h: Likewise.
7133 * nis/rpcsvc/ypclnt.h: Likewise.
7134 * nss/nss.h: Likewise.
7135 * posix/bits/unistd.h: Likewise.
7136 * posix/fnmatch.h: Likewise.
7137 * posix/glob.h: Likewise.
7138 * posix/sched.h: Likewise.
7139 * posix/spawn.h: Likewise.
7140 * posix/sys/wait.h: Likewise.
7141 * posix/unistd.h: Likewise.
7142 * posix/wordexp.h: Likewise.
7143 * pwd/pwd.h: Likewise.
7144 * resolv/netdb.h: Likewise.
7145 * resource/sys/resource.h: Likewise.
7146 * rt/aio.h: Likewise.
7147 * rt/bits/mqueue2.h: Likewise.
7148 * rt/mqueue.h: Likewise.
7149 * shadow/shadow.h: Likewise.
7150 * signal/signal.h: Likewise.
7151 * socket/send.c: Likewise.
7152 * socket/sendto.c: Likewise.
7153 * socket/sys/socket.h: Likewise.
7154 * stdio-common/printf.h: Likewise.
7155 * stdlib/bits/stdlib.h: Likewise.
7156 * stdlib/fmtmsg.h: Likewise.
7157 * stdlib/monetary.h: Likewise.
7158 * stdlib/stdlib.h: Likewise.
7159 * stdlib/ucontext.h: Likewise.
7160 * streams/stropts.h: Likewise.
7161 * string/argz.h: Likewise.
7162 * string/bits/string2.h: Likewise.
7163 * string/string.h: Likewise.
7164 * string/strings.h: Likewise.
7165 * sunrpc/rpc/auth.h: Likewise.
7166 * sunrpc/rpc/auth_des.h: Likewise.
7167 * sunrpc/rpc/clnt.h: Likewise.
7168 * sunrpc/rpc/netdb.h: Likewise.
7169 * sunrpc/rpc/pmap_clnt.h: Likewise.
7170 * sunrpc/rpc/xdr.h: Likewise.
7171 * sysdeps/generic/inttypes.h: Likewise.
7172 * sysdeps/generic/net/if.h: Likewise.
7173 * sysdeps/generic/sys/swap.h: Likewise.
7174 * sysdeps/gnu/net/if.h: Likewise.
7175 * sysdeps/gnu/utmpx.h: Likewise.
7176 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7177 * sysdeps/i386/i486/bits/string.h: Likewise.
7178 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7179 * sysdeps/s390/bits/string.h: Likewise.
7180 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7181 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7182 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7183 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7184 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7185 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7186 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7187 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7188 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7190 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7191 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7192 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7193 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7194 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7195 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7196 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7199 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7200 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7201 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7202 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7203 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7204 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7205 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7206 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7207 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7208 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7209 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7210 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7211 * sysvipc/sys/ipc.h: Likewise.
7212 * sysvipc/sys/msg.h: Likewise.
7213 * sysvipc/sys/sem.h: Likewise.
7214 * sysvipc/sys/shm.h: Likewise.
7215 * termios/termios.h: Likewise.
7216 * time/sys/time.h: Likewise.
7217 * time/time.h: Likewise.
7218 * wcsmbs/bits/wchar2.h: Likewise.
7219 * wcsmbs/uchar.h: Likewise.
7220 * wcsmbs/wchar.h: Likewise.
7221 * wctype/wctype.h: Likewise.
7222
7223 [BZ #13551]
7224 * Makeconfig: Remove all but ELF support including AIX support.
7225 * Makerules: Likewise.
7226 * config.h.in: Likewise.
7227 * config.make.in: Likewise.
7228 * configure: Likewise.
7229 * configure.in: Likewise.
7230 * csu/Makefile: Likewise.
7231 * csu/version.c: Likewise.
7232 * debug/Makefile: Likewise.
7233 * dlfcn/Makefile: Likewise.
7234 * elf/Makefile: Likewise.
7235 * extra-lib.mk: Likewise.
7236 * iconv/Makefile: Likewise.
7237 * include/libc-symbols.h: Likewise.
7238 * include/shlib-compat.h: Likewise.
7239 * resolv/Makefile: Likewise.
7240 * resolv/res_libc.c: Likewise.
7241 * rt/Makefile: Likewise.
7242 * sysdeps/i386/asm-syntax.h: Likewise.
7243 * sysdeps/i386/sysdep.h: Likewise.
7244 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7245 * sysdeps/mach/sysdep.h: Likewise.
7246 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7247 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7248 * sysdeps/s390/asm-syntax.h: Likewise.
7249 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7250 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7251 * sysdeps/sh/sysdep.h: Likewise.
7252 * sysdeps/unix/sparc/sysdep.h: Likewise.
7253 * sysdeps/wordsize-32/divdi3.c: Likewise.
7254 * sysdeps/x86_64/sysdep.h: Likewise.
7255
7256 * argp/Versions: Remove _argp_unlock_xxx.
7257
7258 [BZ #13559]
7259 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7260 * abilist/libBrokenLocale.abilist: Likewise.
7261 * abilist/libanl.abilist: Likewise.
7262 * abilist/libc.abilist: Likewise.
7263 * abilist/libcrypt.abilist: Likewise.
7264 * abilist/libdl.abilist: Likewise.
7265 * abilist/libm.abilist: Likewise.
7266 * abilist/libnsl.abilist: Likewise.
7267 * abilist/libpthread.abilist: Likewise.
7268 * abilist/libresolv.abilist: Likewise.
7269 * abilist/librt.abilist: Likewise.
7270 * abilist/libthread_db.abilist: Likewise.
7271 * abilist/libutil.abilist: Likewise.
7272 * abilist/libnss_db.abilist: New file.
7273
7274 * scripts/abilist.awk: Add support for indirect functions.
7275
7276 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7277
7278 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7279
7280 * shlib-versions: Remove entries for ports architectures.
7281
7282 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7283 files in ports.
7284 * elf/stackguard-macros.h: Remove support for IA-64.
7285 * elf/tst-auditmod1.c: Likewise.
7286 * sysdeps/generic/ldsodefs.h: Likewise.
7287
7288 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7289 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7290 configure files.
7291
7292 [BZ #13552]
7293 * configure.in: Remove --enable-omitfp support.
7294 * FAQ.in: Adjust.
7295 * config.make.in: Likewise.
7296 * Makeconfig: Likewise.
7297 * manual/install.texi: Likewise.
7298
7299 In case anyone cares, the IA-64 architecture could move to ports.
7300 * sysdeps/ia64/*: Removed.
7301 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7302 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7303
7304 [BZ #13555]
7305 * configure.in: Remove entries for unsupported architectures.
7306
7307 [BZ #13533]
7308 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7309 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7310 routines.
7311 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7312 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7313 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7314 fall back to using wcrtomb.
7315 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7316 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7317 renaming.
7318 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7319 * wcsmbs/tst-c16c32-1.c: New file.
7320
7321 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7322 local variable.
7323
7324 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7325
7326 * elf/tst-unique3.cc: Add explicit declaration of gets.
7327 * elf/tst-unique3lib.cc: Likewise.
7328 * elf/tst-unique3lib2.cc: Likewise.
7329 * elf/tst-unique4.cc: Likewise.
7330
7331 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7332
7333 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7334
7335 [BZ #13566]
7336 * assert/assert.h (static_assert): Don't define for C++.
7337 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7338 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7339
7340 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7341
7342 * iconv/loop.c (single loop): Fix assertion in storing of
7343 remaining bytes.
7344
7345 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7346
7347 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7348
7349 * posix/getconf.c: Update copyright year.
7350 * nss/getent.c: Likewise.
7351 * nss/makedb.c: Likewise.
7352 * iconv/iconvconfig.c: Likewise.
7353 * iconv/iconv_prog.c: Likewise.
7354 * elf/ldconfig.c: Likewise.
7355 * elf/pldd.c: Likewise.
7356 * elf/sotruss.ksh: Likewise.
7357 * catgets/gencat.c: Likewise.
7358 * csu/version.c: Likewise.
7359 * elf/ldd.bash.in: Likewise.
7360 * elf/sprof.c (print_version): Likewise.
7361 * locale/programs/locale.c: Likewise.
7362 * locale/programs/localedef.c: Likewise.
7363 * login/programs/pt_chown.c: Likewise.
7364 * nscd/nscd.c (print_version): Likewise.
7365 * debug/xtrace.sh: Likewise.
7366 * malloc/memusage.sh: Likewise.
7367 * malloc/mtrace.pl: Likewise.
7368 * debug/catchsegv.sh: Likewise.
7369
7370 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7371
7372 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7373 pure attribute.
7374
7375 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7376
7377 [BZ #13533]
7378 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7379 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7380 transformations.
7381 * iconv/gconv_int.h: Likewise.
7382 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7383 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7384 from libc for GLIBC_2.16.
7385 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7386 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7387 * wcsmbs/uchar.h: Really define mbstate_t.
7388 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7389 * wcsmbs/c16rtomb.c: New file.
7390 * wcsmbs/mbrtoc16.c: New file.
7391 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7392 for C/POSIX locale.
7393 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7394 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7395
7396 * wcsmbs/wchar.h: Add missing __restrict.
7397
7398 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7399
7400 [BZ #13532]
7401 * time/Makefile (routines): Add timespec_get.
7402 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7403 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7404 timespec for ISO C11.
7405 * time/timespec_get.c: New file.
7406 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7407 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7408
7409 [BZ #13531]
7410 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7411 * stdlib/stdlib.h: Declare aligned_alloc.
7412 * Versions.def: Add GLIBC_2.16 for libc.
7413 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7414
7415 [BZ 13527]
7416 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7417 ISO C11.
7418
7419 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7420 code.
7421
7422 [BZ #13528]
7423 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7424
7425 [BZ #13529]
7426 * assert/assert.h (static_assert): Define.
7427
7428 * version.h: Update for 2.16 development version.
7429
7430 [BZ #13526]
7431 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7432 _ISOC11_SOURCE.
7433
7434 * version.h (RELEASE): Bump for 2.15 release.
7435 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7436
7437 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7438 Patch by Marek Polacek <mpolacek@redhat.com>.
7439
7440 * bits/byteswap.h: Protect long long constants with __extension__.
7441 * sysdeps/i386/bits/byteswap.h: Likewise.
7442 * sysdeps/ia64/bits/byteswap.h: Likewise.
7443 * sysdeps/s390/bits/byteswap.h: Likewise.
7444 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7445
7446 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7447
7448 [BZ #13540]
7449 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7450 destination buffer.
7451 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7452
7453 2011-12-23 Marek Polacek <polacek@redhat.com>
7454
7455 * elf/dl-addr.c (determine_info): Add inline keyword.
7456 * elf/tst-auditmod4b.c (check_avx): Likewise.
7457 * elf/tst-auditmod6b.c (check_avx): Likewise.
7458 * elf/tst-auditmod6c.c (check_avx): Likewise.
7459 * elf/tst-auditmod7b.c (check_avx): Likewise.
7460
7461 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7462
7463 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7464 !__SSE_MATH__.
7465
7466 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7467
7468 [BZ #13540]
7469 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7470 processing for last bytes.
7471
7472 2011-08-06 Bruno Haible <bruno@clisp.org>
7473
7474 [BZ #13061]
7475 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7476 U+0385, not to U+1FEE.
7477
7478 [BZ #13062]
7479 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7480 entry for U+00A5 U+0301.
7481
7482 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7483
7484 [BZ #13166]
7485 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7486 buffer for the output is too small.
7487
7488 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7489 optimization.
7490
7491 [BZ #13185]
7492 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7493 SSE flags if possible.
7494
7495 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7496
7497 [BZ #13540]
7498 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7499 processing for last bytes.
7500
7501 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7502
7503 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7504 (syscall-list-default-options, syscall-list-default-condition)
7505 (syscall-list-includes): Define.
7506 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7507 list of ABIs and options and #if conditions for each ABI. Do not
7508 handle common syscalls between ABIs specially.
7509 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7510 Remove.
7511 (syscall-list-variants, syscall-list-32bit-options)
7512 (syscall-list-32bit-condition, syscall-list-64bit-options)
7513 (syscall-list-64bit-condition): Define.
7514 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7515 (syscall-list-variants, syscall-list-32bit-options)
7516 (syscall-list-32bit-condition, syscall-list-64bit-options)
7517 (syscall-list-64bit-condition): Define.
7518 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7519 Remove.
7520 (syscall-list-variants, syscall-list-32bit-options)
7521 (syscall-list-32bit-condition, syscall-list-64bit-options)
7522 (syscall-list-64bit-condition): Define.
7523 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7524 Remove.
7525 (syscall-list-variants, syscall-list-32bit-options)
7526 (syscall-list-32bit-condition, syscall-list-64bit-options)
7527 (syscall-list-64bit-condition): Define.
7528
7529 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7530
7531 * locale/iso-639.def: Add brx entry.
7532
7533 [BZ #13328]
7534 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7535 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7536
7537 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7538 __feraiseexcept_renamed.
7539
7540 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7541
7542 [BZ #13538]
7543 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7544 EPOLLET with unsigned values.
7545 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7546 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7547
7548 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7549 to large cancellation.
7550 * math/s_cacoshf.c: Likewise.
7551 * math/s_cacoshl.c: Likewise.
7552
7553 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7554
7555 [BZ #13305]
7556 [BZ #12786]
7557 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7558 * math/s_cacoshf.c: Likewise.
7559 * math/s_cacoshl.c: Likewise.
7560
7561 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7562
7563 [BZ #13439]
7564 * iconv/gconv.h: Define __GCONV_SWAP.
7565 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7566 * iconvdata/utf-16.c: Likewise.
7567 * iconvdata/utf-32.c: Likewise.
7568
7569 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7570
7571 [BZ #13524]
7572 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7573 numerator after shifting it by one limb.
7574
7575 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7576
7577 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7578 under [__USE_EXTERN_INLINES].
7579
7580 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7581
7582 [BZ #13446]
7583 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7584
7585 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7586
7587 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7588 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7589 optimized code.
7590 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7591 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7592 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7593 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7594 for strncasecmp/strncasecmp_l compilation.
7595 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7596 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7597
7598 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7599
7600 [BZ #13484]
7601 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7602 of __asm__.
7603
7604 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7605
7606 [BZ #13506]
7607 * time/tzfile.c (__tzfile_read): Check values from file header.
7608
7609 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7610
7611 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7612 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7613 * powerpc/powerpc32/dl-start.S: Likewise.
7614 * powerpc/powerpc32/elf/start.S: Likewise.
7615 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7616 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7617 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7618 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7619 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7620 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7621 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7622 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7623 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7624 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7625 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7626 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7627 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7628 * powerpc/powerpc32/memset.S: Likewise.
7629 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7630 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7631 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7632 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7633 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7634 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7635 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7636 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7637 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7638 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7639 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7640 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7641 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7642
7643 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7644
7645 * math/libm-test.inc: Added more nearbyint tests.
7646 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7647 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7648 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7650
7651 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7652
7653 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7654 FD_CLOEXEC.
7655
7656 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7657
7658 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7659 Add wcscpy-ssse3 wcscpy-c.
7660 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7661 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7662 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7663 * sysdeps/x86_64/wcschr.S: New file.
7664 * sysdeps/x86_64/wcsrchr.S: New file.
7665 * string/test-strcmp.c: Remove checking of wcscmp function for
7666 wrong alignments.
7667 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7668 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7669 wcsrchr-sse2 wcsrchr-c.
7670 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7671 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7672 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7673 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7674 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7675 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7676 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7677 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7678 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7679 * wcsmbc/wcschr.c (WCSCHR): New macro.
7680
7681 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7682
7683 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7684 * wcsmbs/test-wcsrchr.c: New file.
7685 * string/test-strrchr.c: Add wcsrchr support.
7686 (WIDE): New macro.
7687 * wcsmbs/test-wcscpy.c: New file.
7688 * string/test-strcpy.c: Add wcscpy support.
7689 (WIDE): New macro.
7690
7691 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7692
7693 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7694 the inner loop.
7695
7696 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7697
7698 [BZ #13472]
7699 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7700
7701 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7702
7703 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7704 Minor optimizations.
7705
7706 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7707 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7708 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7709
7710 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7711
7712 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7713 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7714 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7715 for gcc to avoid warnings.
7716 * inet/Makefile (tests): Add tst-checks.
7717 * inet/tst-checks.c: New file.
7718
7719 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7720 warning.
7721
7722 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7723 __wmemcmp_sse2.
7724
7725 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7726 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7727
7728 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7729
7730 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7731
7732 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7733 problem.
7734
7735 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7736
7737 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7738
7739 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7740 conditional on GCC version.
7741 (__arch_compare_and_exchange_val_8_acq)
7742 (__arch_compare_and_exchange_val_16_acq)
7743 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7744 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7745 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7746
7747 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7748
7749 * sysdeps/sh/backtrace.c: New file.
7750
7751 2011-12-02 Andreas Schwab <schwab@redhat.com>
7752
7753 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7754 parenthesis.
7755
7756 2011-12-01 Andreas Schwab <schwab@redhat.com>
7757
7758 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7759 falling back to utime.
7760
7761 2011-11-30 Andreas Schwab <schwab@redhat.com>
7762
7763 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7764 expectations for float.
7765
7766 2011-11-29 Andreas Schwab <schwab@redhat.com>
7767
7768 * locale/weight.h (findidx): Add parameter len.
7769 * locale/weightwc.h (findidx): Likewise.
7770 * posix/fnmatch_loop.c (FCT): Adjust caller.
7771 * posix/regcomp.c (build_equiv_class): Likewise.
7772 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7773 * posix/regexec.c (check_node_accept_bytes): Likewise.
7774 * string/strcoll_l.c (STRCOLL): Likewise.
7775 * string/strxfrm_l.c (STRXFRM): Likewise.
7776
7777 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7778
7779 * Makefile.in: Remove CVSOPT handling.
7780 * configure.in: Remove use of AC_REVISION.
7781 * iconvdata/Makefile (distribute): No need to filter out CVS.
7782 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7783 handling.
7784
7785 2011-11-16 Andreas Schwab <schwab@redhat.com>
7786
7787 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7788 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7789 [USE_AS_STRNCASECMP_L]: Likewise.
7790 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7791 NO_TLS_DIRECT_SEG_REFS.
7792 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7793 Fix argument offsets for non-PIC.
7794 [USE_AS_STRNCASECMP_L]: Likewise.
7795 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7796 NO_TLS_DIRECT_SEG_REFS.
7797
7798 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7799
7800 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7801 O_CLOEXEC.
7802 * locale/loadlocale.c (_nl_load_locale): Likewise.
7803
7804 2011-11-15 Andreas Schwab <schwab@redhat.com>
7805
7806 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7807 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7808 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7809 (SYSCALL_GETTIME): Set errno on error.
7810
7811 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7812 count references to noai6ai_cached.
7813
7814 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7815
7816 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7817
7818 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7819 FD_CLOEXEC for /proc/self/maps.
7820
7821 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7822 FD_CLOEXEC for /proc/meminfo.
7823
7824 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7825 gai.conf.
7826
7827 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7828 FD_CLOEXEC for given file.
7829
7830 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7831
7832 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7833 FD_CLOEXEC for /etc/hosts.
7834 (_gethtent): Likewise.
7835
7836 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7837
7838 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7839 cancellation and set FD_CLOEXEC for /etc/netgroup.
7840
7841 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7842 reading /etc/publickey.
7843
7844 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7845 allow cancellation when reading /etc/group.
7846
7847 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7848 cancellation.
7849 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7850
7851 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7852 when using data file.
7853
7854 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7855
7856 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7857 (write_nis_obj): Use "c" and "e" in fopen.
7858
7859 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7860
7861 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7862
7863 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7864
7865 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7866
7867 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7868 locale.alias.
7869
7870 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7871
7872 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7873
7874 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7875
7876 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7877 file parsing and set FD_CLOEXEC.
7878
7879 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7880
7881 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7882
7883 2011-11-14 Andreas Schwab <schwab@redhat.com>
7884
7885 * malloc/arena.c (arena_get2): Don't call reused_arena when
7886 _int_new_arena failed.
7887
7888 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7889
7890 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7891 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7892 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7893 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7894 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7895 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7896 to compile strcasecmp and strncasecmp.
7897 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7898 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7899
7900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7901
7902 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7903
7904 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7905 locale-defines.sym to gen-as-const-headers.
7906 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7907 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7908 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7909 to compile strcasecmp and strncasecmp.
7910 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7911 strcasecmp_l and strncasecmp_l.
7912 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7913 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7914 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7915 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7916 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7917 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7918 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7919 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7920 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7921 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7922 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7923
7924 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7925
7926 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7927 result of SYSDEP_GETTIME_CPU to retval.
7928 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7929 parameter list to macro. Remove trailing semicolon. Adjust users.
7930
7931 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7932 variable.
7933
7934 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7935 mantissa words.
7936 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7937
7938 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7939 from unused variable.
7940
7941 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7942 DWARF definitions.
7943 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7944 for assembling.
7945
7946 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7947 over namespaces.
7948
7949 * sunrpc/rpc_prot.c (rejected): Fix case value.
7950
7951 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7952 unsigned long long int to avoid warnings in shift.
7953
7954 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7955 of use of trans.
7956 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7957 variable tmp.
7958
7959 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7960 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7961 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7962
7963 * nis/nis_table.c (nis_list): Use variable of correct type for
7964 result of __follow_path call.
7965
7966 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7967
7968 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7969 of math functions ceil, trunc, floor, round, and sqrt, when
7970 avaliable on the platform.
7971 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7972 name clash.
7973 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7976
7977 2011-10-30 Marek Polacek <mpolacek@redhat.com>
7978
7979 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7980 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7981
7982 2011-11-11 Roland McGrath <roland@hack.frob.com>
7983
7984 * include/unistd.h: Fix __readlink return type.
7985 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7986
7987 2011-11-11 Ulrich Drepper <drepper@gmail.com>
7988
7989 * stdlib/ucontext.h: Undo last change for makecontext.
7990
7991 2011-11-11 Andreas Schwab <schwab@redhat.com>
7992
7993 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7994
7995 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7996 * setjmp/setjmp.h: Mark functions as non-leaf.
7997 * setjmp/bits/setjmp2.h: Likewise.
7998 * stdlib/ucontext.h: Likewise.
7999
8000 2011-11-10 Andreas Schwab <schwab@redhat.com>
8001
8002 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8003 (reused_arena): Don't check arena limit.
8004 (arena_get2): Atomically check arena limit.
8005
8006 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8007
8008 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8009 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8010
8011 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8012 instructions.
8013
8014 2011-11-07 Andreas Schwab <schwab@redhat.com>
8015
8016 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8017 handler when locking.
8018
8019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8020 Fix size of allocated buffer.
8021
8022 2011-11-04 Andreas Schwab <schwab@redhat.com>
8023
8024 [BZ #10103]
8025 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8026 declarations for long double functions.
8027 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8028
8029 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8030
8031 2011-11-03 Andreas Schwab <schwab@redhat.com>
8032
8033 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8034 installed.
8035
8036 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8037 is disabled.
8038
8039 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8040
8041 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8042
8043 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8044
8045 * include/alloca.h (stackinfo_alloca_round): Define.
8046 (extend_alloca): Use it.
8047 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8048 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8049 here.
8050
8051 * scripts/check-local-headers.sh: Ignore libaudit.h.
8052
8053 * nscd/Makefile (extra-objs): Make recursively expanded.
8054
8055 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8056
8057 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8058 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8059
8060 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8061 * posix/tst-rfc3484-2.c: Likewise.
8062 * posix/tst-rfc3484-3.c: Likewise.
8063
8064 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8065 process_vm_writev.
8066 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8067 process_vm_writev.
8068 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8069 process_vm_writev from libc using GLIBC_2.15 version.
8070
8071 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8072
8073 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8074
8075 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8076 stack usage.
8077
8078 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8079
8080 [BZ #13367]
8081 * nss/getent.c (initgroups_keys): Show error message in case no group
8082 names are given.
8083
8084 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8085 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8086 __bump_nl_timestamp.
8087 * nscd/connections (nscd_init): When host database is served open
8088 netlink socket and request notification about configuration changes.
8089 (main_loop_poll): Track netlink file descriptor and bump timestamp
8090 in case data becomes available.
8091 (main_loop_epoll): Likewise.
8092 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8093 (database_pers_head): Add extra_data fileds.
8094 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8095 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8096 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8097 Adjust caller.
8098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8099 in6ai data, call __free_in6ai.
8100 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8101 Add -DHAVE_NETLINK.
8102 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8103 interface information. Reuse previous data if netlink timestamp
8104 is not changed.
8105 (__bump_nl_timestamp): New function.
8106 (__free_in6ai): New function.
8107
8108 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8109
8110 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8111 close_not_cancel_no_status here.
8112 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8113
8114 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8115
8116 [BZ #13276]
8117 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8118 return value.
8119
8120 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8121 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8122 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8123
8124 2011-07-03 Andreas Jaeger <aj@suse.de>
8125
8126 [BZ #10709]
8127 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8128 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8129 * math/libm-test.inc (sin_test): Add test case.
8130
8131 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8132
8133 [BZ #13337]
8134 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8135 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8136
8137 * elf/chroot_canon.c (chroot_canon): Cleanups.
8138
8139 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8140
8141 [BZ #13335]
8142 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8143 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8144
8145 * string/test-strchr.c: Make usable for strchrnul testing.
8146 * string/test-strchrnul.c: New file.
8147 * string/Makefile (strop-tests): Add strchrnul.
8148
8149 * po/it.po: Update from translation team.
8150 * po/es.po: Likewise.
8151
8152 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8153
8154 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8155 the three constants needed as parameters. Drop the others.
8156 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8157 __m128i_strloadu_tolower.
8158 Create and initialize variable zero and use it in all the places
8159 where _mm_setzero_si128 was used.
8160
8161 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8162 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8163 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8164 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8165 anymore.
8166 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8167 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8168 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8169 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8170 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8171 __mpranred, __mptan.
8172 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8173 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8174 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8175 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8176 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8177 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8178 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8179 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8180 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8181
8182 2011-10-28 Andreas Schwab <schwab@redhat.com>
8183
8184 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8185 redefine if SHARED.
8186 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8187
8188 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8189 wide char related routines to wcsmbs subdir.
8190
8191 2011-10-27 Andreas Schwab <schwab@redhat.com>
8192
8193 [BZ #13344]
8194 * misc/sys/cdefs.h (__THROWNL): Define.
8195 * posix/unistd.h: Use __THREADNL instead of __THREAD
8196 for memory synchronization functions.
8197
8198 2011-10-26 Roland McGrath <roland@hack.frob.com>
8199
8200 [BZ #13349]
8201 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8202 doesn't exist.
8203 * manual/stdio.texi (Obstack Streams): Node removed.
8204
8205 2011-10-26 Andreas Schwab <schwab@redhat.com>
8206
8207 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8208 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8209 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8210
8211 * math/math_private.h (math_force_eval): Allow non-addressable
8212 arguments.
8213 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8214
8215 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8216
8217 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8218 file is not needed.
8219
8220 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8221 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8222 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8223 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8224 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8225 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8226 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8227 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8228 Add AVX variants.
8229 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8230 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8231 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8232 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8233 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8234 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8235 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8236 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8237 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8238 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8239 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8240 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8241 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8242 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8243 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8244 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8245 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8246 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8247 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8248
8249 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8250 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8251
8252 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8253 place. Use VEX encoding when compiling for AVX.
8254
8255 2011-10-25 Andreas Schwab <schwab@redhat.com>
8256
8257 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8258 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8259
8260 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8261
8262 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8263
8264 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8265 useless if() expression.
8266 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8275 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8276 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8277 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8278 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8279 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8280 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8282 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8283 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8284 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8285
8286 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8287
8288 2011-10-25 Andreas Schwab <schwab@redhat.com>
8289
8290 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8291 condition.
8292 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8293
8294 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8295
8296 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8297 .text section. Avoid duplicate constants.
8298 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8301 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8303 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8308 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8310 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8313 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8315 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8321 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8324 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8325 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8326 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8327 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8328 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8329 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8330 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8331 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8340 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8341 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8343
8344 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8345
8346 * sysdeps/x86_64/dla.h: Move to ...
8347 * sysdeps/x86_64/fpu/dla.h: ...here.
8348 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8349 situations. Use __builtin_fma only for gcc 4.6 and up.
8350
8351 * config.make.in: Add have-mfma4 entry.
8352 * configure.in: Substitute libc_cv_cc_fma4.
8353 * math/Makefile (dbl-only-routines): Add sincostab.
8354 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8355 Use __sincostab not sincos.
8356 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8357 name is a macro.
8358 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8359 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8360 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8361 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8362 using __copysign.
8363 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8364 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8365 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8366 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8367 and __inv.
8368 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8369 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8370 __copysign.
8371 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8372 define aliases when function name is a macro.
8373 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8374 sysdeps/ieee754/dbl-64/sincos.tbl.
8375 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8376 fma4-enabled routines.
8377 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8378 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8379 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8380 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8382 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8383 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8385 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8386 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8387 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8388 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8389 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8390 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8392 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8394 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8400 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8401 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8407
8408 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8409 rename.
8410 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8413 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8415 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8418
8419 2011-10-24 Andreas Schwab <schwab@redhat.com>
8420
8421 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8422
8423 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8424
8425 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8426
8427 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8428 prediction.
8429 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8430
8431 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8432 Remove unused variable magic_bits.
8433 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8434
8435 * string/strnlen.c: Define and use STRNLEN macro.
8436 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8437 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8438 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8439 * wcsmbs/wcslen.c: Define and use WCSLEN.
8440 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8441 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8442 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8443 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8444 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8445 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8446 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8447
8448 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8449
8450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8451 strnlen-sse2-no-bsf.
8452 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8453 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8454 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8455 Add strnlen support.
8456 (USE_AS_STRNLEN): New macro.
8457 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8458 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8459 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8460 * sysdeps/x86_64/wcslen.S: New file.
8461
8462 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8463
8464 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8465 XMM-moves are used for copying on small sizes.
8466
8467 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8468
8469 * wcsmbs/Makefile (strop-tests): Add wcschr.
8470 * wcsmbs/test-wcschr.c: New file.
8471 * string/test-strchr.c: Update.
8472 Add wcschr support.
8473 (WIDE): New macro.
8474
8475 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8476
8477 * wcsmbs/Makefile (strop-tests): Add wcslen.
8478 * wcsmbs/test-wcslen.c: New file.
8479 * string/test-strlen.c: Update.
8480 Add wcslen support.
8481 (WIDE): New macro.
8482
8483 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8484
8485 * po/it.po: Update from translation team.
8486
8487 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8488
8489 * sysdeps/x86_64/wcscmp.S: Update.
8490 Fix wrong comparison semantics.
8491 wcscmp shall use signed comparison not unsigned.
8492 Don't use substraction to avoid overflow bug.
8493 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8494 * wcsmbc/wcscmp.c: Likewise.
8495 * string/test-strcmp.c: Likewise.
8496 Add new tests to check cases with negative values.
8497
8498 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8499
8500 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8501 * sysdeps/x86_64/dla.h: ...here. New file.
8502 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8503 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8505 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8506 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8507 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8508 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8511
8512 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8513
8514 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8515 __ynl_finite aliases.
8516
8517 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8518
8519 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8520
8521 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8522 define DLA_FMA.
8523 [DLA_FMA] (EMULV): Use DLA_FMA.
8524 [DLA_FMA] (MUL12): Use EMULV.
8525 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8526 that are not needed.
8527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8534
8535 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8536
8537 * math/s_nan.c: Undef __nan.
8538 * math/s_nanf.c: Undef __nanf.
8539 * math/s_nanl.c: Undef __nanl.
8540 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8541 "math_private.h".
8542
8543 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8544
8545 * math/s_catan.c: Add branch predictions.
8546 * math/s_catanf.c: Likewise.
8547 * math/s_catanh.c: Likewise.
8548 * math/s_catanhf.c: Likewise.
8549 * math/s_catanhl.c: Likewise.
8550 * math/s_catanl.c: Likewise.
8551 * math/s_cexp.c: Likewise.
8552 * math/s_cexpf.c: Likewise.
8553 * math/s_cexpl.c: Likewise.
8554 * math/s_clog.c: Likewise.
8555 * math/s_clog10.c: Likewise.
8556 * math/s_clog10f.c: Likewise.
8557 * math/s_clog10l.c: Likewise.
8558 * math/s_clogf.c: Likewise.
8559 * math/s_clogl.c: Likewise.
8560 * math/s_csqrt.c: Likewise.
8561 * math/s_csqrtf.c: Likewise.
8562 * math/s_csqrtl.c: Likewise.
8563 * math/s_ctanf.c: Likewise.
8564 * math/s_ctanh.c: Likewise.
8565 * math/s_ctanhf.c: Likewise.
8566 * math/s_ctanhl.c: Likewise.
8567 * math/s_ctanl.c: Likewise.
8568
8569 * math/math_private.h: Define __nan, __nanf, __nanl.
8570 * math/s_cacosh.c: Include <math_private.h>.
8571 * math/s_cacoshl.c: Likewise.
8572 * math/s_casinh.c: Likewise.
8573 * math/s_casinhf.c: Likewise.
8574 * math/s_casinhl.c: Likewise.
8575 * math/s_ccos.c: Rely entire on ccosh.
8576 * math/s_ccosf.c: Rely entire on ccoshf.
8577 * math/s_ccosl.c: Rely entirely on ccoshl.
8578 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8579 Remove tests for FE_INVALID.
8580 * math/s_ccoshf.c: Likewise.
8581 * math/s_ccoshl.c: Likewise.
8582 * math/s_csin.c: Likewise.
8583 * math/s_csinf.c: Likewise.
8584 * math/s_csinh.c Likewise.
8585 * math/s_csinhf.c: Likewise.
8586 * math/s_csinhl.c: Likewise.
8587 * math/s_csinl.c: Likewise.
8588 * math/s_ctan.c: Likewise.
8589 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8590 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8591 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8592
8593 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8594
8595 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8596 compilation problems.
8597
8598 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8599 __builtin_expect.
8600
8601 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8602
8603 * sysdeps/i386/configure.in: Test for -mfma4 option.
8604 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8605 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8606 COMMON_CPUID_INDEX_80000001.
8607 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8608 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8609 use it if FMA3 is not supported.
8610 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8611
8612 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8613 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8614
8615 2011-10-20 Andreas Schwab <schwab@redhat.com>
8616
8617 [BZ #12892]
8618 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8619 it would create a cycle with a link time dependency.
8620
8621 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8622
8623 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8624 instruction.
8625 * string/Makefile (strop-tests): Add rawmemchr.
8626 * string/test-rawmemchr.c: New file.
8627
8628 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8629 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8630 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8631 when compiling str{,n}casecmp and when AVX is available. Hook up
8632 new optimized code in initializers.
8633
8634 2011-10-19 Andreas Schwab <schwab@redhat.com>
8635
8636 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8637 __feraiseexcept instead of feraiseexcept.
8638
8639 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8640
8641 * math/math_private.h: Define defaults for libc_fetestexcept and
8642 libc_feupdateenv.
8643 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8644 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8645 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8646 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8647 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8648 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8649 libc_fetestexcept and libc_feupdateenv.
8650
8651 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8652 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8653 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8654 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8655 libc_feholdexcept_setround.
8656
8657 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8658 Add s_nearbyint-c and s_nearbyintf-c.
8659 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8660 nearbyintf inlines.
8661 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8662 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8663 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8664 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8665
8666 * math/math_private.h: Define defaults for libc_fegetround,
8667 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8668 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8669 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8670 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8671 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8672 standard functions.
8673 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8674 Remove comments and hacks for old compiler versions.
8675 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8676 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8677 libc_feholdexceptl.
8678
8679 2011-10-18 Andreas Schwab <schwab@redhat.com>
8680
8681 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8682 (__feraiseexcept_renamed): Add __NTH.
8683 (feraiseexcept): Add __NTH. Rename local variables to fix
8684 namespace violations.
8685
8686 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8687
8688 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8689
8690 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8691
8692 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8693 recently added interfaces.
8694 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8695
8696 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8697 about macro parameter expansion.
8698
8699 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8700 __NO_MATH_INLINES is defined. Cleanups.
8701
8702 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8703 and __floorf is target has SSE4.1.
8704 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8705 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8706 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8707 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8708
8709 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8710 name.
8711 (floorf): Likewise.
8712
8713 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8714
8715 2011-10-17 Andreas Schwab <schwab@redhat.com>
8716
8717 * misc/sys/cdefs.h: Fix last change.
8718
8719 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8720 database lookup.
8721
8722 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8723
8724 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8725
8726 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8727 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8732 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8733 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8734 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8735 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8736 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8737 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8738 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8739 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8740 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8741 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8742 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8743 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8744 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8745 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8746 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8747 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8748
8749 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8750 ceil, ceilf, floor, floorf.
8751
8752 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8753 Perform IRELATIVE relocations last.
8754
8755 * elf/do-rel.h: Add another parameter nrelative, replacing the
8756 local variable with the same name. Change name of the function
8757 to end in Rel or Rela (uppercase).
8758 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8759 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8760 elf_dynamic_do_##reloc function.
8761
8762 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8763
8764 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8765 is sufficient, at least on modern CPUs.
8766
8767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8768
8769 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8771
8772 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8773 __expl_finite.
8774 * math/bits/math-finite.h: Add entries for exp.
8775 * math/e_expl.c: Add __*_finite alias.
8776 * sysdeps/i386/fpu/e_exp.S: Likewise.
8777 * sysdeps/i386/fpu/e_expf.S: Likewise.
8778 * sysdeps/i386/fpu/e_expl.c: Likewise.
8779 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8780 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8781 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8782 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8783 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8784 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8785 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8786
8787 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8788 is sufficient, at least on modern CPUs.
8789
8790 * ctype/ctype-info.c (__ctype_init): Define.
8791 * include/ctype.h (__ctype_init): Declare.
8792 (__ctype_b_loc): The variable is always initialized.
8793 (__ctype_toupper_loc): Likewise.
8794 (__ctype_tolower_loc): Likewise.
8795 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8796 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8797
8798 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8799
8800 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8801
8802 * configure.in: Also look in $cxxmachine/include for C++ system
8803 headers.
8804
8805 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8806
8807 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8808 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8809 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8810 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8811 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8812 (USE_AS_WMEMCMP): New macro.
8813 Fixing indents.
8814 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8815 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8816 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8817 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8818 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8819 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8820 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8821 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8822 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8823 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8824 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8825 (USE_AS_WMEMCMP): New macro.
8826 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8827 * sysdeps/string/test-memcmp.c: Update.
8828 Fix simple_wmemcmp.
8829 Add new tests.
8830 * wcsmbs/wmemcmp.c: Update.
8831 (WMEMCMP): New macro.
8832 Fix overflow bug.
8833
8834 2011-10-12 Andreas Jaeger <aj@suse.de>
8835
8836 [BZ #13268]
8837 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8838
8839 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8840
8841 * libio/iofwide.c (do_length): Avoid warning.
8842
8843 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8844
8845 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8846
8847 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8848
8849 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8850 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8851 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8852 * sysdeps/i386/i686/fpu/e_log.S: New file.
8853 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8854 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8855
8856 * ctype/ctype.h: Add support for inlined isXXX functions when
8857 compiling C++ code.
8858
8859 2011-10-14 Andreas Schwab <schwab@redhat.com>
8860
8861 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8862
8863 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8864
8865 2011-10-13 Roland McGrath <roland@hack.frob.com>
8866
8867 [BZ #13291]
8868 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8869
8870 2011-10-13 Andreas Schwab <schwab@redhat.com>
8871
8872 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8873 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8874 feraiseexcept.
8875
8876 * sysdeps/x86_64/memrchr.S: Check for zero size.
8877
8878 * string/stratcliff.c: Add memrchr tests.
8879
8880 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8881
8882 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8883 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8884 rawmemchr-sse2 rawmemchr-sse2-bsf.
8885 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8886 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8887 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8888 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8889 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8890 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8891 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8892 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8893 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8894 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8895 * string/memrchr.c (MEMRCHR): New macro.
8896
8897 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8898
8899 Add integration with gcc's -ffinite-math-only and optimize wrapper
8900 functions in libm.
8901 * Versions.def: Define GLIBC_2.15 version for libm.
8902 * math/Makefile (headers): Add bits/math-finite.h.
8903 * math/bits/math-finite.h: New file.
8904 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8905 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8906 * math/e_acoshl.c: Add __*_finite alias.
8907 * math/e_acosl.c: Likewise.
8908 * math/e_asinl.c: Likewise.
8909 * math/e_atan2l.c: Likewise.
8910 * math/e_atanhl.c: Likewise.
8911 * math/e_coshl.c: Likewise.
8912 * math/e_exp10.c: Likewise.
8913 * math/e_exp10f.c: Likewise.
8914 * math/e_exp10l.c: Likewise.
8915 * math/e_exp2l.c: Likewise.
8916 * math/e_fmodl.c: Likewise.
8917 * math/e_gammal_r.c: Likewise.
8918 * math/e_hypotl.c: Likewise.
8919 * math/e_j0l.c: Likewise.
8920 * math/e_j1l.c: Likewise.
8921 * math/e_jnl.c: Likewise.
8922 * math/e_lgammal_r.c: Likewise.
8923 * math/e_log10l.c: Likewise.
8924 * math/e_log2l.c: Likewise.
8925 * math/e_logl.c: Likewise.
8926 * math/e_powl.c: Likewise.
8927 * math/e_sinhl.c: Likewise.
8928 * math/e_sqrtl.c: Likewise.
8929 * math/e_scalb.c: Completely rewritten and optimized.
8930 * math/e_scalbf.c: Likewise.
8931 * math/e_scalbl.c: Likewise.
8932 * math/w_acos.c: Likewise.
8933 * math/w_acosf.c: Likewise.
8934 * math/w_acosl.c: Likewise.
8935 * math/w_acosh.c: Likewise.
8936 * math/w_acoshf.c: Likewise.
8937 * math/w_acoshl.c: Likewise.
8938 * math/w_asin.c: Likewise.
8939 * math/w_asinf.c: Likewise.
8940 * math/w_asinl.c: Likewise.
8941 * math/w_atan2.c: Likewise.
8942 * math/w_atan2f.c: Likewise.
8943 * math/w_atan2l.c: Likewise.
8944 * math/w_atanh.c: Likewise.
8945 * math/w_atanhf.c: Likewise.
8946 * math/w_atanhl.c: Likewise.
8947 * math/w_exp10.c: Likewise.
8948 * math/w_exp10f.c: Likewise.
8949 * math/w_exp10l.c: Likewise.
8950 * math/w_fmod.c: Likewise.
8951 * math/w_fmodf.c: Likewise.
8952 * math/w_fmodl.c: Likewise.
8953 * math/w_j0.c: Likewise.
8954 * math/w_j0f.c: Likewise.
8955 * math/w_j0l.c: Likewise.
8956 * math/w_j1.c: Likewise.
8957 * math/w_j1f.c: Likewise.
8958 * math/w_j1l.c: Likewise.
8959 * math/w_jn.c: Likewise.
8960 * math/w_jnf.c: Likewise.
8961 * math/w_log.c: Likewise.
8962 * math/w_logf.c: Likewise.
8963 * math/w_logl.c: Likewise.
8964 * math/w_log10.c: Likewise.
8965 * math/w_log10f.c: Likewise.
8966 * math/w_log10l.c: Likewise.
8967 * math/w_log2.c: Likewise.
8968 * math/w_log2f.c: Likewise.
8969 * math/w_log2l.c: Likewise.
8970 * math/w_pow.c: Likewise.
8971 * math/w_powf.c: Likewise.
8972 * math/w_powl.c: Likewise.
8973 * math/w_remainder.c: Likewise.
8974 * math/w_remainderf.c: Likewise.
8975 * math/w_remainderl.c: Likewise.
8976 * math/w_scalb.c: Likewise.
8977 * math/w_scalbf.c: Likewise.
8978 * math/w_scalbl.c: Likewise.
8979 * math/w_sqrt.c: Likewise.
8980 * math/w_sqrtf.c: Likewise.
8981 * math/w_sqrtl.c: Likewise.
8982 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8983 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8984 used.
8985 * math/math_private.h: Declare __kernel_standard_f.
8986 * math/w_cosh.c: Remove cruft and optimize a bit.
8987 * math/w_coshf.c: Likewise.
8988 * math/w_coshl.c: Likewise.
8989 * math/w_exp2.c: Likewise.
8990 * math/w_exp2f.c: Likewise.
8991 * math/w_exp2l.c: Likewise.
8992 * math/w_hypot.c: Likewise.
8993 * math/w_hypotf.c: Likewise.
8994 * math/w_hypotl.c: Likewise.
8995 * math/w_lgamma.c: Likewise.
8996 * math/w_lgamma_r.c: Likewise.
8997 * math/w_lgammaf.c: Likewise.
8998 * math/w_lgammaf_r.c: Likewise.
8999 * math/w_lgammal.c: Likewise.
9000 * math/w_lgammal_r.c: Likewise.
9001 * math/w_sinh.c: Likewise.
9002 * math/w_sinhf.c: Likewise.
9003 * math/w_sinhl.c: Likewise.
9004 * math/w_tgamma.c: Likewise.
9005 * math/w_tgammaf.c: Likewise.
9006 * math/w_tgammal.c: Likewise.
9007 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9008 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9009 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9010 Minor optimizations. Pretty printing. Remove cruft.
9011 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9012 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9013 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9014 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9015 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9016 * sysdeps/i386/fpu/e_asin.S: Likewise.
9017 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9018 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9019 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9020 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9021 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9022 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9023 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9024 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9025 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9026 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9027 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9028 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9029 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9030 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9031 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9032 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9033 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9034 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9035 * sysdeps/i386/fpu/e_log.S: Likewise.
9036 * sysdeps/i386/fpu/e_log10.S: Likewise.
9037 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9038 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9039 * sysdeps/i386/fpu/e_log2.S: Likewise.
9040 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9041 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9042 * sysdeps/i386/fpu/e_logf.S: Likewise.
9043 * sysdeps/i386/fpu/e_logl.S: Likewise.
9044 * sysdeps/i386/fpu/e_pow.S: Likewise.
9045 * sysdeps/i386/fpu/e_powf.S: Likewise.
9046 * sysdeps/i386/fpu/e_powl.S: Likewise.
9047 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9048 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9049 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9050 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9051 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9052 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9053 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9054 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9055 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9077 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9078 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9080 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9081 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9084 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9085 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9086 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9087 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9147 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9148 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9149 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9150 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9151 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9152 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9153 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9154 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9155 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9156 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9157 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9158 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9159 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9160 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9161 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9162 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9163 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9164 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9165 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9166 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9167 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9168 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9169 (__isnanf): Likewise.
9170 (__isinf_ns): Likewise.
9171 (__isinf_nsf): Likewise.
9172 (__finite): Likewise.
9173 (__finitef): Likewise.
9174 (__ieee754_sqrt): Define as macro.
9175 (__ieee754_sqrtf): Define as macro.
9176 (__ieee754_sqrtl): Define as macro.
9177 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9178 inlined copy.
9179 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9180 __FINITE_MATH_ONLY__ consistent.
9181 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9182
9183 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9184
9185 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9186 of rawmemchr.
9187
9188 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9189
9190 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9191
9192 * po/ja.po: Update from translation team.
9193
9194 2011-10-08 Roland McGrath <roland@hack.frob.com>
9195
9196 * locale/programs/locarchive.c (prepare_address_space): New function.
9197 (create_archive, enlarge_archive, open_archive): Use it.
9198
9199 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9200 inside [SHARED], where it is used.
9201
9202 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9203
9204 * nss/getent.c (netgroup_keys): Remove unused variable.
9205 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9206
9207 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9208
9209 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9210 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9211 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9212 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9213 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9214 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9215 * math/Makefile (libm-calls): Add s_isinf_ns.
9216 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9217 * math/multc3.c: Likewise.
9218 * math/s_casin.c: Likewise.
9219 * math/s_casinf.c: Likewise.
9220 * math/s_casinl.c: Likewise.
9221 * math/s_ccos.c: Likewise.
9222 * math/s_ccosf.c: Likewise.
9223 * math/s_ccosl.c: Likewise.
9224 * math/s_ctan.c: Likewise.
9225 * math/s_ctanf.c: Likewise.
9226 * math/s_ctanh.c: Likewise.
9227 * math/s_ctanhf.c: Likewise.
9228 * math/s_ctanhl.c: Likewise.
9229 * math/s_ctanl.c: Likewise.
9230 * math/w_fmod.c: Likewise.
9231 * math/w_fmodf.c: Likewise.
9232 * math/w_fmodl.c: Likewise.
9233 * math/w_remainder.c: Likewise.
9234 * math/w_remainderf.c: Likewise.
9235 * math/w_remainderl.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9237 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9238 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9239 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9240 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9241 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9242 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9243 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9244
9245 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9246 of the number.
9247 * stdio-common/printf_fphex.c: Likewise.
9248 * stdio-common/printf_size.c: Likewise.
9249
9250 * math/e_exp10.c: Include math_private.h using <...> not "...".
9251 * math/e_exp10f.c: Likewise.
9252 * math/e_exp10l.c: Likewise.
9253 * math/e_exp2l.c: Likewise.
9254 * math/e_j0l.c: Likewise.
9255 * math/e_j1l.c: Likewise.
9256 * math/e_jnl.c: Likewise.
9257 * math/e_lgammal_r.c: Likewise.
9258 * math/e_rem_pio2l.c: Likewise.
9259 * math/e_scalb.c: Likewise.
9260 * math/e_scalbf.c: Likewise.
9261 * math/e_scalbl.c: Likewise.
9262 * math/k_cosl.c: Likewise.
9263 * math/k_sinl.c: Likewise.
9264 * math/k_tanl.c: Likewise.
9265 * math/s_cacoshf.c: Likewise.
9266 * math/s_catan.c: Likewise.
9267 * math/s_catanf.c: Likewise.
9268 * math/s_catanh.c: Likewise.
9269 * math/s_catanhf.c: Likewise.
9270 * math/s_catanhl.c: Likewise.
9271 * math/s_catanl.c: Likewise.
9272 * math/s_ccosh.c: Likewise.
9273 * math/s_ccoshf.c: Likewise.
9274 * math/s_ccoshl.c: Likewise.
9275 * math/s_cexp.c: Likewise.
9276 * math/s_cexpf.c: Likewise.
9277 * math/s_cexpl.c: Likewise.
9278 * math/s_clog.c: Likewise.
9279 * math/s_clog10.c: Likewise.
9280 * math/s_clog10f.c: Likewise.
9281 * math/s_clog10l.c: Likewise.
9282 * math/s_clogf.c: Likewise.
9283 * math/s_clogl.c: Likewise.
9284 * math/s_csin.c: Likewise.
9285 * math/s_csinf.c: Likewise.
9286 * math/s_csinh.c: Likewise.
9287 * math/s_csinhf.c: Likewise.
9288 * math/s_csinhl.c: Likewise.
9289 * math/s_csinl.c: Likewise.
9290 * math/s_csqrt.c: Likewise.
9291 * math/s_csqrtf.c: Likewise.
9292 * math/s_csqrtl.c: Likewise.
9293 * math/s_ctan.c: Likewise.
9294 * math/s_ctanf.c: Likewise.
9295 * math/s_ctanh.c: Likewise.
9296 * math/s_ctanhf.c: Likewise.
9297 * math/s_ctanhl.c: Likewise.
9298 * math/s_ctanl.c: Likewise.
9299 * math/s_ldexp.c: Likewise.
9300 * math/s_ldexpf.c: Likewise.
9301 * math/s_ldexpl.c: Likewise.
9302 * math/s_significand.c: Likewise.
9303 * math/s_significandf.c: Likewise.
9304 * math/s_significandl.c: Likewise.
9305 * math/w_acos.c: Likewise.
9306 * math/w_acosf.c: Likewise.
9307 * math/w_acosh.c: Likewise.
9308 * math/w_acoshf.c: Likewise.
9309 * math/w_acoshl.c: Likewise.
9310 * math/w_acosl.c: Likewise.
9311 * math/w_asin.c: Likewise.
9312 * math/w_asinf.c: Likewise.
9313 * math/w_asinl.c: Likewise.
9314 * math/w_atan2.c: Likewise.
9315 * math/w_atan2f.c: Likewise.
9316 * math/w_atan2l.c: Likewise.
9317 * math/w_atanh.c: Likewise.
9318 * math/w_atanhf.c: Likewise.
9319 * math/w_atanhl.c: Likewise.
9320 * math/w_cosh.c: Likewise.
9321 * math/w_coshf.c: Likewise.
9322 * math/w_coshl.c: Likewise.
9323 * math/w_dremf.c: Likewise.
9324 * math/w_exp10.c: Likewise.
9325 * math/w_exp10f.c: Likewise.
9326 * math/w_exp10l.c: Likewise.
9327 * math/w_exp2.c: Likewise.
9328 * math/w_exp2f.c: Likewise.
9329 * math/w_fmod.c: Likewise.
9330 * math/w_fmodf.c: Likewise.
9331 * math/w_fmodl.c: Likewise.
9332 * math/w_hypot.c: Likewise.
9333 * math/w_hypotf.c: Likewise.
9334 * math/w_hypotl.c: Likewise.
9335 * math/w_j0.c: Likewise.
9336 * math/w_j0f.c: Likewise.
9337 * math/w_j0l.c: Likewise.
9338 * math/w_j1.c: Likewise.
9339 * math/w_j1f.c: Likewise.
9340 * math/w_j1l.c: Likewise.
9341 * math/w_jn.c: Likewise.
9342 * math/w_jnf.c: Likewise.
9343 * math/w_jnl.c: Likewise.
9344 * math/w_lgamma.c: Likewise.
9345 * math/w_lgamma_r.c: Likewise.
9346 * math/w_lgammaf.c: Likewise.
9347 * math/w_lgammaf_r.c: Likewise.
9348 * math/w_lgammal.c: Likewise.
9349 * math/w_lgammal_r.c: Likewise.
9350 * math/w_log.c: Likewise.
9351 * math/w_log10.c: Likewise.
9352 * math/w_log10f.c: Likewise.
9353 * math/w_log10l.c: Likewise.
9354 * math/w_log2.c: Likewise.
9355 * math/w_log2f.c: Likewise.
9356 * math/w_log2l.c: Likewise.
9357 * math/w_logf.c: Likewise.
9358 * math/w_logl.c: Likewise.
9359 * math/w_pow.c: Likewise.
9360 * math/w_powf.c: Likewise.
9361 * math/w_powl.c: Likewise.
9362 * math/w_remainder.c: Likewise.
9363 * math/w_remainderf.c: Likewise.
9364 * math/w_remainderl.c: Likewise.
9365 * math/w_scalb.c: Likewise.
9366 * math/w_scalbf.c: Likewise.
9367 * math/w_scalbl.c: Likewise.
9368 * math/w_sinh.c: Likewise.
9369 * math/w_sinhf.c: Likewise.
9370 * math/w_sinhl.c: Likewise.
9371 * math/w_sqrt.c: Likewise.
9372 * math/w_sqrtf.c: Likewise.
9373 * math/w_sqrtl.c: Likewise.
9374 * math/w_tgamma.c: Likewise.
9375 * math/w_tgammaf.c: Likewise.
9376 * math/w_tgammal.c: Likewise.
9377
9378 * po/ja.po: Update from translation team.
9379
9380 2011-09-29 Andreas Jaeger <aj@suse.de>
9381
9382 [BZ #13179]
9383 * sunrpc/netname.c (netname2host): Fix logic.
9384
9385 [BZ #6779]
9386 [BZ #6783]
9387 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9388 correctly.
9389 * math/w_remainder.c (__remainder): Likewise.
9390 * math/w_remainderf.c (__remainderf): Likewise.
9391 * math/libm-test.inc (remainder_test): Add test cases.
9392
9393 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9394
9395 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9396 sdiv_qrnnd.
9397
9398 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9399
9400 * string/test-memcmp.c: Avoid unncessary #defines.
9401 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9402
9403 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9404
9405 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9406 Use new sse2 version for core i3 - i7 as it's faster
9407 than sse42 version.
9408 (bit_Prefer_PMINUB_for_stringop): New.
9409 * sysdeps/x86_64/rawmemchr.S: Update.
9410 Replace with faster SSE2 version.
9411 * sysdeps/x86_64/memrchr.S: New file.
9412 * sysdeps/x86_64/memchr.S: Update.
9413 Replace with faster SSE2 version.
9414
9415 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9416
9417 * elf/dl-load.c (lose): Add cast to avoid warning.
9418
9419 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9420
9421 * po/ca.po: Update from translation team.
9422
9423 * inet/getnetgrent_r.c: Hook up nscd.
9424 * nscd/Makefile (routines): Add nscd_netgroup.
9425 (nscd-modules): Add netgroupcache.
9426 (CFLAGS-netgroupcache.c): Define.
9427 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9428 (cache_search): Add const to second parameter.
9429 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9430 INNETGR.
9431 (dbs): Add netgrdb entry.
9432 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9433 (verify_persistent_db): Handle netgrdb.
9434 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9435 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9436 GETFDNETGR.
9437 (netgroup_response_header): Define.
9438 (innetgroup_response_header): Define.
9439 (datahead): Add netgroup_response_header and innetgroup_response_header
9440 elements.
9441 * nscd/nscd.conf: Add entries for netgroup cache.
9442 * nscd/nscd.h (dbtype): Add netgrdb.
9443 (_PATH_NSCD_NETGROUP_DB): Define.
9444 (netgroup_iov_disabled): Declare.
9445 (xmalloc, xcalloc, xrealloc): Move declarations here.
9446 (cache_search): Adjust prototype.
9447 Add netgroup-related prototypes.
9448 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9449 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9450 (__nscd_innetgr): Declare.
9451 * nscd/selinux.c (perms): Use access_vector_t as element type and
9452 add netgroup-related initializers.
9453 * nscd/netgroupcache.c: New file.
9454 * nscd/nscd_netgroup.c: New file.
9455 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9456 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9457 For four parameters use innetgr.
9458 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9459 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9460 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9461 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9462
9463 * nscd/connections.c (register_traced_file): Don't register file
9464 for disabled databases.
9465
9466 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9467
9468 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9469
9470 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9471 from tree and freeing node.
9472
9473 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9474
9475 * nss/nsswitch.c (__nss_database_lookup): Handle
9476 nss_parse_service_list out of memory case.
9477
9478 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9479
9480 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9481 out of memory case.
9482
9483 2011-10-04 Andreas Schwab <schwab@redhat.com>
9484
9485 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9486 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9487 pass it down.
9488 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9489 elf_machine_rela, elf_machine_lazy_rel.
9490 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9491 (ELF_DYNAMIC_DO_REL): Likewise.
9492 (ELF_DYNAMIC_DO_RELA): Likewise.
9493 (ELF_DYNAMIC_RELOCATE): Likewise.
9494 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9495 to ELF_DYNAMIC_DO_REL.
9496 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9497 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9498 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9499 elf_machine_rela.
9500 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9501 skip_ifunc, don't call ifunc function if non-zero.
9502 (elf_machine_rela): Likewise.
9503 (elf_machine_lazy_rel): Likewise.
9504 (elf_machine_lazy_rela): Likewise.
9505 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9506 (elf_machine_lazy_rel): Likewise.
9507 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9508 Likewise.
9509 (elf_machine_lazy_rel): Likewise.
9510 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9511 Likewise.
9512 (elf_machine_lazy_rel): Likewise.
9513 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9514 (elf_machine_lazy_rel): Likewise.
9515 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9516 (elf_machine_lazy_rel): Likewise.
9517 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9518 (elf_machine_lazy_rel): Likewise.
9519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9520 (elf_machine_lazy_rel): Likewise.
9521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9522 (elf_machine_lazy_rel): Likewise.
9523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9524 (elf_machine_lazy_rel): Likewise.
9525
9526 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9527
9528 * nss/nss_files/files-init.c (_nss_files_init): Use static
9529 initialization for all the *_traced_file variables.
9530
9531 2011-09-28 Andreas Schwab <schwab@redhat.com>
9532
9533 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9534
9535 2011-09-27 Roland McGrath <roland@hack.frob.com>
9536
9537 [BZ #13226]
9538 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9539
9540 2011-09-27 Andreas Schwab <schwab@redhat.com>
9541
9542 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9543 Reread the line before reparsing it.
9544
9545 2011-09-26 Andreas Schwab <schwab@redhat.com>
9546
9547 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9548
9549 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9550 Maxim Kuvyrkov <maxim@codesourcery.com>
9551 Joseph Myers <joseph@codesourcery.com>
9552
9553 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9554 if needed for __stack_chk_guard.
9555
9556 2011-09-19 Roland McGrath <roland@hack.frob.com>
9557
9558 * sysdeps/posix/spawni.c (script_execute): Always define it.
9559 It will be optimized away if unused.
9560 (maybe_script_execute): New function.
9561 (__spawni): Call it.
9562
9563 * Makerules: Don't include tls.make.
9564 (config-tls): Always set to thread.
9565 * tls.make.c: File removed.
9566
9567 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9568
9569 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9570 * config.make.in (CPPFLAGS-config): New substituted variable.
9571
9572 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9573
9574 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9575
9576 [BZ #13192]
9577 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9578 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9579
9580 2011-09-15 Roland McGrath <roland@hack.frob.com>
9581
9582 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9583 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9585 (CALL_FAIL): Likewise.
9586 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9587 (CALL_FAIL): Macro removed.
9588 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9589
9590 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9591
9592 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9593 for __FINITE_MATH_ONLY__ == 1.
9594
9595 2011-09-15 Andreas Schwab <schwab@redhat.com>
9596
9597 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9598 __ieee754_sqrt instead of sqrt.
9599 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9600 __ieee754_sqrtf instead of sqrtf.
9601 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9602 __floorf instead of floorf.
9603 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9604 __floorf, __truncf instead of floorf, truncf.
9605
9606 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9607
9608 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9609
9610 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9611 __extern_always_inline.
9612 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9613 32-bit.
9614
9615 2011-09-14 Andreas Schwab <schwab@redhat.com>
9616
9617 * elf/rtld.c (dl_main): Also relocate in dependency order when
9618 doing symbol dependency testing.
9619
9620 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9621
9622 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9623 Always define `refsym'.
9624
9625 2011-09-13 Andreas Schwab <schwab@redhat.com>
9626
9627 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9628 (__FD_ELT): Renamed from __FDELT.
9629 * misc/bits/select2.h (__FD_ELT): Likewise.
9630 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9631 __FD_MASK instead of __FDELT, __FDMASK.
9632 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9633 Likewise.
9634 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9635 Likewise.
9636
9637 * elf/Makefile (gen-ldd): Fix pattern.
9638
9639 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9640 (init_tls): Likewise.
9641
9642 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9643
9644 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9645
9646 2011-09-12 Andreas Schwab <schwab@redhat.com>
9647
9648 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9649 `struct cmsghdr *' instead of `void *'.
9650 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9651 Likewise.
9652
9653 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9654
9655 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9656 if non-absolute.
9657 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9658 ldd_rewrite_script.
9659
9660 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9661
9662 * configure.in: Remove --with-tls option.
9663 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9664 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9665 out in case it is missing.
9666 * sysdeps/ia64/elf/configure.in: Likewise.
9667 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9668 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9669 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9670 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9671 * sysdeps/sh/elf/configure.in: Likewise.
9672 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9673 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9674 * sysdeps/x86_64/elf/configure.in: Likewise.
9675 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9676 * sysdeps/mach/hurd/tls.h: Likewise.
9677
9678 [BZ #13067]
9679 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9680
9681 [BZ #13090]
9682 * configure.in: Fix use of AC_INIT.
9683
9684 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9685
9686 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9687
9688 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9689 __set_errno.
9690 * malloc/hooks.c: Likewise.
9691
9692 [BZ #11929]
9693 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9694 variables statically.
9695 (narenas): Initialize.
9696 (list_lock): Initialize.
9697 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9698 initializtion of main_arena and list_lock. Small cleanups.
9699 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9700 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9701 Add initializers to main_arena and mp_.
9702 (malloc_state): Remove pagesize member. Change all users to use
9703 GLRO(dl_pagesize).
9704
9705 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9706 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9707 is always initialized.
9708
9709 * malloc/malloc.c: Removed unused configurations and dead code.
9710 * malloc/arena.c: Likewise.
9711 * malloc/hooks.c: Likewise.
9712 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9713
9714 * include/tls.h: Removed. USE___THREAD must always be defined.
9715 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9716 * elf/dl-libc.c: Likewise.
9717 * elf/dl-tsd.c: Likewise.
9718 * include/errno.h: Likewise.
9719 * include/netdb.h: Likewise.
9720 * include/resolv.h: Likewise.
9721 * inet/herrno-loc.c: Likewise.
9722 * inet/herrno.c: Likewise.
9723 * malloc/arena.c: Likewise.
9724 * malloc/hooks.c: Likewise.
9725 * malloc/malloc.c: Likewise.
9726 * resolv/res-state.c: Likewise.
9727 * resolv/res_libc.c: Likewise.
9728 * sysdeps/i386/dl-machine.h: Likewise.
9729 * sysdeps/ia64/dl-machine.h: Likewise.
9730 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9731 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9732 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9733 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9734 * sysdeps/sh/dl-machine.h: Likewise.
9735 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9736 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9737 * sysdeps/unix/i386/sysdep.S: Likewise.
9738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9739 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9740 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9741 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9742 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9744 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9745 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9746 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9747 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9748 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9749 * sysdeps/x86_64/dl-machine.h: Likewise.
9750 * tls.make.c: Likewise.
9751
9752 * configure.in: Remove --with-__thread option. Make tests for
9753 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9754 tls_model attribute fail if no support is available. Remove
9755 USE_IN_LIBIO.
9756 * Makeconfig: Adjust for dropped configure option. All features are
9757 now mandatory.
9758 * Makerules: Likewise.
9759 * Versions.def: Likewise.
9760 * argp/argp-fmtstream.c: Likewise.
9761 * argp/argp-fmtstream.h: Likewise.
9762 * argp/argp-help.c: Likewise.
9763 * assert/assert.c: Likewise.
9764 * config.h.in: Likewise.
9765 * config.make.in: Likewise.
9766 * configure: Likewise.
9767 * configure.in: Likewise.
9768 * csu/Versions: Likewise.
9769 * csu/init.c: Likewise.
9770 * elf/tst-audit2.c: Likewise.
9771 * elf/tst-tls10.c: Likewise.
9772 * elf/tst-tls10.h: Likewise.
9773 * elf/tst-tls11.c: Likewise.
9774 * elf/tst-tls12.c: Likewise.
9775 * elf/tst-tls14.c: Likewise.
9776 * elf/tst-tlsmod11.c: Likewise.
9777 * elf/tst-tlsmod12.c: Likewise.
9778 * elf/tst-tlsmod13.c: Likewise.
9779 * elf/tst-tlsmod13a.c: Likewise.
9780 * elf/tst-tlsmod14a.c: Likewise.
9781 * elf/tst-tlsmod15b.c: Likewise.
9782 * elf/tst-tlsmod16a.c: Likewise.
9783 * elf/tst-tlsmod16b.c: Likewise.
9784 * elf/tst-tlsmod7.c: Likewise.
9785 * elf/tst-tlsmod8.c: Likewise.
9786 * elf/tst-tlsmod9.c: Likewise.
9787 * gmon/gmon.c: Likewise.
9788 * grp/fgetgrent_r.c: Likewise.
9789 * grp/putgrent.c: Likewise.
9790 * hurd/fopenport.c: Likewise.
9791 * include/libc-symbols.h: Likewise.
9792 * include/tls.h: Likewise.
9793 * intl/gettextP.h: Likewise.
9794 * intl/loadinfo.h: Likewise.
9795 * locale/global-locale.c: Likewise.
9796 * locale/localeinfo.h: Likewise.
9797 * mach/devstream.c: Likewise.
9798 * malloc/arena.c: Likewise.
9799 * malloc/set-freeres.c: Likewise.
9800 * misc/err.c: Likewise.
9801 * misc/getttyent.c: Likewise.
9802 * misc/mntent_r.c: Likewise.
9803 * posix/getopt.c: Likewise.
9804 * posix/wordexp.c: Likewise.
9805 * pwd/fgetpwent_r.c: Likewise.
9806 * resolv/Versions: Likewise.
9807 * resolv/res_hconf.c: Likewise.
9808 * shadow/fgetspent_r.c: Likewise.
9809 * shadow/putspent.c: Likewise.
9810 * stdio-common/printf_fphex.c: Likewise.
9811 * stdio-common/tmpfile.c: Likewise.
9812 * stdlib/abort.c: Likewise.
9813 * stdlib/fmtmsg.c: Likewise.
9814 * sunrpc/auth_unix.c: Likewise.
9815 * sunrpc/clnt_perr.c: Likewise.
9816 * sunrpc/clnt_tcp.c: Likewise.
9817 * sunrpc/clnt_udp.c: Likewise.
9818 * sunrpc/clnt_unix.c: Likewise.
9819 * sunrpc/openchild.c: Likewise.
9820 * sunrpc/svc_simple.c: Likewise.
9821 * sunrpc/svc_tcp.c: Likewise.
9822 * sunrpc/svc_udp.c: Likewise.
9823 * sunrpc/svc_unix.c: Likewise.
9824 * sunrpc/xdr.c: Likewise.
9825 * sunrpc/xdr_array.c: Likewise.
9826 * sunrpc/xdr_rec.c: Likewise.
9827 * sunrpc/xdr_ref.c: Likewise.
9828 * sunrpc/xdr_stdio.c: Likewise.
9829
9830 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9831
9832 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9833
9834 2011-07-03 Andreas Jaeger <aj@suse.de>
9835
9836 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9837 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9838 regenerate with gen-libm-tests.pl.
9839
9840 2010-05-12 Petr Baudis <pasky@suse.cz>
9841
9842 [BZ #11589]
9843 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9844 around j0() zero points by switching to j1().
9845 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9849
9850 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9851
9852 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9853 instead of 0.
9854 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9855 instead of 0. .
9856 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9857 Patch in part by Pavel Roskin <proski@gnu.org>.
9858
9859 [BZ #13138]
9860 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9861 realloc.
9862 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9863 Free memory block if necessary.
9864
9865 [BZ #12847]
9866 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9867 be NULL. Don't lock in this case.
9868
9869 2011-09-09 Roland McGrath <roland@hack.frob.com>
9870
9871 * elf/elf.h (ELFOSABI_GNU): New macro.
9872 (ELFOSABI_LINUX): Define to that.
9873
9874 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9875
9876 * string/strncat.c (strncat): Undef the symbol in case it has been
9877 defined in bits/string.h.
9878
9879 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9880
9881 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9882
9883 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9884 link map.
9885
9886 2011-08-17 Andreas Jaeger <aj@suse.de>
9887
9888 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9889
9890 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9891 Ian Lance Taylor <iant@google.com>
9892
9893 * math/libm-test.inc (lround_test): New testcase.
9894 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9895
9896 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9897
9898 * Makefile: Remove support for automatic cvs check-ins.
9899 * Makerules: Likewise.
9900 * config.make.in: Likewise.
9901 * configure.in: Likewise.
9902 * intl/Makefile: Likewise.
9903 * locale/Makefile: Likewise.
9904 * po/Makefile: Likewise.
9905 * posix/Makefile: Likewise.
9906 * sysdeps/gnu/Makefile: Likewise.
9907 * sysdeps/mach/hurd/Makefile: Likewise.
9908 * sysdeps/sparc/sparc32/Makefile: Likewise.
9909
9910 [BZ #13118]
9911 * posix/Makefile (bug-regex32-ENV): Define.
9912 Patch by John Stanley <jpsinthemix@verizon.net>.
9913
9914 * misc/Makefile (headers): Add bits/select2.h.
9915 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9916 * misc/bits/select2.h: New file.
9917 * include/bits/select2.h: New file.
9918 * debug/Makefile (routines): Add fdelt_chk.
9919 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9920 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9921 FD_ISSET.
9922 * debug/fdelt_chk.c: New file.
9923
9924 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9925 * wcsmbs/test-wmemcmp.c: Likewise.
9926 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9927 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9928
9929 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9930
9931 * string/Makefile (strop-tests): Add memcmp.
9932 * string/test-wmemcmp.c: New file.
9933 * string/test-memcmp.c: Add wmemcmp support.
9934
9935 2011-09-08 Roland McGrath <roland@hack.frob.com>
9936
9937 [BZ #13153]
9938 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9939 2011-07-19 change.
9940
9941 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9942 garbage value in a __mach_port_mod_refs call in the cases of the
9943 task-self and thread-self ports.
9944
9945 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9946
9947 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9948
9949 2011-09-08 Andreas Schwab <schwab@redhat.com>
9950
9951 * elf/dl-load.c (lose): Check for non-null L.
9952
9953 2011-09-07 Ulrich Drepper <drepper@gmail.com>
9954
9955 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9956
9957 * elf/dl-libc.c (dlerror_run): Pass back error code from
9958 dl_catch_error.
9959
9960 [BZ #13123]
9961 * elf/dl-load.c (lose): Free l_origin if it is valid.
9962
9963 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9964 names.
9965 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9966 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9967 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9968 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9969 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9970 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9971
9972 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9973
9974 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9975 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9976 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9977 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9978 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9979 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9980 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9981 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9982 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9983 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9984
9985 2011-08-15 Alan Modra <amodra@gmail.com>
9986
9987 [BZ #13092]
9988 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9989 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9990 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9991 ppc_mcount to static-only-routines.
9992 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9993 __mcount_internal.
9994 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9995 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9996
9997 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9998
9999 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10000 for finite and infinity parameters.
10001
10002 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10003
10004 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10005 and add nop instructions for throughput optimization.
10006 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10007
10008 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10009
10010 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10011 aligned copy for power7 with vector-scalar instructions.
10012 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10013
10014 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10015
10016 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10017 AVX check.
10018
10019 2011-09-07 Andreas Schwab <schwab@redhat.com>
10020
10021 [BZ #13144]
10022 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10023 last change.
10024
10025 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10026
10027 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10028 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10029 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10030 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10031 clock_gettime.
10032
10033 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10034
10035 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10036 Forgot to demangle the pointer.
10037
10038 * sysdeps/i386/sysdep.h: Define atom_text_section.
10039 * sysdeps/x86_64/sysdep.h: Likewise.
10040 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10041 section with atom_text_section.
10042 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10043 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10044 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10045 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10046 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10047
10048 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10049 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10050 already be defined. Change to take two parameters and don't assign
10051 result to variable. Adjust all users.
10052 Define INTERNAL_GETTIME if not already defined.
10053 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10054 call.
10055 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10056 HAVE_CLOCK_GETTIME_VSYSCALL.
10057 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10058
10059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10060 gettimeofday vsyscall, just use time.
10061
10062 2011-09-06 Andreas Schwab <schwab@redhat.com>
10063
10064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10065 <errno.h>.
10066
10067 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10068
10069 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10070 syscall on x86-64.
10071 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10072 syscall.
10073 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10074 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10075 syscall if possible.
10076
10077 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10078
10079 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10080 e_ident. Don't pass to find_mapsXX.
10081 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10082
10083 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10084
10085 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10086 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10087 * sysdeps/x86_64/multiarch/strchr.S: Update.
10088 Check bit_slow_BSF bit.
10089 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10090 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10091 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10092
10093 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10094
10095 [BZ #13134]
10096 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10097 before glibc 2.15.
10098 (tryshell): Define.
10099 (__spawni): Change last parameter to be flag. Test
10100 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10101 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10102 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10103 * posix/spawni.c: Likewise.
10104 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10105 * posix/spawnp.c: Likewise. Change normal version to use
10106 SPAWN_XFLAGS_USE_PATH.
10107 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10108 SPAWN_XFLAGS_TRY_SHELL.
10109
10110 [BZ #13150]
10111 * posix/glob.h: Remove gcc 1.x support.
10112
10113 [BZ #13068]
10114 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10115
10116 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10117
10118 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10119 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10120 strrchr-sse2-bsf
10121 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10122 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10123 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10124 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10125 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10126 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10127
10128 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10129
10130 * sysdeps/x86_64/wcscmp.S: New file.
10131
10132 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10133 wcscmp-c wcscmp-sse2
10134 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10135 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10136 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10137 * wcsmbs/wcscmp.c: Allow renaming.
10138
10139 2011-09-05 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10142 stack slot, rather than the struct return pointer slot.
10143 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10144 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10146 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10147
10148 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10149
10150 * po/ja.po: Update from translation team.
10151
10152 [BZ #13144]
10153 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10154 kernel in 64-bit binaries.
10155
10156 2011-09-01 David S. Miller <davem@davemloft.net>
10157
10158 * elf/elf.h (HWCAP_SPARC_*): Move to..
10159 * sysdeps/sparc/sysdep.h: this new file and add new values.
10160 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10161 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10162 _DL_HWCAP_COUNT to 24.
10163 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10164 entries.
10165 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10166 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10167 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10169 instead of magic constants.
10170 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10171
10172 2011-08-31 David S. Miller <davem@davemloft.net>
10173
10174 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10175 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10176 Reimplement to do errno handling inline.
10177 (SYSCALL_ERROR_HANDLER): New macro.
10178 (__SYSCALL_STRING): Do not do errno handling in asm.
10179 (__CLONE_SYSCALL_STRING): Delete.
10180 (__INTERNAL_SYSCALL_STRING): Delete.
10181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10182 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10183 (PSEUDO): Reimplement to do errno handling inline.
10184 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10185 (SYSCALL_ERROR_HANDLER): New macro.
10186 (__SYSCALL_STRING): Do not do errno handling in asm.
10187 (__CLONE_SYSCALL_STRING): Delete.
10188 (__INTERNAL_SYSCALL_STRING): Delete.
10189 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10190 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10191 i386.
10192 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10193 (inline_syscall*): Add 'err' argument.
10194 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10195 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10196 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10197 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10198
10199 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10200 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10201
10202 2011-08-30 Andreas Schwab <schwab@redhat.com>
10203
10204 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10205
10206 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10207
10208 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10209 directive.
10210
10211 2011-08-24 David S. Miller <davem@davemloft.net>
10212
10213 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10214
10215 2011-08-24 Andreas Schwab <schwab@redhat.com>
10216
10217 * elf/Makefile: Add rules to build and run unload8 test.
10218 * elf/unload8.c: New file.
10219 * elf/unload8mod1.c: New file.
10220 * elf/unload8mod1x.c: New file.
10221 * elf/unload8mod2.c: New file.
10222 * elf/unload8mod3.c: New file.
10223
10224 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10225 it wasn't used.
10226
10227 2011-08-23 David S. Miller <davem@davemloft.net>
10228
10229 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10230 subtract stack bias.
10231 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10232 %sp not %fp in calculations.
10233 (_JMPBUF_UNWINDS_ADJ): Likewise.
10234
10235 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10236 (aio_suspend): Call it to force an exception region around the
10237 AIO_MISC_WAIT() invocation.
10238
10239 2011-08-23 Andreas Schwab <schwab@redhat.com>
10240
10241 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10242 backslash.
10243
10244 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10245
10246 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10247 protection macro.
10248 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10249 and <dl-machine.h>.
10250 (Elf64_FuncDesc): Remove.
10251
10252 2011-08-22 David S. Miller <davem@davemloft.net>
10253
10254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10255 sigaltstack check, add missing cfi directives.
10256 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10257 missing cfi directives, and sigaltstack handling.
10258
10259 2011-08-16 Andreas Schwab <schwab@redhat.com>
10260
10261 [BZ #11724]
10262 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10263 object is seen twice.
10264 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10265
10266 * elf/Makefile (distribute): Add tst-initorder2.c.
10267 (tests): Add tst-initorder2.
10268 (modules-names): Add tst-initorder2a tst-initorder2b
10269 tst-initorder2c tst-initorder2d. Add rules to build them.
10270 ($(objpfx)tst-initorder2.out): New rule.
10271 * elf/tst-initorder2.c: New file.
10272 * elf/tst-initorder2.exp: New file.
10273
10274 2011-08-22 Andreas Schwab <schwab@redhat.com>
10275
10276 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10277
10278 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10279 dependencies back to end of function.
10280
10281 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10282 $(elfobjdir)/ld.so.
10283
10284 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10285
10286 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10287 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10288 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10289 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10290 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10291 of __vdso_gettimeofday.
10292 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10293 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10294 attribute_hidden.
10295 (_libc_vdso_platform_setup): Remove initialization of
10296 __vdso_gettimeofday and __vdso_time.
10297
10298 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10299
10300 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10301 and fgetc_unlocked.
10302 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10303 getc_unlocked.
10304
10305 * elf/dl-open.c (add_to_global): Report additions to the global scope
10306 for LD_DEBUG=scopes.
10307 (dl_open_worker): Also print scope of newly loaded dependencies.
10308 (_dl_show_scope): Indicate if there is no scope.
10309
10310 [BZ #13114]
10311 * stdio-common/Makefile (tests): Add bug24.
10312 * stdio-common/bug24.c: New file.
10313
10314 2011-08-19 Andreas Jaeger <aj@suse.de>
10315
10316 [BZ #13114]
10317 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10318 non-existant file when using close-on-exec mode.
10319
10320 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10321
10322 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10323 the very first instruction.
10324
10325 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10326 the CFI state in the end.
10327 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10328 inclusion of dl-trampoline.h.
10329 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10330
10331 2011-08-19 Andreas Schwab <schwab@redhat.com>
10332
10333 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10334 expectations for long double.
10335
10336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10337 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10338
10339 2011-08-14 David S. Miller <davem@davemloft.net>
10340
10341 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10342 artificual limit depends upon the system page size.
10343
10344 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10345
10346 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10347 * resolv/Makefile: Define CFLAGS-libresolv.
10348
10349 2011-08-17 Andreas Schwab <schwab@redhat.com>
10350
10351 * nss/makedb.c (compute_tables): Make variables used in nested
10352 function static.
10353
10354 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10355
10356 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10357 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10358 if buffer was too small.
10359
10360 * elf/pldd.c (main): Attach to all threads in the process.
10361 Rewrite /proc handling to use *at functions.
10362
10363 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10364
10365 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10366 specifies first scope to show.
10367 (dl_open_worker): Update callers. Move printing scope of new
10368 object to before the relocation.
10369 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10370 * sysdeps/generic/ldsodefs.h: Update declaration.
10371
10372 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10373 string for the scope number.
10374
10375 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10376
10377 * nscd/servicescache.c (cache_addserv): Make sure written is always
10378 initialized.
10379
10380 2011-08-14 Roland McGrath <roland@hack.frob.com>
10381
10382 * sysdeps/i386/i486/bits/atomic.h
10383 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10384 statement expression, so as to suppress "set but not used" warning.
10385 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10386
10387 * string/strncat.c (STRNCAT): Use prototype definition.
10388
10389 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10390 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10391 -Iprograms here.
10392 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10393 (localedef-modules): Add localedef.
10394 (locale-modules): Add locale.
10395
10396 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10397 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10398 to avoid a warning.
10399
10400 2011-08-14 David S. Miller <davem@davemloft.net>
10401
10402 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10403 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10404
10405 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10406
10407 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10408 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10409 * elf/rtld.c (dl_main): Set l_name of vDSO.
10410 Call _dl_show_scope when DL_DEBUG_SCOPES.
10411 (process_dl_debug): Recognize scopes flag and also set it for all.
10412 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10413 Declare _dl_show_scope.
10414
10415 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10416 (do_dlopen): Pass caller_dlopen to dl_open.
10417 (__libc_dlopen_mode): Initialize caller_dlopen.
10418
10419 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10420 of libc. Make tolower call locale-independent. Optimize a bit by
10421 using isdigit instead of isalnum.
10422 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10423
10424 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10425
10426 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10427 was a dependency or dynamically loaded.
10428
10429 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10430
10431 * intl/l10nflist.c: Allow architecture-specific pop function.
10432 * sysdeps/x86_64/l10nflist.c: New file.
10433
10434 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10435 classification.
10436
10437 2011-08-10 Andreas Schwab <schwab@redhat.com>
10438
10439 * include/dirent.h: Add libc_hidden_proto for scandirat and
10440 scandirat64. Don't declare __scandirat64.
10441 * dirent/scandirat.c: Add libc_hidden_def.
10442 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10443 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10444
10445 2011-08-10 David S. Miller <davem@davemloft.net>
10446
10447 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10448 enum.
10449 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10450 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10451 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10452
10453 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10454
10455 * Versions.def [libc]: Add GLIBC_2.15.
10456 * dirent/Makefile (routines): Add scandirat and scandirat64.
10457 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10458 GLIBC_2.15.
10459 * dirent/dirent.h: Declare scandirat and scandirat64.
10460 * dirent/scandirat.c: New file.
10461 * dirent/scandirat64.c: New file.
10462 * sysdeps/wordsize-64/scandirat.c: New file.
10463 * sysdeps/wordsize-64/scandirat64.c: New file.
10464 * dirent/opendir.c: Define opendirat.
10465 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10466 using scandirat.
10467 * dirent/scandir64.c: Adjust for scandir.c change.
10468 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10469 __scandirat64, and __scandir_cancel_handler.
10470 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10471 additional parameter and use openat instead of open (outside of ld.so).
10472 Add new __opendir as wrapper around __opendirat.
10473 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10474 here without requiring old scandirat implementation.
10475
10476 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10477
10478 * dirent/scandir.c (cancel_handler): Renamed to
10479 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10480 defined. Adjust users.
10481 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10482 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10483
10484 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10485
10486 * string/test-string.h (IMPL): Use __STRING to expand name and then
10487 stringify it.
10488
10489 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10490 of cleanups.
10491
10492 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10493
10494 * string/Makefile: Update.
10495 (strop-tests): Append strncat.
10496 * string/test-wcscmp.c: New file.
10497 New comprehensive test for wcscmp.
10498 * string/test-strcmp.c: Update.
10499 (WIDE): New define.
10500
10501 2011-07-22 Andreas Schwab <schwab@redhat.com>
10502
10503 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10504 line.
10505
10506 2011-07-26 Andreas Schwab <schwab@redhat.com>
10507
10508 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10509 encoding to ACE if AI_IDN.
10510
10511 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10512
10513 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10514 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10515
10516 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10517
10518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10519 Fix overflow bug in strncat.
10520 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10521
10522 * string/test-strncat.c: Update.
10523 Add new tests for checking overflow bugs.
10524
10525 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10526
10527 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10528 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10529 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10530 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10531 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10532 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10533 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10534 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10535 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10536
10537 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10538 (USE_AS_STRCAT): Define.
10539 Add strcat and strncat support.
10540 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10541
10542 2011-07-25 Andreas Schwab <schwab@redhat.com>
10543
10544 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10545 __n bigger than INT_MAX+1.
10546 (__strncmp_g): Likewise.
10547
10548 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10549
10550 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10551 * libio/stido.h: Likewise.
10552
10553 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10554 (AF_NFC): Define.
10555 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10556 (AF_NFC): Define.
10557
10558 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10559 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10560 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10561 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10562 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10563
10564 [BZ #13021]
10565 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10566 installed.
10567
10568 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10569 typo.
10570 (_dl_x86_64_save_sse): Likewise.
10571
10572 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10573
10574 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10575 OSXSAVE.
10576 (_dl_x86_64_save_sse): Likewise.
10577
10578 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10579
10580 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10581
10582 2011-07-21 Andreas Schwab <schwab@redhat.com>
10583
10584 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10585 change.
10586 (_dl_x86_64_save_sse): Use correct AVX check.
10587
10588 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10589
10590 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10591 bug in strncpy/strncat.
10592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10593
10594 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10595
10596 * string/tester.c (test_strcat): Add tests for different alignments
10597 of source and destination.
10598 (test_strncat): Likewise.
10599
10600 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10601
10602 [BZ #12852]
10603 * posix/glob.c (glob): Check passed in values before using them in
10604 expressions to avoid some overflows.
10605 (glob_in_dir): Likewise.
10606
10607 [BZ #13007]
10608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10609 check for AVX enablement so that we don't crash with old kernels and
10610 new hardware.
10611 * elf/tst-audit4.c: Add same checks here.
10612 * elf/tst-audit6.c: Likewise.
10613
10614 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10615
10616 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10617
10618 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10619
10620 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10621
10622 * po/cs.po: Update from translation team.
10623 * po/bg.po: Likewise.
10624
10625 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10626
10627 * misc/sys/cdefs.h: Add support for const attribute.
10628 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10629 to gnu_dev_{major,minor,makedev} functions.
10630
10631 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10632
10633 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10634
10635 2011-07-20 Andreas Schwab <schwab@redhat.com>
10636
10637 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10638 strlen results.
10639
10640 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10641
10642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10643 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10644 register in order to avoid conflicts with the soft frame pointer
10645 being held in r11 when necessary.
10646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10647 (INTERNAL_VSYSCALL_NCS): Likewise.
10648
10649 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10650
10651 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10652 * elf/dl-fini.c (_dl_fini): Adjust caller.
10653 * elf/dl-close.c (_dl_close_worker): Likewise.
10654 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10655
10656 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10657
10658 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10659 "aux_cache->nlibs < 0".
10660
10661 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10662 in the reload-count case.
10663
10664 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10665
10666 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10667 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10668 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10669 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10670 * sysdeps/x86_64/multiarch/strcat.S: New file.
10671 * sysdeps/x86_64/multiarch/strncat.S: New file.
10672 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10673 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10674 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10675 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10676 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10677 (USE_AS_STRCAT): Define.
10678 Add strcat and strncat support.
10679 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10680 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10681 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10682 * string/strncat.c: Update.
10683 (USE_AS_STRNCAT): Define.
10684 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10685 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10686 and i7.
10687 * sysdeps/x86_64/multiarch/init-arch.h
10688 (bit_Prefer_PMINUB_for_stringop): New.
10689 (index_Prefer_PMINUB_for_stringop): Likewise.
10690 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10691 bit_Prefer_PMINUB_for_stringop.
10692
10693 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10694
10695 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10696 buffer64.
10697 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10698 of casting of buffer.
10699 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10700 buffer32 and buffer64.
10701 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10702 writes instead of casting of buffer.
10703 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10704 buffer32.
10705 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10706 casting of buffer.
10707
10708 2011-07-19 Andreas Schwab <schwab@redhat.com>
10709
10710 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10711
10712 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10713
10714 * nscd/nscd.c (termination_handler): Don't do anything for a database
10715 if it has not yet been initialized.
10716
10717 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10718
10719 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10720
10721 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10722
10723 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10724
10725 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10726
10727 * po/nl.po: Update from translation team.
10728 * po/sv.po: Likewise.
10729
10730 2011-07-16 Roland McGrath <roland@hack.frob.com>
10731
10732 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10733 now disallowed by GCC.
10734
10735 * configure.in (use-default-link): Default to yes if a test -shared
10736 link meets our qualifications.
10737 * configure: Regenerated.
10738
10739 * config.make.in (output-format): New variable.
10740 * configure.in: Check for ld --print-output-format support.
10741 * configure: Regenerated.
10742 * Makerules ($(common-objpfx)format.lds)
10743 [$(output-format) != unknown]: Just use $(output-format),
10744 instead of the linker-script munging.
10745
10746 2011-07-14 Roland McGrath <roland@hack.frob.com>
10747
10748 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10749 of $(common-objpfx)shlib.lds.
10750 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10751
10752 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10753 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10754
10755 * configure.in (-z relro check): Adjust test code to add a large
10756 writable data section after it.
10757 * configure: Regenerated.
10758
10759 2011-07-11 Roland McGrath <roland@hack.frob.com>
10760
10761 * configure.in (-z relro check): Fix test code to make the variable
10762 truly const.
10763 * configure: Regenerated.
10764
10765 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10766
10767 * nscd/nscd.h (struct traced_file): Define.
10768 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10769 elements. Add traced_files.
10770 (inotify_fd): Declare.
10771 (register_traced_file): Declare.
10772 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10773 (inotify_fd): Export.
10774 (resolv_conf_descr): Remove.
10775 (nscd_init): Move inotify descriptor creation to main.
10776 Don't register files for notification here.
10777 (register_traced_file): New function.
10778 (invalidate_cache): Don't use reset_res to determine whether to call
10779 res_init, go through the list of registered files.
10780 (main_loop_poll): The inotify descriptors are now stored in the
10781 structures for the traced files.
10782 (main_loop_epoll): Likewise
10783 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10784 to __nss_disable_nscd.
10785 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10786 for a database anymore. Check the records for all the registered
10787 files instead.
10788 * nss/Makefile (libnss_files-routines): Add files-init.
10789 (libnss_db-routines): Add db-init.
10790 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10791 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10792 * nss/nss_db/db-init.c: New file.
10793 * nss/nss_files/files-init.c: New file.
10794 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10795 __nss_lookup_function.
10796 (__nss_lookup_function): Call nss_load_library.
10797 (nss_load_all_libraries): New function.
10798 (__nss_disable_nscd): Take parameter with callback function for files
10799 to register. Set is_nscd. Load all the DSOs for the NSS modules
10800 used for the cached services.
10801 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10802 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10803 options for features to all the files in nscd.
10804
10805 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10806
10807 2011-07-10 Roland McGrath <roland@hack.frob.com>
10808
10809 * csu/elf-init.c (__libc_csu_init): Comment typo.
10810
10811 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10812
10813 * po/pl.po: Update from translation team.
10814 * po/ja.po: Likewise.
10815 * po/ru.po: Likewise.
10816 * po/ko.po: Likewise.
10817 * po/fr.po: Likewise.
10818
10819 2011-07-09 Roland McGrath <roland@hack.frob.com>
10820
10821 * configure.in (.ctors/.dtors header and trailer check):
10822 Use an empirical test on a built program.
10823 * configure: Regenerated.
10824
10825 * configure.in (-z relro check): Use an empirical test on a built DSO.
10826 Detect, but do not require, on ia64.
10827 * configure: Regenerated.
10828
10829 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10830 Update tests that use readelf to use $READELF instead.
10831 * configure: Regenerated.
10832
10833 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10834
10835 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10836 if the result is not used.
10837
10838 2011-07-05 Andreas Jaeger <aj@suse.de>
10839
10840 [BZ#9696]
10841 * stdlib/tst-strtod.c: Add testcase.
10842
10843 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10844
10845 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10846 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10847 The latter has a higher limit. Take additional parameter to pass to
10848 the new function.
10849 (__pathconf): Pass file to __statfs_link_max.
10850 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10851 __statfs_link_max.
10852 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10853 __statfs_link_max.
10854
10855 [BZ #12868]
10856 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10857 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10858 Handle Lustre.
10859 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10860 (__statfs_filesize_max): Likewise.
10861 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10862
10863 2011-07-05 Andreas Jaeger <aj@suse.de>
10864
10865 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10866
10867 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10868
10869 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10870 `status' variable.
10871 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10872 Likewise.
10873
10874 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10875
10876 * Makefile (strop-tests): Add strncat.
10877 * string/test-strncat.c: New file.
10878
10879 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10880
10881 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10882
10883 2011-06-21 Andreas Jaeger <aj@suse.de>
10884
10885 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10886 Copy rule from iconvdata/Makefile.
10887
10888 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10889
10890 [BZ #12922]
10891 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10892 but no long options are defined, just return 'W'.
10893
10894 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10895
10896 [BZ #9696]
10897 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10898
10899 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10900
10901 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10902 netgroups to read.
10903 (innetgr): Likewise.
10904
10905 2011-07-05 Roland McGrath <roland@hack.frob.com>
10906
10907 * config.make.in (install_root): Default to $(DESTDIR).
10908
10909 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10910
10911 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10912
10913 2011-07-02 Roland McGrath <roland@hack.frob.com>
10914
10915 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10916
10917 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10918 containing directory rather than embedding absolute directory names.
10919
10920 * scripts/check-local-headers.sh: Rewritten using awk.
10921 Match by word, not by line. Print error messages for matches.
10922 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10923
10924 * Makerules [shlib-lds-flags empty]:
10925 ($(common-objpfx)libc_pic.opts): New target.
10926 ($(common-objpfx)libc_pic.os.clean): New target.
10927 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10928
10929 * config.make.in (OBJCOPY): New variable.
10930 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10931 * configure: Regenerated.
10932
10933 * config.make.in (use-default-link): New variable.
10934 * configure.in (use_default_link): Grok --with-default-link to set it.
10935 * configure: Regenerated.
10936 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10937 (shlib-lds, shlib-lds-flags): Define to empty.
10938
10939 * Makerules (shlib-lds): New variable.
10940 (shlib-lds-flags): New variable.
10941 (build-shlib, build-moduile, build-module-asneeded): Use it.
10942 ($(common-objpfx)libc.so): Use $(shlib-lds).
10943 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10944 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10945
10946 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10947 DT_FLAGS/DT_FLAGS_1 with zero flags.
10948
10949 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10950 linker script munging.
10951
10952 2011-07-02 Ulrich Drepper <drepper@gmail.com>
10953
10954 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10955 as 128-bit value.
10956 * crypt/sha512.c (sha512_process_block): Perform total addition using
10957 128-bit if possible.
10958 (__sha512_finish_ctx): Likewise.
10959 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10960 as 64-bit value.
10961 * crypt/sha256.c (SWAP64): Define.
10962 (sha256_process_block): Perform total addition using 64-bit if
10963 possible.
10964 (__sha256_finish_ctx): Likewise.
10965
10966 2011-07-01 Ulrich Drepper <drepper@gmail.com>
10967
10968 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10970 * nscd/hstcache.c (cache_addhst): Likewise.
10971 * nscd/grpcache.c (cache_addgr): Likewise.
10972 * nscd/aicache.c (addhstaiX): Likewise
10973 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10974
10975 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
10976
10977 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10978 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10979 * nscd/hstcache.c (cache_addhst): Likewise.
10980 * nscd/grpcache.c (cache_addgr): Likewise.
10981 * nscd/aicache.c (addhstaiX): Likewise
10982
10983 2011-07-01 Andreas Schwab <schwab@redhat.com>
10984
10985 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10986 domain only when needed.
10987
10988 2011-06-30 Andreas Schwab <schwab@redhat.com>
10989
10990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10991 is always restored.
10992
10993 2011-06-29 Ulrich Drepper <drepper@gmail.com>
10994
10995 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10996 are re-adding the entry.
10997 * nscd/servicescache.c (cache_addserv): Likewise.
10998
10999 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11000
11001 * sysdeps/generic/dl-irel.h: fix protection against multiple
11002 inclusions.
11003 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11004
11005 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11006
11007 [BZ #12935]
11008 * malloc/memusage.sh: Fix quoting in message.
11009 * debug/xtrace.sh: Likewise.
11010
11011 * configure.in: Remove support for --experimental-malloc option, make
11012 it the default.
11013 * config.make.in: Likewise.
11014 * malloc/Makefile: Likewise.
11015
11016 2011-06-27 Andreas Schwab <schwab@redhat.com>
11017
11018 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11019 two-byte characters.
11020
11021 2011-06-27 Roland McGrath <roland@hack.frob.com>
11022
11023 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11024 AC_CACHE_CHECK invocation.
11025 * configure: Regenerated.
11026
11027 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11028
11029 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11030
11031 [BZ #12350]
11032 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11033 bit from old_res_options.
11034
11035 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11036
11037 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11038 value type for setfct.
11039
11040 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11041
11042 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11043 __gettimeofday instead of gettimeofday.
11044
11045 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11046
11047 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11048
11049 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11050
11051 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11052
11053 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11054 info.
11055
11056 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11057
11058 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11059 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11060 strcpy-sse2-unaligned strncpy-sse2-unaligned
11061 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11062 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11063 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11064 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11065 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11066 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11067 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11068 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11069 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11070 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11071 (STRCPY): Support SSE2 and SSSE3 versions.
11072
11073 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11074
11075 [BZ #12874]
11076 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11077 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11078 kernels which artificially limit size of requests.
11079
11080 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11081
11082 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11083 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11084 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11085 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11086 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11087 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11088 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11089 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11090 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11091 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11092 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11093 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11094 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11095 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11096 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11098 Enable unaligned load optimization for Intel Core i3, i5 and i7
11099 processors.
11100 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11101 Define.
11102 (index_Fast_Unaligned_Load): Define.
11103 (HAS_FAST_UNALIGNED_LOAD): Define.
11104
11105 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11106
11107 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11108
11109 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11110
11111 [BZ #12907]
11112 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11113 until it is clear that the information is realy needed.
11114 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11115
11116 2011-06-22 Andreas Schwab <schwab@redhat.com>
11117
11118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11119
11120 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11121
11122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11123 /sys/devices/system/cpu/online if it is usable.
11124
11125 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11126 reading the information from the /proc filesystem to once a second.
11127
11128 2011-06-21 Andreas Jaeger <aj@suse.de>
11129
11130 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11131 NULL after inclusion of kernel headers.
11132
11133 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11134
11135 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11136 calls to internal_setent.
11137
11138 [BZ #12885]
11139 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11140 addresses using gethostbyname4_r ignore IPv4 addresses.
11141
11142 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11143 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11144
11145 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11146
11147 2011-06-20 David S. Miller <davem@davemloft.net>
11148
11149 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11150 inclusions.
11151 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11152
11153 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11154 (elf_irel): Use it.
11155 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11156 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11157 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11158 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11159 * sysdeps/x86_64/dl-irel.h: Likewise.
11160
11161 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11162 * elf/dl-sym.c: Likewise.
11163
11164 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11165
11166 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11167 need to dereference resplen2.
11168
11169 2011-06-14 Andreas Schwab <schwab@redhat.com>
11170
11171 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11172
11173 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11174
11175 * Makeconfig: Define vardbdir and inst_vardbdir.
11176 * nss/Makefile: Add rules to install db-Makefile.
11177
11178 * nss/nss_db/db-XXX.c: Cleanup.
11179
11180 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11181 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11182 GLIBC_PRIVATE.
11183 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11184 * nss/makedb.c: Implement -g option to specify that value strings
11185 are generated and should not be added to table iterated over for
11186 get*ent calls.
11187 * nss/nss_db/db-initgroups.c: New file.
11188
11189 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11190 interface.
11191
11192 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11193 (internal_getgrouplist): Adjust to name change.
11194 Update use_initgroups_entry if this is not the first call.
11195 * nss/databases.def: Add initgroups entry.
11196
11197 * nss/makedb.c (compute_tables): Check result of multiple hash table
11198 sizes to minimize maximum chain length.
11199
11200 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11201
11202 * Versions.def: Add entry for libnss_db.
11203 * shlib-versions: Likewise.
11204 * nss/Makefile: Add rules to build libnss_db.
11205 * nss/Versions: Add libnss_db information. Organize libnss_files
11206 entries better.
11207 * nss/db-Makefile: Add gshadow support. Change rules for the new
11208 makedb progra. Some minor improvements to generate smaller files.
11209 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11210 here from...
11211 * nss/makedb.c: ...here.
11212 Improve database format to be smaller and require less memory at
11213 runtime.
11214 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11215 db anymore.
11216 * nss/nss_db/db-netgrp.c: Likewise.
11217 * nss/nss_db/db-open.c: Likewise.
11218 * nss/nss_files/flies-XXX.x: Adjust comments.
11219 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11220 * nss/nss_files/files-grp.c: Likewise.
11221 * nss/nss_files/files-hosts.c: Likewise.
11222 * nss/nss_files/files-network.c: Likewise.
11223 * nss/nss_files/files-proto.c: Likewise.
11224 * nss/nss_files/files-pwd.c: Likewise.
11225 * nss/nss_files/files-rpc.c: Likewise.
11226 * nss/nss_files/files-service.c: Likewise.
11227 * nss/nss_files/files-sgrp.c: Likewise.
11228 * nss/nss_files/files-spwd.c: Likewise.
11229 * nss/nss_db/db-alias.c: Removed.
11230 * nss/nss_db/dummy-db.h: Removed.
11231
11232 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11233
11234 * nss/makedb.c: Rewritten to not use database library.
11235 * nss/Makefile: Update to build new makedb program.
11236
11237 2011-06-14 Andreas Jaeger <aj@suse.de>
11238
11239 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11240 memset declaration.
11241
11242 2011-06-10 Andreas Schwab <schwab@redhat.com>
11243
11244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11245 tmpbuf.
11246
11247 2011-06-10 Roland McGrath <roland@hack.frob.com>
11248
11249 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11250 * elf/Makefile ($(objpfx)ld.so): Likewise.
11251
11252 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11253 Don't list ld.so twice in dependencies.
11254
11255 * posix/bug-regex31.c: Include <stdlib.h>.
11256
11257 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11258
11259 * nis/nss_compat/compat-spwd.c
11260 (getspent_next_nss_netgr): Remove unused variable.
11261 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11262
11263 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11264 nonmembers" output to use the right array.
11265
11266 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11267
11268 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11269
11270 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11271 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11272 * catgets/gencat.c (read_input_file): Likewise.
11273 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11274
11275 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11276 variable definition inside #if's controlling its use.
11277
11278 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11279
11280 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11281
11282 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11283
11284 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11285 unreachable code.
11286
11287 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11288
11289 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11290 * configure: Regenerated.
11291
11292 * Makerules: Revert last change.
11293 * elf/Makefile: Likewise.
11294
11295 2011-06-09 Roland McGrath <roland@hack.frob.com>
11296
11297 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11298 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11299 (reloc-link): Likewise.
11300
11301 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11302
11303 * elf/Makefile: Add rules to build pldd.
11304 * elf/pldd.c: New file.
11305 * elf/pldd-xx.c: New file.
11306
11307 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11308
11309 * version.h: Update for 2.15 development version.
11310
11311 2011-06-07 David S. Miller <davem@davemloft.net>
11312
11313 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11314 ifuncs.
11315 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11316 elf_machine_lazy_rel): Likewise.
11317 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11318 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11319 elf_machine_lazy_rel): Likewise.
11320 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11321 dl_hwcap via passed in argument.
11322 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11323 Likewise.
11324
11325 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11326
11327 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11328
11329 2011-06-06 Roland McGrath <roland@hack.frob.com>
11330
11331 [BZ #12849]
11332 * manual/fdl-1.1.texi: New file, verbatim from:
11333 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11334 * manual/lgpl-2.1.texi: New file, verbatim from:
11335 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11336 * manual/Makefile (licenses): New variable, list those new file names.
11337 (texis): Use it.
11338 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11339
11340 * manual/fdl.texi: File removed.
11341 * manual/lesser.texi: File removed.
11342 * manual/libc.texinfo (Copying, Documentation License):
11343 Use new @include file names, put @appendix directive before @include.
11344
11345 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11346
11347 [BZ #12841]
11348 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11349 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11350 (mq_open): Add __NTH.
11351
11352 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11353
11354 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11355 Assume Intel Core i3/i5/i7 processor if AVX is available.
11356
11357 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11358
11359 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11360 typo.
11361
11362 2011-05-31 Andreas Schwab <schwab@redhat.com>
11363
11364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11365 memory. Use alloca_account. Fix memory leak when retrying.
11366
11367 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11368
11369 * version.h (RELEASE): Bump for 2.14 release.
11370 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11371
11372 * config.make.in (RANLIB): Remove entry.
11373
11374 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11375
11376 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11377 (libc.pot): Work around missing support for .ksh extension in xgettext.
11378
11379 [BZ #12684]
11380 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11381 if both request failed.
11382 (send_dg): In case of server errors clear resplen or *resplen2.
11383
11384 [BZ #12454]
11385 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11386 when there are multiple maps.
11387 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11388 (_dl_fini): Remove test here.
11389
11390 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11391
11392 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11393
11394 [BZ #12350]
11395 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11396 bit from old_res_options.
11397 (gaih_inet): Likewise.
11398
11399 [BZ #11099]
11400 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11401 as signed.
11402
11403 * resolv/res_init.c (res_setoptions): Make the code more compact.
11404
11405 [BZ #11558]
11406 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11407 set RES_USEVC.
11408
11409 [BZ #11634]
11410 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11411
11412 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11413
11414 [BZ #11781]
11415 * malloc/malloc.h: Declare malloc hook variables as volatile.
11416
11417 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11418 in last patch.
11419
11420 [BZ #11799]
11421 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11422 raise in the comment.
11423 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11424 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11425 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11426
11427 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11428
11429 [BZ #12811]
11430 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11431 grow the buffers more if it already has to be sufficient.
11432 (build_wcs_upper_buffer): Likewise.
11433 * posix/regexec.c (check_matching): Likewise.
11434 (clean_state_log_if_needed): Likewise.
11435 (extend_buffers): Don't enlarge buffers beyond size of the input
11436 buffer.
11437 Patches mostly by Emil Wojak <emil@wojak.eu>.
11438 * posix/bug-regex32.c: New file.
11439 * posix/Makefile (tests): Add bug-regex32.
11440
11441 * locale/findlocale.c (_nl_find_locale): Return right away if
11442 _nl_explode_name failed.
11443 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11444
11445 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11446
11447 * debug/xtrace.sh: Unify messages.
11448 * malloc/memusage.sh: Likewise.
11449
11450 [BZ #12813]
11451 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11452 time symbol from vDSO. Substitute with vsyscall if not available.
11453 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11454 __vdso_time.
11455
11456 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11457 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11458 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11459 Add sendmmsg and internal_sendmmsg.
11460 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11461 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11462 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11463
11464 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11465 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11466 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11467
11468 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11469
11470 [BZ #12813]
11471 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11472 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11473 available.
11474 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11475 __vdso_getcpu.
11476
11477 [BZ #12814]
11478 * iconvdata/Makefile (tests): Add bug-iconv9.
11479 * iconvdata/bug-iconv9.c: New file.
11480
11481 2011-05-27 Andreas Schwab <schwab@redhat.com>
11482
11483 [BZ #12814]
11484 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11485
11486 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11487
11488 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11489 (struct user_regs_struct): Change intcs field back to cs.
11490
11491 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11492
11493 * po/ja.po: Update from translation team.
11494
11495 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11496
11497 [BZ #12795]
11498 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11499 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11500
11501 2011-05-20 Andreas Schwab <schwab@redhat.com>
11502
11503 * stdlib/longlong.h: Update from GCC.
11504
11505 2011-05-23 Andreas Schwab <schwab@redhat.com>
11506
11507 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11508 parameter name.
11509 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11510 Add parameter name.
11511 (__sysconf): Pass it down.
11512
11513 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11514
11515 [BZ #12671]
11516 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11517 some situations.
11518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11519 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11520 add in in __libc_use_alloca calls. Adjust callers.
11521 (glob): Use malloc in some situations.
11522
11523 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11524 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11525 pltexit.
11526
11527 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11528
11529 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11530 and CLOCK_BOOTTIME_ALARM.
11531
11532 [BZ #12782]
11533 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11534 is returned.
11535
11536 * string/_strerror.c (__strerror_r): Print negative errors as signed
11537 numbers.
11538
11539 [BZ #12777]
11540 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11541 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11542 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11543
11544 * configure.in: Fix typo in redirection and correct removal of test
11545 files in two cases.
11546
11547 [BZ #12788]
11548 * locale/setlocale.c (new_composite_name): Fix test to check for
11549 identical name of all categories.
11550
11551 [BZ #12792]
11552 * libio/filedoalloc.c (local_isatty): New function.
11553 (_IO_file_doallocate): Use local_isatty.
11554 * stdio-common/perror.c (perror): In case a new stream is used
11555 forward the stream error.
11556 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11557 error flag.
11558
11559 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11560
11561 [BZ #11869]
11562 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11563 alloca.
11564 * include/alloca.h (extend_alloca_account): Define.
11565
11566 [BZ #11857]
11567 * posix/regex.h: Fix comments with documentation of user-accessible
11568 fields after compilation and describe correct free'ing of pattern
11569 after re_compile_pattern.
11570 Patch by Reuben Thomas <rrt@sc3d.org>.
11571
11572 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11573
11574 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11575 and -mno-altivec to prevent the compiler from using Altivec and/or
11576 VSX instructions when the corresponding registers are not available.
11577
11578 2011-05-19 Andreas Schwab <schwab@redhat.com>
11579
11580 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11581
11582 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11583
11584 * libio/freopen.c (freopen): Use __dup2, not dup2.
11585 * libio/freopen64.c (freopen64): Likewise.
11586
11587 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11588
11589 [BZ #12775]
11590 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11591 * math/Makefile (tests): Add test-powl.
11592 (CFLAGS-test-powl.c): Define.
11593 * math/test-powl.c: New file.
11594
11595 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11596
11597 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11598
11599 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11600
11601 [BZ #11837]
11602 * iconvdata/gb18030.c: Update to GB18020-2005.
11603
11604 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11605
11606 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11607 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11608 Patch by Aharon Robbins <arnold@skeeve.com>.
11609
11610 [BZ #11892]
11611 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11612 on the stack.
11613
11614 [BZ #11895]
11615 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11616 through underflows.
11617
11618 [BZ #12766]
11619 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11620 point to strings before performing equality test for error_one_per_line
11621 mode.
11622
11623 [BZ #11697]
11624 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11625
11626 [BZ #11820]
11627 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11628 (struct user_fpregs_struct): Avoid __uint*_t types.
11629
11630 [BZ #6420]
11631 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11632 symbol info. Use it instead of calling _dl_addr locally.
11633 (lock_and_info): New function.
11634 (tr_freehook): Call lock_and_info and pass symbol info as additional
11635 parameter to tr_where.
11636 (tr_mallochook): Likewise.
11637 (tr_reallochook): Likewise.
11638 (tr_memalignhook): Likewise.
11639
11640 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11641 used and couldn't be at all thread-safe.
11642
11643 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11644
11645 * libio/freopen.c (freopen): Don't close old file descriptor
11646 before the new one is opened. Instead dup the new file descriptor
11647 to the old one after the new stream is created.
11648 * libio/freopen64.c (freopen64): Likewise.
11649 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11650 * libio/fileops.c (_IO_new_file_close_it): Handle new
11651 _IO_FLAGS2_NOCLOSE flag.
11652 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11653 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11654 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11655 _IO_FLAGS2_NOCLOSE flag.
11656 * include/unistd.h: Add hidden_proto for dup3.
11657 Define __have_dup3.
11658 * io/dup3.c: Define hidden symbol.
11659 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11660
11661 [BZ #7101]
11662 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11663 when an incomplete long option is used.
11664 * posix/tst-getopt_long1.c: New file.
11665 * posix/Makefile (tests): Add tst-getopt_long1.
11666
11667 [BZ #10138]
11668 * scripts/config.guess: Update from autoconf-2.68.
11669 * scripts/config.sub: Likewise.
11670
11671 [BZ #10157]
11672 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11673 tests into ...
11674 (has_cpuclock): ...this. New function.
11675 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11676 macro here based on has_cpuclock code.
11677
11678 [BZ #10149]
11679 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11680 First byte (not low byte) is now always NUL.
11681 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11682
11683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11684 Use non-cancelable interfaces.
11685
11686 [BZ #9809]
11687 * locale/iso-639.def: Add entry for Sorani.
11688
11689 [BZ #11901]
11690 * include/stdlib.h: Move include protection to the right place.
11691 Define abort_msg_s. Declare __abort_msg with it.
11692 * stdlib/abort.c (__abort_msg): Adjust type.
11693 * assert/assert.c (__assert_fail_base): New function. Majority
11694 of code from __assert_fail. Allocate memory for __abort_msg with
11695 mmap.
11696 (__assert_fail): Now call __assert_fail_base.
11697 * assert/assert-perr.c: Remove bulk of implementation. Use
11698 __assert_fail_base.
11699 * include/assert.hL Declare __assert_fail_base.
11700 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11701 mmap.
11702 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11703
11704 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11705
11706 [BZ #11952]
11707 [BZ #12453]
11708 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11709 until all modules are registered in the DTV.
11710 * elf/Makefile: Add rules to build and run tst-tls19.
11711 * elf/tst-tls19.c: New file.
11712 * elf/tst-tls19mod1.c: New file.
11713 * elf/tst-tls19mod2.c: New file.
11714 * elf/tst-tls19mod3.c: New file.
11715 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11716
11717 [BZ #12083]
11718 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11719 correctly.
11720
11721 [BZ #12601]
11722 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11723 two-byte sequence errors.
11724 * iconvdata/Makefile (tests): Add bug-iconv8.
11725 * iconvdata/bug-iconv8.c: New file.
11726
11727 [BZ #12626]
11728 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11729 buf2 definition.
11730
11731 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11732
11733 [BZ #12432]
11734 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11735 (dummy_getcfa): New function.
11736 (init): Get _Unwind_GetCFA address, use dummy if not found.
11737 (backtrace_helper): In recursion check, also check whether CFA changes.
11738 (__backtrace): Completely initialize arg.
11739
11740 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11741 storing incomplete byte sequence in state object. Avoid testing for
11742 guaranteed too small input if we know there is enough data available.
11743
11744 2011-05-11 Andreas Schwab <schwab@redhat.com>
11745
11746 * Makeconfig (+link-pie): Indent.
11747 * Rules (binaries-pie): Define if $(have-fpie) and
11748 $(build-shared).
11749 (binaries-shared): Also filter out $(binaries-pie).
11750 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11751 * nscd/Makefile (others-pie): Add nscd.
11752 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11753 ($(objpfx)nscd): Remove command override.
11754 * login/Makefile (others-pie): Add pt_chown.
11755 ($(objpfx)pt_chown): Remove command override.
11756 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11757 remove command overrides.
11758
11759 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11760
11761 * libio/tst_putwc.c: Fix error messages.
11762
11763 [BZ #12724]
11764 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11765 currently writing and seek to current position when not.
11766 * libio/Makefile (tests): Add bug-fclose1.
11767 * libio/bug-fclose1.c: New file.
11768
11769 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11770
11771 [BZ #12511]
11772 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11773 don't set DF_1_NODELETE here.
11774 (do_lookup_x): When entering new entry test for copy relocation
11775 and if necessary set DF_1_NODELETE flag.
11776 * elf/tst-unique4.cc: New file.
11777 * elf/tst-unique4.h: New file.
11778 * elf/tst-unique4lib.cc: New file.
11779 * elf/Makefile: Add rules to build and run tst-unique4.
11780 Patch by Piotr Bury <pbury@goahead.com>.
11781
11782 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11783
11784 [BZ #12052]
11785 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11786
11787 [BZ #12625]
11788 * misc/mntent_r.c (addmntent): Flush the stream after the output
11789
11790 [BZ #12393]
11791 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11792 (is_trusted_path_normalize): Skip initial colon. Append slash
11793 to empty buffer. Duplicate is_trusted_path code but allow
11794 constructed patch to be prefix.
11795 (is_dst): Allow $ORIGIN followed by /.
11796 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11797 Correct testing of result of is_trusted_path_normalize
11798 (decompose_rpath): Fix warning.
11799
11800 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11801
11802 [BZ #11257]
11803 * grp/initgroups.c (internal_getgrouplist): When we found the service
11804 list through the initgroups entry in nsswitch.conf do not always
11805 continue on a successful lookup. Don't always use the
11806 __nss_group_database value if it is set.
11807 * nss/nsswitch.conf (initgroups): Change action for successful db
11808 lookup to continue for compatibility.
11809
11810 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11811
11812 [BZ #11532]
11813 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11814 and CP774 modules.
11815 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11816 and CP774 modules.
11817 * iconvdata/tst-tables.sh: Likewise.
11818 * iconvdata/cp770.c: New file.
11819 * iconvdata/cp771.c: New file.
11820 * iconvdata/cp772.c: New file.
11821 * iconvdata/cp773.c: New file.
11822 * iconvdata/cp774.c: New file.
11823 * iconvdata/testdata/CP770: New file.
11824 * iconvdata/testdata/CP770..UTF8: New file.
11825 * iconvdata/testdata/CP771: New file.
11826 * iconvdata/testdata/CP771..UTF8: New file.
11827 * iconvdata/testdata/CP772: New file.
11828 * iconvdata/testdata/CP772..UTF8: New file.
11829 * iconvdata/testdata/CP773: New file.
11830 * iconvdata/testdata/CP773..UTF8: New file.
11831 * iconvdata/testdata/CP774: New file.
11832 * iconvdata/testdata/CP774..UTF8: New file.
11833
11834 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11835 END CHARMAP line.
11836 * iconvdata/gen-8bit-gap.sh: Likewise.
11837 * iconvdata/gen-8bit.sh: Likewise.
11838
11839 * locale/iso-639.def: Add ary entry.
11840
11841 [BZ #11258]
11842 * locale/C-translit.h.in: Add U20A1 transliteration.
11843
11844 [BZ #12178]
11845 * locale/iso-639.def: Add wae entry.
11846 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11847
11848 [BZ #12545]
11849 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11850 for n.
11851
11852 [BZ #12711]
11853 * locale/C-translit.h.in: Add entry for U20B9.
11854 Patch by pravin.d.s@gmail.com.
11855
11856 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11857
11858 [BZ #12713]
11859 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11860 ENAMETOOLONG use generic getcwd.
11861 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11862 in rtld. Use *stat64.
11863 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11864 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11865 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11866 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11867 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11868 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11869 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11870 __fstatat64 macros.
11871 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11872 * dirent/rewinddir.c: Add libc_hidden_def.
11873 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11874 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11875
11876 * include/dirent.h (__alloc_dir): Add flags parameter.
11877 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11878 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11879 __alloc_dir.
11880 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11881 from fdopendir if O_CLOEXEC is already set.
11882
11883 2011-03-15 Alan Modra <amodra@gmail.com>
11884
11885 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11886 l_tls_firstbyte_offset non-zero. Save padding offset in
11887 l_tls_firstbyte_offset for later use.
11888 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11889 freeing static tls block.
11890
11891 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11892
11893 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11894 where #ifdef was intended. The intent is to prevent ARG_MAX from
11895 being defined by the kernel headers.
11896
11897 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11898
11899 [BZ #12734]
11900 * resolv/resolv.h: Define RES_NOTLDQUERY.
11901 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11902 no-tld-query and set RES_NOTLDQUERY.
11903 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11904 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11905 modern BIND to search name as TLD unless forbidden.
11906
11907 2011-05-07 Petr Baudis <pasky@suse.cz>
11908 Ulrich Drepper <drepper@gmail.com>
11909
11910 [BZ #12393]
11911 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11912 (is_trusted_path): ...to here.
11913 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11914 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11915 using is_trusted_path_normalize() in setuid scripts.
11916
11917 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11918
11919 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11920 __BEGIN/__END_DECLS.
11921
11922 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11923
11924 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11925 NSS_STATUS_NOTFOUND if no record was found.
11926
11927 2011-05-05 Andreas Schwab <schwab@redhat.com>
11928
11929 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11930 (headers-not-in-tirpc): Remove rpc/netdb.h
11931 * resolv/netdb.h: Revert last change.
11932
11933 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11934
11935 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11936 circular dependency between libgcc.a and libc.a.
11937
11938 2011-05-05 Andreas Schwab <schwab@redhat.com>
11939
11940 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11941 * nis/Makefile: Don't install rpcsvc/*.
11942 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11943 instead of <rpc/types.h>.
11944 (MAXHOSTNAMELEN): Define.
11945
11946 2011-05-03 Andreas Schwab <schwab@redhat.com>
11947
11948 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11949
11950 2011-04-28 Maciej Babinski <mbabinski@google.com>
11951
11952 [BZ #12714]
11953 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11954 gethostbyname4_r when IPv6 results are possible.
11955
11956 2011-05-02 Ulrich Drepper <drepper@gmail.com>
11957
11958 [BZ #12723]
11959 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11960 _PC_PIPE_BUF handling.
11961
11962 2011-04-30 Bruno Haible <bruno@clisp.org>
11963
11964 [BZ #12717]
11965 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11966 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11967 to 'int'.
11968 * inet/getnameinfo.c (getnameinfo): Likewise.
11969
11970 2011-04-29 Ulrich Drepper <drepper@gmail.com>
11971
11972 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11973 to groups setting in database lookup.
11974 * nss/nsswitch.conf: Add initgroups entry.
11975
11976 2011-04-22 Ulrich Drepper <drepper@gmail.com>
11977
11978 [BZ #12685]
11979 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11980 mode string.
11981 Patch by Eric Blake <eblake@redhat.com>.
11982
11983 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 * sunrpc/Makefile (need-export-routines): Add svc_run.
11986 (routines): Remove svc_run.
11987 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11988 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11989 * sunrpc/svc_run.c (svc_run): Likewise.
11990 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11991
11992 2011-04-21 Ulrich Drepper <drepper@gmail.com>
11993
11994 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11995 problem in reallocation in last patch.
11996
11997 2011-04-20 Ulrich Drepper <drepper@gmail.com>
11998
11999 * sunrpc/Makefile: Move inclusion of Rules.
12000
12001 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12002
12003 * nss/nss_files/files-initgroups.c: New file.
12004 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12005 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12006 _nss_files_initgroups_dyn.
12007
12008 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12009
12010 * elf/elf.h (R_ARM_IRELATIVE): Define.
12011
12012 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12013
12014 * po/ru.po: Update from translation team.
12015
12016 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12017
12018 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12019 dependencies.
12020
12021 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12022
12023 [BZ #12653]
12024 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12025 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12026 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12027 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12028 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12029
12030 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12031
12032 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12033 differing bytes.
12034 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12035 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12037
12038 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12039
12040 [BZ #12420]
12041 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12042 storing it.
12043 * stdlib/bug-getcontext.c: New file.
12044 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12045
12046 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12047
12048 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12049 instructions into .machine "z9-109".
12050 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12051 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12052
12053 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12054
12055 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12056 between environment variables and auxiliary vector.
12057
12058 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12059
12060 * Makefile: Add rules to build linkobj/libc.so.
12061 * include/libc-symbols.h: Define libc_hidden_nolink.
12062 * include/rpc/auth.h: Mark functions which are to be hidden.
12063 * include/rpc/auth_des.h: Likewise.
12064 * include/rpc/auth_unix.h: Likewise.
12065 * include/rpc/clnt.h: Likewise.
12066 * include/rpc/des_crypt.h: Likewise.
12067 * include/rpc/key_prot.h: Likewise.
12068 * include/rpc/pmap_clnt.h: Likewise.
12069 * include/rpc/pmap_prot.h: Likewise.
12070 * include/rpc/pmap_rmt.h: Likewise.
12071 * include/rpc/rpc_msg.h: Likewise.
12072 * include/rpc/svc.h: Likewise.
12073 * include/rpc/svc_auth.h: Likewise.
12074 * include/rpc/xdr.h: Likewise.
12075 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12076 * nss/Makefile: Likewise.
12077 * sunrpc/Makefile: Don't install headers. Build library with normal
12078 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12079 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12080 for the compat linking library. Remove use of INTDEF/INTUSE.
12081 * sunrpc/auth_none.c: Likewise.
12082 * sunrpc/auth_unix.c: Likewise.
12083 * sunrpc/authdes_prot.c: Likewise.
12084 * sunrpc/authuxprot.c: Likewise.
12085 * sunrpc/clnt_gen.c: Likewise.
12086 * sunrpc/clnt_perr.c: Likewise.
12087 * sunrpc/clnt_raw.c: Likewise.
12088 * sunrpc/clnt_simp.c: Likewise.
12089 * sunrpc/clnt_tcp.c: Likewise.
12090 * sunrpc/clnt_udp.c: Likewise.
12091 * sunrpc/clnt_unix.c: Likewise.
12092 * sunrpc/des_crypt.c: Likewise.
12093 * sunrpc/des_soft.c: Likewise.
12094 * sunrpc/get_myaddr.c: Likewise.
12095 * sunrpc/key_call.c: Likewise.
12096 * sunrpc/key_prot.c: Likewise.
12097 * sunrpc/netname.c: Likewise.
12098 * sunrpc/pm_getmaps.c: Likewise.
12099 * sunrpc/pm_getport.c: Likewise.
12100 * sunrpc/pmap_clnt.c: Likewise.
12101 * sunrpc/pmap_prot.c: Likewise.
12102 * sunrpc/pmap_prot2.c: Likewise.
12103 * sunrpc/pmap_rmt.c: Likewise.
12104 * sunrpc/publickey.c: Likewise.
12105 * sunrpc/rpc_cmsg.c: Likewise.
12106 * sunrpc/rpc_common.c: Likewise.
12107 * sunrpc/rpc_dtable.c: Likewise.
12108 * sunrpc/rpc_prot.c: Likewise.
12109 * sunrpc/rpc_thread.c: Likewise.
12110 * sunrpc/rtime.c: Likewise.
12111 * sunrpc/svc.c: Likewise.
12112 * sunrpc/svc_auth.c: Likewise.
12113 * sunrpc/svc_authux.c: Likewise.
12114 * sunrpc/svc_raw.c: Likewise.
12115 * sunrpc/svc_run.c: Likewise.
12116 * sunrpc/svc_simple.c: Likewise.
12117 * sunrpc/svc_tcp.c: Likewise.
12118 * sunrpc/svc_udp.c: Likewise.
12119 * sunrpc/svc_unix.c: Likewise.
12120 * sunrpc/svcauth_des.c: Likewise.
12121 * sunrpc/xcrypt.c: Likewise.
12122 * sunrpc/xdr.c: Likewise.
12123 * sunrpc/xdr_array.c: Likewise.
12124 * sunrpc/xdr_float.c: Likewise.
12125 * sunrpc/xdr_intXX_t.c: Likewise.
12126 * sunrpc/xdr_mem.c: Likewise.
12127 * sunrpc/xdr_rec.c: Likewise.
12128 * sunrpc/xdr_ref.c: Likewise.
12129 * sunrpc/xdr_sizeof.c: Likewise.
12130 * sunrpc/xdr_stdio.c: Likewise.
12131
12132 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12133
12134 [BZ #12650]
12135 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12136 * sysdeps/ia64/dl-tls.h: Likewise.
12137 * sysdeps/powerpc/dl-tls.h: Likewise.
12138 * sysdeps/s390/dl-tls.h: Likewise.
12139 * sysdeps/sh/dl-tls.h: Likewise.
12140 * sysdeps/sparc/dl-tls.h: Likewise.
12141 * sysdeps/x86_64/dl-tls.h: Likewise.
12142 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12143
12144 2011-03-14 Andreas Schwab <schwab@redhat.com>
12145
12146 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12147 rpath element also skip the following colon.
12148 (expand_dynamic_string_token): Add is_path parameter and pass
12149 down to DL_DST_REQUIRED and _dl_dst_substitute.
12150 (decompose_rpath): Call expand_dynamic_string_token with
12151 non-zero is_path. Ignore empty rpaths.
12152 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12153 with zero is_path.
12154
12155 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12156
12157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12158 Make cancelable.
12159
12160 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12161
12162 [BZ #12655]
12163 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12164 Patch by Filipe David Manana <fdmanana@apache.org>.
12165
12166 2011-04-07 Andreas Schwab <schwab@redhat.com>
12167
12168 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12169 Maintain aligned stack.
12170 (CHECK_RSP): Remove unused macro.
12171
12172 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12173
12174 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12175 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12176
12177 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12178
12179 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12180
12181 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12182
12183 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12184
12185 [BZ #12518]
12186 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12187 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12188 * sysdeps/x86_64/memmove.c: New file.
12189 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12190 (memcpy): Renamed to ...
12191 (__new_memcpy): This.
12192 (memcpy): Provide GLIBC_2_14 memcpy.
12193 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12194 (memcpy): Provide GLIBC_2_2_5 memcpy.
12195
12196 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12197
12198 [BZ #12631]
12199 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12200
12201 2011-03-30 Andreas Schwab <schwab@redhat.com>
12202
12203 * misc/syncfs.c: New file.
12204 * misc/Makefile (routines): Add syncfs.
12205 * posix/unistd.h: Declare syncfs.
12206 * sysdeps/unix/syscalls.list: Add syncfs.
12207
12208 2011-04-01 Andreas Schwab <schwab@redhat.com>
12209
12210 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12211 open_by_handle_at.
12212 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12213 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12214 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12215 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12216 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12217 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12219
12220 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12221
12222 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12223 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12224 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12228 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12229
12230 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12231 sync_file_range.c with -fexceptions.
12232 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12233 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12234 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12235 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12236 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12237 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12238 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12239 sync_file_range as cancellation point
12240 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12241 now a wrapper around __call_sync_file_range with cancellation handling.
12242 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12243 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12244 function name to __call_sync_file_range.
12245 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12246 Add call_sync_file_range.
12247
12248 2011-04-01 Andreas Schwab <schwab@redhat.com>
12249
12250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12251 bits/timex.h.
12252
12253 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12254
12255 * iconv/iconv.h: Fix typo in comment.
12256 * io/fcntl.h: Likewise.
12257 * libio/stdio.h: Likewise.
12258 * posix/spawn.h: Likewise.
12259 * posix/unistd.h: Likewise.
12260 * stdlib/stdlib.h: Likewise.
12261 * time/time.h: Likewise.
12262 * wcsmbs/wchar.h: Likewise.
12263
12264 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12265 open_by_handle): Add.
12266 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12267 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12268 Augment a few comments.
12269 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12270 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12271 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12272 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12273 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12274 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12275 open_by_handle.
12276
12277 * io/fcntl.h (AT_EMPTY_PATH): Define.
12278
12279 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12280
12281 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12282 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12283 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12284 to...
12285 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12286 * Versions.def: Add GLIBC_2.14.
12287 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12288 Export.
12289
12290 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12291
12292 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12293 round counter.
12294 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12295
12296 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12297
12298 [BZ #12597]
12299 * string/test-strncmp.c (do_page_test): New function.
12300 (check2): Likewise.
12301 (test_main): Call check2.
12302 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12303
12304 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12305
12306 [BZ #12587]
12307 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12308 Handle cache information in CPU leaf 4.
12309 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12310
12311 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12312
12313 [BZ #12583]
12314 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12315 character representation.
12316 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12317
12318 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12319
12320 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12321 END(__isnan) to END(__isnanf) to match function entry point/label
12322 EALIGN(__isnanf,...).
12323
12324 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12325
12326 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12327
12328 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12329
12330 [BZ #12510]
12331 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12332 copy from the symbol referenced in the relocation to initialize the
12333 used variable.
12334 Patch by Piotr Bury <pbury@goahead.com>.
12335 * elf/Makefile: Add rules to build and tst-unique3.
12336 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12337 * elf/tst-unique3.cc: New file.
12338 * elf/tst-unique3.h: New file.
12339 * elf/tst-unique3lib.cc: New file.
12340 * elf/tst-unique3lib2.cc: New file.
12341
12342 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12343
12344 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12345
12346 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12347 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12348 to _start.
12349
12350 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12351
12352 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12353 to-be-loaded object along a path to loader is ld.so.
12354
12355 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12356 Ulrich Drepper <drepper@gmail.com>
12357
12358 * sysdeps/x86_64/memset.S: After aligning destination, code
12359 branches to different locations depending on the value of
12360 misalignment, when multiarch is enabled. Fix this.
12361
12362 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12363
12364 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12365 Set _x86_64_preferred_memory_instruction for AMD processsors.
12366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12367 Set bit_Prefer_SSE_for_memop for AMD processors.
12368
12369 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12370
12371 * libio/fmemopen.c (fmemopen): Optimize a bit.
12372
12373 2011-03-03 Andreas Schwab <schwab@redhat.com>
12374
12375 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12376
12377 2011-03-03 Roland McGrath <roland@redhat.com>
12378
12379 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12380
12381 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12382
12383 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12384 __bzero_ultra1 instead of __memset_ultra1.
12385
12386 2011-02-23 Andreas Schwab <schwab@redhat.com>
12387 Ulrich Drepper <drepper@gmail.com>
12388
12389 [BZ #12509]
12390 * include/link.h (struct link_map): Add l_orig_initfini.
12391 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12392 returning unsuccessfully.
12393 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12394 close of a file loaded at startup, restore the original l_initfini
12395 list.
12396 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12397 list, store the pointer.
12398 * elf/Makefile ($(objpfx)noload-mem): New rule.
12399 (noload-ENV): Define.
12400 (tests): Add $(objpfx)noload-mem.
12401 * elf/noload.c: Include <memcheck.h>.
12402 (main): Call mtrace. Close all opened handles.
12403
12404 2011-02-17 Andreas Schwab <schwab@redhat.com>
12405
12406 [BZ #12454]
12407 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12408 dependencies are missing.
12409
12410 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12411
12412 Fix __if_freereq crash: Unlike the generic version which uses free,
12413 Hurd needs munmap.
12414 * sysdeps/mach/hurd/ifreq.h: New file.
12415
12416 2011-01-27 Petr Baudis <pasky@suse.cz>
12417 Ulrich Drepper <drepper@gmail.com>
12418
12419 [BZ 12445]#
12420 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12421 to extend_alloca().
12422 * stdio-common/bug23.c: New file.
12423 * stdio-common/Makefile (tests): Add bug23.
12424
12425 2010-09-28 Andreas Schwab <schwab@redhat.com>
12426 Ulrich Drepper <drepper@gmail.com>
12427
12428 [BZ #12489]
12429 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12430 before performing relro protection. At old place add assertion
12431 to make sure nothing changed.
12432
12433 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12434 Glauber de Oliveira Costa <glommer@gmail.com>
12435
12436 * elf/elf.h: Add new ARM TLS relocs.
12437
12438 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12439
12440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12441 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12442 cast from r3.
12443 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12444 'tests' variable.
12445 * sysdeps/wordsize-64/tst-writev.c: New file.
12446
12447 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12448
12449 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12450 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12451 insns in _dl_start to prevent a TOC reference before relocs are
12452 resolved.
12453
12454 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12455
12456 [BZ #12469]
12457 * Makeconfig: Remove RANLIB definition.
12458 * Makerules: Don't use RANLIB.
12459 * aclocal.m4: Remove ranlib test.
12460 * configure.in: No need to check for ranlib.
12461 * elf/rtld-Rules: Don't use RANLIB.
12462
12463 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12464
12465 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12466 protection macro.
12467 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12468 inclusion protection macro.
12469
12470 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12471 SIGRTMIN and SIGRTMAX and print information in that case only when
12472 SIGRTMIN is defined.
12473
12474 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12475
12476 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12477 arginfo fn returning -1.
12478
12479 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12480 and thousands string is zero terminated.
12481
12482 2011-02-03 Andreas Schwab <schwab@redhat.com>
12483
12484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12485 sysdeps/unix/sysv/linux/bits/socket.h.
12486
12487 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12488
12489 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12490 (__CPU_COUNT): Remove old macros.
12491 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12492 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12493 (__CPU_ALLOC, __CPU_FREE): Add macros.
12494 (__sched_cpualloc, __sched_cpufree): Add declarations.
12495
12496 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12497
12498 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12499 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12500 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12501 (readdhstai): Return value of addhstaiX call.
12502 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12503 (addgrbyX): Return value returned by cache_addgr.
12504 (readdgrbyname): Return value returned by addgrbyX.
12505 (readdgrbygid): Likewise.
12506 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12507 (addpwbyX): Return value returned by cache_addpw.
12508 (readdpwbyname): Return value returned by addhstbyX.
12509 (readdpwbyuid): Likewise.
12510 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12511 (addservbyX): Return value returned by cache_addserv.
12512 (readdservbyname): Return value returned by addservbyX:
12513 (readdservbyport): Likewise.
12514 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12515 (addhstbyX): Return value returned by cache_addhst.
12516 (readdhstbyname): Return value returned by addhstbyX.
12517 (readdhstbyaddr): Likewise.
12518 (readdhstbynamev6): Likewise.
12519 (readdhstbyaddrv6): Likewise.
12520 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12521 (readdinitgroups): Return value returned by addinitgroupsX.
12522 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12523 (prune_cache): Keep track of timeout value of re-added entries.
12524 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12525 * nscd/nscd.h: Adjust prototypes of readd* functions.
12526
12527 2011-02-04 Roland McGrath <roland@redhat.com>
12528
12529 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12530 (nis_stats): Likewise.
12531 * nis/nis_modify.c (nis_modify): Likewise.
12532 * nis/nis_remove.c (nis_remove): Likewise.
12533 * nis/nis_add.c (nis_add): Likewise.
12534
12535 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12536
12537 * posix/fnmatch_loop.c: Add some consts.
12538
12539 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12540
12541 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12542
12543 [BZ #12460]
12544 * config.make.in (config-cflags-novzeroupper): Define.
12545 * configure.in: Substitute libc_cv_cc_novzeroupper.
12546 * elf/Makefile (AVX-CFLAGS): Define.
12547 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12548 (CFLAGS-tst-auditmod4a.c): Likewise.
12549 (CFLAGS-tst-auditmod4b.c): Likewise.
12550 (CFLAGS-tst-auditmod6b.c): Likewise.
12551 (CFLAGS-tst-auditmod6c.c): Likewise.
12552 (CFLAGS-tst-auditmod7b.c): Likewise.
12553 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12554
12555 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12556
12557 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12558 function to the callback.
12559 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12560
12561 2011-02-02 Andreas Schwab <schwab@redhat.com>
12562
12563 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12564 of errno.
12565
12566 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12567
12568 [BZ #11724]
12569 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12570 of constructors.
12571 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12572 of destructors.
12573 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12574
12575 [BZ #11724]
12576 * elf/Makefile: Add rules to build and run new test.
12577 * elf/tst-initorder.c: New file.
12578 * elf/tst-initorder.exp: New file.
12579 * elf/tst-initordera1.c: New file.
12580 * elf/tst-initordera2.c: New file.
12581 * elf/tst-initordera3.c: New file.
12582 * elf/tst-initordera4.c: New file.
12583 * elf/tst-initorderb1.c: New file.
12584 * elf/tst-initorderb2.c: New file.
12585 * elf/tst-order-a1.c: New file.
12586 * elf/tst-order-a2.c: New file.
12587 * elf/tst-order-a3.c: New file.
12588 * elf/tst-order-a4.c: New file.
12589 * elf/tst-order-b1.c: New file.
12590 * elf/tst-order-b2.c: New file.
12591 * elf/tst-order-main.c: New file.
12592 New test case by George Gensure <werkt0@gmail.com>.
12593
12594 2010-10-01 Andreas Schwab <schwab@redhat.com>
12595
12596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12597 decoding ACE if AI_CANONIDN.
12598
12599 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12600
12601 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12602
12603 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12604
12605 * version.h (RELEASE): Bump for 2.13 release.
12606 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12607
12608 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12609
12610 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12611 MADV_NOHUGEPAGE.
12612 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12613 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12614 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12615 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12617 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12618
12619 * posix/getconf.c: Update copyright year.
12620 * catgets/gencat.c: Likewise.
12621 * csu/version.c: Likewise.
12622 * debug/catchsegv.sh: Likewise.
12623 * debug/xtrace.sh: Likewise.
12624 * elf/ldconfig.c: Likewise.
12625 * elf/ldd.bash.in: Likewise.
12626 * elf/sprof.c (print_version): Likewise.
12627 * iconv/iconv_prog.c: Likewise.
12628 * iconv/iconvconfig.c: Likewise.
12629 * locale/programs/locale.c: Likewise.
12630 * locale/programs/localedef.c: Likewise.
12631 * malloc/memusage.sh: Likewise.
12632 * malloc/mtrace.pl: Likewise.
12633 * nscd/nscd.c (print_version): Likewise.
12634 * nss/getent.c: Likewise.
12635
12636 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12637 PF_CAIF, and PF_ALG.
12638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12639
12640 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12641
12642 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12643 (modules-names): Use them.
12644 (ifunc-test-modules, ifunc-pie-tests): Define.
12645 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12646 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12647 (test-extras): Likewise.
12648 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12649 $(compile-command.c).
12650 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12651 (all-built-dso): Define.
12652 (check-textrel.out, check-execstack.out): Depend on it.
12653
12654 * configure.in: Don't override --enable-multi-arch.
12655
12656 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12657
12658 [BZ #6812]
12659 * nscd/hstcache.c (tryagain): Define.
12660 (cache_addhst): Return tryagain not notfound for temporary errors.
12661 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12662 failed.
12663
12664 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12665
12666 [BZ #10563]
12667 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12668 to make the syscall.
12669 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12670
12671 [BZ #12378]
12672 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12673 and fall back to matching as normal character if the string ends before
12674 the matching ']' is found. This is what POSIX requires.
12675 * posix/testfnm.c: Adjust test result.
12676 * posix/globtest.sh: Adjust test result. Add new test.
12677 * posix/tst-fnmatch.input: Likewise.
12678 * posix/tst-fnmatch2.c: Add new test.
12679
12680 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12681
12682 * elf/Makefile (check-execstack): Revert last change. Depend on
12683 check-execstack.h.
12684 (check-execstack.h): New target.
12685 (generated): Add check-execstack.h.
12686 * elf/check-execstack.c: Include "check-execstack.h".
12687 (main): Revert last change.
12688 (handle_file): Return zero if GNU_STACK is absent and
12689 DEFAULT_STACK_PERMS doesn't include PF_X.
12690
12691 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12692
12693 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12694 in child fails because the descriptor is already closed.
12695 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12696 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12697 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12698
12699 [BZ #12397]
12700 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12701 syscall.
12702
12703 [BZ #10484]
12704 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12705 temporary buffer used to handle multi lookups locally.
12706 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12707
12708 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12709
12710 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12711 loader is ld.so.
12712
12713 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12714
12715 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12716 alignment for SSE2.
12717
12718 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12719
12720 [BZ #12394]
12721 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12722 characters. When rounding increased number of integer digits recompute
12723 number of groups.
12724 * stdio-common/tst-grouping.c: New file.
12725 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12726
12727 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12728
12729 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12730 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12731
12732 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12733 void.
12734 * bits/select.h: Likewise.
12735
12736 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12737
12738 * po/ja.po: Update from translation team.
12739
12740 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12741
12742 [BZ #11155]
12743 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12744 implementation just like for lxstat, fxstatat, et al.
12745
12746 2010-12-27 Jim Meyering <meyering@redhat.com>
12747
12748 [BZ #12348]
12749 * posix/regexec.c (build_trtable): Return failure indication upon
12750 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12751
12752 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12753
12754 [BZ #12201]
12755 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12756 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12757 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12758 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12759
12760 [BZ #12207]
12761 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12762
12763 [BZ #12204]
12764 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12765 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12766
12767 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12768
12769 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12770 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12771 script has SORT_BY_INIT_PRIORITY.
12772 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12773 NO_CTORS_DTORS_SECTIONS is defined.
12774 * elf/soinit.c: Likewise.
12775 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12776 NO_CTORS_DTORS_SECTIONS is defined.
12777 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12778 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12779 * sysdeps/sh/init-first.c: Likewise.
12780 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12781
12782 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12783
12784 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12785 always use the slow path.
12786
12787 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12788
12789 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12790 similar rule which adds the sysdep directories to the header search in
12791 order to pick up the correct platform stackinfo.h.
12792 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12793 perform test if it is, otherwise return successfully without testing.
12794 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12795 DEFAULT_STACK_PERMS define in stackinfo.h.
12796 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12797 defined in stackinfo.h.
12798 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12799 DEFAULT_STACK_PERMS defined in stackinfo.h.
12800 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12801 * sysdeps/ia64/stackinfo.h: Likewise.
12802 * sysdeps/s390/stackinfo.h: Likewise.
12803 * sysdeps/sh/stackinfo.h: Likewise.
12804 * sysdeps/sparc/stackinfo.h: Likewise.
12805 * sysdeps/x86_64/stackinfo.h: Likewise.
12806 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12807 PF_X for powerpc64. Retain PF_X for powerpc32.
12808
12809 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12810
12811 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12812 accurately.
12813 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12814 GETDENTS_64BIT_ALIGNED.
12815
12816 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12817
12818 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12819
12820 2010-12-10 Andreas Schwab <schwab@redhat.com>
12821
12822 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12823 _GNU_SOURCE.
12824
12825 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12826 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12827 Remove __restrict.
12828 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12829 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12830
12831 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12832
12833 [BZ #11655]
12834 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12835 are initialized.
12836
12837 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12838
12839 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12840
12841 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12842
12843 * po/it.po: Update from translation team.
12844
12845 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12846
12847 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12848 unused codes.
12849
12850 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12851
12852 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12853
12854 2010-11-24 Andreas Schwab <schwab@redhat.com>
12855
12856 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12857 specially.
12858 (gaih_getanswer_slice): Likewise.
12859
12860 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12861
12862 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12863
12864 2010-05-31 Petr Baudis <pasky@suse.cz>
12865
12866 [BZ #11149]
12867 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12868 silently even in the chroot mode.
12869
12870 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12871
12872 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12873 last patch a bit. Pretty printing
12874
12875 2010-05-31 Petr Baudis <pasky@suse.cz>
12876
12877 [BZ #10085]
12878 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12879 initialization of skip_initgroups_dyn.
12880
12881 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12882
12883 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12884 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12885
12886 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12887
12888 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12889
12890 2010-11-11 Andreas Schwab <schwab@redhat.com>
12891
12892 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12893 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12894 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12895 ($(objpfx)tst-fnmatch-mem): New rule.
12896 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12897 * posix/tst-fnmatch.c (main): Call mtrace.
12898
12899 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12900
12901 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12902 Support Intel processor model 6 and model 0x2c.
12903
12904 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12905
12906 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12907 signed comparison.
12908
12909 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12910
12911 [BZ #12205]
12912 * string/test-strncasecmp.c (check_result): New function.
12913 (do_one_test): Use it.
12914 (check1): New function.
12915 (test_main): Use it.
12916 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12917 Support strcasecmp and strncasecmp.
12918
12919 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12920
12921 [BZ #12194]
12922 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12923 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12924
12925 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12926
12927 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12928 IFUNC support.
12929 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12930 memset-x86-64.
12931 * sysdeps/x86_64/multiarch/bzero.S: New file.
12932 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12933 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12934 * sysdeps/x86_64/multiarch/memset.S: New file.
12935 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12936 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12937 Set bit_Prefer_SSE_for_memop for Intel processors.
12938 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12939 Define.
12940 (index_Prefer_SSE_for_memop): Define.
12941 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12942
12943 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
12944
12945 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12946 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12947
12948 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12949
12950 [BZ #12191]
12951 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12952 (__x86_64_raw_data_cache_size_half): Likewise.
12953 (__x86_64_raw_shared_cache_size): Likewise.
12954 (__x86_64_raw_shared_cache_size_half): Likewise.
12955
12956 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12957 (__x86_64_raw_data_cache_size_half): Likewise.
12958 (__x86_64_raw_shared_cache_size): Likewise.
12959 (__x86_64_raw_shared_cache_size_half): Likewise.
12960 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12961 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12962 and __x86_64_raw_shared_cache_size_half. Round
12963 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12964 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12965 to multiple of 256 bytes.
12966
12967 2010-11-03 Ulrich Drepper <drepper@gmail.com>
12968
12969 [BZ #12167]
12970 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12971 of inacessible symlinks. Verify result of symlink before returning it.
12972 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12973 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12974
12975 2010-10-28 Erich Ritz <erichritz@gmail.com>
12976
12977 * math/math.h (isinf): Fix typo in comment.
12978
12979 2010-11-01 Ulrich Drepper <drepper@gmail.com>
12980
12981 * po/da.po: Update from translation team.
12982
12983 2010-10-26 Ulrich Drepper <drepper@gmail.com>
12984
12985 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12986 is added to the list.
12987
12988 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12989 Ulrich Drepper <drepper@gmail.com>
12990
12991 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12992 the global list here. Move code to...
12993 (_dl_add_to_namespace_list): ...here. New function.
12994 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12995 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12996 * elf/dl-load.c (lose): Don't remove the element from the list.
12997 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12998 (_dl_map_object): Likewise.
12999
13000 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13001
13002 [BZ #12159]
13003 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13004 into all bytes of SSE register.
13005 Patch by Richard Li <richardpku@gmail.com>.
13006
13007 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13008
13009 [BZ #12140]
13010 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13011 perturbing.
13012
13013 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13014
13015 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13016 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13017 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13018 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13020 submachine.
13021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13022
13023 2010-10-22 Andreas Schwab <schwab@redhat.com>
13024
13025 * include/dlfcn.h (__RTLD_SECURE): Define.
13026 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13027 mode & __RTLD_SECURE instead.
13028 (open_path): Rename preloaded parameter to secure.
13029 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13030 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13031 * elf/dl-deps.c (openaux): Likewise.
13032 * elf/rtld.c (struct map_args): Remove is_preloaded.
13033 (map_doit): Don't use it.
13034 (dl_main): Likewise.
13035 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13036 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13037
13038 2010-09-09 Andreas Schwab <schwab@redhat.com>
13039
13040 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13041 (sysd-rules-targets): Remove duplicates.
13042 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13043 rtld-%.$o dependency.
13044
13045 2010-10-18 Andreas Schwab <schwab@redhat.com>
13046
13047 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13048 _dl_map_object do it.
13049
13050 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13051
13052 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13053 fast fma builtins, define the macros in the C99 standard.
13054 (FP_FAST_FMAF): Likewise.
13055 (FP_FAST_FMAL): Likewise.
13056 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13057
13058 * bits/mathdef.h: Update copyright year.
13059 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13060
13061 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13062
13063 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13064 builtins, define the macros in the C99 standard.
13065 (FP_FAST_FMAF): Likewise.
13066 (FP_FAST_FMAL): Likewise.
13067 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13068 multiply/add.
13069 (FP_FAST_FMAF): Likewise.
13070
13071 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13072
13073 [BZ #3268]
13074 * math/libm-test.inc (fma_test): Some new testcases.
13075 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13076 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13077 y and infinite z. Do multiplication by C already in long double.
13078 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13079 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13080 y and infinite z. Do bitwise or of inexact bit into u.d.
13081 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13082 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13083 * sysdeps/i386/fpu/s_fma.S: Removed.
13084 * sysdeps/i386/fpu/s_fmal.S: Removed.
13085
13086 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13087
13088 [BZ #3268]
13089 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13090 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13091 computation is not scheduled after fetestexcept. Fix value
13092 of minimum denormal long double.
13093
13094 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13095
13096 [BZ #3268]
13097 * math/libm-test.inc (fma_test): Add some more tests.
13098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13099 correctly.
13100
13101 2010-10-15 Andreas Schwab <schwab@redhat.com>
13102
13103 * scripts/data/localplt-s390-linux-gnu.data: New file.
13104 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13105
13106 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13107
13108 [BZ #3268]
13109 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13110 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13111 instead of dbl-64.
13112 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13113 inlines.
13114 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13115 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13116 if one of x and y is very large and the other is subnormal.
13117 * sysdeps/s390/fpu/s_fmaf.c: New file.
13118 * sysdeps/s390/fpu/s_fma.c: New file.
13119 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13120 * sysdeps/powerpc/fpu/s_fma.S: New file.
13121 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13122 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13123 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13124
13125 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13126
13127 [BZ #3268]
13128 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13129 fma tests.
13130 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13131 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13132 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13133 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13134 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13135 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13136 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13137
13138 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13139
13140 [BZ #12078]
13141 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13142 * posix/bug-regex31.input: Add test case.
13143
13144 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13145
13146 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13147 * posix/bug-regex31.input: New file.
13148
13149 [BZ #12078]
13150 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13151 (parse_sub_exp): Fix last change, use postorder.
13152
13153 * posix/bug-regex31.c: New file.
13154 * posix/Makefile: Add rules to build and run bug-regex31.
13155
13156 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13157
13158 [BZ #12078]
13159 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13160
13161 [BZ #12108]
13162 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13163 to have entries in sys_siglist.
13164
13165 [BZ #12093]
13166 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13167 be NULL.
13168
13169 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13170
13171 [BZ #3268]
13172 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13173 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13174 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13175 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13176 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13177 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13178 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13179 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13180 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13181 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13182 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13183 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13184 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13185 * math/ftestexcept.c (fetestexcept): Likewise.
13186 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13187 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13188 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13189 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13190 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13191 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13192 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13193
13194 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13195
13196 [BZ #12107]
13197 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13198 newline.
13199
13200 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13201
13202 * string/bug-strstr1.c: New file.
13203 * string/Makefile: Add rules to build and run bug-strstr1.
13204
13205 2010-10-05 Eric Blake <eblake@redhat.com>
13206
13207 [BZ #12092]
13208 * string/str-two-way.h (two_way_long_needle): Always clear memory
13209 when skipping input due to the shift table.
13210
13211 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13212
13213 [BZ #12005]
13214 * malloc/mcheck.c: Handle large requests.
13215
13216 [BZ #12077]
13217 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13218 for strncmp and strncasecmp.
13219 * string/stratcliff.c: Add tests for strcmp and strncmp.
13220 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13221
13222 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13223
13224 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13225 __set_fpscr.
13226
13227 2010-09-30 Andreas Jaeger <aj@suse.de>
13228
13229 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13230 (CGROUP_SUPER_MAGIC): Define.
13231 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13232 Handle btrfs and cgroup file systems.
13233 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13234 Likewise.
13235
13236 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13237
13238 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13239 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13240
13241 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13242
13243 [BZ #12067]
13244 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13245 trying to locate the ELF header.
13246
13247 2010-09-27 Andreas Schwab <schwab@redhat.com>
13248
13249 [BZ #11611]
13250 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13251 Mask out sign-bit copies when constructing f_fsid.
13252
13253 2010-09-24 Petr Baudis <pasky@suse.cz>
13254
13255 * debug/stack_chk_fail_local.c: Add missing licence exception.
13256 * debug/warning-nop.c: Likewise.
13257
13258 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13259
13260 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13261 implementing getdents64 using getdents syscall, set d_type if
13262 __ASSUME_GETDENTS32_D_TYPE.
13263
13264 2010-09-16 Andreas Schwab <schwab@redhat.com>
13265
13266 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13267 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13268
13269 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13270
13271 [BZ #12037]
13272 * posix/unistd.h: Undo change of feature selection for ftruncate from
13273 2010-01-11.
13274
13275 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13276
13277 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13278 detection.
13279
13280 2010-09-20 Andreas Schwab <schwab@redhat.com>
13281
13282 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13283 fanotify_mark.
13284 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13285
13286 2010-09-14 Andreas Schwab <schwab@redhat.com>
13287
13288 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13289 variables after CHECK_SP call.
13290 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13291
13292 2010-09-13 Andreas Schwab <schwab@redhat.com>
13293 Ulrich Drepper <drepper@redhat.com>
13294
13295 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13296 re-relocationg ld.so.
13297 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13298 _dl_init_paths call.
13299 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13300 here anymore.
13301
13302 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13303
13304 * resolv/res_init.c (__res_vinit): Count the default server we added.
13305
13306 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13307 Ulrich Drepper <drepper@redhat.com>
13308
13309 [BZ #11968]
13310 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13311 (____longjmp_chk): Use %ebx for saving value across system call.
13312 Add unwind info.
13313
13314 2010-09-06 Andreas Schwab <schwab@redhat.com>
13315
13316 * manual/Makefile: Don't mix pattern rules with normal rules.
13317
13318 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13319
13320 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13321 operation.
13322 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13323 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13324 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13325 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13326 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13327 Likewise.
13328
13329 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13330
13331 [BZ #11979]
13332 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13333 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13334
13335 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13336
13337 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13338 * sysdeps/x86_64/addmul_1.S: Likewise.
13339 * sysdeps/x86_64/lshift.S: Likewise.
13340 * sysdeps/x86_64/mul_1.S: Likewise.
13341 * sysdeps/x86_64/rshift.S: Likewise.
13342 * sysdeps/x86_64/sub_n.S: Likewise.
13343 * sysdeps/x86_64/submul_1.S: Likewise.
13344
13345 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13346
13347 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13348 Define __sched_param instead of SCHED_* and sched_param when
13349 <bits/sched.h> is included with __need_schedparam defined.
13350 * bits/sched.h [__need_schedparam]
13351 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13352 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13353 (__defined_schedparam): Define to 1.
13354 (__sched_param): New structure, identical to sched_param.
13355 (__need_schedparam): Undefine.
13356
13357 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13358
13359 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13360 (epoll_create1): Declare.
13361
13362 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13363
13364 2010-08-31 Andreas Schwab <schwab@redhat.com>
13365
13366 [BZ #7066]
13367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13368 shifting retval into place.
13369
13370 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13371
13372 * nis/rpcsvc/nis.h: Update copyright notice.
13373 * nis/rpcsvc/nis.x: Likewise.
13374 * nis/rpcsvc/nis_callback.h: Likewise.
13375 * nis/rpcsvc/nis_callback.x: Likewise.
13376 * nis/rpcsvc/nis_object.x: Likewise.
13377 * nis/rpcsvc/nis_tags.h: Likewise.
13378 * nis/rpcsvc/yp.h: Likewise.
13379 * nis/rpcsvc/yp.x: Likewise.
13380 * nis/rpcsvc/ypupd.h: Likewise.
13381 * nis/yp_xdr.c: Likewise.
13382 * nis/ypupdate_xdr.c: Likewise.
13383
13384 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13385 mainly the body of pmap_getport. Add parameters to specify timeouts.
13386 (pmap_getport): Use __libc_rpc_getport.
13387 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13388 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13389 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13390
13391 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13392
13393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13394 fanotify_mark.
13395
13396 2010-08-27 Roland McGrath <roland@redhat.com>
13397
13398 * sysdeps/i386/i686/multiarch/Makefile
13399 (CFLAGS-varshift.c): New variable.
13400
13401 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13402
13403 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13404 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13405
13406 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13407
13408 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13409
13410 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13411
13412 * sysdeps/x86_64/strlen.S: Unroll the loop.
13413 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13414 strlen-sse2 strlen-sse2-bsf.
13415 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13416 __strlen_no_bsf if bit_Slow_BSF is set.
13417 (__strlen_sse42): Removed.
13418 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13419 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13420
13421 2010-08-25 Roland McGrath <roland@redhat.com>
13422
13423 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13424 * sysdeps/x86_64/multiarch/varshift.c: New file.
13425 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13426 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13427 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13428 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13429
13430 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13431
13432 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13433 strlen-sse2 strlen-sse2-bsf.
13434 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13435 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13436 (__strlen_sse2): Removed.
13437 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13438 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13440 bit_Slow_BSF for Atom.
13441 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13442 (index_Slow_BSF): Define.
13443 (HAS_SLOW_BSF): Define.
13444
13445 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13446
13447 [BZ #10851]
13448 * resolv/res_init.c (__res_vinit): When no server address at all
13449 is given default to loopback.
13450
13451 2010-08-24 Roland McGrath <roland@redhat.com>
13452
13453 * configure.in: Remove config-name.h generation.
13454 * configure: Regenerated.
13455 * config-name.in: File removed.
13456 * scripts/config-uname.sh: New file.
13457 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13458 ($(objdir)config-name.h): New target.
13459
13460 * sunrpc/rpc_parse.h: Avoid nested comment.
13461
13462 2010-08-24 Richard Henderson <rth@redhat.com>
13463 Ulrich Drepper <drepper@redhat.com>
13464 H.J. Lu <hongjiu.lu@intel.com>
13465
13466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13467 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13468 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13469 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13470 _mm_alignr_epi8 with _mm_loadu_si128.
13471 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13472 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13473 (__m128i_shift_right): Removed.
13474 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13475 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13476 * sysdeps/x86_64/multiarch/varshift.h: New file.
13477 * sysdeps/x86_64/multiarch/varshift.S: New file.
13478
13479 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13480
13481 * configure.in: Move assembler checks to before sysdep dir checking.
13482
13483 2010-08-20 Petr Baudis <pasky@suse.cz>
13484
13485 * LICENSES: Sync the sunrpc license.
13486
13487 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13488
13489 * sunrpc/auth_des.c: Update copyright notice once again.
13490 * sunrpc/auth_none.c: Likewise.
13491 * sunrpc/auth_unix.c: Likewise.
13492 * sunrpc/authdes_prot.c: Likewise.
13493 * sunrpc/authuxprot.c: Likewise.
13494 * sunrpc/bindrsvprt.c: Likewise.
13495 * sunrpc/clnt_gen.c: Likewise.
13496 * sunrpc/clnt_perr.c: Likewise.
13497 * sunrpc/clnt_raw.c: Likewise.
13498 * sunrpc/clnt_simp.c: Likewise.
13499 * sunrpc/clnt_tcp.c: Likewise.
13500 * sunrpc/clnt_udp.c: Likewise.
13501 * sunrpc/clnt_unix.c: Likewise.
13502 * sunrpc/des_crypt.c: Likewise.
13503 * sunrpc/des_soft.c: Likewise.
13504 * sunrpc/get_myaddr.c: Likewise.
13505 * sunrpc/getrpcport.c: Likewise.
13506 * sunrpc/key_call.c: Likewise.
13507 * sunrpc/key_prot.c: Likewise.
13508 * sunrpc/openchild.c: Likewise.
13509 * sunrpc/pm_getmaps.c: Likewise.
13510 * sunrpc/pm_getport.c: Likewise.
13511 * sunrpc/pmap_clnt.c: Likewise.
13512 * sunrpc/pmap_prot.c: Likewise.
13513 * sunrpc/pmap_prot2.c: Likewise.
13514 * sunrpc/pmap_rmt.c: Likewise.
13515 * sunrpc/rpc/auth.h: Likewise.
13516 * sunrpc/rpc/auth_unix.h: Likewise.
13517 * sunrpc/rpc/clnt.h: Likewise.
13518 * sunrpc/rpc/des_crypt.h: Likewise.
13519 * sunrpc/rpc/key_prot.h: Likewise.
13520 * sunrpc/rpc/netdb.h: Likewise.
13521 * sunrpc/rpc/pmap_clnt.h: Likewise.
13522 * sunrpc/rpc/pmap_prot.h: Likewise.
13523 * sunrpc/rpc/pmap_rmt.h: Likewise.
13524 * sunrpc/rpc/rpc.h: Likewise.
13525 * sunrpc/rpc/rpc_des.h: Likewise.
13526 * sunrpc/rpc/rpc_msg.h: Likewise.
13527 * sunrpc/rpc/svc.h: Likewise.
13528 * sunrpc/rpc/svc_auth.h: Likewise.
13529 * sunrpc/rpc/types.h: Likewise.
13530 * sunrpc/rpc/xdr.h: Likewise.
13531 * sunrpc/rpc_clntout.c: Likewise.
13532 * sunrpc/rpc_cmsg.c: Likewise.
13533 * sunrpc/rpc_common.c: Likewise.
13534 * sunrpc/rpc_cout.c: Likewise.
13535 * sunrpc/rpc_dtable.c: Likewise.
13536 * sunrpc/rpc_hout.c: Likewise.
13537 * sunrpc/rpc_main.c: Likewise.
13538 * sunrpc/rpc_parse.c: Likewise.
13539 * sunrpc/rpc_parse.h: Likewise.
13540 * sunrpc/rpc_prot.c: Likewise.
13541 * sunrpc/rpc_sample.c: Likewise.
13542 * sunrpc/rpc_scan.c: Likewise.
13543 * sunrpc/rpc_scan.h: Likewise.
13544 * sunrpc/rpc_svcout.c: Likewise.
13545 * sunrpc/rpc_tblout.c: Likewise.
13546 * sunrpc/rpc_util.c: Likewise.
13547 * sunrpc/rpc_util.h: Likewise.
13548 * sunrpc/rpcinfo.c: Likewise.
13549 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13550 * sunrpc/rpcsvc/key_prot.x: Likewise.
13551 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13552 * sunrpc/rpcsvc/mount.x: Likewise.
13553 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13554 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13555 * sunrpc/rpcsvc/rex.x: Likewise.
13556 * sunrpc/rpcsvc/rstat.x: Likewise.
13557 * sunrpc/rpcsvc/rusers.x: Likewise.
13558 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13559 * sunrpc/rpcsvc/spray.x: Likewise.
13560 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13561 * sunrpc/rtime.c: Likewise.
13562 * sunrpc/svc.c: Likewise.
13563 * sunrpc/svc_auth.c: Likewise.
13564 * sunrpc/svc_authux.c: Likewise.
13565 * sunrpc/svc_raw.c: Likewise.
13566 * sunrpc/svc_run.c: Likewise.
13567 * sunrpc/svc_simple.c: Likewise.
13568 * sunrpc/svc_tcp.c: Likewise.
13569 * sunrpc/svc_udp.c: Likewise.
13570 * sunrpc/svc_unix.c: Likewise.
13571 * sunrpc/svcauth_des.c: Likewise.
13572 * sunrpc/xcrypt.c: Likewise.
13573 * sunrpc/xdr.c: Likewise.
13574 * sunrpc/xdr_array.c: Likewise.
13575 * sunrpc/xdr_float.c: Likewise.
13576 * sunrpc/xdr_mem.c: Likewise.
13577 * sunrpc/xdr_rec.c: Likewise.
13578 * sunrpc/xdr_ref.c: Likewise.
13579 * sunrpc/xdr_sizeof.c: Likewise.
13580 * sunrpc/xdr_stdio.c: Likewise.
13581
13582 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13583 handling.
13584
13585 2010-08-19 Andreas Schwab <schwab@redhat.com>
13586
13587 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13588
13589 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13590
13591 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13592 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13593 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13594 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13595 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13596 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13597 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13598 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13599 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13600 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13601 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13602 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13603 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13604 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13605
13606 2010-07-26 Anton Blanchard <anton@samba.org>
13607
13608 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13609 * malloc/arena.c (heap_trim): Likewise.
13610
13611 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13612
13613 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13614 here. Not...
13615 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13616 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13617
13618 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13619
13620 * sysdeps/i386/elf/Makefile: New file.
13621
13622 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13623
13624 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13625 from fanotify_init.
13626 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13627 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13628
13629 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13630
13631 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13632 of strncasecmp_l.
13633 * sysdeps/multiarch/strcmp.S: Likewise.
13634
13635 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13636
13637 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13638 strncase_l-nonascii.
13639 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13640 Add strncase_l-ssse3.
13641 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13642 * sysdeps/x86_64/strcmp.S: Likewise.
13643 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13644 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13645 * sysdeps/x86_64/strncase.S: New file.
13646 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13647 * sysdeps/x86_64/strncase_l.S: New file.
13648 * string/Makefile (strop-tests): Add strncasecmp.
13649 * string/test-strncasecmp.c: New file.
13650
13651 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13652 warning.
13653
13654 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13655 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13656
13657 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13658
13659 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13660
13661 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13662
13663 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13665 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13666
13667 2010-05-01 Alan Modra <amodra@gmail.com>
13668
13669 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13670 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13671 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13672 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13673 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13674 tidying. Don't tail-call __sigjmp_save for static lib.
13675 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13676 save location.
13677 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13678 (CALL_MCOUNT): Add eh info, and nop after bl.
13679 (TAIL_CALL_SYSCALL_ERROR): New macro.
13680 (PSEUDO_RET): Use it.
13681 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13682 Correct save location of integer regs and cr.
13683 (_dl_profile_resolve): Correct cr save location. Delete nops
13684 after bl when SHARED. Reduce cfi size a little by better
13685 placement of cfi directives.
13686 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13687 make a stack frame. Instead use parm save area as a temp.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13689 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13691 Don't make a stack frame for parent, use parm save area.
13692 Increase child stack frame to 112 bytes. Don't save unused reg,
13693 and adjust reg usage. Set up cfi on error recovery and
13694 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13696 (__makecontext): Add dummy nop after jump to exit.
13697 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13698 Use correct parm save area and cr save, reduce stack frame.
13699 Correct cfi for possible PSEUDO_RET frame setup.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13701 Branch to local label emitted by PSEUDO_RET rather than
13702 __syscall_error.
13703
13704 2010-08-12 Andreas Schwab <schwab@redhat.com>
13705
13706 [BZ #11904]
13707 * locale/programs/locale.c (print_assignment): New function.
13708 (show_locale_vars): Use it.
13709
13710 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13711
13712 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13713 field.
13714 (struct statfs64): Likewise.
13715 (_STATFS_F_FLAGS): Define.
13716 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13717 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13718 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13719 (ST_VALID): Define locally.
13720 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13721 __statvfs_getflags, use the provided value.
13722 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13723 __ASSUME_STATFS_F_FLAGS.
13724
13725 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13726
13727 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13728 Add sys/fanotify.h.
13729 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13730 fanotify_mask for GLIBC_2.13.
13731 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13732 fanotify_init and fanotify_mark.
13733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13734 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13735
13736 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13737 Add prlimit.
13738 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13739 prlimit64 for GLIBC_2.13.
13740 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13741 prlimit64.
13742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13743 syscall.
13744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13745 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13746 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13747 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13748 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13749 add prlimit alias.
13750 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13751
13752 [BZ #11903]
13753 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13754 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13755
13756 * nss/Makefile: Add rules to build and run tst-nss-test1.
13757 * shlib-versions: Add entry for libnss_test1.
13758 * nss/nss_test1.c: New file.
13759 * nss/tst-nss-test1.c: New file.
13760
13761 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13762 (__nss_configure_lookup): Set appropriate entry in
13763 __nss_configure_lookup to true.
13764 * nss/nsswitch.h: Define enum with indeces of databases in
13765 databases and __nss_database_custom arrays. Declare
13766 __nss_database_custom.
13767 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13768 to avoid using nscd when custom rules are installed.
13769 * nss/getXXbyYY_r.c: Likewise.
13770 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13771
13772 * nss/nss_files/files-parse.c: Whitespace fixes.
13773
13774 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13775
13776 [BZ #11883]
13777 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13778 * posix/fnmatch_loop.c: Likewise.
13779
13780 2010-07-17 Andi Kleen <ak@linux.intel.com>
13781
13782 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13783 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13784 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13785 * Versions.def [GLIBC_2.13]: Add.
13786
13787 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13788
13789 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13790 Also fail if tpwd after pwuid call is NULL.
13791
13792 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13793
13794 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13795 when converting to ms.
13796
13797 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798
13799 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13800 EOPNOTSUPP errors with ENOTTY.
13801 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13802 EOPNOTSUPP errors with ENOTTY.
13803
13804 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13805
13806 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13807 Add strcasecmp_l-ssse3.
13808 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13809 strcasecmp.
13810 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13811 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13812 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13813
13814 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13815
13816 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13817
13818 * string/Makefile (strop-tests): Add strcasecmp.
13819 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13820 strcasecmp_l-nonascii.
13821 (gen-as-const-headers): Add locale-defines.sym.
13822 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13823 * sysdeps/x86_64/strcasecmp.S: New file.
13824 * sysdeps/x86_64/strcasecmp_l.S: New file.
13825 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13826 * sysdeps/x86_64/locale-defines.sym: New file.
13827 * string/test-strcasecmp.c: New file.
13828
13829 * string/test-strcasestr.c: Test both ends of the range of characters.
13830 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13831
13832 2010-07-29 Roland McGrath <roland@redhat.com>
13833
13834 [BZ #11856]
13835 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13836
13837 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13838
13839 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13840 for ld.so.
13841
13842 2010-07-27 Andreas Schwab <schwab@redhat.com>
13843
13844 * manual/memory.texi (Malloc Tunable Parameters): Document
13845 M_PERTURB.
13846
13847 2010-07-26 Roland McGrath <roland@redhat.com>
13848
13849 [BZ #11840]
13850 * configure.in (-fgnu89-inline check): Set and substitute
13851 gnu89_inline, not libc_cv_gnu89_inline.
13852 * configure: Regenerated.
13853 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13854
13855 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13856
13857 * string/test-strnlen.c: New file.
13858 * string/Makefile (strop-tests): Add strnlen.
13859 * string/tester.c (test_strnlen): Add a few more test cases.
13860 * string/tst-strlen.c: Better error reporting.
13861
13862 * sysdeps/x86_64/strnlen.S: New file.
13863
13864 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13865
13866 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13867 lower-latency instructions.
13868
13869 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13870
13871 * string/test-strcasestr.c: New file.
13872 * string/test-strstr.c: New file.
13873 * string/Makefile (strop-tests): Add strstr and strcasestr.
13874 * string/str-two-way.h: Don't undefine MAX.
13875 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13876
13877 2010-07-21 Andreas Schwab <schwab@redhat.com>
13878
13879 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13880 strcasestr-nonascii.
13881 (CFLAGS-strcasestr-nonascii.c): Define.
13882 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13883 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13884 Remove unused attribute.
13885
13886 2010-07-20 Roland McGrath <roland@redhat.com>
13887
13888 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13889 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13890 ld.so.cache was broken. With it, there is no way to disable dsocaps
13891 like LD_HWCAP_MASK can disable hwcaps.
13892
13893 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13894
13895 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13896
13897 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13898
13899 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13900 call in strcasestr.
13901 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13902 __strcasestr_sse42_nonascii.
13903 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13904 strcasestr-nonascii.c.
13905 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13906
13907 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13908
13909 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13910 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13911 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13912 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13913
13914 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13915
13916 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13917 fcntl.
13918
13919 2010-07-06 Andreas Schwab <schwab@redhat.com>
13920
13921 [BZ #11577]
13922 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13923 dl_signal_cerror.
13924
13925 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13926
13927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13928 _PC_PIPE_BUF using F_GETPIPE_SZ.
13929
13930 2010-07-05 Roland McGrath <roland@redhat.com>
13931
13932 * manual/arith.texi (Rounding Functions): Fix rint description
13933 implicit in round description.
13934
13935 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13936
13937 * elf/Makefile: Fix linking for a few tests to make recent linker
13938 happy.
13939
13940 2010-06-30 Andreas Schwab <schwab@redhat.com>
13941
13942 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13943 $(common-objpfx)libc_nonshared.a.
13944
13945 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
13946
13947 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13948 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13949 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13950 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13951 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13952 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13953 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13954 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13969 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13970 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13971 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13972 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13973 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13974 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13975 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13976 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13977 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13978 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13979 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13980 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13995
13996 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13997
13998 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13999 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14000 * string/memmove.c (memmove): Renamed to ...
14001 (MEMMOVE): ...this. Default to memmove.
14002 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14003 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14004 (END_CHK): Define.
14005 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14006 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14007 mempcpy-ssse3-back memmove-ssse3-back.
14008 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14009 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14010 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14011 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14012 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14013 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14014 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14015 * sysdeps/x86_64/multiarch/memmove.c: New file.
14016 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14017 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14018 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14019 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14020 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14021 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14022 Define.
14023 (index_Fast_Copy_Backward): Define.
14024 (HAS_ARCH_FEATURE): Define.
14025 (HAS_FAST_REP_STRING): Define.
14026 (HAS_FAST_COPY_BACKWARD): Define.
14027
14028 2010-06-21 Andreas Schwab <schwab@redhat.com>
14029
14030 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14031 Restore proper fallback handling.
14032
14033 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14034
14035 [BZ #11701]
14036 * posix/group_member.c (__group_member): Correct checking loop.
14037
14038 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14039 OOM in getpwuid_r correctly. Return error number when the caller
14040 should return, otherwise -1.
14041 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14042 call returning > 0 value.
14043 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14044
14045 2010-06-07 Andreas Schwab <schwab@redhat.com>
14046
14047 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14048 libc_nonshared.a from targets in modules-names.
14049
14050 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14051
14052 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14053 requires it.
14054
14055 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14056
14057 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14058 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14061
14062 2010-06-02 Andreas Schwab <schwab@redhat.com>
14063
14064 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14065
14066 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14067
14068 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14069 and F_GETPIPE_SZ.
14070 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14071 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14072 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14074 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14075 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14076
14077 2010-06-14 Roland McGrath <roland@redhat.com>
14078
14079 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14080
14081 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14082
14083 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14084 __REDIRECT followed by __THROW.
14085 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14086 * posix/getopt.h (getopt): Likewise.
14087
14088 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14089
14090 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14091 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14092 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14093 in AT_FLAGS.
14094 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14095 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14096
14097 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14098
14099 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14100
14101 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14102
14103 [BZ #11640]
14104 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14105 Properly check family and model.
14106
14107 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14108
14109 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14110
14111 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14112
14113 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14114
14115 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14116
14117 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14118 symbol reference.
14119
14120 2010-05-19 Andreas Schwab <schwab@redhat.com>
14121
14122 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14123 symbol reference.
14124
14125 2010-05-21 Andreas Schwab <schwab@redhat.com>
14126
14127 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14128 and internal_recvmmsg.
14129 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14130 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14131 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14132 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14133
14134 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14135 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14136 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14137
14138 2010-05-20 Andreas Schwab <schwab@redhat.com>
14139
14140 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14141
14142 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14143
14144 POWER7 optimizations.
14145 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14146 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14147
14148 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14149
14150 * version.h: Update for 2.13 development version.
14151
14152 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14153
14154 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14155 exceptions. Return 0.
14156
14157 2010-05-07 Roland McGrath <roland@redhat.com>
14158
14159 * elf/ldconfig.c (main): Add a const.
14160
14161 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14162
14163 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14164 (args_options): Add no-idn option.
14165 (ahosts_keys_int): Add idn_flags to ai_flags.
14166 (parse_option): Handle 'i' option to clear idn_flags.
14167
14168 * malloc/malloc.c (_int_free): Possible race in the most recently
14169 added check. Only act on the data if no current modification
14170 happened.
14171
14172 See ChangeLog.17 for earlier changes.