]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Load pointers into R*_LP in strcmp.S
[thirdparty/glibc.git] / ChangeLog
1 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
4
5 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
6
7 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
8 into R11_LP and load __x86_64_shared_cache_size_half into
9 R8_LP.
10
11 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
12
13 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
14 R8_LP.
15
16 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17
18 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
19 logb for POWER7.
20 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21 logbf for POWER7.
22 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
23 logbl for POWER7.
24 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
25 powerpc32/power7/fpu/s_logb.c via #include.
26 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
27 powerpc32/power7/fpu/s_logbf.c via #include.
28 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29 powerpc32/power7/fpu/s_logbl.c via #include.
30
31 2012-05-15 Joseph Myers <joseph@codesourcery.com>
32
33 * README.libm: Remove file.
34
35 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36
37 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
38 count for x32. Use R*_LP and omit operand-size suffix.
39
40 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41
42 * shlib-versions: Move x86_64-.*-linux.* entries to ...
43 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44 * sysdeps/x86_64/x32/shlib-versions: New file.
45
46 2012-05-14 Roland McGrath <roland@hack.frob.com>
47
48 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
49 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
50 Use _dl_fatal_printf instead.
51
52 2012-05-14 Joseph Myers <joseph@codesourcery.com>
53
54 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
55 set if not set by the user. Do not allow for being unset.
56 * sysdeps/unix/sysv/linux/configure: Regenerated.
57
58 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
59
60 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
61 the `q' suffix from lea and replace .quad with ASM_ADDR.
62
63 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
64
65 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
66 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
67 instead of $17.
68 (PTR_DEMANGLE): Likewise.
69
70 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
71
72 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
73 (LP_OP): Likewise.
74 (ASM_ADDR): Likewise.
75 (RAX_LP): Likewise.
76 (RBP_LP): Likewise.
77 (RBX_LP): Likewise.
78 (RCX_LP): Likewise.
79 (RDI_LP): Likewise.
80 (RSI_LP): Likewise.
81 (RSP_LP): Likewise.
82 (R8_LP): Likewise.
83 (R9_LP): Likewise.
84 (R10_LP): Likewise.
85 (R10_LP): Likewise.
86 (R11_LP): Likewise.
87 (R12_LP): Likewise.
88 (R13_LP): Likewise.
89 (R14_LP): Likewise.
90 (R15_LP): Likewise.
91
92 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
93
94 * sysdeps/x86_64/x32/dl-machine.h: New file.
95
96 2012-05-14 Andreas Jaeger <aj@suse.de>
97
98 * manual/Makefile (subdir): Remove export of subdir.
99 (all): Remove target.
100 (.PHONY): Remove all from list.
101 (mkinstalldirs): Remove.
102 (.PHONY): Remove installdirs from list.
103 ($(inst_infodir)/libc.info): Use make-target-directory.
104 (installdirs): Remove.
105 (subdir_%): Remove.
106 (glibc-targets): Remove.
107 (lib): Remove.
108 (stubs): Remove.
109 ($(objpfx)stubs ../po/manual.pot): Remove.
110 ($(objpfx)stamp%): Remove.
111 (make-target-directory): Remove.
112 (subdir_install): Remove.
113 (routines): Remove.
114 (aux): Remove.
115 (sources): Remove.
116 (objects): Remove.
117 (headers): Remove.
118
119 [BZ #13750]
120 * manual/.gitignore: Remove, it's not needed anymore.
121 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
122 all files in it.
123 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
124 directory.
125 (texis): Renamed to $(objpfx)texis.
126 (texis-path): New, contains path to generated files.
127 (chapters.%): Use texis-path for complete path, add extra argument
128 libc-texinfo.sh.
129 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
130 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
131 (summary,texi, stamp-summary): Use complete path of
132 files. Generate files in build dir.
133 (dir-add.texi): Build in build dir.
134 (libm-err.texi,stamp-libm-err): Likewise.
135 (version.texi, stamp-version): Likewise.
136 (.%c.texi): Likewise.
137 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
138 (mostlyclean): Remove target.
139 (realclean): Remove target.
140 (generated): Add new variable with contents from mostlyclean and
141 realclean, remove entries duplicated in common-mostlyclean, add
142 stamp-libm-err and stamp-version.
143 (generated-dirs): Add libc directory.
144 ($(inst_infodir)/libc.info): Install files from build dir.
145
146 * manual/install.texi (Configuring and compiling): Adjust since
147 the info files are not part of the tar ball anymore.
148
149 2012-05-14 Andreas Jaeger <aj@suse.de>
150
151 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
152 variable.
153
154 2012-05-14 Joseph Myers <joseph@codesourcery.com>
155
156 [BZ #13717]
157 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
158 to 2.2.0 where earlier.
159 * sysdeps/unix/sysv/linux/configure: Regenerated.
160 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
161 Remove conditional code.
162 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
164 Remove conditional code.
165 [!__NR_lchown]: Likewise.
166 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
167 [__NR_lchown]: Likewise.
168 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
169 comment referencing __ASSUME_LCHOWN_SYSCALL.
170 * sysdeps/unix/sysv/linux/i386/sigaction.c
171 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
172 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
173 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
174 Remove conditional code.
175 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
176 (__protocol_available): Remove #if 0 code.
177 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
178 conditional code.
179 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
180 * sysdeps/unix/sysv/linux/kernel-features.h
181 (__ASSUME_GETCWD_SYSCALL): Don't define.
182 (__ASSUME_REALTIME_SIGNALS): Likewise.
183 (__ASSUME_PREAD_SYSCALL): Likewise.
184 (__ASSUME_PWRITE_SYSCALL): Likewise.
185 (__ASSUME_POLL_SYSCALL): Likewise.
186 (__ASSUME_LCHOWN_SYSCALL): Likewise.
187 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
188 non-SPARC.
189 (__ASSUME_SIOCGIFNAME): Don't define.
190 (__ASSUME_MSG_NOSIGNAL): Likewise.
191 (__ASSUME_SENDFILE): Define unconditionally.
192 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
193 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
194 conditional code.
195 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
196 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
197 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
198 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
199 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
200 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
201 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
203 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
206 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
209 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
215 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
218 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
221 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
226 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
227 Remove conditional code.
228 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
229 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
230 Remove conditional code.
231 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
232 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
233 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
234 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
235 Remove conditional code.
236 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
237 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
238 Remove conditional code.
239 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
240 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
241 Remove conditional code.
242 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
243 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
244 Remove conditional code.
245 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
246 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
247 Remove conditional code.
248 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
249 * sysdeps/unix/sysv/linux/sh/pwrite64.c
250 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
251 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
252 * sysdeps/unix/sysv/linux/sigaction.c
253 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
254 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
255 * sysdeps/unix/sysv/linux/sigpending.c
256 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
257 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
258 * sysdeps/unix/sysv/linux/sigprocmask.c
259 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
260 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
261 * sysdeps/unix/sysv/linux/sigsuspend.c
262 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
263 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
264 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
265 (__libc_missing_rt_sigs): Remove.
266 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
267 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
268 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
269 Remove conditional code.
270 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
271 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
272 return 1.
273 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
274 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
275 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
276 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
277
278 2012-05-14 Andreas Jaeger <aj@suse.de>
279
280 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
281 it's not used in glibc.
282 (__coshm1): Likewise.
283 (__acosh1p): Likewise.
284 (__sgn): Likewise.
285
286 * manual/string.texi (Copying and Concatenation): Add missing
287 variable in concat example.
288 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
289
290 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
291
292 [BZ #14103]
293 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
294 __builtin_clzl with __builtin_clzll.
295
296 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
297
298 [BZ #14104]
299 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
300 libc_freeres_ptr.
301
302 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
303
304 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
305 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
306 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
307 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
308
309 2012-05-14 Mike Frysinger <vapier@gentoo.org>
310
311 * NEWS: Update ia64 info.
312
313 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
314
315 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
316 used as bcopy.
317
318 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
319
320 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
321 * sysdeps/unix/syscalls.list (dup3): Likewise.
322 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
323 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
324
325 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
326
327 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
328 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
329
330 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
331
332 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
333 thread pointer.
334 (TLS_IE): Use mov/add instead of movq/addq to load thread
335 pointer.
336 (TLS_GD_PREFIX): New.
337 (TLS_GD): Use it.
338
339 2012-05-11 David S. Miller <davem@davemloft.net>
340
341 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
342 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
343 (_FPU_SETCW): Likewise.
344
345 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
346
347 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
348 is 32-byte aligned.
349
350 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
351
352 [BZ #11837]
353 * iconvdata/gb18030.c: Update tables.
354 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
355 characters specially.
356 (BODY for TO_LOOP): Add encoding of missing ranges.
357
358 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
359
360 [BZ #13673]
361 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
362 * sysdeps/mach/hurd/dup3.c: Likewise.
363 * sysdeps/mach/hurd/readlinkat.c: Likewise.
364 * sysdeps/powerpc/memmove.c:: Likewise.
365
366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
367
368 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
369 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
370
371 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
372
373 * elf/elf.h (R_X86_64_RELATIVE64): New.
374 (R_X86_64_NUM): Updated.
375 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
376 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
377 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
378 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
379 tst-quad1pie tst-quad2pie
380 (modules-names): Add tst-quadmod1 tst-quadmod2.
381 ($(objpfx)tst-quad1): New dependency.
382 ($(objpfx)tst-quad2): Likewise.
383 ($(objpfx)tst-quad1pie): Likewise.
384 ($(objpfx)tst-quad2pie): Likewise.
385 * sysdeps/x86_64/tst-quad1.c: New file.
386 * sysdeps/x86_64/tst-quad1pie.c: New file.
387 * sysdeps/x86_64/tst-quad2.c: Likewise.
388 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
389 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
390 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
391 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
392 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
393
394 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
395
396 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
397 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
398 * streams/stropts.h (t_scalar_t): Define type.
399
400 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
401 (_PATH_PRESERVE): Set to "/var/lib".
402 (_PATH_RWHODIR): Set to "/var/spool/rwho".
403
404 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
405 instead of int.
406
407 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
408 if __dir_mkfile succeeded.
409
410 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
411 checking for _hurd_dtablesize. Unlock it right after having
412 finished _hurd_dtable allocation.
413
414 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
415
416 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
417 * sysdeps/mach/hurd/configure: Regenerated.
418 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
419 special-casing to...
420 * sysdeps/gnu/configure.in: ... this new file.
421 * sysdeps/unix/sysv/linux/configure: Regenerated.
422 * sysdeps/gnu/configure: New generated file.
423
424 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
425 for Linux: use nsec instead of usec, as well as:
426 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
427 members of type struct timespec.
428 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
429 New macros.
430 (struct stat64): Likewise.
431 (_STATBUF_ST_NSEC): New macro.
432 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
433
434 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
435 __strtoul_internal rather than strtoul.
436
437 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
438
439 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
440 and reject them.
441
442 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
443
444 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
445 which preserves existing values.
446 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
447
448 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
449
450 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
451 TIMEOUT values. Return EINVAL for NFDS values either negative or
452 greater than FD_SETSIZE.
453
454 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
455
456 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
457 allocated, call __vm_protect to finish enabling the existing space, and
458 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
459 allocate the remainder.
460
461 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
462
463 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
464 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
465
466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
467
468 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
469 sysdeps/mach/hurd/readlink.c.
470
471 * posix/tst-sysconf.c (posix_options): Only use
472 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
473 _POSIX_SYNCHRONIZED_IO when they are defined
474 * sysdeps/mach/hurd/bits/posix_opt.h:
475 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
476 (_XOPEN_REALTIME): Undefine macro.
477 (_XOPEN_REALTIME_THREADS): Undefine macro.
478 (_XOPEN_SHM): Undefine macro.
479 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
480 macro to -1.
481 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
482 macro to -1.
483 (_POSIX_ASYNC_IO): Undefine macro.
484 (_POSIX_PRIORITIZED_IO): Undefine macro.
485 (_POSIX_SPIN_LOCKS): Define macro to -1.
486
487 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
488 SA_NODEFER, SA_RESETHAND.
489 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
490 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
491 F_DUPFD_CLOEXEC.
492
493 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
494
495 * elf/Makefile (pldd-modules): Define unconditionally.
496
497 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
498
499 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
500
501 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
502
503 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
504 Return ENOENT when name is empty.
505 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
506
507 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
508
509 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
510
511 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
512
513 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
514
515 Fix mlock in all cases except non-readable pages.
516 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
517 instead of VM_PROT_ALL as parameter to __vm_wire function.
518
519 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
520 (__mkdir): When path is `/', just fail with EEXIST.
521 * sysdeps/mach/hurd/mkdirat.c: Likewise.
522
523 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
524
525 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
526 <sys/uio.h> (for writev).
527 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
528 and <sys/param.h> (for MIN).
529
530 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
531
532 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
533 REQUESTED_TIME. Properly set the remaining time and return EINTR
534 if interrupted.
535
536 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
537
538 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
539 Depend on against $(link-rpcuserlibs).
540
541 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
542
543 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
544 (__libc_stack_end): Do not use attribute_relro.
545 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
546 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
547 to libthread-provided value.
548 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
549 attribute_relro.
550
551 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
552
553 [BZ #3748]
554 * bits/libc-lock.h (__libc_once_get): New macro.
555 * sysdeps/mach/bits/libc-lock.h: Likewise.
556 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
557 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
558 instead of using implementation details.
559
560 * libio/fileops.c: Unconditionally include <kernel-features.h>.
561 * libio/freopen.c: Likewise.
562 * libio/freopen64.c: Likewise.
563 * misc/syslog.c: Likewise.
564 * nscd/connections.c: Likewise.
565 * nscd/netgroupcache.c: Likewise.
566 * sysdeps/posix/getcwd.c: Likewise.
567
568 2012-05-10 Roland McGrath <roland@hack.frob.com>
569
570 * math/w_ilogbf.c: Add #include <limits.h>.
571
572 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
573
574 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
575 path instead of returning without unlocking.
576
577 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
578 immediate-write ioctls.
579 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
580
581 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
582
583 * sysdeps/mach/hurd/i386/init-first.c (init): Use
584 __builtin_frame_address instead of making assumptions about the
585 location of the return address relative to DATA. Force early load of
586 the return address.
587 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
588 __builtin_frame_address.
589
590 dup3 for GNU Hurd.
591 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
592 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
593 implement dup3 and do some further code clean-ups.
594 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
595 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
596
597 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
598
599 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
600
601 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
602 HURD_CRITICAL_END around holding _hurd_dtable_lock.
603 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
604 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
605 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
606 d->port.lock.
607
608 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
609 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
610 when handler == SIG_ERR, not when handler != SIG_ERR.
611
612 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
613
614 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
615 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
616 definitions.
617
618 accept4 for GNU Hurd.
619 * include/sys/socket.h (__libc_accept4): New prototype.
620 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
621 to implement __libc_accept4.
622 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
623 __libc_accept4.
624 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
625
626 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
627 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
628 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
629 signal-defines.sym.
630
631 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
632
633 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
634
635 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
636
637 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
638 assertion on O_CLOEXEC flag.
639 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
640 * hurd/intern-fd.c: Likewise.
641 * hurd/port2fd.c: Likewise.
642
643 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
644
645 [BZ #3906]
646 * bits/in.h (IPV6_PKTINFO): Define new macro.
647 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
648
649 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
650
651 [BZ #13954]
652 [BZ #13955]
653 [BZ #13956]
654 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
656 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
657 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
658 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
659 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
660 * math/libm-test.inc (logb_test) : Additional logb tests.
661
662 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
663 Andreas Jaeger <aj@suse.de>
664
665 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
666 * configure: Regenerated.
667 * config.h.in (LINK_OBSOLETE_RPC): New macro.
668 * config.make.in (link-obsolete-rpc): New substituted variable.
669 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
670 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
671 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
672 (shared-only-routines): Don't set it under [link-obsolete-rpc],
673 so that libc.a contains the symbols.
674 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
675 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
676 * sunrpc/auth_none.c: Likewise.
677 * sunrpc/auth_unix.c: Likewise.
678 * sunrpc/authdes_prot.c: Likewise.
679 * sunrpc/authuxprot.c: Likewise.
680 * sunrpc/clnt_gen.c: Likewise.
681 * sunrpc/clnt_perr.c: Likewise.
682 * sunrpc/clnt_raw.c: Likewise.
683 * sunrpc/clnt_simp.c: Likewise.
684 * sunrpc/clnt_tcp.c: Likewise.
685 * sunrpc/clnt_udp.c: Likewise.
686 * sunrpc/clnt_unix.c: Likewise.
687 * sunrpc/des_crypt.c: Likewise.
688 * sunrpc/des_soft.c: Likewise.
689 * sunrpc/get_myaddr.c: Likewise.
690 * sunrpc/key_call.c: Likewise.
691 * sunrpc/key_prot.c: Likewise.
692 * sunrpc/netname.c: Likewise.
693 * sunrpc/pm_getmaps.c: Likewise.
694 * sunrpc/pm_getport.c: Likewise.
695 * sunrpc/pmap_clnt.c: Likewise.
696 * sunrpc/pmap_prot.c: Likewise.
697 * sunrpc/pmap_prot2.c: Likewise.
698 * sunrpc/pmap_rmt.c: Likewise.
699 * sunrpc/publickey.c: Likewise.
700 * sunrpc/rpc_cmsg.c: Likewise.
701 * sunrpc/rpc_common.c: Likewise.
702 * sunrpc/rpc_dtable.c: Likewise.
703 * sunrpc/rpc_prot.c: Likewise.
704 * sunrpc/rpc_thread.c: Likewise.
705 * sunrpc/rtime.c: Likewise.
706 * sunrpc/svc.c: Likewise.
707 * sunrpc/svc_auth.c: Likewise.
708 * sunrpc/svc_raw.c: Likewise.
709 * sunrpc/svc_run.c: Likewise.
710 * sunrpc/svc_tcp.c: Likewise.
711 * sunrpc/svc_udp.c: Likewise.
712 * sunrpc/svc_unix.c: Likewise.
713 * sunrpc/svcauth_des.c: Likewise.
714 * sunrpc/xcrypt.c: Likewise.
715 * sunrpc/xdr.c: Likewise.
716 * sunrpc/xdr_array.c: Likewise.
717 * sunrpc/xdr_float.c: Likewise.
718 * sunrpc/xdr_intXX_t.c: Likewise.
719 * sunrpc/xdr_mem.c: Likewise.
720 * sunrpc/xdr_rec.c: Likewise.
721 * sunrpc/xdr_ref.c: Likewise.
722 * sunrpc/xdr_sizeof.c: Likewise.
723 * sunrpc/xdr_stdio.c: Likewise.
724
725 2012-05-10 Roland McGrath <roland@hack.frob.com>
726
727 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
728 change. Update copyright years.
729
730 2012-05-10 Joseph Myers <joseph@codesourcery.com>
731
732 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
733
734 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
735 Joseph Myers <joseph@codesourcery.com>
736 Paul Pluzhnikov <ppluzhnikov@google.com>
737
738 [BZ #14012]
739 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
740 requiring rpcgen.
741 [cross-compiling] (extra-libs): Likewise.
742 [cross-compiling] (extra-libs-others): Likewise.
743 [cross-compiling] (librpcsvc-routines): Likewise.
744 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
745 [cross-compiling] (omit-deps): Likewise.
746 (sunrpc-CPPFLAGS): New variable.
747 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
748 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
749 (cross-rpcgen-objs): New variable.
750 (extra-objs): Append $(cross-rpcgen-objs).
751 ($(cross-rpcgen-objs)): New rule.
752 ($(objpfx)cross-rpcgen): Likewise.
753 (rpcgen-cmd): Define to use $(built-program-file). Expand
754 comment.
755 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
756 ($(objpfx)x%.stmp): Likewise.
757 * sunrpc/proto.h [IS_IN_build] (_): Define.
758 [IS_IN_build] (_libc_intl_domainname): Likewise.
759
760 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
761
762 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
763 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
764 and R_X86_64_TPOFF64.
765
766 2012-05-10 Joseph Myers <joseph@codesourcery.com>
767
768 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
769 sysdeps/unix/sysv/syscalls.list.
770 (stime): Likewise.
771 (utime): Likewise.
772 * sysdeps/unix/sysv/syscalls.list: Remove file.
773
774 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
775
776 [BZ #3440]
777 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
778 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
779 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
780 (__LC_IDENTIFICATION): Make these macros useful in #if
781 expressions, as required by C99.
782
783 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
784
785 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
786 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
787 after this.
788
789 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
790
791 * stdlib/longlong.h: Updated from GCC.
792
793 2012-05-09 Andreas Jaeger <aj@suse.de>
794
795 * nscd/nscd.c (run_modes): Make named enum, reorder so that
796 default is first entry.
797 (run_mode): Set type.
798 (main): Remove informal message about syslog.
799 (options): Fix typo.
800
801 [BZ #14053]
802 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
803 to asm.
804 (lrint): Likewise.
805 (llrintf): Likewise.
806 (llrint): Likewise.
807 (rint): Likewise.
808 (rintf): Likewise.
809 (nearbyint): Likewise.
810 (nearbyintf): Likewise.
811
812 2012-05-09 Andreas Jaeger <aj@suse.de>
813 Pedro Alves <palves@redhat.com>
814
815 * nscd/nscd.c (run_mode): Use enum.
816 (main): Cleanup coding style issue.
817
818 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
819 Andreas Jaeger <aj@suse.de>
820
821 * nscd/nscd.c (go_background): Replaced with...
822 (run_mode): ... this.
823 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
824 (options): Add -F --foreground.
825 (main): Implement it.
826 (parse_opt): Parse it.
827
828 2012-05-09 Andreas Jaeger <aj@suse.de>
829
830 [BZ #14083]
831 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
832 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
833 -Wconversion warning.
834 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
835 Likewise.
836
837 2012-05-09 Joseph Myers <joseph@codesourcery.com>
838
839 * conform/data/locale.h-data (NULL): Use macro-constant. Require
840 == 0.
841 (LC_ALL): Use macro-int-constant.
842 (LC_COLLATE): Likewise.
843 (LC_CTYPE): Likewise.
844 (LC_MESSAGES): Likewise.
845 (LC_MONETARY): Likewise.
846 (LC_NUMERIC): Likewise.
847 (LC_TIME): Likewise.
848 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
849 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
850 [ISO || ISO99 || ISO11] (*_t): Do not allow.
851 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
852 Specify type.
853 [C99-based standards] (float_t): Expect type.
854 [C99-based standards] (double_t): Expect type.
855 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
856 type.
857 [C99-based standards] (HUGE_VALL): Likewise.
858 [C99-based standards] (INFINITY): Likewise.
859 [C99-based standards] (NAN): Likewise.
860 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
861 [C99-based standards] (FP_NAN): Likewise.
862 [C99-based standards] (FP_NORMAL): Likewise.
863 [C99-based standards] (FP_SUBNORMAL): Likewise.
864 [C99-based standards] (FP_ZERO): Likewise.
865 [C99-based standards] (FP_FAST_FMA): Use
866 optional-macro-int-constant. Specify type. Require == 1.
867 [C99-based standards] (FP_FAST_FMAF): Likewise.
868 [C99-based standards] (FP_FAST_FMAL): Likewise.
869 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
870 [C99-based standards] (FP_ILOGBNAN): Likewise.
871 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
872 Specify type.
873 [C99-based standards] (MATH_ERREXCEPT): Likewise.
874 [C99-based standards] (math_errhandling): Specify type.
875 [ISO99 || ISO11] (signgam): Do not allow.
876 [non-C99-based standards] (copysignf): Do not allow.
877 [non-C99-based standards] (exp2f): Likewise.
878 [non-C99-based standards] (log2f): Likewise.
879 [non-C99-based standards] (modff): Allow.
880 [non-C99-based standards] (erff): Do not allow.
881 [non-C99-based standards] (erfcf): Likewise.
882 [non-C99-based standards] (gammaf): Likewise.
883 [non-C99-based standards] (hypotf): Likewise.
884 [non-C99-based standards] (j0f): Likewise.
885 [non-C99-based standards] (j1f): Likewise.
886 [non-C99-based standards] (jnf): Likewise.
887 [non-C99-based standards] (lgammaf): Likewise.
888 [non-C99-based standards] (tgammaf): Likewise.
889 [non-C99-based standards] (y0f): Likewise.
890 [non-C99-based standards] (y1f): Likewise.
891 [non-C99-based standards] (ynf): Likewise.
892 [non-C99-based standards] (isnanf): Likewise.
893 [non-C99-based standards] (acoshf): Likewise.
894 [non-C99-based standards] (asinhf): Likewise.
895 [non-C99-based standards] (atanhf): Likewise.
896 [non-C99-based standards] (cbrtf): Likewise.
897 [non-C99-based standards] (expm1f): Likewise.
898 [non-C99-based standards] (ilogbf): Likewise.
899 [non-C99-based standards] (log1pf): Likewise.
900 [non-C99-based standards] (logbf): Likewise.
901 [non-C99-based standards] (nextafterf): Likewise.
902 [non-C99-based standards] (remainderf): Likewise.
903 [non-C99-based standards] (rintf): Likewise.
904 [non-C99-based standards] (scalbf): Likewise.
905 [non-C99-based standards] (copysignl): Likewise.
906 [non-C99-based standards] (exp2l): Likewise.
907 [non-C99-based standards] (log2l): Likewise.
908 [non-C99-based standards] (modfl): Allow.
909 [non-C99-based standards] (erfl): Do not allow.
910 [non-C99-based standards] (erfcl): Likewise.
911 [non-C99-based standards] (gammal): Likewise.
912 [non-C99-based standards] (hypotl): Likewise.
913 [non-C99-based standards] (j0l): Likewise.
914 [non-C99-based standards] (j1l): Likewise.
915 [non-C99-based standards] (jnl): Likewise.
916 [non-C99-based standards] (lgammal): Likewise.
917 [non-C99-based standards] (tgammal): Likewise.
918 [non-C99-based standards] (y0l): Likewise.
919 [non-C99-based standards] (y1l): Likewise.
920 [non-C99-based standards] (ynl): Likewise.
921 [non-C99-based standards] (isnanl): Likewise.
922 [non-C99-based standards] (acoshl): Likewise.
923 [non-C99-based standards] (asinhl): Likewise.
924 [non-C99-based standards] (atanhl): Likewise.
925 [non-C99-based standards] (cbrtl): Likewise.
926 [non-C99-based standards] (expm1l): Likewise.
927 [non-C99-based standards] (ilogbl): Likewise.
928 [non-C99-based standards] (log1pl): Likewise.
929 [non-C99-based standards] (logbl): Likewise.
930 [non-C99-based standards] (nextafterl): Likewise.
931 [non-C99-based standards] (remainderl): Likewise.
932 [non-C99-based standards] (rintl): Likewise.
933 [non-C99-based standards] (scalbl): Likewise.
934 [ISO || ISO99 || ISO11] (*_t): Do not allow.
935 [non-C99-based standards] (FP_*): Do not allow.
936 [C99-based standards] (FP_*): Change to
937 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
938 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
939 allow.
940 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
941 (SIG_ERR): Likewise.
942 [X/Open-based standards] (SIG_HOLD): Likewise.
943 (SIG_IGN): Likewise.
944 (SIGABRT): Use macro-int-constant. Specify type. Require
945 positive value.
946 (SIGFPE): Likewise.
947 (SIGILL): Likewise.
948 (SIGINT): Likewise.
949 (SIGSEGV): Likewise.
950 (SIGTER): Likewise.
951 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
952 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
953 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
954 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
955 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
956 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
957 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
958 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
959 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
960 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
961 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
962 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
963 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
964 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
965 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
966 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
967 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
968 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
969 [X/Open-based standards] (SIGTRAP): Likewise.
970 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
971 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
972 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
973 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
974 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
975 allow.
976
977 2012-05-08 Ian Wienand <ianw@vmware.com>
978
979 [BZ #14080]
980 * time/tzset.c (__tzset_parse_tz): Update default rules for
981 daylight time changes in the Energy Policy Act of 2005.
982
983 2012-05-09 Andreas Jaeger <aj@suse.de>
984
985 [BZ #13983]
986 * elf/ldconfig.c (parse_conf): Change string to make clear that
987 ldconfig only issued a warning if ld.so.conf does not exist.
988
989 2012-05-08 David S. Miller <davem@davemloft.net>
990
991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
992 movxtod instead of popping the value on the stack.
993
994 * sysdeps/sparc/fpu/libm-test-ulps: Update.
995
996 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
997
998 * config.h.in: Add HAVE_ARM_PCS_VFP.
999
1000 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1001
1002 [BZ #13979]
1003 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1004 checking but the checks are disabled for any reason.
1005
1006 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1007
1008 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1009 and ELF64_R_TYPE with ELFW(R_TYPE).
1010
1011 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1012
1013 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1014 (ulimit): Likewise.
1015
1016 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1017 (settimeofday): Likewise.
1018
1019 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1020
1021 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1022 a struct th_u2 inside the union, and move tu_block/tu_code into
1023 a new th_u3 union of tu_block/tu_code inside of that. Move
1024 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1025 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1026 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1027 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1028 (th_stuff): Change to th_u1.tu_stuff.
1029 (th_data): Define.
1030 (th_msg): Change to th_u1.th_u2.tu_data.
1031
1032 2012-05-07 David S. Miller <davem@davemloft.net>
1033
1034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1035
1036 [BZ #14074]
1037 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1038 (SETUP_PIC_REG): Use it.
1039 (SETUP_PIC_REG_LEAF): Use it.
1040
1041 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1042
1043 [BZ #13885]
1044 [BZ #13923]
1045 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1046 USE_AS_EXPM1L.
1047 (EXPL_FINITE): Likewise.
1048 (FLDLOG): Likewise.
1049 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1050 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1051 e_expl.S.
1052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1053 USE_AS_EXPM1L.
1054 (EXPL_FINITE): Likewise.
1055 (FLDLOG): Likewise.
1056 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1057 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1058 e_expl.S.
1059 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1060 test of -max_value argument for long double.
1061 * sysdeps/i386/fpu/libm-test-ulps: Update.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1063
1064 2012-05-06 David S. Miller <davem@davemloft.net>
1065
1066 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1067 quad soft-float symbols whose references which are compiler
1068 generated.
1069 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1070
1071 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1072
1073 [BZ #13884]
1074 [BZ #13914]
1075 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1076 USE_AS_EXP10L.
1077 (EXPL_FINITE): Likewise.
1078 (FLDLOG): Likewise.
1079 (c0): Likewise.
1080 (c1): Likewise.
1081 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1082 Adjust comments for base varying.
1083 (__expl_finite): Change alias to EXPL_FINITE.
1084 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1085 e_expl.S.
1086 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1087 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1088 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1089 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1090 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1091 USE_AS_EXP10L.
1092 (EXPL_FINITE): Likewise.
1093 (FLDLOG): Likewise.
1094 (c0): Likewise.
1095 (c1): Likewise.
1096 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1097 Adjust comments for base varying.
1098 (__expl_finite): Change alias to EXPL_FINITE.
1099 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1100 tests for bugs.
1101 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1102
1103 [BZ #14064]
1104 * math/libm-test.inc (check_float_internal): Correct ulp
1105 calculation for subnormal expected results.
1106
1107 2012-05-06 Andreas Jaeger <aj@suse.de>
1108
1109 * Makeconfig (+math-flags): New, set to -frounding-math.
1110 (+cflags): Add +math-flags so that all of glibc gets compiled with
1111 it.
1112
1113 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1114
1115 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1116
1117 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1118 Disable one test.
1119
1120 [BZ #13787]
1121 [BZ #13922]
1122 [BZ #14036]
1123 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1124 (__ieee754_expl): Allow for and saturate large arguments.
1125 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1126 (u_threshold): Likewise.
1127 (__exp): Call __ieee754_exp before checking for overflow and
1128 underflow.
1129 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1130 (u_threshold): Likewise.
1131 (__expf): Call __ieee754_expf before checking for overflow and
1132 underflow.
1133 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1134 (u_threshold): Likewise.
1135 (__expl): Call __ieee754_expl before checking for overflow and
1136 underflow.
1137 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1138 (__ieee754_expl): Allow for and saturate large arguments.
1139 * math/libm-test.inc (exp_test): Add another test. Do not allow
1140 missing overflow exception on overflow.
1141 (expm1_test): Do not allow missing overflow exception on overflow.
1142
1143 * sysdeps/i386/fpu/e_expl.c: Move to ...
1144 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1145 rather than using inline asm.
1146 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1147 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1148 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1149
1150 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1151 (nice): Likewise.
1152 (poll): Likewise.
1153 (signal): Likewise.
1154 (time): Likewise.
1155 (times): Likewise.
1156
1157 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1158
1159 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1160 sysdeps/unix/common/syscalls.list.
1161 (fchmod): Likewise.
1162 (fchown): Likewise.
1163 (ftruncate): Likewise.
1164 (getrusage): Likewise.
1165 (gettimeofday): Likewise.
1166 (setpgid): Likewise.
1167 (setregid): Likewise.
1168 (setreuid): Likewise.
1169 (sigaction): Likewise.
1170 (truncate): Likewise.
1171 (vhangup): Likewise.
1172 * sysdeps/unix/common/syscalls.list: Remove file.
1173 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1174 * sysdeps/unix/sysv/linux/Implies: Likewise.
1175
1176 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1180 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1181 Moved to ...
1182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1183 Here.
1184 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1185 to ...
1186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1187 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1188 to ...
1189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1190 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1191 to ...
1192 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1193 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1194 to ...
1195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1196 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1197 to ...
1198 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1199 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1200 to ...
1201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1202 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1203 to ...
1204 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1205 Here.
1206 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1207 to ...
1208 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1209 Here.
1210 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1211 to ...
1212 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1213 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1214 Moved to ...
1215 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1216 Here.
1217 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1218 to ...
1219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1220
1221 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1222
1223 * sysdeps/unix/common/bits/dirent.h: Remove file.
1224 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1225
1226 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1227 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1228 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1229 * sysdeps/unix/bsd/isatty.c: Likewise.
1230 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1231 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1232 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1233
1234 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1235
1236 [BZ #13563]
1237 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1238 long double comparison inaccuracies.
1239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1241
1242 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1243
1244 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1245 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1246
1247 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1248
1249 [BZ #14049]
1250 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1251 nonzero digits before rounding a hex value.
1252 * stdlib/tst-strtod.c (tests): Add another test.
1253
1254 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1255
1256 * sysdeps/s390/fpu/libm-test-ulps: Update.
1257
1258 2012-05-03 Andreas Jaeger <aj@suse.de>
1259
1260 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1261 does not get optimized out.
1262 (malloc_opt_barrier): New.
1263
1264 2012-05-03 Andreas Jaeger <aj@suse.de>
1265 Roland McGrath <roland@hack.frob.com>
1266
1267 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1268 intermediate file deletion.
1269 (generated): Add .symlist files.
1270
1271 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1272
1273 [BZ #13775]
1274 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1275 Redirect under this condition.
1276 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1277 [__USE_GNU] (__dprintf_chk): Not under this condition.
1278 [__USE_GNU] (__vdprintf_chk): Likewise.
1279 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1280 under this condition.
1281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1282 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1283 [__USE_XOPEN2K8] (vdprintf): Likewise.
1284 [__USE_GNU] (__dprintf_chk): Not under this condition.
1285 [__USE_GNU] (__vdprintf_chk): Likewise.
1286 [__USE_GNU] (dprintf): Likewise.
1287 [__USE_GNU] (vdprintf): Likewise.
1288
1289 2012-05-03 Roland McGrath <roland@hack.frob.com>
1290
1291 * elf/Makefile (common-generated): Set this instead of generated for
1292 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1293 $(all-built-dso)-derived lists.
1294
1295 2012-05-03 Andreas Jaeger <aj@suse.de>
1296
1297 * sysdeps/i386/fpu/libm-test-ulps: Update.
1298
1299 * FAQ: Removed.
1300 * FAQ.in: Likewise.
1301 * scripts/gen-FAQ.pl: Likewise.
1302 * manual/install.texi (Installation): Point to online location of
1303 FAQ.
1304 * Makefile (files-for-dist): Remove FAQ.
1305 (FAQ): Remove.
1306
1307 2012-05-02 Allan McRae <allan@archlinux.org>
1308
1309 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1310 (LDFLAGS-reldepmod5.so): Likewise.
1311 (LDFLAGS-reldep6mod1.so): Likewise.
1312 (LDFLAGS-reldep6mod4.so): Likewise.
1313 (LDFLAGS-reldep8mod3.so): Likewise.
1314 (LDFLAGS-unload4mod1.so): Likewise.
1315 (LDFLAGS-unload4mod2.so): Likewise.
1316 (LDFLAGS-tst-initorder): Likewise.
1317 (LDFLAGS-tst-initordera2.so): Likewise.
1318 (LDFLAGS-tst-initordera3.so): Likewise.
1319 (LDFLAGS-tst-initordera4.so): Likewise.
1320 (LDFLAGS-tst-initorderb2.so): Likewise.
1321 (LDFLAGS-noload): Likewise.
1322 (LDFLAGS-next): Likewise.
1323 (LDFLAGS-order2mod1.so): Likewise.
1324 (LDFLAGS-order2mod2.so): Likewise.
1325 (LDFLAGS-tst-initorder2): Likewise.
1326 (LDFLAGS-tst-initorder2a.so): Likewise.
1327 (LDFLAGS-tst-initorder2b.so): Likewise.
1328 (LDFLAGS-tst-initorder2c.so): Likewise.
1329 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1330
1331 2012-05-02 David S. Miller <davem@davemloft.net>
1332
1333 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1334
1335 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1336
1337 [BZ #14055]
1338 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1339
1340 2012-05-02 Andreas Jaeger <aj@suse.de>
1341
1342 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1343 since we manipulate rounding mode.
1344 (CPPFLAGS-test-idouble.c): Likewise.
1345 (CPPFLAGS-test-ifloat.c): Likewise.
1346 (CFLAGS-test-ldouble.c): Likewise.
1347 (CFLAGS-test-double.c): Likewise.
1348 (CFLAGS-test-float.c): Likewise.
1349 (CFLAGS-test-misc.c): Likewise.
1350 (CFLAGS-test-test-fenv.c): Likewise.
1351
1352 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1353
1354 [BZ #2550]
1355 [BZ #2570]
1356 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1357 comparisons to determine direction to adjust input.
1358
1359 2012-05-01 Roland McGrath <roland@hack.frob.com>
1360
1361 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1362 output to the target.
1363
1364 * scripts/localplt.awk: New file.
1365 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1366 (check-localplt-CFLAGS): Variable removed.
1367 ($(all-built-dso:=.jmprel)): New static pattern rule.
1368 (generated): Add those targets.
1369 (localplt-built-dso): New variable.
1370 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1371
1372 * elf/check-localplt.c: File removed.
1373
1374 * scripts/check-execstack.awk: New file.
1375 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1376 (check-execstack-CFLAGS): Variable removed.
1377 ($(objpfx)check-execstack.h): Target removed.
1378 ($(objpfx)execstack-default): New target.
1379 (generated): Add that instead of check-execstack.h.
1380 ($(all-built-dso:=.phdr)): New static pattern rule.
1381 (generated): Add those targets.
1382 * elf/check-execstack.c: File removed.
1383
1384 * scripts/check-textrel.awk: New file.
1385 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1386 (check-textrel-CFLAGS): Variable removed.
1387 (all-built-dso): Use := to define.o
1388 ($(all-built-dso:=.dyn)): New static pattern rule.
1389 (generated): Add those targets.
1390 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1391 * config.make.in (READELF): New substituted variable.
1392 * elf/check-textrel.c: File removed.
1393
1394 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1395
1396 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1397 allow.
1398 * conform/data/ctype.h-data [C99-based standards] (isblank):
1399 Expect function.
1400 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1401 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1402 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1403 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1404 Specify type. Require positive value.
1405 (EILSEQ): Likewise.
1406 (ERANGE): Likewise.
1407 [ISO || POSIX] (EILSEQ): Do not expect.
1408 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1409 Specify type. Require positive value.
1410 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1426 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1427 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1428 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1429 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1430 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1431 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1432 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1433 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1434 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1435 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1436 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1437 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1438 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1439 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1440 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1441 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1442 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1443 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1444 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1445 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1446 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1447 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1448 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1449 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1450 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1451 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1452 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1453 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1454 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1455 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1456 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1457 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1458 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1459 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1460 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1461 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1462 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1463 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1464 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1465 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1466 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1468 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1469 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1470 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1471 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1472 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1484 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1485 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1486 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1487 Require >= 2.
1488 (FLT_ROUNDS): Expect as macro, not constant.
1489 (FLT_MANT_DIG): Use macro-int-constant.
1490 (DBL_MANT_DIG): Likewise.
1491 (LDBL_MANT_DIG): Likewise.
1492 (FLT_DIG): Likewise.
1493 (DBL_DIG): Likewise.
1494 (LDBL_DIG): Likewise.
1495 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1496 (DBL_MIN_EXP): Likewise.
1497 (LDBL_MIN_EXP): Likewise.
1498 (FLT_MAX_EXP): Use macro-int-constant.
1499 (DBL_MAX_EXP): Likewise.
1500 (LDBL_MAX_EXP): Likewise.
1501 (FLT_MAX_10_EXP): Likewise.
1502 (DBL_MAX_10_EXP): Likewise.
1503 (LDBL_MAX_10_EXP): Likewise.
1504 (FLT_MAX): Use macro-constant.
1505 (DBL_MAX): Likewise.
1506 (LDBL_MAX): Likewise.
1507 (FLT_EPSILON): Use macro-constant. Give upper bound.
1508 (DBL_EPSILON): Likewise.
1509 (LDBL_EPSILON): Likewise.
1510 (FLT_MIN): Likewise.
1511 (DBL_MIN): Likewise.
1512 (LDBL_MIN): Likewise.
1513 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1514 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1515 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1516 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1517 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1518 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1519 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1520 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1521 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1522 [ISO11] (FLT_TRUE_MIN): Likewise.
1523 [ISO11] (LDBL_TRUE_MIN): Likewise.
1524 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1525 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1526 (SCHAR_MIN): Use macro-int-constant. Specify type.
1527 (SCHAR_MAX): Likewise.
1528 (UCHAR_MAX): Likewise.
1529 (CHAR_MIN): Likewise.
1530 (CHAR_MAX): Likewise.
1531 (MB_LEN_MAX): Use macro-int-constant.
1532 (SHRT_MIN): Use macro-int-constant. Specify type.
1533 (SHRT_MAX): Likewise.
1534 (USHRT_MAX): Likewise.
1535 (INT_MAX): Likewise.
1536 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1537 bound negative.
1538 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1539 bound with "U".
1540 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1541 bound with "L".
1542 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1543 bound negative. Suffix upper bound with "L".
1544 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1545 bound with "UL".
1546 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1547 Specify type.
1548 [C99-based standards] (LLONG_MAX): Likewise.
1549 [C99-based standards] (ULLONG_MAX): Likewise.
1550 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1551 == 0.
1552 [ISO11] (max_align_t): Require type.
1553 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1554
1555 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1556 from $CFLAGS, without defining away __attribute__ calls.
1557 (checknamespace): Use $CFLAGS_namespace.
1558
1559 * conform/conformtest.pl (@keywords): Only include C99 keywords
1560 for standards based on C99 or C11.
1561
1562 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1563 Disable tests.
1564 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1565 UNIX98]: Likewise.
1566
1567 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1568 usability of symbols in #if.
1569
1570 * conform/conformtest.pl: If macro or constant types start
1571 "promoted:", expect the symbol to be of the following type
1572 promoted by the integer promotions.
1573
1574 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1575 in one place. Also handle "macro-constant".
1576
1577 * conform/conformtest.pl: Only accept expected macro values with
1578 "==". Parse all "macro" lines in one place.
1579 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1580
1581 * conform/conformtest.pl: Handle braced types on "constant" lines
1582 instead of handling "typed-constant".
1583 * conform/data/signal.h-data: Use "constant" instead of
1584 "typed-constant".
1585
1586 * conform/conformtest.pl: Handle "optional-" at start of lines in
1587 one place rather than duplicating several cases. Handle each
1588 format of "macro" line with initial "optional-".
1589
1590 * conform/conformtest.pl: Only accept expected constant or
1591 optional-constant values with "==". Parse all "constant" lines in
1592 one place. Parse all "optional-constant" lines in one place.
1593 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1594 * conform/data/fmtmsg.h-data: Likewise.
1595 * conform/data/netinet/in.h-data: Likewise.
1596 * conform/data/tar.h-data: Likewise.
1597 * conform/data/limits.h-data: Use "==" form on "constant" and
1598 "optional-constant" lines.
1599
1600 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1601 Use -std=c99 for XOPEN2K.
1602 (@knownproblems): Remove.
1603 (newtoken): Don't check %isknown.
1604
1605 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1606 Do not expect macro.
1607 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1619 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1620 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1637 [XPG3] (acosh): Likewise.
1638 [XPG3] (asinh): Likewise.
1639 [XPG3] (atanh): Likewise.
1640 [XPG3] (cbrt): Likewise.
1641 [XPG3] (expm1): Likewise.
1642 [XPG3] (ilogb): Likewise.
1643 [XPG3] (log1p): Likewise.
1644 [XPG3] (logb): Likewise.
1645 [XPG3] (nextafter): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1648 [XPG3] (remainder): Likewise.
1649 [XPG3] (rint): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1657 [UNIX98 || XOPEN2K] (scalb): Expect.
1658 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1659 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1795
1796 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1797 _XOPEN_SOURCE_EXTENDED for XPG4.
1798
1799 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1800
1801 * Makeconfig (localtime): Remove variable.
1802 (inst_localtime-file): Likewise.
1803
1804 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1805
1806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1807 Update.
1808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1809 Update.
1810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1811 Update.
1812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1813 Update.
1814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1815 Update.
1816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1817 Update.
1818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1819 Update.
1820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1821 Update.
1822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1823 Update.
1824
1825 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1826
1827 [BZ #2550]
1828 [BZ #2570]
1829 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1830 comparisons to determine direction to adjust input.
1831 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1832 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1833 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1834 Likewise.
1835 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1836 Likewise.
1837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1838 Likewise.
1839 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1840 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1841 Likewise.
1842 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1843 Likewise.
1844 * math/libm-test.inc (nexttoward_test): Add more tests.
1845
1846 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1847
1848 [BZ #14040]
1849 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1850 in version GLIBC_2.1, not GLIBC_2.0.
1851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1852 Likewise.
1853
1854 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1855
1856 [BZ #13942]
1857 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1858 (1 - x) * (1 + x).
1859 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1860 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1861 * math/libm-test.inc (acos_test): Add more tests.
1862 (asin_test): Likewise.
1863 * sysdeps/i386/fpu/libm-test-ulps: Update.
1864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1865
1866 [BZ #14034]
1867 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1868 of square root.
1869 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1870 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1871 * math/libm-test.inc (acos_test_tonearest): New function.
1872 (acos_test_towardzero): Likewise.
1873 (acos_test_downward): Likewise.
1874 (acos_test_upward): Likewise.
1875 (asin_test_tonearest): Likewise.
1876 (asin_test_towardzero): Likewise.
1877 (asin_test_downward): Likewise.
1878 (asin_test_upward): Likewise.
1879 (main): Call the new functions.
1880 * sysdeps/i386/fpu/libm-test-ulps: Update.
1881 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1882
1883 [BZ #13884]
1884 [BZ #13924]
1885 * math/e_exp10.c: Include <float.h>.
1886 (__ieee754_exp10): Handle underflow here rather than multiplying
1887 large negative argument by M_LN10.
1888 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1889 of __ieee754_expf.
1890 * math/e_exp10l.c: Include <float.h>.
1891 (__ieee754_exp10l): Handle underflow here rather than multiplying
1892 large negative argument by M_LN10l.
1893 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1894 spurious overflow exception on underflow.
1895
1896 2012-04-29 Marek Polacek <polacek@redhat.com>
1897
1898 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1899 (__fortify_function): New macro.
1900 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1901 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1902 __extern_always_inline.
1903 * libio/bits/stdio2.h: Likewise.
1904 * libio/bits/stdio.h: Likewise.
1905 * string/string.h: Likewise.
1906 * string/bits/string3.h: Likewise.
1907 * include/stdio.h: Likewise.
1908 * stdlib/bits/stdlib.h: Likewise.
1909 * stdlib/stdlib.h: Likewise.
1910 * rt/bits/mqueue2.h: Likewise.
1911 * rt/mqueue.h: Likewise.
1912 * posix/bits/unistd.h: Likewise.
1913 * posix/unistd.h: Likewise.
1914 * io/bits/poll2.h: Likewise.
1915 * io/bits/fcntl2.h: Likewise.
1916 * io/fcntl.h: Likewise.
1917 * io/sys/poll.h: Likewise.
1918 * misc/bits/syslog.h: Likewise.
1919 * misc/bits/syslog-ldbl.h: Likewise.
1920 * misc/sys/syslog.h: Likewise.
1921 * socket/bits/socket2.h: Likewise.
1922 * socket/sys/socket.h: Likewise.
1923 * debug/tst-chk1.c: Likewise.
1924 * wcsmbs/bits/wchar2.h: Likewise.
1925 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1926 * wcsmbs/wchar.h: Likewise.
1927
1928 2012-04-29 Andreas Jaeger <aj@suse.de>
1929
1930 * Makerules (tests): Remove enable-check-abi protection.
1931 (check-abi-warn): Remove.
1932 (check-abi-%): Remove check-abi-warn usage.
1933
1934 * configure.in: Remove check-abi configure option.
1935 * configure: Regenerated.
1936 * config.make.in (enable-check-abi): Remove.
1937
1938 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1939
1940 [BZ #14033]
1941 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1942 double functions to double *_finite functions.
1943
1944 [BZ #13941]
1945 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1946 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1947 LDBL_MIN_EXP.
1948 * stdio-common/Makefile (tests): Add tst-sprintf3.
1949 * stdio-common/tst-sprintf3.c: New file.
1950
1951 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1952 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1953
1954 2012-04-28 Joseph Myers <joseph@codesourcery.com>
1955
1956 * conform/conformtest.pl: Remove duplicate typed-constant
1957 handling.
1958
1959 2012-04-28 David S. Miller <davem@davemloft.net>
1960
1961 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1962 (check-abi-%): Remove AWK script prerequisite and explicit
1963 abilist directory.
1964 (check-abi): Rewrite to just diff the symlist with the abilist.
1965 (config-tls, config-abi-config): Delete, no longer used.
1966 (update-abi-%): Remove AWK script and explicit abilist directory.
1967 (update-abi): Rewrite to simply compare and conditionally copy the
1968 symlist and the sysdep abilist file. Remove update-abi-config
1969 checks.
1970 * abilist/ld.abilist: Remove.
1971 * abilist/libBrokenLocale.abilist: Remove.
1972 * abilist/libanl.abilist: Remove.
1973 * abilist/libcrypt.abilist: Remove.
1974 * abilist/libdl.abilist: Remove.
1975 * abilist/librt.abilist: Remove.
1976 * abilist/libthread_db.abilist: Remove.
1977 * abilist/libutil.abilist: Remove.
1978 * scripts/extract-abilist.awk: Remove.
1979 * scripts/merge-abilist.awk: Remove.
1980 * sysdeps/generic/libcidn.abilist: New file.
1981 * sysdeps/generic/libnss_compat.abilist: New file.
1982 * sysdeps/generic/libnss_db.abilist: New file.
1983 * sysdeps/generic/libnss_dns.abilist: New file.
1984 * sysdeps/generic/libnss_files.abilist: New file.
1985 * sysdeps/generic/libnss_hesiod.abilist: New file.
1986 * sysdeps/generic/libnss_nis.abilist: New file.
1987 * sysdeps/generic/libnss_nisplus.abilist: New file.
1988 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1989 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1990 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1991 file.
1992 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1993 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1994 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1995 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1996 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1997 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1998 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1999 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2000 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2001 file.
2002 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2003 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2004 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2005 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2006 file.
2007 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2008 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2009 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2010 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2011 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2012 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2013 file.
2014 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2015 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2016 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2017 file.
2018 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2019 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2020 New file.
2021 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2022 New file.
2023 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2024 New file.
2025 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2026 New file.
2027 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2028 New file.
2029 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2030 New file.
2031 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2032 New file.
2033 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2034 New file.
2035 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2036 New file.
2037 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2038 New file.
2039 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2040 New file.
2041 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2042 New file.
2043 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2044 New file.
2045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2046 file.
2047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2048 New file.
2049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2050 New file.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2052 file.
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2054 New file.
2055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2056 New file.
2057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2058 file.
2059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2060 New file.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2062 New file.
2063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2064 New file.
2065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2066 New file.
2067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2068 New file.
2069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2070 New file.
2071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2072 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2073 file.
2074 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2075 New file.
2076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2077 file.
2078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2079 file.
2080 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2081 file.
2082 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2083 file.
2084 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2087 New file.
2088 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2091 file.
2092 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2093 New file.
2094 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2095 file.
2096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2097 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2098 file.
2099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2100 New file.
2101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2102 file.
2103 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2104 file.
2105 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2106 file.
2107 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2108 file.
2109 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2114 file.
2115 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2116 file.
2117 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2120 file.
2121 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2122 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2123 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2124 file.
2125 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2126 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2127 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2128 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2129 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2130 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2131 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2132 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2133 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2134 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2136 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2137 file.
2138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2139 New file.
2140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2141 file.
2142 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2143 file.
2144 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2145 file.
2146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2147 file.
2148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2149 file.
2150 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2151 New file.
2152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2153 New file.
2154 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2155 file.
2156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2157 New file.
2158 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2159 file.
2160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2161 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2162 file.
2163 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2164 New file.
2165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2166 file.
2167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2168 file.
2169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2170 file.
2171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2172 file.
2173 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2174 file.
2175 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2176 New file.
2177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2178 New file.
2179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2180 file.
2181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2182 New file.
2183 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2184 file.
2185
2186 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2187
2188 * conform/conformtest.pl: Fix typo in handling typed-constant from
2189 allow-header.
2190
2191 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2192
2193 * README: Cut down references to pre-2.6 Linux kernels and
2194 Linuxthreads. Update lists of configurations in libc and ports
2195 and sort alphabetically. Say "or newer" with Linux kernel version
2196 requirements.
2197
2198 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2199
2200 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2201
2202 [BZ #887]
2203 * math/libm-test.inc (logb_test_downward): New test to expose
2204 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2205 rounding mode.
2206
2207 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2208
2209 [BZ #14027]
2210 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2211 to be done.
2212 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2213 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2214
2215 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2216
2217 * sysdeps/unix/i386/brk.S: Remove file.
2218 * sysdeps/unix/i386/dl-brk.S: Likewise.
2219 * sysdeps/unix/i386/pipe.S: Likewise.
2220 * sysdeps/unix/i386/sigreturn.S: Likewise.
2221 * sysdeps/unix/i386/syscall.S: Likewise.
2222 * sysdeps/unix/i386/vfork.S: Likewise.
2223 * sysdeps/unix/i386/wait.S: Likewise.
2224
2225 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2226 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2227
2228 * configure.in (arm*-none*): Do not allow without
2229 --enable-hacker-mode.
2230 (netbsd*): Remove case setting base_os.
2231 (386bsd*): Likewise.
2232 (freebsd*): Likewise.
2233 (bsdi*): Likewise.
2234 (osf*): Likewise.
2235 (sunos*): Likewise.
2236 (ultrix*): Likewise.
2237 (newsos*): Likewise.
2238 (dynix*): Likewise.
2239 (*bsd*): Likewise.
2240 (sysv*): Likewise.
2241 (isc*): Likewise.
2242 (esix*): Likewise.
2243 (sco*): Likewise.
2244 (minix*): Likewise.
2245 (irix4*): Likewise.
2246 (irix6*): Likewise.
2247 (solaris[2-9]*): Likewise.
2248 (none): Likewise.
2249 * configure: Regenerated.
2250
2251 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2252
2253 [BZ #11521]
2254 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2255 overflow or cancellation in calculating denominator.
2256 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2257 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2258 down expression to avoid unexpected rounding in newer GCCs.
2259 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2260
2261 2012-04-26 David S. Miller <davem@davemloft.net>
2262
2263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2264 long-double compat symbols.
2265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2278
2279 2012-04-25 David S. Miller <davem@davemloft.net>
2280
2281 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2282 HWCAP_* values only after the memory barriers have been defined.
2283 (atomic_full_barrier): Define.
2284 (atomic_read_barrier): Define.
2285 (atomic_write_barrier): Define.
2286
2287 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2288
2289 * shlib-versions: Add libgcc_s version information.
2290 * sysdeps/generic/libgcc_s.h: Remove.
2291 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2292 libgcc_s.h.
2293 * sysdeps/gnu/unwind-resume.c: Likewise.
2294 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2295
2296 2012-04-25 David S. Miller <davem@davemloft.net>
2297
2298 * sysdeps/unix/sparc/brk.S: Delete.
2299 * sysdeps/unix/sparc/dl-brk.S: Delete.
2300 * sysdeps/unix/sparc/pipe.S: Delete.
2301 * sysdeps/unix/sparc/sysdep.S: Delete.
2302 * sysdeps/unix/sparc/sysdep.h: Delete.
2303 * sysdeps/unix/sparc/vfork.S: Delete.
2304 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2305 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2306 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2307 ret_ERRVAL, r0, r1, MOVE): Define.
2308 (JUMPTARGET): Remove.
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2310 sysdeps/unix/sparc/sysdep.h
2311 (ENTRY, END): Remove.
2312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2313
2314 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2315
2316 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2317 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2318 -DIS_IN_build.
2319
2320 * timezone/README: Update upstream location and email address for
2321 tzcode and tzdata.
2322 * timezone/zdump.c: Update from tzcode 2012b.
2323 * timezone/zic.c: Likewise.
2324
2325 * configure.in (libc_cv_as_needed): Remove test.
2326 * configure: Regenerated.
2327 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2328 conditional definition.
2329 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2330 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2331 * config.make.in (have-as-needed): Remove variable.
2332
2333 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2334 Paul Pluzhnikov <ppluzhnikov@google.com>
2335
2336 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2337 strings correctly.
2338
2339 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2340
2341 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2342 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2343 * sysdeps/sh/strlen.S: Likewise.
2344
2345 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2346
2347 * sysdeps/unix/fork.S: Remove file.
2348 * sysdeps/unix/i386/fork.S: Likewise.
2349 * sysdeps/unix/sparc/fork.S: Likewise.
2350
2351 * sysdeps/unix/system.c: Remove file.
2352 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2353
2354 * sysdeps/unix/getegid.S: Remove file.
2355 * sysdeps/unix/geteuid.S: Likewise.
2356
2357 2012-04-24 Roland McGrath <roland@hack.frob.com>
2358
2359 * scripts/check-localplt.awk: New file.
2360 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2361 of diff.
2362 * scripts/data/localplt-generic.data: Add a comment.
2363
2364 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2365 NODE when __dir_mkfile failed.
2366 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2367 Reported by Ludovic Courtès <ludo@gnu.org>.
2368
2369 2012-04-24 Andreas Jaeger <aj@suse.de>
2370
2371 * Makerules (common-clean): Also remove gen-as-const-headers
2372 files.
2373
2374 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2375
2376 * Makerules (native-compile): Do not change working directory for
2377 build. Use $(OUTPUT_OPTION) in command.
2378 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2379
2380 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2381
2382 [BZ #13886]
2383 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2384 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2385 * math/libm-test.inc (floor_test): Add more tests.
2386 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2387
2388 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2389
2390 * sysdeps/unix/getdents.c: Remove file.
2391 * sysdeps/unix/sysv/getdents.c: Likewise.
2392 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2393
2394 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2395 sysdeps/unix/mman/syscalls.list.
2396 (mmap): Likewise.
2397 (mprotect): Likewise.
2398 (msync): Likewise.
2399 (munmap): Likewise.
2400 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2401 * sysdeps/unix/mman/syscalls.list: Remove.
2402 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2403
2404 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2405 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2406 * configure: Regenerated.
2407 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2408 $(libgcc_s_suffix).
2409 * config.make.in (libgcc_s_suffix): Remove variable.
2410
2411 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2412
2413 * sysdeps/unix/sysv/gethostname.c: Move to ...
2414 * sysdeps/posix/gethostname.c: ... here.
2415
2416 * sysdeps/unix/execve.S: Remove file.
2417
2418 * sysdeps/unix/_exit.S: Remove file.
2419
2420 2012-04-23 Andreas Jaeger <aj@suse.de>
2421
2422 [BZ #13739]
2423 * manual/Makefile: Remove make dist support, there's no
2424 need for a stand-alone documentation tar ball.
2425 (TEXI2DVI): Define always, it's not in Makeconfig.
2426 (dist): Removed.
2427 (tar-it): Removed.
2428 (edition): Removed.
2429 (glibc-doc-$(edition).tar): Removed
2430 (%.Z): Removed.
2431 (%.gz): Removed.
2432 (%.uu): Removed.
2433 (ETAGS): Remove, it's in Makeconfig.
2434 (move-if-change): Remove, it's in Makeconfig.
2435
2436 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2437
2438 [BZ #13970]
2439 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2440 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2441 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2442 (strtod_l, strtof_l, strtold_l): Remove __wur.
2443 It is not necessarily an error to ignore strtol's return value.
2444 One can reliably look at the stored endptr to decide whether
2445 the number had valid syntax.
2446
2447 2012-04-21 Andreas Jaeger <aj@suse.de>
2448
2449 [BZ #13739]
2450 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2451
2452 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2453
2454 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2455 * sysdeps/unix/sysv/Versions: Remove file.
2456
2457 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2458
2459 [BZ #13927]
2460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2461
2462 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2463
2464 [BZ #7064]
2465 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2466 version from __vm86.
2467
2468 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2469
2470 * sysdeps/unix/common/lxstat.c: Remove file.
2471 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2472
2473 * sysdeps/unix/sysv/Makefile: Remove file.
2474
2475 * sysdeps/unix/sysv/direct.h: Remove file.
2476
2477 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2478 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2479 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2480 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2481 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2482 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2483 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2484
2485 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2486
2487 * sysdeps/unix/xmknod.c: Remove file.
2488 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2489
2490 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2491
2492 * sysdeps/unix/sysv/i386/time.S: Remove file.
2493
2494 * sysdeps/unix/fxstat.c: Remove file.
2495 * sysdeps/unix/xstat.c: Likewise.
2496 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2497
2498 * sysdeps/unix/sysv/sigaction.c: Remove file.
2499
2500 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2501 (sysdep_headers): Remove variable.
2502 [termio.h not in sysdep_headers] (generated): Likewise.
2503 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2504 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2505 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2506 * sysdeps/unix/sysv/tcflow.c: Likewise.
2507 * sysdeps/unix/sysv/tcflush.c: Likewise.
2508 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2509 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2510 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2511 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2512 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2513
2514 * sysdeps/unix/siglist.c: Remove file.
2515
2516 * sysdeps/unix/getppid.S: Remove file.
2517
2518 * sysdeps/unix/mkdir.c: Remove file.
2519 * sysdeps/unix/rmdir.c: Likewise.
2520
2521 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2522
2523 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2524 ERR_MAX value.
2525 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2526 errlist-compat value.
2527
2528 2012-04-18 David S. Miller <davem@davemloft.net>
2529
2530 * sysdeps/generic/memcopy.h (reg_char): Delete.
2531 * debug/strcat_chk.c: Use char, not reg_char.
2532 * debug/strcpy_chk.c: Likewise.
2533 * debug/strncat_chk.c: Likewise.
2534 * debug/strncpy_chk.c: Likewise.
2535 * string/memchr.c: Likewise.
2536 * string/memrchr.c: Likewise.
2537 * string/rawmemchr.c: Likewise.
2538 * string/strcat.c: Likewise.
2539 * string/strchr.c: Likewise.
2540 * string/strchrnul.c: Likewise.
2541 * string/strcmp.c: Likewise.
2542 * string/strcpy.c: Likewise.
2543 * string/strncat.c: Likewise.
2544 * string/strncmp.c: Likewise.
2545 * string/strncpy.c: Likewise.
2546
2547 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2548
2549 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2550 __builtin_memcopy is called when src and dest ranges are known to not
2551 overlap.
2552
2553 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2554
2555 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2556 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2557 fwd_align_merge macro call.
2558 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2559 bwd_align_merge macro call.
2560 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2561
2562 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2563
2564 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2565 bwd_align_merge macros.
2566 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2567 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2568 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2569
2570 2012-04-18 David S. Miller <davem@davemloft.net>
2571
2572 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2573
2574 2012-04-18 Andreas Jaeger <aj@suse.de>
2575
2576 [BZ# 6794]
2577 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2578 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2579 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2580
2581 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2582 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2583 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2584
2585 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2586 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2587 Adjust for changed ldbl-128 files.
2588
2589 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2590 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2591 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2592
2593 2012-04-17 David S. Miller <davem@davemloft.net>
2594
2595 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2596
2597 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2598
2599 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2600 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2601 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2602 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2603 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2604 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2605
2606 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2607
2608 [BZ #6794]
2609 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2610 * math/libm-test.inc: Add ilogb errno and exception tests.
2611 * math/w_ilogb.c: New file: ilogb wrapper.
2612 * math/w_ilogbf.c: New file: ilogbf wrapper.
2613 * math/w_ilogbl.c: New file: ilogbl wrapper.
2614 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2615 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2616 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2617 exception being thrown with 0.0 as argument.
2618 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2619 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2620 exception being thrown with 0.0 as argument.
2621 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2622 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2623 exception being thrown with 0.0 as argument.
2624 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2625 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2626 exception being thrown with 0.0 as argument.
2627 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2628 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2629 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2630 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2631 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2632 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2633 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2634 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2635 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2636
2637 2012-04-17 Petr Baudis <pasky@ucw.cz>
2638
2639 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2640 with altivec.
2641
2642 2012-04-16 Marek Polacek <polacek@redhat.com>
2643
2644 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2645
2646 2012-04-16 Marek Polacek <polacek@redhat.com>
2647
2648 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2649 operands of fdivp instruction.
2650
2651 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2652
2653 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2654 * elf/tst-auditmod3b.c: Likewise.
2655 * elf/tst-auditmod4b.c: Likewise.
2656 * elf/tst-auditmod5b.c: Likewise.
2657 * elf/tst-auditmod6b.c: Likewise.
2658 * elf/tst-auditmod6c.c: Likewise.
2659 * elf/tst-auditmod7b.c: Likewise.
2660 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2661 * sysdeps/x86_64/preconfigure.in: Likewise.
2662 * sysdeps/x86_64/preconfigure: Regenerated.
2663
2664 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2665
2666 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2667 __ILP32__.
2668
2669 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2670
2671 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2672 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2673
2674 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2675
2676 [BZ #13973]
2677 * locale/iso-639.def: Fix gl language name. Spotted by
2678 Yaron Shahrabani.
2679
2680 2012-04-12 Roland McGrath <roland@hack.frob.com>
2681
2682 [BZ #2074]
2683 * libio/libio.h (__io_write_fn): Update comment.
2684
2685 2012-04-12 Petr Baudis <pasky@ucw.cz>
2686
2687 [BZ #2074]
2688 * stdio.texi (Hook Functions): The user provided writer function
2689 is not allowed to return -1.
2690
2691 2012-04-11 David S. Miller <davem@davemloft.net>
2692
2693 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2694
2695 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2696
2697 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2698 Add a leading slash to rtkaio.
2699
2700 2012-04-11 Jim Meyering <meyering@redhat.com>
2701
2702 [BZ #11959]
2703 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2704 It is not necessarily an error to ignore fwrite's return
2705 value. One can reliably use ferror to test for errors after
2706 the fact.
2707
2708 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2709
2710 * bits/types.h (__snseconds_t): New type.
2711 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2712
2713 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2714 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2715 (__SNSECONDS_T_TYPE): Likewise.
2716 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2717 (__SNSECONDS_T_TYPE): Likewise.
2718 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2719 (__SNSECONDS_T_TYPE): Likewise.
2720
2721 2012-04-10 Andreas Jaeger <aj@suse.de>
2722
2723 [BZ #2636]
2724 * manual/time.texi (Processor Time): Return type of times is
2725 elapsed real time since an arbitrary point in the past.
2726 (CPU Time): Move CLK_TCK from here...
2727 (Processor Time): ...to here. Correct description.
2728 * manual/conf.texi (Constants for Sysconf): Correct description of
2729 _SC_CLK_TCK.
2730
2731 2012-04-10 David S. Miller <davem@davemloft.net>
2732
2733 [BZ #13967]
2734 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2735 where the is a gap between DT_REL(A) and DT_JMPREL.
2736
2737 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2738
2739 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2740 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2741 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2742
2743 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2744
2745 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2746 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2747 (dl_main): Handle --inhibit-cache.
2748 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2749 _dl_inhibit_cache.
2750 * elf/dl-load.c (_dl_map_object): Use it.
2751 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2752
2753 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2754
2755 [BZ #13872]
2756 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2757 (__ieee754_powl): Saturate large exponents rather than testing for
2758 overflow of y*log2(x).
2759 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2760 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2761 exceptions.
2762
2763 [BZ #11521]
2764 * math/s_ctan.c: Include <float.h>.
2765 (__ctan): Avoid internal overflow or cancellation in calculating
2766 denominator.
2767 * math/s_ctanf.c: Likewise.
2768 * math/s_ctanl.c: Likewise.
2769 * math/s_ctanh.c: Likewise.
2770 * math/s_ctanhf.c: Likewise.
2771 * math/s_ctanhl.c: Likewise.
2772 * math/libm-test.inc (ctan_test): Add more tests.
2773 (ctanh_test): Likewise.
2774 * sysdeps/i386/fpu/libm-test-ulps: Update.
2775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2776
2777 2012-04-09 Andreas Jaeger <aj@suse.de>
2778
2779 [BZ #6894]
2780 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2781 is an optional BSD extension.
2782
2783 [BZ #10254]
2784 * manual/stdio.texi (Opening Streams): Document additional fopen
2785 parameters.
2786
2787 2012-04-09 Roland McGrath <roland@hack.frob.com>
2788
2789 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2790 %eax without telling the compiler.
2791
2792 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2793
2794 [BZ # 13963]
2795 * manual/install.texi: Use sourceware.org.
2796
2797 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2798
2799 [BZ #13873]
2800 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2801 (__ieee754_pow): Generate overflow and underflow using huge*huge
2802 and tiny*tiny rather than just returning constant infinity or zero
2803 for large exponents.
2804 * math/libm-test.inc (pow_test): Require overflow exceptions for
2805 applicable cases of large exponents.
2806
2807 [BZ #706]
2808 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2809 (__ieee754_pow): Use iterative multiplication algorithm only for
2810 integer exponents with absolute value below 1024. Check for odd
2811 integer exponents when using algorithm for real exponents.
2812 * math/libm-test.inc (pow_test): Add more tests.
2813 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2814
2815 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2816
2817 [BZ #13705]
2818 * math/libm-test.inc (exp_test): Do not allow overflow exception
2819 on underflow test.
2820
2821 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2822
2823 [BZ #13705]
2824 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2825 instead of __kernel_standard_f.
2826
2827 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2828
2829 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2830 * sysdeps/x86_64/memset_chk.S: Likewise.
2831
2832 2012-04-08 Andreas Jaeger <aj@suse.de>
2833
2834 [BZ #10153]
2835 * manual/startup.texi (Environment Access): Describe return value
2836 for putenv and setenv.
2837
2838 [BZ #6895]
2839 * manual/filesys.texi (Directory Entries): Add description for
2840 DT_LNK.
2841
2842 [BZ #6890]
2843 * manual/filesys.texi (Directory Entries): Clarify that it's file
2844 system not operating system in the description of DT_UNKNOWN.
2845
2846 [BZ #6578]
2847 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2848
2849 2012-04-08 Stephen Compall <s11@member.fsf.org>
2850
2851 [BZ #6649]
2852 * manual/llio.texi (Opening and Closing Files): Add cross
2853 reference to explain mode argument.
2854
2855 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2856
2857 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2858 * sysdeps/x86_64/memset_chk.S: Likewise.
2859
2860 2012-04-07 David S. Miller <davem@davemloft.net>
2861
2862 * elf/elf.h (R_SPARC_WDISP10): Define.
2863 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2864 R_SPARC_SIZE32.
2865 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2866 R_SPARC_SIZE64 and R_SPARC_H34.
2867
2868 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2869
2870 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2871 conditions and remove no longer applicable assertion.
2872
2873 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2874
2875 * bits/byteswap.h: Include <features.h>.
2876 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2877 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2878
2879 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2880
2881 * bits/byteswap.h (__bswap_16): Removed.
2882 Include <bits/byteswap-16.h> to get __bswap_16.
2883 * sysdeps/i386/bits/byteswap.h: Likewise.
2884 * sysdeps/s390/bits/byteswap.h: Likewise.
2885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2886 * bits/byteswap-16.h: New file.
2887 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2888 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2889 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2890 * string/Makefile (headers): Add bits/byteswap-16.h.
2891
2892 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2893
2894 [BZ #13895]
2895 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2896 extra indirection.
2897 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2898 * nss/tst-nss-static.c: New.
2899
2900 2012-04-06 Robert Millan <rmh@gnu.org>
2901
2902 [BZ #6486]
2903 * manual/llio.texi (File Position Primitive): lseek
2904 refers to WHENCE when it really means OFFSET.
2905
2906 2012-04-06 Andreas Jaeger <aj@suse.de>
2907
2908 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2909 strncmp declarations.
2910
2911 * abilist/libc.abilist: Add __poll and __ppoll.
2912
2913 2012-04-05 David S. Miller <davem@davemloft.net>
2914
2915 * scripts/check-local-headers.sh: Accept a host triplet in the
2916 path matched by the exclude regexp.
2917
2918 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2919 definition.
2920 * sysdeps/powerpc/powerpc32/dl-machine.h
2921 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2922 * sysdeps/s390/s390-32/dl-machine.h
2923 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2924 * sysdeps/sparc/sparc32/dl-machine.h
2925 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2926 * sysdeps/sparc/sparc64/dl-machine.h
2927 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2928
2929 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2930 lazy binding.
2931 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
2932 undefined symbol errors.
2933
2934 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
2935 DT_NEEDED entries.
2936
2937 2012-04-05 Michael Matz <matz@suse.de>
2938
2939 [BZ #13592]
2940 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2941
2942 2012-04-05 Andreas Jaeger <aj@suse.de>
2943
2944 [BZ #13908]
2945 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2946 comment.
2947
2948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2949
2950 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2951 which ROUND is no valid rounding mode.
2952
2953 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2954
2955 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2956 read again.
2957 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2958
2959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2960
2961 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2962 an exception using FPU order intentionally.
2963
2964 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2965
2966 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2967 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2968 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2969 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2970
2971 2012-04-05 Simon Josefsson <simon@josefsson.org>
2972
2973 [BZ #12340]
2974 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2975 EINVAL when BUFLEN is too smal.
2976
2977 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2978
2979 [BZ #13553]
2980 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2981 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2982
2983 2012-04-03 Andreas Jaeger <aj@suse.de>
2984
2985 [BZ #13938]
2986 * manual/setjmp.texi (System V contexts): Fix sentence.
2987
2988 [BZ #13926]
2989 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2990 New macro for this case.
2991 [!__GNUC__] (__bswap_64): New inline function for this case.
2992 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2993 * bits/byteswap.h: Likewise.
2994 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2995 ull, guard with __GLIBC_HAVE_LONG_LONG.
2996
2997 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2998 __GLIBC_HAVE_LONG_LONG.
2999
3000 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3001 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3002
3003 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3004
3005 [BZ #13691]
3006 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3007 inptr and inend, rather than using last_ch.
3008
3009 2012-04-02 David S. Miller <davem@davemloft.net>
3010
3011 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3012 * stdio-common/printf-parse.h (read_int): Change return type to
3013 'int', return -1 on INT_MAX overflow.
3014 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3015 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3016 overflows INT_MAX. Check for overflow of in-format-string precision
3017 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3018 SIZE_MAX not INT_MAX for integer overflow test.
3019 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3020 skip the construct in the format string but do not record anything.
3021 * stdio-common/bug22.c: Adjust to test both width/prevision
3022 INT_MAX overflow as well as total length INT_MAX overflow. Check
3023 explicitly for proper errno values.
3024
3025 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3026
3027 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3028 CHAR_MAX.
3029 * string/test-strcmp.c [! WIDE]: Likewise.
3030 * time/tst-mktime2.c: Likewise for INT_MAX.
3031 * string/test-string.h: #include <sys/param.h> for MIN.
3032
3033 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3034 * sysdeps/i386/init-first.c (init): Likewise.
3035 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3036 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3037 * sysdeps/sh/init-first.c (init): Likewise.
3038
3039 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3040
3041 * po/ru.po: Update from translation team.
3042 * po/vi.po: Likewise.
3043
3044 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3045
3046 * resolv/nss_dns/dns-host.c: Merge copyright years.
3047
3048 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3049
3050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3051 Optimize memcpy with prefetch if
3052 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3053 src, dst pointers have unequal 16 byte alignments.
3054
3055 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3056
3057 [BZ #13928]
3058 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3059 from a CNAME entry and return the minimum ttl for the query.
3060 (gaih_getanswer_slice): Likewise.
3061
3062 2012-03-30 Jeff Law <law@redhat.com>
3063
3064 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3065 due to long keys.
3066 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3067 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3068
3069 * resolv/nss_dns/dns-host.c: Update copyright year.
3070
3071 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3072
3073 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3074 requests to save a system call. Fix check that all bytes are sent.
3075
3076 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3077 comments for sendmmsg.
3078
3079 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3080
3081 [BZ #13691]
3082 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3083 with only 1 character between 0x0041 and 0x01b0.
3084 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3085 * wcsmbs/tst-mbsnrtowcs.c: New file.
3086
3087 2012-03-29 David S. Miller <davem@davemloft.net>
3088
3089 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3090 small copies by hand.
3091
3092 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
3094 [BZ #13761]
3095 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3096 _nss_compat_initgroups_dyn): Fall back to malloc/free
3097 for large group memberships.
3098
3099 2012-03-28 David S. Miller <davem@davemloft.net>
3100
3101 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3102 that branches into memcpy.
3103 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3104 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3106 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3107 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3108 bits.
3109 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3110 implementation too.
3111 * sysdeps/sparc/mempcpy.S: New file.
3112
3113 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3114 the IFUNC routine in the libc case.
3115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3116
3117 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3118 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3119 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3120 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3121 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3122 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3123 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3124 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3125
3126 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3127 loop to 256 bytes instead of 64 bytes and fix test signedness.
3128
3129 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3130 * sysdeps/sparc/sparc32/Makefile: rather than here...
3131 * sysdeps/sparc/sparc64/Makefile: and here.
3132
3133 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3134
3135 * malloc/mallocbug.c: Avoid warnings about unused variables.
3136
3137 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3138
3139 [BZ #13760]
3140 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3141 in the right place. Discard and retry query if response is
3142 larger than input buffer size.
3143
3144 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3145
3146 [BZ #369]
3147 [BZ #2678]
3148 [BZ #3866]
3149 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3150 x for large integer exponent.
3151 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3152 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3153 sign of result as needed afterwards.
3154 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3155 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3156 result for underflowing pow the same as for overflow.
3157 (__kernel_standard_l): Handle powl overflow and underflow here
3158 rather than calling __kernel_standard.
3159 * math/libm-test.inc (pow_test): Add more tests.
3160
3161 [BZ #3868]
3162 [BZ #13879]
3163 [BZ #13910]
3164 [BZ #13911]
3165 [BZ #13912]
3166 [BZ #13913]
3167 [BZ #13915]
3168 [BZ #13916]
3169 [BZ #13917]
3170 [BZ #13918]
3171 [BZ #13919]
3172 [BZ #13920]
3173 [BZ #13921]
3174 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3175 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3176 (__kernel_standard_l): New function.
3177 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3178 __kernel_standard.
3179 * math/w_acosl.c (__acosl): Likewise.
3180 * math/w_asinl.c (__asinl): Likewise.
3181 * math/w_atan2l.c (__atan2l): Likewise.
3182 * math/w_atanhl.c (__atanhl): Likewise.
3183 * math/w_coshl.c (__coshl): Likewise.
3184 * math/w_exp10l.c (__exp10l): Likewise.
3185 * math/w_exp2l.c (__exp2l): Likewise.
3186 * math/w_fmodl.c (__fmodl): Likewise.
3187 * math/w_hypotl.c (__hypotl): Likewise.
3188 * math/w_j0l.c (__j0l, __y0l): Likewise.
3189 * math/w_j1l.c (__j1l, __y1l): Likewise.
3190 * math/w_jnl.c (__jnl, __ynl): Likewise.
3191 * math/w_lgammal.c (__lgammal): Likewise.
3192 * math/w_log10l.c (__log10l): Likewise.
3193 * math/w_log2l.c (__log2l): Likewise.
3194 * math/w_logl.c (__logl): Likewise.
3195 * math/w_powl.c (__powl): Likewise.
3196 * math/w_remainderl.c (__remainderl): Likewise.
3197 * math/w_scalbl.c (sysv_scalbl): Likewise.
3198 * math/w_sinhl.c (__sinhl): Likewise.
3199 * math/w_sqrtl.c (__sqrtl): Likewise.
3200 * math/w_tgammal.c (__tgammal): Likewise.
3201 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3202 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3203 * math/libm-test.inc (acos_test): Add more tests.
3204 (acosh_test): Likewise.
3205 (asin_test): Likewise.
3206 (atanh_test): Likewise.
3207 (exp_test): Likewise.
3208 (exp10_test): Likewise.
3209 (exp2_test): Likewise.
3210 (expm1_test): Likewise.
3211 (lgamma_test): Likewise.
3212 (log_test): Likewise.
3213 (log10_test): Likewise.
3214 (log1p_test): Likewise.
3215 (log2_test): Likewise.
3216 (pow_test): Do not allow some spurious overflow exceptions.
3217 (sqrt_test): Add more tests.
3218 (tgamma_test): Likewise.
3219 (y0_test): Likewise.
3220 (y1_test): Likewise.
3221 (yn_test): Likewise.
3222
3223 2012-03-27 Anton Blanchard <anton@samba.org>
3224
3225 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3226 MAP_HUGETLB.
3227 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3228 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3229 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3230
3231 2012-03-27 David S. Miller <davem@davemloft.net>
3232
3233 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3234
3235 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3236 have-as-vis3 check.
3237
3238 2012-03-27 Andreas Jaeger <aj@suse.de>
3239
3240 * sysdeps/x86_64/elf/configure.in: Moved to ...
3241 * sysdeps/x86_64/configure.in: ... here.
3242 * sysdeps/x86_64/elf/start.S: Moved to ...
3243 * sysdeps/x86_64/start.S: ... here.
3244 * sysdeps/x86_64/elf/configure: Delete.
3245
3246 * sysdeps/x86_64/configure.in: Merge contents from
3247 sysdeps/i386/configure.in (without i686 check).
3248
3249 * sysdeps/i386/elf/Versions: Merge into ...
3250 * sysdeps/i386/Versions: ... this.
3251 * sysdeps/i386/elf/Versions: Delete file.
3252 * sysdeps/i386/elf/start.S: Moved to ...
3253 * sysdeps/i386/start.S: ...here.
3254 * sysdeps/i386/elf/configure.in: Merge into...
3255 * sysdeps/i386/configure.in: ...here.
3256 * sysdeps/i386/elf/configure.in: Delete file.
3257 * sysdeps/i386/elf/configure: Delete file.
3258
3259 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3260 * debug/backtracesyms.c: ... here.
3261 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3262 * debug/backtracesymsfd.c: ... here.
3263 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3264 * sysdeps/generic/ifunc-sel.h: ... here.
3265
3266 * sysdeps/unix/i386/start.c: Delete file.
3267 * sysdeps/unix/sparc/start.c: Delete file.
3268 * sysdeps/unix/start.c: Delete file.
3269
3270 * sysdeps/sh/elf/configure.in: Moved to ...
3271 * sysdeps/sh/configure.in: ... here.
3272 * sysdeps/sh/elf/start.S: Moved to ...
3273 * sysdeps/sh/start.S: ... here.
3274 * sysdeps/sh/elf/configure: Delete file.
3275
3276 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3277 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3278 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3279 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3280 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3281 * sysdeps/powerpc/powerpc64/start.S: here.
3282 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3283 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3284 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3285 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3286 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3287
3288 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3289 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3290 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3291 * sysdeps/powerpc/powerpc32/start.S: ... here.
3292 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3293 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3294 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3295
3296 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3297 * sysdeps/powerpc/ifunc-sel.h: ... here.
3298 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3299 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3300
3301 * sysdeps/sparc/elf/configure.in: Moved to ...
3302 * sysdeps/sparc/configure.in: ... here.
3303 * sysdeps/sparc/elf/configure: Delete file.
3304 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3305 * sysdeps/sparc/sparc32/start.S: ... here.
3306 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3307 * sysdeps/sparc/sparc64/start.S: ... here.
3308 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3309 * sysdeps/sparc/sparc32/Makefile: ... this.
3310 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3311 * sysdeps/sparc/sparc64/Makefile: ... this.
3312
3313 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3314 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3315 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3316 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3317 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3318 * sysdeps/s390/s390-32/setjmp.S: ... here.
3319 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3320 * sysdeps/s390/s390-32/configure.in: ... here.
3321 * sysdeps/s390/s390-32/elf/configure: Delete file.
3322 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3323 * sysdeps/s390/s390-32/start.S: ... here.
3324
3325 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3326 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3327 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3328 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3329 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3330 * sysdeps/s390/s390-64/setjmp.S: ... here.
3331 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3332 * sysdeps/s390/s390-64/configure.in: ... here
3333 * sysdeps/s390/s390-64/elf/configure: Delete file.
3334 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3335 * sysdeps/s390/s390-64/start.S: ... here.
3336 * sysdeps/s390/s390-64/elf/configure: Delete.
3337
3338 * configure.in: Remove support for elf directories in sysdeps.
3339
3340 * configure: Regenerated.
3341 * sysdeps/i386/configure: Regenerated.
3342 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3343 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3344 * sysdeps/s390/s390-32/configure: Regenerated.
3345 * sysdeps/s390/s390-64/configure: Regenerated.
3346 * sysdeps/sh/configure: Regenerated.
3347 * sysdeps/sparc/configure: Regenerated.
3348 * sysdeps/x86_64/configure: Regenerated.
3349
3350 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3351
3352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3353
3354 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3355 denormal result into account.
3356
3357 2012-03-25 Roland McGrath <roland@hack.frob.com>
3358
3359 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3360 Reported by Allan McRae <allan@archlinux.org>.
3361
3362 2012-03-23 Jeff Law <law@redhat.com>
3363
3364 * nss/getnssent.c (__nss_getent): Fix typo.
3365
3366 2012-03-23 David S. Miller <davem@davemloft.net>
3367
3368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3369
3370 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3371
3372 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3373 to pad to uint64_t for each field.
3374 (dl_tls_index): Replace unsigned long with uint64_t.
3375
3376 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3377 Paul Pluzhnikov <ppluzhnikov@google.com>
3378
3379 [BZ #6528]
3380 * grp/Makefile (otherlibs): Don't set it.
3381 * inet/Makefile (otherlibs): Likewise.
3382 * login/Makefile (otherlibs): Likewise.
3383 * nscd/Makefile (otherlibs): Likewise.
3384 * posix/Makefile (otherlibs): Likewise.
3385 * pwd/Makefile (otherlibs): Likewise.
3386 * rt/Makefile (otherlibs): Likewise.
3387 * sunrpc/Makefile (otherlibs): Likewise.
3388 * nss/Makefile (otherlibs): Likewise.
3389 Add libnss_files to routines and static-only-routines.
3390 ($(objpfx)getent): Remove rule.
3391 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3392 static-only-routines.
3393
3394 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3395
3396 [BZ #13892]
3397 * math/s_cexp.c: Include <float.h>.
3398 (__cexp): Handle exp result overflowing not necessarily
3399 overflowing both real and imaginary parts of result.
3400 * math/s_cexpf.c: Likewise.
3401 * math/s_cexpl.c: Likewise.
3402 * math/libm-test.inc (cexp_test): Add more tests.
3403 * sysdeps/i386/fpu/libm-test-ulps: Update.
3404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3405
3406 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3407
3408 * include/link.h (ELFW): New macro.
3409 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3410 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3411
3412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3413
3414 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3415 with uint64_t.
3416
3417 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3418
3419 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3420 declaration.
3421 (struct La_x32_retval): Likewise.
3422
3423 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3424
3425 * sysdeps/x86_64/preconfigure.in: New file.
3426 * sysdeps/x86_64/preconfigure: New generated file.
3427
3428 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3429
3430 [BZ #13824]
3431 * math/e_exp2l.c: Include <float.h>.
3432 (__ieee754_exp2l): Handle overflow and underflow cases
3433 separately. Only pass fractional part of argument to
3434 __ieee754_expl.
3435 * math/libm-test.inc (exp2_test): Add more tests.
3436
3437 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3438 negating x to take absolute value.
3439 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3440 Likewise.
3441 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3442 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3443 Likewise.
3444 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3445 computing low part if x was negated.
3446 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3447
3448 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3449
3450 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3451 la_x32_gnu_pltexit.
3452 (pltexit): Cast int_retval to ptrdiff_t.
3453 * elf/tst-auditmod3b.c: Likewise.
3454 * elf/tst-auditmod4b.c: Likewise.
3455 * elf/tst-auditmod5b.c: Likewise.
3456 * elf/tst-auditmod6b.c: Likewise.
3457 * elf/tst-auditmod6c.c: Likewise.
3458 * elf/tst-auditmod7b.c: Likewise.
3459
3460 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3461 and x32_gnu_pltexit.
3462
3463 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3464 __ELF_NATIVE_CLASS.
3465 (La_x32_regs): New macro.
3466 (La_x32_retval): Likewise.
3467 (la_x32_gnu_pltenter): New function prototype.
3468 (la_x32_gnu_pltexit): Likewise.
3469
3470 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3471
3472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3473 exponent.
3474
3475 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3476
3477 * configure.in (libc_cv_cc_nofma): Check for option to disable
3478 generation of FMA instructions.
3479 * configure: Regenerate.
3480 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3481 * sysdeps/ieee754/dbl-64/Makefile: New file.
3482 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3483 Remove brandred-fma4.
3484 (CFLAGS-brandred-fma4.c): Remove.
3485 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3486 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3487 define.
3488 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3489 define.
3490
3491 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3492
3493 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3494 LLONG_MAX != LONG_MAX.
3495 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3496 (_fitoa_word): Likewise.
3497 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3498 LLONG_MAX != LONG_MAX.
3499 * stdio-common/_itowa.h: Include <_itoa.h>.
3500 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3501 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3502 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3503 only if not defined.
3504 (_ITOA_WORD_TYPE): Likewise.
3505 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3506 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3507
3508 2012-03-21 David S. Miller <davem@davemloft.net>
3509
3510 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3511
3512 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3513
3514 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3515 of x86_64 when setting libc_cv_slibdir, libdir and
3516 libc_cv_localedir.
3517 * sysdeps/unix/sysv/linux/configure: Regenerated.
3518
3519 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3520
3521 * manual/lang.texi (Old Varargs): Remove section.
3522 (How Variadic): Update menu.
3523 (va_start): Do not mention varargs.h.
3524
3525 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3526 Joseph Myers <joseph@codesourcery.com>
3527
3528 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3529 link test.
3530 * configure: Regenerated.
3531
3532 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3533
3534 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3535 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3536 conformtest.pl
3537
3538 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3539
3540 * NOTES: Remove.
3541 * Makefile (files-for-dist): Remove NOTES.
3542 (NOTES): Remove rule.
3543 * README: Don't refer to NOTES.
3544 * manual/creature.texi: Don't include macros.texi.
3545 * manual/intro.texi (creature.texi): Remove comment referring to
3546 NOTES.
3547
3548 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3549 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3550 * configure: Regenerated.
3551 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3552 LIBC_TRY_CC_OPTION.
3553 (libc_cv_as_i686): Likewise.
3554 (libc_cv_cc_avx): Likewise.
3555 (libc_cv_cc_sse2avx): Likewise.
3556 (libc_cv_cc_fma4): Likewise.
3557 (libc_cv_cc_novzeroupper): Likewise.
3558 * sysdeps/i386/configure: Regenerated.
3559
3560 [BZ #13883]
3561 * sysdeps/i386/fpu/s_cexp.S: Remove.
3562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3563 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3564 * math/libm-test.inc (cexp_test): Add more tests.
3565 * sysdeps/i386/fpu/libm-test-ulps: Update.
3566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3567
3568 2012-03-21 Allan McRae <allan@archlinux.org>
3569
3570 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3571
3572 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3573
3574 [BZ #13871]
3575 * math/w_exp2.c: Do not include <float.h>.
3576 (o_threshold, u_threshold): Remove.
3577 (__exp2): Calculate result before checking finiteness and calling
3578 __kernel_standard.
3579 * math/w_exp2f.c: Likewise.
3580 * math/w_exp2l.c: Likewise.
3581 * math/libm-test.inc (exp2_test): Require overflow exception for
3582 1e6 input.
3583
3584 [BZ #3866]
3585 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3586 range of signed 64-bit integers before using fistpll. Remove
3587 checks for whether integers fit in mantissa bits.
3588 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3589 the range of signed 32-bit integers before using fistpl. Remove
3590 checks for whether integers fit in mantissa bits.
3591 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3592 (__ieee754_powl): Test for y outside the range of signed 64-bit
3593 integers before using fistpll. Reduce 64-bit values to 63-bit
3594 ones as needed.
3595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3596 divide-by-zero is raised for zero to large negative powers.
3597 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3598 (__ieee754_powl): Test for y outside the range of signed 64-bit
3599 integers before using fistpll. Reduce 64-bit values to 63-bit
3600 ones as needed.
3601 * math/libm-test.inc (pow_test): Add more tests.
3602
3603 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3604
3605 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3606 <stdio-common/_itoa.h>.
3607 * debug/segfault.c: Likewise.
3608 * elf/dl-cache.c: Likewise.
3609 * elf/dl-minimal.c: Likewise.
3610 * elf/dl-misc.c: Likewise.
3611 * elf/dl-sysdep.c: Likewise.
3612 * elf/dl-version.c: Likewise.
3613 * elf/rtld.c: Likewise.
3614 * hurd/hurdsock.c: Likewise.
3615 * hurd/lookup-retry.c: Likewise.
3616 * malloc/malloc.c: Likewise.
3617 * malloc/mtrace.c: Likewise.
3618 * nscd/nscd_getgr_r.c: Likewise.
3619 * nscd/nscd_getpw_r.c: Likewise.
3620 * nscd/nscd_getserv_r.c: Likewise.
3621 * posix/getopt_init.c: Likewise.
3622 * posix/wordexp.c: Likewise.
3623 * stdio-common/_itoa.c: Likewise.
3624 * stdio-common/printf_fphex.c: Likewise.
3625 * stdio-common/vfprintf.c: Likewise.
3626 * string/_strerror.c: Likewise.
3627 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3628 * sysdeps/i386/i686/hp-timing.h: Likewise.
3629 * sysdeps/mach/_strerror.c: Likewise.
3630 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3631 * sysdeps/mach/hurd/sethostid.c: Likewise.
3632 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3633 * sysdeps/mach/xpg-strerror.c: Likewise.
3634 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3635 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3636 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3637 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3638 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3639 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3640 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3641 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3642 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3643 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3644 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3645 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3647 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3648 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3649 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3650 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3651 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3652 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3653 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3654 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3655
3656 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3657
3658 * stdio-common/_itoa.h: Moved to ...
3659 * sysdeps/generic/_itoa.h: Here.
3660
3661 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3662
3663 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3664 instead of "_itoa.h" and "_itowa.h".
3665 * stdio-common/vfprintf.: Likewise.
3666
3667 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3668
3669 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3670 <bits/wordsize.h>.
3671 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3672 (__signbit): Likwise.
3673 (llrintf): Likwise.
3674 (llrint): Likwise.
3675
3676 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3677
3678 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3679 __WORDSIZE != 64.
3680
3681 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3682
3683 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3684 OVERFLOW_EXCEPTION_OK.
3685 * math/libm-test.inc ("Philosophy"): Update comment about
3686 exception testing.
3687 (OVERFLOW_EXCEPTION): Define.
3688 (OVERFLOW_EXCEPTION_OK): Likewise.
3689 (INVALID_EXCEPTION_OK): Renumber.
3690 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3691 (IGNORE_ZERO_INF_SIGN): Likewise.
3692 (test_exceptions): Handle FE_OVERFLOW.
3693 (exp10_test): Expect overflow exceptions.
3694 (exp2_test): Likewise.
3695 (expm1_test): Likewise.
3696 (nextafter_test): Likewise.
3697 (pow_test): Likewise.
3698 (scalbn_test): Likewise.
3699 (scalbln_test): Likewise.
3700
3701 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3702
3703 * sysdeps/x86_64/bits/atomic.h
3704 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3705 64bit integer.
3706 (atomic_exchange_acq): Likewise.
3707 (__arch_exchange_and_add_body): Likewise.
3708 (__arch_add_body): Likewise.
3709 (atomic_add_negative): Likewise.
3710 (atomic_add_zero): Likewise.
3711
3712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3713
3714 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3715 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3716
3717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3718
3719 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3720 Check __x86_64__ instead of __WORDSIZE.
3721
3722 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3723
3724 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3725
3726 2012-03-19 David S. Miller <davem@davemloft.net>
3727
3728 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3729
3730 * sysdeps/sparc/fpu/fenv_private.h: New file.
3731 * sysdeps/sparc/fpu/math_private.h: Use it.
3732 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3733 Remove.
3734 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3735 (libc_feholdexcept_setroundl): Remove.
3736 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3737 Remove.
3738 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3739 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3740
3741 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3742
3743 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3744 int64_t instead of long int.
3745 (INSERT_WORDS64): Likwise.
3746
3747 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3748
3749 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3750 _Unwind_GetCFA return to _Unwind_Ptr first.
3751
3752 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3753
3754 [BZ #13629]
3755 * math/s_clog.c: Include <float.h>.
3756 (__clog): Scale large or subnormal inputs.
3757 * math/s_clogf.c: Likewise.
3758 * math/s_clogl.c: Likewise.
3759 * math/s_clog10.c: Include <float.h>.
3760 (M_LOG10_2): Define.
3761 (__clog10): Scale large or subnormal inputs.
3762 * math/s_clog10f.c: Likewise.
3763 * math/s_clog10l.c: Likewise.
3764 * math/libm-test.inc (clog_test): Add more tests.
3765 (clog10_test): Likewise.
3766 * sysdeps/i386/fpu/libm-test-ulps: Update.
3767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768
3769 [BZ #11451]
3770 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3771 x and y.
3772 * math/libm-test.inc (atan2_test): Add another test.
3773
3774 * Makerules (common-objdir-compile): Remove.
3775 * sysdeps/unix/Makefile (config-generated): Do not add
3776 $(unix-generated) to variable.
3777 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3778 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3779 Remove rule.
3780 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3781 Likewise.
3782 [generic bits/local_lim.h] (before-compile): Do not append to
3783 variable.
3784 [generic bits/local_lim.h] (common-generated): Likewise.
3785 [generic sys/param.h] (before-compile): Do not append to variable.
3786 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3787 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3788 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3789 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3790 include.
3791 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3792 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3793 [generic sys/param.h] ($(addprefix
3794 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3795 [generic sys/param.h] (common-generated): Do not append to
3796 variable.
3797 [generic sys/param.h] (sysdep_headers): Likewise.
3798 [generic bits/errno.h] (before-compile): Do not append to
3799 variable.
3800 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3801 rule.
3802 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3803 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3804 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3805 [generic bits/errno.h] (common-generated): Do not append to
3806 variable.
3807 [generic bits/ioctls.h] (before-compile): Do not append to
3808 variable.
3809 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3810 rule.
3811 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3812 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3813 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3814 rule.
3815 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3816 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3817 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3818 [generic bits/ioctls.h] (common-generated): Do not append to
3819 variable.
3820 [generic sys/syscall.h] (syscall.h): Remove variable.
3821 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3822 rule.
3823 [generic sys/syscall.h] (before-compile): Do not append to
3824 variable.
3825 [generic sys/syscall.h] (common-generated): Likewise.
3826 * sysdeps/unix/errnos-tmpl.c: Remove file.
3827 * sysdeps/unix/errnos.awk: Likewise.
3828 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3829 * sysdeps/unix/ioctls.awk: Likewise.
3830 * sysdeps/unix/mk-local_lim.c: Likewise.
3831 * sysdeps/unix/snarf-ioctls: Likewise.
3832
3833 2012-03-19 Richard Henderson <rth@twiddle.net>
3834
3835 * sysdeps/i386/fpu/fenv_private.h: New file.
3836 * sysdeps/i386/fpu/math_private.h: Use it.
3837 (math_opt_barrier, math_force_eval): Remove.
3838 (libc_feholdexcept_setround_53bit): Remove.
3839 (libc_feupdateenv_53bit): Remove.
3840 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3841 (math_opt_barrier, math_force_eval): Remove.
3842 (libc_feholdexcept): Remove.
3843 (libc_feholdexcept_setround): Remove.
3844 (libc_fetestexcept, libc_fesetenv): Remove.
3845 (libc_feupdateenv_test): Remove.
3846 (libc_feupdateenv, libc_feholdsetround): Remove.
3847 (libc_feresetround): Remove.
3848
3849 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3850 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3851
3852 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3853 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3854 (libc_feupdateenv_testl): New.
3855 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3856 (libc_feupdateenv_testf): New.
3857 (libc_feupdateenv): Use libc_feupdateenv_test.
3858 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3859 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3860
3861 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3862 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3863 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3864 (libc_feresetround_noex): New.
3865 (libc_feresetround_noexf): New.
3866 (libc_feresetround_noexl): New.
3867 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3868 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3869 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3870 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3871 SET_RESTORE_ROUND.
3872 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3873 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3874 (__cos): Likewise.
3875 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3876 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3877 SET_RESTORE_ROUND_NOEX.
3878 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3879 SET_RESTORE_ROUND_NOEXF.
3880 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3881 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3882 (libc_feholdsetroundf): New.
3883 (libc_feresetround, libc_feresetroundf): New.
3884
3885 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3886 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3887 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3888
3889 * sysdeps/generic/math_private.h: Include <fenv.h>.
3890 (default_libc_feholdexcept): New.
3891 (default_libc_feholdexcept_setround): New.
3892 (default_libc_fesetenv, default_libc_feupdateenv): New.
3893 (libc_feholdexcept): Only define if undefined.
3894 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3895 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3896 (libc_feholdexcept_setroundl): Likewise.
3897 (libc_feholdexcept_setround_53bit): Likewise.
3898 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3899 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3900 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3901 (libc_feupdateenv_53bit): Likewise.
3902 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3903 (libc_feholdexcept): Convert from macro to inline function.
3904 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3905 (libc_fesetenv, libc_feupdateenv): Likewise.
3906
3907 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3908 not previously defined.
3909 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3910 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3911 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3913 * sysdeps/ieee754/flt-32/math_private.h: New file.
3914 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3915 math_private.h below SET_FLOAT_WORD.
3916 (__isnan, __isinf_ns, __finite): Remove.
3917 (__isnanf, __isinf_nsf, __finitef): Remove.
3918
3919 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3920
3921 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3922
3923 2012-03-17 David S. Miller <davem@davemloft.net>
3924
3925 [BZ #6471]
3926 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3927 for 2.16.
3928
3929 2012-03-16 David S. Miller <davem@davemloft.net>
3930
3931 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3932 warnings.
3933
3934 [BZ #6471]
3935 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3936 properly.
3937 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3938 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3939 sysdep_routines when subdir is sysvipc.
3940 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3941 __getshmlba helper.
3942
3943 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3944
3945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3946
3947 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3948 [__LP64__].
3949
3950 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3951
3952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3953 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3954 (__lround): Renamed to ...
3955 (__llround): This. Replace long int with long long int.
3956 Define lround functions as aliases of llround functions.
3957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3958
3959 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3960
3961 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3962 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3963 adresses to uintptr_t. Replace "long int" and "unsigned long
3964 int" with "greg_t" on va_arg.
3965
3966 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3967
3968 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3969 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3970
3971 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3972 Move e_machine check before EI_CLASS check. Handle x32
3973 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3974 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3975 SKIP_EM_IA_64 and include
3976 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3977
3978 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3979 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3980 (add_system_dir): New macro.
3981
3982 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3983 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3984
3985 2012-03-16 Joseph Myers <joseph@codesourcery.com>
3986
3987 [BZ #2551]
3988 [BZ #2552]
3989 [BZ #2553]
3990 [BZ #2554]
3991 [BZ #2562]
3992 [BZ #2563]
3993 [BZ #2565]
3994 [BZ #2566]
3995 [BZ #2576]
3996 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3997 (y0): Likewise.
3998 * math/w_j0f.c (j0f): Likewise.
3999 (y0f): Likewise.
4000 * math/w_j0l.c (__j0l): Likewise.
4001 (__y0l): Likewise.
4002 * math/w_j1.c (j1): Likewise.
4003 (y1): Likewise.
4004 * math/w_j1f.c (j1f): Likewise.
4005 (y1f): Likewise.
4006 * math/w_j1l.c (__j1l): Likewise.
4007 (__y1l): Likewise.
4008 * math/w_jn.c (jn): Likewise.
4009 (yn): Likewise.
4010 * math/w_jnf.c (jnf): Likewise.
4011 (ynf): Likewise.
4012 * math/w_jnl.c (__jnl): Likewise.
4013 (__ynl): Likewise.
4014 * math/libm-test.inc (j0_test): Add more tests.
4015 (j1_test): Likewise.
4016 (jn_test): Likewise. Add trailing semicolon to existing test.
4017 (y0_test): Likewise.
4018 (y1_test): Likewise.
4019 * sysdeps/i386/fpu/libm-test-ulps: Update.
4020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4021
4022 [BZ #13851]
4023 [BZ #13854]
4024 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4025 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4026 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4027 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4028 (__tanl): Set errno for infinite argument.
4029 * sysdeps/i386/fpu/mptan.c: Remove.
4030 * sysdeps/i386/fpu/s_tan.S: Likewise.
4031 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4032 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4033 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4034 * math/libm-test.inc (tan_test): Add more tests and enable more
4035 tests for double and long double.
4036 * sysdeps/i386/fpu/libm-test-ulps: Update.
4037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4038
4039 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4040
4041 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4042 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4043
4044 2012-03-16 Roland McGrath <roland@hack.frob.com>
4045
4046 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4047 * configure.in: Use it for both main tree and add-ons.
4048 * configure: Regenerated.
4049
4050 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4051
4052 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4053
4054 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4055
4056 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4057 in comment.
4058
4059 [BZ #13851]
4060 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4061 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4062 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4063 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4064 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4065 infinite argument.
4066 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4067 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4068 != 0 for prec == 2.
4069 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4070 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4071 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4072 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4073 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4074 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4075 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4076 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4077 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4078 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4079 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4080 * math/libm-test.inc (cos_test): Add more tests and enable more
4081 tests for long double.
4082 (sin_test): Likewise.
4083 (sincos_test): Likewise.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086
4087 2012-03-16 David S. Miller <davem@davemloft.net>
4088
4089 * sysdeps/sparc/fpu/math_private.h: New file.
4090
4091 2012-03-15 David S. Miller <davem@davemloft.net>
4092
4093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4094 file.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4097 file.
4098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4100 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4101 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4103 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4104 sysdep routines.
4105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4106
4107 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4108 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4109
4110 * sysdeps/sparc/sparc-ifunc.h: New file.
4111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4112 sparc-ifunc.h
4113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4115 Likewise.
4116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4117 Likewise.
4118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4122 Likewise.
4123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4128 Likewise.
4129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4130 Likewise.
4131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4135 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4137 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4138 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4139 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4140 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4141 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4142 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4143 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4144 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4145 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4146 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4151 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4152 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4153 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4154 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4155
4156 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4157
4158 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4159 scaling.
4160 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4161
4162 2012-03-15 Andreas Jaeger <aj@suse.de>
4163
4164 [BZ #13852]
4165 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4166 ieee754/flt-32 implementation for sin, cos and sincos.
4167 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4168 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4169 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4170 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4171 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4172 ieee754/flt-32 implementation for tan.
4173
4174 * math/libm-test.inc (cos_test): Enable some large input tests for
4175 float as well
4176 (sin_test): Likewise.
4177 (sincos_test): Likewise.
4178 (tan_test): Add tests for large input.
4179
4180 * sysdeps/i386/fpu/libm-test-ulps: Update.
4181
4182 2012-03-15 Andreas Jaeger <aj@suse.de>
4183
4184 [BZ #13658]
4185 * math/libm-test.inc (cos_test): Add more test cases.
4186 (sin_test): Likewise.
4187 (sincos_test): Likewise.
4188
4189 2012-03-15 Andreas Jaeger <aj@suse.de>
4190
4191 [BZ #13837]
4192 * math/libm-test.inc (cos_test): Add a test case for large input
4193 value.
4194 (sin_test): Likewise.
4195 (sincos_test): Likewise.
4196
4197 2012-03-15 Andreas Jaeger <aj@suse.de>,
4198 Joseph Myers <joseph@codesourcery.com>
4199
4200 [BZ #13658]
4201 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4202 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4203 * sysdeps/i386/fpu/branred.c: Likewise.
4204 * sysdeps/i386/fpu/dosincos.c: Likewise.
4205 * sysdeps/i386/fpu/mpa.c: Likewise.
4206 * sysdeps/i386/fpu/s_cos.S: Likewise.
4207 * sysdeps/i386/fpu/s_sin.S: Likewise.
4208 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4209 * sysdeps/i386/fpu/sincos32.c: Likewise.
4210
4211 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4212 Define.
4213 (libc_feupdateenv_53bit): Define.
4214 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4215 Define.
4216 (libc_feupdateenv_53bit): Define.
4217
4218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4219 53 bit (without extend i386 double precision).
4220
4221 * math/libm-test.inc (sincos_test): Add tests for large input.
4222 (sin): Likewise.
4223 (cos): Likewise.
4224
4225 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4226
4227 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4228
4229 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4230
4231 2012-03-15 David S. Miller <davem@davemloft.net>
4232
4233 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4243 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4244 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4249 file.
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4252 file.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4255 file.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4258 file.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4260 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4261 fmin/fmax sysdep routines.
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4263
4264 2012-03-14 David S. Miller <davem@davemloft.net>
4265
4266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4268 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4269 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4270 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4271 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4272 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4273 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4274 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4275 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4276 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4277 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4281 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4282 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4286 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4287 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4288 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4289 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4290 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4291 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4295 routines.
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4297 file.
4298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4300 file.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4303 file.
4304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4306 file.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4309 file.
4310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4312 file.
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4314 file.
4315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4316 file.
4317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4318 file.
4319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4320 New file.
4321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4322 file.
4323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4324 file.
4325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4327 file.
4328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4330 file.
4331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4333 file.
4334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4336 VIS3 routines.
4337
4338 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4339 New file.
4340
4341 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4342
4343 * sysdeps/sparc/configure.in: New file.
4344 * sysdeps/sparc/configure: Generate.
4345 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4346 * configure: Regenerate.
4347 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4348 * config.make.in (have-as-vis3): New.
4349 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4350 available use -Av9d instead of -Av9a.
4351 * sysdeps/sparc/sparc64/Makefile: Likewise.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4354 New file.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4356 file.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4358 New file.
4359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4360 file.
4361 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4362 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4363 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4364 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4365 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4366
4367 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4368 fzeros/fnegs to load 0x80000000 into a float register instead of
4369 using the stack.
4370 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4371
4372 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4373
4374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4375 bits/syscall.h.
4376 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4377 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4378 ($(inst_includedir)/bits/syscall.h): Remove rule.
4379 ($(objpfx)bits/syscall.d): Include instead of
4380 $(objpfx)syscall-list.d.
4381 (generated): Change syscall-list.h and syscall-list.d to
4382 bits/syscall.h and bits/syscall.d.
4383
4384 2012-03-14 Roland McGrath <roland@hack.frob.com>
4385
4386 [BZ #13846]
4387 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4388
4389 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4390
4391 [BZ #13841]
4392 * math/s_csqrt.c: Include <float.h>.
4393 (__csqrt): Scale large or subnormal inputs.
4394 * math/s_csqrtf.c: Likewise.
4395 * math/s_csqrtl.c: Likewise.
4396 * math/libm-test.inc (csqrt_test): Add more tests.
4397 * sysdeps/i386/fpu/libm-test-ulps: Update.
4398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4399
4400 [BZ #13840]
4401 * math/libm-test.inc (hypot_test): Add more tests.
4402
4403 2012-03-13 David S. Miller <davem@davemloft.net>
4404
4405 [BZ #13840]
4406 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4407 double-precision for the calculation instead of scaling.
4408
4409 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4410
4411 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4412 manipulate bits before adding and subtracting TWO52[sx].
4413 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4415 Likewise.
4416 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4417
4418 2012-03-13 David S. Miller <davem@davemloft.net>
4419
4420 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4421 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4423 rtld-global-offsets.h
4424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4425
4426 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4427 large parameters.
4428
4429 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4430
4431 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4432 'err' in the ifdef scope in which it is actually used.
4433
4434 * nss/nss_db/db-init.c: Include string.h
4435
4436 2012-03-12 David S. Miller <davem@davemloft.net>
4437
4438 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4439 masking out of the most significant byte of random value used.
4440 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4441 Fix coding style in previous change.
4442
4443 * sysdeps/unix/sysv/linux/kernel-features.h
4444 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4445 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4446 expression.
4447 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4448 later.
4449
4450 2012-03-11 David S. Miller <davem@davemloft.net>
4451
4452 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4453 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4454 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4455 for 'resultvar' otherwise things get truncated on 64-bit.
4456
4457 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4458 Fix masking out of the most significant byte of random value used.
4459
4460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4461
4462 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4463
4464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4465
4466 2012-03-09 David S. Miller <davem@davemloft.net>
4467
4468 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4469 variables with appropriate CPP guards.
4470 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4471 frame pointer, not the stack pointer. Correct layout comments. Fix test
4472 on resulting framesize and the management of the outregs buffer for pltexit.
4473 Preserve floating point return values across _dl_call_pltexit call.
4474 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4475 framesize and the management of the outregs buffer for pltexit.
4476 Preserve floating point return values across _dl_call_pltexit
4477 call.
4478 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4479 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4480 (print_exit): Fix format string for return register value.
4481
4482 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4483
4484 * sunrpc/Makefile (others): Add rpcgen.
4485 ($(objpfx)rpcgen): Remove special build rule and dependency on
4486 libc.
4487 * sunrpc/rpcgen.c: New file.
4488
4489 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4490
4491 [BZ #13673]
4492 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4493 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4494 * sysdeps/i386/crti.S: Likewise.
4495 * sysdeps/i386/crtn.S: Likewise.
4496 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4497 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4498 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4499 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4500 * sysdeps/sh/crti.S: Likewise.
4501 * sysdeps/sh/crtn.S: Likewise.
4502 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4503
4504 [BZ #13673]
4505 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4506 with URL.
4507 * locale/programs/locfile-kw.gperf: Likewise.
4508 * locale/programs/charmap-kw.h: Regenerated.
4509 * locale/programs/locfile-kw.h: Likewise.
4510
4511 [BZ #13673]
4512 * intl/plural.y: Replace FSF snail mail address with URL.
4513 * intl/plural.c: Regenerated.
4514
4515 2012-03-09 Richard Henderson <rth@twiddle.net>
4516
4517 * include/math_private.h: Remove file.
4518 * math/math_private.h: Move file ...
4519 * sysdeps/generic/math_private.h: ... here.
4520
4521 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4522 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4523 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4524
4525 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4526 and <math_private.h>.
4527 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4528 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4529 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4530 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4531 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4566 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4567 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4571 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4573 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4574 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4575 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4577 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4578 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4579 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4580 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4581 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4582 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4584 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4585 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4594 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4598 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4600 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4602 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4606 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4615 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4618 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4619 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4621 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4622 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4623 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4624 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4625 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4626 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4627 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4628 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4629 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4630 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4631 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4632 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4633 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4634 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4635 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4636 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4637 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4638 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4639 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4640 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4641 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4642 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4643 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4644 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4645 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4646 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4647 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4648 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4649 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4650 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4651 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4652 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4654 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4655 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4656 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4657 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4659 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4661 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4662 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4663 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4664 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4665 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4666 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4667 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4668 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4669 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4670 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4671 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4672 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4673 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4674 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4675 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4676 * sysdeps/ieee754/k_standard.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4792 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4796 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4797 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4799 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4804 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4809 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4825 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4826 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4827 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4833 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4837 * sysdeps/ieee754/s_lib_version.c: Likewise.
4838 * sysdeps/ieee754/s_matherr.c: Likewise.
4839 * sysdeps/ieee754/s_signgam.c: Likewise.
4840 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4841 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4842 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4843 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4844 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4845 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4846 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4847 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4848 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4849 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4850 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4851 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4852 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4853 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4854 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4855 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4856 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4857 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4858 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4859 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4860 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4861
4862 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4863
4864 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4865 * sunrpc/rpc_main.c: Likewise.
4866 * sunrpc/rpc_svcout.c: Likewise.
4867
4868 2012-03-09 David S. Miller <davem@davemloft.net>
4869
4870 * include/math_private.h: New file.
4871
4872 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4873
4874 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4875 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4876 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4877 from <bits/socket_type.h>.
4878 (enum __socket_type): Don't define here.
4879 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4880 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4881 bits/socket_type.h.
4882
4883 [BZ #13566]
4884 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4885 checking __USE_GNU.
4886
4887 * Makerules ($(inst_includedir)/%.h): New rule.
4888 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4889 (install-others): Remove variable setting.
4890 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4891
4892 2012-03-08 Richard Henderson <rth@twiddle.net>
4893
4894 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4895 from macro to inline function; merge with the
4896 !__LIBC_INTERNAL_MATH_INLINES version.
4897 (__ieee754_sqrtf): Likewise.
4898
4899 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4900 to inline function.
4901 (__rintf, __floor, __floorf): Likewise.
4902
4903 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4904 macro to inline function.
4905 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4906
4907 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4908 not <math/math_private.h>.
4909
4910 2012-03-08 David S. Miller <davem@davemloft.net>
4911
4912 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4913 copyright year.
4914 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4915
4916 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4917
4918 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4919 normalization.
4920 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4921 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4922
4923 2012-03-08 Ulrich Drepper <drepper@gmail.com>
4924
4925 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4926 be defined individually, they must be defined as a block. Define
4927 S for printing a string instead of hidint the different by using a
4928 macro for adding the 'l'.
4929 * stdio-common/tst-fphex-wide.c: Adjust.
4930
4931 2012-03-07 Marek Polacek <polacek@redhat.com>
4932
4933 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4934
4935 2012-03-08 Marek Polacek <polacek@redhat.com>
4936
4937 [BZ #13806]
4938 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4939 * stdio-common/tst-fphex.c: Define a few macros to make the
4940 test reusable. Use them.
4941 * stdio-common/tst-fphex-wide.c: New file.
4942
4943 2012-03-08 Joseph Myers <joseph@codesourcery.com>
4944
4945 [BZ #6911]
4946 * manual/macros.texi (gnusystems): New macro.
4947 (nongnusystems): Likewise.
4948 (gnulinuxhurdsystems): Likewise.
4949 (gnuhurdsystems): Likewise..
4950 (gnulinuxsystems): Likewise.
4951 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4952 variants of the GNU system, not "GNU system".
4953 * manual/conf.texi: Likewise.
4954 * manual/errno.texi: Likewise. Update example of errno macro
4955 expansion.
4956 * manual/filesys.texi: Likewise.
4957 (getumask): Document as specific to GNU/Hurd.
4958 * manual/install.texi: Likewise. Reword some references to
4959 GNU/Linux.
4960 * manual/intro.texi: Likewise.
4961 * manual/io.texi: Likewise.
4962 (File Name Portability): Detail which constraints are inapplicable
4963 to all GNU systems and which are only inapplicable to GNU/Hurd.
4964 * manual/job.texi: Likewise.
4965 * manual/llio.texi: Likewise.
4966 (O_NOCTTY): Document as present on GNU/Linux.
4967 * manual/maint.texi: Likewise.
4968 * manual/memory.texi: Likewise.
4969 * manual/pattern.texi: Likewise.
4970 * manual/pipe.texi: Likewise.
4971 * manual/process.texi: Likewise.
4972 * manual/resource.texi: Likewise.
4973 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4974 child on GNU/Hurd.
4975 * manual/setjmp.texi: Likewise.
4976 * manual/signal.texi: Likewise.
4977 * manual/startup.texi: Likewise.
4978 * manual/stdio.texi: Likewise.
4979 * manual/terminal.texi: Likewise.
4980 (ONLCR): Document as POSIX.
4981 (OXTABS): Document availability on GNU/Linux as XTABS.
4982 (ONOEOT): Document availability separately from other bits.
4983 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4984 * manual/time.texi: Likewise.
4985 * manual/users.texi: Likewise.
4986 * INSTALL: Regenerated.
4987 * sysdeps/gnu/errlist.c: Regenerated.
4988
4989 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4990 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4991 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4992 puts.
4993 * configure: Regenerated.
4994
4995 2012-03-07 Joseph Myers <joseph@codesourcery.com>
4996
4997 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4998 default includes instead of AC_HEADER_CHECK.
4999 * sysdeps/i386/configure: Regenerated.
5000
5001 [BZ #10716]
5002 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5003 * math/s_cacoshf.c (__cacoshf): Likewise.
5004 * math/s_cacoshl.c (__cacoshl): Likewise.
5005 * math/s_casinh.c (__casinh): Set signs of result from argument.
5006 * math/s_casinhf.c (__casinhf): Likewise.
5007 * math/s_casinhl.c (__casinhl): Likewise.
5008 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5009 (casinh_test): Add more tests.
5010 * sysdeps/i386/fpu/libm-test-ulps: Update.
5011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5012
5013 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5014
5015 * po/zh_TW.po: Update from translation team.
5016
5017 * login/Makefile (distribute): Remove variable.
5018 * catgets/Makefile: Likewise.
5019 * mach/Makefile: Likewise.
5020 * malloc/Makefile: Likewise.
5021 * misc/Makefile: Likewise.
5022 * iconv/Makefile: Likewise.
5023 * nscd/Makefile: Likewise.
5024 * hurd/Makefile: Likewise.
5025 * manual/Makefile: Likewise.
5026 * locale/Makefile: Likewise.
5027 * intl/Makefile: Likewise.
5028 * conform/Makefile: Likewise.
5029 * nss/Makefile: Likewise.
5030 * time/Makefile: Likewise.
5031 * soft-fp/Makefile: Likewise.
5032 * dirent/Makefile: Likewise.
5033 * gmon/Makefile: Likewise.
5034 * po/Makefile: Likewise.
5035 * rt/Makefile: Likewise.
5036 * socket/Makefile: Likewise.
5037 * math/Makefile: Likewise.
5038 * signal/Makefile: Likewise.
5039 * debug/Makefile: Likewise.
5040 * elf/Makefile: Likewise.
5041 * timezone/Makefile: Likewise.
5042 * stdlib/Makefile: Likewise.
5043 * iconvdata/Makefile: Likewise.
5044 * sunrpc/Makefile: Likewise.
5045 * io/Makefile: Likewise.
5046 * argp/Makefile: Likewise.
5047 * inet/Makefile: Likewise.
5048 * hesiod/Makefile: Likewise.
5049 * grp/Makefile: Likewise.
5050 * csu/Makefile: Likewise.
5051 * wctype/Makefile: Likewise.
5052 * crypt/Makefile: Likewise.
5053 * libio/Makefile: Likewise.
5054 * string/Makefile: Likewise.
5055 * nis/Makefile: Likewise.
5056 * resolv/Makefile: Likewise.
5057 * stdio-common/Makefile: Likewise.
5058 * wcsmbs/Makefile: Likewise.
5059 * dlfcn/Makefile: Likewise.
5060 * posix/Makefile: Likewise.
5061
5062 [BZ #6959]
5063 * timezone/Makefile: Don't install timezone files, just the programs
5064 and scripts.
5065
5066 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5067
5068 * nss/databases.def: Add missing gshadow entry.
5069
5070 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5071
5072 2012-03-06 Marek Polacek <polacek@redhat.com>
5073
5074 [BZ #13726]
5075 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5076 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5077 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5078 * stdio-common/tst-long-dbl-fphex.c: New file.
5079
5080 2012-03-06 David S. Miller <davem@davemloft.net>
5081
5082 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5083 (set_obp_int): New function.
5084 (get_obp_int): New function.
5085 (__get_clockfreq_via_dev_openprom): Likewise.
5086 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5087 Avoid unused variable warnings on 'val' and use builtin_expect.
5088 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5089 __builtin_expect.
5090 (INLINE_CLONE_SYSCALL): Likewise.
5091
5092 2012-03-05 David S. Miller <davem@davemloft.net>
5093
5094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5095
5096 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5097
5098 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5099
5100 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5101 only for |x| >= 40.
5102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5103
5104 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5105
5106 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5107 Replace gettimeofday with __vdso_gettimeofday.
5108
5109 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5110 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5111 __vdso_clock_gettime and __vdso_getcpu.
5112
5113 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5114 time with __vdso_time.
5115
5116 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5117
5118 * manual/lang.texi (size_t): Note types to which size_t may be
5119 equivalent with the GNU C Library, but do not describe when
5120 differences between them are significant.
5121
5122 2012-03-05 Andreas Jaeger <aj@suse.de>
5123
5124 * sysdeps/i386/fpu/libm-test-ulps: Update.
5125
5126 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5127
5128 [BZ #3976]
5129 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5130 (__ieee754_pow): Save and restore rounding mode and use
5131 round-to-nearest for main computations.
5132 * math/libm-test.inc (pow_test_tonearest): New function.
5133 (pow_test_towardzero): Likewise.
5134 (pow_test_downward): Likewise.
5135 (pow_test_upward): Likewise.
5136 (main): Call the new functions.
5137 * sysdeps/i386/fpu/libm-test-ulps: Update.
5138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5139
5140 [BZ #3976]
5141 * math/libm-test.inc (cosh_test_tonearest): New function.
5142 (cosh_test_towardzero): Likewise.
5143 (cosh_test_downward): Likewise.
5144 (cosh_test_upward): Likewise.
5145 (sinh_test_tonearest): Likewise.
5146 (sinh_test_towardzero): Likewise.
5147 (sinh_test_downward): Likewise.
5148 (sinh_test_upward): Likewise.
5149 (main): Call the new functions.
5150 * sysdeps/i386/fpu/libm-test-ulps: Update.
5151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5152
5153 2012-03-05 Tom de Vries <tom@codesourcery.com>
5154
5155 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5156 default stack guard is set in last bytes.
5157 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5158
5159 2012-03-05 Kees Cook <keescook@chromium.org>
5160
5161 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5162
5163 [BZ #13656]
5164 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5165 possibly allocate from heap instead of stack.
5166 * stdio-common/bug-vfprintf-nargs.c: New file.
5167 * stdio-common/Makefile (tests): Add nargs overflow test.
5168
5169 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5170
5171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5172
5173 2012-03-03 Marek Polacek <polacek@redhat.com>
5174
5175 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5176 * math/math_private.h: Likewise.
5177 * stdlib/tst-strtod.c: Likewise.
5178 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5179 * sysdeps/x86_64/bits/atomic.h: Likewise.
5180
5181 2012-03-02 David S. Miller <davem@davemloft.net>
5182
5183 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5184 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5187 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5188 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5189 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5190 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5191
5192 2012-03-02 Roland McGrath <roland@hack.frob.com>
5193
5194 [BZ #13792]
5195 * manual/examples/README: New file, says the example source files
5196 can be used under GPL>=2.
5197 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5198 line containing just "*/".
5199 * manual/examples/add.c: Add copyright header (GPL>=2).
5200 * manual/examples/argp-ex1.c: Likewise.
5201 * manual/examples/argp-ex2.c: Likewise.
5202 * manual/examples/argp-ex3.c: Likewise.
5203 * manual/examples/argp-ex4.c: Likewise.
5204 * manual/examples/atexit.c: Likewise.
5205 * manual/examples/db.c: Likewise.
5206 * manual/examples/dir.c: Likewise.
5207 * manual/examples/dir2.c: Likewise.
5208 * manual/examples/execinfo.c: Likewise.
5209 * manual/examples/filecli.c: Likewise.
5210 * manual/examples/filesrv.c: Likewise.
5211 * manual/examples/fmtmsgexpl.c: Likewise.
5212 * manual/examples/genpass.c: Likewise.
5213 * manual/examples/inetcli.c: Likewise.
5214 * manual/examples/inetsrv.c: Likewise.
5215 * manual/examples/isockad.c: Likewise.
5216 * manual/examples/longopt.c: Likewise.
5217 * manual/examples/memopen.c: Likewise.
5218 * manual/examples/memstrm.c: Likewise.
5219 * manual/examples/mkfsock.c: Likewise.
5220 * manual/examples/mkisock.c: Likewise.
5221 * manual/examples/mygetpass.c: Likewise.
5222 * manual/examples/pipe.c: Likewise.
5223 * manual/examples/popen.c: Likewise.
5224 * manual/examples/rprintf.c: Likewise.
5225 * manual/examples/search.c: Likewise.
5226 * manual/examples/select.c: Likewise.
5227 * manual/examples/setjmp.c: Likewise.
5228 * manual/examples/sigh1.c: Likewise.
5229 * manual/examples/sigusr.c: Likewise.
5230 * manual/examples/stpcpy.c: Likewise.
5231 * manual/examples/strdupa.c: Likewise.
5232 * manual/examples/strftim.c: Likewise.
5233 * manual/examples/strncat.c: Likewise.
5234 * manual/examples/subopt.c: Likewise.
5235 * manual/examples/swapcontext.c: Likewise.
5236 * manual/examples/termios.c: Likewise.
5237 * manual/examples/testopt.c: Likewise.
5238 * manual/examples/testpass.c: Likewise.
5239 * manual/examples/timeval_subtract.c: Likewise.
5240
5241 [BZ #13792]
5242 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5243 function to ...
5244 * manual/timeval_subtract.c.texi: ... here, new file.
5245
5246 2012-03-02 David S. Miller <davem@davemloft.net>
5247
5248 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5249
5250 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5251
5252 [BZ #3976]
5253 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5254 (__sin): Save and restore rounding mode and use round-to-nearest
5255 for all computations.
5256 (__cos): Save and restore rounding mode and use round-to-nearest
5257 for all computations.
5258 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5259 <fenv.h>.
5260 (tan): Save and restore rounding mode and use round-to-nearest for
5261 all computations.
5262 * math/libm-test.inc (cos_test_tonearest): New function.
5263 (cos_test_towardzero): Likewise.
5264 (cos_test_downward): Likewise.
5265 (cos_test_upward): Likewise.
5266 (sin_test_tonearest): Likewise.
5267 (sin_test_towardzero): Likewise.
5268 (sin_test_downward): Likewise.
5269 (sin_test_upward): Likewise.
5270 (tan_test_tonearest): Likewise.
5271 (tan_test_towardzero): Likewise.
5272 (tan_test_downward): Likewise.
5273 (tan_test_upward): Likewise.
5274 (main): Call the new functions.
5275 * sysdeps/i386/fpu/libm-test-ulps: Update.
5276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5277
5278 [BZ #10135]
5279 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5280 small n, then large n, before computing and testing k+n.
5281 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5282 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5283 Likewise.
5284 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5285 Likewise.
5286 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5287 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5288 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5289 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5290 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5291 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5292 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5293 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5294 * math/libm-test.inc (scalbn_test): Add more tests.
5295 (scalbln_test): Likewise.
5296
5297 * manual/filesys.texi (mode_t): Describe constraints on size and
5298 signedness, not exact equivalence to a particular type.
5299 (ino_t): Likewise.
5300 (ino64_t): Likewise.
5301 (dev_t): Likewise.
5302 (nlink_t): Likewise.
5303 (blkcnt_t): Likewise.
5304 (blkcnt64_t): Likewise.
5305 * manual/llio.texi (off_t): Likewise.
5306
5307 [BZ #3976]
5308 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5309 (__ieee754_exp): Save and restore rounding mode and use
5310 round-to-nearest for all computations.
5311 * math/libm-test.inc (exp_test_tonearest): New function.
5312 (exp_test_towardzero): Likewise.
5313 (exp_test_downward): Likewise.
5314 (exp_test_upward): Likewise.
5315 (main): Call the new functions.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
5319 2012-03-01 Chris Demetriou <cgd@google.com>
5320
5321 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5322 have predictable order.
5323
5324 2012-03-01 David S. Miller <davem@davemloft.net>
5325
5326 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5327
5328 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5329 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5330 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5331 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5332
5333 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5334 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5335 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5337 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5338 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5339 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5340 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5341 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5342
5343 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5344
5345 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5346 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5347 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5348
5349 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5350 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5351 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5352 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5353 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5354 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5355 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5356 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5357 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5358 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5359 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5360 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5361 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5362 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5363 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5364 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5365 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5366 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5367 * sysdeps/sparc/elf/configure: Regenerated.
5368
5369 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5370
5371 * configure.in (AS, LD): Require binutils 2.20 or later.
5372 * configure: Regenerated.
5373 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5374 as required minimum version.
5375 * INSTALL: Regenerated.
5376
5377 [BZ #2541]
5378 [BZ #4108]
5379 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5380 before squaring exponent.
5381 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5382 bottom long double and 27 bits of top long double before squaring
5383 exponent.
5384 * math/libm-test.inc (erfc_test): Add more tests.
5385 * sysdeps/i386/fpu/libm-test-ulps: Update.
5386 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5388
5389 2012-03-01 Kai Tietz <ktietz@redhat.com>
5390
5391 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5392 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5393 containing bit-fields.
5394 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5395 * soft-fp/single.h (_FP_UNION_S): Likewise.
5396 * soft-fp/double.h (_FP_UNION_D): Likewise.
5397
5398 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5399
5400 [BZ #13786]
5401 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5402 not include ../strcmp.S.
5403 [USE_AS_STRNCASECMP_L]: Likewise.
5404 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5405 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5406 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5407 (__strncasecmp_l_ia32): Define as alias to
5408 __strncasecmp_l_nonascii.
5409
5410 [BZ #5794]
5411 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5412 * sysdeps/i386/fpu/libm-test-ulps: Update.
5413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5414
5415 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5417
5418 2012-02-29 Jeff Law <law@redhat.com>
5419
5420 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5421 out of bounds read.
5422
5423 2012-02-29 Marek Polacek <polacek@redhat.com>
5424
5425 [BZ #13706]
5426 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5427 * elf/Makefile: Add rules to run tst-unused-dep.out.
5428
5429 2012-02-28 David S. Miller <davem@davemloft.net>
5430
5431 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5432 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5433 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5434 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5435 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5436 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5437
5438 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5439
5440 * math/libm-test.inc (llround_test): Move one test from
5441 lround_test. Use TEST_f_L in moved test.
5442 (lround_test): Move misplaced test to llround_test. Add testcase
5443 from bug 2561.
5444
5445 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5446
5447 * sysdeps/x86_64/fpu/e_expf.S: New file.
5448 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5449
5450 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5451
5452 [BZ #13637]
5453 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5454 of remain_len that may cause incomplete multi-byte character and
5455 false match.
5456 * posix/bug-regex33.c: New file.
5457 * posix/Makefile (tests): Add bug-regex33.
5458
5459 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5460
5461 * manual/macros.texi: New file.
5462 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5463 * manual/libc.texinfo: Include macros.texi.
5464 * manual/creatute.texi: Likewise.
5465 * manual/install.texi: Likewise.
5466 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5467 @glibcadj{} in references to the GNU C Library.
5468 * manual/charset.texi: Likewise.
5469 * manual/conf.texi: Likewise.
5470 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5471 when not using those macros.
5472 * manual/creature.texi: Likewise.
5473 * manual/crypt.texi: Likewise.
5474 * manual/errno.texi: Likewise.
5475 * manual/filesys.texi: Likewise.
5476 * manual/header.texi: Likewise.
5477 * manual/install.texi: Likewise.
5478 * manual/intro.texi: Likewise.
5479 * manual/io.texi: Likewise.
5480 * manual/job.texi: Likewise.
5481 * manual/lang.texi: Likewise.
5482 * manual/libc.texiinfo: Likewise.
5483 * manual/llio.texi: Likewise.
5484 * manual/locale.texi: Likewise.
5485 * manual/maint.texi: Likewise.
5486 * manual/math.texi: Likewise.
5487 * manual/memory.texi: Likewise.
5488 * manual/message.texi: Likewise.
5489 * manual/nss.texi: Likewise.
5490 * manual/pattern.texi: Likewise.
5491 * manual/process.texi: Likewise.
5492 * manual/resource.texi: Likewise.
5493 * manual/search.texi: Likewise.
5494 * manual/setjmp.texi: Likewise.
5495 * manual/signal.texi: Likewise.
5496 * manual/socket.texi: Likewise.
5497 * manual/startup.texi: Likewise.
5498 * manual/stdio.texi: Likewise.
5499 * manual/string.texi: Likewise.
5500 * manual/sysinfo.texi: Likewise.
5501 * manual/syslog.texi: Likewise.
5502 * manual/terminal.texi: Likewise.
5503 * manual/time.texi: Likewise.
5504 * manual/users.texi: Likewise.
5505 * INSTALL: Regenerated.
5506 * NOTES: Regenerated.
5507 * sysdeps/gnu/errlist.c: Regenerated.
5508
5509 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5510
5511 * include/dirent.h: Include <dirstream.h> before
5512 <dirent/dirent.h>.
5513
5514 2012-02-28 David S. Miller <davem@davemloft.net>
5515
5516 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5517 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5518 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5519 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5520
5521 2012-02-27 David S. Miller <davem@davemloft.net>
5522
5523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5525 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5526 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5527
5528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5529 frame pointer instead of stack pointer relative arg slot.
5530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5531 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5532 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5533
5534 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5535
5536 [BZ #3992]
5537 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5538
5539 2012-02-27 David S. Miller <davem@davemloft.net>
5540
5541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5542 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5543 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5545 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5546 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5547 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5548 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5549
5550 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5551
5552 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5553 later. Allow versions 5-9.
5554 * configure: Regenerated.
5555 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5556 required minimum version and 4.6 as recommended version. Do not
5557 mention bugs in GCC 2.7 and 2.8.
5558 * INSTALL: Regenerated.
5559
5560 2012-02-27 David S. Miller <davem@davemloft.net>
5561
5562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5566 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5567 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5568 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5569 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5570
5571 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5572 manipulate bits before adding and subtracting TWO112[sx].
5573 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5574
5575 2012-02-27 Roland McGrath <roland@hack.frob.com>
5576
5577 [BZ #13775]
5578 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5579 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5580 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5581 being in POSIX, because they are in 1003.1-2008.
5582
5583 * rt/tst-aio.c: Include <fcntl.h>.
5584 * rt/tst-aio7.c: Likewise.
5585 * rt/tst-aio64.c: Likewise.
5586
5587 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5588
5589 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5590
5591 * manual/install.texi (--with-headers): Describe headers as
5592 interface headers, not private headers.
5593 (Specific advice for GNU/Linux systems): Describe use of headers
5594 from "make headers_install", not private headers from older
5595 kernels.
5596 * INSTALL: Regenerated.
5597 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5598 Change to 2.6.19.
5599 * sysdeps/unix/sysv/linux/configure: Regenerated.
5600
5601 * manual/llio.texi (fclean): Remove documentation.
5602
5603 * manual/Makefile (libc-texi-generated): New variable. Include
5604 version.texi.
5605 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5606 $(libc-texi-generated), not duplicated list of files.
5607 (version.texi, stamp-version): New rules.
5608 (realclean): Remove $(libc-texi-generated), not individual files
5609 from that list. Do not remove dir-add.texinfo.
5610 * manual/libc.texinfo: Comment out uses of edition numbers and
5611 references to printed manual. Remove last-updated dates.
5612 (EDITION): Comment out.
5613 (ISBN): Likewise.
5614 (VERSION, UPDATED): Remove.
5615 (version.texi): Include.
5616
5617 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5618
5619 * sysdeps/posix/spawni.c: Include <signal.h>.
5620 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5621 * sysdeps/pthread/aio_fsync.c: Likewise.
5622
5623 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5624
5625 * conform/Makefile (tests): Run only when not cross-compiling and
5626 when fast-check is not defined.
5627
5628 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5629 * conform/data/limits.h-data: Fixes for POSIX2008.
5630 * conform/run-conformtest.sh: Run all tests.
5631 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5632 headers.
5633 * include/bits/dlfcn.h: Likewise.
5634 * include/langinfo.h: Likewise.
5635 * include/monetary.h: Likewise.
5636 * include/sys/poll.h: Likewise.
5637
5638 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5639 for __USE_GNU.
5640 * posix/spawn.h: Define __need_sigset_t.
5641 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5642 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5643 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5644 to get sigevent_t only.
5645 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5646 only for __USE_GNU.
5647 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5648 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5649 process_vm_writev only for __USE_GNU.
5650 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5651
5652 * conform/Makefile: For now ignore errors from run-conformtest.
5653 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5654 POSIX to avoid namespace pollution. Don't prepend headers.
5655 * conform/data/aio.h-data: Fixes for POSIX testing.
5656 * conform/data/fcntl.h-data: Likewise.
5657 * conform/data/glob.h-data: Likewise.
5658 * conform/data/grp.h-data: Likewise.
5659 * conform/data/pthread.h-data: Likewise.
5660 * conform/data/pwd.h-data: Likewise.
5661 * conform/data/signal.h-data: Likewise.
5662 * conform/data/spawn.h-data: Likewise.
5663 * conform/data/stdio.h-data: Likewise.
5664 * conform/data/stdlib.h-data: Likewise.
5665 * conform/data/stropts.h-data: Likewise.
5666 * conform/data/sys/mman.h-data: Likewise.
5667 * conform/data/sys/stat.h-data: Likewise.
5668 * conform/data/sys/types.h-data: Likewise.
5669 * conform/data/sys/wait.h-data: Likewise.
5670 * conform/data/time.h-data: Likewise.
5671 * conform/data/unistd.h-data: Likewise.
5672 * conform/data/utime.h-data: Likewise.
5673
5674 * io/sys/stat.h: fchmod was always in POSIX.
5675 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5676 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5677 * rt/aio.h: Define __need_timespec before including <time.h>.
5678 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5679 struct. Add forward declaration of pthread_attr_t and use it in
5680 sigevent.
5681 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5682 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5683 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5684 always remove CLK_TCK definition.
5685
5686 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5687
5688 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5689
5690 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5691
5692 * conform/run-conformtest.sh: New file.
5693 * conform/Makefile: Run run-conformtest for tests.
5694 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5695 support.
5696
5697 * conform/data/uchar.h-data: New file.
5698 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5699 * conform/data/arpa/inet.h-data: Likewise.
5700 * conform/data/assert.h-data: Likewise.
5701 * conform/data/complex.h-data: Likewise.
5702 * conform/data/cpio.h-data: Likewise.
5703 * conform/data/ctype.h-data: Likewise.
5704 * conform/data/dirent.h-data: Likewise.
5705 * conform/data/dlfcn.h-data: Likewise.
5706 * conform/data/errno.h-data: Likewise.
5707 * conform/data/fcntl.h-data: Likewise.
5708 * conform/data/float.h-data: Likewise.
5709 * conform/data/fmtmsg.h-data: Likewise.
5710 * conform/data/fnmatch.h-data: Likewise.
5711 * conform/data/ftw.h-data: Likewise.
5712 * conform/data/glob.h-data: Likewise.
5713 * conform/data/grp.h-data: Likewise.
5714 * conform/data/iconv.h-data: Likewise.
5715 * conform/data/inttypes.h-data: Likewise.
5716 * conform/data/langinfo.h-data: Likewise.
5717 * conform/data/libgen.h-data: Likewise.
5718 * conform/data/limits.h-data: Likewise.
5719 * conform/data/locale.h-data: Likewise.
5720 * conform/data/math.h-data: Likewise.
5721 * conform/data/monetary.h-data: Likewise.
5722 * conform/data/mqueue.h-data: Likewise.
5723 * conform/data/ndbm.h-data: Likewise.
5724 * conform/data/net/if.h-data: Likewise.
5725 * conform/data/netdb.h-data: Likewise.
5726 * conform/data/netinet/in.h-data: Likewise.
5727 * conform/data/nl_types.h-data: Likewise.
5728 * conform/data/poll.h-data: Likewise.
5729 * conform/data/pthread.h-data: Likewise.
5730 * conform/data/pwd.h-data: Likewise.
5731 * conform/data/regex.h-data: Likewise.
5732 * conform/data/sched.h-data: Likewise.
5733 * conform/data/search.h-data: Likewise.
5734 * conform/data/semaphore.h-data: Likewise.
5735 * conform/data/setjmp.h-data: Likewise.
5736 * conform/data/signal.h-data: Likewise.
5737 * conform/data/spawn.h-data: Likewise.
5738 * conform/data/stdarg.h-data: Likewise.
5739 * conform/data/stdio.h-data: Likewise.
5740 * conform/data/stdlib.h-data: Likewise.
5741 * conform/data/string.h-data: Likewise.
5742 * conform/data/strings.h-data: Likewise.
5743 * conform/data/stropts.h-data: Likewise.
5744 * conform/data/sys/ipc.h-data: Likewise.
5745 * conform/data/sys/mman.h-data: Likewise.
5746 * conform/data/sys/msg.h-data: Likewise.
5747 * conform/data/sys/resource.h-data: Likewise.
5748 * conform/data/sys/select.h-data: Likewise.
5749 * conform/data/sys/sem.h-data: Likewise.
5750 * conform/data/sys/shm.h-data: Likewise.
5751 * conform/data/sys/socket.h-data: Likewise.
5752 * conform/data/sys/stat.h-data: Likewise.
5753 * conform/data/sys/statvfs.h-data: Likewise.
5754 * conform/data/sys/time.h-data: Likewise.
5755 * conform/data/sys/timeb.h-data: Likewise.
5756 * conform/data/sys/times.h-data: Likewise.
5757 * conform/data/sys/types.h-data: Likewise.
5758 * conform/data/sys/uio.h-data: Likewise.
5759 * conform/data/sys/un.h-data: Likewise.
5760 * conform/data/sys/utsname.h-data: Likewise.
5761 * conform/data/sys/wait.h-data: Likewise.
5762 * conform/data/syslog.h-data: Likewise.
5763 * conform/data/tar.h-data: Likewise.
5764 * conform/data/termios.h-data: Likewise.
5765 * conform/data/utime.h-data: Likewise.
5766 * conform/data/utmpx.h-data: Likewise.
5767 * conform/data/varargs.h-data: Likewise.
5768 * conform/data/wchar.h-data: Likewise.
5769 * conform/data/wctype.h-data: Likewise.
5770 * conform/data/wordexp.h-data: Likewise.
5771
5772 * include/stropts.h: New file.
5773 * include/uchar.h: New file.
5774 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5775 * include/assert.h: Likewise.
5776 * include/ctype.h: Likewise.
5777 * include/dirent.h: Likewise.
5778 * include/dlfcn.h: Likewise.
5779 * include/fcntl.h: Likewise.
5780 * include/fnmatch.h: Likewise.
5781 * include/glob.h: Likewise.
5782 * include/grp.h: Likewise.
5783 * include/libio.h: Likewise.
5784 * include/locale.h: Likewise.
5785 * include/math.h: Likewise.
5786 * include/net/if.h: Likewise.
5787 * include/netdb.h: Likewise.
5788 * include/netinet/in.h: Likewise.
5789 * include/pthread.h: Likewise.
5790 * include/pwd.h: Likewise.
5791 * include/regex.h: Likewise.
5792 * include/sched.h: Likewise.
5793 * include/search.h: Likewise.
5794 * include/setjmp.h: Likewise.
5795 * include/signal.h: Likewise.
5796 * include/stdio.h: Likewise.
5797 * include/stdlib.h: Likewise.
5798 * include/string.h: Likewise.
5799 * include/sys/cdefs.h: Likewise.
5800 * include/sys/mman.h: Likewise.
5801 * include/sys/msg.h: Likewise.
5802 * include/sys/resource.h: Likewise.
5803 * include/sys/select.h: Likewise.
5804 * include/sys/socket.h: Likewise.
5805 * include/sys/stat.h: Likewise.
5806 * include/sys/statvfs.h: Likewise.
5807 * include/sys/time.h: Likewise.
5808 * include/sys/times.h: Likewise.
5809 * include/sys/uio.h: Likewise.
5810 * include/sys/utsname.h: Likewise.
5811 * include/sys/wait.h: Likewise.
5812 * include/termios.h: Likewise.
5813 * include/time.h: Likewise.
5814 * include/ulimit.h: Likewise.
5815 * include/unistd.h: Likewise.
5816 * include/utime.h: Likewise.
5817 * include/wchar.h: Likewise.
5818 * include/wctype.h: Likewise.
5819 * include/wordexp.h: Likewise.
5820
5821 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5822
5823 * time/time.h: TIME_UTC must be a macro.
5824 Make timespec_get available for ISO C11 only as well.
5825
5826 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5827
5828 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5829 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5830
5831 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5832
5833 * configure.in: Use -o not -a in test for unsupported multi-arch.
5834
5835 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5836
5837 * manual/texinfo.tex: Update to version 2012-01-19.16.
5838
5839 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5840
5841 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5842
5843 2012-02-24 Roland McGrath <roland@hack.frob.com>
5844
5845 [BZ #13738]
5846 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5847 * manual/fdl-1.3.texi: New file.
5848 * manual/fdl-1.1.texi: File removed.
5849
5850 [BZ #13738]
5851 * manual/libc.texinfo (FDL_VERSION): New @set.
5852 Use it for mention of FDL in cover text.
5853 (Documentation License): Use it in @include file name.
5854
5855 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5856 Roland McGrath <roland@hack.frob.com>
5857
5858 [BZ #5461]
5859 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5860 not LONG_LONG_MAX and LONG_LONG_MIN.
5861 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5862 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5863 name.
5864 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5865
5866 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5867
5868 [BZ #2547]
5869 [BZ #11365]
5870 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5871 manipulate bits before adding and subtracting TWO23[sx].
5872 * math/libm-test.inc (nearbyint_test): Add more tests.
5873
5874 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #2548]
5877 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5878 bits before adding and subtracting TWO23[sx].
5879 * math/libm-test.inc (rint_test): Add more tests.
5880 (rint_test_tonearest): Likewise.
5881 (rint_test_towardzero): Likewise.
5882 (rint_test_downward): Likewise.
5883 (rint_test_upward: Likewise.
5884
5885 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5886
5887 [BZ #10110]
5888 * include/stdc-predef.h: New file. Extracted from features.h.
5889 * include/features.h: Include stdc-predef.h.
5890 * Makefile (headers): Add stdc-predef.h.
5891 * CONFORMANCE (Compiler limitations): Update.
5892
5893 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5894
5895 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5896
5897 2012-02-21 David S. Miller <davem@davemloft.net>
5898
5899 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5900 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5901
5902 2012-02-20 David S. Miller <davem@davemloft.net>
5903
5904 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5905 using a normal save/restore sequence, rather than allocating a
5906 dummy stack frame just to store a frame pointer and restore.
5907 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5908
5909 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5910
5911 * manual/install.texi: Fix stray word in line-wrapped comment.
5912
5913 2012-02-20 David S. Miller <davem@davemloft.net>
5914
5915 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5916 both binutils and gcc support GOTDATA.
5917
5918 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5919 "rd %pc" in the PIC register setup sequences.
5920
5921 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5922 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5923 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5924 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5925 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5926 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5927 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5928 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5929 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5930 (SYSCALL_ERROR_HANDLER): Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5932 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5933 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5934 (SYSCALL_ERROR_HANDLER): Likewise.
5935
5936 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5937 (HAVE_GCC_GOTDATA): New.
5938 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5939 relocation support in both binutils and gcc.
5940 * sysdeps/sparc/elf/configure: Regenerate.
5941
5942 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5943 * sysdeps/sparc/sparc32/elf/configure: Delete.
5944 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5945 * sysdeps/sparc/sparc64/elf/configure: Delete.
5946 * sysdeps/sparc/elf/configure.in: New file.
5947 * sysdeps/sparc/elf/configure: Generate.
5948
5949 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5950 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5951 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5952 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5953 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5954
5955 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5956
5957 * manual/install.texi: Do not mention specific glibc version
5958 numbers.
5959 * manual/libc.texinfo (VERSION, UPDATED): Update.
5960 (@copying): Use @copyright{} and range of years.
5961
5962 2012-02-21 Joseph Myers <joseph@codesourcery.com>
5963
5964 [BZ #13695]
5965 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5966 [crti.S not in sysdirs] (generated): Do not append.
5967 [crti.S not in sysdirs] (omit-deps): Likewise.
5968 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5969 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5970 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5971 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5972 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5973 Likewise.
5974 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5975 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5976 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5977 * csu/defs.awk: Remove file.
5978 * sysdeps/generic/initfini.c: Likewise.
5979 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5980 variable.
5981 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5982 Likewise.
5983
5984 2012-02-20 Joseph Myers <joseph@codesourcery.com>
5985
5986 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5987 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5988 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5989 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5990 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5991 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5992 <bits/epoll.h>.
5993 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5994 (__EPOLL_PACKED): Define to empty if not defined by
5995 <bits/epoll.h>.
5996 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5998 bits/epoll.h.
5999
6000 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6001
6002 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6003 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6004 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6005 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6006 <bits/timerfd.h>.
6007 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6008 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6009 bits/timerfd.h.
6010
6011 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6012
6013 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6014 in C locale.
6015 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6016 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6018 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6019
6020 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6021
6022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6023 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6024
6025 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6026
6027 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6028 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6029 defined.
6030 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6031 Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6033 entry for 2.16.
6034
6035 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6036
6037 * math/w_acos.c: Use non-signaling floating-point comparisons.
6038 * math/w_acosf.c: Likewise.
6039 * math/w_acosh.c: Likewise.
6040 * math/w_acoshf.c: Likewise.
6041 * math/w_acoshl.c: Likewise.
6042 * math/w_acosl.c: Likewise.
6043 * math/w_asin.c: Likewise.
6044 * math/w_asinf.c: Likewise.
6045 * math/w_asinl.c: Likewise.
6046 * math/w_atanh.c: Likewise.
6047 * math/w_atanhf.c: Likewise.
6048 * math/w_atanhl.c: Likewise.
6049 * math/w_exp2.c: Likewise.
6050 * math/w_exp2f.c: Likewise.
6051 * math/w_exp2l.c: Likewise.
6052 * math/w_j0.c: Likewise.
6053 * math/w_j0f.c: Likewise.
6054 * math/w_j0l.c: Likewise.
6055 * math/w_j1.c: Likewise.
6056 * math/w_j1f.c: Likewise.
6057 * math/w_j1l.c: Likewise.
6058 * math/w_jn.c: Likewise.
6059 * math/w_jnf.c: Likewise.
6060 * math/w_log.c: Likewise.
6061 * math/w_log10.c: Likewise.
6062 * math/w_log10f.c: Likewise.
6063 * math/w_log10l.c: Likewise.
6064 * math/w_log2.c: Likewise.
6065 * math/w_log2f.c: Likewise.
6066 * math/w_log2l.c: Likewise.
6067 * math/w_logf.c: Likewise.
6068 * math/w_logl.c: Likewise.
6069 * math/w_sqrt.c: Likewise.
6070 * math/w_sqrtf.c: Likewise.
6071 * math/w_sqrtl.c: Likewise.
6072 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6073 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6074 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6075 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6076 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6077
6078 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6079
6080 [BZ #9739]
6081 * manual/string.texi (strnlen): Use correct parameter name in
6082 equivalent expression.
6083
6084 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6085
6086 [BZ #11174]
6087 * manual/users.texi (seteuid): Consistently use neweuid for
6088 argument name.
6089
6090 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6091
6092 [BZ #13704]
6093 * manual/nss.texi (Services in the NSS configuration): Correct
6094 list of services in example configuration file.
6095
6096 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6097
6098 [BZ #11322]
6099 * manual/arith.texi: Remove statements about negative zero
6100 behaving identically to zero.
6101
6102 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #5993]
6105 * manual/install.texi: Do not document upgrading from libc5.
6106
6107 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6108
6109 [BZ #4596]
6110 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6111
6112 2012-02-18 David S. Miller <davem@davemloft.net>
6113
6114 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6115 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6116 %o7 across the call.
6117 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6118 instead.
6119 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6120 SETUP_PIC_REG_LEAF.
6121 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6122 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6123 * sysdeps/sparc/crtn.S: Likewise.
6124
6125 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6126
6127 * aout/Makefile: Remove.
6128
6129 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6130
6131 [BZ #13058]
6132 * manual/examples/argp-ex1.c (main): Format definition in GNU
6133 style.
6134 * manual/examples/argp-ex2.c (main): Likewise.
6135 * manual/examples/argp-ex3.c (main): Likewise.
6136 * manual/examples/argp-ex4.c (main): Likewise.
6137 * manual/examples/longopt.c (main): Use new-style prototype
6138 definition.
6139 * manual/examples/strncat.c (main): Specify return type and use
6140 (void) for arguments.
6141 * manual/examples/subopt.c (main): Use char **argv argument.
6142
6143 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6144
6145 [BZ #5077]
6146 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6147 rounding modes.
6148
6149 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6150
6151 [BZ #6907]
6152 * manual/string.texi (strchr): Change when strchrnul is
6153 recommended.
6154
6155 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6156
6157 [BZ #174]
6158 * manual/locale.texi (setlocale): Document LOCPATH.
6159
6160 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6161
6162 [BZ #10210]
6163 * manual/process.texi (execle): Move @dots{} before last argument.
6164
6165 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6166
6167 [BZ #12047]
6168 * manual/charset.texi (Generic Charset Conversion): Fix typo
6169 (LC_TYPE -> LC_CTYPE).
6170
6171 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6172
6173 [BZ #5805]
6174 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6175 (scalbnf): Likewise.
6176 (scalbnl): Likewise.
6177 (scalbln): Likewise.
6178 (scalblnf): Likewise.
6179 (scalblnl): Likewise.
6180 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6181 (vwarnx): Likewise.
6182 (verr): Likewise.
6183 (verrx): Likewise.
6184 * manual/filesys.texi (telldir): Use braces around return type.
6185 * manual/llio.texi (mmap): Add space after comma.
6186 (mmap64): Likewise.
6187 * manual/math.texi (jn): Use @var{} on parameter names.
6188 (jnf): Likewise.
6189 (jnl): Likewise.
6190 (yn): Likewise.
6191 (ynf): Likewise.
6192 (ynl): Likewise.
6193 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6194 line.
6195 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6196 "...".
6197 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6198 (sched_get_priority_max): Likewise.
6199 * manual/signal.texi (sigvec): Add space after comma.
6200 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6201 names.
6202 (if_indextoname): Likewise.
6203 (if_freenameindex): Likewise.
6204 (sendto): Use ',' instead of '.' in prototype.
6205 * manual/startup.texi (syscall): Use @dots{} instead of literal
6206 "...".
6207 * manual/stdio.texi (__fpending): Separate initial words of
6208 paragraph from @deftypefun line.
6209 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6210 "...".
6211 (vsyslog): Use @var{} on parameter names.
6212 * manual/terminal.texi (stty): Use @var{} on parameter names.
6213 * manual/users.texi (getutmp): Use @var{} on parameter names.
6214 (getutmpx): Likewise.
6215
6216 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6217
6218 [BZ #6884]
6219 * manual/stdio.texi (fopen): Fix typos in description of
6220 ",ccs=STRING".
6221
6222 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6223
6224 [BZ #4026]
6225 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6226 get clock_id definition.
6227
6228 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6229
6230 [BZ #4822]
6231 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6232 (madvise): Cast every argument to void on its own.
6233
6234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6235
6236 [BZ #9902]
6237 * manual/startup.texi (Exit Status): Fix typo.
6238
6239 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6240
6241 [BZ #10140]
6242 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6243 * manual/examples/argp-ex2.c: Likewise.
6244 * manual/examples/argp-ex3.c: Likewise.
6245
6246 2012-02-16 Richard Henderson <rth@redhat.com>
6247
6248 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6249 * sysdeps/s390/s390-32/initfini.c: Remove.
6250 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6251 * sysdeps/s390/s390-64/initfini.c: Remove.
6252
6253 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6254
6255 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6256 compiler output for sysdeps/generic/initfini.c.
6257 * sysdeps/sh/elf/initfini.c: Remove file.
6258
6259 2012-02-16 David S. Miller <davem@davemloft.net>
6260
6261 [BZ #11494]
6262 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6263
6264 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6265 * sysdeps/sparc/crti.S: New file.
6266 * sysdeps/sparc/crtn.S: New file.
6267 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6268 * sysdeps/sparc/sparc64/Makefile: Likewise.
6269
6270 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6271
6272 [BZ #3335]
6273 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6274
6275 2012-02-15 Roland McGrath <roland@hack.frob.com>
6276
6277 [BZ #4822]
6278 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6279
6280 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6281 (write, read, close): Likewise.
6282 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6283
6284 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6285
6286 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6287 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6288 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6289 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6290 <bits/signalfd.h>.
6291 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6293 bits/signalfd.h.
6294
6295 2012-02-14 Marek Polacek <polacek@redhat.com>
6296
6297 * sysdeps/x86_64/crti.S: New file.
6298 * sysdeps/x86_64/crtn.S: New file.
6299 * sysdeps/x86_64/elf/initfini.c: Remove file.
6300
6301 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6302
6303 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6304 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6305 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6306 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6307 <bits/inotify.h>.
6308 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6309 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6310 bits/inotify.h.
6311
6312 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6313
6314 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6315 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6316 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6317 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6318 <bits/eventfd.h>.
6319 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6320 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6321 bits/eventfd.h.
6322
6323 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6324
6325 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6326 __feraiseexcept instead of feraiseexcept.
6327
6328 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6329 nanosleep invocations.
6330 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6331 strings, and add error checking for a nanosleep invocations.
6332
6333 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6334
6335 Replace FSF snail mail address with URLs, as per GNU coding standards.
6336 Most of the snail mail addresses were wrong anyway, and omitting
6337 them makes the source code easier to maintain. Almost all of the
6338 changes are to license notices and to locale LC_IDENTIFICATION
6339 addresses, except for this one:
6340 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6341 not its snail mail address.
6342
6343 2012-02-09 Richard Henderson <rth@twiddle.net>
6344
6345 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6346 of kernel-features.h.
6347
6348 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6349
6350 2012-02-08 Marek Polacek <polacek@redhat.com>
6351
6352 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6353 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6354 * sysdeps/gnu/_G_config.h: Likewise.
6355 * sysdeps/generic/_G_config.h: Likewise.
6356
6357 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6358
6359 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6360 tests.
6361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6362
6363 * sysdeps/powerpc/powerpc32/crti.S: New file.
6364 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6365 * sysdeps/powerpc/powerpc64/crti.S: New file.
6366 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6367
6368 * Makeconfig (have-initfini): Don't set.
6369 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6370 * configure.in (nopic_initfini): Don't substitute.
6371 * config.h.in (HAVE_INITFINI): Don't #undef.
6372 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6373 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6374
6375 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6376
6377 Support crti.S and crtn.S provided directly by architectures.
6378 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6379 [crti.S in sysdirs] (omit-deps): Likewise.
6380 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6381 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6382 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6383 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6384 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6385 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6386 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6387 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6388 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6389 compiler output for sysdeps/generic/initfini.c.
6390 * sysdeps/i386/elf/Makefile: Remove file.
6391 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6392
6393 2012-02-07 Marek Polacek <polacek@redhat.com>
6394
6395 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6396 * sysdeps/gnu/_G_config.h: Likewise.
6397 * sysdeps/mach/hurd/_G_config.h: Likewise.
6398
6399 2012-02-07 Marek Polacek <polacek@redhat.com>
6400
6401 * math/Makefile (tests): Add tst-CMPLX2.
6402 * math/tst-CMPLX2.c: New file.
6403
6404 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6405
6406 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6407
6408 * math/libm-test.inc (jn_test): Add missing L suffix.
6409
6410 2012-02-06 Marek Polacek <polacek@redhat.com>
6411
6412 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6413 * sysdeps/i386/fpu/e_powf.S: Likewise.
6414 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6415 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6416 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6417 * sysdeps/i386/fpu/e_pow.S: Likewise.
6418 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6419 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6420 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6421 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6422 * sysdeps/i386/fpu/e_log2.S: Likewise.
6423 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6424 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6425 * sysdeps/i386/fpu/e_powl.S: Likewise.
6426 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6427 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6428 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6429 * sysdeps/i386/fpu/e_logl.S: Likewise.
6430 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6431 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6432 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6433 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6434 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6435 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6436 * sysdeps/i386/fpu/e_log.S: Likewise.
6437 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6438 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6439 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6440 * sysdeps/i386/fpu/e_logf.S: Likewise.
6441 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6442 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6443 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6444 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6445 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6446 * sysdeps/i386/fpu/e_log10.S: Likewise.
6447 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6448 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6449 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6450 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6451 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6452 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6453 * sysdeps/i386/asm-syntax.h: Likewise.
6454 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6455 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6456 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6457 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6458 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6459 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6460 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6461 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6462 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6463 * sysdeps/powerpc/sysdep.h: Likewise.
6464 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6465 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6466
6467 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6468
6469 [BZ #411]
6470 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6471
6472 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6473
6474 * sysdeps/i386/sysdep.h: Include <features.h>.
6475 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6476 version.
6477
6478 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6479
6480 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6481 Define.
6482 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6483 LOAD_PIC_REG_STR.
6484
6485 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6486
6487 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6488 (SETUP_PIC_REG): Use GET_PC_THUNK.
6489 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6490 macro.
6491
6492 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6493
6494 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6495 for non-PIC compilation.
6496 (SETUP_PIC_REG): Add .p2align directive.
6497 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6498 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6499 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6500 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6501 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6502 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6503 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6504 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6505 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6506 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6507 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6508 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6509 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6510 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6511 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6512 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6513 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6514 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6515 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6516 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6517 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6518 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6519 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6520 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6521 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6522 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6523 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6524 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6525 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6526 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6527 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6528 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6529 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6530 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6531 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6532 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6533 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6534 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6535 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6536 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6537 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6538
6539 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6540
6541 * math/tst-CMPLX.c: Include <stdio.h>.
6542
6543 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6544
6545 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6546 float.
6547 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6548 * sysdeps/sparc/bits/mathdef.h: Likewise.
6549
6550 2012-01-31 Marek Polacek <polacek@redhat.com>
6551
6552 * libio/libio.h: Don't define _PARAMS.
6553 * locale/programs/config.h: Don't define PARAMS.
6554 * stdlib/strtol_l.c: Likewise.
6555 (__strtol_l): Remove PARAMS from the prototype.
6556
6557 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6558
6559 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6560 names. Just use the correct names. Remove unnecessary wrapper
6561 functions.
6562 * malloc/arena.c: Likewise.
6563 * malloc/hooks.c: Likewise.
6564
6565 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6566 ARENA_TEST says not to. Simplify test for creation of a new arena.
6567 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6568
6569 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6570
6571 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6572 into tail calls.
6573 (update_get_addr): New function.
6574 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6575 GET_ADDR_MODULE parameter.
6576
6577 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6578
6579 * crypt/cert.c: Remove __STDC__ conditionals.
6580 * crypt/crypt-entry.c: Likewise.
6581 * crypt/crypt_util.c: Likewise.
6582 * libio/filedoalloc.c: Likewise.
6583 * libio/fileops.c: Likewise.
6584 * libio/genops.c: Likewise.
6585 * libio/iofclose.c: Likewise.
6586 * libio/iofdopen.c: Likewise.
6587 * libio/iofopen.c: Likewise.
6588 * libio/iofopen64.c: Likewise.
6589 * libio/iogetdelim.c: Likewise.
6590 * libio/iopopen.c: Likewise.
6591 * libio/obprintf.c: Likewise.
6592 * libio/oldfileops.c: Likewise.
6593 * libio/oldiofclose.c: Likewise.
6594 * libio/oldiofdopen.c: Likewise.
6595 * libio/oldiofopen.c: Likewise.
6596 * libio/oldiopopen.c: Likewise.
6597 * libio/wfiledoalloc.c: Likewise.
6598 * libio/wgenops.c: Likewise.
6599 * locale/programs/xmalloc.c: Likewise.
6600 * misc/syslog.c: Likewise.
6601 * stdio-common/xbug.c: Likewise.
6602 * string/memchr.c: Likewise.
6603 * string/memcmp.c: Likewise.
6604 * string/memrchr.c: Likewise.
6605 * string/rawmemchr.c: Likewise.
6606 * sysdeps/posix/getcwd.c: Likewise.
6607 * time/strftime_l.c: Likewise.
6608
6609 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6610
6611 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6612 * config.make.in (config-cflags-sse2avx): Define.
6613 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6614 Fix typo.
6615
6616 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6617
6618 * scripts/config.guess: Update from upstream config git repository.
6619 * scripts/config.sub: Likewise.
6620
6621 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6622
6623 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6624 (EM_NUM): Update.
6625 (R_TILEPRO_*, R_TILEGX_*): New macros.
6626
6627 * scripts/firstversions.awk: Fix bug in version range handling.
6628
6629 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6630
6631 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6632
6633 * include/sys/epoll.h: New file.
6634 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6635 libc_hidden_def.
6636
6637 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6638
6639 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6640 Avoid unnecessary __WORDSIZE == 64 test.
6641 (fmaxf): Use VEX format if possible.
6642 (fmax): Likewise.
6643 (fminf): Likewise.
6644 (fmin): Likewise.
6645
6646 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6647 * math/math_private.h: Remove libc_fegetround* and
6648 libc_fesetround*.
6649 * sysdeps/i386/configure.in: Check for -msse2avx.
6650 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6651 also if SSE2AVX is defined.
6652 Remove libc_fegetround* and libc_fesetround*.
6653 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6654 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6655 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6656 of HAS_YMM_USABLE.
6657 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6658 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6659 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6660 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6661 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6662
6663 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6664
6665 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6666
6667 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6668 size is not set.
6669 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6670
6671 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6672
6673 [BZ #13618]
6674 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6675 relocation.
6676 * Makeconfig (libm): Define.
6677 * elf/Makefile: Add rules to build and run tst-relsort1.
6678 * elf/tst-relsort1.c: New file.
6679 * elf/tst-relsort1mod1.c: New file.
6680 * elf/tst-relsort1mod2.c: New file.
6681
6682 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6683
6684 * math/s_ldexp.c: Remove __STDC__ conditionals.
6685 * math/s_ldexpf.c: Likewise.
6686 * math/s_ldexpl.c: Likewise.
6687 * math/s_nextafter.c: Likewise.
6688 * math/s_nexttowardf.c: Likewise.
6689 * math/s_significand.c: Likewise.
6690 * math/s_significandf.c: Likewise.
6691 * math/s_significandl.c: Likewise.
6692 * math/w_jnl.c: Likewise.
6693 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6694 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6695 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6696 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6697 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6698 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6699 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6700 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6701 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6702 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6703 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6704 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6705 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6706 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6707 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6708 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6709 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6710 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6711 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6712 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6713 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6714 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6715 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6716 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6717 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6718 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6719 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6720 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6721 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6722 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6723 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6724 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6727 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6728 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6729 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6730 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6731 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6732 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6733 * sysdeps/ieee754/k_standard.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6752 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6753 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6756 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6766 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6769 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6770 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6795 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6800 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6803 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6808 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6809 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6813 * sysdeps/ieee754/s_matherr.c: Likewise.
6814 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6815 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6816 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6817 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6818
6819 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6820
6821 * crypt/md5.h: Remove __STDC__ conditionals.
6822 * libio/libioP.h: Likewise.
6823 * locale/programs/config.h: Likewise.
6824 * sysdeps/generic/sysdep.h: Likewise.
6825 * sysdeps/i386/asm-syntax.h: Likewise.
6826 * sysdeps/s390/asm-syntax.h: Likewise.
6827 * sysdeps/unix/sysdep.h: Likewise.
6828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6830
6831 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6832
6833 * libio/libio.h: Remove __STDC__ conditionals.
6834 * malloc/obstack.h: Likewise.
6835 * math/complex.h: Likewise.
6836 * math/math.h: Likewise.
6837 * sysdeps/generic/_G_config.h: Likewise.
6838 * sysdeps/gnu/_G_config.h: Likewise.
6839 * sysdeps/mach/hurd/_G_config.h: Likewise.
6840 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6841 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6842 * sysdeps/sparc/bits/mathdef.h: Likewise.
6843
6844 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6845
6846 [BZ #13583]
6847 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6848 Clean up HAS_* macros.
6849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6850 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6851 possible.
6852 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6853 HAS_AVX.
6854 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6855 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6856 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6858 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6859
6860 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6861
6862 * elf/tst-unique3.cc (gets): Remove declaration.
6863 * elf/tst-unique3lib.cc (gets): Likewise.
6864 * elf/tst-unique3lib2.cc (gets): Likewise.
6865 * elf/tst-unique4.cc (gets): Likewise.
6866
6867 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6868
6869 * include/stdio.h: Add C++ protection. Add gets declarations and
6870 definitions.
6871 * debug/tst-chk1.c: Don't declare gets here.
6872 * stdio-common/tst-gets.c: Likewise.
6873
6874 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6875
6876 * posix/glob: Remove directory.
6877
6878 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6879
6880 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6881
6882 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6883
6884 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6885 of the non-standard EPFNOSUPPORT.
6886
6887 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6888
6889 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6890 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6891 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6892
6893 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6894
6895 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6896
6897 2012-01-20 Ulrich Drepper <drepper@gmail.com>
6898
6899 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6900 transient errors.
6901 * nscd/grpcache.c (cache_addgr): Likewise.
6902 * nscd/hstcache.c (cache_addhst): Likewise.
6903 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6904 * nscd/pwdcache.c (cache_addpw): Likewise.
6905 * nscd/servicescache.c (cache_addserv): Likewise.
6906
6907 2012-01-16 Ulrich Drepper <drepper@gmail.com>
6908
6909 * malloc/malloc.c: Various cleanups.
6910 * malloc/hooks.c: Likewise.
6911
6912 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6913 * stdlib/bug-fmtmsg1.c: New file.
6914
6915 * stdlib/fmtmsg.c (init): Add missing unlock.
6916 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6917
6918 2012-01-12 Marek Polacek <polacek@redhat.com>
6919
6920 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6921 and _GNU_SOURCE.
6922
6923 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6924
6925 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6926 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6927 macro to ensure uniqueness of label name.
6928 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6929 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6930
6931 2012-01-11 Ulrich Drepper <drepper@gmail.com>
6932
6933 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6934
6935 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6936 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6937 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6938 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6939
6940 2012-01-10 Ulrich Drepper <drepper@gmail.com>
6941
6942 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6943
6944 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6945 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6946 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6947
6948 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6949
6950 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
6951 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6952 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
6953 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
6954
6955 * math/bits/math-finite.h: Add ldexp support.
6956
6957 2012-01-10 Marek Polacek <polacek@redhat.com>
6958
6959 * locale/programs/localedef.h (show_archive_content): Add noreturn
6960 attribute.
6961
6962 2012-01-09 Ulrich Drepper <drepper@gmail.com>
6963
6964 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6965
6966 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6967
6968 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6969
6970 * io/Makefile (headers): Add bits/poll2.h.
6971
6972 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6973
6974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6975 typo #include statement.
6976
6977 2012-01-08 Ulrich Drepper <drepper@gmail.com>
6978
6979 * include/sys/cdefs.h: Define __attribute_alloc_size.
6980 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6981 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6982 * elf/pldd.c: Likewise.
6983 * iconv/iconv_charmap.c: Likewise.
6984 * iconv/iconvconfig.c: Likewise.
6985 * iconv/strtab.c: Likewise.
6986 * locale/programs/locale.c: Likewise.
6987 * locale/programs/localedef.h: Likewise.
6988 * locale/programs/simple-hash.c: Likewise.
6989 * nscd/nscd.h: Likewise.
6990 * nss/makedb.c: Likewise.
6991 * sysdeps/generic/ldconfig.h: Likewise.
6992 * locale/programs/localedef.c: Remove xmalloc prototype.
6993 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6994
6995 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6996
6997 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6998 appropriate.
6999
7000 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7001
7002 * math/Makefile (tests): Add tst-CMPLX.
7003 * math/tst-CMPLX.c: New file.
7004
7005 * math/complex.h (CMPLXL): Fix typo.
7006
7007 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7008 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7009 GLIBC_2.16.
7010 * debug/tst-chk1.c: Add poll and ppoll tests.
7011 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7012 * include/sys/poll.h: Add hidden proto for ppoll.
7013 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7014 * sysdeps/mach/hurd/ppoll.c: Likewise.
7015 * io/ppoll.c: Likewise.
7016 * debug/poll_chk.c: New file.
7017 * debug/ppoll_chk.c: New file.
7018 * include/bits/poll2.h: New file.
7019 * io/bits/poll2.h: New file.
7020
7021 [BZ #1350]
7022 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7023
7024 * configure.in: static is always set to yes. Remove.
7025 * config.make.in: Don't set build-static.
7026 * Makeconfig: Remove use of build-static.
7027 * dlfcn/Makefile: Likewise.
7028 * elf/Makefile: Likewise.
7029 * math/Makefile: Likewise.
7030 * misc/Makefile: Likewise.
7031 * nptl/Makefile: Likewise.
7032 * sysdeps/mach/hurd/Makefile: Likewise.
7033
7034 * configure.in: PWD_P is not used anymore.
7035 * config.make.in: Remove PWD_P entry.
7036
7037 * configure.in: Remove last remnants of RANLIB.
7038 No need to check for signed size_t anymore.
7039 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7040 and IA-64.
7041 Remove __builtin_expect test because we require at least gcc 3.4.
7042 * aclocal.m4: Likewise.
7043
7044 * wcsmbs/mbrtoc16.c: Implement using towc function.
7045 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7046 * wcsmbs/wcsmbsload.c: Likewise.
7047 * iconv/gconv_simple.c: Likewise.
7048 * iconv/gconv_int.h: Likewise.
7049 * iconv/gconv_builtin.h: Likewise.
7050 * iconv/iconv_prog.c: Remove CHAR16 handling.
7051
7052 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7053
7054 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7055
7056 * configure.in: Remove --with-elf and --enable-bounded options.
7057 Dont set base_machine for ia64. More non-ELF conditions removed.
7058 Remove testing and setting of leading underscore information.
7059 * config.make.in (build-bounded): Set to no.
7060 * config.h.in: Remove NO_UNDERSCORES entry.
7061 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7062 them.
7063 * csu/start.c: Remove !NO_UNDERSCORE code.
7064 * locale/localeinfo.h: Likewise.
7065 * sysdeps/generic/machine-gmon.h: Likewise.
7066 * sysdeps/generic/sysdep.h: Likewise.
7067 * sysdeps/i386/sysdep.h: Likewise.
7068 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7069 * sysdeps/mach/sysdep.h: Likewise.
7070 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7071 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7072 * sysdeps/sh/sysdep.h: Likewise.
7073 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7074 * sysdeps/unix/i386/sysdep.S: Likewise.
7075 * sysdeps/unix/sparc/start.c: Likewise.
7076 * sysdeps/unix/sparc/sysdep.S: Likewise.
7077 * sysdeps/unix/sparc/sysdep.h: Likewise.
7078 * sysdeps/unix/start.c: Likewise.
7079 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7080 * sysdeps/x86_64/sysdep.h: Likewise.
7081
7082 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7083
7084 [BZ #13553]
7085 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7086 for non-gcc.
7087 * argp/argp-fmtstream.h: Use const instead __const.
7088 * argp/argp.h: Likewise.
7089 * assert/assert.h: Likewise.
7090 * bits/fenv.h: Likewise.
7091 * bits/sched.h: Likewise.
7092 * bits/sigset.h: Likewise.
7093 * bits/sigthread.h: Likewise.
7094 * catgets/nl_types.h: Likewise.
7095 * conform/data/pthread.h-data: Likewise.
7096 * crypt/crypt-private.h: Likewise.
7097 * crypt/crypt.h: Likewise.
7098 * crypt/crypt_util.c: Likewise.
7099 * ctype/ctype.h: Likewise.
7100 * debug/execinfo.h: Likewise.
7101 * debug/mbsnrtowcs_chk.c: Likewise.
7102 * debug/mbsrtowcs_chk.c: Likewise.
7103 * debug/wcsnrtombs_chk.c: Likewise.
7104 * debug/wcsrtombs_chk.c: Likewise.
7105 * debug/wcstombs_chk.c: Likewise.
7106 * dirent/dirent.h: Likewise.
7107 * dlfcn/dlfcn.h: Likewise.
7108 * elf/neededtest4.c: Likewise.
7109 * grp/grp.h: Likewise.
7110 * gshadow/gshadow.h: Likewise.
7111 * iconv/gconv.h: Likewise.
7112 * iconv/gconv_int.h: Likewise.
7113 * iconv/gconv_simple.c: Likewise.
7114 * iconv/iconv.h: Likewise.
7115 * iconv/loop.c: Likewise.
7116 * iconv/skeleton.c: Likewise.
7117 * include/aio.h: Likewise.
7118 * include/aliases.h: Likewise.
7119 * include/argz.h: Likewise.
7120 * include/arpa/inet.h: Likewise.
7121 * include/assert.h: Likewise.
7122 * include/dirent.h: Likewise.
7123 * include/dlfcn.h: Likewise.
7124 * include/execinfo.h: Likewise.
7125 * include/fcntl.h: Likewise.
7126 * include/fenv.h: Likewise.
7127 * include/glob.h: Likewise.
7128 * include/grp.h: Likewise.
7129 * include/libintl.h: Likewise.
7130 * include/mntent.h: Likewise.
7131 * include/netdb.h: Likewise.
7132 * include/pwd.h: Likewise.
7133 * include/rpc/netdb.h: Likewise.
7134 * include/sched.h: Likewise.
7135 * include/search.h: Likewise.
7136 * include/shadow.h: Likewise.
7137 * include/signal.h: Likewise.
7138 * include/stdio.h: Likewise.
7139 * include/stdlib.h: Likewise.
7140 * include/string.h: Likewise.
7141 * include/sys/socket.h: Likewise.
7142 * include/sys/stat.h: Likewise.
7143 * include/sys/statfs.h: Likewise.
7144 * include/sys/statvfs.h: Likewise.
7145 * include/sys/syslog.h: Likewise.
7146 * include/sys/time.h: Likewise.
7147 * include/sys/uio.h: Likewise.
7148 * include/time.h: Likewise.
7149 * include/unistd.h: Likewise.
7150 * include/utmp.h: Likewise.
7151 * include/wchar.h: Likewise.
7152 * include/wctype.h: Likewise.
7153 * inet/aliases.h: Likewise.
7154 * inet/arpa/inet.h: Likewise.
7155 * inet/netinet/ether.h: Likewise.
7156 * inet/netinet/in.h: Likewise.
7157 * intl/libintl.h: Likewise.
7158 * io/bits/fcntl2.h: Likewise.
7159 * io/fcntl.h: Likewise.
7160 * io/ftw.h: Likewise.
7161 * io/sys/poll.h: Likewise.
7162 * io/sys/stat.h: Likewise.
7163 * io/sys/statfs.h: Likewise.
7164 * io/sys/statvfs.h: Likewise.
7165 * io/utime.h: Likewise.
7166 * libio/bits/stdio.h: Likewise.
7167 * libio/bits/stdio2.h: Likewise.
7168 * libio/libio.h: Likewise.
7169 * libio/libioP.h: Likewise.
7170 * libio/stdio.h: Likewise.
7171 * locale/lc-ctype.c: Likewise.
7172 * locale/locale.h: Likewise.
7173 * login/utmp.h: Likewise.
7174 * malloc/arena.c: Likewise.
7175 * malloc/malloc.c: Likewise.
7176 * malloc/malloc.h: Likewise.
7177 * malloc/mcheck.c: Likewise.
7178 * malloc/mtrace.c: Likewise.
7179 * math/bits/mathcalls.h: Likewise.
7180 * math/fenv.h: Likewise.
7181 * math/math_private.h: Likewise.
7182 * misc/bits/error.h: Likewise.
7183 * misc/bits/syslog.h: Likewise.
7184 * misc/err.h: Likewise.
7185 * misc/error.h: Likewise.
7186 * misc/fstab.h: Likewise.
7187 * misc/mntent.h: Likewise.
7188 * misc/regexp.h: Likewise.
7189 * misc/search.h: Likewise.
7190 * misc/sgtty.h: Likewise.
7191 * misc/sys/mman.h: Likewise.
7192 * misc/sys/syslog.h: Likewise.
7193 * misc/sys/uio.h: Likewise.
7194 * misc/sys/xattr.h: Likewise.
7195 * misc/ttyent.h: Likewise.
7196 * nis/rpcsvc/ypclnt.h: Likewise.
7197 * nss/nss.h: Likewise.
7198 * posix/bits/unistd.h: Likewise.
7199 * posix/fnmatch.h: Likewise.
7200 * posix/glob.h: Likewise.
7201 * posix/sched.h: Likewise.
7202 * posix/spawn.h: Likewise.
7203 * posix/sys/wait.h: Likewise.
7204 * posix/unistd.h: Likewise.
7205 * posix/wordexp.h: Likewise.
7206 * pwd/pwd.h: Likewise.
7207 * resolv/netdb.h: Likewise.
7208 * resource/sys/resource.h: Likewise.
7209 * rt/aio.h: Likewise.
7210 * rt/bits/mqueue2.h: Likewise.
7211 * rt/mqueue.h: Likewise.
7212 * shadow/shadow.h: Likewise.
7213 * signal/signal.h: Likewise.
7214 * socket/send.c: Likewise.
7215 * socket/sendto.c: Likewise.
7216 * socket/sys/socket.h: Likewise.
7217 * stdio-common/printf.h: Likewise.
7218 * stdlib/bits/stdlib.h: Likewise.
7219 * stdlib/fmtmsg.h: Likewise.
7220 * stdlib/monetary.h: Likewise.
7221 * stdlib/stdlib.h: Likewise.
7222 * stdlib/ucontext.h: Likewise.
7223 * streams/stropts.h: Likewise.
7224 * string/argz.h: Likewise.
7225 * string/bits/string2.h: Likewise.
7226 * string/string.h: Likewise.
7227 * string/strings.h: Likewise.
7228 * sunrpc/rpc/auth.h: Likewise.
7229 * sunrpc/rpc/auth_des.h: Likewise.
7230 * sunrpc/rpc/clnt.h: Likewise.
7231 * sunrpc/rpc/netdb.h: Likewise.
7232 * sunrpc/rpc/pmap_clnt.h: Likewise.
7233 * sunrpc/rpc/xdr.h: Likewise.
7234 * sysdeps/generic/inttypes.h: Likewise.
7235 * sysdeps/generic/net/if.h: Likewise.
7236 * sysdeps/generic/sys/swap.h: Likewise.
7237 * sysdeps/gnu/net/if.h: Likewise.
7238 * sysdeps/gnu/utmpx.h: Likewise.
7239 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7240 * sysdeps/i386/i486/bits/string.h: Likewise.
7241 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7242 * sysdeps/s390/bits/string.h: Likewise.
7243 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7244 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7245 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7246 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7247 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7248 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7249 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7250 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7251 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7252 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7253 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7254 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7255 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7256 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7257 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7258 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7259 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7260 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7261 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7262 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7263 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7264 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7265 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7266 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7267 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7268 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7269 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7270 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7271 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7272 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7273 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7274 * sysvipc/sys/ipc.h: Likewise.
7275 * sysvipc/sys/msg.h: Likewise.
7276 * sysvipc/sys/sem.h: Likewise.
7277 * sysvipc/sys/shm.h: Likewise.
7278 * termios/termios.h: Likewise.
7279 * time/sys/time.h: Likewise.
7280 * time/time.h: Likewise.
7281 * wcsmbs/bits/wchar2.h: Likewise.
7282 * wcsmbs/uchar.h: Likewise.
7283 * wcsmbs/wchar.h: Likewise.
7284 * wctype/wctype.h: Likewise.
7285
7286 [BZ #13551]
7287 * Makeconfig: Remove all but ELF support including AIX support.
7288 * Makerules: Likewise.
7289 * config.h.in: Likewise.
7290 * config.make.in: Likewise.
7291 * configure: Likewise.
7292 * configure.in: Likewise.
7293 * csu/Makefile: Likewise.
7294 * csu/version.c: Likewise.
7295 * debug/Makefile: Likewise.
7296 * dlfcn/Makefile: Likewise.
7297 * elf/Makefile: Likewise.
7298 * extra-lib.mk: Likewise.
7299 * iconv/Makefile: Likewise.
7300 * include/libc-symbols.h: Likewise.
7301 * include/shlib-compat.h: Likewise.
7302 * resolv/Makefile: Likewise.
7303 * resolv/res_libc.c: Likewise.
7304 * rt/Makefile: Likewise.
7305 * sysdeps/i386/asm-syntax.h: Likewise.
7306 * sysdeps/i386/sysdep.h: Likewise.
7307 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7308 * sysdeps/mach/sysdep.h: Likewise.
7309 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7310 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7311 * sysdeps/s390/asm-syntax.h: Likewise.
7312 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7313 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7314 * sysdeps/sh/sysdep.h: Likewise.
7315 * sysdeps/unix/sparc/sysdep.h: Likewise.
7316 * sysdeps/wordsize-32/divdi3.c: Likewise.
7317 * sysdeps/x86_64/sysdep.h: Likewise.
7318
7319 * argp/Versions: Remove _argp_unlock_xxx.
7320
7321 [BZ #13559]
7322 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7323 * abilist/libBrokenLocale.abilist: Likewise.
7324 * abilist/libanl.abilist: Likewise.
7325 * abilist/libc.abilist: Likewise.
7326 * abilist/libcrypt.abilist: Likewise.
7327 * abilist/libdl.abilist: Likewise.
7328 * abilist/libm.abilist: Likewise.
7329 * abilist/libnsl.abilist: Likewise.
7330 * abilist/libpthread.abilist: Likewise.
7331 * abilist/libresolv.abilist: Likewise.
7332 * abilist/librt.abilist: Likewise.
7333 * abilist/libthread_db.abilist: Likewise.
7334 * abilist/libutil.abilist: Likewise.
7335 * abilist/libnss_db.abilist: New file.
7336
7337 * scripts/abilist.awk: Add support for indirect functions.
7338
7339 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7340
7341 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7342
7343 * shlib-versions: Remove entries for ports architectures.
7344
7345 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7346 files in ports.
7347 * elf/stackguard-macros.h: Remove support for IA-64.
7348 * elf/tst-auditmod1.c: Likewise.
7349 * sysdeps/generic/ldsodefs.h: Likewise.
7350
7351 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7352 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7353 configure files.
7354
7355 [BZ #13552]
7356 * configure.in: Remove --enable-omitfp support.
7357 * FAQ.in: Adjust.
7358 * config.make.in: Likewise.
7359 * Makeconfig: Likewise.
7360 * manual/install.texi: Likewise.
7361
7362 In case anyone cares, the IA-64 architecture could move to ports.
7363 * sysdeps/ia64/*: Removed.
7364 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7365 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7366
7367 [BZ #13555]
7368 * configure.in: Remove entries for unsupported architectures.
7369
7370 [BZ #13533]
7371 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7372 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7373 routines.
7374 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7375 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7376 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7377 fall back to using wcrtomb.
7378 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7379 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7380 renaming.
7381 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7382 * wcsmbs/tst-c16c32-1.c: New file.
7383
7384 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7385 local variable.
7386
7387 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7388
7389 * elf/tst-unique3.cc: Add explicit declaration of gets.
7390 * elf/tst-unique3lib.cc: Likewise.
7391 * elf/tst-unique3lib2.cc: Likewise.
7392 * elf/tst-unique4.cc: Likewise.
7393
7394 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7395
7396 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7397
7398 [BZ #13566]
7399 * assert/assert.h (static_assert): Don't define for C++.
7400 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7401 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7402
7403 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7404
7405 * iconv/loop.c (single loop): Fix assertion in storing of
7406 remaining bytes.
7407
7408 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7409
7410 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7411
7412 * posix/getconf.c: Update copyright year.
7413 * nss/getent.c: Likewise.
7414 * nss/makedb.c: Likewise.
7415 * iconv/iconvconfig.c: Likewise.
7416 * iconv/iconv_prog.c: Likewise.
7417 * elf/ldconfig.c: Likewise.
7418 * elf/pldd.c: Likewise.
7419 * elf/sotruss.ksh: Likewise.
7420 * catgets/gencat.c: Likewise.
7421 * csu/version.c: Likewise.
7422 * elf/ldd.bash.in: Likewise.
7423 * elf/sprof.c (print_version): Likewise.
7424 * locale/programs/locale.c: Likewise.
7425 * locale/programs/localedef.c: Likewise.
7426 * login/programs/pt_chown.c: Likewise.
7427 * nscd/nscd.c (print_version): Likewise.
7428 * debug/xtrace.sh: Likewise.
7429 * malloc/memusage.sh: Likewise.
7430 * malloc/mtrace.pl: Likewise.
7431 * debug/catchsegv.sh: Likewise.
7432
7433 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7434
7435 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7436 pure attribute.
7437
7438 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7439
7440 [BZ #13533]
7441 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7442 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7443 transformations.
7444 * iconv/gconv_int.h: Likewise.
7445 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7446 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7447 from libc for GLIBC_2.16.
7448 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7449 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7450 * wcsmbs/uchar.h: Really define mbstate_t.
7451 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7452 * wcsmbs/c16rtomb.c: New file.
7453 * wcsmbs/mbrtoc16.c: New file.
7454 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7455 for C/POSIX locale.
7456 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7457 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7458
7459 * wcsmbs/wchar.h: Add missing __restrict.
7460
7461 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7462
7463 [BZ #13532]
7464 * time/Makefile (routines): Add timespec_get.
7465 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7466 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7467 timespec for ISO C11.
7468 * time/timespec_get.c: New file.
7469 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7470 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7471
7472 [BZ #13531]
7473 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7474 * stdlib/stdlib.h: Declare aligned_alloc.
7475 * Versions.def: Add GLIBC_2.16 for libc.
7476 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7477
7478 [BZ 13527]
7479 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7480 ISO C11.
7481
7482 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7483 code.
7484
7485 [BZ #13528]
7486 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7487
7488 [BZ #13529]
7489 * assert/assert.h (static_assert): Define.
7490
7491 * version.h: Update for 2.16 development version.
7492
7493 [BZ #13526]
7494 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7495 _ISOC11_SOURCE.
7496
7497 * version.h (RELEASE): Bump for 2.15 release.
7498 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7499
7500 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7501 Patch by Marek Polacek <mpolacek@redhat.com>.
7502
7503 * bits/byteswap.h: Protect long long constants with __extension__.
7504 * sysdeps/i386/bits/byteswap.h: Likewise.
7505 * sysdeps/ia64/bits/byteswap.h: Likewise.
7506 * sysdeps/s390/bits/byteswap.h: Likewise.
7507 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7508
7509 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7510
7511 [BZ #13540]
7512 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7513 destination buffer.
7514 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7515
7516 2011-12-23 Marek Polacek <polacek@redhat.com>
7517
7518 * elf/dl-addr.c (determine_info): Add inline keyword.
7519 * elf/tst-auditmod4b.c (check_avx): Likewise.
7520 * elf/tst-auditmod6b.c (check_avx): Likewise.
7521 * elf/tst-auditmod6c.c (check_avx): Likewise.
7522 * elf/tst-auditmod7b.c (check_avx): Likewise.
7523
7524 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7525
7526 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7527 !__SSE_MATH__.
7528
7529 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7530
7531 [BZ #13540]
7532 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7533 processing for last bytes.
7534
7535 2011-08-06 Bruno Haible <bruno@clisp.org>
7536
7537 [BZ #13061]
7538 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7539 U+0385, not to U+1FEE.
7540
7541 [BZ #13062]
7542 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7543 entry for U+00A5 U+0301.
7544
7545 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7546
7547 [BZ #13166]
7548 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7549 buffer for the output is too small.
7550
7551 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7552 optimization.
7553
7554 [BZ #13185]
7555 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7556 SSE flags if possible.
7557
7558 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7559
7560 [BZ #13540]
7561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7562 processing for last bytes.
7563
7564 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7565
7566 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7567 (syscall-list-default-options, syscall-list-default-condition)
7568 (syscall-list-includes): Define.
7569 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7570 list of ABIs and options and #if conditions for each ABI. Do not
7571 handle common syscalls between ABIs specially.
7572 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7573 Remove.
7574 (syscall-list-variants, syscall-list-32bit-options)
7575 (syscall-list-32bit-condition, syscall-list-64bit-options)
7576 (syscall-list-64bit-condition): Define.
7577 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7578 (syscall-list-variants, syscall-list-32bit-options)
7579 (syscall-list-32bit-condition, syscall-list-64bit-options)
7580 (syscall-list-64bit-condition): Define.
7581 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7582 Remove.
7583 (syscall-list-variants, syscall-list-32bit-options)
7584 (syscall-list-32bit-condition, syscall-list-64bit-options)
7585 (syscall-list-64bit-condition): Define.
7586 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7587 Remove.
7588 (syscall-list-variants, syscall-list-32bit-options)
7589 (syscall-list-32bit-condition, syscall-list-64bit-options)
7590 (syscall-list-64bit-condition): Define.
7591
7592 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7593
7594 * locale/iso-639.def: Add brx entry.
7595
7596 [BZ #13328]
7597 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7598 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7599
7600 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7601 __feraiseexcept_renamed.
7602
7603 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7604
7605 [BZ #13538]
7606 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7607 EPOLLET with unsigned values.
7608 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7609 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7610
7611 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7612 to large cancellation.
7613 * math/s_cacoshf.c: Likewise.
7614 * math/s_cacoshl.c: Likewise.
7615
7616 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7617
7618 [BZ #13305]
7619 [BZ #12786]
7620 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7621 * math/s_cacoshf.c: Likewise.
7622 * math/s_cacoshl.c: Likewise.
7623
7624 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7625
7626 [BZ #13439]
7627 * iconv/gconv.h: Define __GCONV_SWAP.
7628 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7629 * iconvdata/utf-16.c: Likewise.
7630 * iconvdata/utf-32.c: Likewise.
7631
7632 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7633
7634 [BZ #13524]
7635 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7636 numerator after shifting it by one limb.
7637
7638 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7639
7640 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7641 under [__USE_EXTERN_INLINES].
7642
7643 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7644
7645 [BZ #13446]
7646 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7647
7648 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649
7650 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7651 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7652 optimized code.
7653 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7654 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7655 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7656 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7657 for strncasecmp/strncasecmp_l compilation.
7658 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7659 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7660
7661 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7662
7663 [BZ #13484]
7664 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7665 of __asm__.
7666
7667 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7668
7669 [BZ #13506]
7670 * time/tzfile.c (__tzfile_read): Check values from file header.
7671
7672 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7673
7674 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7675 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7676 * powerpc/powerpc32/dl-start.S: Likewise.
7677 * powerpc/powerpc32/elf/start.S: Likewise.
7678 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7679 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7680 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7681 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7682 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7683 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7684 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7685 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7686 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7687 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7688 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7689 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7690 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7691 * powerpc/powerpc32/memset.S: Likewise.
7692 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7693 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7694 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7695 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7696 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7697 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7698 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7699 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7700 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7701 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7702 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7703 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7704 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7705
7706 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7707
7708 * math/libm-test.inc: Added more nearbyint tests.
7709 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7710 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7711 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7712 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7713
7714 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7715
7716 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7717 FD_CLOEXEC.
7718
7719 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7720
7721 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7722 Add wcscpy-ssse3 wcscpy-c.
7723 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7724 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7725 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7726 * sysdeps/x86_64/wcschr.S: New file.
7727 * sysdeps/x86_64/wcsrchr.S: New file.
7728 * string/test-strcmp.c: Remove checking of wcscmp function for
7729 wrong alignments.
7730 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7731 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7732 wcsrchr-sse2 wcsrchr-c.
7733 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7734 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7735 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7736 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7737 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7738 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7739 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7740 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7741 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7742 * wcsmbc/wcschr.c (WCSCHR): New macro.
7743
7744 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7745
7746 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7747 * wcsmbs/test-wcsrchr.c: New file.
7748 * string/test-strrchr.c: Add wcsrchr support.
7749 (WIDE): New macro.
7750 * wcsmbs/test-wcscpy.c: New file.
7751 * string/test-strcpy.c: Add wcscpy support.
7752 (WIDE): New macro.
7753
7754 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7755
7756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7757 the inner loop.
7758
7759 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7760
7761 [BZ #13472]
7762 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7763
7764 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7765
7766 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7767 Minor optimizations.
7768
7769 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7770 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7771 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7772
7773 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7774
7775 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7776 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7777 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7778 for gcc to avoid warnings.
7779 * inet/Makefile (tests): Add tst-checks.
7780 * inet/tst-checks.c: New file.
7781
7782 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7783 warning.
7784
7785 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7786 __wmemcmp_sse2.
7787
7788 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7789 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7790
7791 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7792
7793 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7794
7795 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7796 problem.
7797
7798 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7799
7800 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7801
7802 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7803 conditional on GCC version.
7804 (__arch_compare_and_exchange_val_8_acq)
7805 (__arch_compare_and_exchange_val_16_acq)
7806 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7807 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7808 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7809
7810 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7811
7812 * sysdeps/sh/backtrace.c: New file.
7813
7814 2011-12-02 Andreas Schwab <schwab@redhat.com>
7815
7816 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7817 parenthesis.
7818
7819 2011-12-01 Andreas Schwab <schwab@redhat.com>
7820
7821 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7822 falling back to utime.
7823
7824 2011-11-30 Andreas Schwab <schwab@redhat.com>
7825
7826 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7827 expectations for float.
7828
7829 2011-11-29 Andreas Schwab <schwab@redhat.com>
7830
7831 * locale/weight.h (findidx): Add parameter len.
7832 * locale/weightwc.h (findidx): Likewise.
7833 * posix/fnmatch_loop.c (FCT): Adjust caller.
7834 * posix/regcomp.c (build_equiv_class): Likewise.
7835 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7836 * posix/regexec.c (check_node_accept_bytes): Likewise.
7837 * string/strcoll_l.c (STRCOLL): Likewise.
7838 * string/strxfrm_l.c (STRXFRM): Likewise.
7839
7840 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7841
7842 * Makefile.in: Remove CVSOPT handling.
7843 * configure.in: Remove use of AC_REVISION.
7844 * iconvdata/Makefile (distribute): No need to filter out CVS.
7845 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7846 handling.
7847
7848 2011-11-16 Andreas Schwab <schwab@redhat.com>
7849
7850 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7851 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7852 [USE_AS_STRNCASECMP_L]: Likewise.
7853 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7854 NO_TLS_DIRECT_SEG_REFS.
7855 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7856 Fix argument offsets for non-PIC.
7857 [USE_AS_STRNCASECMP_L]: Likewise.
7858 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7859 NO_TLS_DIRECT_SEG_REFS.
7860
7861 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7862
7863 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7864 O_CLOEXEC.
7865 * locale/loadlocale.c (_nl_load_locale): Likewise.
7866
7867 2011-11-15 Andreas Schwab <schwab@redhat.com>
7868
7869 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7870 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7871 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7872 (SYSCALL_GETTIME): Set errno on error.
7873
7874 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7875 count references to noai6ai_cached.
7876
7877 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7878
7879 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7880
7881 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7882 FD_CLOEXEC for /proc/self/maps.
7883
7884 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7885 FD_CLOEXEC for /proc/meminfo.
7886
7887 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7888 gai.conf.
7889
7890 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7891 FD_CLOEXEC for given file.
7892
7893 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7894
7895 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7896 FD_CLOEXEC for /etc/hosts.
7897 (_gethtent): Likewise.
7898
7899 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7900
7901 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7902 cancellation and set FD_CLOEXEC for /etc/netgroup.
7903
7904 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7905 reading /etc/publickey.
7906
7907 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7908 allow cancellation when reading /etc/group.
7909
7910 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7911 cancellation.
7912 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7913
7914 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7915 when using data file.
7916
7917 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7918
7919 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7920 (write_nis_obj): Use "c" and "e" in fopen.
7921
7922 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7923
7924 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7925
7926 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7927
7928 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7929
7930 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7931 locale.alias.
7932
7933 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7934
7935 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7936
7937 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7938
7939 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7940 file parsing and set FD_CLOEXEC.
7941
7942 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7943
7944 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7945
7946 2011-11-14 Andreas Schwab <schwab@redhat.com>
7947
7948 * malloc/arena.c (arena_get2): Don't call reused_arena when
7949 _int_new_arena failed.
7950
7951 2011-11-14 Ulrich Drepper <drepper@gmail.com>
7952
7953 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7954 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7955 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7956 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7957 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7958 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7959 to compile strcasecmp and strncasecmp.
7960 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7961 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7962
7963 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7964
7965 2011-11-13 Ulrich Drepper <drepper@gmail.com>
7966
7967 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7968 locale-defines.sym to gen-as-const-headers.
7969 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7970 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7971 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7972 to compile strcasecmp and strncasecmp.
7973 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7974 strcasecmp_l and strncasecmp_l.
7975 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7976 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7977 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7978 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7979 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7980 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7981 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7982 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7983 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7984 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7985 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7986
7987 2011-11-12 Ulrich Drepper <drepper@gmail.com>
7988
7989 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7990 result of SYSDEP_GETTIME_CPU to retval.
7991 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7992 parameter list to macro. Remove trailing semicolon. Adjust users.
7993
7994 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7995 variable.
7996
7997 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7998 mantissa words.
7999 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8000
8001 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8002 from unused variable.
8003
8004 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8005 DWARF definitions.
8006 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8007 for assembling.
8008
8009 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8010 over namespaces.
8011
8012 * sunrpc/rpc_prot.c (rejected): Fix case value.
8013
8014 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8015 unsigned long long int to avoid warnings in shift.
8016
8017 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8018 of use of trans.
8019 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8020 variable tmp.
8021
8022 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8023 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8024 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8025
8026 * nis/nis_table.c (nis_list): Use variable of correct type for
8027 result of __follow_path call.
8028
8029 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8030
8031 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8032 of math functions ceil, trunc, floor, round, and sqrt, when
8033 avaliable on the platform.
8034 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8035 name clash.
8036 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8037 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8038 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8039
8040 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8041
8042 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8043 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8044
8045 2011-11-11 Roland McGrath <roland@hack.frob.com>
8046
8047 * include/unistd.h: Fix __readlink return type.
8048 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8049
8050 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8051
8052 * stdlib/ucontext.h: Undo last change for makecontext.
8053
8054 2011-11-11 Andreas Schwab <schwab@redhat.com>
8055
8056 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8057
8058 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8059 * setjmp/setjmp.h: Mark functions as non-leaf.
8060 * setjmp/bits/setjmp2.h: Likewise.
8061 * stdlib/ucontext.h: Likewise.
8062
8063 2011-11-10 Andreas Schwab <schwab@redhat.com>
8064
8065 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8066 (reused_arena): Don't check arena limit.
8067 (arena_get2): Atomically check arena limit.
8068
8069 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8070
8071 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8072 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8073
8074 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8075 instructions.
8076
8077 2011-11-07 Andreas Schwab <schwab@redhat.com>
8078
8079 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8080 handler when locking.
8081
8082 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8083 Fix size of allocated buffer.
8084
8085 2011-11-04 Andreas Schwab <schwab@redhat.com>
8086
8087 [BZ #10103]
8088 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8089 declarations for long double functions.
8090 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8091
8092 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8093
8094 2011-11-03 Andreas Schwab <schwab@redhat.com>
8095
8096 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8097 installed.
8098
8099 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8100 is disabled.
8101
8102 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8103
8104 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8105
8106 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8107
8108 * include/alloca.h (stackinfo_alloca_round): Define.
8109 (extend_alloca): Use it.
8110 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8111 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8112 here.
8113
8114 * scripts/check-local-headers.sh: Ignore libaudit.h.
8115
8116 * nscd/Makefile (extra-objs): Make recursively expanded.
8117
8118 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8119
8120 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8122
8123 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8124 * posix/tst-rfc3484-2.c: Likewise.
8125 * posix/tst-rfc3484-3.c: Likewise.
8126
8127 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8128 process_vm_writev.
8129 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8130 process_vm_writev.
8131 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8132 process_vm_writev from libc using GLIBC_2.15 version.
8133
8134 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8135
8136 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8137
8138 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8139 stack usage.
8140
8141 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8142
8143 [BZ #13367]
8144 * nss/getent.c (initgroups_keys): Show error message in case no group
8145 names are given.
8146
8147 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8148 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8149 __bump_nl_timestamp.
8150 * nscd/connections (nscd_init): When host database is served open
8151 netlink socket and request notification about configuration changes.
8152 (main_loop_poll): Track netlink file descriptor and bump timestamp
8153 in case data becomes available.
8154 (main_loop_epoll): Likewise.
8155 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8156 (database_pers_head): Add extra_data fileds.
8157 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8158 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8159 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8160 Adjust caller.
8161 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8162 in6ai data, call __free_in6ai.
8163 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8164 Add -DHAVE_NETLINK.
8165 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8166 interface information. Reuse previous data if netlink timestamp
8167 is not changed.
8168 (__bump_nl_timestamp): New function.
8169 (__free_in6ai): New function.
8170
8171 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8172
8173 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8174 close_not_cancel_no_status here.
8175 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8176
8177 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8178
8179 [BZ #13276]
8180 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8181 return value.
8182
8183 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8184 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8185 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8186
8187 2011-07-03 Andreas Jaeger <aj@suse.de>
8188
8189 [BZ #10709]
8190 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8191 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8192 * math/libm-test.inc (sin_test): Add test case.
8193
8194 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8195
8196 [BZ #13337]
8197 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8198 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8199
8200 * elf/chroot_canon.c (chroot_canon): Cleanups.
8201
8202 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8203
8204 [BZ #13335]
8205 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8206 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8207
8208 * string/test-strchr.c: Make usable for strchrnul testing.
8209 * string/test-strchrnul.c: New file.
8210 * string/Makefile (strop-tests): Add strchrnul.
8211
8212 * po/it.po: Update from translation team.
8213 * po/es.po: Likewise.
8214
8215 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8216
8217 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8218 the three constants needed as parameters. Drop the others.
8219 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8220 __m128i_strloadu_tolower.
8221 Create and initialize variable zero and use it in all the places
8222 where _mm_setzero_si128 was used.
8223
8224 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8225 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8226 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8227 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8228 anymore.
8229 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8230 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8231 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8232 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8233 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8234 __mpranred, __mptan.
8235 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8236 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8237 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8238 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8239 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8240 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8241 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8242 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8243 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8244
8245 2011-10-28 Andreas Schwab <schwab@redhat.com>
8246
8247 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8248 redefine if SHARED.
8249 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8250
8251 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8252 wide char related routines to wcsmbs subdir.
8253
8254 2011-10-27 Andreas Schwab <schwab@redhat.com>
8255
8256 [BZ #13344]
8257 * misc/sys/cdefs.h (__THROWNL): Define.
8258 * posix/unistd.h: Use __THREADNL instead of __THREAD
8259 for memory synchronization functions.
8260
8261 2011-10-26 Roland McGrath <roland@hack.frob.com>
8262
8263 [BZ #13349]
8264 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8265 doesn't exist.
8266 * manual/stdio.texi (Obstack Streams): Node removed.
8267
8268 2011-10-26 Andreas Schwab <schwab@redhat.com>
8269
8270 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8271 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8272 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8273
8274 * math/math_private.h (math_force_eval): Allow non-addressable
8275 arguments.
8276 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8277
8278 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8279
8280 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8281 file is not needed.
8282
8283 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8284 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8285 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8286 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8287 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8288 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8289 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8290 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8291 Add AVX variants.
8292 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8293 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8294 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8295 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8296 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8297 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8298 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8299 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8300 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8301 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8302 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8303 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8304 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8305 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8306 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8307 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8308 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8309 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8310 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8311
8312 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8313 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8314
8315 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8316 place. Use VEX encoding when compiling for AVX.
8317
8318 2011-10-25 Andreas Schwab <schwab@redhat.com>
8319
8320 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8321 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8322
8323 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8324
8325 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8326
8327 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8328 useless if() expression.
8329 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8332 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8334 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8336 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8337 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8338 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8339 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8340 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8341 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8342 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8343 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8344 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8345 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8346 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8347 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8348
8349 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8350
8351 2011-10-25 Andreas Schwab <schwab@redhat.com>
8352
8353 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8354 condition.
8355 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8356
8357 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8358
8359 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8360 .text section. Avoid duplicate constants.
8361 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8362 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8371 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8373 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8375 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8376 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8377 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8378 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8384 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8385 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8386 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8387 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8388 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8390 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8391 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8392 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8393 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8394 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8395 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8396 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8397 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8398 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8399 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8400 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8401 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8402 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8403 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8404 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8405 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8406
8407 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8408
8409 * sysdeps/x86_64/dla.h: Move to ...
8410 * sysdeps/x86_64/fpu/dla.h: ...here.
8411 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8412 situations. Use __builtin_fma only for gcc 4.6 and up.
8413
8414 * config.make.in: Add have-mfma4 entry.
8415 * configure.in: Substitute libc_cv_cc_fma4.
8416 * math/Makefile (dbl-only-routines): Add sincostab.
8417 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8418 Use __sincostab not sincos.
8419 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8420 name is a macro.
8421 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8425 using __copysign.
8426 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8427 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8428 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8429 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8430 and __inv.
8431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8432 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8433 __copysign.
8434 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8435 define aliases when function name is a macro.
8436 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8437 sysdeps/ieee754/dbl-64/sincos.tbl.
8438 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8439 fma4-enabled routines.
8440 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8441 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8442 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8443 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8444 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8445 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8446 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8447 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8448 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8449 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8450 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8451 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8452 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8453 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8454 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8455 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8456 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8457 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8458 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8459 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8460 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8461 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8462 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8463 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8464 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8465 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8466 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8467 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8468 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8469 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8470
8471 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8472 rename.
8473 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8480 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8481
8482 2011-10-24 Andreas Schwab <schwab@redhat.com>
8483
8484 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8485
8486 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8487
8488 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8489
8490 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8491 prediction.
8492 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8493
8494 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8495 Remove unused variable magic_bits.
8496 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8497
8498 * string/strnlen.c: Define and use STRNLEN macro.
8499 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8500 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8502 * wcsmbs/wcslen.c: Define and use WCSLEN.
8503 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8504 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8505 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8506 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8507 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8508 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8509 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8510
8511 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8512
8513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8514 strnlen-sse2-no-bsf.
8515 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8516 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8517 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8518 Add strnlen support.
8519 (USE_AS_STRNLEN): New macro.
8520 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8521 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8522 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8523 * sysdeps/x86_64/wcslen.S: New file.
8524
8525 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8526
8527 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8528 XMM-moves are used for copying on small sizes.
8529
8530 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8531
8532 * wcsmbs/Makefile (strop-tests): Add wcschr.
8533 * wcsmbs/test-wcschr.c: New file.
8534 * string/test-strchr.c: Update.
8535 Add wcschr support.
8536 (WIDE): New macro.
8537
8538 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8539
8540 * wcsmbs/Makefile (strop-tests): Add wcslen.
8541 * wcsmbs/test-wcslen.c: New file.
8542 * string/test-strlen.c: Update.
8543 Add wcslen support.
8544 (WIDE): New macro.
8545
8546 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8547
8548 * po/it.po: Update from translation team.
8549
8550 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8551
8552 * sysdeps/x86_64/wcscmp.S: Update.
8553 Fix wrong comparison semantics.
8554 wcscmp shall use signed comparison not unsigned.
8555 Don't use substraction to avoid overflow bug.
8556 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8557 * wcsmbc/wcscmp.c: Likewise.
8558 * string/test-strcmp.c: Likewise.
8559 Add new tests to check cases with negative values.
8560
8561 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8562
8563 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8564 * sysdeps/x86_64/dla.h: ...here. New file.
8565 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8566 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8567 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8568 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8569 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8570 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8571 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8572 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8573 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8574
8575 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8576
8577 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8578 __ynl_finite aliases.
8579
8580 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8581
8582 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8583
8584 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8585 define DLA_FMA.
8586 [DLA_FMA] (EMULV): Use DLA_FMA.
8587 [DLA_FMA] (MUL12): Use EMULV.
8588 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8589 that are not needed.
8590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8591 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8592 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8593 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8596 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8597
8598 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8599
8600 * math/s_nan.c: Undef __nan.
8601 * math/s_nanf.c: Undef __nanf.
8602 * math/s_nanl.c: Undef __nanl.
8603 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8604 "math_private.h".
8605
8606 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8607
8608 * math/s_catan.c: Add branch predictions.
8609 * math/s_catanf.c: Likewise.
8610 * math/s_catanh.c: Likewise.
8611 * math/s_catanhf.c: Likewise.
8612 * math/s_catanhl.c: Likewise.
8613 * math/s_catanl.c: Likewise.
8614 * math/s_cexp.c: Likewise.
8615 * math/s_cexpf.c: Likewise.
8616 * math/s_cexpl.c: Likewise.
8617 * math/s_clog.c: Likewise.
8618 * math/s_clog10.c: Likewise.
8619 * math/s_clog10f.c: Likewise.
8620 * math/s_clog10l.c: Likewise.
8621 * math/s_clogf.c: Likewise.
8622 * math/s_clogl.c: Likewise.
8623 * math/s_csqrt.c: Likewise.
8624 * math/s_csqrtf.c: Likewise.
8625 * math/s_csqrtl.c: Likewise.
8626 * math/s_ctanf.c: Likewise.
8627 * math/s_ctanh.c: Likewise.
8628 * math/s_ctanhf.c: Likewise.
8629 * math/s_ctanhl.c: Likewise.
8630 * math/s_ctanl.c: Likewise.
8631
8632 * math/math_private.h: Define __nan, __nanf, __nanl.
8633 * math/s_cacosh.c: Include <math_private.h>.
8634 * math/s_cacoshl.c: Likewise.
8635 * math/s_casinh.c: Likewise.
8636 * math/s_casinhf.c: Likewise.
8637 * math/s_casinhl.c: Likewise.
8638 * math/s_ccos.c: Rely entire on ccosh.
8639 * math/s_ccosf.c: Rely entire on ccoshf.
8640 * math/s_ccosl.c: Rely entirely on ccoshl.
8641 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8642 Remove tests for FE_INVALID.
8643 * math/s_ccoshf.c: Likewise.
8644 * math/s_ccoshl.c: Likewise.
8645 * math/s_csin.c: Likewise.
8646 * math/s_csinf.c: Likewise.
8647 * math/s_csinh.c Likewise.
8648 * math/s_csinhf.c: Likewise.
8649 * math/s_csinhl.c: Likewise.
8650 * math/s_csinl.c: Likewise.
8651 * math/s_ctan.c: Likewise.
8652 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8653 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8654 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8655
8656 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8657
8658 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8659 compilation problems.
8660
8661 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8662 __builtin_expect.
8663
8664 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8665
8666 * sysdeps/i386/configure.in: Test for -mfma4 option.
8667 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8668 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8669 COMMON_CPUID_INDEX_80000001.
8670 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8671 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8672 use it if FMA3 is not supported.
8673 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8674
8675 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8676 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8677
8678 2011-10-20 Andreas Schwab <schwab@redhat.com>
8679
8680 [BZ #12892]
8681 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8682 it would create a cycle with a link time dependency.
8683
8684 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8685
8686 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8687 instruction.
8688 * string/Makefile (strop-tests): Add rawmemchr.
8689 * string/test-rawmemchr.c: New file.
8690
8691 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8692 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8693 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8694 when compiling str{,n}casecmp and when AVX is available. Hook up
8695 new optimized code in initializers.
8696
8697 2011-10-19 Andreas Schwab <schwab@redhat.com>
8698
8699 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8700 __feraiseexcept instead of feraiseexcept.
8701
8702 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8703
8704 * math/math_private.h: Define defaults for libc_fetestexcept and
8705 libc_feupdateenv.
8706 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8707 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8708 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8709 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8710 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8711 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8712 libc_fetestexcept and libc_feupdateenv.
8713
8714 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8715 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8716 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8717 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8718 libc_feholdexcept_setround.
8719
8720 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8721 Add s_nearbyint-c and s_nearbyintf-c.
8722 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8723 nearbyintf inlines.
8724 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8725 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8726 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8727 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8728
8729 * math/math_private.h: Define defaults for libc_fegetround,
8730 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8731 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8732 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8733 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8734 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8735 standard functions.
8736 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8737 Remove comments and hacks for old compiler versions.
8738 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8739 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8740 libc_feholdexceptl.
8741
8742 2011-10-18 Andreas Schwab <schwab@redhat.com>
8743
8744 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8745 (__feraiseexcept_renamed): Add __NTH.
8746 (feraiseexcept): Add __NTH. Rename local variables to fix
8747 namespace violations.
8748
8749 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8750
8751 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8752
8753 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8754
8755 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8756 recently added interfaces.
8757 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8758
8759 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8760 about macro parameter expansion.
8761
8762 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8763 __NO_MATH_INLINES is defined. Cleanups.
8764
8765 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8766 and __floorf is target has SSE4.1.
8767 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8768 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8770 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8771
8772 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8773 name.
8774 (floorf): Likewise.
8775
8776 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8777
8778 2011-10-17 Andreas Schwab <schwab@redhat.com>
8779
8780 * misc/sys/cdefs.h: Fix last change.
8781
8782 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8783 database lookup.
8784
8785 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8786
8787 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8788
8789 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8790 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8791 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8792 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8793 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8795 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8796 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8797 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8798 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8799 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8800 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8801 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8802 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8803 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8804 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8805 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8806 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8807 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8808 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8809 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8810 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8811
8812 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8813 ceil, ceilf, floor, floorf.
8814
8815 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8816 Perform IRELATIVE relocations last.
8817
8818 * elf/do-rel.h: Add another parameter nrelative, replacing the
8819 local variable with the same name. Change name of the function
8820 to end in Rel or Rela (uppercase).
8821 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8822 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8823 elf_dynamic_do_##reloc function.
8824
8825 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8826
8827 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8828 is sufficient, at least on modern CPUs.
8829
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8831
8832 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8833 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8834
8835 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8836 __expl_finite.
8837 * math/bits/math-finite.h: Add entries for exp.
8838 * math/e_expl.c: Add __*_finite alias.
8839 * sysdeps/i386/fpu/e_exp.S: Likewise.
8840 * sysdeps/i386/fpu/e_expf.S: Likewise.
8841 * sysdeps/i386/fpu/e_expl.c: Likewise.
8842 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8843 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8844 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8846 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8847 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8848 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8849
8850 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8851 is sufficient, at least on modern CPUs.
8852
8853 * ctype/ctype-info.c (__ctype_init): Define.
8854 * include/ctype.h (__ctype_init): Declare.
8855 (__ctype_b_loc): The variable is always initialized.
8856 (__ctype_toupper_loc): Likewise.
8857 (__ctype_tolower_loc): Likewise.
8858 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8859 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8860
8861 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8862
8863 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8864
8865 * configure.in: Also look in $cxxmachine/include for C++ system
8866 headers.
8867
8868 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8869
8870 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8871 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8872 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8873 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8874 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8875 (USE_AS_WMEMCMP): New macro.
8876 Fixing indents.
8877 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8878 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8879 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8880 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8882 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8883 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8884 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8885 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8886 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8887 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8888 (USE_AS_WMEMCMP): New macro.
8889 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8890 * sysdeps/string/test-memcmp.c: Update.
8891 Fix simple_wmemcmp.
8892 Add new tests.
8893 * wcsmbs/wmemcmp.c: Update.
8894 (WMEMCMP): New macro.
8895 Fix overflow bug.
8896
8897 2011-10-12 Andreas Jaeger <aj@suse.de>
8898
8899 [BZ #13268]
8900 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8901
8902 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8903
8904 * libio/iofwide.c (do_length): Avoid warning.
8905
8906 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8907
8908 2011-10-14 Ulrich Drepper <drepper@gmail.com>
8909
8910 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8911
8912 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8913 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8914 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8915 * sysdeps/i386/i686/fpu/e_log.S: New file.
8916 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8917 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8918
8919 * ctype/ctype.h: Add support for inlined isXXX functions when
8920 compiling C++ code.
8921
8922 2011-10-14 Andreas Schwab <schwab@redhat.com>
8923
8924 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8925
8926 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8927
8928 2011-10-13 Roland McGrath <roland@hack.frob.com>
8929
8930 [BZ #13291]
8931 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8932
8933 2011-10-13 Andreas Schwab <schwab@redhat.com>
8934
8935 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8936 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8937 feraiseexcept.
8938
8939 * sysdeps/x86_64/memrchr.S: Check for zero size.
8940
8941 * string/stratcliff.c: Add memrchr tests.
8942
8943 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8944
8945 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8946 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8947 rawmemchr-sse2 rawmemchr-sse2-bsf.
8948 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8949 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8950 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8951 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8952 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8953 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8954 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8955 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8956 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8957 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8958 * string/memrchr.c (MEMRCHR): New macro.
8959
8960 2011-10-12 Ulrich Drepper <drepper@gmail.com>
8961
8962 Add integration with gcc's -ffinite-math-only and optimize wrapper
8963 functions in libm.
8964 * Versions.def: Define GLIBC_2.15 version for libm.
8965 * math/Makefile (headers): Add bits/math-finite.h.
8966 * math/bits/math-finite.h: New file.
8967 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8968 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8969 * math/e_acoshl.c: Add __*_finite alias.
8970 * math/e_acosl.c: Likewise.
8971 * math/e_asinl.c: Likewise.
8972 * math/e_atan2l.c: Likewise.
8973 * math/e_atanhl.c: Likewise.
8974 * math/e_coshl.c: Likewise.
8975 * math/e_exp10.c: Likewise.
8976 * math/e_exp10f.c: Likewise.
8977 * math/e_exp10l.c: Likewise.
8978 * math/e_exp2l.c: Likewise.
8979 * math/e_fmodl.c: Likewise.
8980 * math/e_gammal_r.c: Likewise.
8981 * math/e_hypotl.c: Likewise.
8982 * math/e_j0l.c: Likewise.
8983 * math/e_j1l.c: Likewise.
8984 * math/e_jnl.c: Likewise.
8985 * math/e_lgammal_r.c: Likewise.
8986 * math/e_log10l.c: Likewise.
8987 * math/e_log2l.c: Likewise.
8988 * math/e_logl.c: Likewise.
8989 * math/e_powl.c: Likewise.
8990 * math/e_sinhl.c: Likewise.
8991 * math/e_sqrtl.c: Likewise.
8992 * math/e_scalb.c: Completely rewritten and optimized.
8993 * math/e_scalbf.c: Likewise.
8994 * math/e_scalbl.c: Likewise.
8995 * math/w_acos.c: Likewise.
8996 * math/w_acosf.c: Likewise.
8997 * math/w_acosl.c: Likewise.
8998 * math/w_acosh.c: Likewise.
8999 * math/w_acoshf.c: Likewise.
9000 * math/w_acoshl.c: Likewise.
9001 * math/w_asin.c: Likewise.
9002 * math/w_asinf.c: Likewise.
9003 * math/w_asinl.c: Likewise.
9004 * math/w_atan2.c: Likewise.
9005 * math/w_atan2f.c: Likewise.
9006 * math/w_atan2l.c: Likewise.
9007 * math/w_atanh.c: Likewise.
9008 * math/w_atanhf.c: Likewise.
9009 * math/w_atanhl.c: Likewise.
9010 * math/w_exp10.c: Likewise.
9011 * math/w_exp10f.c: Likewise.
9012 * math/w_exp10l.c: Likewise.
9013 * math/w_fmod.c: Likewise.
9014 * math/w_fmodf.c: Likewise.
9015 * math/w_fmodl.c: Likewise.
9016 * math/w_j0.c: Likewise.
9017 * math/w_j0f.c: Likewise.
9018 * math/w_j0l.c: Likewise.
9019 * math/w_j1.c: Likewise.
9020 * math/w_j1f.c: Likewise.
9021 * math/w_j1l.c: Likewise.
9022 * math/w_jn.c: Likewise.
9023 * math/w_jnf.c: Likewise.
9024 * math/w_log.c: Likewise.
9025 * math/w_logf.c: Likewise.
9026 * math/w_logl.c: Likewise.
9027 * math/w_log10.c: Likewise.
9028 * math/w_log10f.c: Likewise.
9029 * math/w_log10l.c: Likewise.
9030 * math/w_log2.c: Likewise.
9031 * math/w_log2f.c: Likewise.
9032 * math/w_log2l.c: Likewise.
9033 * math/w_pow.c: Likewise.
9034 * math/w_powf.c: Likewise.
9035 * math/w_powl.c: Likewise.
9036 * math/w_remainder.c: Likewise.
9037 * math/w_remainderf.c: Likewise.
9038 * math/w_remainderl.c: Likewise.
9039 * math/w_scalb.c: Likewise.
9040 * math/w_scalbf.c: Likewise.
9041 * math/w_scalbl.c: Likewise.
9042 * math/w_sqrt.c: Likewise.
9043 * math/w_sqrtf.c: Likewise.
9044 * math/w_sqrtl.c: Likewise.
9045 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9046 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9047 used.
9048 * math/math_private.h: Declare __kernel_standard_f.
9049 * math/w_cosh.c: Remove cruft and optimize a bit.
9050 * math/w_coshf.c: Likewise.
9051 * math/w_coshl.c: Likewise.
9052 * math/w_exp2.c: Likewise.
9053 * math/w_exp2f.c: Likewise.
9054 * math/w_exp2l.c: Likewise.
9055 * math/w_hypot.c: Likewise.
9056 * math/w_hypotf.c: Likewise.
9057 * math/w_hypotl.c: Likewise.
9058 * math/w_lgamma.c: Likewise.
9059 * math/w_lgamma_r.c: Likewise.
9060 * math/w_lgammaf.c: Likewise.
9061 * math/w_lgammaf_r.c: Likewise.
9062 * math/w_lgammal.c: Likewise.
9063 * math/w_lgammal_r.c: Likewise.
9064 * math/w_sinh.c: Likewise.
9065 * math/w_sinhf.c: Likewise.
9066 * math/w_sinhl.c: Likewise.
9067 * math/w_tgamma.c: Likewise.
9068 * math/w_tgammaf.c: Likewise.
9069 * math/w_tgammal.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9071 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9072 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9073 Minor optimizations. Pretty printing. Remove cruft.
9074 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9075 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9076 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9077 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9078 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9079 * sysdeps/i386/fpu/e_asin.S: Likewise.
9080 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9081 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9082 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9083 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9084 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9085 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9086 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9087 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9088 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9089 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9090 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9091 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9092 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9093 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9094 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9095 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9096 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9097 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9098 * sysdeps/i386/fpu/e_log.S: Likewise.
9099 * sysdeps/i386/fpu/e_log10.S: Likewise.
9100 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9101 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9102 * sysdeps/i386/fpu/e_log2.S: Likewise.
9103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9104 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9105 * sysdeps/i386/fpu/e_logf.S: Likewise.
9106 * sysdeps/i386/fpu/e_logl.S: Likewise.
9107 * sysdeps/i386/fpu/e_pow.S: Likewise.
9108 * sysdeps/i386/fpu/e_powf.S: Likewise.
9109 * sysdeps/i386/fpu/e_powl.S: Likewise.
9110 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9111 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9112 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9113 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9114 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9115 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9116 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9117 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9118 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9119 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9120 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9121 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9122 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9123 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9124 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9125 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9126 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9127 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9128 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9129 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9131 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9133 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9134 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9136 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9139 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9140 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9141 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9142 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9143 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9144 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9145 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9146 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9147 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9148 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9149 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9150 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9151 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9152 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9153 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9154 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9155 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9156 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9157 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9158 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9159 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9160 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9161 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9168 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9169 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9171 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9172 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9173 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9174 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9175 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9176 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9177 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9178 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9179 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9180 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9181 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9183 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9184 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9187 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9188 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9189 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9190 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9191 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9192 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9194 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9195 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9196 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9197 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9198 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9199 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9202 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9204 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9205 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9206 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9207 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9208 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9210 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9211 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9212 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9213 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9214 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9215 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9216 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9217 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9218 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9219 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9220 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9221 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9222 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9223 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9224 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9225 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9226 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9227 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9228 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9229 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9230 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9231 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9232 (__isnanf): Likewise.
9233 (__isinf_ns): Likewise.
9234 (__isinf_nsf): Likewise.
9235 (__finite): Likewise.
9236 (__finitef): Likewise.
9237 (__ieee754_sqrt): Define as macro.
9238 (__ieee754_sqrtf): Define as macro.
9239 (__ieee754_sqrtl): Define as macro.
9240 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9241 inlined copy.
9242 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9243 __FINITE_MATH_ONLY__ consistent.
9244 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9245
9246 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9247
9248 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9249 of rawmemchr.
9250
9251 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9252
9253 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9254
9255 * po/ja.po: Update from translation team.
9256
9257 2011-10-08 Roland McGrath <roland@hack.frob.com>
9258
9259 * locale/programs/locarchive.c (prepare_address_space): New function.
9260 (create_archive, enlarge_archive, open_archive): Use it.
9261
9262 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9263 inside [SHARED], where it is used.
9264
9265 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9266
9267 * nss/getent.c (netgroup_keys): Remove unused variable.
9268 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9269
9270 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9271
9272 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9273 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9274 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9275 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9276 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9277 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9278 * math/Makefile (libm-calls): Add s_isinf_ns.
9279 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9280 * math/multc3.c: Likewise.
9281 * math/s_casin.c: Likewise.
9282 * math/s_casinf.c: Likewise.
9283 * math/s_casinl.c: Likewise.
9284 * math/s_ccos.c: Likewise.
9285 * math/s_ccosf.c: Likewise.
9286 * math/s_ccosl.c: Likewise.
9287 * math/s_ctan.c: Likewise.
9288 * math/s_ctanf.c: Likewise.
9289 * math/s_ctanh.c: Likewise.
9290 * math/s_ctanhf.c: Likewise.
9291 * math/s_ctanhl.c: Likewise.
9292 * math/s_ctanl.c: Likewise.
9293 * math/w_fmod.c: Likewise.
9294 * math/w_fmodf.c: Likewise.
9295 * math/w_fmodl.c: Likewise.
9296 * math/w_remainder.c: Likewise.
9297 * math/w_remainderf.c: Likewise.
9298 * math/w_remainderl.c: Likewise.
9299 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9300 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9302 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9303 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9304 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9305 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9306 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9307
9308 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9309 of the number.
9310 * stdio-common/printf_fphex.c: Likewise.
9311 * stdio-common/printf_size.c: Likewise.
9312
9313 * math/e_exp10.c: Include math_private.h using <...> not "...".
9314 * math/e_exp10f.c: Likewise.
9315 * math/e_exp10l.c: Likewise.
9316 * math/e_exp2l.c: Likewise.
9317 * math/e_j0l.c: Likewise.
9318 * math/e_j1l.c: Likewise.
9319 * math/e_jnl.c: Likewise.
9320 * math/e_lgammal_r.c: Likewise.
9321 * math/e_rem_pio2l.c: Likewise.
9322 * math/e_scalb.c: Likewise.
9323 * math/e_scalbf.c: Likewise.
9324 * math/e_scalbl.c: Likewise.
9325 * math/k_cosl.c: Likewise.
9326 * math/k_sinl.c: Likewise.
9327 * math/k_tanl.c: Likewise.
9328 * math/s_cacoshf.c: Likewise.
9329 * math/s_catan.c: Likewise.
9330 * math/s_catanf.c: Likewise.
9331 * math/s_catanh.c: Likewise.
9332 * math/s_catanhf.c: Likewise.
9333 * math/s_catanhl.c: Likewise.
9334 * math/s_catanl.c: Likewise.
9335 * math/s_ccosh.c: Likewise.
9336 * math/s_ccoshf.c: Likewise.
9337 * math/s_ccoshl.c: Likewise.
9338 * math/s_cexp.c: Likewise.
9339 * math/s_cexpf.c: Likewise.
9340 * math/s_cexpl.c: Likewise.
9341 * math/s_clog.c: Likewise.
9342 * math/s_clog10.c: Likewise.
9343 * math/s_clog10f.c: Likewise.
9344 * math/s_clog10l.c: Likewise.
9345 * math/s_clogf.c: Likewise.
9346 * math/s_clogl.c: Likewise.
9347 * math/s_csin.c: Likewise.
9348 * math/s_csinf.c: Likewise.
9349 * math/s_csinh.c: Likewise.
9350 * math/s_csinhf.c: Likewise.
9351 * math/s_csinhl.c: Likewise.
9352 * math/s_csinl.c: Likewise.
9353 * math/s_csqrt.c: Likewise.
9354 * math/s_csqrtf.c: Likewise.
9355 * math/s_csqrtl.c: Likewise.
9356 * math/s_ctan.c: Likewise.
9357 * math/s_ctanf.c: Likewise.
9358 * math/s_ctanh.c: Likewise.
9359 * math/s_ctanhf.c: Likewise.
9360 * math/s_ctanhl.c: Likewise.
9361 * math/s_ctanl.c: Likewise.
9362 * math/s_ldexp.c: Likewise.
9363 * math/s_ldexpf.c: Likewise.
9364 * math/s_ldexpl.c: Likewise.
9365 * math/s_significand.c: Likewise.
9366 * math/s_significandf.c: Likewise.
9367 * math/s_significandl.c: Likewise.
9368 * math/w_acos.c: Likewise.
9369 * math/w_acosf.c: Likewise.
9370 * math/w_acosh.c: Likewise.
9371 * math/w_acoshf.c: Likewise.
9372 * math/w_acoshl.c: Likewise.
9373 * math/w_acosl.c: Likewise.
9374 * math/w_asin.c: Likewise.
9375 * math/w_asinf.c: Likewise.
9376 * math/w_asinl.c: Likewise.
9377 * math/w_atan2.c: Likewise.
9378 * math/w_atan2f.c: Likewise.
9379 * math/w_atan2l.c: Likewise.
9380 * math/w_atanh.c: Likewise.
9381 * math/w_atanhf.c: Likewise.
9382 * math/w_atanhl.c: Likewise.
9383 * math/w_cosh.c: Likewise.
9384 * math/w_coshf.c: Likewise.
9385 * math/w_coshl.c: Likewise.
9386 * math/w_dremf.c: Likewise.
9387 * math/w_exp10.c: Likewise.
9388 * math/w_exp10f.c: Likewise.
9389 * math/w_exp10l.c: Likewise.
9390 * math/w_exp2.c: Likewise.
9391 * math/w_exp2f.c: Likewise.
9392 * math/w_fmod.c: Likewise.
9393 * math/w_fmodf.c: Likewise.
9394 * math/w_fmodl.c: Likewise.
9395 * math/w_hypot.c: Likewise.
9396 * math/w_hypotf.c: Likewise.
9397 * math/w_hypotl.c: Likewise.
9398 * math/w_j0.c: Likewise.
9399 * math/w_j0f.c: Likewise.
9400 * math/w_j0l.c: Likewise.
9401 * math/w_j1.c: Likewise.
9402 * math/w_j1f.c: Likewise.
9403 * math/w_j1l.c: Likewise.
9404 * math/w_jn.c: Likewise.
9405 * math/w_jnf.c: Likewise.
9406 * math/w_jnl.c: Likewise.
9407 * math/w_lgamma.c: Likewise.
9408 * math/w_lgamma_r.c: Likewise.
9409 * math/w_lgammaf.c: Likewise.
9410 * math/w_lgammaf_r.c: Likewise.
9411 * math/w_lgammal.c: Likewise.
9412 * math/w_lgammal_r.c: Likewise.
9413 * math/w_log.c: Likewise.
9414 * math/w_log10.c: Likewise.
9415 * math/w_log10f.c: Likewise.
9416 * math/w_log10l.c: Likewise.
9417 * math/w_log2.c: Likewise.
9418 * math/w_log2f.c: Likewise.
9419 * math/w_log2l.c: Likewise.
9420 * math/w_logf.c: Likewise.
9421 * math/w_logl.c: Likewise.
9422 * math/w_pow.c: Likewise.
9423 * math/w_powf.c: Likewise.
9424 * math/w_powl.c: Likewise.
9425 * math/w_remainder.c: Likewise.
9426 * math/w_remainderf.c: Likewise.
9427 * math/w_remainderl.c: Likewise.
9428 * math/w_scalb.c: Likewise.
9429 * math/w_scalbf.c: Likewise.
9430 * math/w_scalbl.c: Likewise.
9431 * math/w_sinh.c: Likewise.
9432 * math/w_sinhf.c: Likewise.
9433 * math/w_sinhl.c: Likewise.
9434 * math/w_sqrt.c: Likewise.
9435 * math/w_sqrtf.c: Likewise.
9436 * math/w_sqrtl.c: Likewise.
9437 * math/w_tgamma.c: Likewise.
9438 * math/w_tgammaf.c: Likewise.
9439 * math/w_tgammal.c: Likewise.
9440
9441 * po/ja.po: Update from translation team.
9442
9443 2011-09-29 Andreas Jaeger <aj@suse.de>
9444
9445 [BZ #13179]
9446 * sunrpc/netname.c (netname2host): Fix logic.
9447
9448 [BZ #6779]
9449 [BZ #6783]
9450 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9451 correctly.
9452 * math/w_remainder.c (__remainder): Likewise.
9453 * math/w_remainderf.c (__remainderf): Likewise.
9454 * math/libm-test.inc (remainder_test): Add test cases.
9455
9456 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9457
9458 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9459 sdiv_qrnnd.
9460
9461 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9462
9463 * string/test-memcmp.c: Avoid unncessary #defines.
9464 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9465
9466 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9467
9468 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9469 Use new sse2 version for core i3 - i7 as it's faster
9470 than sse42 version.
9471 (bit_Prefer_PMINUB_for_stringop): New.
9472 * sysdeps/x86_64/rawmemchr.S: Update.
9473 Replace with faster SSE2 version.
9474 * sysdeps/x86_64/memrchr.S: New file.
9475 * sysdeps/x86_64/memchr.S: Update.
9476 Replace with faster SSE2 version.
9477
9478 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9479
9480 * elf/dl-load.c (lose): Add cast to avoid warning.
9481
9482 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9483
9484 * po/ca.po: Update from translation team.
9485
9486 * inet/getnetgrent_r.c: Hook up nscd.
9487 * nscd/Makefile (routines): Add nscd_netgroup.
9488 (nscd-modules): Add netgroupcache.
9489 (CFLAGS-netgroupcache.c): Define.
9490 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9491 (cache_search): Add const to second parameter.
9492 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9493 INNETGR.
9494 (dbs): Add netgrdb entry.
9495 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9496 (verify_persistent_db): Handle netgrdb.
9497 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9498 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9499 GETFDNETGR.
9500 (netgroup_response_header): Define.
9501 (innetgroup_response_header): Define.
9502 (datahead): Add netgroup_response_header and innetgroup_response_header
9503 elements.
9504 * nscd/nscd.conf: Add entries for netgroup cache.
9505 * nscd/nscd.h (dbtype): Add netgrdb.
9506 (_PATH_NSCD_NETGROUP_DB): Define.
9507 (netgroup_iov_disabled): Declare.
9508 (xmalloc, xcalloc, xrealloc): Move declarations here.
9509 (cache_search): Adjust prototype.
9510 Add netgroup-related prototypes.
9511 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9512 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9513 (__nscd_innetgr): Declare.
9514 * nscd/selinux.c (perms): Use access_vector_t as element type and
9515 add netgroup-related initializers.
9516 * nscd/netgroupcache.c: New file.
9517 * nscd/nscd_netgroup.c: New file.
9518 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9519 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9520 For four parameters use innetgr.
9521 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9522 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9523 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9524 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9525
9526 * nscd/connections.c (register_traced_file): Don't register file
9527 for disabled databases.
9528
9529 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9530
9531 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9532
9533 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9534 from tree and freeing node.
9535
9536 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9537
9538 * nss/nsswitch.c (__nss_database_lookup): Handle
9539 nss_parse_service_list out of memory case.
9540
9541 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9542
9543 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9544 out of memory case.
9545
9546 2011-10-04 Andreas Schwab <schwab@redhat.com>
9547
9548 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9549 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9550 pass it down.
9551 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9552 elf_machine_rela, elf_machine_lazy_rel.
9553 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9554 (ELF_DYNAMIC_DO_REL): Likewise.
9555 (ELF_DYNAMIC_DO_RELA): Likewise.
9556 (ELF_DYNAMIC_RELOCATE): Likewise.
9557 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9558 to ELF_DYNAMIC_DO_REL.
9559 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9560 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9561 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9562 elf_machine_rela.
9563 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9564 skip_ifunc, don't call ifunc function if non-zero.
9565 (elf_machine_rela): Likewise.
9566 (elf_machine_lazy_rel): Likewise.
9567 (elf_machine_lazy_rela): Likewise.
9568 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9569 (elf_machine_lazy_rel): Likewise.
9570 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9571 Likewise.
9572 (elf_machine_lazy_rel): Likewise.
9573 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9574 Likewise.
9575 (elf_machine_lazy_rel): Likewise.
9576 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9577 (elf_machine_lazy_rel): Likewise.
9578 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9579 (elf_machine_lazy_rel): Likewise.
9580 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9581 (elf_machine_lazy_rel): Likewise.
9582 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9583 (elf_machine_lazy_rel): Likewise.
9584 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9585 (elf_machine_lazy_rel): Likewise.
9586 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9587 (elf_machine_lazy_rel): Likewise.
9588
9589 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9590
9591 * nss/nss_files/files-init.c (_nss_files_init): Use static
9592 initialization for all the *_traced_file variables.
9593
9594 2011-09-28 Andreas Schwab <schwab@redhat.com>
9595
9596 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9597
9598 2011-09-27 Roland McGrath <roland@hack.frob.com>
9599
9600 [BZ #13226]
9601 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9602
9603 2011-09-27 Andreas Schwab <schwab@redhat.com>
9604
9605 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9606 Reread the line before reparsing it.
9607
9608 2011-09-26 Andreas Schwab <schwab@redhat.com>
9609
9610 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9611
9612 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9613 Maxim Kuvyrkov <maxim@codesourcery.com>
9614 Joseph Myers <joseph@codesourcery.com>
9615
9616 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9617 if needed for __stack_chk_guard.
9618
9619 2011-09-19 Roland McGrath <roland@hack.frob.com>
9620
9621 * sysdeps/posix/spawni.c (script_execute): Always define it.
9622 It will be optimized away if unused.
9623 (maybe_script_execute): New function.
9624 (__spawni): Call it.
9625
9626 * Makerules: Don't include tls.make.
9627 (config-tls): Always set to thread.
9628 * tls.make.c: File removed.
9629
9630 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9631
9632 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9633 * config.make.in (CPPFLAGS-config): New substituted variable.
9634
9635 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9636
9637 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9638
9639 [BZ #13192]
9640 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9641 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9642
9643 2011-09-15 Roland McGrath <roland@hack.frob.com>
9644
9645 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9646 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9647 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9648 (CALL_FAIL): Likewise.
9649 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9650 (CALL_FAIL): Macro removed.
9651 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9652
9653 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9654
9655 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9656 for __FINITE_MATH_ONLY__ == 1.
9657
9658 2011-09-15 Andreas Schwab <schwab@redhat.com>
9659
9660 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9661 __ieee754_sqrt instead of sqrt.
9662 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9663 __ieee754_sqrtf instead of sqrtf.
9664 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9665 __floorf instead of floorf.
9666 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9667 __floorf, __truncf instead of floorf, truncf.
9668
9669 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9670
9671 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9672
9673 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9674 __extern_always_inline.
9675 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9676 32-bit.
9677
9678 2011-09-14 Andreas Schwab <schwab@redhat.com>
9679
9680 * elf/rtld.c (dl_main): Also relocate in dependency order when
9681 doing symbol dependency testing.
9682
9683 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9684
9685 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9686 Always define `refsym'.
9687
9688 2011-09-13 Andreas Schwab <schwab@redhat.com>
9689
9690 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9691 (__FD_ELT): Renamed from __FDELT.
9692 * misc/bits/select2.h (__FD_ELT): Likewise.
9693 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9694 __FD_MASK instead of __FDELT, __FDMASK.
9695 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9696 Likewise.
9697 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9698 Likewise.
9699
9700 * elf/Makefile (gen-ldd): Fix pattern.
9701
9702 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9703 (init_tls): Likewise.
9704
9705 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9706
9707 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9708
9709 2011-09-12 Andreas Schwab <schwab@redhat.com>
9710
9711 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9712 `struct cmsghdr *' instead of `void *'.
9713 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9714 Likewise.
9715
9716 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9717
9718 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9719 if non-absolute.
9720 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9721 ldd_rewrite_script.
9722
9723 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9724
9725 * configure.in: Remove --with-tls option.
9726 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9727 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9728 out in case it is missing.
9729 * sysdeps/ia64/elf/configure.in: Likewise.
9730 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9731 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9732 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9733 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9734 * sysdeps/sh/elf/configure.in: Likewise.
9735 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9736 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9737 * sysdeps/x86_64/elf/configure.in: Likewise.
9738 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9739 * sysdeps/mach/hurd/tls.h: Likewise.
9740
9741 [BZ #13067]
9742 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9743
9744 [BZ #13090]
9745 * configure.in: Fix use of AC_INIT.
9746
9747 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9748
9749 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9750
9751 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9752 __set_errno.
9753 * malloc/hooks.c: Likewise.
9754
9755 [BZ #11929]
9756 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9757 variables statically.
9758 (narenas): Initialize.
9759 (list_lock): Initialize.
9760 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9761 initializtion of main_arena and list_lock. Small cleanups.
9762 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9763 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9764 Add initializers to main_arena and mp_.
9765 (malloc_state): Remove pagesize member. Change all users to use
9766 GLRO(dl_pagesize).
9767
9768 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9769 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9770 is always initialized.
9771
9772 * malloc/malloc.c: Removed unused configurations and dead code.
9773 * malloc/arena.c: Likewise.
9774 * malloc/hooks.c: Likewise.
9775 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9776
9777 * include/tls.h: Removed. USE___THREAD must always be defined.
9778 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9779 * elf/dl-libc.c: Likewise.
9780 * elf/dl-tsd.c: Likewise.
9781 * include/errno.h: Likewise.
9782 * include/netdb.h: Likewise.
9783 * include/resolv.h: Likewise.
9784 * inet/herrno-loc.c: Likewise.
9785 * inet/herrno.c: Likewise.
9786 * malloc/arena.c: Likewise.
9787 * malloc/hooks.c: Likewise.
9788 * malloc/malloc.c: Likewise.
9789 * resolv/res-state.c: Likewise.
9790 * resolv/res_libc.c: Likewise.
9791 * sysdeps/i386/dl-machine.h: Likewise.
9792 * sysdeps/ia64/dl-machine.h: Likewise.
9793 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9794 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9795 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9796 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9797 * sysdeps/sh/dl-machine.h: Likewise.
9798 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9799 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9800 * sysdeps/unix/i386/sysdep.S: Likewise.
9801 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9802 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9803 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9804 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9805 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9806 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9807 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9808 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9810 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9811 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9812 * sysdeps/x86_64/dl-machine.h: Likewise.
9813 * tls.make.c: Likewise.
9814
9815 * configure.in: Remove --with-__thread option. Make tests for
9816 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9817 tls_model attribute fail if no support is available. Remove
9818 USE_IN_LIBIO.
9819 * Makeconfig: Adjust for dropped configure option. All features are
9820 now mandatory.
9821 * Makerules: Likewise.
9822 * Versions.def: Likewise.
9823 * argp/argp-fmtstream.c: Likewise.
9824 * argp/argp-fmtstream.h: Likewise.
9825 * argp/argp-help.c: Likewise.
9826 * assert/assert.c: Likewise.
9827 * config.h.in: Likewise.
9828 * config.make.in: Likewise.
9829 * configure: Likewise.
9830 * configure.in: Likewise.
9831 * csu/Versions: Likewise.
9832 * csu/init.c: Likewise.
9833 * elf/tst-audit2.c: Likewise.
9834 * elf/tst-tls10.c: Likewise.
9835 * elf/tst-tls10.h: Likewise.
9836 * elf/tst-tls11.c: Likewise.
9837 * elf/tst-tls12.c: Likewise.
9838 * elf/tst-tls14.c: Likewise.
9839 * elf/tst-tlsmod11.c: Likewise.
9840 * elf/tst-tlsmod12.c: Likewise.
9841 * elf/tst-tlsmod13.c: Likewise.
9842 * elf/tst-tlsmod13a.c: Likewise.
9843 * elf/tst-tlsmod14a.c: Likewise.
9844 * elf/tst-tlsmod15b.c: Likewise.
9845 * elf/tst-tlsmod16a.c: Likewise.
9846 * elf/tst-tlsmod16b.c: Likewise.
9847 * elf/tst-tlsmod7.c: Likewise.
9848 * elf/tst-tlsmod8.c: Likewise.
9849 * elf/tst-tlsmod9.c: Likewise.
9850 * gmon/gmon.c: Likewise.
9851 * grp/fgetgrent_r.c: Likewise.
9852 * grp/putgrent.c: Likewise.
9853 * hurd/fopenport.c: Likewise.
9854 * include/libc-symbols.h: Likewise.
9855 * include/tls.h: Likewise.
9856 * intl/gettextP.h: Likewise.
9857 * intl/loadinfo.h: Likewise.
9858 * locale/global-locale.c: Likewise.
9859 * locale/localeinfo.h: Likewise.
9860 * mach/devstream.c: Likewise.
9861 * malloc/arena.c: Likewise.
9862 * malloc/set-freeres.c: Likewise.
9863 * misc/err.c: Likewise.
9864 * misc/getttyent.c: Likewise.
9865 * misc/mntent_r.c: Likewise.
9866 * posix/getopt.c: Likewise.
9867 * posix/wordexp.c: Likewise.
9868 * pwd/fgetpwent_r.c: Likewise.
9869 * resolv/Versions: Likewise.
9870 * resolv/res_hconf.c: Likewise.
9871 * shadow/fgetspent_r.c: Likewise.
9872 * shadow/putspent.c: Likewise.
9873 * stdio-common/printf_fphex.c: Likewise.
9874 * stdio-common/tmpfile.c: Likewise.
9875 * stdlib/abort.c: Likewise.
9876 * stdlib/fmtmsg.c: Likewise.
9877 * sunrpc/auth_unix.c: Likewise.
9878 * sunrpc/clnt_perr.c: Likewise.
9879 * sunrpc/clnt_tcp.c: Likewise.
9880 * sunrpc/clnt_udp.c: Likewise.
9881 * sunrpc/clnt_unix.c: Likewise.
9882 * sunrpc/openchild.c: Likewise.
9883 * sunrpc/svc_simple.c: Likewise.
9884 * sunrpc/svc_tcp.c: Likewise.
9885 * sunrpc/svc_udp.c: Likewise.
9886 * sunrpc/svc_unix.c: Likewise.
9887 * sunrpc/xdr.c: Likewise.
9888 * sunrpc/xdr_array.c: Likewise.
9889 * sunrpc/xdr_rec.c: Likewise.
9890 * sunrpc/xdr_ref.c: Likewise.
9891 * sunrpc/xdr_stdio.c: Likewise.
9892
9893 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9894
9895 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9896
9897 2011-07-03 Andreas Jaeger <aj@suse.de>
9898
9899 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9900 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9901 regenerate with gen-libm-tests.pl.
9902
9903 2010-05-12 Petr Baudis <pasky@suse.cz>
9904
9905 [BZ #11589]
9906 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9907 around j0() zero points by switching to j1().
9908 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9909 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9912
9913 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9914
9915 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9916 instead of 0.
9917 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9918 instead of 0. .
9919 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9920 Patch in part by Pavel Roskin <proski@gnu.org>.
9921
9922 [BZ #13138]
9923 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9924 realloc.
9925 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9926 Free memory block if necessary.
9927
9928 [BZ #12847]
9929 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9930 be NULL. Don't lock in this case.
9931
9932 2011-09-09 Roland McGrath <roland@hack.frob.com>
9933
9934 * elf/elf.h (ELFOSABI_GNU): New macro.
9935 (ELFOSABI_LINUX): Define to that.
9936
9937 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9938
9939 * string/strncat.c (strncat): Undef the symbol in case it has been
9940 defined in bits/string.h.
9941
9942 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9943
9944 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9945
9946 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
9947 link map.
9948
9949 2011-08-17 Andreas Jaeger <aj@suse.de>
9950
9951 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9952
9953 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9954 Ian Lance Taylor <iant@google.com>
9955
9956 * math/libm-test.inc (lround_test): New testcase.
9957 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9958
9959 2011-09-08 Ulrich Drepper <drepper@gmail.com>
9960
9961 * Makefile: Remove support for automatic cvs check-ins.
9962 * Makerules: Likewise.
9963 * config.make.in: Likewise.
9964 * configure.in: Likewise.
9965 * intl/Makefile: Likewise.
9966 * locale/Makefile: Likewise.
9967 * po/Makefile: Likewise.
9968 * posix/Makefile: Likewise.
9969 * sysdeps/gnu/Makefile: Likewise.
9970 * sysdeps/mach/hurd/Makefile: Likewise.
9971 * sysdeps/sparc/sparc32/Makefile: Likewise.
9972
9973 [BZ #13118]
9974 * posix/Makefile (bug-regex32-ENV): Define.
9975 Patch by John Stanley <jpsinthemix@verizon.net>.
9976
9977 * misc/Makefile (headers): Add bits/select2.h.
9978 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9979 * misc/bits/select2.h: New file.
9980 * include/bits/select2.h: New file.
9981 * debug/Makefile (routines): Add fdelt_chk.
9982 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9983 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9984 FD_ISSET.
9985 * debug/fdelt_chk.c: New file.
9986
9987 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9988 * wcsmbs/test-wmemcmp.c: Likewise.
9989 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
9990 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
9991
9992 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9993
9994 * string/Makefile (strop-tests): Add memcmp.
9995 * string/test-wmemcmp.c: New file.
9996 * string/test-memcmp.c: Add wmemcmp support.
9997
9998 2011-09-08 Roland McGrath <roland@hack.frob.com>
9999
10000 [BZ #13153]
10001 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10002 2011-07-19 change.
10003
10004 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10005 garbage value in a __mach_port_mod_refs call in the cases of the
10006 task-self and thread-self ports.
10007
10008 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10009
10010 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10011
10012 2011-09-08 Andreas Schwab <schwab@redhat.com>
10013
10014 * elf/dl-load.c (lose): Check for non-null L.
10015
10016 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10017
10018 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10019
10020 * elf/dl-libc.c (dlerror_run): Pass back error code from
10021 dl_catch_error.
10022
10023 [BZ #13123]
10024 * elf/dl-load.c (lose): Free l_origin if it is valid.
10025
10026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10027 names.
10028 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10029 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10030 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10031 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10032 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10033 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10034
10035 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10036
10037 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10038 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10039 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10040 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10041 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10042 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10043 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10044 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10045 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10046 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10047
10048 2011-08-15 Alan Modra <amodra@gmail.com>
10049
10050 [BZ #13092]
10051 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10052 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10053 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10054 ppc_mcount to static-only-routines.
10055 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10056 __mcount_internal.
10057 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10058 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10059
10060 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10061
10062 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10063 for finite and infinity parameters.
10064
10065 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10066
10067 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10068 and add nop instructions for throughput optimization.
10069 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10070
10071 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10072
10073 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10074 aligned copy for power7 with vector-scalar instructions.
10075 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10076
10077 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10078
10079 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10080 AVX check.
10081
10082 2011-09-07 Andreas Schwab <schwab@redhat.com>
10083
10084 [BZ #13144]
10085 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10086 last change.
10087
10088 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10089
10090 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10091 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10092 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10093 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10094 clock_gettime.
10095
10096 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10097
10098 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10099 Forgot to demangle the pointer.
10100
10101 * sysdeps/i386/sysdep.h: Define atom_text_section.
10102 * sysdeps/x86_64/sysdep.h: Likewise.
10103 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10104 section with atom_text_section.
10105 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10106 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10107 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10108 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10109 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10110
10111 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10112 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10113 already be defined. Change to take two parameters and don't assign
10114 result to variable. Adjust all users.
10115 Define INTERNAL_GETTIME if not already defined.
10116 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10117 call.
10118 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10119 HAVE_CLOCK_GETTIME_VSYSCALL.
10120 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10121
10122 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10123 gettimeofday vsyscall, just use time.
10124
10125 2011-09-06 Andreas Schwab <schwab@redhat.com>
10126
10127 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10128 <errno.h>.
10129
10130 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10131
10132 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10133 syscall on x86-64.
10134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10135 syscall.
10136 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10137 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10138 syscall if possible.
10139
10140 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10141
10142 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10143 e_ident. Don't pass to find_mapsXX.
10144 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10145
10146 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10147
10148 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10149 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10150 * sysdeps/x86_64/multiarch/strchr.S: Update.
10151 Check bit_slow_BSF bit.
10152 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10153 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10154 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10155
10156 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10157
10158 [BZ #13134]
10159 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10160 before glibc 2.15.
10161 (tryshell): Define.
10162 (__spawni): Change last parameter to be flag. Test
10163 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10164 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10165 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10166 * posix/spawni.c: Likewise.
10167 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10168 * posix/spawnp.c: Likewise. Change normal version to use
10169 SPAWN_XFLAGS_USE_PATH.
10170 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10171 SPAWN_XFLAGS_TRY_SHELL.
10172
10173 [BZ #13150]
10174 * posix/glob.h: Remove gcc 1.x support.
10175
10176 [BZ #13068]
10177 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10178
10179 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10180
10181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10182 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10183 strrchr-sse2-bsf
10184 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10185 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10186 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10187 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10188 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10189 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10190
10191 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10192
10193 * sysdeps/x86_64/wcscmp.S: New file.
10194
10195 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10196 wcscmp-c wcscmp-sse2
10197 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10198 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10199 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10200 * wcsmbs/wcscmp.c: Allow renaming.
10201
10202 2011-09-05 David S. Miller <davem@davemloft.net>
10203
10204 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10205 stack slot, rather than the struct return pointer slot.
10206 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10207 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10208 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10209 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10210
10211 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10212
10213 * po/ja.po: Update from translation team.
10214
10215 [BZ #13144]
10216 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10217 kernel in 64-bit binaries.
10218
10219 2011-09-01 David S. Miller <davem@davemloft.net>
10220
10221 * elf/elf.h (HWCAP_SPARC_*): Move to..
10222 * sysdeps/sparc/sysdep.h: this new file and add new values.
10223 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10224 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10225 _DL_HWCAP_COUNT to 24.
10226 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10227 entries.
10228 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10229 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10230 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10232 instead of magic constants.
10233 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10234
10235 2011-08-31 David S. Miller <davem@davemloft.net>
10236
10237 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10238 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10239 Reimplement to do errno handling inline.
10240 (SYSCALL_ERROR_HANDLER): New macro.
10241 (__SYSCALL_STRING): Do not do errno handling in asm.
10242 (__CLONE_SYSCALL_STRING): Delete.
10243 (__INTERNAL_SYSCALL_STRING): Delete.
10244 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10245 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10246 (PSEUDO): Reimplement to do errno handling inline.
10247 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10248 (SYSCALL_ERROR_HANDLER): New macro.
10249 (__SYSCALL_STRING): Do not do errno handling in asm.
10250 (__CLONE_SYSCALL_STRING): Delete.
10251 (__INTERNAL_SYSCALL_STRING): Delete.
10252 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10253 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10254 i386.
10255 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10256 (inline_syscall*): Add 'err' argument.
10257 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10258 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10259 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10260 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10261
10262 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10263 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10264
10265 2011-08-30 Andreas Schwab <schwab@redhat.com>
10266
10267 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10268
10269 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10270
10271 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10272 directive.
10273
10274 2011-08-24 David S. Miller <davem@davemloft.net>
10275
10276 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10277
10278 2011-08-24 Andreas Schwab <schwab@redhat.com>
10279
10280 * elf/Makefile: Add rules to build and run unload8 test.
10281 * elf/unload8.c: New file.
10282 * elf/unload8mod1.c: New file.
10283 * elf/unload8mod1x.c: New file.
10284 * elf/unload8mod2.c: New file.
10285 * elf/unload8mod3.c: New file.
10286
10287 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10288 it wasn't used.
10289
10290 2011-08-23 David S. Miller <davem@davemloft.net>
10291
10292 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10293 subtract stack bias.
10294 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10295 %sp not %fp in calculations.
10296 (_JMPBUF_UNWINDS_ADJ): Likewise.
10297
10298 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10299 (aio_suspend): Call it to force an exception region around the
10300 AIO_MISC_WAIT() invocation.
10301
10302 2011-08-23 Andreas Schwab <schwab@redhat.com>
10303
10304 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10305 backslash.
10306
10307 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10308
10309 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10310 protection macro.
10311 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10312 and <dl-machine.h>.
10313 (Elf64_FuncDesc): Remove.
10314
10315 2011-08-22 David S. Miller <davem@davemloft.net>
10316
10317 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10318 sigaltstack check, add missing cfi directives.
10319 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10320 missing cfi directives, and sigaltstack handling.
10321
10322 2011-08-16 Andreas Schwab <schwab@redhat.com>
10323
10324 [BZ #11724]
10325 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10326 object is seen twice.
10327 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10328
10329 * elf/Makefile (distribute): Add tst-initorder2.c.
10330 (tests): Add tst-initorder2.
10331 (modules-names): Add tst-initorder2a tst-initorder2b
10332 tst-initorder2c tst-initorder2d. Add rules to build them.
10333 ($(objpfx)tst-initorder2.out): New rule.
10334 * elf/tst-initorder2.c: New file.
10335 * elf/tst-initorder2.exp: New file.
10336
10337 2011-08-22 Andreas Schwab <schwab@redhat.com>
10338
10339 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10340
10341 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10342 dependencies back to end of function.
10343
10344 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10345 $(elfobjdir)/ld.so.
10346
10347 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10348
10349 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10350 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10351 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10352 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10353 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10354 of __vdso_gettimeofday.
10355 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10356 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10357 attribute_hidden.
10358 (_libc_vdso_platform_setup): Remove initialization of
10359 __vdso_gettimeofday and __vdso_time.
10360
10361 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10362
10363 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10364 and fgetc_unlocked.
10365 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10366 getc_unlocked.
10367
10368 * elf/dl-open.c (add_to_global): Report additions to the global scope
10369 for LD_DEBUG=scopes.
10370 (dl_open_worker): Also print scope of newly loaded dependencies.
10371 (_dl_show_scope): Indicate if there is no scope.
10372
10373 [BZ #13114]
10374 * stdio-common/Makefile (tests): Add bug24.
10375 * stdio-common/bug24.c: New file.
10376
10377 2011-08-19 Andreas Jaeger <aj@suse.de>
10378
10379 [BZ #13114]
10380 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10381 non-existant file when using close-on-exec mode.
10382
10383 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10384
10385 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10386 the very first instruction.
10387
10388 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10389 the CFI state in the end.
10390 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10391 inclusion of dl-trampoline.h.
10392 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10393
10394 2011-08-19 Andreas Schwab <schwab@redhat.com>
10395
10396 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10397 expectations for long double.
10398
10399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10400 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10401
10402 2011-08-14 David S. Miller <davem@davemloft.net>
10403
10404 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10405 artificual limit depends upon the system page size.
10406
10407 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10408
10409 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10410 * resolv/Makefile: Define CFLAGS-libresolv.
10411
10412 2011-08-17 Andreas Schwab <schwab@redhat.com>
10413
10414 * nss/makedb.c (compute_tables): Make variables used in nested
10415 function static.
10416
10417 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10418
10419 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10420 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10421 if buffer was too small.
10422
10423 * elf/pldd.c (main): Attach to all threads in the process.
10424 Rewrite /proc handling to use *at functions.
10425
10426 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10427
10428 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10429 specifies first scope to show.
10430 (dl_open_worker): Update callers. Move printing scope of new
10431 object to before the relocation.
10432 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10433 * sysdeps/generic/ldsodefs.h: Update declaration.
10434
10435 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10436 string for the scope number.
10437
10438 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10439
10440 * nscd/servicescache.c (cache_addserv): Make sure written is always
10441 initialized.
10442
10443 2011-08-14 Roland McGrath <roland@hack.frob.com>
10444
10445 * sysdeps/i386/i486/bits/atomic.h
10446 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10447 statement expression, so as to suppress "set but not used" warning.
10448 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10449
10450 * string/strncat.c (STRNCAT): Use prototype definition.
10451
10452 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10453 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10454 -Iprograms here.
10455 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10456 (localedef-modules): Add localedef.
10457 (locale-modules): Add locale.
10458
10459 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10460 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10461 to avoid a warning.
10462
10463 2011-08-14 David S. Miller <davem@davemloft.net>
10464
10465 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10466 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10467
10468 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10469
10470 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10471 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10472 * elf/rtld.c (dl_main): Set l_name of vDSO.
10473 Call _dl_show_scope when DL_DEBUG_SCOPES.
10474 (process_dl_debug): Recognize scopes flag and also set it for all.
10475 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10476 Declare _dl_show_scope.
10477
10478 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10479 (do_dlopen): Pass caller_dlopen to dl_open.
10480 (__libc_dlopen_mode): Initialize caller_dlopen.
10481
10482 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10483 of libc. Make tolower call locale-independent. Optimize a bit by
10484 using isdigit instead of isalnum.
10485 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10486
10487 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10488
10489 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10490 was a dependency or dynamically loaded.
10491
10492 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10493
10494 * intl/l10nflist.c: Allow architecture-specific pop function.
10495 * sysdeps/x86_64/l10nflist.c: New file.
10496
10497 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10498 classification.
10499
10500 2011-08-10 Andreas Schwab <schwab@redhat.com>
10501
10502 * include/dirent.h: Add libc_hidden_proto for scandirat and
10503 scandirat64. Don't declare __scandirat64.
10504 * dirent/scandirat.c: Add libc_hidden_def.
10505 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10506 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10507
10508 2011-08-10 David S. Miller <davem@davemloft.net>
10509
10510 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10511 enum.
10512 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10513 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10514 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10515
10516 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10517
10518 * Versions.def [libc]: Add GLIBC_2.15.
10519 * dirent/Makefile (routines): Add scandirat and scandirat64.
10520 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10521 GLIBC_2.15.
10522 * dirent/dirent.h: Declare scandirat and scandirat64.
10523 * dirent/scandirat.c: New file.
10524 * dirent/scandirat64.c: New file.
10525 * sysdeps/wordsize-64/scandirat.c: New file.
10526 * sysdeps/wordsize-64/scandirat64.c: New file.
10527 * dirent/opendir.c: Define opendirat.
10528 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10529 using scandirat.
10530 * dirent/scandir64.c: Adjust for scandir.c change.
10531 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10532 __scandirat64, and __scandir_cancel_handler.
10533 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10534 additional parameter and use openat instead of open (outside of ld.so).
10535 Add new __opendir as wrapper around __opendirat.
10536 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10537 here without requiring old scandirat implementation.
10538
10539 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10540
10541 * dirent/scandir.c (cancel_handler): Renamed to
10542 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10543 defined. Adjust users.
10544 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10545 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10546
10547 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10548
10549 * string/test-string.h (IMPL): Use __STRING to expand name and then
10550 stringify it.
10551
10552 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10553 of cleanups.
10554
10555 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10556
10557 * string/Makefile: Update.
10558 (strop-tests): Append strncat.
10559 * string/test-wcscmp.c: New file.
10560 New comprehensive test for wcscmp.
10561 * string/test-strcmp.c: Update.
10562 (WIDE): New define.
10563
10564 2011-07-22 Andreas Schwab <schwab@redhat.com>
10565
10566 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10567 line.
10568
10569 2011-07-26 Andreas Schwab <schwab@redhat.com>
10570
10571 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10572 encoding to ACE if AI_IDN.
10573
10574 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10575
10576 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10577 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10578
10579 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10580
10581 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10582 Fix overflow bug in strncat.
10583 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10584
10585 * string/test-strncat.c: Update.
10586 Add new tests for checking overflow bugs.
10587
10588 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10589
10590 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10591 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10592 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10593 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10594 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10595 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10596 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10597 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10598 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10599
10600 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10601 (USE_AS_STRCAT): Define.
10602 Add strcat and strncat support.
10603 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10604
10605 2011-07-25 Andreas Schwab <schwab@redhat.com>
10606
10607 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10608 __n bigger than INT_MAX+1.
10609 (__strncmp_g): Likewise.
10610
10611 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10612
10613 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10614 * libio/stido.h: Likewise.
10615
10616 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10617 (AF_NFC): Define.
10618 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10619 (AF_NFC): Define.
10620
10621 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10622 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10623 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10624 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10625 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10626
10627 [BZ #13021]
10628 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10629 installed.
10630
10631 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10632 typo.
10633 (_dl_x86_64_save_sse): Likewise.
10634
10635 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10636
10637 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10638 OSXSAVE.
10639 (_dl_x86_64_save_sse): Likewise.
10640
10641 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10642
10643 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10644
10645 2011-07-21 Andreas Schwab <schwab@redhat.com>
10646
10647 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10648 change.
10649 (_dl_x86_64_save_sse): Use correct AVX check.
10650
10651 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10652
10653 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10654 bug in strncpy/strncat.
10655 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10656
10657 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10658
10659 * string/tester.c (test_strcat): Add tests for different alignments
10660 of source and destination.
10661 (test_strncat): Likewise.
10662
10663 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10664
10665 [BZ #12852]
10666 * posix/glob.c (glob): Check passed in values before using them in
10667 expressions to avoid some overflows.
10668 (glob_in_dir): Likewise.
10669
10670 [BZ #13007]
10671 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10672 check for AVX enablement so that we don't crash with old kernels and
10673 new hardware.
10674 * elf/tst-audit4.c: Add same checks here.
10675 * elf/tst-audit6.c: Likewise.
10676
10677 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10678
10679 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10680
10681 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10682
10683 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10684
10685 * po/cs.po: Update from translation team.
10686 * po/bg.po: Likewise.
10687
10688 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10689
10690 * misc/sys/cdefs.h: Add support for const attribute.
10691 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10692 to gnu_dev_{major,minor,makedev} functions.
10693
10694 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10695
10696 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10697
10698 2011-07-20 Andreas Schwab <schwab@redhat.com>
10699
10700 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10701 strlen results.
10702
10703 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10704
10705 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10706 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10707 register in order to avoid conflicts with the soft frame pointer
10708 being held in r11 when necessary.
10709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10710 (INTERNAL_VSYSCALL_NCS): Likewise.
10711
10712 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10713
10714 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10715 * elf/dl-fini.c (_dl_fini): Adjust caller.
10716 * elf/dl-close.c (_dl_close_worker): Likewise.
10717 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10718
10719 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10720
10721 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10722 "aux_cache->nlibs < 0".
10723
10724 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10725 in the reload-count case.
10726
10727 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10728
10729 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10730 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10731 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10732 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10733 * sysdeps/x86_64/multiarch/strcat.S: New file.
10734 * sysdeps/x86_64/multiarch/strncat.S: New file.
10735 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10736 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10737 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10738 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10739 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10740 (USE_AS_STRCAT): Define.
10741 Add strcat and strncat support.
10742 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10743 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10744 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10745 * string/strncat.c: Update.
10746 (USE_AS_STRNCAT): Define.
10747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10748 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10749 and i7.
10750 * sysdeps/x86_64/multiarch/init-arch.h
10751 (bit_Prefer_PMINUB_for_stringop): New.
10752 (index_Prefer_PMINUB_for_stringop): Likewise.
10753 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10754 bit_Prefer_PMINUB_for_stringop.
10755
10756 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10757
10758 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10759 buffer64.
10760 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10761 of casting of buffer.
10762 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10763 buffer32 and buffer64.
10764 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10765 writes instead of casting of buffer.
10766 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10767 buffer32.
10768 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10769 casting of buffer.
10770
10771 2011-07-19 Andreas Schwab <schwab@redhat.com>
10772
10773 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10774
10775 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10776
10777 * nscd/nscd.c (termination_handler): Don't do anything for a database
10778 if it has not yet been initialized.
10779
10780 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10781
10782 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10783
10784 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10785
10786 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10787
10788 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10789
10790 * po/nl.po: Update from translation team.
10791 * po/sv.po: Likewise.
10792
10793 2011-07-16 Roland McGrath <roland@hack.frob.com>
10794
10795 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10796 now disallowed by GCC.
10797
10798 * configure.in (use-default-link): Default to yes if a test -shared
10799 link meets our qualifications.
10800 * configure: Regenerated.
10801
10802 * config.make.in (output-format): New variable.
10803 * configure.in: Check for ld --print-output-format support.
10804 * configure: Regenerated.
10805 * Makerules ($(common-objpfx)format.lds)
10806 [$(output-format) != unknown]: Just use $(output-format),
10807 instead of the linker-script munging.
10808
10809 2011-07-14 Roland McGrath <roland@hack.frob.com>
10810
10811 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10812 of $(common-objpfx)shlib.lds.
10813 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10814
10815 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10816 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10817
10818 * configure.in (-z relro check): Adjust test code to add a large
10819 writable data section after it.
10820 * configure: Regenerated.
10821
10822 2011-07-11 Roland McGrath <roland@hack.frob.com>
10823
10824 * configure.in (-z relro check): Fix test code to make the variable
10825 truly const.
10826 * configure: Regenerated.
10827
10828 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10829
10830 * nscd/nscd.h (struct traced_file): Define.
10831 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10832 elements. Add traced_files.
10833 (inotify_fd): Declare.
10834 (register_traced_file): Declare.
10835 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10836 (inotify_fd): Export.
10837 (resolv_conf_descr): Remove.
10838 (nscd_init): Move inotify descriptor creation to main.
10839 Don't register files for notification here.
10840 (register_traced_file): New function.
10841 (invalidate_cache): Don't use reset_res to determine whether to call
10842 res_init, go through the list of registered files.
10843 (main_loop_poll): The inotify descriptors are now stored in the
10844 structures for the traced files.
10845 (main_loop_epoll): Likewise
10846 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10847 to __nss_disable_nscd.
10848 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10849 for a database anymore. Check the records for all the registered
10850 files instead.
10851 * nss/Makefile (libnss_files-routines): Add files-init.
10852 (libnss_db-routines): Add db-init.
10853 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10854 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10855 * nss/nss_db/db-init.c: New file.
10856 * nss/nss_files/files-init.c: New file.
10857 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10858 __nss_lookup_function.
10859 (__nss_lookup_function): Call nss_load_library.
10860 (nss_load_all_libraries): New function.
10861 (__nss_disable_nscd): Take parameter with callback function for files
10862 to register. Set is_nscd. Load all the DSOs for the NSS modules
10863 used for the cached services.
10864 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10865 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10866 options for features to all the files in nscd.
10867
10868 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10869
10870 2011-07-10 Roland McGrath <roland@hack.frob.com>
10871
10872 * csu/elf-init.c (__libc_csu_init): Comment typo.
10873
10874 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10875
10876 * po/pl.po: Update from translation team.
10877 * po/ja.po: Likewise.
10878 * po/ru.po: Likewise.
10879 * po/ko.po: Likewise.
10880 * po/fr.po: Likewise.
10881
10882 2011-07-09 Roland McGrath <roland@hack.frob.com>
10883
10884 * configure.in (.ctors/.dtors header and trailer check):
10885 Use an empirical test on a built program.
10886 * configure: Regenerated.
10887
10888 * configure.in (-z relro check): Use an empirical test on a built DSO.
10889 Detect, but do not require, on ia64.
10890 * configure: Regenerated.
10891
10892 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10893 Update tests that use readelf to use $READELF instead.
10894 * configure: Regenerated.
10895
10896 2011-07-08 Ulrich Drepper <drepper@gmail.com>
10897
10898 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10899 if the result is not used.
10900
10901 2011-07-05 Andreas Jaeger <aj@suse.de>
10902
10903 [BZ#9696]
10904 * stdlib/tst-strtod.c: Add testcase.
10905
10906 2011-07-07 Ulrich Drepper <drepper@gmail.com>
10907
10908 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
10909 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
10910 The latter has a higher limit. Take additional parameter to pass to
10911 the new function.
10912 (__pathconf): Pass file to __statfs_link_max.
10913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10914 __statfs_link_max.
10915 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10916 __statfs_link_max.
10917
10918 [BZ #12868]
10919 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10920 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10921 Handle Lustre.
10922 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10923 (__statfs_filesize_max): Likewise.
10924 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10925
10926 2011-07-05 Andreas Jaeger <aj@suse.de>
10927
10928 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10929
10930 2011-07-06 Marek Polacek <mpolacek@redhat.com>
10931
10932 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10933 `status' variable.
10934 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10935 Likewise.
10936
10937 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10938
10939 * Makefile (strop-tests): Add strncat.
10940 * string/test-strncat.c: New file.
10941
10942 2011-06-30 Marek Polacek <mpolacek@redhat.com>
10943
10944 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10945
10946 2011-06-21 Andreas Jaeger <aj@suse.de>
10947
10948 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10949 Copy rule from iconvdata/Makefile.
10950
10951 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10952
10953 [BZ #12922]
10954 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10955 but no long options are defined, just return 'W'.
10956
10957 2011-06-22 Marek Polacek <mpolacek@redhat.com>
10958
10959 [BZ #9696]
10960 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10961
10962 2011-07-06 Ulrich Drepper <drepper@gmail.com>
10963
10964 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10965 netgroups to read.
10966 (innetgr): Likewise.
10967
10968 2011-07-05 Roland McGrath <roland@hack.frob.com>
10969
10970 * config.make.in (install_root): Default to $(DESTDIR).
10971
10972 2011-07-05 Ulrich Drepper <drepper@gmail.com>
10973
10974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10975
10976 2011-07-02 Roland McGrath <roland@hack.frob.com>
10977
10978 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10979
10980 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10981 containing directory rather than embedding absolute directory names.
10982
10983 * scripts/check-local-headers.sh: Rewritten using awk.
10984 Match by word, not by line. Print error messages for matches.
10985 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10986
10987 * Makerules [shlib-lds-flags empty]:
10988 ($(common-objpfx)libc_pic.opts): New target.
10989 ($(common-objpfx)libc_pic.os.clean): New target.
10990 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10991
10992 * config.make.in (OBJCOPY): New variable.
10993 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10994 * configure: Regenerated.
10995
10996 * config.make.in (use-default-link): New variable.
10997 * configure.in (use_default_link): Grok --with-default-link to set it.
10998 * configure: Regenerated.
10999 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11000 (shlib-lds, shlib-lds-flags): Define to empty.
11001
11002 * Makerules (shlib-lds): New variable.
11003 (shlib-lds-flags): New variable.
11004 (build-shlib, build-moduile, build-module-asneeded): Use it.
11005 ($(common-objpfx)libc.so): Use $(shlib-lds).
11006 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11007 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11008
11009 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11010 DT_FLAGS/DT_FLAGS_1 with zero flags.
11011
11012 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11013 linker script munging.
11014
11015 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11016
11017 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11018 as 128-bit value.
11019 * crypt/sha512.c (sha512_process_block): Perform total addition using
11020 128-bit if possible.
11021 (__sha512_finish_ctx): Likewise.
11022 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11023 as 64-bit value.
11024 * crypt/sha256.c (SWAP64): Define.
11025 (sha256_process_block): Perform total addition using 64-bit if
11026 possible.
11027 (__sha256_finish_ctx): Likewise.
11028
11029 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11030
11031 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11032 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11033 * nscd/hstcache.c (cache_addhst): Likewise.
11034 * nscd/grpcache.c (cache_addgr): Likewise.
11035 * nscd/aicache.c (addhstaiX): Likewise
11036 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11037
11038 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11039
11040 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11041 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11042 * nscd/hstcache.c (cache_addhst): Likewise.
11043 * nscd/grpcache.c (cache_addgr): Likewise.
11044 * nscd/aicache.c (addhstaiX): Likewise
11045
11046 2011-07-01 Andreas Schwab <schwab@redhat.com>
11047
11048 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11049 domain only when needed.
11050
11051 2011-06-30 Andreas Schwab <schwab@redhat.com>
11052
11053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11054 is always restored.
11055
11056 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11057
11058 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11059 are re-adding the entry.
11060 * nscd/servicescache.c (cache_addserv): Likewise.
11061
11062 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11063
11064 * sysdeps/generic/dl-irel.h: fix protection against multiple
11065 inclusions.
11066 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11067
11068 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11069
11070 [BZ #12935]
11071 * malloc/memusage.sh: Fix quoting in message.
11072 * debug/xtrace.sh: Likewise.
11073
11074 * configure.in: Remove support for --experimental-malloc option, make
11075 it the default.
11076 * config.make.in: Likewise.
11077 * malloc/Makefile: Likewise.
11078
11079 2011-06-27 Andreas Schwab <schwab@redhat.com>
11080
11081 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11082 two-byte characters.
11083
11084 2011-06-27 Roland McGrath <roland@hack.frob.com>
11085
11086 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11087 AC_CACHE_CHECK invocation.
11088 * configure: Regenerated.
11089
11090 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11091
11092 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11093
11094 [BZ #12350]
11095 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11096 bit from old_res_options.
11097
11098 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11099
11100 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11101 value type for setfct.
11102
11103 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11104
11105 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11106 __gettimeofday instead of gettimeofday.
11107
11108 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11109
11110 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11111
11112 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11113
11114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11115
11116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11117 info.
11118
11119 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11122 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11123 strcpy-sse2-unaligned strncpy-sse2-unaligned
11124 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11125 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11126 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11127 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11128 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11129 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11130 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11131 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11132 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11133 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11134 (STRCPY): Support SSE2 and SSSE3 versions.
11135
11136 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11137
11138 [BZ #12874]
11139 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11140 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11141 kernels which artificially limit size of requests.
11142
11143 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11144
11145 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11146 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11147 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11148 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11149 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11150 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11151 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11152 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11153 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11154 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11155 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11156 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11157 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11158 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11159 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11160 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11161 Enable unaligned load optimization for Intel Core i3, i5 and i7
11162 processors.
11163 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11164 Define.
11165 (index_Fast_Unaligned_Load): Define.
11166 (HAS_FAST_UNALIGNED_LOAD): Define.
11167
11168 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11169
11170 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11171
11172 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11173
11174 [BZ #12907]
11175 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11176 until it is clear that the information is realy needed.
11177 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11178
11179 2011-06-22 Andreas Schwab <schwab@redhat.com>
11180
11181 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11182
11183 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11184
11185 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11186 /sys/devices/system/cpu/online if it is usable.
11187
11188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11189 reading the information from the /proc filesystem to once a second.
11190
11191 2011-06-21 Andreas Jaeger <aj@suse.de>
11192
11193 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11194 NULL after inclusion of kernel headers.
11195
11196 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11197
11198 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11199 calls to internal_setent.
11200
11201 [BZ #12885]
11202 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11203 addresses using gethostbyname4_r ignore IPv4 addresses.
11204
11205 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11206 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11207
11208 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11209
11210 2011-06-20 David S. Miller <davem@davemloft.net>
11211
11212 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11213 inclusions.
11214 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11215
11216 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11217 (elf_irel): Use it.
11218 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11219 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11220 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11221 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11222 * sysdeps/x86_64/dl-irel.h: Likewise.
11223
11224 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11225 * elf/dl-sym.c: Likewise.
11226
11227 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11228
11229 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11230 need to dereference resplen2.
11231
11232 2011-06-14 Andreas Schwab <schwab@redhat.com>
11233
11234 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11235
11236 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11237
11238 * Makeconfig: Define vardbdir and inst_vardbdir.
11239 * nss/Makefile: Add rules to install db-Makefile.
11240
11241 * nss/nss_db/db-XXX.c: Cleanup.
11242
11243 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11244 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11245 GLIBC_PRIVATE.
11246 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11247 * nss/makedb.c: Implement -g option to specify that value strings
11248 are generated and should not be added to table iterated over for
11249 get*ent calls.
11250 * nss/nss_db/db-initgroups.c: New file.
11251
11252 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11253 interface.
11254
11255 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11256 (internal_getgrouplist): Adjust to name change.
11257 Update use_initgroups_entry if this is not the first call.
11258 * nss/databases.def: Add initgroups entry.
11259
11260 * nss/makedb.c (compute_tables): Check result of multiple hash table
11261 sizes to minimize maximum chain length.
11262
11263 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11264
11265 * Versions.def: Add entry for libnss_db.
11266 * shlib-versions: Likewise.
11267 * nss/Makefile: Add rules to build libnss_db.
11268 * nss/Versions: Add libnss_db information. Organize libnss_files
11269 entries better.
11270 * nss/db-Makefile: Add gshadow support. Change rules for the new
11271 makedb progra. Some minor improvements to generate smaller files.
11272 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11273 here from...
11274 * nss/makedb.c: ...here.
11275 Improve database format to be smaller and require less memory at
11276 runtime.
11277 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11278 db anymore.
11279 * nss/nss_db/db-netgrp.c: Likewise.
11280 * nss/nss_db/db-open.c: Likewise.
11281 * nss/nss_files/flies-XXX.x: Adjust comments.
11282 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11283 * nss/nss_files/files-grp.c: Likewise.
11284 * nss/nss_files/files-hosts.c: Likewise.
11285 * nss/nss_files/files-network.c: Likewise.
11286 * nss/nss_files/files-proto.c: Likewise.
11287 * nss/nss_files/files-pwd.c: Likewise.
11288 * nss/nss_files/files-rpc.c: Likewise.
11289 * nss/nss_files/files-service.c: Likewise.
11290 * nss/nss_files/files-sgrp.c: Likewise.
11291 * nss/nss_files/files-spwd.c: Likewise.
11292 * nss/nss_db/db-alias.c: Removed.
11293 * nss/nss_db/dummy-db.h: Removed.
11294
11295 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11296
11297 * nss/makedb.c: Rewritten to not use database library.
11298 * nss/Makefile: Update to build new makedb program.
11299
11300 2011-06-14 Andreas Jaeger <aj@suse.de>
11301
11302 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11303 memset declaration.
11304
11305 2011-06-10 Andreas Schwab <schwab@redhat.com>
11306
11307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11308 tmpbuf.
11309
11310 2011-06-10 Roland McGrath <roland@hack.frob.com>
11311
11312 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11313 * elf/Makefile ($(objpfx)ld.so): Likewise.
11314
11315 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11316 Don't list ld.so twice in dependencies.
11317
11318 * posix/bug-regex31.c: Include <stdlib.h>.
11319
11320 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11321
11322 * nis/nss_compat/compat-spwd.c
11323 (getspent_next_nss_netgr): Remove unused variable.
11324 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11325
11326 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11327 nonmembers" output to use the right array.
11328
11329 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11330
11331 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11332
11333 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11334 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11335 * catgets/gencat.c (read_input_file): Likewise.
11336 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11337
11338 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11339 variable definition inside #if's controlling its use.
11340
11341 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11342
11343 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11344
11345 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11346
11347 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11348 unreachable code.
11349
11350 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11351
11352 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11353 * configure: Regenerated.
11354
11355 * Makerules: Revert last change.
11356 * elf/Makefile: Likewise.
11357
11358 2011-06-09 Roland McGrath <roland@hack.frob.com>
11359
11360 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11361 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11362 (reloc-link): Likewise.
11363
11364 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11365
11366 * elf/Makefile: Add rules to build pldd.
11367 * elf/pldd.c: New file.
11368 * elf/pldd-xx.c: New file.
11369
11370 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11371
11372 * version.h: Update for 2.15 development version.
11373
11374 2011-06-07 David S. Miller <davem@davemloft.net>
11375
11376 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11377 ifuncs.
11378 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11379 elf_machine_lazy_rel): Likewise.
11380 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11381 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11382 elf_machine_lazy_rel): Likewise.
11383 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11384 dl_hwcap via passed in argument.
11385 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11386 Likewise.
11387
11388 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11389
11390 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11391
11392 2011-06-06 Roland McGrath <roland@hack.frob.com>
11393
11394 [BZ #12849]
11395 * manual/fdl-1.1.texi: New file, verbatim from:
11396 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11397 * manual/lgpl-2.1.texi: New file, verbatim from:
11398 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11399 * manual/Makefile (licenses): New variable, list those new file names.
11400 (texis): Use it.
11401 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11402
11403 * manual/fdl.texi: File removed.
11404 * manual/lesser.texi: File removed.
11405 * manual/libc.texinfo (Copying, Documentation License):
11406 Use new @include file names, put @appendix directive before @include.
11407
11408 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11409
11410 [BZ #12841]
11411 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11412 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11413 (mq_open): Add __NTH.
11414
11415 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11416
11417 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11418 Assume Intel Core i3/i5/i7 processor if AVX is available.
11419
11420 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11421
11422 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11423 typo.
11424
11425 2011-05-31 Andreas Schwab <schwab@redhat.com>
11426
11427 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11428 memory. Use alloca_account. Fix memory leak when retrying.
11429
11430 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11431
11432 * version.h (RELEASE): Bump for 2.14 release.
11433 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11434
11435 * config.make.in (RANLIB): Remove entry.
11436
11437 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11438
11439 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11440 (libc.pot): Work around missing support for .ksh extension in xgettext.
11441
11442 [BZ #12684]
11443 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11444 if both request failed.
11445 (send_dg): In case of server errors clear resplen or *resplen2.
11446
11447 [BZ #12454]
11448 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11449 when there are multiple maps.
11450 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11451 (_dl_fini): Remove test here.
11452
11453 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11454
11455 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11456
11457 [BZ #12350]
11458 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11459 bit from old_res_options.
11460 (gaih_inet): Likewise.
11461
11462 [BZ #11099]
11463 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11464 as signed.
11465
11466 * resolv/res_init.c (res_setoptions): Make the code more compact.
11467
11468 [BZ #11558]
11469 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11470 set RES_USEVC.
11471
11472 [BZ #11634]
11473 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11474
11475 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11476
11477 [BZ #11781]
11478 * malloc/malloc.h: Declare malloc hook variables as volatile.
11479
11480 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11481 in last patch.
11482
11483 [BZ #11799]
11484 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11485 raise in the comment.
11486 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11488 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11489
11490 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11491
11492 [BZ #12811]
11493 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11494 grow the buffers more if it already has to be sufficient.
11495 (build_wcs_upper_buffer): Likewise.
11496 * posix/regexec.c (check_matching): Likewise.
11497 (clean_state_log_if_needed): Likewise.
11498 (extend_buffers): Don't enlarge buffers beyond size of the input
11499 buffer.
11500 Patches mostly by Emil Wojak <emil@wojak.eu>.
11501 * posix/bug-regex32.c: New file.
11502 * posix/Makefile (tests): Add bug-regex32.
11503
11504 * locale/findlocale.c (_nl_find_locale): Return right away if
11505 _nl_explode_name failed.
11506 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11507
11508 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11509
11510 * debug/xtrace.sh: Unify messages.
11511 * malloc/memusage.sh: Likewise.
11512
11513 [BZ #12813]
11514 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11515 time symbol from vDSO. Substitute with vsyscall if not available.
11516 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11517 __vdso_time.
11518
11519 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11520 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11521 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11522 Add sendmmsg and internal_sendmmsg.
11523 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11524 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11525 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11526
11527 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11528 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11529 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11530
11531 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11532
11533 [BZ #12813]
11534 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11535 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11536 available.
11537 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11538 __vdso_getcpu.
11539
11540 [BZ #12814]
11541 * iconvdata/Makefile (tests): Add bug-iconv9.
11542 * iconvdata/bug-iconv9.c: New file.
11543
11544 2011-05-27 Andreas Schwab <schwab@redhat.com>
11545
11546 [BZ #12814]
11547 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11548
11549 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11550
11551 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11552 (struct user_regs_struct): Change intcs field back to cs.
11553
11554 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11555
11556 * po/ja.po: Update from translation team.
11557
11558 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11559
11560 [BZ #12795]
11561 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11562 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11563
11564 2011-05-20 Andreas Schwab <schwab@redhat.com>
11565
11566 * stdlib/longlong.h: Update from GCC.
11567
11568 2011-05-23 Andreas Schwab <schwab@redhat.com>
11569
11570 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11571 parameter name.
11572 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11573 Add parameter name.
11574 (__sysconf): Pass it down.
11575
11576 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11577
11578 [BZ #12671]
11579 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11580 some situations.
11581 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11582 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11583 add in in __libc_use_alloca calls. Adjust callers.
11584 (glob): Use malloc in some situations.
11585
11586 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11587 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11588 pltexit.
11589
11590 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11591
11592 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11593 and CLOCK_BOOTTIME_ALARM.
11594
11595 [BZ #12782]
11596 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11597 is returned.
11598
11599 * string/_strerror.c (__strerror_r): Print negative errors as signed
11600 numbers.
11601
11602 [BZ #12777]
11603 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11604 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11605 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11606
11607 * configure.in: Fix typo in redirection and correct removal of test
11608 files in two cases.
11609
11610 [BZ #12788]
11611 * locale/setlocale.c (new_composite_name): Fix test to check for
11612 identical name of all categories.
11613
11614 [BZ #12792]
11615 * libio/filedoalloc.c (local_isatty): New function.
11616 (_IO_file_doallocate): Use local_isatty.
11617 * stdio-common/perror.c (perror): In case a new stream is used
11618 forward the stream error.
11619 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11620 error flag.
11621
11622 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11623
11624 [BZ #11869]
11625 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11626 alloca.
11627 * include/alloca.h (extend_alloca_account): Define.
11628
11629 [BZ #11857]
11630 * posix/regex.h: Fix comments with documentation of user-accessible
11631 fields after compilation and describe correct free'ing of pattern
11632 after re_compile_pattern.
11633 Patch by Reuben Thomas <rrt@sc3d.org>.
11634
11635 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11636
11637 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11638 and -mno-altivec to prevent the compiler from using Altivec and/or
11639 VSX instructions when the corresponding registers are not available.
11640
11641 2011-05-19 Andreas Schwab <schwab@redhat.com>
11642
11643 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11644
11645 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11646
11647 * libio/freopen.c (freopen): Use __dup2, not dup2.
11648 * libio/freopen64.c (freopen64): Likewise.
11649
11650 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11651
11652 [BZ #12775]
11653 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11654 * math/Makefile (tests): Add test-powl.
11655 (CFLAGS-test-powl.c): Define.
11656 * math/test-powl.c: New file.
11657
11658 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11661
11662 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11663
11664 [BZ #11837]
11665 * iconvdata/gb18030.c: Update to GB18020-2005.
11666
11667 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11668
11669 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11670 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11671 Patch by Aharon Robbins <arnold@skeeve.com>.
11672
11673 [BZ #11892]
11674 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11675 on the stack.
11676
11677 [BZ #11895]
11678 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11679 through underflows.
11680
11681 [BZ #12766]
11682 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11683 point to strings before performing equality test for error_one_per_line
11684 mode.
11685
11686 [BZ #11697]
11687 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11688
11689 [BZ #11820]
11690 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11691 (struct user_fpregs_struct): Avoid __uint*_t types.
11692
11693 [BZ #6420]
11694 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11695 symbol info. Use it instead of calling _dl_addr locally.
11696 (lock_and_info): New function.
11697 (tr_freehook): Call lock_and_info and pass symbol info as additional
11698 parameter to tr_where.
11699 (tr_mallochook): Likewise.
11700 (tr_reallochook): Likewise.
11701 (tr_memalignhook): Likewise.
11702
11703 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11704 used and couldn't be at all thread-safe.
11705
11706 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11707
11708 * libio/freopen.c (freopen): Don't close old file descriptor
11709 before the new one is opened. Instead dup the new file descriptor
11710 to the old one after the new stream is created.
11711 * libio/freopen64.c (freopen64): Likewise.
11712 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11713 * libio/fileops.c (_IO_new_file_close_it): Handle new
11714 _IO_FLAGS2_NOCLOSE flag.
11715 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11716 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11717 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11718 _IO_FLAGS2_NOCLOSE flag.
11719 * include/unistd.h: Add hidden_proto for dup3.
11720 Define __have_dup3.
11721 * io/dup3.c: Define hidden symbol.
11722 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11723
11724 [BZ #7101]
11725 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11726 when an incomplete long option is used.
11727 * posix/tst-getopt_long1.c: New file.
11728 * posix/Makefile (tests): Add tst-getopt_long1.
11729
11730 [BZ #10138]
11731 * scripts/config.guess: Update from autoconf-2.68.
11732 * scripts/config.sub: Likewise.
11733
11734 [BZ #10157]
11735 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11736 tests into ...
11737 (has_cpuclock): ...this. New function.
11738 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11739 macro here based on has_cpuclock code.
11740
11741 [BZ #10149]
11742 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11743 First byte (not low byte) is now always NUL.
11744 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11745
11746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11747 Use non-cancelable interfaces.
11748
11749 [BZ #9809]
11750 * locale/iso-639.def: Add entry for Sorani.
11751
11752 [BZ #11901]
11753 * include/stdlib.h: Move include protection to the right place.
11754 Define abort_msg_s. Declare __abort_msg with it.
11755 * stdlib/abort.c (__abort_msg): Adjust type.
11756 * assert/assert.c (__assert_fail_base): New function. Majority
11757 of code from __assert_fail. Allocate memory for __abort_msg with
11758 mmap.
11759 (__assert_fail): Now call __assert_fail_base.
11760 * assert/assert-perr.c: Remove bulk of implementation. Use
11761 __assert_fail_base.
11762 * include/assert.hL Declare __assert_fail_base.
11763 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11764 mmap.
11765 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11766
11767 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11768
11769 [BZ #11952]
11770 [BZ #12453]
11771 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11772 until all modules are registered in the DTV.
11773 * elf/Makefile: Add rules to build and run tst-tls19.
11774 * elf/tst-tls19.c: New file.
11775 * elf/tst-tls19mod1.c: New file.
11776 * elf/tst-tls19mod2.c: New file.
11777 * elf/tst-tls19mod3.c: New file.
11778 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11779
11780 [BZ #12083]
11781 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11782 correctly.
11783
11784 [BZ #12601]
11785 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11786 two-byte sequence errors.
11787 * iconvdata/Makefile (tests): Add bug-iconv8.
11788 * iconvdata/bug-iconv8.c: New file.
11789
11790 [BZ #12626]
11791 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11792 buf2 definition.
11793
11794 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11795
11796 [BZ #12432]
11797 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11798 (dummy_getcfa): New function.
11799 (init): Get _Unwind_GetCFA address, use dummy if not found.
11800 (backtrace_helper): In recursion check, also check whether CFA changes.
11801 (__backtrace): Completely initialize arg.
11802
11803 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11804 storing incomplete byte sequence in state object. Avoid testing for
11805 guaranteed too small input if we know there is enough data available.
11806
11807 2011-05-11 Andreas Schwab <schwab@redhat.com>
11808
11809 * Makeconfig (+link-pie): Indent.
11810 * Rules (binaries-pie): Define if $(have-fpie) and
11811 $(build-shared).
11812 (binaries-shared): Also filter out $(binaries-pie).
11813 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11814 * nscd/Makefile (others-pie): Add nscd.
11815 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11816 ($(objpfx)nscd): Remove command override.
11817 * login/Makefile (others-pie): Add pt_chown.
11818 ($(objpfx)pt_chown): Remove command override.
11819 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11820 remove command overrides.
11821
11822 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11823
11824 * libio/tst_putwc.c: Fix error messages.
11825
11826 [BZ #12724]
11827 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11828 currently writing and seek to current position when not.
11829 * libio/Makefile (tests): Add bug-fclose1.
11830 * libio/bug-fclose1.c: New file.
11831
11832 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11833
11834 [BZ #12511]
11835 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11836 don't set DF_1_NODELETE here.
11837 (do_lookup_x): When entering new entry test for copy relocation
11838 and if necessary set DF_1_NODELETE flag.
11839 * elf/tst-unique4.cc: New file.
11840 * elf/tst-unique4.h: New file.
11841 * elf/tst-unique4lib.cc: New file.
11842 * elf/Makefile: Add rules to build and run tst-unique4.
11843 Patch by Piotr Bury <pbury@goahead.com>.
11844
11845 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11846
11847 [BZ #12052]
11848 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11849
11850 [BZ #12625]
11851 * misc/mntent_r.c (addmntent): Flush the stream after the output
11852
11853 [BZ #12393]
11854 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11855 (is_trusted_path_normalize): Skip initial colon. Append slash
11856 to empty buffer. Duplicate is_trusted_path code but allow
11857 constructed patch to be prefix.
11858 (is_dst): Allow $ORIGIN followed by /.
11859 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11860 Correct testing of result of is_trusted_path_normalize
11861 (decompose_rpath): Fix warning.
11862
11863 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11864
11865 [BZ #11257]
11866 * grp/initgroups.c (internal_getgrouplist): When we found the service
11867 list through the initgroups entry in nsswitch.conf do not always
11868 continue on a successful lookup. Don't always use the
11869 __nss_group_database value if it is set.
11870 * nss/nsswitch.conf (initgroups): Change action for successful db
11871 lookup to continue for compatibility.
11872
11873 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11874
11875 [BZ #11532]
11876 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11877 and CP774 modules.
11878 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11879 and CP774 modules.
11880 * iconvdata/tst-tables.sh: Likewise.
11881 * iconvdata/cp770.c: New file.
11882 * iconvdata/cp771.c: New file.
11883 * iconvdata/cp772.c: New file.
11884 * iconvdata/cp773.c: New file.
11885 * iconvdata/cp774.c: New file.
11886 * iconvdata/testdata/CP770: New file.
11887 * iconvdata/testdata/CP770..UTF8: New file.
11888 * iconvdata/testdata/CP771: New file.
11889 * iconvdata/testdata/CP771..UTF8: New file.
11890 * iconvdata/testdata/CP772: New file.
11891 * iconvdata/testdata/CP772..UTF8: New file.
11892 * iconvdata/testdata/CP773: New file.
11893 * iconvdata/testdata/CP773..UTF8: New file.
11894 * iconvdata/testdata/CP774: New file.
11895 * iconvdata/testdata/CP774..UTF8: New file.
11896
11897 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11898 END CHARMAP line.
11899 * iconvdata/gen-8bit-gap.sh: Likewise.
11900 * iconvdata/gen-8bit.sh: Likewise.
11901
11902 * locale/iso-639.def: Add ary entry.
11903
11904 [BZ #11258]
11905 * locale/C-translit.h.in: Add U20A1 transliteration.
11906
11907 [BZ #12178]
11908 * locale/iso-639.def: Add wae entry.
11909 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11910
11911 [BZ #12545]
11912 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11913 for n.
11914
11915 [BZ #12711]
11916 * locale/C-translit.h.in: Add entry for U20B9.
11917 Patch by pravin.d.s@gmail.com.
11918
11919 2011-05-08 Ulrich Drepper <drepper@gmail.com>
11920
11921 [BZ #12713]
11922 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11923 ENAMETOOLONG use generic getcwd.
11924 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11925 in rtld. Use *stat64.
11926 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
11927 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
11928 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
11929 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11930 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11931 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11932 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11933 __fstatat64 macros.
11934 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11935 * dirent/rewinddir.c: Add libc_hidden_def.
11936 * sysdeps/mach/hurd/rewinddir.c: Likewise.
11937 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
11938
11939 * include/dirent.h (__alloc_dir): Add flags parameter.
11940 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11941 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11942 __alloc_dir.
11943 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11944 from fdopendir if O_CLOEXEC is already set.
11945
11946 2011-03-15 Alan Modra <amodra@gmail.com>
11947
11948 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11949 l_tls_firstbyte_offset non-zero. Save padding offset in
11950 l_tls_firstbyte_offset for later use.
11951 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11952 freeing static tls block.
11953
11954 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11955
11956 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11957 where #ifdef was intended. The intent is to prevent ARG_MAX from
11958 being defined by the kernel headers.
11959
11960 2011-05-07 Ulrich Drepper <drepper@gmail.com>
11961
11962 [BZ #12734]
11963 * resolv/resolv.h: Define RES_NOTLDQUERY.
11964 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11965 no-tld-query and set RES_NOTLDQUERY.
11966 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11967 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11968 modern BIND to search name as TLD unless forbidden.
11969
11970 2011-05-07 Petr Baudis <pasky@suse.cz>
11971 Ulrich Drepper <drepper@gmail.com>
11972
11973 [BZ #12393]
11974 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11975 (is_trusted_path): ...to here.
11976 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
11977 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
11978 using is_trusted_path_normalize() in setuid scripts.
11979
11980 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11981
11982 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11983 __BEGIN/__END_DECLS.
11984
11985 2011-05-06 Ulrich Drepper <drepper@gmail.com>
11986
11987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11988 NSS_STATUS_NOTFOUND if no record was found.
11989
11990 2011-05-05 Andreas Schwab <schwab@redhat.com>
11991
11992 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11993 (headers-not-in-tirpc): Remove rpc/netdb.h
11994 * resolv/netdb.h: Revert last change.
11995
11996 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11997
11998 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11999 circular dependency between libgcc.a and libc.a.
12000
12001 2011-05-05 Andreas Schwab <schwab@redhat.com>
12002
12003 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12004 * nis/Makefile: Don't install rpcsvc/*.
12005 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12006 instead of <rpc/types.h>.
12007 (MAXHOSTNAMELEN): Define.
12008
12009 2011-05-03 Andreas Schwab <schwab@redhat.com>
12010
12011 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12012
12013 2011-04-28 Maciej Babinski <mbabinski@google.com>
12014
12015 [BZ #12714]
12016 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12017 gethostbyname4_r when IPv6 results are possible.
12018
12019 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12020
12021 [BZ #12723]
12022 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12023 _PC_PIPE_BUF handling.
12024
12025 2011-04-30 Bruno Haible <bruno@clisp.org>
12026
12027 [BZ #12717]
12028 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12029 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12030 to 'int'.
12031 * inet/getnameinfo.c (getnameinfo): Likewise.
12032
12033 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12034
12035 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12036 to groups setting in database lookup.
12037 * nss/nsswitch.conf: Add initgroups entry.
12038
12039 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12040
12041 [BZ #12685]
12042 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12043 mode string.
12044 Patch by Eric Blake <eblake@redhat.com>.
12045
12046 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12047
12048 * sunrpc/Makefile (need-export-routines): Add svc_run.
12049 (routines): Remove svc_run.
12050 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12051 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12052 * sunrpc/svc_run.c (svc_run): Likewise.
12053 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12054
12055 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12056
12057 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12058 problem in reallocation in last patch.
12059
12060 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12061
12062 * sunrpc/Makefile: Move inclusion of Rules.
12063
12064 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12065
12066 * nss/nss_files/files-initgroups.c: New file.
12067 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12068 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12069 _nss_files_initgroups_dyn.
12070
12071 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12072
12073 * elf/elf.h (R_ARM_IRELATIVE): Define.
12074
12075 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12076
12077 * po/ru.po: Update from translation team.
12078
12079 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12080
12081 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12082 dependencies.
12083
12084 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12085
12086 [BZ #12653]
12087 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12088 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12089 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12090 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12091 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12092
12093 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12094
12095 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12096 differing bytes.
12097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12098 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12100
12101 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12102
12103 [BZ #12420]
12104 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12105 storing it.
12106 * stdlib/bug-getcontext.c: New file.
12107 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12108
12109 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12110
12111 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12112 instructions into .machine "z9-109".
12113 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12114 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12115
12116 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12117
12118 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12119 between environment variables and auxiliary vector.
12120
12121 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12122
12123 * Makefile: Add rules to build linkobj/libc.so.
12124 * include/libc-symbols.h: Define libc_hidden_nolink.
12125 * include/rpc/auth.h: Mark functions which are to be hidden.
12126 * include/rpc/auth_des.h: Likewise.
12127 * include/rpc/auth_unix.h: Likewise.
12128 * include/rpc/clnt.h: Likewise.
12129 * include/rpc/des_crypt.h: Likewise.
12130 * include/rpc/key_prot.h: Likewise.
12131 * include/rpc/pmap_clnt.h: Likewise.
12132 * include/rpc/pmap_prot.h: Likewise.
12133 * include/rpc/pmap_rmt.h: Likewise.
12134 * include/rpc/rpc_msg.h: Likewise.
12135 * include/rpc/svc.h: Likewise.
12136 * include/rpc/svc_auth.h: Likewise.
12137 * include/rpc/xdr.h: Likewise.
12138 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12139 * nss/Makefile: Likewise.
12140 * sunrpc/Makefile: Don't install headers. Build library with normal
12141 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12142 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12143 for the compat linking library. Remove use of INTDEF/INTUSE.
12144 * sunrpc/auth_none.c: Likewise.
12145 * sunrpc/auth_unix.c: Likewise.
12146 * sunrpc/authdes_prot.c: Likewise.
12147 * sunrpc/authuxprot.c: Likewise.
12148 * sunrpc/clnt_gen.c: Likewise.
12149 * sunrpc/clnt_perr.c: Likewise.
12150 * sunrpc/clnt_raw.c: Likewise.
12151 * sunrpc/clnt_simp.c: Likewise.
12152 * sunrpc/clnt_tcp.c: Likewise.
12153 * sunrpc/clnt_udp.c: Likewise.
12154 * sunrpc/clnt_unix.c: Likewise.
12155 * sunrpc/des_crypt.c: Likewise.
12156 * sunrpc/des_soft.c: Likewise.
12157 * sunrpc/get_myaddr.c: Likewise.
12158 * sunrpc/key_call.c: Likewise.
12159 * sunrpc/key_prot.c: Likewise.
12160 * sunrpc/netname.c: Likewise.
12161 * sunrpc/pm_getmaps.c: Likewise.
12162 * sunrpc/pm_getport.c: Likewise.
12163 * sunrpc/pmap_clnt.c: Likewise.
12164 * sunrpc/pmap_prot.c: Likewise.
12165 * sunrpc/pmap_prot2.c: Likewise.
12166 * sunrpc/pmap_rmt.c: Likewise.
12167 * sunrpc/publickey.c: Likewise.
12168 * sunrpc/rpc_cmsg.c: Likewise.
12169 * sunrpc/rpc_common.c: Likewise.
12170 * sunrpc/rpc_dtable.c: Likewise.
12171 * sunrpc/rpc_prot.c: Likewise.
12172 * sunrpc/rpc_thread.c: Likewise.
12173 * sunrpc/rtime.c: Likewise.
12174 * sunrpc/svc.c: Likewise.
12175 * sunrpc/svc_auth.c: Likewise.
12176 * sunrpc/svc_authux.c: Likewise.
12177 * sunrpc/svc_raw.c: Likewise.
12178 * sunrpc/svc_run.c: Likewise.
12179 * sunrpc/svc_simple.c: Likewise.
12180 * sunrpc/svc_tcp.c: Likewise.
12181 * sunrpc/svc_udp.c: Likewise.
12182 * sunrpc/svc_unix.c: Likewise.
12183 * sunrpc/svcauth_des.c: Likewise.
12184 * sunrpc/xcrypt.c: Likewise.
12185 * sunrpc/xdr.c: Likewise.
12186 * sunrpc/xdr_array.c: Likewise.
12187 * sunrpc/xdr_float.c: Likewise.
12188 * sunrpc/xdr_intXX_t.c: Likewise.
12189 * sunrpc/xdr_mem.c: Likewise.
12190 * sunrpc/xdr_rec.c: Likewise.
12191 * sunrpc/xdr_ref.c: Likewise.
12192 * sunrpc/xdr_sizeof.c: Likewise.
12193 * sunrpc/xdr_stdio.c: Likewise.
12194
12195 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12196
12197 [BZ #12650]
12198 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12199 * sysdeps/ia64/dl-tls.h: Likewise.
12200 * sysdeps/powerpc/dl-tls.h: Likewise.
12201 * sysdeps/s390/dl-tls.h: Likewise.
12202 * sysdeps/sh/dl-tls.h: Likewise.
12203 * sysdeps/sparc/dl-tls.h: Likewise.
12204 * sysdeps/x86_64/dl-tls.h: Likewise.
12205 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12206
12207 2011-03-14 Andreas Schwab <schwab@redhat.com>
12208
12209 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12210 rpath element also skip the following colon.
12211 (expand_dynamic_string_token): Add is_path parameter and pass
12212 down to DL_DST_REQUIRED and _dl_dst_substitute.
12213 (decompose_rpath): Call expand_dynamic_string_token with
12214 non-zero is_path. Ignore empty rpaths.
12215 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12216 with zero is_path.
12217
12218 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12219
12220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12221 Make cancelable.
12222
12223 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12224
12225 [BZ #12655]
12226 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12227 Patch by Filipe David Manana <fdmanana@apache.org>.
12228
12229 2011-04-07 Andreas Schwab <schwab@redhat.com>
12230
12231 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12232 Maintain aligned stack.
12233 (CHECK_RSP): Remove unused macro.
12234
12235 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12236
12237 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12238 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12239
12240 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12241
12242 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12243
12244 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12245
12246 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12247
12248 [BZ #12518]
12249 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12250 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12251 * sysdeps/x86_64/memmove.c: New file.
12252 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12253 (memcpy): Renamed to ...
12254 (__new_memcpy): This.
12255 (memcpy): Provide GLIBC_2_14 memcpy.
12256 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12257 (memcpy): Provide GLIBC_2_2_5 memcpy.
12258
12259 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12260
12261 [BZ #12631]
12262 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12263
12264 2011-03-30 Andreas Schwab <schwab@redhat.com>
12265
12266 * misc/syncfs.c: New file.
12267 * misc/Makefile (routines): Add syncfs.
12268 * posix/unistd.h: Declare syncfs.
12269 * sysdeps/unix/syscalls.list: Add syncfs.
12270
12271 2011-04-01 Andreas Schwab <schwab@redhat.com>
12272
12273 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12274 open_by_handle_at.
12275 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12276 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12277 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12278 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12279 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12280 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12281 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12282
12283 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12284
12285 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12286 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12287 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12288 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12289 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12290 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12291 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12292
12293 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12294 sync_file_range.c with -fexceptions.
12295 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12296 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12297 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12298 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12299 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12300 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12301 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12302 sync_file_range as cancellation point
12303 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12304 now a wrapper around __call_sync_file_range with cancellation handling.
12305 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12306 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12307 function name to __call_sync_file_range.
12308 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12309 Add call_sync_file_range.
12310
12311 2011-04-01 Andreas Schwab <schwab@redhat.com>
12312
12313 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12314 bits/timex.h.
12315
12316 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12317
12318 * iconv/iconv.h: Fix typo in comment.
12319 * io/fcntl.h: Likewise.
12320 * libio/stdio.h: Likewise.
12321 * posix/spawn.h: Likewise.
12322 * posix/unistd.h: Likewise.
12323 * stdlib/stdlib.h: Likewise.
12324 * time/time.h: Likewise.
12325 * wcsmbs/wchar.h: Likewise.
12326
12327 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12328 open_by_handle): Add.
12329 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12330 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12331 Augment a few comments.
12332 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12333 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12334 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12335 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12337 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12338 open_by_handle.
12339
12340 * io/fcntl.h (AT_EMPTY_PATH): Define.
12341
12342 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12343
12344 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12345 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12346 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12347 to...
12348 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12349 * Versions.def: Add GLIBC_2.14.
12350 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12351 Export.
12352
12353 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12354
12355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12356 round counter.
12357 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12358
12359 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 [BZ #12597]
12362 * string/test-strncmp.c (do_page_test): New function.
12363 (check2): Likewise.
12364 (test_main): Call check2.
12365 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12366
12367 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12368
12369 [BZ #12587]
12370 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12371 Handle cache information in CPU leaf 4.
12372 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12373
12374 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12375
12376 [BZ #12583]
12377 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12378 character representation.
12379 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12380
12381 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12382
12383 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12384 END(__isnan) to END(__isnanf) to match function entry point/label
12385 EALIGN(__isnanf,...).
12386
12387 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12388
12389 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12390
12391 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12392
12393 [BZ #12510]
12394 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12395 copy from the symbol referenced in the relocation to initialize the
12396 used variable.
12397 Patch by Piotr Bury <pbury@goahead.com>.
12398 * elf/Makefile: Add rules to build and tst-unique3.
12399 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12400 * elf/tst-unique3.cc: New file.
12401 * elf/tst-unique3.h: New file.
12402 * elf/tst-unique3lib.cc: New file.
12403 * elf/tst-unique3lib2.cc: New file.
12404
12405 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12406
12407 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12408
12409 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12410 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12411 to _start.
12412
12413 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12414
12415 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12416 to-be-loaded object along a path to loader is ld.so.
12417
12418 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12419 Ulrich Drepper <drepper@gmail.com>
12420
12421 * sysdeps/x86_64/memset.S: After aligning destination, code
12422 branches to different locations depending on the value of
12423 misalignment, when multiarch is enabled. Fix this.
12424
12425 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12426
12427 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12428 Set _x86_64_preferred_memory_instruction for AMD processsors.
12429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12430 Set bit_Prefer_SSE_for_memop for AMD processors.
12431
12432 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12433
12434 * libio/fmemopen.c (fmemopen): Optimize a bit.
12435
12436 2011-03-03 Andreas Schwab <schwab@redhat.com>
12437
12438 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12439
12440 2011-03-03 Roland McGrath <roland@redhat.com>
12441
12442 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12443
12444 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12445
12446 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12447 __bzero_ultra1 instead of __memset_ultra1.
12448
12449 2011-02-23 Andreas Schwab <schwab@redhat.com>
12450 Ulrich Drepper <drepper@gmail.com>
12451
12452 [BZ #12509]
12453 * include/link.h (struct link_map): Add l_orig_initfini.
12454 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12455 returning unsuccessfully.
12456 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12457 close of a file loaded at startup, restore the original l_initfini
12458 list.
12459 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12460 list, store the pointer.
12461 * elf/Makefile ($(objpfx)noload-mem): New rule.
12462 (noload-ENV): Define.
12463 (tests): Add $(objpfx)noload-mem.
12464 * elf/noload.c: Include <memcheck.h>.
12465 (main): Call mtrace. Close all opened handles.
12466
12467 2011-02-17 Andreas Schwab <schwab@redhat.com>
12468
12469 [BZ #12454]
12470 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12471 dependencies are missing.
12472
12473 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12474
12475 Fix __if_freereq crash: Unlike the generic version which uses free,
12476 Hurd needs munmap.
12477 * sysdeps/mach/hurd/ifreq.h: New file.
12478
12479 2011-01-27 Petr Baudis <pasky@suse.cz>
12480 Ulrich Drepper <drepper@gmail.com>
12481
12482 [BZ 12445]#
12483 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12484 to extend_alloca().
12485 * stdio-common/bug23.c: New file.
12486 * stdio-common/Makefile (tests): Add bug23.
12487
12488 2010-09-28 Andreas Schwab <schwab@redhat.com>
12489 Ulrich Drepper <drepper@gmail.com>
12490
12491 [BZ #12489]
12492 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12493 before performing relro protection. At old place add assertion
12494 to make sure nothing changed.
12495
12496 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12497 Glauber de Oliveira Costa <glommer@gmail.com>
12498
12499 * elf/elf.h: Add new ARM TLS relocs.
12500
12501 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12502
12503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12504 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12505 cast from r3.
12506 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12507 'tests' variable.
12508 * sysdeps/wordsize-64/tst-writev.c: New file.
12509
12510 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12511
12512 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12513 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12514 insns in _dl_start to prevent a TOC reference before relocs are
12515 resolved.
12516
12517 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12518
12519 [BZ #12469]
12520 * Makeconfig: Remove RANLIB definition.
12521 * Makerules: Don't use RANLIB.
12522 * aclocal.m4: Remove ranlib test.
12523 * configure.in: No need to check for ranlib.
12524 * elf/rtld-Rules: Don't use RANLIB.
12525
12526 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12527
12528 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12529 protection macro.
12530 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12531 inclusion protection macro.
12532
12533 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12534 SIGRTMIN and SIGRTMAX and print information in that case only when
12535 SIGRTMIN is defined.
12536
12537 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12538
12539 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12540 arginfo fn returning -1.
12541
12542 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12543 and thousands string is zero terminated.
12544
12545 2011-02-03 Andreas Schwab <schwab@redhat.com>
12546
12547 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12548 sysdeps/unix/sysv/linux/bits/socket.h.
12549
12550 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12551
12552 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12553 (__CPU_COUNT): Remove old macros.
12554 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12555 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12556 (__CPU_ALLOC, __CPU_FREE): Add macros.
12557 (__sched_cpualloc, __sched_cpufree): Add declarations.
12558
12559 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12560
12561 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12562 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12563 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12564 (readdhstai): Return value of addhstaiX call.
12565 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12566 (addgrbyX): Return value returned by cache_addgr.
12567 (readdgrbyname): Return value returned by addgrbyX.
12568 (readdgrbygid): Likewise.
12569 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12570 (addpwbyX): Return value returned by cache_addpw.
12571 (readdpwbyname): Return value returned by addhstbyX.
12572 (readdpwbyuid): Likewise.
12573 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12574 (addservbyX): Return value returned by cache_addserv.
12575 (readdservbyname): Return value returned by addservbyX:
12576 (readdservbyport): Likewise.
12577 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12578 (addhstbyX): Return value returned by cache_addhst.
12579 (readdhstbyname): Return value returned by addhstbyX.
12580 (readdhstbyaddr): Likewise.
12581 (readdhstbynamev6): Likewise.
12582 (readdhstbyaddrv6): Likewise.
12583 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12584 (readdinitgroups): Return value returned by addinitgroupsX.
12585 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12586 (prune_cache): Keep track of timeout value of re-added entries.
12587 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12588 * nscd/nscd.h: Adjust prototypes of readd* functions.
12589
12590 2011-02-04 Roland McGrath <roland@redhat.com>
12591
12592 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12593 (nis_stats): Likewise.
12594 * nis/nis_modify.c (nis_modify): Likewise.
12595 * nis/nis_remove.c (nis_remove): Likewise.
12596 * nis/nis_add.c (nis_add): Likewise.
12597
12598 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12599
12600 * posix/fnmatch_loop.c: Add some consts.
12601
12602 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12603
12604 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12605
12606 [BZ #12460]
12607 * config.make.in (config-cflags-novzeroupper): Define.
12608 * configure.in: Substitute libc_cv_cc_novzeroupper.
12609 * elf/Makefile (AVX-CFLAGS): Define.
12610 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12611 (CFLAGS-tst-auditmod4a.c): Likewise.
12612 (CFLAGS-tst-auditmod4b.c): Likewise.
12613 (CFLAGS-tst-auditmod6b.c): Likewise.
12614 (CFLAGS-tst-auditmod6c.c): Likewise.
12615 (CFLAGS-tst-auditmod7b.c): Likewise.
12616 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12617
12618 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12619
12620 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12621 function to the callback.
12622 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12623
12624 2011-02-02 Andreas Schwab <schwab@redhat.com>
12625
12626 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12627 of errno.
12628
12629 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12630
12631 [BZ #11724]
12632 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12633 of constructors.
12634 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12635 of destructors.
12636 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12637
12638 [BZ #11724]
12639 * elf/Makefile: Add rules to build and run new test.
12640 * elf/tst-initorder.c: New file.
12641 * elf/tst-initorder.exp: New file.
12642 * elf/tst-initordera1.c: New file.
12643 * elf/tst-initordera2.c: New file.
12644 * elf/tst-initordera3.c: New file.
12645 * elf/tst-initordera4.c: New file.
12646 * elf/tst-initorderb1.c: New file.
12647 * elf/tst-initorderb2.c: New file.
12648 * elf/tst-order-a1.c: New file.
12649 * elf/tst-order-a2.c: New file.
12650 * elf/tst-order-a3.c: New file.
12651 * elf/tst-order-a4.c: New file.
12652 * elf/tst-order-b1.c: New file.
12653 * elf/tst-order-b2.c: New file.
12654 * elf/tst-order-main.c: New file.
12655 New test case by George Gensure <werkt0@gmail.com>.
12656
12657 2010-10-01 Andreas Schwab <schwab@redhat.com>
12658
12659 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12660 decoding ACE if AI_CANONIDN.
12661
12662 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12663
12664 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12665
12666 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12667
12668 * version.h (RELEASE): Bump for 2.13 release.
12669 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12670
12671 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12672
12673 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12674 MADV_NOHUGEPAGE.
12675 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12676 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12677 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12678 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12679 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12680 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12681
12682 * posix/getconf.c: Update copyright year.
12683 * catgets/gencat.c: Likewise.
12684 * csu/version.c: Likewise.
12685 * debug/catchsegv.sh: Likewise.
12686 * debug/xtrace.sh: Likewise.
12687 * elf/ldconfig.c: Likewise.
12688 * elf/ldd.bash.in: Likewise.
12689 * elf/sprof.c (print_version): Likewise.
12690 * iconv/iconv_prog.c: Likewise.
12691 * iconv/iconvconfig.c: Likewise.
12692 * locale/programs/locale.c: Likewise.
12693 * locale/programs/localedef.c: Likewise.
12694 * malloc/memusage.sh: Likewise.
12695 * malloc/mtrace.pl: Likewise.
12696 * nscd/nscd.c (print_version): Likewise.
12697 * nss/getent.c: Likewise.
12698
12699 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12700 PF_CAIF, and PF_ALG.
12701 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12702
12703 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12704
12705 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12706 (modules-names): Use them.
12707 (ifunc-test-modules, ifunc-pie-tests): Define.
12708 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12709 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12710 (test-extras): Likewise.
12711 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12712 $(compile-command.c).
12713 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12714 (all-built-dso): Define.
12715 (check-textrel.out, check-execstack.out): Depend on it.
12716
12717 * configure.in: Don't override --enable-multi-arch.
12718
12719 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12720
12721 [BZ #6812]
12722 * nscd/hstcache.c (tryagain): Define.
12723 (cache_addhst): Return tryagain not notfound for temporary errors.
12724 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12725 failed.
12726
12727 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12728
12729 [BZ #10563]
12730 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12731 to make the syscall.
12732 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12733
12734 [BZ #12378]
12735 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12736 and fall back to matching as normal character if the string ends before
12737 the matching ']' is found. This is what POSIX requires.
12738 * posix/testfnm.c: Adjust test result.
12739 * posix/globtest.sh: Adjust test result. Add new test.
12740 * posix/tst-fnmatch.input: Likewise.
12741 * posix/tst-fnmatch2.c: Add new test.
12742
12743 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12744
12745 * elf/Makefile (check-execstack): Revert last change. Depend on
12746 check-execstack.h.
12747 (check-execstack.h): New target.
12748 (generated): Add check-execstack.h.
12749 * elf/check-execstack.c: Include "check-execstack.h".
12750 (main): Revert last change.
12751 (handle_file): Return zero if GNU_STACK is absent and
12752 DEFAULT_STACK_PERMS doesn't include PF_X.
12753
12754 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12755
12756 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12757 in child fails because the descriptor is already closed.
12758 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12759 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12760 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12761
12762 [BZ #12397]
12763 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12764 syscall.
12765
12766 [BZ #10484]
12767 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12768 temporary buffer used to handle multi lookups locally.
12769 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12770
12771 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12772
12773 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12774 loader is ld.so.
12775
12776 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12777
12778 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12779 alignment for SSE2.
12780
12781 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12782
12783 [BZ #12394]
12784 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12785 characters. When rounding increased number of integer digits recompute
12786 number of groups.
12787 * stdio-common/tst-grouping.c: New file.
12788 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12789
12790 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12791
12792 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12793 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12794
12795 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12796 void.
12797 * bits/select.h: Likewise.
12798
12799 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12800
12801 * po/ja.po: Update from translation team.
12802
12803 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12804
12805 [BZ #11155]
12806 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12807 implementation just like for lxstat, fxstatat, et al.
12808
12809 2010-12-27 Jim Meyering <meyering@redhat.com>
12810
12811 [BZ #12348]
12812 * posix/regexec.c (build_trtable): Return failure indication upon
12813 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12814
12815 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12816
12817 [BZ #12201]
12818 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12819 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12820 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12821 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12822
12823 [BZ #12207]
12824 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12825
12826 [BZ #12204]
12827 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12828 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12829
12830 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12831
12832 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12833 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12834 script has SORT_BY_INIT_PRIORITY.
12835 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12836 NO_CTORS_DTORS_SECTIONS is defined.
12837 * elf/soinit.c: Likewise.
12838 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12839 NO_CTORS_DTORS_SECTIONS is defined.
12840 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12841 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12842 * sysdeps/sh/init-first.c: Likewise.
12843 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12844
12845 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12846
12847 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12848 always use the slow path.
12849
12850 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12851
12852 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12853 similar rule which adds the sysdep directories to the header search in
12854 order to pick up the correct platform stackinfo.h.
12855 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12856 perform test if it is, otherwise return successfully without testing.
12857 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12858 DEFAULT_STACK_PERMS define in stackinfo.h.
12859 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12860 defined in stackinfo.h.
12861 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12862 DEFAULT_STACK_PERMS defined in stackinfo.h.
12863 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12864 * sysdeps/ia64/stackinfo.h: Likewise.
12865 * sysdeps/s390/stackinfo.h: Likewise.
12866 * sysdeps/sh/stackinfo.h: Likewise.
12867 * sysdeps/sparc/stackinfo.h: Likewise.
12868 * sysdeps/x86_64/stackinfo.h: Likewise.
12869 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12870 PF_X for powerpc64. Retain PF_X for powerpc32.
12871
12872 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12873
12874 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12875 accurately.
12876 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12877 GETDENTS_64BIT_ALIGNED.
12878
12879 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12880
12881 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12882
12883 2010-12-10 Andreas Schwab <schwab@redhat.com>
12884
12885 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12886 _GNU_SOURCE.
12887
12888 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12889 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12890 Remove __restrict.
12891 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12892 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12893
12894 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12895
12896 [BZ #11655]
12897 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12898 are initialized.
12899
12900 2010-12-09 Jakub Jelinek <jakub@redhat.com>
12901
12902 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12903
12904 2010-12-03 Ulrich Drepper <drepper@gmail.com>
12905
12906 * po/it.po: Update from translation team.
12907
12908 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12909
12910 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12911 unused codes.
12912
12913 2010-11-30 Ulrich Drepper <drepper@gmail.com>
12914
12915 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12916
12917 2010-11-24 Andreas Schwab <schwab@redhat.com>
12918
12919 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12920 specially.
12921 (gaih_getanswer_slice): Likewise.
12922
12923 2010-10-20 Jakub Jelinek <jakub@redhat.com>
12924
12925 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12926
12927 2010-05-31 Petr Baudis <pasky@suse.cz>
12928
12929 [BZ #11149]
12930 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12931 silently even in the chroot mode.
12932
12933 2010-11-22 Ulrich Drepper <drepper@gmail.com>
12934
12935 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12936 last patch a bit. Pretty printing
12937
12938 2010-05-31 Petr Baudis <pasky@suse.cz>
12939
12940 [BZ #10085]
12941 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12942 initialization of skip_initgroups_dyn.
12943
12944 2010-11-19 Ulrich Drepper <drepper@gmail.com>
12945
12946 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12947 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12948
12949 2010-11-16 Ulrich Drepper <drepper@gmail.com>
12950
12951 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12952
12953 2010-11-11 Andreas Schwab <schwab@redhat.com>
12954
12955 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12956 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12957 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12958 ($(objpfx)tst-fnmatch-mem): New rule.
12959 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12960 * posix/tst-fnmatch.c (main): Call mtrace.
12961
12962 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12965 Support Intel processor model 6 and model 0x2c.
12966
12967 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
12968
12969 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12970 signed comparison.
12971
12972 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 [BZ #12205]
12975 * string/test-strncasecmp.c (check_result): New function.
12976 (do_one_test): Use it.
12977 (check1): New function.
12978 (test_main): Use it.
12979 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12980 Support strcasecmp and strncasecmp.
12981
12982 2010-11-08 Ulrich Drepper <drepper@gmail.com>
12983
12984 [BZ #12194]
12985 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12986 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12987
12988 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12989
12990 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12991 IFUNC support.
12992 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12993 memset-x86-64.
12994 * sysdeps/x86_64/multiarch/bzero.S: New file.
12995 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12996 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12997 * sysdeps/x86_64/multiarch/memset.S: New file.
12998 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12999 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13000 Set bit_Prefer_SSE_for_memop for Intel processors.
13001 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13002 Define.
13003 (index_Prefer_SSE_for_memop): Define.
13004 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13005
13006 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13007
13008 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13009 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13010
13011 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13012
13013 [BZ #12191]
13014 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13015 (__x86_64_raw_data_cache_size_half): Likewise.
13016 (__x86_64_raw_shared_cache_size): Likewise.
13017 (__x86_64_raw_shared_cache_size_half): Likewise.
13018
13019 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13020 (__x86_64_raw_data_cache_size_half): Likewise.
13021 (__x86_64_raw_shared_cache_size): Likewise.
13022 (__x86_64_raw_shared_cache_size_half): Likewise.
13023 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13024 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13025 and __x86_64_raw_shared_cache_size_half. Round
13026 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13027 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13028 to multiple of 256 bytes.
13029
13030 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13031
13032 [BZ #12167]
13033 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13034 of inacessible symlinks. Verify result of symlink before returning it.
13035 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13036 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13037
13038 2010-10-28 Erich Ritz <erichritz@gmail.com>
13039
13040 * math/math.h (isinf): Fix typo in comment.
13041
13042 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13043
13044 * po/da.po: Update from translation team.
13045
13046 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13047
13048 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13049 is added to the list.
13050
13051 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13052 Ulrich Drepper <drepper@gmail.com>
13053
13054 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13055 the global list here. Move code to...
13056 (_dl_add_to_namespace_list): ...here. New function.
13057 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13058 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13059 * elf/dl-load.c (lose): Don't remove the element from the list.
13060 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13061 (_dl_map_object): Likewise.
13062
13063 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13064
13065 [BZ #12159]
13066 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13067 into all bytes of SSE register.
13068 Patch by Richard Li <richardpku@gmail.com>.
13069
13070 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13071
13072 [BZ #12140]
13073 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13074 perturbing.
13075
13076 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13077
13078 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13079 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13080 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13081 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13083 submachine.
13084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13085
13086 2010-10-22 Andreas Schwab <schwab@redhat.com>
13087
13088 * include/dlfcn.h (__RTLD_SECURE): Define.
13089 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13090 mode & __RTLD_SECURE instead.
13091 (open_path): Rename preloaded parameter to secure.
13092 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13093 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13094 * elf/dl-deps.c (openaux): Likewise.
13095 * elf/rtld.c (struct map_args): Remove is_preloaded.
13096 (map_doit): Don't use it.
13097 (dl_main): Likewise.
13098 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13099 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13100
13101 2010-09-09 Andreas Schwab <schwab@redhat.com>
13102
13103 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13104 (sysd-rules-targets): Remove duplicates.
13105 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13106 rtld-%.$o dependency.
13107
13108 2010-10-18 Andreas Schwab <schwab@redhat.com>
13109
13110 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13111 _dl_map_object do it.
13112
13113 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13114
13115 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13116 fast fma builtins, define the macros in the C99 standard.
13117 (FP_FAST_FMAF): Likewise.
13118 (FP_FAST_FMAL): Likewise.
13119 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13120
13121 * bits/mathdef.h: Update copyright year.
13122 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13123
13124 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13125
13126 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13127 builtins, define the macros in the C99 standard.
13128 (FP_FAST_FMAF): Likewise.
13129 (FP_FAST_FMAL): Likewise.
13130 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13131 multiply/add.
13132 (FP_FAST_FMAF): Likewise.
13133
13134 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13135
13136 [BZ #3268]
13137 * math/libm-test.inc (fma_test): Some new testcases.
13138 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13139 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13140 y and infinite z. Do multiplication by C already in long double.
13141 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13143 y and infinite z. Do bitwise or of inexact bit into u.d.
13144 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13145 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13146 * sysdeps/i386/fpu/s_fma.S: Removed.
13147 * sysdeps/i386/fpu/s_fmal.S: Removed.
13148
13149 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13150
13151 [BZ #3268]
13152 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13153 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13154 computation is not scheduled after fetestexcept. Fix value
13155 of minimum denormal long double.
13156
13157 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13158
13159 [BZ #3268]
13160 * math/libm-test.inc (fma_test): Add some more tests.
13161 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13162 correctly.
13163
13164 2010-10-15 Andreas Schwab <schwab@redhat.com>
13165
13166 * scripts/data/localplt-s390-linux-gnu.data: New file.
13167 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13168
13169 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13170
13171 [BZ #3268]
13172 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13173 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13174 instead of dbl-64.
13175 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13176 inlines.
13177 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13178 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13179 if one of x and y is very large and the other is subnormal.
13180 * sysdeps/s390/fpu/s_fmaf.c: New file.
13181 * sysdeps/s390/fpu/s_fma.c: New file.
13182 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13183 * sysdeps/powerpc/fpu/s_fma.S: New file.
13184 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13185 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13186 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13187
13188 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13189
13190 [BZ #3268]
13191 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13192 fma tests.
13193 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13194 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13195 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13196 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13197 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13198 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13199 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13200
13201 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13202
13203 [BZ #12078]
13204 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13205 * posix/bug-regex31.input: Add test case.
13206
13207 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13208
13209 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13210 * posix/bug-regex31.input: New file.
13211
13212 [BZ #12078]
13213 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13214 (parse_sub_exp): Fix last change, use postorder.
13215
13216 * posix/bug-regex31.c: New file.
13217 * posix/Makefile: Add rules to build and run bug-regex31.
13218
13219 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13220
13221 [BZ #12078]
13222 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13223
13224 [BZ #12108]
13225 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13226 to have entries in sys_siglist.
13227
13228 [BZ #12093]
13229 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13230 be NULL.
13231
13232 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13233
13234 [BZ #3268]
13235 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13236 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13237 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13238 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13239 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13240 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13241 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13242 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13243 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13244 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13245 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13246 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13247 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13248 * math/ftestexcept.c (fetestexcept): Likewise.
13249 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13250 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13251 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13252 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13253 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13254 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13255 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13256
13257 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13258
13259 [BZ #12107]
13260 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13261 newline.
13262
13263 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13264
13265 * string/bug-strstr1.c: New file.
13266 * string/Makefile: Add rules to build and run bug-strstr1.
13267
13268 2010-10-05 Eric Blake <eblake@redhat.com>
13269
13270 [BZ #12092]
13271 * string/str-two-way.h (two_way_long_needle): Always clear memory
13272 when skipping input due to the shift table.
13273
13274 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13275
13276 [BZ #12005]
13277 * malloc/mcheck.c: Handle large requests.
13278
13279 [BZ #12077]
13280 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13281 for strncmp and strncasecmp.
13282 * string/stratcliff.c: Add tests for strcmp and strncmp.
13283 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13284
13285 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13286
13287 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13288 __set_fpscr.
13289
13290 2010-09-30 Andreas Jaeger <aj@suse.de>
13291
13292 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13293 (CGROUP_SUPER_MAGIC): Define.
13294 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13295 Handle btrfs and cgroup file systems.
13296 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13297 Likewise.
13298
13299 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13300
13301 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13302 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13303
13304 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13305
13306 [BZ #12067]
13307 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13308 trying to locate the ELF header.
13309
13310 2010-09-27 Andreas Schwab <schwab@redhat.com>
13311
13312 [BZ #11611]
13313 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13314 Mask out sign-bit copies when constructing f_fsid.
13315
13316 2010-09-24 Petr Baudis <pasky@suse.cz>
13317
13318 * debug/stack_chk_fail_local.c: Add missing licence exception.
13319 * debug/warning-nop.c: Likewise.
13320
13321 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13322
13323 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13324 implementing getdents64 using getdents syscall, set d_type if
13325 __ASSUME_GETDENTS32_D_TYPE.
13326
13327 2010-09-16 Andreas Schwab <schwab@redhat.com>
13328
13329 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13330 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13331
13332 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13333
13334 [BZ #12037]
13335 * posix/unistd.h: Undo change of feature selection for ftruncate from
13336 2010-01-11.
13337
13338 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13339
13340 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13341 detection.
13342
13343 2010-09-20 Andreas Schwab <schwab@redhat.com>
13344
13345 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13346 fanotify_mark.
13347 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13348
13349 2010-09-14 Andreas Schwab <schwab@redhat.com>
13350
13351 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13352 variables after CHECK_SP call.
13353 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13354
13355 2010-09-13 Andreas Schwab <schwab@redhat.com>
13356 Ulrich Drepper <drepper@redhat.com>
13357
13358 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13359 re-relocationg ld.so.
13360 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13361 _dl_init_paths call.
13362 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13363 here anymore.
13364
13365 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13366
13367 * resolv/res_init.c (__res_vinit): Count the default server we added.
13368
13369 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13370 Ulrich Drepper <drepper@redhat.com>
13371
13372 [BZ #11968]
13373 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13374 (____longjmp_chk): Use %ebx for saving value across system call.
13375 Add unwind info.
13376
13377 2010-09-06 Andreas Schwab <schwab@redhat.com>
13378
13379 * manual/Makefile: Don't mix pattern rules with normal rules.
13380
13381 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13382
13383 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13384 operation.
13385 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13386 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13387 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13388 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13390 Likewise.
13391
13392 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13393
13394 [BZ #11979]
13395 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13396 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13397
13398 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13399
13400 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13401 * sysdeps/x86_64/addmul_1.S: Likewise.
13402 * sysdeps/x86_64/lshift.S: Likewise.
13403 * sysdeps/x86_64/mul_1.S: Likewise.
13404 * sysdeps/x86_64/rshift.S: Likewise.
13405 * sysdeps/x86_64/sub_n.S: Likewise.
13406 * sysdeps/x86_64/submul_1.S: Likewise.
13407
13408 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13409
13410 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13411 Define __sched_param instead of SCHED_* and sched_param when
13412 <bits/sched.h> is included with __need_schedparam defined.
13413 * bits/sched.h [__need_schedparam]
13414 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13415 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13416 (__defined_schedparam): Define to 1.
13417 (__sched_param): New structure, identical to sched_param.
13418 (__need_schedparam): Undefine.
13419
13420 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13421
13422 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13423 (epoll_create1): Declare.
13424
13425 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13426
13427 2010-08-31 Andreas Schwab <schwab@redhat.com>
13428
13429 [BZ #7066]
13430 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13431 shifting retval into place.
13432
13433 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13434
13435 * nis/rpcsvc/nis.h: Update copyright notice.
13436 * nis/rpcsvc/nis.x: Likewise.
13437 * nis/rpcsvc/nis_callback.h: Likewise.
13438 * nis/rpcsvc/nis_callback.x: Likewise.
13439 * nis/rpcsvc/nis_object.x: Likewise.
13440 * nis/rpcsvc/nis_tags.h: Likewise.
13441 * nis/rpcsvc/yp.h: Likewise.
13442 * nis/rpcsvc/yp.x: Likewise.
13443 * nis/rpcsvc/ypupd.h: Likewise.
13444 * nis/yp_xdr.c: Likewise.
13445 * nis/ypupdate_xdr.c: Likewise.
13446
13447 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13448 mainly the body of pmap_getport. Add parameters to specify timeouts.
13449 (pmap_getport): Use __libc_rpc_getport.
13450 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13451 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13452 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13453
13454 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13455
13456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13457 fanotify_mark.
13458
13459 2010-08-27 Roland McGrath <roland@redhat.com>
13460
13461 * sysdeps/i386/i686/multiarch/Makefile
13462 (CFLAGS-varshift.c): New variable.
13463
13464 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13465
13466 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13467 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13468
13469 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13470
13471 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13472
13473 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13474
13475 * sysdeps/x86_64/strlen.S: Unroll the loop.
13476 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13477 strlen-sse2 strlen-sse2-bsf.
13478 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13479 __strlen_no_bsf if bit_Slow_BSF is set.
13480 (__strlen_sse42): Removed.
13481 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13482 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13483
13484 2010-08-25 Roland McGrath <roland@redhat.com>
13485
13486 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13487 * sysdeps/x86_64/multiarch/varshift.c: New file.
13488 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13489 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13490 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13491 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13492
13493 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13494
13495 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13496 strlen-sse2 strlen-sse2-bsf.
13497 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13498 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13499 (__strlen_sse2): Removed.
13500 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13501 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13502 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13503 bit_Slow_BSF for Atom.
13504 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13505 (index_Slow_BSF): Define.
13506 (HAS_SLOW_BSF): Define.
13507
13508 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13509
13510 [BZ #10851]
13511 * resolv/res_init.c (__res_vinit): When no server address at all
13512 is given default to loopback.
13513
13514 2010-08-24 Roland McGrath <roland@redhat.com>
13515
13516 * configure.in: Remove config-name.h generation.
13517 * configure: Regenerated.
13518 * config-name.in: File removed.
13519 * scripts/config-uname.sh: New file.
13520 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13521 ($(objdir)config-name.h): New target.
13522
13523 * sunrpc/rpc_parse.h: Avoid nested comment.
13524
13525 2010-08-24 Richard Henderson <rth@redhat.com>
13526 Ulrich Drepper <drepper@redhat.com>
13527 H.J. Lu <hongjiu.lu@intel.com>
13528
13529 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13530 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13531 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13532 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13533 _mm_alignr_epi8 with _mm_loadu_si128.
13534 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13535 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13536 (__m128i_shift_right): Removed.
13537 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13538 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13539 * sysdeps/x86_64/multiarch/varshift.h: New file.
13540 * sysdeps/x86_64/multiarch/varshift.S: New file.
13541
13542 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13543
13544 * configure.in: Move assembler checks to before sysdep dir checking.
13545
13546 2010-08-20 Petr Baudis <pasky@suse.cz>
13547
13548 * LICENSES: Sync the sunrpc license.
13549
13550 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13551
13552 * sunrpc/auth_des.c: Update copyright notice once again.
13553 * sunrpc/auth_none.c: Likewise.
13554 * sunrpc/auth_unix.c: Likewise.
13555 * sunrpc/authdes_prot.c: Likewise.
13556 * sunrpc/authuxprot.c: Likewise.
13557 * sunrpc/bindrsvprt.c: Likewise.
13558 * sunrpc/clnt_gen.c: Likewise.
13559 * sunrpc/clnt_perr.c: Likewise.
13560 * sunrpc/clnt_raw.c: Likewise.
13561 * sunrpc/clnt_simp.c: Likewise.
13562 * sunrpc/clnt_tcp.c: Likewise.
13563 * sunrpc/clnt_udp.c: Likewise.
13564 * sunrpc/clnt_unix.c: Likewise.
13565 * sunrpc/des_crypt.c: Likewise.
13566 * sunrpc/des_soft.c: Likewise.
13567 * sunrpc/get_myaddr.c: Likewise.
13568 * sunrpc/getrpcport.c: Likewise.
13569 * sunrpc/key_call.c: Likewise.
13570 * sunrpc/key_prot.c: Likewise.
13571 * sunrpc/openchild.c: Likewise.
13572 * sunrpc/pm_getmaps.c: Likewise.
13573 * sunrpc/pm_getport.c: Likewise.
13574 * sunrpc/pmap_clnt.c: Likewise.
13575 * sunrpc/pmap_prot.c: Likewise.
13576 * sunrpc/pmap_prot2.c: Likewise.
13577 * sunrpc/pmap_rmt.c: Likewise.
13578 * sunrpc/rpc/auth.h: Likewise.
13579 * sunrpc/rpc/auth_unix.h: Likewise.
13580 * sunrpc/rpc/clnt.h: Likewise.
13581 * sunrpc/rpc/des_crypt.h: Likewise.
13582 * sunrpc/rpc/key_prot.h: Likewise.
13583 * sunrpc/rpc/netdb.h: Likewise.
13584 * sunrpc/rpc/pmap_clnt.h: Likewise.
13585 * sunrpc/rpc/pmap_prot.h: Likewise.
13586 * sunrpc/rpc/pmap_rmt.h: Likewise.
13587 * sunrpc/rpc/rpc.h: Likewise.
13588 * sunrpc/rpc/rpc_des.h: Likewise.
13589 * sunrpc/rpc/rpc_msg.h: Likewise.
13590 * sunrpc/rpc/svc.h: Likewise.
13591 * sunrpc/rpc/svc_auth.h: Likewise.
13592 * sunrpc/rpc/types.h: Likewise.
13593 * sunrpc/rpc/xdr.h: Likewise.
13594 * sunrpc/rpc_clntout.c: Likewise.
13595 * sunrpc/rpc_cmsg.c: Likewise.
13596 * sunrpc/rpc_common.c: Likewise.
13597 * sunrpc/rpc_cout.c: Likewise.
13598 * sunrpc/rpc_dtable.c: Likewise.
13599 * sunrpc/rpc_hout.c: Likewise.
13600 * sunrpc/rpc_main.c: Likewise.
13601 * sunrpc/rpc_parse.c: Likewise.
13602 * sunrpc/rpc_parse.h: Likewise.
13603 * sunrpc/rpc_prot.c: Likewise.
13604 * sunrpc/rpc_sample.c: Likewise.
13605 * sunrpc/rpc_scan.c: Likewise.
13606 * sunrpc/rpc_scan.h: Likewise.
13607 * sunrpc/rpc_svcout.c: Likewise.
13608 * sunrpc/rpc_tblout.c: Likewise.
13609 * sunrpc/rpc_util.c: Likewise.
13610 * sunrpc/rpc_util.h: Likewise.
13611 * sunrpc/rpcinfo.c: Likewise.
13612 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13613 * sunrpc/rpcsvc/key_prot.x: Likewise.
13614 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13615 * sunrpc/rpcsvc/mount.x: Likewise.
13616 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13617 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13618 * sunrpc/rpcsvc/rex.x: Likewise.
13619 * sunrpc/rpcsvc/rstat.x: Likewise.
13620 * sunrpc/rpcsvc/rusers.x: Likewise.
13621 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13622 * sunrpc/rpcsvc/spray.x: Likewise.
13623 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13624 * sunrpc/rtime.c: Likewise.
13625 * sunrpc/svc.c: Likewise.
13626 * sunrpc/svc_auth.c: Likewise.
13627 * sunrpc/svc_authux.c: Likewise.
13628 * sunrpc/svc_raw.c: Likewise.
13629 * sunrpc/svc_run.c: Likewise.
13630 * sunrpc/svc_simple.c: Likewise.
13631 * sunrpc/svc_tcp.c: Likewise.
13632 * sunrpc/svc_udp.c: Likewise.
13633 * sunrpc/svc_unix.c: Likewise.
13634 * sunrpc/svcauth_des.c: Likewise.
13635 * sunrpc/xcrypt.c: Likewise.
13636 * sunrpc/xdr.c: Likewise.
13637 * sunrpc/xdr_array.c: Likewise.
13638 * sunrpc/xdr_float.c: Likewise.
13639 * sunrpc/xdr_mem.c: Likewise.
13640 * sunrpc/xdr_rec.c: Likewise.
13641 * sunrpc/xdr_ref.c: Likewise.
13642 * sunrpc/xdr_sizeof.c: Likewise.
13643 * sunrpc/xdr_stdio.c: Likewise.
13644
13645 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13646 handling.
13647
13648 2010-08-19 Andreas Schwab <schwab@redhat.com>
13649
13650 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13651
13652 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13653
13654 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13655 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13656 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13657 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13658 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13659 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13660 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13661 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13663 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13664 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13665 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13666 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13667 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13668
13669 2010-07-26 Anton Blanchard <anton@samba.org>
13670
13671 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13672 * malloc/arena.c (heap_trim): Likewise.
13673
13674 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13675
13676 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13677 here. Not...
13678 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13679 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13680
13681 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13682
13683 * sysdeps/i386/elf/Makefile: New file.
13684
13685 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13686
13687 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13688 from fanotify_init.
13689 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13690 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13691
13692 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13693
13694 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13695 of strncasecmp_l.
13696 * sysdeps/multiarch/strcmp.S: Likewise.
13697
13698 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13699
13700 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13701 strncase_l-nonascii.
13702 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13703 Add strncase_l-ssse3.
13704 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13705 * sysdeps/x86_64/strcmp.S: Likewise.
13706 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13707 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13708 * sysdeps/x86_64/strncase.S: New file.
13709 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13710 * sysdeps/x86_64/strncase_l.S: New file.
13711 * string/Makefile (strop-tests): Add strncasecmp.
13712 * string/test-strncasecmp.c: New file.
13713
13714 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13715 warning.
13716
13717 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13718 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13719
13720 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13721
13722 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13723
13724 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13725
13726 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13727 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13728 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13729
13730 2010-05-01 Alan Modra <amodra@gmail.com>
13731
13732 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13733 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13734 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13735 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13736 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13737 tidying. Don't tail-call __sigjmp_save for static lib.
13738 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13739 save location.
13740 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13741 (CALL_MCOUNT): Add eh info, and nop after bl.
13742 (TAIL_CALL_SYSCALL_ERROR): New macro.
13743 (PSEUDO_RET): Use it.
13744 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13745 Correct save location of integer regs and cr.
13746 (_dl_profile_resolve): Correct cr save location. Delete nops
13747 after bl when SHARED. Reduce cfi size a little by better
13748 placement of cfi directives.
13749 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13750 make a stack frame. Instead use parm save area as a temp.
13751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13752 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13754 Don't make a stack frame for parent, use parm save area.
13755 Increase child stack frame to 112 bytes. Don't save unused reg,
13756 and adjust reg usage. Set up cfi on error recovery and
13757 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13759 (__makecontext): Add dummy nop after jump to exit.
13760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13761 Use correct parm save area and cr save, reduce stack frame.
13762 Correct cfi for possible PSEUDO_RET frame setup.
13763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13764 Branch to local label emitted by PSEUDO_RET rather than
13765 __syscall_error.
13766
13767 2010-08-12 Andreas Schwab <schwab@redhat.com>
13768
13769 [BZ #11904]
13770 * locale/programs/locale.c (print_assignment): New function.
13771 (show_locale_vars): Use it.
13772
13773 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13774
13775 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13776 field.
13777 (struct statfs64): Likewise.
13778 (_STATFS_F_FLAGS): Define.
13779 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13780 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13781 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13782 (ST_VALID): Define locally.
13783 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13784 __statvfs_getflags, use the provided value.
13785 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13786 __ASSUME_STATFS_F_FLAGS.
13787
13788 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13789
13790 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13791 Add sys/fanotify.h.
13792 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13793 fanotify_mask for GLIBC_2.13.
13794 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13795 fanotify_init and fanotify_mark.
13796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13797 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13798
13799 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13800 Add prlimit.
13801 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13802 prlimit64 for GLIBC_2.13.
13803 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13804 prlimit64.
13805 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13806 syscall.
13807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13808 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13809 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13810 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13811 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13812 add prlimit alias.
13813 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13814
13815 [BZ #11903]
13816 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13817 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13818
13819 * nss/Makefile: Add rules to build and run tst-nss-test1.
13820 * shlib-versions: Add entry for libnss_test1.
13821 * nss/nss_test1.c: New file.
13822 * nss/tst-nss-test1.c: New file.
13823
13824 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13825 (__nss_configure_lookup): Set appropriate entry in
13826 __nss_configure_lookup to true.
13827 * nss/nsswitch.h: Define enum with indeces of databases in
13828 databases and __nss_database_custom arrays. Declare
13829 __nss_database_custom.
13830 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13831 to avoid using nscd when custom rules are installed.
13832 * nss/getXXbyYY_r.c: Likewise.
13833 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13834
13835 * nss/nss_files/files-parse.c: Whitespace fixes.
13836
13837 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13838
13839 [BZ #11883]
13840 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13841 * posix/fnmatch_loop.c: Likewise.
13842
13843 2010-07-17 Andi Kleen <ak@linux.intel.com>
13844
13845 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13846 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13847 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13848 * Versions.def [GLIBC_2.13]: Add.
13849
13850 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13851
13852 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13853 Also fail if tpwd after pwuid call is NULL.
13854
13855 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13856
13857 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13858 when converting to ms.
13859
13860 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13861
13862 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13863 EOPNOTSUPP errors with ENOTTY.
13864 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13865 EOPNOTSUPP errors with ENOTTY.
13866
13867 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13868
13869 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13870 Add strcasecmp_l-ssse3.
13871 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13872 strcasecmp.
13873 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13874 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13875 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13876
13877 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13878
13879 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13880
13881 * string/Makefile (strop-tests): Add strcasecmp.
13882 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13883 strcasecmp_l-nonascii.
13884 (gen-as-const-headers): Add locale-defines.sym.
13885 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13886 * sysdeps/x86_64/strcasecmp.S: New file.
13887 * sysdeps/x86_64/strcasecmp_l.S: New file.
13888 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13889 * sysdeps/x86_64/locale-defines.sym: New file.
13890 * string/test-strcasecmp.c: New file.
13891
13892 * string/test-strcasestr.c: Test both ends of the range of characters.
13893 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13894
13895 2010-07-29 Roland McGrath <roland@redhat.com>
13896
13897 [BZ #11856]
13898 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13899
13900 2010-07-27 Ulrich Drepper <drepper@redhat.com>
13901
13902 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13903 for ld.so.
13904
13905 2010-07-27 Andreas Schwab <schwab@redhat.com>
13906
13907 * manual/memory.texi (Malloc Tunable Parameters): Document
13908 M_PERTURB.
13909
13910 2010-07-26 Roland McGrath <roland@redhat.com>
13911
13912 [BZ #11840]
13913 * configure.in (-fgnu89-inline check): Set and substitute
13914 gnu89_inline, not libc_cv_gnu89_inline.
13915 * configure: Regenerated.
13916 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13917
13918 2010-07-26 Ulrich Drepper <drepper@redhat.com>
13919
13920 * string/test-strnlen.c: New file.
13921 * string/Makefile (strop-tests): Add strnlen.
13922 * string/tester.c (test_strnlen): Add a few more test cases.
13923 * string/tst-strlen.c: Better error reporting.
13924
13925 * sysdeps/x86_64/strnlen.S: New file.
13926
13927 2010-07-24 Ulrich Drepper <drepper@redhat.com>
13928
13929 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13930 lower-latency instructions.
13931
13932 2010-07-23 Ulrich Drepper <drepper@redhat.com>
13933
13934 * string/test-strcasestr.c: New file.
13935 * string/test-strstr.c: New file.
13936 * string/Makefile (strop-tests): Add strstr and strcasestr.
13937 * string/str-two-way.h: Don't undefine MAX.
13938 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13939
13940 2010-07-21 Andreas Schwab <schwab@redhat.com>
13941
13942 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13943 strcasestr-nonascii.
13944 (CFLAGS-strcasestr-nonascii.c): Define.
13945 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13946 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13947 Remove unused attribute.
13948
13949 2010-07-20 Roland McGrath <roland@redhat.com>
13950
13951 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13952 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13953 ld.so.cache was broken. With it, there is no way to disable dsocaps
13954 like LD_HWCAP_MASK can disable hwcaps.
13955
13956 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13957
13958 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13959
13960 2010-07-16 Ulrich Drepper <drepper@redhat.com>
13961
13962 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13963 call in strcasestr.
13964 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13965 __strcasestr_sse42_nonascii.
13966 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13967 strcasestr-nonascii.c.
13968 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13969
13970 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
13971
13972 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13973 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13974 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13975 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13976
13977 2010-07-09 Ulrich Drepper <drepper@redhat.com>
13978
13979 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13980 fcntl.
13981
13982 2010-07-06 Andreas Schwab <schwab@redhat.com>
13983
13984 [BZ #11577]
13985 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13986 dl_signal_cerror.
13987
13988 2010-07-06 Ulrich Drepper <drepper@redhat.com>
13989
13990 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13991 _PC_PIPE_BUF using F_GETPIPE_SZ.
13992
13993 2010-07-05 Roland McGrath <roland@redhat.com>
13994
13995 * manual/arith.texi (Rounding Functions): Fix rint description
13996 implicit in round description.
13997
13998 2010-07-02 Ulrich Drepper <drepper@redhat.com>
13999
14000 * elf/Makefile: Fix linking for a few tests to make recent linker
14001 happy.
14002
14003 2010-06-30 Andreas Schwab <schwab@redhat.com>
14004
14005 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14006 $(common-objpfx)libc_nonshared.a.
14007
14008 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14009
14010 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14011 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14012 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14013 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14014 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14015 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14016 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14017 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14032 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14033 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14034 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14035 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14036 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14037 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14038 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14039 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14040 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14041 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14042 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14043 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14058
14059 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14060
14061 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14062 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14063 * string/memmove.c (memmove): Renamed to ...
14064 (MEMMOVE): ...this. Default to memmove.
14065 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14066 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14067 (END_CHK): Define.
14068 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14069 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14070 mempcpy-ssse3-back memmove-ssse3-back.
14071 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14072 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14073 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14074 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14075 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14076 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14077 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14078 * sysdeps/x86_64/multiarch/memmove.c: New file.
14079 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14080 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14081 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14082 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14083 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14085 Define.
14086 (index_Fast_Copy_Backward): Define.
14087 (HAS_ARCH_FEATURE): Define.
14088 (HAS_FAST_REP_STRING): Define.
14089 (HAS_FAST_COPY_BACKWARD): Define.
14090
14091 2010-06-21 Andreas Schwab <schwab@redhat.com>
14092
14093 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14094 Restore proper fallback handling.
14095
14096 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14097
14098 [BZ #11701]
14099 * posix/group_member.c (__group_member): Correct checking loop.
14100
14101 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14102 OOM in getpwuid_r correctly. Return error number when the caller
14103 should return, otherwise -1.
14104 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14105 call returning > 0 value.
14106 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14107
14108 2010-06-07 Andreas Schwab <schwab@redhat.com>
14109
14110 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14111 libc_nonshared.a from targets in modules-names.
14112
14113 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14114
14115 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14116 requires it.
14117
14118 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14119
14120 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14121 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14123 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14124
14125 2010-06-02 Andreas Schwab <schwab@redhat.com>
14126
14127 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14128
14129 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14130
14131 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14132 and F_GETPIPE_SZ.
14133 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14135 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14136 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14137 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14139
14140 2010-06-14 Roland McGrath <roland@redhat.com>
14141
14142 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14143
14144 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14145
14146 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14147 __REDIRECT followed by __THROW.
14148 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14149 * posix/getopt.h (getopt): Likewise.
14150
14151 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14152
14153 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14154 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14155 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14156 in AT_FLAGS.
14157 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14158 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14159
14160 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14161
14162 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14163
14164 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14165
14166 [BZ #11640]
14167 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14168 Properly check family and model.
14169
14170 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14171
14172 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14173
14174 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14175
14176 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14177
14178 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14179
14180 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14181 symbol reference.
14182
14183 2010-05-19 Andreas Schwab <schwab@redhat.com>
14184
14185 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14186 symbol reference.
14187
14188 2010-05-21 Andreas Schwab <schwab@redhat.com>
14189
14190 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14191 and internal_recvmmsg.
14192 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14193 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14194 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14195 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14196
14197 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14198 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14199 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14200
14201 2010-05-20 Andreas Schwab <schwab@redhat.com>
14202
14203 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14204
14205 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14206
14207 POWER7 optimizations.
14208 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14209 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14210
14211 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14212
14213 * version.h: Update for 2.13 development version.
14214
14215 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14216
14217 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14218 exceptions. Return 0.
14219
14220 2010-05-07 Roland McGrath <roland@redhat.com>
14221
14222 * elf/ldconfig.c (main): Add a const.
14223
14224 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14225
14226 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14227 (args_options): Add no-idn option.
14228 (ahosts_keys_int): Add idn_flags to ai_flags.
14229 (parse_option): Handle 'i' option to clear idn_flags.
14230
14231 * malloc/malloc.c (_int_free): Possible race in the most recently
14232 added check. Only act on the data if no current modification
14233 happened.
14234
14235 See ChangeLog.17 for earlier changes.