]> sourceware.org Git - glibc.git/blame - ChangeLog
Improve consistency of --enable-kernel and default builds.
[glibc.git] / ChangeLog
CommitLineData
37f1abd4
JM
12012-05-14 Joseph Myers <joseph@codesourcery.com>
2
3 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
4 set if not set by the user. Do not allow for being unset.
5 * sysdeps/unix/sysv/linux/configure: Regenerated.
6
11de3a33
L
72012-05-14 H.J. Lu <hongjiu.lu@intel.com>
8
9 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
10 the `q' suffix from lea and replace .quad with ASM_ADDR.
11
e02f153a
L
122012-05-14 H.J. Lu <hongjiu.lu@intel.com>
13
14 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
15 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
16 instead of $17.
17 (PTR_DEMANGLE): Likewise.
18
520ae0fd
L
192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20
21 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22 (LP_OP): Likewise.
23 (ASM_ADDR): Likewise.
24 (RAX_LP): Likewise.
25 (RBP_LP): Likewise.
26 (RBX_LP): Likewise.
27 (RCX_LP): Likewise.
28 (RDI_LP): Likewise.
29 (RSI_LP): Likewise.
30 (RSP_LP): Likewise.
31 (R8_LP): Likewise.
32 (R9_LP): Likewise.
33 (R10_LP): Likewise.
34 (R10_LP): Likewise.
35 (R11_LP): Likewise.
36 (R12_LP): Likewise.
37 (R13_LP): Likewise.
38 (R14_LP): Likewise.
39 (R15_LP): Likewise.
40
b985be81
L
412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42
43 * sysdeps/x86_64/x32/dl-machine.h: New file.
44
6a4888ff
AJ
452012-05-14 Andreas Jaeger <aj@suse.de>
46
47 * manual/Makefile (subdir): Remove export of subdir.
48 (all): Remove target.
49 (.PHONY): Remove all from list.
50 (mkinstalldirs): Remove.
51 (.PHONY): Remove installdirs from list.
52 ($(inst_infodir)/libc.info): Use make-target-directory.
53 (installdirs): Remove.
54 (subdir_%): Remove.
55 (glibc-targets): Remove.
56 (lib): Remove.
57 (stubs): Remove.
58 ($(objpfx)stubs ../po/manual.pot): Remove.
59 ($(objpfx)stamp%): Remove.
60 (make-target-directory): Remove.
61 (subdir_install): Remove.
62 (routines): Remove.
63 (aux): Remove.
64 (sources): Remove.
65 (objects): Remove.
66 (headers): Remove.
67
68 [BZ #13750]
69 * manual/.gitignore: Remove, it's not needed anymore.
70 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71 all files in it.
72 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
73 directory.
74 (texis): Renamed to $(objpfx)texis.
75 (texis-path): New, contains path to generated files.
76 (chapters.%): Use texis-path for complete path, add extra argument
77 libc-texinfo.sh.
78 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
80 (summary,texi, stamp-summary): Use complete path of
81 files. Generate files in build dir.
82 (dir-add.texi): Build in build dir.
83 (libm-err.texi,stamp-libm-err): Likewise.
84 (version.texi, stamp-version): Likewise.
85 (.%c.texi): Likewise.
86 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
87 (mostlyclean): Remove target.
88 (realclean): Remove target.
89 (generated): Add new variable with contents from mostlyclean and
90 realclean, remove entries duplicated in common-mostlyclean, add
91 stamp-libm-err and stamp-version.
92 (generated-dirs): Add libc directory.
93 ($(inst_infodir)/libc.info): Install files from build dir.
94
95 * manual/install.texi (Configuring and compiling): Adjust since
96 the info files are not part of the tar ball anymore.
97
7ac77294
AJ
982012-05-14 Andreas Jaeger <aj@suse.de>
99
100 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
101 variable.
102
ffb7875d
JM
1032012-05-14 Joseph Myers <joseph@codesourcery.com>
104
105 [BZ #13717]
106 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
107 to 2.2.0 where earlier.
108 * sysdeps/unix/sysv/linux/configure: Regenerated.
109 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
110 Remove conditional code.
111 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
112 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
113 Remove conditional code.
114 [!__NR_lchown]: Likewise.
115 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
116 [__NR_lchown]: Likewise.
117 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
118 comment referencing __ASSUME_LCHOWN_SYSCALL.
119 * sysdeps/unix/sysv/linux/i386/sigaction.c
120 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
121 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
122 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
123 Remove conditional code.
124 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
125 (__protocol_available): Remove #if 0 code.
126 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
127 conditional code.
128 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
129 * sysdeps/unix/sysv/linux/kernel-features.h
130 (__ASSUME_GETCWD_SYSCALL): Don't define.
131 (__ASSUME_REALTIME_SIGNALS): Likewise.
132 (__ASSUME_PREAD_SYSCALL): Likewise.
133 (__ASSUME_PWRITE_SYSCALL): Likewise.
134 (__ASSUME_POLL_SYSCALL): Likewise.
135 (__ASSUME_LCHOWN_SYSCALL): Likewise.
136 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
137 non-SPARC.
138 (__ASSUME_SIOCGIFNAME): Don't define.
139 (__ASSUME_MSG_NOSIGNAL): Likewise.
140 (__ASSUME_SENDFILE): Define unconditionally.
141 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
142 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
143 conditional code.
144 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
145 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
146 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
147 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
149 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
150 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
152 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
153 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
155 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
156 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
158 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
161 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
175 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
176 Remove conditional code.
177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
178 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
179 Remove conditional code.
180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
182 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
183 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
184 Remove conditional code.
185 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
186 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
187 Remove conditional code.
188 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
189 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
190 Remove conditional code.
191 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
192 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
193 Remove conditional code.
194 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
195 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
196 Remove conditional code.
197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
198 * sysdeps/unix/sysv/linux/sh/pwrite64.c
199 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
201 * sysdeps/unix/sysv/linux/sigaction.c
202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
204 * sysdeps/unix/sysv/linux/sigpending.c
205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
207 * sysdeps/unix/sysv/linux/sigprocmask.c
208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
210 * sysdeps/unix/sysv/linux/sigsuspend.c
211 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
212 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
213 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
214 (__libc_missing_rt_sigs): Remove.
215 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
216 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
217 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
218 Remove conditional code.
219 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
220 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
221 return 1.
222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
223 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
224 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
225 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
226
1bfb7291
AJ
2272012-05-14 Andreas Jaeger <aj@suse.de>
228
caae5a81
AJ
229 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
230 it's not used in glibc.
231 (__coshm1): Likewise.
232 (__acosh1p): Likewise.
233 (__sgn): Likewise.
234
1bfb7291
AJ
235 * manual/string.texi (Copying and Concatenation): Add missing
236 variable in concat example.
237 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
238
c044d724
L
2392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
240
241 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
242 __builtin_clzl with __builtin_clzll.
243
2523c62b
L
2442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
245
246 [BZ #14104]
247 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
248 libc_freeres_ptr.
249
d7bb4c42
LD
2502012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
251
252 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
253 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
254 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
255 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
256
9dc4e1fb
MF
2572012-05-14 Mike Frysinger <vapier@gentoo.org>
258
259 * NEWS: Update ia64 info.
260
c7df0112
AS
2612012-05-12 Andreas Schwab <schwab@linux-m68k.org>
262
263 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
264 used as bcopy.
265
dc70356c
TS
2662012-05-12 Thomas Schwinge <thomas@codesourcery.com>
267
268 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
269 * sysdeps/unix/syscalls.list (dup3): Likewise.
270 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
271 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
272
9fb1a21f
L
2732012-05-11 H.J. Lu <hongjiu.lu@intel.com>
274
275 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
276 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
277
4822a2a5
L
2782012-05-11 H.J. Lu <hongjiu.lu@intel.com>
279
280 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
281 thread pointer.
282 (TLS_IE): Use mov/add instead of movq/addq to load thread
283 pointer.
284 (TLS_GD_PREFIX): New.
285 (TLS_GD): Use it.
286
842b81d6
DM
2872012-05-11 David S. Miller <davem@davemloft.net>
288
289 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
290 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
291 (_FPU_SETCW): Likewise.
292
1cf463cd
L
2932012-05-10 H.J. Lu <hongjiu.lu@intel.com>
294
295 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
296 is 32-byte aligned.
297
60cc4a18
AS
2982012-05-11 Andreas Schwab <schwab@linux-m68k.org>
299
300 [BZ #11837]
301 * iconvdata/gb18030.c: Update tables.
302 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
303 characters specially.
304 (BODY for TO_LOOP): Add encoding of missing ranges.
305
febb44a4
TS
3062012-05-11 Thomas Schwinge <thomas@codesourcery.com>
307
308 [BZ #13673]
309 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
310 * sysdeps/mach/hurd/dup3.c: Likewise.
311 * sysdeps/mach/hurd/readlinkat.c: Likewise.
312 * sysdeps/powerpc/memmove.c:: Likewise.
313
0a10fb9e
L
3142012-05-10 H.J. Lu <hongjiu.lu@intel.com>
315
316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
317 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
318
df8a552f
L
3192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
320
321 * elf/elf.h (R_X86_64_RELATIVE64): New.
322 (R_X86_64_NUM): Updated.
323 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
324 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
325 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
326 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
327 tst-quad1pie tst-quad2pie
328 (modules-names): Add tst-quadmod1 tst-quadmod2.
329 ($(objpfx)tst-quad1): New dependency.
330 ($(objpfx)tst-quad2): Likewise.
331 ($(objpfx)tst-quad1pie): Likewise.
332 ($(objpfx)tst-quad2pie): Likewise.
333 * sysdeps/x86_64/tst-quad1.c: New file.
334 * sysdeps/x86_64/tst-quad1pie.c: New file.
335 * sysdeps/x86_64/tst-quad2.c: Likewise.
336 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
337 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
338 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
339 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
340 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
341
f34d6f84
ST
3422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
343
f42d41d1
ST
344 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
345 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
346 * streams/stropts.h (t_scalar_t): Define type.
347
3c3571fc
ST
348 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
349 (_PATH_PRESERVE): Set to "/var/lib".
350 (_PATH_RWHODIR): Set to "/var/spool/rwho".
351
61f06bd3
ST
352 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
353 instead of int.
354
918d4d71
ST
355 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
356 if __dir_mkfile succeeded.
357
f34d6f84
ST
358 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
359 checking for _hurd_dtablesize. Unlock it right after having
360 finished _hurd_dtable allocation.
361
10589b4a
TS
3622012-05-10 Thomas Schwinge <thomas@schwinge.name>
363
674cdbc7
TS
364 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
365 * sysdeps/mach/hurd/configure: Regenerated.
366 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
367 special-casing to...
368 * sysdeps/gnu/configure.in: ... this new file.
369 * sysdeps/unix/sysv/linux/configure: Regenerated.
370 * sysdeps/gnu/configure: New generated file.
371
8e41b99f
TS
372 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
373 for Linux: use nsec instead of usec, as well as:
374 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
375 members of type struct timespec.
376 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
377 New macros.
378 (struct stat64): Likewise.
379 (_STATBUF_ST_NSEC): New macro.
380 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
381
10589b4a
TS
382 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
383 __strtoul_internal rather than strtoul.
384
63643c85
PT
3852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
386
387 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
388 and reject them.
389
3faebe6a
ST
3902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
391
392 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
393 which preserves existing values.
394 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
395
c6474b07
PT
3962012-05-10 Pino Toscano <toscano.pino@tiscali.it>
397
398 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
399 TIMEOUT values. Return EINVAL for NFDS values either negative or
400 greater than FD_SETSIZE.
401
1043890b
ST
4022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
403
404 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
405 allocated, call __vm_protect to finish enabling the existing space, and
406 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
407 allocate the remainder.
408
37ed8b9b
PT
4092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
410
411 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
412 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
413
db653660
ST
4142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
415
37ed8b9b
PT
416 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
417 sysdeps/mach/hurd/readlink.c.
b29d4053 418
db653660
ST
419 * posix/tst-sysconf.c (posix_options): Only use
420 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
421 _POSIX_SYNCHRONIZED_IO when they are defined
422 * sysdeps/mach/hurd/bits/posix_opt.h:
423 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
424 (_XOPEN_REALTIME): Undefine macro.
425 (_XOPEN_REALTIME_THREADS): Undefine macro.
426 (_XOPEN_SHM): Undefine macro.
427 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
428 macro to -1.
429 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
430 macro to -1.
431 (_POSIX_ASYNC_IO): Undefine macro.
432 (_POSIX_PRIORITIZED_IO): Undefine macro.
433 (_POSIX_SPIN_LOCKS): Define macro to -1.
434
ee16e894
ST
435 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
436 SA_NODEFER, SA_RESETHAND.
437 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
438 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
439 F_DUPFD_CLOEXEC.
440
6103ae3b
TS
4412012-05-10 Thomas Schwinge <thomas@schwinge.name>
442
443 * elf/Makefile (pldd-modules): Define unconditionally.
444
80b4e5f3
TS
4452012-05-10 Thomas Schwinge <thomas@schwinge.name>
446
447 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
448
edadcbd6
ST
4492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
450
451 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
452 Return ENOENT when name is empty.
453 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
454
80694780
TS
4552012-05-10 Thomas Schwinge <thomas@schwinge.name>
456
1792c087
TS
457 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
458
80694780
TS
459 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
460
6b645f0d
ST
4612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
462
80694780
TS
463 Fix mlock in all cases except non-readable pages.
464 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
465 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 466
6b645f0d
ST
467 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
468 (__mkdir): When path is `/', just fail with EEXIST.
469 * sysdeps/mach/hurd/mkdirat.c: Likewise.
470
e468f8a3
TS
4712012-05-10 Thomas Schwinge <thomas@schwinge.name>
472
473 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
474 <sys/uio.h> (for writev).
475 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
476 and <sys/param.h> (for MIN).
477
a4186cff
PT
4782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
479
480 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
481 REQUESTED_TIME. Properly set the remaining time and return EINTR
482 if interrupted.
483
510bbf14
TS
4842012-05-10 Thomas Schwinge <thomas@schwinge.name>
485
486 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
487 Depend on against $(link-rpcuserlibs).
488
5d5722e8
ST
4892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
490
a4186cff
PT
491 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
492 (__libc_stack_end): Do not use attribute_relro.
493 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
494 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 495 to libthread-provided value.
a4186cff
PT
496 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
497 attribute_relro.
5d5722e8 498
37233df9
TS
4992012-05-10 Thomas Schwinge <thomas@schwinge.name>
500
be971a2b
TS
501 [BZ #3748]
502 * bits/libc-lock.h (__libc_once_get): New macro.
503 * sysdeps/mach/bits/libc-lock.h: Likewise.
504 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
505 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
506 instead of using implementation details.
507
37233df9
TS
508 * libio/fileops.c: Unconditionally include <kernel-features.h>.
509 * libio/freopen.c: Likewise.
510 * libio/freopen64.c: Likewise.
511 * misc/syslog.c: Likewise.
512 * nscd/connections.c: Likewise.
513 * nscd/netgroupcache.c: Likewise.
514 * sysdeps/posix/getcwd.c: Likewise.
515
38de94a5
RM
5162012-05-10 Roland McGrath <roland@hack.frob.com>
517
518 * math/w_ilogbf.c: Add #include <limits.h>.
519
67530489
ST
5202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
521
a4186cff 522 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
523 path instead of returning without unlocking.
524
67530489
ST
525 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
526 immediate-write ioctls.
527 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
528
5aa3a74a
TS
5292012-05-10 Thomas Schwinge <thomas@schwinge.name>
530
18bad2ae
TS
531 * sysdeps/mach/hurd/i386/init-first.c (init): Use
532 __builtin_frame_address instead of making assumptions about the
533 location of the return address relative to DATA. Force early load of
534 the return address.
535 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
536 __builtin_frame_address.
537
5aa3a74a
TS
538 dup3 for GNU Hurd.
539 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
540 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
541 implement dup3 and do some further code clean-ups.
542 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
543 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
544
ecd0de9a
ST
5452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
546
cd9fa985
ST
547 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
548
a4186cff
PT
549 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
550 HURD_CRITICAL_END around holding _hurd_dtable_lock.
551 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
552 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
553 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
554 d->port.lock.
802ca5a5 555
a4186cff
PT
556 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
557 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
558 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 559
bcf55240
TS
5602012-05-10 Thomas Schwinge <thomas@schwinge.name>
561
6960eb42
TS
562 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
563 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
564 definitions.
565
eb43375f
TS
566 accept4 for GNU Hurd.
567 * include/sys/socket.h (__libc_accept4): New prototype.
568 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
569 to implement __libc_accept4.
570 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
571 __libc_accept4.
572 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
573
bcf55240
TS
574 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
575 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
576 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
577 signal-defines.sym.
578
6178c55b
ST
5792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
580
a4186cff 581 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 582
6f080c2f
TS
5832012-05-10 Thomas Schwinge <thomas@schwinge.name>
584
585 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
586 assertion on O_CLOEXEC flag.
587 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
588 * hurd/intern-fd.c: Likewise.
589 * hurd/port2fd.c: Likewise.
590
bcfe3a54
ST
5912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
592
593 [BZ #3906]
594 * bits/in.h (IPV6_PKTINFO): Define new macro.
595 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
596
89c9aa49
AZ
5972012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
598
599 [BZ #13954]
600 [BZ #13955]
601 [BZ #13956]
602 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
603 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
604 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
605 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
606 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
607 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
608 * math/libm-test.inc (logb_test) : Additional logb tests.
609
021db4be
AJ
6102012-05-09 Andreas Schwab <schwab@linux-m68k.org>
611 Andreas Jaeger <aj@suse.de>
612
613 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
614 * configure: Regenerated.
615 * config.h.in (LINK_OBSOLETE_RPC): New macro.
616 * config.make.in (link-obsolete-rpc): New substituted variable.
617 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
618 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
619 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
620 (shared-only-routines): Don't set it under [link-obsolete-rpc],
621 so that libc.a contains the symbols.
622 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
623 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
624 * sunrpc/auth_none.c: Likewise.
625 * sunrpc/auth_unix.c: Likewise.
626 * sunrpc/authdes_prot.c: Likewise.
627 * sunrpc/authuxprot.c: Likewise.
628 * sunrpc/clnt_gen.c: Likewise.
629 * sunrpc/clnt_perr.c: Likewise.
630 * sunrpc/clnt_raw.c: Likewise.
631 * sunrpc/clnt_simp.c: Likewise.
632 * sunrpc/clnt_tcp.c: Likewise.
633 * sunrpc/clnt_udp.c: Likewise.
634 * sunrpc/clnt_unix.c: Likewise.
635 * sunrpc/des_crypt.c: Likewise.
636 * sunrpc/des_soft.c: Likewise.
637 * sunrpc/get_myaddr.c: Likewise.
638 * sunrpc/key_call.c: Likewise.
639 * sunrpc/key_prot.c: Likewise.
640 * sunrpc/netname.c: Likewise.
641 * sunrpc/pm_getmaps.c: Likewise.
642 * sunrpc/pm_getport.c: Likewise.
643 * sunrpc/pmap_clnt.c: Likewise.
644 * sunrpc/pmap_prot.c: Likewise.
645 * sunrpc/pmap_prot2.c: Likewise.
646 * sunrpc/pmap_rmt.c: Likewise.
647 * sunrpc/publickey.c: Likewise.
648 * sunrpc/rpc_cmsg.c: Likewise.
649 * sunrpc/rpc_common.c: Likewise.
650 * sunrpc/rpc_dtable.c: Likewise.
651 * sunrpc/rpc_prot.c: Likewise.
652 * sunrpc/rpc_thread.c: Likewise.
653 * sunrpc/rtime.c: Likewise.
654 * sunrpc/svc.c: Likewise.
655 * sunrpc/svc_auth.c: Likewise.
656 * sunrpc/svc_raw.c: Likewise.
657 * sunrpc/svc_run.c: Likewise.
658 * sunrpc/svc_tcp.c: Likewise.
659 * sunrpc/svc_udp.c: Likewise.
660 * sunrpc/svc_unix.c: Likewise.
661 * sunrpc/svcauth_des.c: Likewise.
662 * sunrpc/xcrypt.c: Likewise.
663 * sunrpc/xdr.c: Likewise.
664 * sunrpc/xdr_array.c: Likewise.
665 * sunrpc/xdr_float.c: Likewise.
666 * sunrpc/xdr_intXX_t.c: Likewise.
667 * sunrpc/xdr_mem.c: Likewise.
668 * sunrpc/xdr_rec.c: Likewise.
669 * sunrpc/xdr_ref.c: Likewise.
670 * sunrpc/xdr_sizeof.c: Likewise.
671 * sunrpc/xdr_stdio.c: Likewise.
672
b5c086a2
RM
6732012-05-10 Roland McGrath <roland@hack.frob.com>
674
675 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
676 change. Update copyright years.
677
6d74dd09
JM
6782012-05-10 Joseph Myers <joseph@codesourcery.com>
679
680 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
681
28e72501
MK
6822012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
683 Joseph Myers <joseph@codesourcery.com>
684 Paul Pluzhnikov <ppluzhnikov@google.com>
685
686 [BZ #14012]
687 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
688 requiring rpcgen.
689 [cross-compiling] (extra-libs): Likewise.
690 [cross-compiling] (extra-libs-others): Likewise.
691 [cross-compiling] (librpcsvc-routines): Likewise.
692 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
693 [cross-compiling] (omit-deps): Likewise.
694 (sunrpc-CPPFLAGS): New variable.
695 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
696 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
697 (cross-rpcgen-objs): New variable.
698 (extra-objs): Append $(cross-rpcgen-objs).
699 ($(cross-rpcgen-objs)): New rule.
700 ($(objpfx)cross-rpcgen): Likewise.
701 (rpcgen-cmd): Define to use $(built-program-file). Expand
702 comment.
703 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
704 ($(objpfx)x%.stmp): Likewise.
705 * sunrpc/proto.h [IS_IN_build] (_): Define.
706 [IS_IN_build] (_libc_intl_domainname): Likewise.
707
c8c59454
L
7082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
709
710 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
711 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
712 and R_X86_64_TPOFF64.
713
6f27cd16
JM
7142012-05-10 Joseph Myers <joseph@codesourcery.com>
715
716 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
717 sysdeps/unix/sysv/syscalls.list.
718 (stime): Likewise.
719 (utime): Likewise.
720 * sysdeps/unix/sysv/syscalls.list: Remove file.
721
02467e1c
PE
7222012-05-10 Paul Eggert <eggert@cs.ucla.edu>
723
724 [BZ #3440]
725 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
726 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
727 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
728 (__LC_IDENTIFICATION): Make these macros useful in #if
729 expressions, as required by C99.
730
da392631
AS
7312012-05-10 Andreas Schwab <schwab@linux-m68k.org>
732
733 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
734 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
735 after this.
736
8115f29b
L
7372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
738
739 * stdlib/longlong.h: Updated from GCC.
740
bdd74070
AJ
7412012-05-09 Andreas Jaeger <aj@suse.de>
742
edfe0dbe
AJ
743 * nscd/nscd.c (run_modes): Make named enum, reorder so that
744 default is first entry.
745 (run_mode): Set type.
746 (main): Remove informal message about syslog.
747 (options): Fix typo.
748
bcfe3a54
ST
749 [BZ #14053]
750 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 751 to asm.
bcfe3a54
ST
752 (lrint): Likewise.
753 (llrintf): Likewise.
754 (llrint): Likewise.
755 (rint): Likewise.
756 (rintf): Likewise.
757 (nearbyint): Likewise.
758 (nearbyintf): Likewise.
bdd74070 759
91d8d69e
AJ
7602012-05-09 Andreas Jaeger <aj@suse.de>
761 Pedro Alves <palves@redhat.com>
762
763 * nscd/nscd.c (run_mode): Use enum.
764 (main): Cleanup coding style issue.
765
bb90b80b
AJ
7662012-05-09 Alexandre Oliva <aoliva@redhat.com>
767 Andreas Jaeger <aj@suse.de>
768
bcfe3a54
ST
769 * nscd/nscd.c (go_background): Replaced with...
770 (run_mode): ... this.
bb90b80b 771 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
772 (options): Add -F --foreground.
773 (main): Implement it.
774 (parse_opt): Parse it.
bb90b80b 775
1a4b75a1
AJ
7762012-05-09 Andreas Jaeger <aj@suse.de>
777
778 [BZ #14083]
779 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
780 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
781 -Wconversion warning.
782 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
783 Likewise.
784
b1cc2472
JM
7852012-05-09 Joseph Myers <joseph@codesourcery.com>
786
787 * conform/data/locale.h-data (NULL): Use macro-constant. Require
788 == 0.
789 (LC_ALL): Use macro-int-constant.
790 (LC_COLLATE): Likewise.
791 (LC_CTYPE): Likewise.
792 (LC_MESSAGES): Likewise.
793 (LC_MONETARY): Likewise.
794 (LC_NUMERIC): Likewise.
795 (LC_TIME): Likewise.
796 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
797 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
798 [ISO || ISO99 || ISO11] (*_t): Do not allow.
799 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
800 Specify type.
801 [C99-based standards] (float_t): Expect type.
802 [C99-based standards] (double_t): Expect type.
803 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
804 type.
805 [C99-based standards] (HUGE_VALL): Likewise.
806 [C99-based standards] (INFINITY): Likewise.
807 [C99-based standards] (NAN): Likewise.
808 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
809 [C99-based standards] (FP_NAN): Likewise.
810 [C99-based standards] (FP_NORMAL): Likewise.
811 [C99-based standards] (FP_SUBNORMAL): Likewise.
812 [C99-based standards] (FP_ZERO): Likewise.
813 [C99-based standards] (FP_FAST_FMA): Use
814 optional-macro-int-constant. Specify type. Require == 1.
815 [C99-based standards] (FP_FAST_FMAF): Likewise.
816 [C99-based standards] (FP_FAST_FMAL): Likewise.
817 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
818 [C99-based standards] (FP_ILOGBNAN): Likewise.
819 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
820 Specify type.
821 [C99-based standards] (MATH_ERREXCEPT): Likewise.
822 [C99-based standards] (math_errhandling): Specify type.
823 [ISO99 || ISO11] (signgam): Do not allow.
824 [non-C99-based standards] (copysignf): Do not allow.
825 [non-C99-based standards] (exp2f): Likewise.
826 [non-C99-based standards] (log2f): Likewise.
827 [non-C99-based standards] (modff): Allow.
828 [non-C99-based standards] (erff): Do not allow.
829 [non-C99-based standards] (erfcf): Likewise.
830 [non-C99-based standards] (gammaf): Likewise.
831 [non-C99-based standards] (hypotf): Likewise.
832 [non-C99-based standards] (j0f): Likewise.
833 [non-C99-based standards] (j1f): Likewise.
834 [non-C99-based standards] (jnf): Likewise.
835 [non-C99-based standards] (lgammaf): Likewise.
836 [non-C99-based standards] (tgammaf): Likewise.
837 [non-C99-based standards] (y0f): Likewise.
838 [non-C99-based standards] (y1f): Likewise.
839 [non-C99-based standards] (ynf): Likewise.
840 [non-C99-based standards] (isnanf): Likewise.
841 [non-C99-based standards] (acoshf): Likewise.
842 [non-C99-based standards] (asinhf): Likewise.
843 [non-C99-based standards] (atanhf): Likewise.
844 [non-C99-based standards] (cbrtf): Likewise.
845 [non-C99-based standards] (expm1f): Likewise.
846 [non-C99-based standards] (ilogbf): Likewise.
847 [non-C99-based standards] (log1pf): Likewise.
848 [non-C99-based standards] (logbf): Likewise.
849 [non-C99-based standards] (nextafterf): Likewise.
850 [non-C99-based standards] (remainderf): Likewise.
851 [non-C99-based standards] (rintf): Likewise.
852 [non-C99-based standards] (scalbf): Likewise.
853 [non-C99-based standards] (copysignl): Likewise.
854 [non-C99-based standards] (exp2l): Likewise.
855 [non-C99-based standards] (log2l): Likewise.
856 [non-C99-based standards] (modfl): Allow.
857 [non-C99-based standards] (erfl): Do not allow.
858 [non-C99-based standards] (erfcl): Likewise.
859 [non-C99-based standards] (gammal): Likewise.
860 [non-C99-based standards] (hypotl): Likewise.
861 [non-C99-based standards] (j0l): Likewise.
862 [non-C99-based standards] (j1l): Likewise.
863 [non-C99-based standards] (jnl): Likewise.
864 [non-C99-based standards] (lgammal): Likewise.
865 [non-C99-based standards] (tgammal): Likewise.
866 [non-C99-based standards] (y0l): Likewise.
867 [non-C99-based standards] (y1l): Likewise.
868 [non-C99-based standards] (ynl): Likewise.
869 [non-C99-based standards] (isnanl): Likewise.
870 [non-C99-based standards] (acoshl): Likewise.
871 [non-C99-based standards] (asinhl): Likewise.
872 [non-C99-based standards] (atanhl): Likewise.
873 [non-C99-based standards] (cbrtl): Likewise.
874 [non-C99-based standards] (expm1l): Likewise.
875 [non-C99-based standards] (ilogbl): Likewise.
876 [non-C99-based standards] (log1pl): Likewise.
877 [non-C99-based standards] (logbl): Likewise.
878 [non-C99-based standards] (nextafterl): Likewise.
879 [non-C99-based standards] (remainderl): Likewise.
880 [non-C99-based standards] (rintl): Likewise.
881 [non-C99-based standards] (scalbl): Likewise.
882 [ISO || ISO99 || ISO11] (*_t): Do not allow.
883 [non-C99-based standards] (FP_*): Do not allow.
884 [C99-based standards] (FP_*): Change to
885 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
886 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
887 allow.
888 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
889 (SIG_ERR): Likewise.
890 [X/Open-based standards] (SIG_HOLD): Likewise.
891 (SIG_IGN): Likewise.
892 (SIGABRT): Use macro-int-constant. Specify type. Require
893 positive value.
894 (SIGFPE): Likewise.
895 (SIGILL): Likewise.
896 (SIGINT): Likewise.
897 (SIGSEGV): Likewise.
898 (SIGTER): Likewise.
899 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
900 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
901 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
902 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
903 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
904 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
905 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
906 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
907 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
908 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
909 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
910 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
911 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
912 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
913 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
914 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
915 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
916 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
917 [X/Open-based standards] (SIGTRAP): Likewise.
918 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
919 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
920 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
921 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
922 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
923 allow.
924
b9f1922d
IW
9252012-05-08 Ian Wienand <ianw@vmware.com>
926
927 [BZ #14080]
928 * time/tzset.c (__tzset_parse_tz): Update default rules for
929 daylight time changes in the Energy Policy Act of 2005.
930
1db86e88
AJ
9312012-05-09 Andreas Jaeger <aj@suse.de>
932
933 [BZ #13983]
934 * elf/ldconfig.c (parse_conf): Change string to make clear that
935 ldconfig only issued a warning if ld.so.conf does not exist.
936
dee4a4e3
DM
9372012-05-08 David S. Miller <davem@davemloft.net>
938
ee0db190
DM
939 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
940 movxtod instead of popping the value on the stack.
941
dee4a4e3
DM
942 * sysdeps/sparc/fpu/libm-test-ulps: Update.
943
6a43ec98
CD
9442012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
945
946 * config.h.in: Add HAVE_ARM_PCS_VFP.
947
05c2c961
RMG
9482012-05-08 Roland Mc Grath <roland@hack.frob.com>
949
bcfe3a54
ST
950 [BZ #13979]
951 * include/features.h: Warn if user requests __FORTIFY_SOURCE
952 checking but the checks are disabled for any reason.
05c2c961 953
4b30f61a
L
9542012-05-08 H.J. Lu <hongjiu.lu@intel.com>
955
956 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
957 and ELF64_R_TYPE with ELFW(R_TYPE).
958
eee2bc67
JM
9592012-05-08 Joseph Myers <joseph@codesourcery.com>
960
7ea5391a
JM
961 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
962 (ulimit): Likewise.
963
eee2bc67
JM
964 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
965 (settimeofday): Likewise.
966
abb66a67
MF
9672012-05-08 Mike Frysinger <vapier@gentoo.org>
968
969 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
970 a struct th_u2 inside the union, and move tu_block/tu_code into
971 a new th_u3 union of tu_block/tu_code inside of that. Move
972 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
973 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
974 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
975 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
976 (th_stuff): Change to th_u1.tu_stuff.
977 (th_data): Define.
978 (th_msg): Change to th_u1.th_u2.tu_data.
979
7f18b530
DM
9802012-05-07 David S. Miller <davem@davemloft.net>
981
05760585
DM
982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
983
7f18b530
DM
984 [BZ #14074]
985 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
986 (SETUP_PIC_REG): Use it.
987 (SETUP_PIC_REG_LEAF): Use it.
988
495fd99f
JM
9892012-05-07 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #13885]
992 [BZ #13923]
993 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
994 USE_AS_EXPM1L.
995 (EXPL_FINITE): Likewise.
996 (FLDLOG): Likewise.
997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
998 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
999 e_expl.S.
1000 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1001 USE_AS_EXPM1L.
1002 (EXPL_FINITE): Likewise.
1003 (FLDLOG): Likewise.
1004 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1005 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1006 e_expl.S.
1007 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1008 test of -max_value argument for long double.
1009 * sysdeps/i386/fpu/libm-test-ulps: Update.
1010 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1011
6693d694
DM
10122012-05-06 David S. Miller <davem@davemloft.net>
1013
1014 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1015 quad soft-float symbols whose references which are compiler
1016 generated.
1017 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1018
6c23e11c
JM
10192012-05-06 Joseph Myers <joseph@codesourcery.com>
1020
d8b82cad
JM
1021 [BZ #13884]
1022 [BZ #13914]
1023 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1024 USE_AS_EXP10L.
1025 (EXPL_FINITE): Likewise.
1026 (FLDLOG): Likewise.
1027 (c0): Likewise.
1028 (c1): Likewise.
1029 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1030 Adjust comments for base varying.
1031 (__expl_finite): Change alias to EXPL_FINITE.
1032 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1033 e_expl.S.
1034 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1035 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1036 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1037 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1038 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1039 USE_AS_EXP10L.
1040 (EXPL_FINITE): Likewise.
1041 (FLDLOG): Likewise.
1042 (c0): Likewise.
1043 (c1): Likewise.
1044 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1045 Adjust comments for base varying.
1046 (__expl_finite): Change alias to EXPL_FINITE.
1047 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1048 tests for bugs.
1049 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1050
6c23e11c
JM
1051 [BZ #14064]
1052 * math/libm-test.inc (check_float_internal): Correct ulp
1053 calculation for subnormal expected results.
1054
29ba805c
AJ
10552012-05-06 Andreas Jaeger <aj@suse.de>
1056
1057 * Makeconfig (+math-flags): New, set to -frounding-math.
1058 (+cflags): Add +math-flags so that all of glibc gets compiled with
1059 it.
1060
1061 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1062
7b17aeda
JM
10632012-05-05 Joseph Myers <joseph@codesourcery.com>
1064
5779f134
JM
1065 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1066 Disable one test.
1067
41498f4d
JM
1068 [BZ #13787]
1069 [BZ #13922]
1070 [BZ #14036]
1071 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1072 (__ieee754_expl): Allow for and saturate large arguments.
1073 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1074 (u_threshold): Likewise.
1075 (__exp): Call __ieee754_exp before checking for overflow and
1076 underflow.
1077 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1078 (u_threshold): Likewise.
1079 (__expf): Call __ieee754_expf before checking for overflow and
1080 underflow.
1081 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1082 (u_threshold): Likewise.
1083 (__expl): Call __ieee754_expl before checking for overflow and
1084 underflow.
1085 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1086 (__ieee754_expl): Allow for and saturate large arguments.
1087 * math/libm-test.inc (exp_test): Add another test. Do not allow
1088 missing overflow exception on overflow.
1089 (expm1_test): Do not allow missing overflow exception on overflow.
1090
6698b8bf
JM
1091 * sysdeps/i386/fpu/e_expl.c: Move to ...
1092 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1093 rather than using inline asm.
1094 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1095 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1096 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1097
7b17aeda
JM
1098 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1099 (nice): Likewise.
1100 (poll): Likewise.
1101 (signal): Likewise.
1102 (time): Likewise.
1103 (times): Likewise.
1104
f7c85819
JM
11052012-05-04 Joseph Myers <joseph@codesourcery.com>
1106
1107 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1108 sysdeps/unix/common/syscalls.list.
1109 (fchmod): Likewise.
1110 (fchown): Likewise.
1111 (ftruncate): Likewise.
1112 (getrusage): Likewise.
1113 (gettimeofday): Likewise.
1114 (setpgid): Likewise.
1115 (setregid): Likewise.
1116 (setreuid): Likewise.
1117 (sigaction): Likewise.
1118 (truncate): Likewise.
1119 (vhangup): Likewise.
1120 * sysdeps/unix/common/syscalls.list: Remove file.
1121 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1122 * sysdeps/unix/sysv/linux/Implies: Likewise.
1123
336270d0
L
11242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1125
1126 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1128 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1129 Moved to ...
1130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1131 Here.
1132 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1133 to ...
1134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1135 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1136 to ...
1137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1138 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1139 to ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1141 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1142 to ...
1143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1144 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1145 to ...
1146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1147 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1148 to ...
1149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1150 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1151 to ...
1152 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1153 Here.
1154 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1155 to ...
1156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1157 Here.
1158 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1159 to ...
1160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1161 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1162 Moved to ...
1163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1164 Here.
1165 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1166 to ...
1167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1168
d128e450
JM
11692012-05-04 Joseph Myers <joseph@codesourcery.com>
1170
fa8ee516
JM
1171 * sysdeps/unix/common/bits/dirent.h: Remove file.
1172 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1173
d128e450
JM
1174 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1175 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1176 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1177 * sysdeps/unix/bsd/isatty.c: Likewise.
1178 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1179 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1180 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1181
ff8faaf0 11822012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1183
62881be4 1184 [BZ #13563]
31dc8730
AZ
1185 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1186 long double comparison inaccuracies.
1187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1189
6fef930c
AS
11902012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1191
1192 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1193 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1194
8f203e6c
JM
11952012-05-04 Joseph Myers <joseph@codesourcery.com>
1196
1197 [BZ #14049]
1198 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1199 nonzero digits before rounding a hex value.
1200 * stdlib/tst-strtod.c (tests): Add another test.
1201
5197d9c2
AK
12022012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1203
1204 * sysdeps/s390/fpu/libm-test-ulps: Update.
1205
f0c1dedf
AJ
12062012-05-03 Andreas Jaeger <aj@suse.de>
1207
1208 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1209 does not get optimized out.
1210 (malloc_opt_barrier): New.
1211
a65ef2ae 12122012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1213 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1214
2b942cb7 1215 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1216 intermediate file deletion.
2b942cb7 1217 (generated): Add .symlist files.
a65ef2ae 1218
54b71e02
JM
12192012-05-03 Joseph Myers <joseph@codesourcery.com>
1220
1221 [BZ #13775]
1222 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1223 Redirect under this condition.
1224 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1225 [__USE_GNU] (__dprintf_chk): Not under this condition.
1226 [__USE_GNU] (__vdprintf_chk): Likewise.
1227 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1228 under this condition.
1229 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1230 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1231 [__USE_XOPEN2K8] (vdprintf): Likewise.
1232 [__USE_GNU] (__dprintf_chk): Not under this condition.
1233 [__USE_GNU] (__vdprintf_chk): Likewise.
1234 [__USE_GNU] (dprintf): Likewise.
1235 [__USE_GNU] (vdprintf): Likewise.
1236
d3dfcc41
RM
12372012-05-03 Roland McGrath <roland@hack.frob.com>
1238
1239 * elf/Makefile (common-generated): Set this instead of generated for
1240 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1241 $(all-built-dso)-derived lists.
1242
7ac30cc5
AJ
12432012-05-03 Andreas Jaeger <aj@suse.de>
1244
0c51e550
AJ
1245 * sysdeps/i386/fpu/libm-test-ulps: Update.
1246
7ac30cc5
AJ
1247 * FAQ: Removed.
1248 * FAQ.in: Likewise.
1249 * scripts/gen-FAQ.pl: Likewise.
1250 * manual/install.texi (Installation): Point to online location of
1251 FAQ.
1252 * Makefile (files-for-dist): Remove FAQ.
1253 (FAQ): Remove.
1254
d4c2917f
AM
12552012-05-02 Allan McRae <allan@archlinux.org>
1256
1257 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1258 (LDFLAGS-reldepmod5.so): Likewise.
1259 (LDFLAGS-reldep6mod1.so): Likewise.
1260 (LDFLAGS-reldep6mod4.so): Likewise.
1261 (LDFLAGS-reldep8mod3.so): Likewise.
1262 (LDFLAGS-unload4mod1.so): Likewise.
1263 (LDFLAGS-unload4mod2.so): Likewise.
1264 (LDFLAGS-tst-initorder): Likewise.
1265 (LDFLAGS-tst-initordera2.so): Likewise.
1266 (LDFLAGS-tst-initordera3.so): Likewise.
1267 (LDFLAGS-tst-initordera4.so): Likewise.
1268 (LDFLAGS-tst-initorderb2.so): Likewise.
1269 (LDFLAGS-noload): Likewise.
1270 (LDFLAGS-next): Likewise.
1271 (LDFLAGS-order2mod1.so): Likewise.
1272 (LDFLAGS-order2mod2.so): Likewise.
1273 (LDFLAGS-tst-initorder2): Likewise.
1274 (LDFLAGS-tst-initorder2a.so): Likewise.
1275 (LDFLAGS-tst-initorder2b.so): Likewise.
1276 (LDFLAGS-tst-initorder2c.so): Likewise.
1277 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1278
d77f993f
DM
12792012-05-02 David S. Miller <davem@davemloft.net>
1280
1281 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1282
171a70b4
PP
12832012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1284
1285 [BZ #14055]
1286 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1287
0be196ad
AJ
12882012-05-02 Andreas Jaeger <aj@suse.de>
1289
1290 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1291 since we manipulate rounding mode.
1292 (CPPFLAGS-test-idouble.c): Likewise.
1293 (CPPFLAGS-test-ifloat.c): Likewise.
1294 (CFLAGS-test-ldouble.c): Likewise.
1295 (CFLAGS-test-double.c): Likewise.
1296 (CFLAGS-test-float.c): Likewise.
1297 (CFLAGS-test-misc.c): Likewise.
1298 (CFLAGS-test-test-fenv.c): Likewise.
1299
4f9d04aa
AZ
13002012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1301
2b942cb7
RM
1302 [BZ #2550]
1303 [BZ #2570]
1304 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1305 comparisons to determine direction to adjust input.
4f9d04aa 1306
82a79e7d
RM
13072012-05-01 Roland McGrath <roland@hack.frob.com>
1308
f5a01ca9
RM
1309 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1310 output to the target.
1311
90fe4186
RM
1312 * scripts/localplt.awk: New file.
1313 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1314 (check-localplt-CFLAGS): Variable removed.
1315 ($(all-built-dso:=.jmprel)): New static pattern rule.
1316 (generated): Add those targets.
1317 (localplt-built-dso): New variable.
1318 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1319
1320 * elf/check-localplt.c: File removed.
1321
82397ed6
RM
1322 * scripts/check-execstack.awk: New file.
1323 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1324 (check-execstack-CFLAGS): Variable removed.
1325 ($(objpfx)check-execstack.h): Target removed.
1326 ($(objpfx)execstack-default): New target.
1327 (generated): Add that instead of check-execstack.h.
1328 ($(all-built-dso:=.phdr)): New static pattern rule.
1329 (generated): Add those targets.
1330 * elf/check-execstack.c: File removed.
1331
82a79e7d
RM
1332 * scripts/check-textrel.awk: New file.
1333 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1334 (check-textrel-CFLAGS): Variable removed.
1335 (all-built-dso): Use := to define.o
1336 ($(all-built-dso:=.dyn)): New static pattern rule.
1337 (generated): Add those targets.
1338 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1339 * config.make.in (READELF): New substituted variable.
1340 * elf/check-textrel.c: File removed.
1341
62fde54f 13422012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1343
615605c9
JM
1344 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1345 allow.
1346 * conform/data/ctype.h-data [C99-based standards] (isblank):
1347 Expect function.
1348 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1349 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1350 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1351 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1352 Specify type. Require positive value.
1353 (EILSEQ): Likewise.
1354 (ERANGE): Likewise.
1355 [ISO || POSIX] (EILSEQ): Do not expect.
1356 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1357 Specify type. Require positive value.
1358 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1426 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1427 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1428 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1429 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1430 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1431 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1432 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1433 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1434 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1435 Require >= 2.
1436 (FLT_ROUNDS): Expect as macro, not constant.
1437 (FLT_MANT_DIG): Use macro-int-constant.
1438 (DBL_MANT_DIG): Likewise.
1439 (LDBL_MANT_DIG): Likewise.
1440 (FLT_DIG): Likewise.
1441 (DBL_DIG): Likewise.
1442 (LDBL_DIG): Likewise.
1443 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1444 (DBL_MIN_EXP): Likewise.
1445 (LDBL_MIN_EXP): Likewise.
1446 (FLT_MAX_EXP): Use macro-int-constant.
1447 (DBL_MAX_EXP): Likewise.
1448 (LDBL_MAX_EXP): Likewise.
1449 (FLT_MAX_10_EXP): Likewise.
1450 (DBL_MAX_10_EXP): Likewise.
1451 (LDBL_MAX_10_EXP): Likewise.
1452 (FLT_MAX): Use macro-constant.
1453 (DBL_MAX): Likewise.
1454 (LDBL_MAX): Likewise.
1455 (FLT_EPSILON): Use macro-constant. Give upper bound.
1456 (DBL_EPSILON): Likewise.
1457 (LDBL_EPSILON): Likewise.
1458 (FLT_MIN): Likewise.
1459 (DBL_MIN): Likewise.
1460 (LDBL_MIN): Likewise.
1461 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1462 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1463 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1464 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1465 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1466 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1467 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1468 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1469 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1470 [ISO11] (FLT_TRUE_MIN): Likewise.
1471 [ISO11] (LDBL_TRUE_MIN): Likewise.
1472 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1473 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1474 (SCHAR_MIN): Use macro-int-constant. Specify type.
1475 (SCHAR_MAX): Likewise.
1476 (UCHAR_MAX): Likewise.
1477 (CHAR_MIN): Likewise.
1478 (CHAR_MAX): Likewise.
1479 (MB_LEN_MAX): Use macro-int-constant.
1480 (SHRT_MIN): Use macro-int-constant. Specify type.
1481 (SHRT_MAX): Likewise.
1482 (USHRT_MAX): Likewise.
1483 (INT_MAX): Likewise.
1484 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1485 bound negative.
1486 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1487 bound with "U".
1488 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1489 bound with "L".
1490 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1491 bound negative. Suffix upper bound with "L".
1492 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1493 bound with "UL".
1494 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1495 Specify type.
1496 [C99-based standards] (LLONG_MAX): Likewise.
1497 [C99-based standards] (ULLONG_MAX): Likewise.
1498 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1499 == 0.
1500 [ISO11] (max_align_t): Require type.
1501 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1502
c9140a62
JM
1503 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1504 from $CFLAGS, without defining away __attribute__ calls.
1505 (checknamespace): Use $CFLAGS_namespace.
1506
9af0bf29
JM
1507 * conform/conformtest.pl (@keywords): Only include C99 keywords
1508 for standards based on C99 or C11.
1509
343222a2
JM
1510 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1511 Disable tests.
1512 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1513 UNIX98]: Likewise.
1514
661f8cf0
JM
1515 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1516 usability of symbols in #if.
1517
ee74b9cb
JM
1518 * conform/conformtest.pl: If macro or constant types start
1519 "promoted:", expect the symbol to be of the following type
1520 promoted by the integer promotions.
62fde54f 1521
aafc49b3
JM
1522 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1523 in one place. Also handle "macro-constant".
1524
fefdf574
JM
1525 * conform/conformtest.pl: Only accept expected macro values with
1526 "==". Parse all "macro" lines in one place.
1527 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1528
f2d922fe
JM
1529 * conform/conformtest.pl: Handle braced types on "constant" lines
1530 instead of handling "typed-constant".
1531 * conform/data/signal.h-data: Use "constant" instead of
1532 "typed-constant".
1533
d22956c9
JM
1534 * conform/conformtest.pl: Handle "optional-" at start of lines in
1535 one place rather than duplicating several cases. Handle each
1536 format of "macro" line with initial "optional-".
1537
028e2e38
JM
1538 * conform/conformtest.pl: Only accept expected constant or
1539 optional-constant values with "==". Parse all "constant" lines in
1540 one place. Parse all "optional-constant" lines in one place.
1541 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1542 * conform/data/fmtmsg.h-data: Likewise.
1543 * conform/data/netinet/in.h-data: Likewise.
1544 * conform/data/tar.h-data: Likewise.
1545 * conform/data/limits.h-data: Use "==" form on "constant" and
1546 "optional-constant" lines.
1547
1b8f2850
JM
1548 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1549 Use -std=c99 for XOPEN2K.
1550 (@knownproblems): Remove.
1551 (newtoken): Don't check %isknown.
1552
a05a144b
JM
1553 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1554 Do not expect macro.
1555 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1561 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1562 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1567 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1568 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1579 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1580 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1581 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1585 [XPG3] (acosh): Likewise.
1586 [XPG3] (asinh): Likewise.
1587 [XPG3] (atanh): Likewise.
1588 [XPG3] (cbrt): Likewise.
1589 [XPG3] (expm1): Likewise.
1590 [XPG3] (ilogb): Likewise.
1591 [XPG3] (log1p): Likewise.
1592 [XPG3] (logb): Likewise.
1593 [XPG3] (nextafter): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1596 [XPG3] (remainder): Likewise.
1597 [XPG3] (rint): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1605 [UNIX98 || XOPEN2K] (scalb): Expect.
1606 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1607 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1743
73c5ebe3
JM
1744 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1745 _XOPEN_SOURCE_EXTENDED for XPG4.
1746
39c33b6c
JM
1747 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1748
62fde54f
JM
1749 * Makeconfig (localtime): Remove variable.
1750 (inst_localtime-file): Likewise.
1751
0741d64c
AS
17522012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1753
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1755 Update.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1757 Update.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1759 Update.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1761 Update.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1763 Update.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1765 Update.
1766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1767 Update.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1769 Update.
1770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1771 Update.
1772
7cb029ee
JM
17732012-05-01 Joseph Myers <joseph@codesourcery.com>
1774
1775 [BZ #2550]
1776 [BZ #2570]
1777 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1778 comparisons to determine direction to adjust input.
1779 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1780 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1782 Likewise.
1783 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1784 Likewise.
1785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1786 Likewise.
1787 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1788 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1789 Likewise.
1790 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1791 Likewise.
1792 * math/libm-test.inc (nexttoward_test): Add more tests.
1793
412bd966
AS
17942012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1795
1796 [BZ #14040]
1797 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1798 in version GLIBC_2.1, not GLIBC_2.0.
1799 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1800 Likewise.
1801
9568c0c2
JM
18022012-04-30 Joseph Myers <joseph@codesourcery.com>
1803
adfbc8ac
JM
1804 [BZ #13942]
1805 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1806 (1 - x) * (1 + x).
1807 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1808 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1809 * math/libm-test.inc (acos_test): Add more tests.
1810 (asin_test): Likewise.
1811 * sysdeps/i386/fpu/libm-test-ulps: Update.
1812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1813
5ba3cc69
JM
1814 [BZ #14034]
1815 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1816 of square root.
1817 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1818 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1819 * math/libm-test.inc (acos_test_tonearest): New function.
1820 (acos_test_towardzero): Likewise.
1821 (acos_test_downward): Likewise.
1822 (acos_test_upward): Likewise.
1823 (asin_test_tonearest): Likewise.
1824 (asin_test_towardzero): Likewise.
1825 (asin_test_downward): Likewise.
1826 (asin_test_upward): Likewise.
1827 (main): Call the new functions.
1828 * sysdeps/i386/fpu/libm-test-ulps: Update.
1829 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1830
9568c0c2
JM
1831 [BZ #13884]
1832 [BZ #13924]
1833 * math/e_exp10.c: Include <float.h>.
1834 (__ieee754_exp10): Handle underflow here rather than multiplying
1835 large negative argument by M_LN10.
1836 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1837 of __ieee754_expf.
1838 * math/e_exp10l.c: Include <float.h>.
1839 (__ieee754_exp10l): Handle underflow here rather than multiplying
1840 large negative argument by M_LN10l.
1841 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1842 spurious overflow exception on underflow.
1843
5ac3ea17
MP
18442012-04-29 Marek Polacek <polacek@redhat.com>
1845
1846 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1847 (__fortify_function): New macro.
1848 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1849 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1850 __extern_always_inline.
1851 * libio/bits/stdio2.h: Likewise.
1852 * libio/bits/stdio.h: Likewise.
1853 * string/string.h: Likewise.
1854 * string/bits/string3.h: Likewise.
1855 * include/stdio.h: Likewise.
1856 * stdlib/bits/stdlib.h: Likewise.
1857 * stdlib/stdlib.h: Likewise.
1858 * rt/bits/mqueue2.h: Likewise.
1859 * rt/mqueue.h: Likewise.
1860 * posix/bits/unistd.h: Likewise.
1861 * posix/unistd.h: Likewise.
1862 * io/bits/poll2.h: Likewise.
1863 * io/bits/fcntl2.h: Likewise.
1864 * io/fcntl.h: Likewise.
1865 * io/sys/poll.h: Likewise.
1866 * misc/bits/syslog.h: Likewise.
1867 * misc/bits/syslog-ldbl.h: Likewise.
1868 * misc/sys/syslog.h: Likewise.
1869 * socket/bits/socket2.h: Likewise.
1870 * socket/sys/socket.h: Likewise.
1871 * debug/tst-chk1.c: Likewise.
1872 * wcsmbs/bits/wchar2.h: Likewise.
1873 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1874 * wcsmbs/wchar.h: Likewise.
1875
ecf0ebfb
AJ
18762012-04-29 Andreas Jaeger <aj@suse.de>
1877
1878 * Makerules (tests): Remove enable-check-abi protection.
1879 (check-abi-warn): Remove.
1880 (check-abi-%): Remove check-abi-warn usage.
1881
1882 * configure.in: Remove check-abi configure option.
1883 * configure: Regenerated.
1884 * config.make.in (enable-check-abi): Remove.
1885
6d5c57fa
AS
18862012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1887
24c5d07e 1888 [BZ #14033]
ded5180a
AS
1889 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1890 double functions to double *_finite functions.
1891
7e0d315d
AS
1892 [BZ #13941]
1893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1894 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1895 LDBL_MIN_EXP.
1896 * stdio-common/Makefile (tests): Add tst-sprintf3.
1897 * stdio-common/tst-sprintf3.c: New file.
1898
6d5c57fa
AS
1899 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1900 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1901
0749ff8b
JM
19022012-04-28 Joseph Myers <joseph@codesourcery.com>
1903
1904 * conform/conformtest.pl: Remove duplicate typed-constant
1905 handling.
1906
8dbd5d7b
DM
19072012-04-28 David S. Miller <davem@davemloft.net>
1908
1909 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1910 (check-abi-%): Remove AWK script prerequisite and explicit
1911 abilist directory.
1912 (check-abi): Rewrite to just diff the symlist with the abilist.
1913 (config-tls, config-abi-config): Delete, no longer used.
1914 (update-abi-%): Remove AWK script and explicit abilist directory.
1915 (update-abi): Rewrite to simply compare and conditionally copy the
1916 symlist and the sysdep abilist file. Remove update-abi-config
1917 checks.
1918 * abilist/ld.abilist: Remove.
1919 * abilist/libBrokenLocale.abilist: Remove.
1920 * abilist/libanl.abilist: Remove.
1921 * abilist/libcrypt.abilist: Remove.
1922 * abilist/libdl.abilist: Remove.
1923 * abilist/librt.abilist: Remove.
1924 * abilist/libthread_db.abilist: Remove.
1925 * abilist/libutil.abilist: Remove.
1926 * scripts/extract-abilist.awk: Remove.
1927 * scripts/merge-abilist.awk: Remove.
1928 * sysdeps/generic/libcidn.abilist: New file.
1929 * sysdeps/generic/libnss_compat.abilist: New file.
1930 * sysdeps/generic/libnss_db.abilist: New file.
1931 * sysdeps/generic/libnss_dns.abilist: New file.
1932 * sysdeps/generic/libnss_files.abilist: New file.
1933 * sysdeps/generic/libnss_hesiod.abilist: New file.
1934 * sysdeps/generic/libnss_nis.abilist: New file.
1935 * sysdeps/generic/libnss_nisplus.abilist: New file.
1936 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1937 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1938 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1939 file.
1940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1941 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1942 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1943 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1944 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1945 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1946 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1947 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1948 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1949 file.
1950 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1951 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1952 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1953 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1954 file.
1955 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1956 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1957 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1958 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1959 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1960 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1961 file.
1962 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1963 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1964 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1965 file.
1966 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1968 New file.
1969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1970 New file.
1971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1972 New file.
1973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1974 New file.
1975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1976 New file.
1977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1978 New file.
1979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1980 New file.
1981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1982 New file.
1983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1984 New file.
1985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1986 New file.
1987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1988 New file.
1989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1990 New file.
1991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1992 New file.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1994 file.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1996 New file.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1998 New file.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2000 file.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2002 New file.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2004 New file.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2006 file.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2008 New file.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2010 New file.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2012 New file.
2013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2014 New file.
2015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2016 New file.
2017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2018 New file.
2019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2021 file.
2022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2023 New file.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2025 file.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2027 file.
2028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2029 file.
2030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2031 file.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2033 file.
2034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2035 New file.
2036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2037 file.
2038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2039 file.
2040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2041 New file.
2042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2043 file.
2044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2046 file.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2048 New file.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2050 file.
2051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2052 file.
2053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2054 file.
2055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2056 file.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2058 file.
2059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2060 New file.
2061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2062 file.
2063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2064 file.
2065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2066 New file.
2067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2068 file.
2069 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2070 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2071 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2072 file.
2073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2074 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2075 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2077 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2078 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2079 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2080 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2081 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2082 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2087 New file.
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2091 file.
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2093 file.
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2095 file.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2097 file.
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2099 New file.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2101 New file.
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2103 file.
2104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2105 New file.
2106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2107 file.
2108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2114 file.
2115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2116 file.
2117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2118 file.
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2120 file.
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2122 file.
2123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2126 New file.
2127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2128 file.
2129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2130 New file.
2131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2132 file.
2133
41d73a1b
JM
21342012-04-28 Joseph Myers <joseph@codesourcery.com>
2135
2136 * conform/conformtest.pl: Fix typo in handling typed-constant from
2137 allow-header.
2138
28aeeda4
JM
21392012-04-27 Joseph Myers <joseph@codesourcery.com>
2140
adae8f5e
JM
2141 * README: Cut down references to pre-2.6 Linux kernels and
2142 Linuxthreads. Update lists of configurations in libc and ports
2143 and sort alphabetically. Say "or newer" with Linux kernel version
2144 requirements.
2145
28aeeda4
JM
2146 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2147
a462cb63
RA
21482012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2149
2150 [BZ #887]
2151 * math/libm-test.inc (logb_test_downward): New test to expose
2152 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2153 rounding mode.
2154
6ad3493e
JM
21552012-04-27 Joseph Myers <joseph@codesourcery.com>
2156
2157 [BZ #14027]
2158 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2159 to be done.
2160 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2161 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2162
2ce4f015
JM
21632012-04-26 Joseph Myers <joseph@codesourcery.com>
2164
5aeb141a
JM
2165 * sysdeps/unix/i386/brk.S: Remove file.
2166 * sysdeps/unix/i386/dl-brk.S: Likewise.
2167 * sysdeps/unix/i386/pipe.S: Likewise.
2168 * sysdeps/unix/i386/sigreturn.S: Likewise.
2169 * sysdeps/unix/i386/syscall.S: Likewise.
2170 * sysdeps/unix/i386/vfork.S: Likewise.
2171 * sysdeps/unix/i386/wait.S: Likewise.
2172
7143acae
JM
2173 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2174 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2175
2ce4f015
JM
2176 * configure.in (arm*-none*): Do not allow without
2177 --enable-hacker-mode.
2178 (netbsd*): Remove case setting base_os.
2179 (386bsd*): Likewise.
2180 (freebsd*): Likewise.
2181 (bsdi*): Likewise.
2182 (osf*): Likewise.
2183 (sunos*): Likewise.
2184 (ultrix*): Likewise.
2185 (newsos*): Likewise.
2186 (dynix*): Likewise.
2187 (*bsd*): Likewise.
2188 (sysv*): Likewise.
2189 (isc*): Likewise.
2190 (esix*): Likewise.
2191 (sco*): Likewise.
2192 (minix*): Likewise.
2193 (irix4*): Likewise.
2194 (irix6*): Likewise.
2195 (solaris[2-9]*): Likewise.
2196 (none): Likewise.
2197 * configure: Regenerated.
2198
0ac229c8
AZ
21992012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2200
2201 [BZ #11521]
2202 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2203 overflow or cancellation in calculating denominator.
2204 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2205 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2206 down expression to avoid unexpected rounding in newer GCCs.
2207 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2208
33f244f4
DM
22092012-04-26 David S. Miller <davem@davemloft.net>
2210
2211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2212 long-double compat symbols.
2213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2225 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2226
cfa1f3e8
DM
22272012-04-25 David S. Miller <davem@davemloft.net>
2228
2229 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2230 HWCAP_* values only after the memory barriers have been defined.
2231 (atomic_full_barrier): Define.
2232 (atomic_read_barrier): Define.
2233 (atomic_write_barrier): Define.
2234
6e236b92
SP
22352012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2236
2237 * shlib-versions: Add libgcc_s version information.
2238 * sysdeps/generic/libgcc_s.h: Remove.
2239 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2240 libgcc_s.h.
2241 * sysdeps/gnu/unwind-resume.c: Likewise.
2242 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2243
aab39a09
DM
22442012-04-25 David S. Miller <davem@davemloft.net>
2245
2246 * sysdeps/unix/sparc/brk.S: Delete.
2247 * sysdeps/unix/sparc/dl-brk.S: Delete.
2248 * sysdeps/unix/sparc/pipe.S: Delete.
2249 * sysdeps/unix/sparc/sysdep.S: Delete.
2250 * sysdeps/unix/sparc/sysdep.h: Delete.
2251 * sysdeps/unix/sparc/vfork.S: Delete.
2252 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2253 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2254 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2255 ret_ERRVAL, r0, r1, MOVE): Define.
2256 (JUMPTARGET): Remove.
2257 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2258 sysdeps/unix/sparc/sysdep.h
2259 (ENTRY, END): Remove.
2260 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2261
a3cc4f48
JM
22622012-04-25 Joseph Myers <joseph@codesourcery.com>
2263
2ed8cda2
JM
2264 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2265 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2266 -DIS_IN_build.
2267
35d76d59
JM
2268 * timezone/README: Update upstream location and email address for
2269 tzcode and tzdata.
2270 * timezone/zdump.c: Update from tzcode 2012b.
2271 * timezone/zic.c: Likewise.
2272
a3cc4f48
JM
2273 * configure.in (libc_cv_as_needed): Remove test.
2274 * configure: Regenerated.
2275 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2276 conditional definition.
2277 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2278 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2279 * config.make.in (have-as-needed): Remove variable.
2280
ceab42c3
SP
22812012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2282 Paul Pluzhnikov <ppluzhnikov@google.com>
2283
2284 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2285 strings correctly.
2286
3ce2865f
CLT
22872012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2288
2289 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2290 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2291 * sysdeps/sh/strlen.S: Likewise.
2292
f37e0d68
JM
22932012-04-24 Joseph Myers <joseph@codesourcery.com>
2294
ae186e9a
JM
2295 * sysdeps/unix/fork.S: Remove file.
2296 * sysdeps/unix/i386/fork.S: Likewise.
2297 * sysdeps/unix/sparc/fork.S: Likewise.
2298
b96914af
JM
2299 * sysdeps/unix/system.c: Remove file.
2300 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2301
f37e0d68
JM
2302 * sysdeps/unix/getegid.S: Remove file.
2303 * sysdeps/unix/geteuid.S: Likewise.
2304
87ef29ca
RM
23052012-04-24 Roland McGrath <roland@hack.frob.com>
2306
83bcd236
RM
2307 * scripts/check-localplt.awk: New file.
2308 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2309 of diff.
2310 * scripts/data/localplt-generic.data: Add a comment.
2311
87ef29ca
RM
2312 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2313 NODE when __dir_mkfile failed.
2314 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2315 Reported by Ludovic Courtès <ludo@gnu.org>.
2316
e5a6e567
AJ
23172012-04-24 Andreas Jaeger <aj@suse.de>
2318
2319 * Makerules (common-clean): Also remove gen-as-const-headers
2320 files.
2321
c1820385
JM
23222012-04-24 Joseph Myers <joseph@codesourcery.com>
2323
2324 * Makerules (native-compile): Do not change working directory for
2325 build. Use $(OUTPUT_OPTION) in command.
2326 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2327
94e02fc4
AZ
23282012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2329
2330 [BZ #13886]
2331 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2332 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2333 * math/libm-test.inc (floor_test): Add more tests.
2334 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2335
3a533ca3
JM
23362012-04-24 Joseph Myers <joseph@codesourcery.com>
2337
940ab4b3
JM
2338 * sysdeps/unix/getdents.c: Remove file.
2339 * sysdeps/unix/sysv/getdents.c: Likewise.
2340 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2341
90e037bd
JM
2342 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2343 sysdeps/unix/mman/syscalls.list.
2344 (mmap): Likewise.
2345 (mprotect): Likewise.
2346 (msync): Likewise.
2347 (munmap): Likewise.
2348 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2349 * sysdeps/unix/mman/syscalls.list: Remove.
2350 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2351
3a533ca3
JM
2352 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2353 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2354 * configure: Regenerated.
2355 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2356 $(libgcc_s_suffix).
2357 * config.make.in (libgcc_s_suffix): Remove variable.
2358
1ad743de
JM
23592012-04-23 Joseph Myers <joseph@codesourcery.com>
2360
4ad451e2
JM
2361 * sysdeps/unix/sysv/gethostname.c: Move to ...
2362 * sysdeps/posix/gethostname.c: ... here.
2363
5e37ce39
JM
2364 * sysdeps/unix/execve.S: Remove file.
2365
1ad743de
JM
2366 * sysdeps/unix/_exit.S: Remove file.
2367
4e681b5b
AJ
23682012-04-23 Andreas Jaeger <aj@suse.de>
2369
2370 [BZ #13739]
2371 * manual/Makefile: Remove make dist support, there's no
2372 need for a stand-alone documentation tar ball.
2373 (TEXI2DVI): Define always, it's not in Makeconfig.
2374 (dist): Removed.
2375 (tar-it): Removed.
2376 (edition): Removed.
2377 (glibc-doc-$(edition).tar): Removed
2378 (%.Z): Removed.
2379 (%.gz): Removed.
2380 (%.uu): Removed.
2381 (ETAGS): Remove, it's in Makeconfig.
2382 (move-if-change): Remove, it's in Makeconfig.
2383
c0baea34
PE
23842013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2385
2386 [BZ #13970]
2387 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2388 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2389 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2390 (strtod_l, strtof_l, strtold_l): Remove __wur.
2391 It is not necessarily an error to ignore strtol's return value.
2392 One can reliably look at the stored endptr to decide whether
2393 the number had valid syntax.
2394
7c0616fa
AJ
23952012-04-21 Andreas Jaeger <aj@suse.de>
2396
803cb6b7 2397 [BZ #13739]
7c0616fa
AJ
2398 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2399
b0fe253f
JM
24002012-04-21 Joseph Myers <joseph@codesourcery.com>
2401
2402 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2403 * sysdeps/unix/sysv/Versions: Remove file.
2404
8280f22d
MT
24052012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2406
2407 [BZ #13927]
2408 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2409
75ce411f 24102012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2411
2412 [BZ #7064]
2413 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2414 version from __vm86.
2415
097d59fa
JM
24162012-04-20 Joseph Myers <joseph@codesourcery.com>
2417
a90f3bcb
JM
2418 * sysdeps/unix/common/lxstat.c: Remove file.
2419 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2420
edc7ea78
JM
2421 * sysdeps/unix/sysv/Makefile: Remove file.
2422
cb78c221
JM
2423 * sysdeps/unix/sysv/direct.h: Remove file.
2424
efa6a45f
JM
2425 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2426 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2427 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2428 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2429 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2430 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2431 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2432
9c9f2d0c
JM
2433 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2434
4541c83b
JM
2435 * sysdeps/unix/xmknod.c: Remove file.
2436 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2437
f5d153a0
JM
2438 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2439
aa746595
JM
2440 * sysdeps/unix/sysv/i386/time.S: Remove file.
2441
cce5905e
JM
2442 * sysdeps/unix/fxstat.c: Remove file.
2443 * sysdeps/unix/xstat.c: Likewise.
2444 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2445
37fa3841
JM
2446 * sysdeps/unix/sysv/sigaction.c: Remove file.
2447
ff1962a3
JM
2448 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2449 (sysdep_headers): Remove variable.
2450 [termio.h not in sysdep_headers] (generated): Likewise.
2451 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2452 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2453 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2454 * sysdeps/unix/sysv/tcflow.c: Likewise.
2455 * sysdeps/unix/sysv/tcflush.c: Likewise.
2456 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2457 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2458 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2459 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2460 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2461
e7740d31
JM
2462 * sysdeps/unix/siglist.c: Remove file.
2463
ee06f18b
JM
2464 * sysdeps/unix/getppid.S: Remove file.
2465
097d59fa
JM
2466 * sysdeps/unix/mkdir.c: Remove file.
2467 * sysdeps/unix/rmdir.c: Likewise.
2468
ff3d51ec
AS
24692012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2470
2471 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2472 ERR_MAX value.
2473 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2474 errlist-compat value.
2475
50f81fd7
DM
24762012-04-18 David S. Miller <davem@davemloft.net>
2477
2478 * sysdeps/generic/memcopy.h (reg_char): Delete.
2479 * debug/strcat_chk.c: Use char, not reg_char.
2480 * debug/strcpy_chk.c: Likewise.
2481 * debug/strncat_chk.c: Likewise.
2482 * debug/strncpy_chk.c: Likewise.
2483 * string/memchr.c: Likewise.
2484 * string/memrchr.c: Likewise.
2485 * string/rawmemchr.c: Likewise.
2486 * string/strcat.c: Likewise.
2487 * string/strchr.c: Likewise.
2488 * string/strchrnul.c: Likewise.
2489 * string/strcmp.c: Likewise.
2490 * string/strcpy.c: Likewise.
2491 * string/strncat.c: Likewise.
2492 * string/strncmp.c: Likewise.
2493 * string/strncpy.c: Likewise.
2494
8ff41c46
WS
24952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2496
2497 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2498 __builtin_memcopy is called when src and dest ranges are known to not
2499 overlap.
2500
6b652f46
WS
25012012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2502
2503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2504 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2505 fwd_align_merge macro call.
2506 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2507 bwd_align_merge macro call.
2508 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2509
b282631e
WS
25102012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2511
2512 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2513 bwd_align_merge macros.
2514 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2515 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2516 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2517
95aa737c
DM
25182012-04-18 David S. Miller <davem@davemloft.net>
2519
2520 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2521
7a99a614
AJ
25222012-04-18 Andreas Jaeger <aj@suse.de>
2523
2524 [BZ# 6794]
2525 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2526 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2527 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2528
2529 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2530 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2531 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2532
2533 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2534 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2535 Adjust for changed ldbl-128 files.
2536
2537 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2538 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2539 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2540
e5270c23
DM
25412012-04-17 David S. Miller <davem@davemloft.net>
2542
2543 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2544
fb5e92c9
AS
25452012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2546
2547 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2548 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2549 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2550 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2551 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2552 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2553
76da7265
AZ
25542012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2555
2556 [BZ #6794]
2557 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2558 * math/libm-test.inc: Add ilogb errno and exception tests.
2559 * math/w_ilogb.c: New file: ilogb wrapper.
2560 * math/w_ilogbf.c: New file: ilogbf wrapper.
2561 * math/w_ilogbl.c: New file: ilogbl wrapper.
2562 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2563 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2564 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2565 exception being thrown with 0.0 as argument.
2566 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2567 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2568 exception being thrown with 0.0 as argument.
2569 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2570 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2571 exception being thrown with 0.0 as argument.
2572 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2573 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2574 exception being thrown with 0.0 as argument.
2575 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2576 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2577 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2578 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2579 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2580 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2581 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2582 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2583 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2584
0396e69d
PB
25852012-04-17 Petr Baudis <pasky@ucw.cz>
2586
2587 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2588 with altivec.
2589
750b5926
MP
25902012-04-16 Marek Polacek <polacek@redhat.com>
2591
2592 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2593
751728a1
MP
25942012-04-16 Marek Polacek <polacek@redhat.com>
2595
2596 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2597 operands of fdivp instruction.
2598
34a27407
L
25992012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2600
2601 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2602 * elf/tst-auditmod3b.c: Likewise.
2603 * elf/tst-auditmod4b.c: Likewise.
2604 * elf/tst-auditmod5b.c: Likewise.
2605 * elf/tst-auditmod6b.c: Likewise.
2606 * elf/tst-auditmod6c.c: Likewise.
2607 * elf/tst-auditmod7b.c: Likewise.
2608 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2609 * sysdeps/x86_64/preconfigure.in: Likewise.
2610 * sysdeps/x86_64/preconfigure: Regenerated.
2611
7e73e17d
L
26122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2615 __ILP32__.
2616
c7a6ab72
AB
26172012-04-13 Antoine Balestrat <merkil33@gmail.com>
2618
2619 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2620 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2621
a9e8e0e0
CL
26222012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2623
2624 [BZ #13973]
2625 * locale/iso-639.def: Fix gl language name. Spotted by
2626 Yaron Shahrabani.
2627
ec98af7d
RM
26282012-04-12 Roland McGrath <roland@hack.frob.com>
2629
2630 [BZ #2074]
2631 * libio/libio.h (__io_write_fn): Update comment.
2632
247c3ede
PB
26332012-04-12 Petr Baudis <pasky@ucw.cz>
2634
2635 [BZ #2074]
2636 * stdio.texi (Hook Functions): The user provided writer function
2637 is not allowed to return -1.
2638
55939d6d
DM
26392012-04-11 David S. Miller <davem@davemloft.net>
2640
2641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2642
90020f5a
MF
26432012-04-11 Mike Frysinger <vapier@gentoo.org>
2644
2645 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2646 Add a leading slash to rtkaio.
2647
288f9098
JM
26482012-04-11 Jim Meyering <meyering@redhat.com>
2649
90020f5a
MF
2650 [BZ #11959]
2651 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2652 It is not necessarily an error to ignore fwrite's return
2653 value. One can reliably use ferror to test for errors after
2654 the fact.
288f9098 2655
4be2b570
L
26562012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2657
2658 * bits/types.h (__snseconds_t): New type.
2659 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2660
2661 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2662 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2663 (__SNSECONDS_T_TYPE): Likewise.
2664 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2665 (__SNSECONDS_T_TYPE): Likewise.
2666 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2667 (__SNSECONDS_T_TYPE): Likewise.
2668
288f9098 26692012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2670
2671 [BZ #2636]
2672 * manual/time.texi (Processor Time): Return type of times is
2673 elapsed real time since an arbitrary point in the past.
2674 (CPU Time): Move CLK_TCK from here...
2675 (Processor Time): ...to here. Correct description.
2676 * manual/conf.texi (Constants for Sysconf): Correct description of
2677 _SC_CLK_TCK.
2678
d7dd4413
DM
26792012-04-10 David S. Miller <davem@davemloft.net>
2680
2681 [BZ #13967]
2682 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2683 where the is a gap between DT_REL(A) and DT_JMPREL.
2684
b46068fc
L
26852012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2686
2687 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2688 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2689 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2690
73d65cc3
SP
26912012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2692
2693 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2694 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2695 (dl_main): Handle --inhibit-cache.
2696 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2697 _dl_inhibit_cache.
2698 * elf/dl-load.c (_dl_map_object): Use it.
2699 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2700
bcc8d661
JM
27012012-04-09 Joseph Myers <joseph@codesourcery.com>
2702
8f9a2fae
JM
2703 [BZ #13872]
2704 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2705 (__ieee754_powl): Saturate large exponents rather than testing for
2706 overflow of y*log2(x).
2707 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2708 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2709 exceptions.
2710
bcc8d661
JM
2711 [BZ #11521]
2712 * math/s_ctan.c: Include <float.h>.
2713 (__ctan): Avoid internal overflow or cancellation in calculating
2714 denominator.
2715 * math/s_ctanf.c: Likewise.
2716 * math/s_ctanl.c: Likewise.
2717 * math/s_ctanh.c: Likewise.
2718 * math/s_ctanhf.c: Likewise.
2719 * math/s_ctanhl.c: Likewise.
2720 * math/libm-test.inc (ctan_test): Add more tests.
2721 (ctanh_test): Likewise.
2722 * sysdeps/i386/fpu/libm-test-ulps: Update.
2723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2724
823fbbb4
AJ
27252012-04-09 Andreas Jaeger <aj@suse.de>
2726
03879793
AJ
2727 [BZ #6894]
2728 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2729 is an optional BSD extension.
2730
823fbbb4
AJ
2731 [BZ #10254]
2732 * manual/stdio.texi (Opening Streams): Document additional fopen
2733 parameters.
2734
8de131cb
RM
27352012-04-09 Roland McGrath <roland@hack.frob.com>
2736
2737 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2738 %eax without telling the compiler.
2739
c0ed9d7d
CD
27402012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2741
2742 [BZ # 13963]
2743 * manual/install.texi: Use sourceware.org.
2744
c483f6b4
JM
27452012-04-09 Joseph Myers <joseph@codesourcery.com>
2746
d7dd9453
JM
2747 [BZ #13873]
2748 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2749 (__ieee754_pow): Generate overflow and underflow using huge*huge
2750 and tiny*tiny rather than just returning constant infinity or zero
2751 for large exponents.
2752 * math/libm-test.inc (pow_test): Require overflow exceptions for
2753 applicable cases of large exponents.
2754
c483f6b4
JM
2755 [BZ #706]
2756 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2757 (__ieee754_pow): Use iterative multiplication algorithm only for
2758 integer exponents with absolute value below 1024. Check for odd
2759 integer exponents when using algorithm for real exponents.
2760 * math/libm-test.inc (pow_test): Add more tests.
2761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2762
d2de7579
JM
27632012-04-08 Joseph Myers <joseph@codesourcery.com>
2764
2765 [BZ #13705]
2766 * math/libm-test.inc (exp_test): Do not allow overflow exception
2767 on underflow test.
2768
f77f1232
AJ
27692012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2770
2771 [BZ #13705]
2772 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2773 instead of __kernel_standard_f.
2774
3884932b
MF
27752012-04-08 Mike Frysinger <vapier@gentoo.org>
2776
2777 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2778 * sysdeps/x86_64/memset_chk.S: Likewise.
2779
54472e9c
AJ
27802012-04-08 Andreas Jaeger <aj@suse.de>
2781
6ab0fbfc
AJ
2782 [BZ #10153]
2783 * manual/startup.texi (Environment Access): Describe return value
2784 for putenv and setenv.
2785
61efba8c
AJ
2786 [BZ #6895]
2787 * manual/filesys.texi (Directory Entries): Add description for
2788 DT_LNK.
2789
95c3f29a
AJ
2790 [BZ #6890]
2791 * manual/filesys.texi (Directory Entries): Clarify that it's file
2792 system not operating system in the description of DT_UNKNOWN.
2793
54472e9c
AJ
2794 [BZ #6578]
2795 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2796
624254b1
SC
27972012-04-08 Stephen Compall <s11@member.fsf.org>
2798
2799 [BZ #6649]
2800 * manual/llio.texi (Opening and Closing Files): Add cross
2801 reference to explain mode argument.
2802
1e4920e0
MF
28032012-04-07 Mike Frysinger <vapier@gentoo.org>
2804
2805 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2806 * sysdeps/x86_64/memset_chk.S: Likewise.
2807
5ed848f3
DM
28082012-04-07 David S. Miller <davem@davemloft.net>
2809
2810 * elf/elf.h (R_SPARC_WDISP10): Define.
2811 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2812 R_SPARC_SIZE32.
2813 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2814 R_SPARC_SIZE64 and R_SPARC_H34.
2815
96154cd8
CD
28162012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2817
2818 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2819 conditions and remove no longer applicable assertion.
2820
9904dc47
L
28212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * bits/byteswap.h: Include <features.h>.
2824 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2825 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2826
f8887d0a
L
28272012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2828
2829 * bits/byteswap.h (__bswap_16): Removed.
2830 Include <bits/byteswap-16.h> to get __bswap_16.
2831 * sysdeps/i386/bits/byteswap.h: Likewise.
2832 * sysdeps/s390/bits/byteswap.h: Likewise.
2833 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2834 * bits/byteswap-16.h: New file.
2835 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2836 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2837 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2838 * string/Makefile (headers): Add bits/byteswap-16.h.
2839
62470f60
PP
28402012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2841
2842 [BZ #13895]
2843 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2844 extra indirection.
2845 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2846 * nss/tst-nss-static.c: New.
2847
4dad7bab
RM
28482012-04-06 Robert Millan <rmh@gnu.org>
2849
2850 [BZ #6486]
2851 * manual/llio.texi (File Position Primitive): lseek
2852 refers to WHENCE when it really means OFFSET.
2853
e9142a17
AJ
28542012-04-06 Andreas Jaeger <aj@suse.de>
2855
2c040eff
AJ
2856 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2857 strncmp declarations.
2858
e9142a17
AJ
2859 * abilist/libc.abilist: Add __poll and __ppoll.
2860
ff9f1c5f
DM
28612012-04-05 David S. Miller <davem@davemloft.net>
2862
dcd2ae90
DM
2863 * scripts/check-local-headers.sh: Accept a host triplet in the
2864 path matched by the exclude regexp.
2865
993eb054
DM
2866 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2867 definition.
2868 * sysdeps/powerpc/powerpc32/dl-machine.h
2869 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2870 * sysdeps/s390/s390-32/dl-machine.h
2871 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2872 * sysdeps/sparc/sparc32/dl-machine.h
2873 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2874 * sysdeps/sparc/sparc64/dl-machine.h
2875 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2876
ff9f1c5f
DM
2877 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2878 lazy binding.
48e2e132 2879 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2880 undefined symbol errors.
2881
48e2e132 2882 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2883 DT_NEEDED entries.
2884
e80d6f94
MM
28852012-04-05 Michael Matz <matz@suse.de>
2886
2887 [BZ #13592]
2888 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2889
349fa79f
AJ
28902012-04-05 Andreas Jaeger <aj@suse.de>
2891
2892 [BZ #13908]
2893 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2894 comment.
2895
f402708f
KK
28962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2897
2898 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2899 which ROUND is no valid rounding mode.
2900
2ecccfc9
KK
29012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2902
2903 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2904 read again.
2905 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2906
8a53f50f
KK
29072012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2908
2909 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2910 an exception using FPU order intentionally.
2911
29122012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2913
2914 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2915 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2916 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2917 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2918
d653abb7
SJ
29192012-04-05 Simon Josefsson <simon@josefsson.org>
2920
2921 [BZ #12340]
2922 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2923 EINVAL when BUFLEN is too smal.
2924
c3b1bf7d
TS
29252012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2926
2927 [BZ #13553]
2928 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2929 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2930
b1aa60f3
AJ
29312012-04-03 Andreas Jaeger <aj@suse.de>
2932
c3b1bf7d 2933 [BZ #13938]
67f60a26
AJ
2934 * manual/setjmp.texi (System V contexts): Fix sentence.
2935
b1aa60f3
AJ
2936 [BZ #13926]
2937 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2938 New macro for this case.
2939 [!__GNUC__] (__bswap_64): New inline function for this case.
2940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2941 * bits/byteswap.h: Likewise.
2942 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2943 ull, guard with __GLIBC_HAVE_LONG_LONG.
2944
2945 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2946 __GLIBC_HAVE_LONG_LONG.
2947
2948 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2949 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2950
39c59c35
TMQMF
29512012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2952
2953 [BZ #13691]
2954 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2955 inptr and inend, rather than using last_ch.
2956
135ffda8
DM
29572012-04-02 David S. Miller <davem@davemloft.net>
2958
2959 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2960 * stdio-common/printf-parse.h (read_int): Change return type to
2961 'int', return -1 on INT_MAX overflow.
2962 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2963 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2964 overflows INT_MAX. Check for overflow of in-format-string precision
2965 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2966 SIZE_MAX not INT_MAX for integer overflow test.
2967 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2968 skip the construct in the format string but do not record anything.
2969 * stdio-common/bug22.c: Adjust to test both width/prevision
2970 INT_MAX overflow as well as total length INT_MAX overflow. Check
2971 explicitly for proper errno values.
2972
228c019e
TS
29732012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2974
302cadd3
TS
2975 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2976 CHAR_MAX.
2977 * string/test-strcmp.c [! WIDE]: Likewise.
2978 * time/tst-mktime2.c: Likewise for INT_MAX.
2979 * string/test-string.h: #include <sys/param.h> for MIN.
2980
228c019e
TS
2981 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2982 * sysdeps/i386/init-first.c (init): Likewise.
2983 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2984 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2985 * sysdeps/sh/init-first.c (init): Likewise.
2986
cfa633f5
UD
29872012-04-01 Ulrich Drepper <drepper@gmail.com>
2988
2989 * po/ru.po: Update from translation team.
d1635ef8 2990 * po/vi.po: Likewise.
cfa633f5 2991
6cd0a5ea
SP
29922012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2993
2994 * resolv/nss_dns/dns-host.c: Merge copyright years.
2995
4b43400f
LD
29962012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2997
2998 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2999 Optimize memcpy with prefetch if
3000 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3001 src, dst pointers have unequal 16 byte alignments.
3002
48c41d04
SP
30032012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3004
3005 [BZ #13928]
3006 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3007 from a CNAME entry and return the minimum ttl for the query.
3008 (gaih_getanswer_slice): Likewise.
3009
b8dc394d
JL
30102012-03-30 Jeff Law <law@redhat.com>
3011
3012 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3013 due to long keys.
3014 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3015 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3016
2f5a5ed0
JL
3017 * resolv/nss_dns/dns-host.c: Update copyright year.
3018
1d39e359
UD
30192012-03-30 Ulrich Drepper <drepper@gmail.com>
3020
c030f70c 3021 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3022 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3023
1d39e359
UD
3024 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3025 comments for sendmmsg.
3026
30272012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3028
3029 [BZ #13691]
3030 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3031 with only 1 character between 0x0041 and 0x01b0.
3032 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3033 * wcsmbs/tst-mbsnrtowcs.c: New file.
3034
20fde227
DM
30352012-03-29 David S. Miller <davem@davemloft.net>
3036
3037 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3038 small copies by hand.
3039
984a4237
JL
30402012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3041
3042 [BZ #13761]
3043 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3044 _nss_compat_initgroups_dyn): Fall back to malloc/free
3045 for large group memberships.
3046
18c9d62b
DM
30472012-03-28 David S. Miller <davem@davemloft.net>
3048
88d85d4f
DM
3049 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3050 that branches into memcpy.
3051 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3052 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3053 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3054 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3056 bits.
3057 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3058 implementation too.
3059 * sysdeps/sparc/mempcpy.S: New file.
3060
e5aa83e1
DM
3061 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3062 the IFUNC routine in the libc case.
3063 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3064
88570753
DM
3065 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3066 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3067 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3068 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3069 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3070 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3071 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3072 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3073
249d7567
DM
3074 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3075 loop to 256 bytes instead of 64 bytes and fix test signedness.
3076
18c9d62b
DM
3077 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3078 * sysdeps/sparc/sparc32/Makefile: rather than here...
3079 * sysdeps/sparc/sparc64/Makefile: and here.
3080
05f3d1f6
UD
30812012-03-28 Ulrich Drepper <drepper@gmail.com>
3082
3083 * malloc/mallocbug.c: Avoid warnings about unused variables.
3084
86ae07a8
JL
30852012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3086
3087 [BZ #13760]
3088 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3089 in the right place. Discard and retry query if response is
3090 larger than input buffer size.
3091
41bf21a1
JM
30922012-03-28 Joseph Myers <joseph@codesourcery.com>
3093
d6270972
JM
3094 [BZ #369]
3095 [BZ #2678]
3096 [BZ #3866]
3097 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3098 x for large integer exponent.
3099 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3100 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3101 sign of result as needed afterwards.
3102 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3103 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3104 result for underflowing pow the same as for overflow.
3105 (__kernel_standard_l): Handle powl overflow and underflow here
3106 rather than calling __kernel_standard.
3107 * math/libm-test.inc (pow_test): Add more tests.
3108
414fca03 3109 [BZ #3868]
41bf21a1
JM
3110 [BZ #13879]
3111 [BZ #13910]
3112 [BZ #13911]
3113 [BZ #13912]
3114 [BZ #13913]
3115 [BZ #13915]
3116 [BZ #13916]
3117 [BZ #13917]
3118 [BZ #13918]
3119 [BZ #13919]
3120 [BZ #13920]
3121 [BZ #13921]
3122 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3123 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3124 (__kernel_standard_l): New function.
3125 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3126 __kernel_standard.
3127 * math/w_acosl.c (__acosl): Likewise.
3128 * math/w_asinl.c (__asinl): Likewise.
3129 * math/w_atan2l.c (__atan2l): Likewise.
3130 * math/w_atanhl.c (__atanhl): Likewise.
3131 * math/w_coshl.c (__coshl): Likewise.
3132 * math/w_exp10l.c (__exp10l): Likewise.
3133 * math/w_exp2l.c (__exp2l): Likewise.
3134 * math/w_fmodl.c (__fmodl): Likewise.
3135 * math/w_hypotl.c (__hypotl): Likewise.
3136 * math/w_j0l.c (__j0l, __y0l): Likewise.
3137 * math/w_j1l.c (__j1l, __y1l): Likewise.
3138 * math/w_jnl.c (__jnl, __ynl): Likewise.
3139 * math/w_lgammal.c (__lgammal): Likewise.
3140 * math/w_log10l.c (__log10l): Likewise.
3141 * math/w_log2l.c (__log2l): Likewise.
3142 * math/w_logl.c (__logl): Likewise.
3143 * math/w_powl.c (__powl): Likewise.
3144 * math/w_remainderl.c (__remainderl): Likewise.
3145 * math/w_scalbl.c (sysv_scalbl): Likewise.
3146 * math/w_sinhl.c (__sinhl): Likewise.
3147 * math/w_sqrtl.c (__sqrtl): Likewise.
3148 * math/w_tgammal.c (__tgammal): Likewise.
3149 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3150 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3151 * math/libm-test.inc (acos_test): Add more tests.
3152 (acosh_test): Likewise.
3153 (asin_test): Likewise.
3154 (atanh_test): Likewise.
3155 (exp_test): Likewise.
3156 (exp10_test): Likewise.
3157 (exp2_test): Likewise.
3158 (expm1_test): Likewise.
3159 (lgamma_test): Likewise.
3160 (log_test): Likewise.
3161 (log10_test): Likewise.
3162 (log1p_test): Likewise.
3163 (log2_test): Likewise.
3164 (pow_test): Do not allow some spurious overflow exceptions.
3165 (sqrt_test): Add more tests.
3166 (tgamma_test): Likewise.
3167 (y0_test): Likewise.
3168 (y1_test): Likewise.
3169 (yn_test): Likewise.
3170
dd62fda6
AB
31712012-03-27 Anton Blanchard <anton@samba.org>
3172
3173 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3174 MAP_HUGETLB.
3175 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3176 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3177 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3178
1e3cdfda
AJ
31792012-03-27 David S. Miller <davem@davemloft.net>
3180
b855ab85
DM
3181 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3182
1e3cdfda
AJ
3183 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3184 have-as-vis3 check.
3185
31862012-03-27 Andreas Jaeger <aj@suse.de>
3187
3188 * sysdeps/x86_64/elf/configure.in: Moved to ...
3189 * sysdeps/x86_64/configure.in: ... here.
3190 * sysdeps/x86_64/elf/start.S: Moved to ...
3191 * sysdeps/x86_64/start.S: ... here.
3192 * sysdeps/x86_64/elf/configure: Delete.
3193
3194 * sysdeps/x86_64/configure.in: Merge contents from
3195 sysdeps/i386/configure.in (without i686 check).
3196
3197 * sysdeps/i386/elf/Versions: Merge into ...
3198 * sysdeps/i386/Versions: ... this.
3199 * sysdeps/i386/elf/Versions: Delete file.
3200 * sysdeps/i386/elf/start.S: Moved to ...
3201 * sysdeps/i386/start.S: ...here.
3202 * sysdeps/i386/elf/configure.in: Merge into...
3203 * sysdeps/i386/configure.in: ...here.
3204 * sysdeps/i386/elf/configure.in: Delete file.
3205 * sysdeps/i386/elf/configure: Delete file.
3206
3207 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3208 * debug/backtracesyms.c: ... here.
3209 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3210 * debug/backtracesymsfd.c: ... here.
3211 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3212 * sysdeps/generic/ifunc-sel.h: ... here.
3213
3214 * sysdeps/unix/i386/start.c: Delete file.
3215 * sysdeps/unix/sparc/start.c: Delete file.
3216 * sysdeps/unix/start.c: Delete file.
3217
3218 * sysdeps/sh/elf/configure.in: Moved to ...
3219 * sysdeps/sh/configure.in: ... here.
3220 * sysdeps/sh/elf/start.S: Moved to ...
3221 * sysdeps/sh/start.S: ... here.
3222 * sysdeps/sh/elf/configure: Delete file.
3223
3224 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3225 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3226 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3227 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3228 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3229 * sysdeps/powerpc/powerpc64/start.S: here.
3230 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3231 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3232 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3233 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3234 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3235
3236 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3237 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3238 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3239 * sysdeps/powerpc/powerpc32/start.S: ... here.
3240 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3241 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3242 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3243
3244 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3245 * sysdeps/powerpc/ifunc-sel.h: ... here.
3246 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3247 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3248
3249 * sysdeps/sparc/elf/configure.in: Moved to ...
3250 * sysdeps/sparc/configure.in: ... here.
3251 * sysdeps/sparc/elf/configure: Delete file.
3252 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3253 * sysdeps/sparc/sparc32/start.S: ... here.
3254 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3255 * sysdeps/sparc/sparc64/start.S: ... here.
3256 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3257 * sysdeps/sparc/sparc32/Makefile: ... this.
3258 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3259 * sysdeps/sparc/sparc64/Makefile: ... this.
3260
3261 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3262 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3263 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3264 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3265 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3266 * sysdeps/s390/s390-32/setjmp.S: ... here.
3267 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3268 * sysdeps/s390/s390-32/configure.in: ... here.
3269 * sysdeps/s390/s390-32/elf/configure: Delete file.
3270 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3271 * sysdeps/s390/s390-32/start.S: ... here.
3272
3273 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3274 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3275 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3276 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3277 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3278 * sysdeps/s390/s390-64/setjmp.S: ... here.
3279 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3280 * sysdeps/s390/s390-64/configure.in: ... here
3281 * sysdeps/s390/s390-64/elf/configure: Delete file.
3282 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3283 * sysdeps/s390/s390-64/start.S: ... here.
3284 * sysdeps/s390/s390-64/elf/configure: Delete.
3285
3286 * configure.in: Remove support for elf directories in sysdeps.
3287
3288 * configure: Regenerated.
3289 * sysdeps/i386/configure: Regenerated.
3290 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3291 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3292 * sysdeps/s390/s390-32/configure: Regenerated.
3293 * sysdeps/s390/s390-64/configure: Regenerated.
3294 * sysdeps/sh/configure: Regenerated.
3295 * sysdeps/sparc/configure: Regenerated.
3296 * sysdeps/x86_64/configure: Regenerated.
3297
a3f61311
AS
32982012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3299
c876e002
AS
3300 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3301
a3f61311
AS
3302 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3303 denormal result into account.
3304
ac4c54f0
RM
33052012-03-25 Roland McGrath <roland@hack.frob.com>
3306
3307 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3308 Reported by Allan McRae <allan@archlinux.org>.
3309
6a9b9c02
JL
33102012-03-23 Jeff Law <law@redhat.com>
3311
3312 * nss/getnssent.c (__nss_getent): Fix typo.
3313
4c42a0c1
DM
33142012-03-23 David S. Miller <davem@davemloft.net>
3315
3316 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3317
1532c7ac
L
33182012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3319
3320 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3321 to pad to uint64_t for each field.
3322 (dl_tls_index): Replace unsigned long with uint64_t.
3323
3ff42526
PP
33242012-03-23 Daniel Jacobowitz <dmj@google.com>
3325 Paul Pluzhnikov <ppluzhnikov@google.com>
3326
3327 [BZ #6528]
3328 * grp/Makefile (otherlibs): Don't set it.
3329 * inet/Makefile (otherlibs): Likewise.
3330 * login/Makefile (otherlibs): Likewise.
3331 * nscd/Makefile (otherlibs): Likewise.
3332 * posix/Makefile (otherlibs): Likewise.
3333 * pwd/Makefile (otherlibs): Likewise.
3334 * rt/Makefile (otherlibs): Likewise.
3335 * sunrpc/Makefile (otherlibs): Likewise.
3336 * nss/Makefile (otherlibs): Likewise.
3337 Add libnss_files to routines and static-only-routines.
3338 ($(objpfx)getent): Remove rule.
3339 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3340 static-only-routines.
3341
7c69cd14
JM
33422012-03-22 Joseph Myers <joseph@codesourcery.com>
3343
3344 [BZ #13892]
3345 * math/s_cexp.c: Include <float.h>.
3346 (__cexp): Handle exp result overflowing not necessarily
3347 overflowing both real and imaginary parts of result.
3348 * math/s_cexpf.c: Likewise.
3349 * math/s_cexpl.c: Likewise.
3350 * math/libm-test.inc (cexp_test): Add more tests.
3351 * sysdeps/i386/fpu/libm-test-ulps: Update.
3352 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3353
81b035fe
L
33542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * include/link.h (ELFW): New macro.
3357 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3358 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3359
1da7940c
L
33602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3361
3362 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3363 with uint64_t.
3364
b749dbb9
L
33652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3368 declaration.
3369 (struct La_x32_retval): Likewise.
3370
2ff87f3f
L
33712012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3372
3373 * sysdeps/x86_64/preconfigure.in: New file.
3374 * sysdeps/x86_64/preconfigure: New generated file.
3375
c0df8e69
JM
33762012-03-22 Joseph Myers <joseph@codesourcery.com>
3377
48e44791
JM
3378 [BZ #13824]
3379 * math/e_exp2l.c: Include <float.h>.
3380 (__ieee754_exp2l): Handle overflow and underflow cases
3381 separately. Only pass fractional part of argument to
3382 __ieee754_expl.
3383 * math/libm-test.inc (exp2_test): Add more tests.
3384
c0df8e69
JM
3385 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3386 negating x to take absolute value.
3387 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3388 Likewise.
3389 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3390 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3391 Likewise.
3392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3393 computing low part if x was negated.
3394 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3395
c8e43ba7
L
33962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3397
3398 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3399 la_x32_gnu_pltexit.
3400 (pltexit): Cast int_retval to ptrdiff_t.
3401 * elf/tst-auditmod3b.c: Likewise.
3402 * elf/tst-auditmod4b.c: Likewise.
3403 * elf/tst-auditmod5b.c: Likewise.
3404 * elf/tst-auditmod6b.c: Likewise.
3405 * elf/tst-auditmod6c.c: Likewise.
3406 * elf/tst-auditmod7b.c: Likewise.
3407
3408 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3409 and x32_gnu_pltexit.
3410
3411 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3412 __ELF_NATIVE_CLASS.
3413 (La_x32_regs): New macro.
3414 (La_x32_retval): Likewise.
3415 (la_x32_gnu_pltenter): New function prototype.
3416 (la_x32_gnu_pltexit): Likewise.
3417
7998fa78
AS
34182012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3419
dcb33988
AS
3420 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3421 exponent.
3422
233fc563
AS
3423 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3424
7998fa78
AS
3425 * configure.in (libc_cv_cc_nofma): Check for option to disable
3426 generation of FMA instructions.
3427 * configure: Regenerate.
3428 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3429 * sysdeps/ieee754/dbl-64/Makefile: New file.
3430 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3431 Remove brandred-fma4.
3432 (CFLAGS-brandred-fma4.c): Remove.
3433 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3434 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3435 define.
3436 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3437 define.
3438
8e95c99a
L
34392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3440
3441 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3442 LLONG_MAX != LONG_MAX.
3443 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3444 (_fitoa_word): Likewise.
3445 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3446 LLONG_MAX != LONG_MAX.
3447 * stdio-common/_itowa.h: Include <_itoa.h>.
3448 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3449 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3450 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3451 only if not defined.
3452 (_ITOA_WORD_TYPE): Likewise.
3453 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3454 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3455
6f4db457
DM
34562012-03-21 David S. Miller <davem@davemloft.net>
3457
3458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3459
7785fe5a
L
34602012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3463 of x86_64 when setting libc_cv_slibdir, libdir and
3464 libc_cv_localedir.
3465 * sysdeps/unix/sysv/linux/configure: Regenerated.
3466
4535cd55
JM
34672012-03-21 Joseph Myers <joseph@codesourcery.com>
3468
3469 * manual/lang.texi (Old Varargs): Remove section.
3470 (How Variadic): Update menu.
3471 (va_start): Do not mention varargs.h.
3472
17228132
TS
34732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3474 Joseph Myers <joseph@codesourcery.com>
3475
3476 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3477 link test.
3478 * configure: Regenerated.
3479
8149f976
TS
34802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3481
05f3d1f6
UD
3482 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3483 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3484 conformtest.pl
8149f976 3485
1a4ac776
JM
34862012-03-21 Joseph Myers <joseph@codesourcery.com>
3487
be22ce65
JM
3488 * NOTES: Remove.
3489 * Makefile (files-for-dist): Remove NOTES.
3490 (NOTES): Remove rule.
3491 * README: Don't refer to NOTES.
3492 * manual/creature.texi: Don't include macros.texi.
3493 * manual/intro.texi (creature.texi): Remove comment referring to
3494 NOTES.
3495
40b601fb
JM
3496 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3497 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3498 * configure: Regenerated.
3499 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3500 LIBC_TRY_CC_OPTION.
3501 (libc_cv_as_i686): Likewise.
3502 (libc_cv_cc_avx): Likewise.
3503 (libc_cv_cc_sse2avx): Likewise.
3504 (libc_cv_cc_fma4): Likewise.
3505 (libc_cv_cc_novzeroupper): Likewise.
3506 * sysdeps/i386/configure: Regenerated.
3507
1a4ac776
JM
3508 [BZ #13883]
3509 * sysdeps/i386/fpu/s_cexp.S: Remove.
3510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3511 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3512 * math/libm-test.inc (cexp_test): Add more tests.
3513 * sysdeps/i386/fpu/libm-test-ulps: Update.
3514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3515
a458e7fe
AM
35162012-03-21 Allan McRae <allan@archlinux.org>
3517
3518 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3519
0cb7efc5
JM
35202012-03-21 Joseph Myers <joseph@codesourcery.com>
3521
3522 [BZ #13871]
3523 * math/w_exp2.c: Do not include <float.h>.
3524 (o_threshold, u_threshold): Remove.
3525 (__exp2): Calculate result before checking finiteness and calling
3526 __kernel_standard.
3527 * math/w_exp2f.c: Likewise.
3528 * math/w_exp2l.c: Likewise.
3529 * math/libm-test.inc (exp2_test): Require overflow exception for
3530 1e6 input.
2460d3aa
JM
3531
3532 [BZ #3866]
3533 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3534 range of signed 64-bit integers before using fistpll. Remove
3535 checks for whether integers fit in mantissa bits.
3536 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3537 the range of signed 32-bit integers before using fistpl. Remove
3538 checks for whether integers fit in mantissa bits.
3539 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3540 (__ieee754_powl): Test for y outside the range of signed 64-bit
3541 integers before using fistpll. Reduce 64-bit values to 63-bit
3542 ones as needed.
3543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3544 divide-by-zero is raised for zero to large negative powers.
3545 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3546 (__ieee754_powl): Test for y outside the range of signed 64-bit
3547 integers before using fistpll. Reduce 64-bit values to 63-bit
3548 ones as needed.
3549 * math/libm-test.inc (pow_test): Add more tests.
3550
eb96ffb0
L
35512012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3552
3553 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3554 <stdio-common/_itoa.h>.
3555 * debug/segfault.c: Likewise.
3556 * elf/dl-cache.c: Likewise.
3557 * elf/dl-minimal.c: Likewise.
3558 * elf/dl-misc.c: Likewise.
3559 * elf/dl-sysdep.c: Likewise.
3560 * elf/dl-version.c: Likewise.
3561 * elf/rtld.c: Likewise.
3562 * hurd/hurdsock.c: Likewise.
3563 * hurd/lookup-retry.c: Likewise.
3564 * malloc/malloc.c: Likewise.
3565 * malloc/mtrace.c: Likewise.
3566 * nscd/nscd_getgr_r.c: Likewise.
3567 * nscd/nscd_getpw_r.c: Likewise.
3568 * nscd/nscd_getserv_r.c: Likewise.
3569 * posix/getopt_init.c: Likewise.
3570 * posix/wordexp.c: Likewise.
3571 * stdio-common/_itoa.c: Likewise.
3572 * stdio-common/printf_fphex.c: Likewise.
3573 * stdio-common/vfprintf.c: Likewise.
3574 * string/_strerror.c: Likewise.
3575 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3576 * sysdeps/i386/i686/hp-timing.h: Likewise.
3577 * sysdeps/mach/_strerror.c: Likewise.
3578 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3579 * sysdeps/mach/hurd/sethostid.c: Likewise.
3580 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3581 * sysdeps/mach/xpg-strerror.c: Likewise.
3582 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3583 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3584 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3585 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3586 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3587 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3588 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3589 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3590 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3591 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3592 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3593 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3594 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3595 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3596 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3597 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3598 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3600 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3601 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3602 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3603
3604 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3605
3606 * stdio-common/_itoa.h: Moved to ...
3607 * sysdeps/generic/_itoa.h: Here.
3608
3609 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3610
3611 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3612 instead of "_itoa.h" and "_itowa.h".
3613 * stdio-common/vfprintf.: Likewise.
3614
d1af992d
L
36152012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3616
3617 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3618 <bits/wordsize.h>.
3619 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3620 (__signbit): Likwise.
3621 (llrintf): Likwise.
3622 (llrint): Likwise.
3623
114883e0
L
36242012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3625
3626 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3627 __WORDSIZE != 64.
3628
c135cc1b
JM
36292012-03-20 Joseph Myers <joseph@codesourcery.com>
3630
3631 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3632 OVERFLOW_EXCEPTION_OK.
3633 * math/libm-test.inc ("Philosophy"): Update comment about
3634 exception testing.
3635 (OVERFLOW_EXCEPTION): Define.
3636 (OVERFLOW_EXCEPTION_OK): Likewise.
3637 (INVALID_EXCEPTION_OK): Renumber.
3638 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3639 (IGNORE_ZERO_INF_SIGN): Likewise.
3640 (test_exceptions): Handle FE_OVERFLOW.
3641 (exp10_test): Expect overflow exceptions.
3642 (exp2_test): Likewise.
3643 (expm1_test): Likewise.
3644 (nextafter_test): Likewise.
3645 (pow_test): Likewise.
3646 (scalbn_test): Likewise.
3647 (scalbln_test): Likewise.
3648
95443d88
L
36492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3650
3651 * sysdeps/x86_64/bits/atomic.h
3652 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3653 64bit integer.
3654 (atomic_exchange_acq): Likewise.
3655 (__arch_exchange_and_add_body): Likewise.
3656 (__arch_add_body): Likewise.
3657 (atomic_add_negative): Likewise.
3658 (atomic_add_zero): Likewise.
3659
490df6c4
L
36602012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3661
c2722551 3662 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3663 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3664
5e52b189
L
36652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3666
3667 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3668 Check __x86_64__ instead of __WORDSIZE.
3669
a9879d4c
L
36702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3671
3672 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3673
5df98260
DM
36742012-03-19 David S. Miller <davem@davemloft.net>
3675
e1497744
DM
3676 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3677
5df98260
DM
3678 * sysdeps/sparc/fpu/fenv_private.h: New file.
3679 * sysdeps/sparc/fpu/math_private.h: Use it.
3680 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3681 Remove.
3682 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3683 (libc_feholdexcept_setroundl): Remove.
3684 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3685 Remove.
3686 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3687 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3688
b4c35121
L
36892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3692 int64_t instead of long int.
3693 (INSERT_WORDS64): Likwise.
3694
56965fd7
L
36952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3696
3697 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3698 _Unwind_GetCFA return to _Unwind_Ptr first.
3699
83d1aec8
JM
37002012-03-19 Joseph Myers <joseph@codesourcery.com>
3701
1897ad44
JM
3702 [BZ #13629]
3703 * math/s_clog.c: Include <float.h>.
3704 (__clog): Scale large or subnormal inputs.
3705 * math/s_clogf.c: Likewise.
3706 * math/s_clogl.c: Likewise.
3707 * math/s_clog10.c: Include <float.h>.
3708 (M_LOG10_2): Define.
3709 (__clog10): Scale large or subnormal inputs.
3710 * math/s_clog10f.c: Likewise.
3711 * math/s_clog10l.c: Likewise.
3712 * math/libm-test.inc (clog_test): Add more tests.
3713 (clog10_test): Likewise.
3714 * sysdeps/i386/fpu/libm-test-ulps: Update.
3715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3716
7726d6a9
JM
3717 [BZ #11451]
3718 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3719 x and y.
3720 * math/libm-test.inc (atan2_test): Add another test.
3721
83d1aec8
JM
3722 * Makerules (common-objdir-compile): Remove.
3723 * sysdeps/unix/Makefile (config-generated): Do not add
3724 $(unix-generated) to variable.
3725 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3726 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3727 Remove rule.
3728 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3729 Likewise.
3730 [generic bits/local_lim.h] (before-compile): Do not append to
3731 variable.
3732 [generic bits/local_lim.h] (common-generated): Likewise.
3733 [generic sys/param.h] (before-compile): Do not append to variable.
3734 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3735 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3736 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3737 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3738 include.
3739 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3740 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3741 [generic sys/param.h] ($(addprefix
3742 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3743 [generic sys/param.h] (common-generated): Do not append to
3744 variable.
3745 [generic sys/param.h] (sysdep_headers): Likewise.
3746 [generic bits/errno.h] (before-compile): Do not append to
3747 variable.
3748 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3749 rule.
3750 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3751 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3752 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3753 [generic bits/errno.h] (common-generated): Do not append to
3754 variable.
3755 [generic bits/ioctls.h] (before-compile): Do not append to
3756 variable.
3757 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3758 rule.
3759 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3760 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3761 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3762 rule.
3763 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3764 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3765 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3766 [generic bits/ioctls.h] (common-generated): Do not append to
3767 variable.
3768 [generic sys/syscall.h] (syscall.h): Remove variable.
3769 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3770 rule.
3771 [generic sys/syscall.h] (before-compile): Do not append to
3772 variable.
3773 [generic sys/syscall.h] (common-generated): Likewise.
3774 * sysdeps/unix/errnos-tmpl.c: Remove file.
3775 * sysdeps/unix/errnos.awk: Likewise.
3776 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3777 * sysdeps/unix/ioctls.awk: Likewise.
3778 * sysdeps/unix/mk-local_lim.c: Likewise.
3779 * sysdeps/unix/snarf-ioctls: Likewise.
3780
4851a949
RH
37812012-03-19 Richard Henderson <rth@twiddle.net>
3782
bd37f2ee
RH
3783 * sysdeps/i386/fpu/fenv_private.h: New file.
3784 * sysdeps/i386/fpu/math_private.h: Use it.
3785 (math_opt_barrier, math_force_eval): Remove.
3786 (libc_feholdexcept_setround_53bit): Remove.
3787 (libc_feupdateenv_53bit): Remove.
3788 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3789 (math_opt_barrier, math_force_eval): Remove.
3790 (libc_feholdexcept): Remove.
3791 (libc_feholdexcept_setround): Remove.
3792 (libc_fetestexcept, libc_fesetenv): Remove.
3793 (libc_feupdateenv_test): Remove.
3794 (libc_feupdateenv, libc_feholdsetround): Remove.
3795 (libc_feresetround): Remove.
3796
d0adc922
RH
3797 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3798 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3799
0fe0f1f8
RH
3800 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3801 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3802 (libc_feupdateenv_testl): New.
3803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3804 (libc_feupdateenv_testf): New.
3805 (libc_feupdateenv): Use libc_feupdateenv_test.
3806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3807 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3808
eb92c487
RH
3809 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3810 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3811 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3812 (libc_feresetround_noex): New.
3813 (libc_feresetround_noexf): New.
3814 (libc_feresetround_noexl): New.
3815 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3816 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3817 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3818 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3819 SET_RESTORE_ROUND.
3820 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3821 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3822 (__cos): Likewise.
3823 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3824 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3825 SET_RESTORE_ROUND_NOEX.
3826 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3827 SET_RESTORE_ROUND_NOEXF.
3828 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3829 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3830 (libc_feholdsetroundf): New.
3831 (libc_feresetround, libc_feresetroundf): New.
3832
7d2e8012
RH
3833 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3834 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3835 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3836
b4dabbb4
RH
3837 * sysdeps/generic/math_private.h: Include <fenv.h>.
3838 (default_libc_feholdexcept): New.
3839 (default_libc_feholdexcept_setround): New.
3840 (default_libc_fesetenv, default_libc_feupdateenv): New.
3841 (libc_feholdexcept): Only define if undefined.
3842 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3843 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3844 (libc_feholdexcept_setroundl): Likewise.
3845 (libc_feholdexcept_setround_53bit): Likewise.
3846 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3847 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3848 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3849 (libc_feupdateenv_53bit): Likewise.
3850 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3851 (libc_feholdexcept): Convert from macro to inline function.
3852 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3853 (libc_fesetenv, libc_feupdateenv): Likewise.
3854
4851a949
RH
3855 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3856 not previously defined.
3857 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3858 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3859 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3860 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3861 * sysdeps/ieee754/flt-32/math_private.h: New file.
3862 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3863 math_private.h below SET_FLOAT_WORD.
3864 (__isnan, __isinf_ns, __finite): Remove.
3865 (__isnanf, __isinf_nsf, __finitef): Remove.
3866
e79d442e
AS
38672012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3868
3869 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3870
90b80344
DM
38712012-03-17 David S. Miller <davem@davemloft.net>
3872
3873 [BZ #6471]
3874 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3875 for 2.16.
3876
edc21804
DM
38772012-03-16 David S. Miller <davem@davemloft.net>
3878
77e927af
DM
3879 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3880 warnings.
3881
374976dd
DM
3882 [BZ #6471]
3883 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3884 properly.
3885 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3886 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3887 sysdep_routines when subdir is sysvipc.
3888 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3889 __getshmlba helper.
3890
edc21804
DM
3891 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3892
473c3ef3
L
38932012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3894
3895 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3896 [__LP64__].
3897
eb0f39b6
L
38982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3899
3900 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3901 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3902 (__lround): Renamed to ...
3903 (__llround): This. Replace long int with long long int.
3904 Define lround functions as aliases of llround functions.
3905 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3906
6b6cd74b
L
39072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3908
3909 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3910 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3911 adresses to uintptr_t. Replace "long int" and "unsigned long
3912 int" with "greg_t" on va_arg.
3913
f1a77b01
L
39142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3915
3916 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3917 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3918
3919 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3920 Move e_machine check before EI_CLASS check. Handle x32
3921 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3922 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3923 SKIP_EM_IA_64 and include
3924 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3925
3926 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3927 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3928 (add_system_dir): New macro.
3929
3930 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3931 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3932
11b90b9f
JM
39332012-03-16 Joseph Myers <joseph@codesourcery.com>
3934
c36e1d23
JM
3935 [BZ #2551]
3936 [BZ #2552]
3937 [BZ #2553]
3938 [BZ #2554]
3939 [BZ #2562]
3940 [BZ #2563]
3941 [BZ #2565]
3942 [BZ #2566]
3943 [BZ #2576]
3944 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3945 (y0): Likewise.
3946 * math/w_j0f.c (j0f): Likewise.
3947 (y0f): Likewise.
3948 * math/w_j0l.c (__j0l): Likewise.
3949 (__y0l): Likewise.
3950 * math/w_j1.c (j1): Likewise.
3951 (y1): Likewise.
3952 * math/w_j1f.c (j1f): Likewise.
3953 (y1f): Likewise.
3954 * math/w_j1l.c (__j1l): Likewise.
3955 (__y1l): Likewise.
3956 * math/w_jn.c (jn): Likewise.
3957 (yn): Likewise.
3958 * math/w_jnf.c (jnf): Likewise.
3959 (ynf): Likewise.
3960 * math/w_jnl.c (__jnl): Likewise.
3961 (__ynl): Likewise.
3962 * math/libm-test.inc (j0_test): Add more tests.
3963 (j1_test): Likewise.
3964 (jn_test): Likewise. Add trailing semicolon to existing test.
3965 (y0_test): Likewise.
3966 (y1_test): Likewise.
3967 * sysdeps/i386/fpu/libm-test-ulps: Update.
3968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3969
11b90b9f
JM
3970 [BZ #13851]
3971 [BZ #13854]
3972 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3973 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3974 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3975 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3976 (__tanl): Set errno for infinite argument.
3977 * sysdeps/i386/fpu/mptan.c: Remove.
3978 * sysdeps/i386/fpu/s_tan.S: Likewise.
3979 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3980 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3981 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3982 * math/libm-test.inc (tan_test): Add more tests and enable more
3983 tests for double and long double.
3984 * sysdeps/i386/fpu/libm-test-ulps: Update.
3985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3986
6a1bd2a1
JK
39872012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3988
3989 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3990 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3991
10a803e0
RM
39922012-03-16 Roland McGrath <roland@hack.frob.com>
3993
3994 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3995 * configure.in: Use it for both main tree and add-ons.
3996 * configure: Regenerated.
3997
f196c7f7
L
39982012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3999
4000 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4001
8848d99d
JM
40022012-03-16 Joseph Myers <joseph@codesourcery.com>
4003
96cbe7f4
JM
4004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4005 in comment.
4006
8848d99d
JM
4007 [BZ #13851]
4008 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4009 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4010 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4011 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4012 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4013 infinite argument.
4014 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4015 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4016 != 0 for prec == 2.
4017 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4018 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4019 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4020 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4021 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4022 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4023 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4024 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4025 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4026 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4027 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4028 * math/libm-test.inc (cos_test): Add more tests and enable more
4029 tests for long double.
4030 (sin_test): Likewise.
4031 (sincos_test): Likewise.
4032 * sysdeps/i386/fpu/libm-test-ulps: Update.
4033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4034
dd7f4703
DM
40352012-03-16 David S. Miller <davem@davemloft.net>
4036
4037 * sysdeps/sparc/fpu/math_private.h: New file.
4038
006f1daa
DM
40392012-03-15 David S. Miller <davem@davemloft.net>
4040
c0c83bc8
DM
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4042 file.
e6a62e18 4043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4045 file.
e6a62e18
DM
4046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4052 sysdep routines.
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4054
88cb87d9
DM
4055 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4056 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4057
006f1daa 4058 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4060 sparc-ifunc.h
006f1daa 4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4063 Likewise.
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4065 Likewise.
006f1daa
DM
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4070 Likewise.
006f1daa
DM
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4076 Likewise.
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4078 Likewise.
006f1daa
DM
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4087 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4089 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4090 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4091 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4092 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4093 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4094 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4095 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4097 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4098 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4100 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4101 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4102 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4103
11e0098e
AS
41042012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4105
4106 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4107 scaling.
4108 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4109
e85b09d0
AJ
41102012-03-15 Andreas Jaeger <aj@suse.de>
4111
4112 [BZ #13852]
4113 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4114 ieee754/flt-32 implementation for sin, cos and sincos.
4115 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4116 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4117 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4118 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4119 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4120 ieee754/flt-32 implementation for tan.
4121
4122 * math/libm-test.inc (cos_test): Enable some large input tests for
4123 float as well
4124 (sin_test): Likewise.
4125 (sincos_test): Likewise.
4126 (tan_test): Add tests for large input.
4127
4128 * sysdeps/i386/fpu/libm-test-ulps: Update.
4129
81c64153
AJ
41302012-03-15 Andreas Jaeger <aj@suse.de>
4131
4132 [BZ #13658]
4133 * math/libm-test.inc (cos_test): Add more test cases.
4134 (sin_test): Likewise.
4135 (sincos_test): Likewise.
4136
7bbfa5c6
AJ
41372012-03-15 Andreas Jaeger <aj@suse.de>
4138
4139 [BZ #13837]
4140 * math/libm-test.inc (cos_test): Add a test case for large input
4141 value.
4142 (sin_test): Likewise.
4143 (sincos_test): Likewise.
4144
41452012-03-15 Andreas Jaeger <aj@suse.de>,
4146 Joseph Myers <joseph@codesourcery.com>
4147
4148 [BZ #13658]
0671f479 4149 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4150 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4151 * sysdeps/i386/fpu/branred.c: Likewise.
4152 * sysdeps/i386/fpu/dosincos.c: Likewise.
4153 * sysdeps/i386/fpu/mpa.c: Likewise.
4154 * sysdeps/i386/fpu/s_cos.S: Likewise.
4155 * sysdeps/i386/fpu/s_sin.S: Likewise.
4156 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4157 * sysdeps/i386/fpu/sincos32.c: Likewise.
4158
4159 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4160 Define.
4161 (libc_feupdateenv_53bit): Define.
4162 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4163 Define.
4164 (libc_feupdateenv_53bit): Define.
4165
4166 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4167 53 bit (without extend i386 double precision).
4168
4169 * math/libm-test.inc (sincos_test): Add tests for large input.
4170 (sin): Likewise.
4171 (cos): Likewise.
4172
4173 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4174
9cad04ea
AS
41752012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4176
4177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4178
f7062b9a
DM
41792012-03-15 David S. Miller <davem@davemloft.net>
4180
4181 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4182 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4185 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4186 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4191 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4193 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4194 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4197 file.
f7062b9a 4198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4200 file.
f7062b9a 4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4203 file.
f7062b9a 4204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4206 file.
f7062b9a
DM
4207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4209 fmin/fmax sysdep routines.
4210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4211
7bd951ff
DM
42122012-03-14 David S. Miller <davem@davemloft.net>
4213
559398ab
DM
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4242 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4243 routines.
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4245 file.
559398ab 4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4248 file.
559398ab 4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4251 file.
559398ab 4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4254 file.
559398ab 4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4257 file.
559398ab 4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4260 file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4262 file.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4264 file.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4266 file.
4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4268 New file.
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4270 file.
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4272 file.
559398ab 4273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4275 file.
559398ab 4276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4278 file.
559398ab 4279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4281 file.
559398ab 4282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4284 VIS3 routines.
559398ab
DM
4285
4286 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4287 New file.
4288
5a1c1e32
DM
4289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4290
eae47a36
DM
4291 * sysdeps/sparc/configure.in: New file.
4292 * sysdeps/sparc/configure: Generate.
4293 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4294 * configure: Regenerate.
4295 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4296 * config.make.in (have-as-vis3): New.
4297 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4298 available use -Av9d instead of -Av9a.
4299 * sysdeps/sparc/sparc64/Makefile: Likewise.
4300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4302 New file.
4303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4304 file.
4305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4306 New file.
4307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4308 file.
eae47a36
DM
4309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4314
c0c83bc8
DM
4315 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4316 fzeros/fnegs to load 0x80000000 into a float register instead of
4317 using the stack.
7bd951ff
DM
4318 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4319
bd951ccb
JM
43202012-03-14 Joseph Myers <joseph@codesourcery.com>
4321
4322 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4323 bits/syscall.h.
4324 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4325 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4326 ($(inst_includedir)/bits/syscall.h): Remove rule.
4327 ($(objpfx)bits/syscall.d): Include instead of
4328 $(objpfx)syscall-list.d.
4329 (generated): Change syscall-list.h and syscall-list.d to
4330 bits/syscall.h and bits/syscall.d.
4331
bb4e6db2
RM
43322012-03-14 Roland McGrath <roland@hack.frob.com>
4333
4334 [BZ #13846]
4335 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4336
aa4a2ae1
JM
43372012-03-14 Joseph Myers <joseph@codesourcery.com>
4338
e456826d
JM
4339 [BZ #13841]
4340 * math/s_csqrt.c: Include <float.h>.
4341 (__csqrt): Scale large or subnormal inputs.
4342 * math/s_csqrtf.c: Likewise.
4343 * math/s_csqrtl.c: Likewise.
4344 * math/libm-test.inc (csqrt_test): Add more tests.
4345 * sysdeps/i386/fpu/libm-test-ulps: Update.
4346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4347
aa4a2ae1
JM
4348 [BZ #13840]
4349 * math/libm-test.inc (hypot_test): Add more tests.
4350
7c10fd35
DM
43512012-03-13 David S. Miller <davem@davemloft.net>
4352
4353 [BZ #13840]
4354 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4355 double-precision for the calculation instead of scaling.
4356
f453b98b
JM
43572012-03-13 Joseph Myers <joseph@codesourcery.com>
4358
4359 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4360 manipulate bits before adding and subtracting TWO52[sx].
4361 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4362 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4363 Likewise.
4364 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4365
09a3453f
DM
43662012-03-13 David S. Miller <davem@davemloft.net>
4367
8e59da90
DM
4368 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4369 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4370 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4371 rtld-global-offsets.h
4372 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4373
2a8ab7f2
DM
4374 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4375 large parameters.
4376
10f62770
DM
4377 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4378
5f0bdb18
DM
4379 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4380 'err' in the ifdef scope in which it is actually used.
4381
09a3453f
DM
4382 * nss/nss_db/db-init.c: Include string.h
4383
b4b2eb5e
DM
43842012-03-12 David S. Miller <davem@davemloft.net>
4385
98bb2f1c
DM
4386 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4387 masking out of the most significant byte of random value used.
4388 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4389 Fix coding style in previous change.
4390
b4b2eb5e
DM
4391 * sysdeps/unix/sysv/linux/kernel-features.h
4392 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4393 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4394 expression.
4395 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4396 later.
4397
6e226b09
DM
43982012-03-11 David S. Miller <davem@davemloft.net>
4399
a1bcbd40
DM
4400 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4401 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4402 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4403 for 'resultvar' otherwise things get truncated on 64-bit.
4404
cb9d6174
DM
4405 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4406 Fix masking out of the most significant byte of random value used.
4407
6e226b09
DM
4408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4409
058c132d
AS
44102012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4411
4412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4413
2d2cd515
DM
44142012-03-09 David S. Miller <davem@davemloft.net>
4415
4416 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4417 variables with appropriate CPP guards.
4418 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4419 frame pointer, not the stack pointer. Correct layout comments. Fix test
4420 on resulting framesize and the management of the outregs buffer for pltexit.
4421 Preserve floating point return values across _dl_call_pltexit call.
4422 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4423 framesize and the management of the outregs buffer for pltexit.
4424 Preserve floating point return values across _dl_call_pltexit
4425 call.
4426 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4427 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4428 (print_exit): Fix format string for return register value.
4429
9a07f9d0
JM
44302012-03-10 Joseph Myers <joseph@codesourcery.com>
4431
4432 * sunrpc/Makefile (others): Add rpcgen.
4433 ($(objpfx)rpcgen): Remove special build rule and dependency on
4434 libc.
4435 * sunrpc/rpcgen.c: New file.
4436
547b5e30
PE
44372012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4438
c524201a
PE
4439 [BZ #13673]
4440 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4441 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4442 * sysdeps/i386/crti.S: Likewise.
4443 * sysdeps/i386/crtn.S: Likewise.
4444 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4445 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4446 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4447 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4448 * sysdeps/sh/crti.S: Likewise.
4449 * sysdeps/sh/crtn.S: Likewise.
4450 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4451
7b6235f2
PE
4452 [BZ #13673]
4453 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4454 with URL.
4455 * locale/programs/locfile-kw.gperf: Likewise.
4456 * locale/programs/charmap-kw.h: Regenerated.
4457 * locale/programs/locfile-kw.h: Likewise.
4458
547b5e30
PE
4459 [BZ #13673]
4460 * intl/plural.y: Replace FSF snail mail address with URL.
4461 * intl/plural.c: Regenerated.
4462
5f0a5dae
RH
44632012-03-09 Richard Henderson <rth@twiddle.net>
4464
4465 * include/math_private.h: Remove file.
4466 * math/math_private.h: Move file ...
4467 * sysdeps/generic/math_private.h: ... here.
4468
b8c03620
RH
4469 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4470 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4471 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4472
4e234f5d 4473 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4474 and <math_private.h>.
4475 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4476 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4477 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4478 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4479 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4563 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4564 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4565 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4566 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4567 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4568 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4569 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4570 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4571 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4572 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4573 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4574 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4575 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4577 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4580 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4585 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4586 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4593 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4594 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4595 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4596 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4597 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4598 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4607 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4608 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4609 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4610 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4611 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4612 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4613 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4614 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4615 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4616 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4617 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4618 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4619 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4621 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4622 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4623 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4624 * sysdeps/ieee754/k_standard.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4744 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4745 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4747 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4785 * sysdeps/ieee754/s_lib_version.c: Likewise.
4786 * sysdeps/ieee754/s_matherr.c: Likewise.
4787 * sysdeps/ieee754/s_signgam.c: Likewise.
4788 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4789 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4790 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4791 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4792 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4793 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4794 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4795 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4796 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4797 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4798 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4799 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4800 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4801 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4802 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4803 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4804 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4805 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4806 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4807 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4808 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4809
1991fa03
JM
48102012-03-09 Joseph Myers <joseph@codesourcery.com>
4811
4812 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4813 * sunrpc/rpc_main.c: Likewise.
4814 * sunrpc/rpc_svcout.c: Likewise.
4815
60d6f5a6
DM
48162012-03-09 David S. Miller <davem@davemloft.net>
4817
4818 * include/math_private.h: New file.
4819
4962050e
JM
48202012-03-09 Joseph Myers <joseph@codesourcery.com>
4821
02a6f887
JM
4822 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4823 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4824 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4825 from <bits/socket_type.h>.
4826 (enum __socket_type): Don't define here.
4827 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4828 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4829 bits/socket_type.h.
4830
c6e013c1
JM
4831 [BZ #13566]
4832 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4833 checking __USE_GNU.
4834
4962050e
JM
4835 * Makerules ($(inst_includedir)/%.h): New rule.
4836 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4837 (install-others): Remove variable setting.
4838 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4839
38842f45
RH
48402012-03-08 Richard Henderson <rth@twiddle.net>
4841
67bb6da6
RH
4842 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4843 from macro to inline function; merge with the
4844 !__LIBC_INTERNAL_MATH_INLINES version.
4845 (__ieee754_sqrtf): Likewise.
4846
15194b4b
RH
4847 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4848 to inline function.
4849 (__rintf, __floor, __floorf): Likewise.
4850
64e21ede
RH
4851 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4852 macro to inline function.
4853 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4854
38842f45
RH
4855 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4856 not <math/math_private.h>.
4857
c64bf5fe
DM
48582012-03-08 David S. Miller <davem@davemloft.net>
4859
4860 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4861 copyright year.
4862 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4863
82d86f28
TS
48642012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4865
4866 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4867 normalization.
4868 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4869 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4870
aea5d727
UD
48712012-03-08 Ulrich Drepper <drepper@gmail.com>
4872
4873 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4874 be defined individually, they must be defined as a block. Define
4875 S for printing a string instead of hidint the different by using a
4876 macro for adding the 'l'.
4877 * stdio-common/tst-fphex-wide.c: Adjust.
4878
70bca0a3
MP
48792012-03-07 Marek Polacek <polacek@redhat.com>
4880
4881 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4882
65b81130
MP
48832012-03-08 Marek Polacek <polacek@redhat.com>
4884
4885 [BZ #13806]
4886 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4887 * stdio-common/tst-fphex.c: Define a few macros to make the
4888 test reusable. Use them.
4889 * stdio-common/tst-fphex-wide.c: New file.
4890
07037eeb
JM
48912012-03-08 Joseph Myers <joseph@codesourcery.com>
4892
a7a93d50
JM
4893 [BZ #6911]
4894 * manual/macros.texi (gnusystems): New macro.
4895 (nongnusystems): Likewise.
4896 (gnulinuxhurdsystems): Likewise.
4897 (gnuhurdsystems): Likewise..
4898 (gnulinuxsystems): Likewise.
4899 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4900 variants of the GNU system, not "GNU system".
4901 * manual/conf.texi: Likewise.
4902 * manual/errno.texi: Likewise. Update example of errno macro
4903 expansion.
4904 * manual/filesys.texi: Likewise.
4905 (getumask): Document as specific to GNU/Hurd.
4906 * manual/install.texi: Likewise. Reword some references to
4907 GNU/Linux.
4908 * manual/intro.texi: Likewise.
4909 * manual/io.texi: Likewise.
4910 (File Name Portability): Detail which constraints are inapplicable
4911 to all GNU systems and which are only inapplicable to GNU/Hurd.
4912 * manual/job.texi: Likewise.
4913 * manual/llio.texi: Likewise.
4914 (O_NOCTTY): Document as present on GNU/Linux.
4915 * manual/maint.texi: Likewise.
4916 * manual/memory.texi: Likewise.
4917 * manual/pattern.texi: Likewise.
4918 * manual/pipe.texi: Likewise.
4919 * manual/process.texi: Likewise.
4920 * manual/resource.texi: Likewise.
4921 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4922 child on GNU/Hurd.
4923 * manual/setjmp.texi: Likewise.
4924 * manual/signal.texi: Likewise.
4925 * manual/startup.texi: Likewise.
4926 * manual/stdio.texi: Likewise.
4927 * manual/terminal.texi: Likewise.
4928 (ONLCR): Document as POSIX.
4929 (OXTABS): Document availability on GNU/Linux as XTABS.
4930 (ONOEOT): Document availability separately from other bits.
4931 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4932 * manual/time.texi: Likewise.
4933 * manual/users.texi: Likewise.
4934 * INSTALL: Regenerated.
4935 * sysdeps/gnu/errlist.c: Regenerated.
4936
07037eeb
JM
4937 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4938 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4939 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4940 puts.
4941 * configure: Regenerated.
4942
d1d3431a
JM
49432012-03-07 Joseph Myers <joseph@codesourcery.com>
4944
af6a1e37
JM
4945 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4946 default includes instead of AC_HEADER_CHECK.
4947 * sysdeps/i386/configure: Regenerated.
4948
d1d3431a
JM
4949 [BZ #10716]
4950 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4951 * math/s_cacoshf.c (__cacoshf): Likewise.
4952 * math/s_cacoshl.c (__cacoshl): Likewise.
4953 * math/s_casinh.c (__casinh): Set signs of result from argument.
4954 * math/s_casinhf.c (__casinhf): Likewise.
4955 * math/s_casinhl.c (__casinhl): Likewise.
4956 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4957 (casinh_test): Add more tests.
4958 * sysdeps/i386/fpu/libm-test-ulps: Update.
4959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4960
482ff4da
UD
49612012-03-07 Ulrich Drepper <drepper@gmail.com>
4962
872fda05
UD
4963 * po/zh_TW.po: Update from translation team.
4964
a4300c7a
UD
4965 * login/Makefile (distribute): Remove variable.
4966 * catgets/Makefile: Likewise.
4967 * mach/Makefile: Likewise.
4968 * malloc/Makefile: Likewise.
4969 * misc/Makefile: Likewise.
4970 * iconv/Makefile: Likewise.
4971 * nscd/Makefile: Likewise.
4972 * hurd/Makefile: Likewise.
4973 * manual/Makefile: Likewise.
4974 * locale/Makefile: Likewise.
4975 * intl/Makefile: Likewise.
4976 * conform/Makefile: Likewise.
4977 * nss/Makefile: Likewise.
4978 * time/Makefile: Likewise.
4979 * soft-fp/Makefile: Likewise.
4980 * dirent/Makefile: Likewise.
4981 * gmon/Makefile: Likewise.
4982 * po/Makefile: Likewise.
4983 * rt/Makefile: Likewise.
4984 * socket/Makefile: Likewise.
4985 * math/Makefile: Likewise.
4986 * signal/Makefile: Likewise.
4987 * debug/Makefile: Likewise.
4988 * elf/Makefile: Likewise.
4989 * timezone/Makefile: Likewise.
4990 * stdlib/Makefile: Likewise.
4991 * iconvdata/Makefile: Likewise.
4992 * sunrpc/Makefile: Likewise.
4993 * io/Makefile: Likewise.
4994 * argp/Makefile: Likewise.
4995 * inet/Makefile: Likewise.
4996 * hesiod/Makefile: Likewise.
4997 * grp/Makefile: Likewise.
4998 * csu/Makefile: Likewise.
4999 * wctype/Makefile: Likewise.
5000 * crypt/Makefile: Likewise.
5001 * libio/Makefile: Likewise.
5002 * string/Makefile: Likewise.
5003 * nis/Makefile: Likewise.
5004 * resolv/Makefile: Likewise.
5005 * stdio-common/Makefile: Likewise.
5006 * wcsmbs/Makefile: Likewise.
5007 * dlfcn/Makefile: Likewise.
5008 * posix/Makefile: Likewise.
5009
3b7c4e74 5010 [BZ #6959]
482ff4da
UD
5011 * timezone/Makefile: Don't install timezone files, just the programs
5012 and scripts.
5013
f72ed77d
UD
50142012-03-06 Ulrich Drepper <drepper@gmail.com>
5015
a000466f
UD
5016 * nss/databases.def: Add missing gshadow entry.
5017
f72ed77d
UD
5018 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5019
a53b7a4e
MP
50202012-03-06 Marek Polacek <polacek@redhat.com>
5021
5022 [BZ #13726]
5023 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5024 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5025 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5026 * stdio-common/tst-long-dbl-fphex.c: New file.
5027
e9258400
DM
50282012-03-06 David S. Miller <davem@davemloft.net>
5029
5030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5031 (set_obp_int): New function.
5032 (get_obp_int): New function.
5033 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5034 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5035 Avoid unused variable warnings on 'val' and use builtin_expect.
5036 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5037 __builtin_expect.
e9258400
DM
5038 (INLINE_CLONE_SYSCALL): Likewise.
5039
3bd2c723
DM
50402012-03-05 David S. Miller <davem@davemloft.net>
5041
5042 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5043
bbb78d03
AS
50442012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5045
884c5db4
AS
5046 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5047
bbb78d03
AS
5048 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5049 only for |x| >= 40.
5050 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5051
1c9f702a 50522012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5053
5054 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5055 Replace gettimeofday with __vdso_gettimeofday.
5056
7be16f82
RM
5057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5058 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5059 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5060
5061 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5062 time with __vdso_time.
5063
ed58a00f
JM
50642012-03-05 Joseph Myers <joseph@codesourcery.com>
5065
5066 * manual/lang.texi (size_t): Note types to which size_t may be
5067 equivalent with the GNU C Library, but do not describe when
5068 differences between them are significant.
5069
30ee4ced
AJ
50702012-03-05 Andreas Jaeger <aj@suse.de>
5071
5072 * sysdeps/i386/fpu/libm-test-ulps: Update.
5073
b7cd39e8
JM
50742012-03-05 Joseph Myers <joseph@codesourcery.com>
5075
5076 [BZ #3976]
5077 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5078 (__ieee754_pow): Save and restore rounding mode and use
5079 round-to-nearest for main computations.
5080 * math/libm-test.inc (pow_test_tonearest): New function.
5081 (pow_test_towardzero): Likewise.
5082 (pow_test_downward): Likewise.
5083 (pow_test_upward): Likewise.
5084 (main): Call the new functions.
5085 * sysdeps/i386/fpu/libm-test-ulps: Update.
5086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5087
5088 [BZ #3976]
5089 * math/libm-test.inc (cosh_test_tonearest): New function.
5090 (cosh_test_towardzero): Likewise.
5091 (cosh_test_downward): Likewise.
5092 (cosh_test_upward): Likewise.
5093 (sinh_test_tonearest): Likewise.
5094 (sinh_test_towardzero): Likewise.
5095 (sinh_test_downward): Likewise.
5096 (sinh_test_upward): Likewise.
5097 (main): Call the new functions.
5098 * sysdeps/i386/fpu/libm-test-ulps: Update.
5099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5100
6c6a98c9
TV
51012012-03-05 Tom de Vries <tom@codesourcery.com>
5102
5103 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5104 default stack guard is set in last bytes.
5105 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5106
21bb2d2e 51072012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5108
21bb2d2e 5109 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5110
21bb2d2e
AJ
5111 [BZ #13656]
5112 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5113 possibly allocate from heap instead of stack.
5114 * stdio-common/bug-vfprintf-nargs.c: New file.
5115 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5116
c6922934
AS
51172012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5118
5119 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5120
bc957d53
MP
51212012-03-03 Marek Polacek <polacek@redhat.com>
5122
5123 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5124 * math/math_private.h: Likewise.
5125 * stdlib/tst-strtod.c: Likewise.
5126 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5127 * sysdeps/x86_64/bits/atomic.h: Likewise.
5128
6358490d
DM
51292012-03-02 David S. Miller <davem@davemloft.net>
5130
5131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5132 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5133 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5134 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5135 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5136 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5137 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5138 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5139
01ae168d
RM
51402012-03-02 Roland McGrath <roland@hack.frob.com>
5141
d9a17c07
RM
5142 [BZ #13792]
5143 * manual/examples/README: New file, says the example source files
5144 can be used under GPL>=2.
5145 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5146 line containing just "*/".
5147 * manual/examples/add.c: Add copyright header (GPL>=2).
5148 * manual/examples/argp-ex1.c: Likewise.
5149 * manual/examples/argp-ex2.c: Likewise.
5150 * manual/examples/argp-ex3.c: Likewise.
5151 * manual/examples/argp-ex4.c: Likewise.
5152 * manual/examples/atexit.c: Likewise.
5153 * manual/examples/db.c: Likewise.
5154 * manual/examples/dir.c: Likewise.
5155 * manual/examples/dir2.c: Likewise.
5156 * manual/examples/execinfo.c: Likewise.
5157 * manual/examples/filecli.c: Likewise.
5158 * manual/examples/filesrv.c: Likewise.
5159 * manual/examples/fmtmsgexpl.c: Likewise.
5160 * manual/examples/genpass.c: Likewise.
5161 * manual/examples/inetcli.c: Likewise.
5162 * manual/examples/inetsrv.c: Likewise.
5163 * manual/examples/isockad.c: Likewise.
5164 * manual/examples/longopt.c: Likewise.
5165 * manual/examples/memopen.c: Likewise.
5166 * manual/examples/memstrm.c: Likewise.
5167 * manual/examples/mkfsock.c: Likewise.
5168 * manual/examples/mkisock.c: Likewise.
5169 * manual/examples/mygetpass.c: Likewise.
5170 * manual/examples/pipe.c: Likewise.
5171 * manual/examples/popen.c: Likewise.
5172 * manual/examples/rprintf.c: Likewise.
5173 * manual/examples/search.c: Likewise.
5174 * manual/examples/select.c: Likewise.
5175 * manual/examples/setjmp.c: Likewise.
5176 * manual/examples/sigh1.c: Likewise.
5177 * manual/examples/sigusr.c: Likewise.
5178 * manual/examples/stpcpy.c: Likewise.
5179 * manual/examples/strdupa.c: Likewise.
5180 * manual/examples/strftim.c: Likewise.
5181 * manual/examples/strncat.c: Likewise.
5182 * manual/examples/subopt.c: Likewise.
5183 * manual/examples/swapcontext.c: Likewise.
5184 * manual/examples/termios.c: Likewise.
5185 * manual/examples/testopt.c: Likewise.
5186 * manual/examples/testpass.c: Likewise.
5187 * manual/examples/timeval_subtract.c: Likewise.
5188
01ae168d
RM
5189 [BZ #13792]
5190 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5191 function to ...
5192 * manual/timeval_subtract.c.texi: ... here, new file.
5193
49efa33d
DM
51942012-03-02 David S. Miller <davem@davemloft.net>
5195
5196 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5197
28afd92d
JM
51982012-03-02 Joseph Myers <joseph@codesourcery.com>
5199
804360ed
JM
5200 [BZ #3976]
5201 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5202 (__sin): Save and restore rounding mode and use round-to-nearest
5203 for all computations.
5204 (__cos): Save and restore rounding mode and use round-to-nearest
5205 for all computations.
5206 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5207 <fenv.h>.
5208 (tan): Save and restore rounding mode and use round-to-nearest for
5209 all computations.
5210 * math/libm-test.inc (cos_test_tonearest): New function.
5211 (cos_test_towardzero): Likewise.
5212 (cos_test_downward): Likewise.
5213 (cos_test_upward): Likewise.
5214 (sin_test_tonearest): Likewise.
5215 (sin_test_towardzero): Likewise.
5216 (sin_test_downward): Likewise.
5217 (sin_test_upward): Likewise.
5218 (tan_test_tonearest): Likewise.
5219 (tan_test_towardzero): Likewise.
5220 (tan_test_downward): Likewise.
5221 (tan_test_upward): Likewise.
5222 (main): Call the new functions.
5223 * sysdeps/i386/fpu/libm-test-ulps: Update.
5224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5225
a6d06d7b
JM
5226 [BZ #10135]
5227 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5228 small n, then large n, before computing and testing k+n.
5229 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5230 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5231 Likewise.
5232 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5233 Likewise.
5234 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5235 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5236 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5237 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5238 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5239 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5240 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5241 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5242 * math/libm-test.inc (scalbn_test): Add more tests.
5243 (scalbln_test): Likewise.
5244
07e12bb3
JM
5245 * manual/filesys.texi (mode_t): Describe constraints on size and
5246 signedness, not exact equivalence to a particular type.
5247 (ino_t): Likewise.
5248 (ino64_t): Likewise.
5249 (dev_t): Likewise.
5250 (nlink_t): Likewise.
5251 (blkcnt_t): Likewise.
5252 (blkcnt64_t): Likewise.
5253 * manual/llio.texi (off_t): Likewise.
5254
28afd92d
JM
5255 [BZ #3976]
5256 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5257 (__ieee754_exp): Save and restore rounding mode and use
5258 round-to-nearest for all computations.
5259 * math/libm-test.inc (exp_test_tonearest): New function.
5260 (exp_test_towardzero): Likewise.
5261 (exp_test_downward): Likewise.
5262 (exp_test_upward): Likewise.
5263 (main): Call the new functions.
5264 * sysdeps/i386/fpu/libm-test-ulps: Update.
5265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5266
b1eeb65d
CD
52672012-03-01 Chris Demetriou <cgd@google.com>
5268
5269 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5270 have predictable order.
5271
53362a4b
DM
52722012-03-01 David S. Miller <davem@davemloft.net>
5273
3c969083
DM
5274 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5275
759707de
DM
5276 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5277 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5278 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5279 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5280
dfdb8ff2
DM
5281 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5282 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5283 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5285 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5286 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5287 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5288 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5289 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5290
ead89f96
DM
5291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5292
7f66bd07
DM
5293 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5294 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5295 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5296
53362a4b
DM
5297 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5298 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5299 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5300 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5301 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5302 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5303 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5304 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5305 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5306 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5307 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5309 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5310 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5311 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5312 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5313 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5314 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5315 * sysdeps/sparc/elf/configure: Regenerated.
5316
7b1902cb
JM
53172012-03-01 Joseph Myers <joseph@codesourcery.com>
5318
bec039bc
JM
5319 * configure.in (AS, LD): Require binutils 2.20 or later.
5320 * configure: Regenerated.
5321 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5322 as required minimum version.
5323 * INSTALL: Regenerated.
5324
7b1902cb
JM
5325 [BZ #2541]
5326 [BZ #4108]
5327 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5328 before squaring exponent.
5329 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5330 bottom long double and 27 bits of top long double before squaring
5331 exponent.
5332 * math/libm-test.inc (erfc_test): Add more tests.
5333 * sysdeps/i386/fpu/libm-test-ulps: Update.
5334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5336
f775c276
KT
53372012-03-01 Kai Tietz <ktietz@redhat.com>
5338
5339 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5340 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5341 containing bit-fields.
5342 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5343 * soft-fp/single.h (_FP_UNION_S): Likewise.
5344 * soft-fp/double.h (_FP_UNION_D): Likewise.
5345
5b8a4d4a
JM
53462012-02-29 Joseph Myers <joseph@codesourcery.com>
5347
0bab47b6
JM
5348 [BZ #13786]
5349 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5350 not include ../strcmp.S.
5351 [USE_AS_STRNCASECMP_L]: Likewise.
5352 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5353 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5354 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5355 (__strncasecmp_l_ia32): Define as alias to
5356 __strncasecmp_l_nonascii.
5357
0fcad3e2
JM
5358 [BZ #5794]
5359 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5360 * sysdeps/i386/fpu/libm-test-ulps: Update.
5361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5362
5b8a4d4a
JM
5363 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5364 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5365
8fdceb2e
JL
53662012-02-29 Jeff Law <law@redhat.com>
5367
5368 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5369 out of bounds read.
5370
1f393a11
MP
53712012-02-29 Marek Polacek <polacek@redhat.com>
5372
5373 [BZ #13706]
5374 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5375 * elf/Makefile: Add rules to run tst-unused-dep.out.
5376
8847f037
DM
53772012-02-28 David S. Miller <davem@davemloft.net>
5378
5379 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5380 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5381 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5382 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5383 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5384 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5385
169d7f11
JM
53862012-02-29 Joseph Myers <joseph@codesourcery.com>
5387
5388 * math/libm-test.inc (llround_test): Move one test from
5389 lround_test. Use TEST_f_L in moved test.
5390 (lround_test): Move misplaced test to llround_test. Add testcase
5391 from bug 2561.
5392
39adf059
UD
53932012-02-28 Ulrich Drepper <drepper@gmail.com>
5394
5395 * sysdeps/x86_64/fpu/e_expf.S: New file.
5396 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5397
71b5d1c5
SB
53982012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5399
5400 [BZ #13637]
5401 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5402 of remain_len that may cause incomplete multi-byte character and
5403 false match.
5404 * posix/bug-regex33.c: New file.
5405 * posix/Makefile (tests): Add bug-regex33.
5406
1f77f049
JM
54072012-02-28 Joseph Myers <joseph@codesourcery.com>
5408
5409 * manual/macros.texi: New file.
5410 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5411 * manual/libc.texinfo: Include macros.texi.
5412 * manual/creatute.texi: Likewise.
5413 * manual/install.texi: Likewise.
5414 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5415 @glibcadj{} in references to the GNU C Library.
5416 * manual/charset.texi: Likewise.
5417 * manual/conf.texi: Likewise.
5418 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5419 when not using those macros.
5420 * manual/creature.texi: Likewise.
5421 * manual/crypt.texi: Likewise.
5422 * manual/errno.texi: Likewise.
5423 * manual/filesys.texi: Likewise.
5424 * manual/header.texi: Likewise.
5425 * manual/install.texi: Likewise.
5426 * manual/intro.texi: Likewise.
5427 * manual/io.texi: Likewise.
5428 * manual/job.texi: Likewise.
5429 * manual/lang.texi: Likewise.
5430 * manual/libc.texiinfo: Likewise.
5431 * manual/llio.texi: Likewise.
5432 * manual/locale.texi: Likewise.
5433 * manual/maint.texi: Likewise.
5434 * manual/math.texi: Likewise.
5435 * manual/memory.texi: Likewise.
5436 * manual/message.texi: Likewise.
5437 * manual/nss.texi: Likewise.
5438 * manual/pattern.texi: Likewise.
5439 * manual/process.texi: Likewise.
5440 * manual/resource.texi: Likewise.
5441 * manual/search.texi: Likewise.
5442 * manual/setjmp.texi: Likewise.
5443 * manual/signal.texi: Likewise.
5444 * manual/socket.texi: Likewise.
5445 * manual/startup.texi: Likewise.
5446 * manual/stdio.texi: Likewise.
5447 * manual/string.texi: Likewise.
5448 * manual/sysinfo.texi: Likewise.
5449 * manual/syslog.texi: Likewise.
5450 * manual/terminal.texi: Likewise.
5451 * manual/time.texi: Likewise.
5452 * manual/users.texi: Likewise.
5453 * INSTALL: Regenerated.
5454 * NOTES: Regenerated.
d40c5d54 5455 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5456
450bf206
AS
54572012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5458
5459 * include/dirent.h: Include <dirstream.h> before
5460 <dirent/dirent.h>.
5461
741a235b
DM
54622012-02-28 David S. Miller <davem@davemloft.net>
5463
5464 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5465 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5466 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5467 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5468
d6b5aa58
DM
54692012-02-27 David S. Miller <davem@davemloft.net>
5470
1aff59a3
DM
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5473 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5474 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5475
d6b5aa58
DM
5476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5477 frame pointer instead of stack pointer relative arg slot.
5478 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5479 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5480 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5481
433f48bf
CD
54822012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5483
5484 [BZ #3992]
5485 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5486
d674b76d
DM
54872012-02-27 David S. Miller <davem@davemloft.net>
5488
5489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5495 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5496 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5497
0e7727f7
JM
54982012-02-27 Joseph Myers <joseph@codesourcery.com>
5499
5500 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5501 later. Allow versions 5-9.
43be4ca2 5502 * configure: Regenerated.
0e7727f7
JM
5503 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5504 required minimum version and 4.6 as recommended version. Do not
5505 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5506 * INSTALL: Regenerated.
0e7727f7 5507
a78bc654
DM
55082012-02-27 David S. Miller <davem@davemloft.net>
5509
428d5830
DM
5510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5514 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5515 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5516 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5517 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5518
a78bc654
DM
5519 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5520 manipulate bits before adding and subtracting TWO112[sx].
5521 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5522
4579f81c
RM
55232012-02-27 Roland McGrath <roland@hack.frob.com>
5524
36c8acb4
RM
5525 [BZ #13775]
5526 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5527 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5528 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5529 being in POSIX, because they are in 1003.1-2008.
5530
84ad622b
RM
5531 * rt/tst-aio.c: Include <fcntl.h>.
5532 * rt/tst-aio7.c: Likewise.
5533 * rt/tst-aio64.c: Likewise.
5534
4579f81c
RM
5535 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5536
abd923db
JM
55372012-02-27 Joseph Myers <joseph@codesourcery.com>
5538
5539 * manual/install.texi (--with-headers): Describe headers as
5540 interface headers, not private headers.
5541 (Specific advice for GNU/Linux systems): Describe use of headers
5542 from "make headers_install", not private headers from older
5543 kernels.
43be4ca2 5544 * INSTALL: Regenerated.
abd923db
JM
5545 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5546 Change to 2.6.19.
5547 * sysdeps/unix/sysv/linux/configure: Regenerated.
5548
6664049b
JM
5549 * manual/llio.texi (fclean): Remove documentation.
5550
bb8b6697
JM
5551 * manual/Makefile (libc-texi-generated): New variable. Include
5552 version.texi.
5553 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5554 $(libc-texi-generated), not duplicated list of files.
5555 (version.texi, stamp-version): New rules.
5556 (realclean): Remove $(libc-texi-generated), not individual files
5557 from that list. Do not remove dir-add.texinfo.
5558 * manual/libc.texinfo: Comment out uses of edition numbers and
5559 references to printed manual. Remove last-updated dates.
5560 (EDITION): Comment out.
5561 (ISBN): Likewise.
5562 (VERSION, UPDATED): Remove.
5563 (version.texi): Include.
5564
12e5c3b9
AS
55652012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5566
5567 * sysdeps/posix/spawni.c: Include <signal.h>.
5568 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5569 * sysdeps/pthread/aio_fsync.c: Likewise.
5570
4efeffc1 55712012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5572
ba63ba08
UD
5573 * conform/Makefile (tests): Run only when not cross-compiling and
5574 when fast-check is not defined.
5575
d94a4670
UD
5576 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5577 * conform/data/limits.h-data: Fixes for POSIX2008.
5578 * conform/run-conformtest.sh: Run all tests.
5579 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5580 headers.
5581 * include/bits/dlfcn.h: Likewise.
5582 * include/langinfo.h: Likewise.
5583 * include/monetary.h: Likewise.
5584 * include/sys/poll.h: Likewise.
5585
5586 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5587 for __USE_GNU.
5588 * posix/spawn.h: Define __need_sigset_t.
5589 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5590 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5591 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5592 to get sigevent_t only.
5593 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5594 only for __USE_GNU.
5595 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5596 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5597 process_vm_writev only for __USE_GNU.
5598 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5599
5600 * conform/Makefile: For now ignore errors from run-conformtest.
5601 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5602 POSIX to avoid namespace pollution. Don't prepend headers.
5603 * conform/data/aio.h-data: Fixes for POSIX testing.
5604 * conform/data/fcntl.h-data: Likewise.
5605 * conform/data/glob.h-data: Likewise.
5606 * conform/data/grp.h-data: Likewise.
5607 * conform/data/pthread.h-data: Likewise.
5608 * conform/data/pwd.h-data: Likewise.
5609 * conform/data/signal.h-data: Likewise.
5610 * conform/data/spawn.h-data: Likewise.
5611 * conform/data/stdio.h-data: Likewise.
5612 * conform/data/stdlib.h-data: Likewise.
5613 * conform/data/stropts.h-data: Likewise.
5614 * conform/data/sys/mman.h-data: Likewise.
5615 * conform/data/sys/stat.h-data: Likewise.
5616 * conform/data/sys/types.h-data: Likewise.
5617 * conform/data/sys/wait.h-data: Likewise.
5618 * conform/data/time.h-data: Likewise.
5619 * conform/data/unistd.h-data: Likewise.
5620 * conform/data/utime.h-data: Likewise.
5621
5622 * io/sys/stat.h: fchmod was always in POSIX.
5623 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5624 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5625 * rt/aio.h: Define __need_timespec before including <time.h>.
5626 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5627 struct. Add forward declaration of pthread_attr_t and use it in
5628 sigevent.
5629 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5630 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5631 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5632 always remove CLK_TCK definition.
5633
c20105c3
AS
56342012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5635
5636 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5637
7a270350
UD
56382012-02-25 Ulrich Drepper <drepper@gmail.com>
5639
31341567
UD
5640 * conform/run-conformtest.sh: New file.
5641 * conform/Makefile: Run run-conformtest for tests.
5642 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5643 support.
5644
5645 * conform/data/uchar.h-data: New file.
5646 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5647 * conform/data/arpa/inet.h-data: Likewise.
5648 * conform/data/assert.h-data: Likewise.
5649 * conform/data/complex.h-data: Likewise.
5650 * conform/data/cpio.h-data: Likewise.
5651 * conform/data/ctype.h-data: Likewise.
5652 * conform/data/dirent.h-data: Likewise.
5653 * conform/data/dlfcn.h-data: Likewise.
5654 * conform/data/errno.h-data: Likewise.
5655 * conform/data/fcntl.h-data: Likewise.
5656 * conform/data/float.h-data: Likewise.
5657 * conform/data/fmtmsg.h-data: Likewise.
5658 * conform/data/fnmatch.h-data: Likewise.
5659 * conform/data/ftw.h-data: Likewise.
5660 * conform/data/glob.h-data: Likewise.
5661 * conform/data/grp.h-data: Likewise.
5662 * conform/data/iconv.h-data: Likewise.
5663 * conform/data/inttypes.h-data: Likewise.
5664 * conform/data/langinfo.h-data: Likewise.
5665 * conform/data/libgen.h-data: Likewise.
5666 * conform/data/limits.h-data: Likewise.
5667 * conform/data/locale.h-data: Likewise.
5668 * conform/data/math.h-data: Likewise.
5669 * conform/data/monetary.h-data: Likewise.
5670 * conform/data/mqueue.h-data: Likewise.
5671 * conform/data/ndbm.h-data: Likewise.
5672 * conform/data/net/if.h-data: Likewise.
5673 * conform/data/netdb.h-data: Likewise.
5674 * conform/data/netinet/in.h-data: Likewise.
5675 * conform/data/nl_types.h-data: Likewise.
5676 * conform/data/poll.h-data: Likewise.
5677 * conform/data/pthread.h-data: Likewise.
5678 * conform/data/pwd.h-data: Likewise.
5679 * conform/data/regex.h-data: Likewise.
5680 * conform/data/sched.h-data: Likewise.
5681 * conform/data/search.h-data: Likewise.
5682 * conform/data/semaphore.h-data: Likewise.
5683 * conform/data/setjmp.h-data: Likewise.
5684 * conform/data/signal.h-data: Likewise.
5685 * conform/data/spawn.h-data: Likewise.
5686 * conform/data/stdarg.h-data: Likewise.
5687 * conform/data/stdio.h-data: Likewise.
5688 * conform/data/stdlib.h-data: Likewise.
5689 * conform/data/string.h-data: Likewise.
5690 * conform/data/strings.h-data: Likewise.
5691 * conform/data/stropts.h-data: Likewise.
5692 * conform/data/sys/ipc.h-data: Likewise.
5693 * conform/data/sys/mman.h-data: Likewise.
5694 * conform/data/sys/msg.h-data: Likewise.
5695 * conform/data/sys/resource.h-data: Likewise.
5696 * conform/data/sys/select.h-data: Likewise.
5697 * conform/data/sys/sem.h-data: Likewise.
5698 * conform/data/sys/shm.h-data: Likewise.
5699 * conform/data/sys/socket.h-data: Likewise.
5700 * conform/data/sys/stat.h-data: Likewise.
5701 * conform/data/sys/statvfs.h-data: Likewise.
5702 * conform/data/sys/time.h-data: Likewise.
5703 * conform/data/sys/timeb.h-data: Likewise.
5704 * conform/data/sys/times.h-data: Likewise.
5705 * conform/data/sys/types.h-data: Likewise.
5706 * conform/data/sys/uio.h-data: Likewise.
5707 * conform/data/sys/un.h-data: Likewise.
5708 * conform/data/sys/utsname.h-data: Likewise.
5709 * conform/data/sys/wait.h-data: Likewise.
5710 * conform/data/syslog.h-data: Likewise.
5711 * conform/data/tar.h-data: Likewise.
5712 * conform/data/termios.h-data: Likewise.
5713 * conform/data/utime.h-data: Likewise.
5714 * conform/data/utmpx.h-data: Likewise.
5715 * conform/data/varargs.h-data: Likewise.
5716 * conform/data/wchar.h-data: Likewise.
5717 * conform/data/wctype.h-data: Likewise.
5718 * conform/data/wordexp.h-data: Likewise.
5719
5720 * include/stropts.h: New file.
5721 * include/uchar.h: New file.
5722 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5723 * include/assert.h: Likewise.
5724 * include/ctype.h: Likewise.
5725 * include/dirent.h: Likewise.
5726 * include/dlfcn.h: Likewise.
5727 * include/fcntl.h: Likewise.
5728 * include/fnmatch.h: Likewise.
5729 * include/glob.h: Likewise.
5730 * include/grp.h: Likewise.
5731 * include/libio.h: Likewise.
5732 * include/locale.h: Likewise.
5733 * include/math.h: Likewise.
5734 * include/net/if.h: Likewise.
5735 * include/netdb.h: Likewise.
5736 * include/netinet/in.h: Likewise.
5737 * include/pthread.h: Likewise.
5738 * include/pwd.h: Likewise.
5739 * include/regex.h: Likewise.
5740 * include/sched.h: Likewise.
5741 * include/search.h: Likewise.
5742 * include/setjmp.h: Likewise.
5743 * include/signal.h: Likewise.
5744 * include/stdio.h: Likewise.
5745 * include/stdlib.h: Likewise.
5746 * include/string.h: Likewise.
5747 * include/sys/cdefs.h: Likewise.
5748 * include/sys/mman.h: Likewise.
5749 * include/sys/msg.h: Likewise.
5750 * include/sys/resource.h: Likewise.
5751 * include/sys/select.h: Likewise.
5752 * include/sys/socket.h: Likewise.
5753 * include/sys/stat.h: Likewise.
5754 * include/sys/statvfs.h: Likewise.
5755 * include/sys/time.h: Likewise.
5756 * include/sys/times.h: Likewise.
5757 * include/sys/uio.h: Likewise.
5758 * include/sys/utsname.h: Likewise.
5759 * include/sys/wait.h: Likewise.
5760 * include/termios.h: Likewise.
5761 * include/time.h: Likewise.
5762 * include/ulimit.h: Likewise.
5763 * include/unistd.h: Likewise.
5764 * include/utime.h: Likewise.
5765 * include/wchar.h: Likewise.
5766 * include/wctype.h: Likewise.
5767 * include/wordexp.h: Likewise.
5768
5769 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5770
7a270350
UD
5771 * time/time.h: TIME_UTC must be a macro.
5772 Make timespec_get available for ISO C11 only as well.
5773
7724defc
UD
57742012-02-24 Ulrich Drepper <drepper@gmail.com>
5775
5776 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5777 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5778
6b1d1d46
JM
57792012-02-24 Joseph Myers <joseph@codesourcery.com>
5780
5781 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5782
0f8bbd69
JM
57832012-02-24 Joseph Myers <joseph@codesourcery.com>
5784
5785 * manual/texinfo.tex: Update to version 2012-01-19.16.
5786
66ab80bc
JM
57872012-02-24 Joseph Myers <joseph@codesourcery.com>
5788
5789 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5790
74981cc5
RM
57912012-02-24 Roland McGrath <roland@hack.frob.com>
5792
ee968201
RM
5793 [BZ #13738]
5794 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5795 * manual/fdl-1.3.texi: New file.
5796 * manual/fdl-1.1.texi: File removed.
5797
74981cc5
RM
5798 [BZ #13738]
5799 * manual/libc.texinfo (FDL_VERSION): New @set.
5800 Use it for mention of FDL in cover text.
5801 (Documentation License): Use it in @include file name.
5802
7bb764bc
JM
58032012-02-22 Joseph Myers <joseph@codesourcery.com>
5804 Roland McGrath <roland@hack.frob.com>
5805
5806 [BZ #5461]
5807 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5808 not LONG_LONG_MAX and LONG_LONG_MIN.
5809 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5810 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5811 name.
5812 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5813
6cbeae47
JM
58142012-02-22 Joseph Myers <joseph@codesourcery.com>
5815
5816 [BZ #2547]
5817 [BZ #11365]
5818 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5819 manipulate bits before adding and subtracting TWO23[sx].
5820 * math/libm-test.inc (nearbyint_test): Add more tests.
5821
fe45ce09
JM
58222012-02-22 Joseph Myers <joseph@codesourcery.com>
5823
5824 [BZ #2548]
5825 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5826 bits before adding and subtracting TWO23[sx].
5827 * math/libm-test.inc (rint_test): Add more tests.
5828 (rint_test_tonearest): Likewise.
5829 (rint_test_towardzero): Likewise.
5830 (rint_test_downward): Likewise.
5831 (rint_test_upward: Likewise.
5832
ff3b3d82
JM
58332012-02-22 Joseph Myers <joseph@codesourcery.com>
5834
5835 [BZ #10110]
5836 * include/stdc-predef.h: New file. Extracted from features.h.
5837 * include/features.h: Include stdc-predef.h.
5838 * Makefile (headers): Add stdc-predef.h.
5839 * CONFORMANCE (Compiler limitations): Update.
5840
ef0aab35
JM
58412012-02-22 Joseph Myers <joseph@codesourcery.com>
5842
5843 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5844
58639409
DM
58452012-02-21 David S. Miller <davem@davemloft.net>
5846
5847 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5848 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5849
c0e70b25
DM
58502012-02-20 David S. Miller <davem@davemloft.net>
5851
5852 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5853 using a normal save/restore sequence, rather than allocating a
5854 dummy stack frame just to store a frame pointer and restore.
5855 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5856
fb06851d
JM
58572012-02-21 Joseph Myers <joseph@codesourcery.com>
5858
5859 * manual/install.texi: Fix stray word in line-wrapped comment.
5860
7a8b71c3
DM
58612012-02-20 David S. Miller <davem@davemloft.net>
5862
d510c123
DM
5863 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5864 both binutils and gcc support GOTDATA.
5865
0722d7c2
DM
5866 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5867 "rd %pc" in the PIC register setup sequences.
5868
3d2b3019
DM
5869 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5870 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5871 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5872 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5873 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5874 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5875 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5876 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5877 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5878 (SYSCALL_ERROR_HANDLER): Likewise.
5879 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5880 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5881 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5882 (SYSCALL_ERROR_HANDLER): Likewise.
5883
c80098a9
DM
5884 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5885 (HAVE_GCC_GOTDATA): New.
5886 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5887 relocation support in both binutils and gcc.
5888 * sysdeps/sparc/elf/configure: Regenerate.
5889
3a2545a0
DM
5890 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5891 * sysdeps/sparc/sparc32/elf/configure: Delete.
5892 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5893 * sysdeps/sparc/sparc64/elf/configure: Delete.
5894 * sysdeps/sparc/elf/configure.in: New file.
5895 * sysdeps/sparc/elf/configure: Generate.
5896
7a8b71c3
DM
5897 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5898 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5899 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5900 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5901 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5902
f1e86fca
JM
59032012-02-21 Joseph Myers <joseph@codesourcery.com>
5904
5905 * manual/install.texi: Do not mention specific glibc version
5906 numbers.
5907 * manual/libc.texinfo (VERSION, UPDATED): Update.
5908 (@copying): Use @copyright{} and range of years.
5909
0e7dfaef
JM
59102012-02-21 Joseph Myers <joseph@codesourcery.com>
5911
5912 [BZ #13695]
5913 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5914 [crti.S not in sysdirs] (generated): Do not append.
5915 [crti.S not in sysdirs] (omit-deps): Likewise.
5916 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5917 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5918 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5919 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5920 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5921 Likewise.
5922 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5923 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5924 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5925 * csu/defs.awk: Remove file.
5926 * sysdeps/generic/initfini.c: Likewise.
5927 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5928 variable.
5929 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5930 Likewise.
5931
599af3ca
JM
59322012-02-20 Joseph Myers <joseph@codesourcery.com>
5933
5934 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5935 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5936 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5937 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5938 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5939 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5940 <bits/epoll.h>.
5941 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5942 (__EPOLL_PACKED): Define to empty if not defined by
5943 <bits/epoll.h>.
5944 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5946 bits/epoll.h.
5947
0e499750
JM
59482012-02-20 Joseph Myers <joseph@codesourcery.com>
5949
5950 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5951 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5952 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5953 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5954 <bits/timerfd.h>.
5955 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5956 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5957 bits/timerfd.h.
5958
5ad91f6e
JM
59592012-02-20 Joseph Myers <joseph@codesourcery.com>
5960
5961 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5962 in C locale.
5963 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5964 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5965 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5967
06b99b02
AJ
59682012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5969
5970 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5971 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5972
7638c0fd
AS
59732012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5974
5975 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5976 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5977 defined.
5978 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5979 Likewise.
5980 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5981 entry for 2.16.
5982
92221550
AJ
59832012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5984
5985 * math/w_acos.c: Use non-signaling floating-point comparisons.
5986 * math/w_acosf.c: Likewise.
5987 * math/w_acosh.c: Likewise.
5988 * math/w_acoshf.c: Likewise.
5989 * math/w_acoshl.c: Likewise.
5990 * math/w_acosl.c: Likewise.
5991 * math/w_asin.c: Likewise.
5992 * math/w_asinf.c: Likewise.
5993 * math/w_asinl.c: Likewise.
5994 * math/w_atanh.c: Likewise.
5995 * math/w_atanhf.c: Likewise.
5996 * math/w_atanhl.c: Likewise.
5997 * math/w_exp2.c: Likewise.
5998 * math/w_exp2f.c: Likewise.
5999 * math/w_exp2l.c: Likewise.
6000 * math/w_j0.c: Likewise.
6001 * math/w_j0f.c: Likewise.
6002 * math/w_j0l.c: Likewise.
6003 * math/w_j1.c: Likewise.
6004 * math/w_j1f.c: Likewise.
6005 * math/w_j1l.c: Likewise.
6006 * math/w_jn.c: Likewise.
6007 * math/w_jnf.c: Likewise.
6008 * math/w_log.c: Likewise.
6009 * math/w_log10.c: Likewise.
6010 * math/w_log10f.c: Likewise.
6011 * math/w_log10l.c: Likewise.
6012 * math/w_log2.c: Likewise.
6013 * math/w_log2f.c: Likewise.
6014 * math/w_log2l.c: Likewise.
6015 * math/w_logf.c: Likewise.
6016 * math/w_logl.c: Likewise.
6017 * math/w_sqrt.c: Likewise.
6018 * math/w_sqrtf.c: Likewise.
6019 * math/w_sqrtl.c: Likewise.
6020 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6021 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6022 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6023 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6024 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6025
ebaf36eb
JM
60262012-02-19 Joseph Myers <joseph@codesourcery.com>
6027
6028 [BZ #9739]
6029 * manual/string.texi (strnlen): Use correct parameter name in
6030 equivalent expression.
6031
71c254a6
JM
60322012-02-19 Joseph Myers <joseph@codesourcery.com>
6033
6034 [BZ #11174]
6035 * manual/users.texi (seteuid): Consistently use neweuid for
6036 argument name.
6037
16d2c631
JM
60382012-02-19 Joseph Myers <joseph@codesourcery.com>
6039
6040 [BZ #13704]
6041 * manual/nss.texi (Services in the NSS configuration): Correct
6042 list of services in example configuration file.
6043
cd837b09
NB
60442012-02-19 Nick Bowler <nbowler@draconx.ca>
6045
6046 [BZ #11322]
6047 * manual/arith.texi: Remove statements about negative zero
6048 behaving identically to zero.
6049
02c4bbad
JM
60502012-02-18 Joseph Myers <joseph@codesourcery.com>
6051
6052 [BZ #5993]
6053 * manual/install.texi: Do not document upgrading from libc5.
6054
366842e7
JM
60552012-02-18 Joseph Myers <joseph@codesourcery.com>
6056
6057 [BZ #4596]
6058 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6059
dd54084d
DM
60602012-02-18 David S. Miller <davem@davemloft.net>
6061
6062 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6063 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6064 %o7 across the call.
6065 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6066 instead.
6067 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6068 SETUP_PIC_REG_LEAF.
6069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6070 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6071 * sysdeps/sparc/crtn.S: Likewise.
6072
2bcc53a3
UD
60732012-02-17 Ulrich Drepper <drepper@gmail.com>
6074
6075 * aout/Makefile: Remove.
6076
09c093b5
RK
60772012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6078
6079 [BZ #13058]
6080 * manual/examples/argp-ex1.c (main): Format definition in GNU
6081 style.
6082 * manual/examples/argp-ex2.c (main): Likewise.
6083 * manual/examples/argp-ex3.c (main): Likewise.
6084 * manual/examples/argp-ex4.c (main): Likewise.
6085 * manual/examples/longopt.c (main): Use new-style prototype
6086 definition.
6087 * manual/examples/strncat.c (main): Specify return type and use
6088 (void) for arguments.
6089 * manual/examples/subopt.c (main): Use char **argv argument.
6090
2ee633a2
JM
60912012-02-17 Joseph Myers <joseph@codesourcery.com>
6092
6093 [BZ #5077]
6094 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6095 rounding modes.
6096
0520adde
FB
60972012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6098
6099 [BZ #6907]
6100 * manual/string.texi (strchr): Change when strchrnul is
6101 recommended.
6102
3f4081cd
DGM
61032012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6104
6105 [BZ #174]
6106 * manual/locale.texi (setlocale): Document LOCPATH.
6107
d1b10e78
JM
61082012-02-17 Joseph Myers <joseph@codesourcery.com>
6109
6110 [BZ #10210]
6111 * manual/process.texi (execle): Move @dots{} before last argument.
6112
79c6869c
PB
61132012-02-17 Paul Bolle <pebolle@tiscali.nl>
6114
6115 [BZ #12047]
6116 * manual/charset.texi (Generic Charset Conversion): Fix typo
6117 (LC_TYPE -> LC_CTYPE).
6118
cc6e48bc
NB
61192012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6120
6121 [BZ #5805]
6122 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6123 (scalbnf): Likewise.
6124 (scalbnl): Likewise.
6125 (scalbln): Likewise.
6126 (scalblnf): Likewise.
6127 (scalblnl): Likewise.
6128 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6129 (vwarnx): Likewise.
6130 (verr): Likewise.
6131 (verrx): Likewise.
6132 * manual/filesys.texi (telldir): Use braces around return type.
6133 * manual/llio.texi (mmap): Add space after comma.
6134 (mmap64): Likewise.
6135 * manual/math.texi (jn): Use @var{} on parameter names.
6136 (jnf): Likewise.
6137 (jnl): Likewise.
6138 (yn): Likewise.
6139 (ynf): Likewise.
6140 (ynl): Likewise.
6141 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6142 line.
6143 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6144 "...".
6145 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6146 (sched_get_priority_max): Likewise.
6147 * manual/signal.texi (sigvec): Add space after comma.
6148 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6149 names.
6150 (if_indextoname): Likewise.
6151 (if_freenameindex): Likewise.
6152 (sendto): Use ',' instead of '.' in prototype.
6153 * manual/startup.texi (syscall): Use @dots{} instead of literal
6154 "...".
6155 * manual/stdio.texi (__fpending): Separate initial words of
6156 paragraph from @deftypefun line.
6157 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6158 "...".
6159 (vsyslog): Use @var{} on parameter names.
6160 * manual/terminal.texi (stty): Use @var{} on parameter names.
6161 * manual/users.texi (getutmp): Use @var{} on parameter names.
6162 (getutmpx): Likewise.
6163
5b23062f
JM
61642012-02-17 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #6884]
6167 * manual/stdio.texi (fopen): Fix typos in description of
6168 ",ccs=STRING".
6169
8dee4833
AJ
61702012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6171
6172 [BZ #4026]
6173 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6174 get clock_id definition.
6175
9078ce93
TS
61762012-02-17 Thomas Schwinge <thomas@schwinge.name>
6177
6178 [BZ #4822]
6179 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6180 (madvise): Cast every argument to void on its own.
6181
3835c55f
JM
61822012-02-17 Joseph Myers <joseph@codesourcery.com>
6183
6184 [BZ #9902]
6185 * manual/startup.texi (Exit Status): Fix typo.
6186
35c47e37
JM
61872012-02-17 Joseph Myers <joseph@codesourcery.com>
6188
6189 [BZ #10140]
6190 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6191 * manual/examples/argp-ex2.c: Likewise.
6192 * manual/examples/argp-ex3.c: Likewise.
6193
e3b69ca7
RH
61942012-02-16 Richard Henderson <rth@redhat.com>
6195
6196 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6197 * sysdeps/s390/s390-32/initfini.c: Remove.
6198 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6199 * sysdeps/s390/s390-64/initfini.c: Remove.
6200
df83af67
KK
62012012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6202
6203 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6204 compiler output for sysdeps/generic/initfini.c.
6205 * sysdeps/sh/elf/initfini.c: Remove file.
6206
f63f3380
DM
62072012-02-16 David S. Miller <davem@davemloft.net>
6208
fb59b3a4
DM
6209 [BZ #11494]
6210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6211
f63f3380
DM
6212 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6213 * sysdeps/sparc/crti.S: New file.
6214 * sysdeps/sparc/crtn.S: New file.
6215 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6216 * sysdeps/sparc/sparc64/Makefile: Likewise.
6217
df6a4a4a
MF
62182012-02-15 Mike Frysinger <vapier@gentoo.org>
6219
6dd8f3dc 6220 [BZ #3335]
df6a4a4a
MF
6221 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6222
1cac7236
RM
62232012-02-15 Roland McGrath <roland@hack.frob.com>
6224
d2c736f8
RM
6225 [BZ #4822]
6226 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6227
1cac7236
RM
6228 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6229 (write, read, close): Likewise.
6230 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6231
8e475601
JM
62322012-02-15 Joseph Myers <joseph@codesourcery.com>
6233
6234 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6235 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6236 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6237 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6238 <bits/signalfd.h>.
6239 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6240 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6241 bits/signalfd.h.
6242
ed656b40
MP
62432012-02-14 Marek Polacek <polacek@redhat.com>
6244
6245 * sysdeps/x86_64/crti.S: New file.
6246 * sysdeps/x86_64/crtn.S: New file.
6247 * sysdeps/x86_64/elf/initfini.c: Remove file.
6248
2a979d3a
JM
62492012-02-13 Joseph Myers <joseph@codesourcery.com>
6250
6251 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6252 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6253 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6254 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6255 <bits/inotify.h>.
6256 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6257 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6258 bits/inotify.h.
6259
2a418ac3
JM
62602012-02-13 Joseph Myers <joseph@codesourcery.com>
6261
6262 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6263 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6264 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6265 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6266 <bits/eventfd.h>.
6267 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6268 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6269 bits/eventfd.h.
6270
fb779be7
TS
62712012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6272
e19e83c5
RM
6273 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6274 __feraiseexcept instead of feraiseexcept.
7c35ffed 6275
fb779be7
TS
6276 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6277 nanosleep invocations.
6278 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6279 strings, and add error checking for a nanosleep invocations.
6280
59ba27a6
PE
62812012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6282
6283 Replace FSF snail mail address with URLs, as per GNU coding standards.
6284 Most of the snail mail addresses were wrong anyway, and omitting
6285 them makes the source code easier to maintain. Almost all of the
6286 changes are to license notices and to locale LC_IDENTIFICATION
6287 addresses, except for this one:
6288 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6289 not its snail mail address.
6290
57b957eb
RH
62912012-02-09 Richard Henderson <rth@twiddle.net>
6292
af850b1c
RH
6293 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6294 of kernel-features.h.
6295
57b957eb
RH
6296 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6297
6b73181a
MP
62982012-02-08 Marek Polacek <polacek@redhat.com>
6299
6300 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6301 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6302 * sysdeps/gnu/_G_config.h: Likewise.
6303 * sysdeps/generic/_G_config.h: Likewise.
6304
26ecc33a
AS
63052012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6306
6c6dbc63
AS
6307 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6308 tests.
6309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6310
e216c012
AS
6311 * sysdeps/powerpc/powerpc32/crti.S: New file.
6312 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6313 * sysdeps/powerpc/powerpc64/crti.S: New file.
6314 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6315
26ecc33a
AS
6316 * Makeconfig (have-initfini): Don't set.
6317 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6318 * configure.in (nopic_initfini): Don't substitute.
6319 * config.h.in (HAVE_INITFINI): Don't #undef.
6320 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6321 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6322
3add8e13
JM
63232012-02-08 Joseph Myers <joseph@codesourcery.com>
6324
6325 Support crti.S and crtn.S provided directly by architectures.
6326 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6327 [crti.S in sysdirs] (omit-deps): Likewise.
6328 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6329 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6330 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6331 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6332 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6333 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6334 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6335 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6336 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6337 compiler output for sysdeps/generic/initfini.c.
6338 * sysdeps/i386/elf/Makefile: Remove file.
6339 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6340
a22f12b4
MP
63412012-02-07 Marek Polacek <polacek@redhat.com>
6342
6343 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6344 * sysdeps/gnu/_G_config.h: Likewise.
6345 * sysdeps/mach/hurd/_G_config.h: Likewise.
6346
148cf100
MP
63472012-02-07 Marek Polacek <polacek@redhat.com>
6348
6349 * math/Makefile (tests): Add tst-CMPLX2.
6350 * math/tst-CMPLX2.c: New file.
6351
cfdc0dd7
AS
63522012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6353
84ba42c4
AS
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6355
cfdc0dd7
AS
6356 * math/libm-test.inc (jn_test): Add missing L suffix.
6357
622c86f4
MP
63582012-02-06 Marek Polacek <polacek@redhat.com>
6359
6360 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6361 * sysdeps/i386/fpu/e_powf.S: Likewise.
6362 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6363 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6364 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6365 * sysdeps/i386/fpu/e_pow.S: Likewise.
6366 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6367 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6368 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6369 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6370 * sysdeps/i386/fpu/e_log2.S: Likewise.
6371 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6372 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6373 * sysdeps/i386/fpu/e_powl.S: Likewise.
6374 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6375 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6376 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6377 * sysdeps/i386/fpu/e_logl.S: Likewise.
6378 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6379 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6380 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6381 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6382 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6383 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6384 * sysdeps/i386/fpu/e_log.S: Likewise.
6385 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6386 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6387 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6388 * sysdeps/i386/fpu/e_logf.S: Likewise.
6389 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6390 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6391 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6392 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6393 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6394 * sysdeps/i386/fpu/e_log10.S: Likewise.
6395 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6396 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6397 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6398 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6399 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6400 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6401 * sysdeps/i386/asm-syntax.h: Likewise.
6402 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6403 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6404 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6405 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6406 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6407 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6408 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6409 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6410 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6411 * sysdeps/powerpc/sysdep.h: Likewise.
6412 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6413 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6414
d4a54ac6
JM
64152012-02-06 Joseph Myers <joseph@codesourcery.com>
6416
6417 [BZ #411]
6418 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6419
314054ea
JM
64202012-02-06 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/i386/sysdep.h: Include <features.h>.
6423 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6424 version.
6425
d8e0ca50
JM
64262012-02-05 Joseph Myers <joseph@codesourcery.com>
6427
6428 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6429 Define.
6430 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6431 LOAD_PIC_REG_STR.
6432
b1da7dd9
JM
64332012-02-03 Joseph Myers <joseph@codesourcery.com>
6434
6435 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6436 (SETUP_PIC_REG): Use GET_PC_THUNK.
6437 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6438 macro.
6439
9a1d9254
JM
64402012-02-03 Joseph Myers <joseph@codesourcery.com>
6441
6442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6443 for non-PIC compilation.
6444 (SETUP_PIC_REG): Add .p2align directive.
6445 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6446 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6480 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6481 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6482 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6483 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6486
65dc3b75
JM
64872012-02-03 Joseph Myers <joseph@codesourcery.com>
6488
6489 * math/tst-CMPLX.c: Include <stdio.h>.
6490
d55bf177
JM
64912012-01-31 Joseph Myers <joseph@codesourcery.com>
6492
6493 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6494 float.
6495 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6496 * sysdeps/sparc/bits/mathdef.h: Likewise.
6497
69db4f8f
MP
64982012-01-31 Marek Polacek <polacek@redhat.com>
6499
6500 * libio/libio.h: Don't define _PARAMS.
6501 * locale/programs/config.h: Don't define PARAMS.
6502 * stdlib/strtol_l.c: Likewise.
6503 (__strtol_l): Remove PARAMS from the prototype.
6504
41b81892
UD
65052012-01-31 Ulrich Drepper <drepper@gmail.com>
6506
3b49edc0
UD
6507 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6508 names. Just use the correct names. Remove unnecessary wrapper
6509 functions.
6510 * malloc/arena.c: Likewise.
6511 * malloc/hooks.c: Likewise.
6512
41b81892
UD
6513 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6514 ARENA_TEST says not to. Simplify test for creation of a new arena.
6515 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6516
27a25b6e
UD
65172012-01-30 Ulrich Drepper <drepper@gmail.com>
6518
6519 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6520 into tail calls.
6521 (update_get_addr): New function.
6522 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6523 GET_ADDR_MODULE parameter.
6524
c8a89e7d
JM
65252012-01-30 Joseph Myers <joseph@codesourcery.com>
6526
6527 * crypt/cert.c: Remove __STDC__ conditionals.
6528 * crypt/crypt-entry.c: Likewise.
6529 * crypt/crypt_util.c: Likewise.
6530 * libio/filedoalloc.c: Likewise.
6531 * libio/fileops.c: Likewise.
6532 * libio/genops.c: Likewise.
6533 * libio/iofclose.c: Likewise.
6534 * libio/iofdopen.c: Likewise.
6535 * libio/iofopen.c: Likewise.
6536 * libio/iofopen64.c: Likewise.
6537 * libio/iogetdelim.c: Likewise.
6538 * libio/iopopen.c: Likewise.
6539 * libio/obprintf.c: Likewise.
6540 * libio/oldfileops.c: Likewise.
6541 * libio/oldiofclose.c: Likewise.
6542 * libio/oldiofdopen.c: Likewise.
6543 * libio/oldiofopen.c: Likewise.
6544 * libio/oldiopopen.c: Likewise.
6545 * libio/wfiledoalloc.c: Likewise.
6546 * libio/wgenops.c: Likewise.
6547 * locale/programs/xmalloc.c: Likewise.
6548 * misc/syslog.c: Likewise.
6549 * stdio-common/xbug.c: Likewise.
6550 * string/memchr.c: Likewise.
6551 * string/memcmp.c: Likewise.
6552 * string/memrchr.c: Likewise.
6553 * string/rawmemchr.c: Likewise.
6554 * sysdeps/posix/getcwd.c: Likewise.
6555 * time/strftime_l.c: Likewise.
6556
3b100462
JM
65572012-01-30 Joseph Myers <joseph@codesourcery.com>
6558
6559 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6560 * config.make.in (config-cflags-sse2avx): Define.
6561 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6562 Fix typo.
6563
607998af
CM
65642012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6565
6566 * scripts/config.guess: Update from upstream config git repository.
6567 * scripts/config.sub: Likewise.
6568
3601428f
CM
65692012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6570
3ac8b282
CM
6571 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6572 (EM_NUM): Update.
6573 (R_TILEPRO_*, R_TILEGX_*): New macros.
6574
e034841e
CM
6575 * scripts/firstversions.awk: Fix bug in version range handling.
6576
540d7568
CM
6577 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6578
3601428f
CM
6579 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6580
463de862
CM
6581 * include/sys/epoll.h: New file.
6582 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6583 libc_hidden_def.
6584
73139a76
UD
65852012-01-28 Ulrich Drepper <drepper@gmail.com>
6586
96bc5b45
UD
6587 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6588 Avoid unnecessary __WORDSIZE == 64 test.
6589 (fmaxf): Use VEX format if possible.
6590 (fmax): Likewise.
6591 (fminf): Likewise.
6592 (fmin): Likewise.
6593
56f6f6a2
UD
6594 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6595 * math/math_private.h: Remove libc_fegetround* and
6596 libc_fesetround*.
6597 * sysdeps/i386/configure.in: Check for -msse2avx.
6598 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6599 also if SSE2AVX is defined.
6600 Remove libc_fegetround* and libc_fesetround*.
6601 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6602 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6603 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6604 of HAS_YMM_USABLE.
6605 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6606 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6607 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6608 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6609 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6610
73139a76
UD
6611 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6612
d73f93a4
AZ
66132012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6614
6615 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6616 size is not set.
6617 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6618
6ee65ed6
UD
66192012-01-27 Ulrich Drepper <drepper@gmail.com>
6620
6621 [BZ #13618]
6622 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6623 relocation.
6624 * Makeconfig (libm): Define.
6625 * elf/Makefile: Add rules to build and run tst-relsort1.
6626 * elf/tst-relsort1.c: New file.
6627 * elf/tst-relsort1mod1.c: New file.
6628 * elf/tst-relsort1mod2.c: New file.
6629
8db21882
JM
66302012-01-27 Joseph Myers <joseph@codesourcery.com>
6631
6632 * math/s_ldexp.c: Remove __STDC__ conditionals.
6633 * math/s_ldexpf.c: Likewise.
6634 * math/s_ldexpl.c: Likewise.
6635 * math/s_nextafter.c: Likewise.
6636 * math/s_nexttowardf.c: Likewise.
6637 * math/s_significand.c: Likewise.
6638 * math/s_significandf.c: Likewise.
6639 * math/s_significandl.c: Likewise.
6640 * math/w_jnl.c: Likewise.
6641 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6642 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6643 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6644 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6645 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6654 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6655 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6656 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6657 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6658 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6660 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6663 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6665 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6667 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6671 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6673 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6674 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6675 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6676 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6678 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6679 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6681 * sysdeps/ieee754/k_standard.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6761 * sysdeps/ieee754/s_matherr.c: Likewise.
6762 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6763 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6765 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6766
965a54a4
JM
67672012-01-26 Joseph Myers <joseph@codesourcery.com>
6768
6769 * crypt/md5.h: Remove __STDC__ conditionals.
6770 * libio/libioP.h: Likewise.
6771 * locale/programs/config.h: Likewise.
6772 * sysdeps/generic/sysdep.h: Likewise.
6773 * sysdeps/i386/asm-syntax.h: Likewise.
6774 * sysdeps/s390/asm-syntax.h: Likewise.
6775 * sysdeps/unix/sysdep.h: Likewise.
6776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6778
7071ad79
JM
67792012-01-26 Joseph Myers <joseph@codesourcery.com>
6780
6781 * libio/libio.h: Remove __STDC__ conditionals.
6782 * malloc/obstack.h: Likewise.
6783 * math/complex.h: Likewise.
6784 * math/math.h: Likewise.
6785 * sysdeps/generic/_G_config.h: Likewise.
6786 * sysdeps/gnu/_G_config.h: Likewise.
6787 * sysdeps/mach/hurd/_G_config.h: Likewise.
6788 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6789 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6790 * sysdeps/sparc/bits/mathdef.h: Likewise.
6791
afc5ed09
UD
67922012-01-26 Ulrich Drepper <drepper@gmail.com>
6793
6794 [BZ #13583]
6795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6796 Clean up HAS_* macros.
afc5ed09 6797 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6798 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6799 possible.
6800 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6801 HAS_AVX.
6802 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6803 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6804 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6805 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6806 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6807
bdb6de1d
JM
68082012-01-25 Joseph Myers <joseph@codesourcery.com>
6809
6810 * elf/tst-unique3.cc (gets): Remove declaration.
6811 * elf/tst-unique3lib.cc (gets): Likewise.
6812 * elf/tst-unique3lib2.cc (gets): Likewise.
6813 * elf/tst-unique4.cc (gets): Likewise.
6814
b15549e6
UD
68152012-01-24 Ulrich Drepper <drepper@gmail.com>
6816
6817 * include/stdio.h: Add C++ protection. Add gets declarations and
6818 definitions.
6819 * debug/tst-chk1.c: Don't declare gets here.
6820 * stdio-common/tst-gets.c: Likewise.
6821
a037381f
JM
68222012-01-24 Joseph Myers <joseph@codesourcery.com>
6823
6824 * posix/glob: Remove directory.
6825
f1d4aa75
JM
68262012-01-24 Joseph Myers <joseph@codesourcery.com>
6827
6828 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6829
81c0c964
PT
68302012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6831
6832 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6833 of the non-standard EPFNOSUPPORT.
6834
0ea698ae
ST
68352011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6836
6837 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6838 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6839 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6840
d220b117
UD
68412012-01-21 Ulrich Drepper <drepper@gmail.com>
6842
6843 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6844
3e1aa84e
UD
68452012-01-20 Ulrich Drepper <drepper@gmail.com>
6846
6847 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6848 transient errors.
6849 * nscd/grpcache.c (cache_addgr): Likewise.
6850 * nscd/hstcache.c (cache_addhst): Likewise.
6851 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6852 * nscd/pwdcache.c (cache_addpw): Likewise.
6853 * nscd/servicescache.c (cache_addserv): Likewise.
6854
400aa020
UD
68552012-01-16 Ulrich Drepper <drepper@gmail.com>
6856
d77e7869
UD
6857 * malloc/malloc.c: Various cleanups.
6858 * malloc/hooks.c: Likewise.
6859
400aa020
UD
6860 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6861 * stdlib/bug-fmtmsg1.c: New file.
6862
6863 * stdlib/fmtmsg.c (init): Add missing unlock.
6864 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6865
e0a309cf
MP
68662012-01-12 Marek Polacek <polacek@redhat.com>
6867
6868 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6869 and _GNU_SOURCE.
6870
929d11c7
WS
68712012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6872
6873 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6874 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6875 macro to ensure uniqueness of label name.
6876 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6877 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6878
41d0e869
UD
68792012-01-11 Ulrich Drepper <drepper@gmail.com>
6880
0cc5ed3b
UD
6881 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6882
41d0e869
UD
6883 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6884 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6885 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6886 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6887
a47a831a
UD
68882012-01-10 Ulrich Drepper <drepper@gmail.com>
6889
daa891c0
UD
6890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6891
6892 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6893 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6895
e58ef0f2
UD
6896 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6897
a47a831a 6898 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6899 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6901 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6902
6903 * math/bits/math-finite.h: Add ldexp support.
6904
a0bfc9c7
MP
69052012-01-10 Marek Polacek <polacek@redhat.com>
6906
6907 * locale/programs/localedef.h (show_archive_content): Add noreturn
6908 attribute.
6909
d6e97a1d
UD
69102012-01-09 Ulrich Drepper <drepper@gmail.com>
6911
6912 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6913
d5835c26
UD
69142012-01-08 Ulrich Drepper <drepper@gmail.com>
6915
e5f484c6
UD
6916 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6917
d5835c26
UD
6918 * io/Makefile (headers): Add bits/poll2.h.
6919
d1f741e9
WS
69202011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6921
6922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6923 typo #include statement.
6924
ec09c1c4
UD
69252012-01-08 Ulrich Drepper <drepper@gmail.com>
6926
6927 * include/sys/cdefs.h: Define __attribute_alloc_size.
6928 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6929 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6930 * elf/pldd.c: Likewise.
6931 * iconv/iconv_charmap.c: Likewise.
6932 * iconv/iconvconfig.c: Likewise.
6933 * iconv/strtab.c: Likewise.
6934 * locale/programs/locale.c: Likewise.
6935 * locale/programs/localedef.h: Likewise.
6936 * locale/programs/simple-hash.c: Likewise.
6937 * nscd/nscd.h: Likewise.
6938 * nss/makedb.c: Likewise.
6939 * sysdeps/generic/ldconfig.h: Likewise.
6940 * locale/programs/localedef.c: Remove xmalloc prototype.
6941 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6942
20b38e03
PP
69432012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6944
6945 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6946 appropriate.
6947
a0da5fe1
UD
69482012-01-08 Ulrich Drepper <drepper@gmail.com>
6949
1d5a644a 6950 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6951 * math/tst-CMPLX.c: New file.
1d5a644a 6952
8784a6db
UD
6953 * math/complex.h (CMPLXL): Fix typo.
6954
d9a216c0
UD
6955 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6956 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6957 GLIBC_2.16.
6958 * debug/tst-chk1.c: Add poll and ppoll tests.
6959 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6960 * include/sys/poll.h: Add hidden proto for ppoll.
6961 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6962 * sysdeps/mach/hurd/ppoll.c: Likewise.
6963 * io/ppoll.c: Likewise.
6964 * debug/poll_chk.c: New file.
6965 * debug/ppoll_chk.c: New file.
6966 * include/bits/poll2.h: New file.
6967 * io/bits/poll2.h: New file.
6968
ac097f5c
UD
6969 [BZ #1350]
6970 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6971
2119dcfa
UD
6972 * configure.in: static is always set to yes. Remove.
6973 * config.make.in: Don't set build-static.
6974 * Makeconfig: Remove use of build-static.
6975 * dlfcn/Makefile: Likewise.
6976 * elf/Makefile: Likewise.
6977 * math/Makefile: Likewise.
6978 * misc/Makefile: Likewise.
6979 * nptl/Makefile: Likewise.
6980 * sysdeps/mach/hurd/Makefile: Likewise.
6981
121766a9
UD
6982 * configure.in: PWD_P is not used anymore.
6983 * config.make.in: Remove PWD_P entry.
6984
51a1d39c 6985 * configure.in: Remove last remnants of RANLIB.
8720d066 6986 No need to check for signed size_t anymore.
215f4bdc
UD
6987 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6988 and IA-64.
3857022a 6989 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6990 * aclocal.m4: Likewise.
6991
d3ed7225
UD
6992 * wcsmbs/mbrtoc16.c: Implement using towc function.
6993 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6994 * wcsmbs/wcsmbsload.c: Likewise.
6995 * iconv/gconv_simple.c: Likewise.
6996 * iconv/gconv_int.h: Likewise.
6997 * iconv/gconv_builtin.h: Likewise.
6998 * iconv/iconv_prog.c: Remove CHAR16 handling.
6999
7000 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7001
7002 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7003
a0da5fe1
UD
7004 * configure.in: Remove --with-elf and --enable-bounded options.
7005 Dont set base_machine for ia64. More non-ELF conditions removed.
7006 Remove testing and setting of leading underscore information.
7007 * config.make.in (build-bounded): Set to no.
7008 * config.h.in: Remove NO_UNDERSCORES entry.
7009 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7010 them.
7011 * csu/start.c: Remove !NO_UNDERSCORE code.
7012 * locale/localeinfo.h: Likewise.
7013 * sysdeps/generic/machine-gmon.h: Likewise.
7014 * sysdeps/generic/sysdep.h: Likewise.
7015 * sysdeps/i386/sysdep.h: Likewise.
7016 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7017 * sysdeps/mach/sysdep.h: Likewise.
7018 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7019 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7020 * sysdeps/sh/sysdep.h: Likewise.
7021 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7022 * sysdeps/unix/i386/sysdep.S: Likewise.
7023 * sysdeps/unix/sparc/start.c: Likewise.
7024 * sysdeps/unix/sparc/sysdep.S: Likewise.
7025 * sysdeps/unix/sparc/sysdep.h: Likewise.
7026 * sysdeps/unix/start.c: Likewise.
7027 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7028 * sysdeps/x86_64/sysdep.h: Likewise.
7029
df78418a
UD
70302012-01-07 Ulrich Drepper <drepper@gmail.com>
7031
a784e502
UD
7032 [BZ #13553]
7033 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7034 for non-gcc.
7035 * argp/argp-fmtstream.h: Use const instead __const.
7036 * argp/argp.h: Likewise.
7037 * assert/assert.h: Likewise.
7038 * bits/fenv.h: Likewise.
7039 * bits/sched.h: Likewise.
7040 * bits/sigset.h: Likewise.
7041 * bits/sigthread.h: Likewise.
7042 * catgets/nl_types.h: Likewise.
7043 * conform/data/pthread.h-data: Likewise.
7044 * crypt/crypt-private.h: Likewise.
7045 * crypt/crypt.h: Likewise.
7046 * crypt/crypt_util.c: Likewise.
7047 * ctype/ctype.h: Likewise.
7048 * debug/execinfo.h: Likewise.
7049 * debug/mbsnrtowcs_chk.c: Likewise.
7050 * debug/mbsrtowcs_chk.c: Likewise.
7051 * debug/wcsnrtombs_chk.c: Likewise.
7052 * debug/wcsrtombs_chk.c: Likewise.
7053 * debug/wcstombs_chk.c: Likewise.
7054 * dirent/dirent.h: Likewise.
7055 * dlfcn/dlfcn.h: Likewise.
7056 * elf/neededtest4.c: Likewise.
7057 * grp/grp.h: Likewise.
7058 * gshadow/gshadow.h: Likewise.
7059 * iconv/gconv.h: Likewise.
7060 * iconv/gconv_int.h: Likewise.
7061 * iconv/gconv_simple.c: Likewise.
7062 * iconv/iconv.h: Likewise.
7063 * iconv/loop.c: Likewise.
7064 * iconv/skeleton.c: Likewise.
7065 * include/aio.h: Likewise.
7066 * include/aliases.h: Likewise.
7067 * include/argz.h: Likewise.
7068 * include/arpa/inet.h: Likewise.
7069 * include/assert.h: Likewise.
7070 * include/dirent.h: Likewise.
7071 * include/dlfcn.h: Likewise.
7072 * include/execinfo.h: Likewise.
7073 * include/fcntl.h: Likewise.
7074 * include/fenv.h: Likewise.
7075 * include/glob.h: Likewise.
7076 * include/grp.h: Likewise.
7077 * include/libintl.h: Likewise.
7078 * include/mntent.h: Likewise.
7079 * include/netdb.h: Likewise.
7080 * include/pwd.h: Likewise.
7081 * include/rpc/netdb.h: Likewise.
7082 * include/sched.h: Likewise.
7083 * include/search.h: Likewise.
7084 * include/shadow.h: Likewise.
7085 * include/signal.h: Likewise.
7086 * include/stdio.h: Likewise.
7087 * include/stdlib.h: Likewise.
7088 * include/string.h: Likewise.
7089 * include/sys/socket.h: Likewise.
7090 * include/sys/stat.h: Likewise.
7091 * include/sys/statfs.h: Likewise.
7092 * include/sys/statvfs.h: Likewise.
7093 * include/sys/syslog.h: Likewise.
7094 * include/sys/time.h: Likewise.
7095 * include/sys/uio.h: Likewise.
7096 * include/time.h: Likewise.
7097 * include/unistd.h: Likewise.
7098 * include/utmp.h: Likewise.
7099 * include/wchar.h: Likewise.
7100 * include/wctype.h: Likewise.
7101 * inet/aliases.h: Likewise.
7102 * inet/arpa/inet.h: Likewise.
7103 * inet/netinet/ether.h: Likewise.
7104 * inet/netinet/in.h: Likewise.
7105 * intl/libintl.h: Likewise.
7106 * io/bits/fcntl2.h: Likewise.
7107 * io/fcntl.h: Likewise.
7108 * io/ftw.h: Likewise.
7109 * io/sys/poll.h: Likewise.
7110 * io/sys/stat.h: Likewise.
7111 * io/sys/statfs.h: Likewise.
7112 * io/sys/statvfs.h: Likewise.
7113 * io/utime.h: Likewise.
7114 * libio/bits/stdio.h: Likewise.
7115 * libio/bits/stdio2.h: Likewise.
7116 * libio/libio.h: Likewise.
7117 * libio/libioP.h: Likewise.
7118 * libio/stdio.h: Likewise.
7119 * locale/lc-ctype.c: Likewise.
7120 * locale/locale.h: Likewise.
7121 * login/utmp.h: Likewise.
7122 * malloc/arena.c: Likewise.
7123 * malloc/malloc.c: Likewise.
7124 * malloc/malloc.h: Likewise.
7125 * malloc/mcheck.c: Likewise.
7126 * malloc/mtrace.c: Likewise.
7127 * math/bits/mathcalls.h: Likewise.
7128 * math/fenv.h: Likewise.
7129 * math/math_private.h: Likewise.
7130 * misc/bits/error.h: Likewise.
7131 * misc/bits/syslog.h: Likewise.
7132 * misc/err.h: Likewise.
7133 * misc/error.h: Likewise.
7134 * misc/fstab.h: Likewise.
7135 * misc/mntent.h: Likewise.
7136 * misc/regexp.h: Likewise.
7137 * misc/search.h: Likewise.
7138 * misc/sgtty.h: Likewise.
7139 * misc/sys/mman.h: Likewise.
7140 * misc/sys/syslog.h: Likewise.
7141 * misc/sys/uio.h: Likewise.
7142 * misc/sys/xattr.h: Likewise.
7143 * misc/ttyent.h: Likewise.
7144 * nis/rpcsvc/ypclnt.h: Likewise.
7145 * nss/nss.h: Likewise.
7146 * posix/bits/unistd.h: Likewise.
7147 * posix/fnmatch.h: Likewise.
7148 * posix/glob.h: Likewise.
7149 * posix/sched.h: Likewise.
7150 * posix/spawn.h: Likewise.
7151 * posix/sys/wait.h: Likewise.
7152 * posix/unistd.h: Likewise.
7153 * posix/wordexp.h: Likewise.
7154 * pwd/pwd.h: Likewise.
7155 * resolv/netdb.h: Likewise.
7156 * resource/sys/resource.h: Likewise.
7157 * rt/aio.h: Likewise.
7158 * rt/bits/mqueue2.h: Likewise.
7159 * rt/mqueue.h: Likewise.
7160 * shadow/shadow.h: Likewise.
7161 * signal/signal.h: Likewise.
7162 * socket/send.c: Likewise.
7163 * socket/sendto.c: Likewise.
7164 * socket/sys/socket.h: Likewise.
7165 * stdio-common/printf.h: Likewise.
7166 * stdlib/bits/stdlib.h: Likewise.
7167 * stdlib/fmtmsg.h: Likewise.
7168 * stdlib/monetary.h: Likewise.
7169 * stdlib/stdlib.h: Likewise.
7170 * stdlib/ucontext.h: Likewise.
7171 * streams/stropts.h: Likewise.
7172 * string/argz.h: Likewise.
7173 * string/bits/string2.h: Likewise.
7174 * string/string.h: Likewise.
7175 * string/strings.h: Likewise.
7176 * sunrpc/rpc/auth.h: Likewise.
7177 * sunrpc/rpc/auth_des.h: Likewise.
7178 * sunrpc/rpc/clnt.h: Likewise.
7179 * sunrpc/rpc/netdb.h: Likewise.
7180 * sunrpc/rpc/pmap_clnt.h: Likewise.
7181 * sunrpc/rpc/xdr.h: Likewise.
7182 * sysdeps/generic/inttypes.h: Likewise.
7183 * sysdeps/generic/net/if.h: Likewise.
7184 * sysdeps/generic/sys/swap.h: Likewise.
7185 * sysdeps/gnu/net/if.h: Likewise.
7186 * sysdeps/gnu/utmpx.h: Likewise.
7187 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7188 * sysdeps/i386/i486/bits/string.h: Likewise.
7189 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7190 * sysdeps/s390/bits/string.h: Likewise.
7191 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7192 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7193 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7194 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7195 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7196 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7197 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7198 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7199 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7200 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7201 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7202 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7203 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7204 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7205 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7206 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7207 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7208 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7209 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7211 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7212 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7213 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7214 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7215 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7216 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7217 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7218 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7219 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7220 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7221 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7222 * sysvipc/sys/ipc.h: Likewise.
7223 * sysvipc/sys/msg.h: Likewise.
7224 * sysvipc/sys/sem.h: Likewise.
7225 * sysvipc/sys/shm.h: Likewise.
7226 * termios/termios.h: Likewise.
7227 * time/sys/time.h: Likewise.
7228 * time/time.h: Likewise.
7229 * wcsmbs/bits/wchar2.h: Likewise.
7230 * wcsmbs/uchar.h: Likewise.
7231 * wcsmbs/wchar.h: Likewise.
7232 * wctype/wctype.h: Likewise.
7233
0269750c
UD
7234 [BZ #13551]
7235 * Makeconfig: Remove all but ELF support including AIX support.
7236 * Makerules: Likewise.
7237 * config.h.in: Likewise.
7238 * config.make.in: Likewise.
7239 * configure: Likewise.
7240 * configure.in: Likewise.
7241 * csu/Makefile: Likewise.
7242 * csu/version.c: Likewise.
7243 * debug/Makefile: Likewise.
7244 * dlfcn/Makefile: Likewise.
7245 * elf/Makefile: Likewise.
7246 * extra-lib.mk: Likewise.
7247 * iconv/Makefile: Likewise.
7248 * include/libc-symbols.h: Likewise.
7249 * include/shlib-compat.h: Likewise.
7250 * resolv/Makefile: Likewise.
7251 * resolv/res_libc.c: Likewise.
7252 * rt/Makefile: Likewise.
7253 * sysdeps/i386/asm-syntax.h: Likewise.
7254 * sysdeps/i386/sysdep.h: Likewise.
7255 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7256 * sysdeps/mach/sysdep.h: Likewise.
7257 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7258 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7259 * sysdeps/s390/asm-syntax.h: Likewise.
7260 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7261 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7262 * sysdeps/sh/sysdep.h: Likewise.
7263 * sysdeps/unix/sparc/sysdep.h: Likewise.
7264 * sysdeps/wordsize-32/divdi3.c: Likewise.
7265 * sysdeps/x86_64/sysdep.h: Likewise.
7266
00bbd29b
UD
7267 * argp/Versions: Remove _argp_unlock_xxx.
7268
7269 [BZ #13559]
7270 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7271 * abilist/libBrokenLocale.abilist: Likewise.
7272 * abilist/libanl.abilist: Likewise.
7273 * abilist/libc.abilist: Likewise.
7274 * abilist/libcrypt.abilist: Likewise.
7275 * abilist/libdl.abilist: Likewise.
7276 * abilist/libm.abilist: Likewise.
7277 * abilist/libnsl.abilist: Likewise.
7278 * abilist/libpthread.abilist: Likewise.
7279 * abilist/libresolv.abilist: Likewise.
7280 * abilist/librt.abilist: Likewise.
7281 * abilist/libthread_db.abilist: Likewise.
7282 * abilist/libutil.abilist: Likewise.
7283 * abilist/libnss_db.abilist: New file.
7284
7285 * scripts/abilist.awk: Add support for indirect functions.
7286
a2693a0e
UD
7287 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7288
3f05895f
UD
7289 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7290
ecb6fb48
UD
7291 * shlib-versions: Remove entries for ports architectures.
7292
664f8cb9
UD
7293 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7294 files in ports.
7295 * elf/stackguard-macros.h: Remove support for IA-64.
7296 * elf/tst-auditmod1.c: Likewise.
7297 * sysdeps/generic/ldsodefs.h: Likewise.
7298
7ae81d88
UD
7299 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7300 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7301 configure files.
7302
bdeba135
UD
7303 [BZ #13552]
7304 * configure.in: Remove --enable-omitfp support.
7305 * FAQ.in: Adjust.
7306 * config.make.in: Likewise.
7307 * Makeconfig: Likewise.
7308 * manual/install.texi: Likewise.
7309
d75a0a62
UD
7310 In case anyone cares, the IA-64 architecture could move to ports.
7311 * sysdeps/ia64/*: Removed.
7312 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7313 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7314
dcc9756b
UD
7315 [BZ #13555]
7316 * configure.in: Remove entries for unsupported architectures.
7317
d3761ebc 7318 [BZ #13533]
9954432e
UD
7319 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7320 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7321 routines.
7322 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7323 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7324 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7325 fall back to using wcrtomb.
7326 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7327 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7328 renaming.
7329 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7330 * wcsmbs/tst-c16c32-1.c: New file.
7331
7332 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7333 local variable.
7334
c3a87236
UD
7335 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7336
28926a1b
UD
7337 * elf/tst-unique3.cc: Add explicit declaration of gets.
7338 * elf/tst-unique3lib.cc: Likewise.
7339 * elf/tst-unique3lib2.cc: Likewise.
7340 * elf/tst-unique4.cc: Likewise.
7341
df78418a
UD
7342 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7343
8ecd6b2a
JM
73442012-01-06 Joseph Myers <joseph@codesourcery.com>
7345
7346 [BZ #13566]
7347 * assert/assert.h (static_assert): Don't define for C++.
7348 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7349 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7350
9f115170
UD
73512012-01-03 Ulrich Drepper <drepper@gmail.com>
7352
5e0d0300
UD
7353 * iconv/loop.c (single loop): Fix assertion in storing of
7354 remaining bytes.
7355
9f115170
UD
7356 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7357
81fb02b0
UD
73582012-01-01 Ulrich Drepper <drepper@gmail.com>
7359
7360 * posix/getconf.c: Update copyright year.
7361 * nss/getent.c: Likewise.
a316c1f6 7362 * nss/makedb.c: Likewise.
81fb02b0
UD
7363 * iconv/iconvconfig.c: Likewise.
7364 * iconv/iconv_prog.c: Likewise.
7365 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7366 * elf/pldd.c: Likewise.
7367 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7368 * catgets/gencat.c: Likewise.
7369 * csu/version.c: Likewise.
7370 * elf/ldd.bash.in: Likewise.
7371 * elf/sprof.c (print_version): Likewise.
7372 * locale/programs/locale.c: Likewise.
7373 * locale/programs/localedef.c: Likewise.
a316c1f6 7374 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7375 * nscd/nscd.c (print_version): Likewise.
7376 * debug/xtrace.sh: Likewise.
7377 * malloc/memusage.sh: Likewise.
7378 * malloc/mtrace.pl: Likewise.
7379 * debug/catchsegv.sh: Likewise.
7380
2ba92745
JJ
73812011-12-30 Jakub Jelinek <jakub@redhat.com>
7382
7383 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7384 pure attribute.
7385
dadebdae
UD
73862011-12-24 Ulrich Drepper <drepper@gmail.com>
7387
d3761ebc 7388 [BZ #13533]
db6af3eb
UD
7389 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7390 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7391 transformations.
7392 * iconv/gconv_int.h: Likewise.
7393 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7394 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7395 from libc for GLIBC_2.16.
7396 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7397 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7398 * wcsmbs/uchar.h: Really define mbstate_t.
7399 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7400 * wcsmbs/c16rtomb.c: New file.
7401 * wcsmbs/mbrtoc16.c: New file.
7402 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7403 for C/POSIX locale.
7404 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7405 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7406
dadebdae
UD
7407 * wcsmbs/wchar.h: Add missing __restrict.
7408
67371b56
UD
74092011-12-23 Ulrich Drepper <drepper@gmail.com>
7410
74033a25
UD
7411 [BZ #13532]
7412 * time/Makefile (routines): Add timespec_get.
7413 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7414 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7415 timespec for ISO C11.
7416 * time/timespec_get.c: New file.
7417 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7418 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7419
380d7e87
UD
7420 [BZ #13531]
7421 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7422 * stdlib/stdlib.h: Declare aligned_alloc.
7423 * Versions.def: Add GLIBC_2.16 for libc.
7424 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7425
4e9e7a35
UD
7426 [BZ 13527]
7427 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7428 ISO C11.
7429
380d7e87 7430 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7431 code.
7432
03a71829
UD
7433 [BZ #13528]
7434 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7435
839e283e
UD
7436 [BZ #13529]
7437 * assert/assert.h (static_assert): Define.
7438
ce5294e2 7439 * version.h: Update for 2.16 development version.
90fa7312 7440
8d44e150 7441 [BZ #13526]
d7809905
UD
7442 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7443 _ISOC11_SOURCE.
7444
c0da14cd
UD
7445 * version.h (RELEASE): Bump for 2.15 release.
7446 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7447
530a3249
MP
7448 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7449 Patch by Marek Polacek <mpolacek@redhat.com>.
7450
67371b56
UD
7451 * bits/byteswap.h: Protect long long constants with __extension__.
7452 * sysdeps/i386/bits/byteswap.h: Likewise.
7453 * sysdeps/ia64/bits/byteswap.h: Likewise.
7454 * sysdeps/s390/bits/byteswap.h: Likewise.
7455 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7456
15db4de1
LD
74572011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7458
7459 [BZ #13540]
bbe315ea
LD
7460 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7461 destination buffer.
15db4de1
LD
7462 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7463
2b2596b1
MP
74642011-12-23 Marek Polacek <polacek@redhat.com>
7465
7466 * elf/dl-addr.c (determine_info): Add inline keyword.
7467 * elf/tst-auditmod4b.c (check_avx): Likewise.
7468 * elf/tst-auditmod6b.c (check_avx): Likewise.
7469 * elf/tst-auditmod6c.c (check_avx): Likewise.
7470 * elf/tst-auditmod7b.c (check_avx): Likewise.
7471
70c6c246
UD
74722011-12-23 Ulrich Drepper <drepper@gmail.com>
7473
7474 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7475 !__SSE_MATH__.
7476
c044cf14
LD
74772011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7478
15db4de1 7479 [BZ #13540]
c044cf14
LD
7480 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7481 processing for last bytes.
7482
6b13d9d9
BH
74832011-08-06 Bruno Haible <bruno@clisp.org>
7484
d455f537
BH
7485 [BZ #13061]
7486 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7487 U+0385, not to U+1FEE.
7488
6b13d9d9
BH
7489 [BZ #13062]
7490 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7491 entry for U+00A5 U+0301.
7492
db910efd
UD
74932011-12-22 Ulrich Drepper <drepper@gmail.com>
7494
27deeafc
UD
7495 [BZ #13166]
7496 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7497 buffer for the output is too small.
7498
aed9d171
UD
7499 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7500 optimization.
7501
db910efd
UD
7502 [BZ #13185]
7503 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7504 SSE flags if possible.
7505
2bd779ae
LD
75062011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7507
e7f9dac3 7508 [BZ #13540]
2bd779ae
LD
7509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7510 processing for last bytes.
7511
154bfc16
JM
75122011-12-22 Joseph Myers <joseph@codesourcery.com>
7513
7514 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7515 (syscall-list-default-options, syscall-list-default-condition)
7516 (syscall-list-includes): Define.
7517 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7518 list of ABIs and options and #if conditions for each ABI. Do not
7519 handle common syscalls between ABIs specially.
7520 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7521 Remove.
7522 (syscall-list-variants, syscall-list-32bit-options)
7523 (syscall-list-32bit-condition, syscall-list-64bit-options)
7524 (syscall-list-64bit-condition): Define.
7525 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7526 (syscall-list-variants, syscall-list-32bit-options)
7527 (syscall-list-32bit-condition, syscall-list-64bit-options)
7528 (syscall-list-64bit-condition): Define.
7529 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7530 Remove.
7531 (syscall-list-variants, syscall-list-32bit-options)
7532 (syscall-list-32bit-condition, syscall-list-64bit-options)
7533 (syscall-list-64bit-condition): Define.
7534 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7535 Remove.
7536 (syscall-list-variants, syscall-list-32bit-options)
7537 (syscall-list-32bit-condition, syscall-list-64bit-options)
7538 (syscall-list-64bit-condition): Define.
7539
21eaf3a5
UD
75402011-12-22 Ulrich Drepper <drepper@gmail.com>
7541
16c6f992
UD
7542 * locale/iso-639.def: Add brx entry.
7543
41043168
UD
7544 [BZ #13328]
7545 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7546 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7547
21eaf3a5
UD
7548 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7549 __feraiseexcept_renamed.
7550
e3a851a2
UD
75512011-12-21 Ulrich Drepper <drepper@gmail.com>
7552
4920765e
UD
7553 [BZ #13538]
7554 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7555 EPOLLET with unsigned values.
7556 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7557 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7558
e3a851a2
UD
7559 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7560 to large cancellation.
7561 * math/s_cacoshf.c: Likewise.
7562 * math/s_cacoshl.c: Likewise.
7563
b27e24b8
RK
75642011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7565
7566 [BZ #13305]
aebefeee 7567 [BZ #12786]
b27e24b8
RK
7568 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7569 * math/s_cacoshf.c: Likewise.
7570 * math/s_cacoshl.c: Likewise.
7571
ee190f67
UD
75722011-12-21 Ulrich Drepper <drepper@gmail.com>
7573
7574 [BZ #13439]
7575 * iconv/gconv.h: Define __GCONV_SWAP.
7576 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7577 * iconvdata/utf-16.c: Likewise.
7578 * iconvdata/utf-32.c: Likewise.
7579
707f25df
AS
75802011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7581
7582 [BZ #13524]
7583 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7584 numerator after shifting it by one limb.
7585
d2daaa1e
RÁE
75862011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7587
7588 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7589 under [__USE_EXTERN_INLINES].
7590
a4647e72
UD
75912011-12-17 Ulrich Drepper <drepper@gmail.com>
7592
7593 [BZ #13446]
7594 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7595
f0b264f1
AZ
75962011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7597
7598 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7599 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7600 optimized code.
7601 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7602 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7603 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7604 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7605 for strncasecmp/strncasecmp_l compilation.
7606 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7607 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7608
8ef4f244
MP
76092011-12-08 Marek Polacek <mpolacek@redhat.com>
7610
7611 [BZ #13484]
7612 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7613 of __asm__.
7614
97ac2654
UD
76152011-12-17 Ulrich Drepper <drepper@gmail.com>
7616
7617 [BZ #13506]
7618 * time/tzfile.c (__tzfile_read): Check values from file header.
7619
91d2a845
WS
76202011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7621
7622 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7623 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7624 * powerpc/powerpc32/dl-start.S: Likewise.
7625 * powerpc/powerpc32/elf/start.S: Likewise.
7626 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7627 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7628 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7629 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7630 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7631 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7632 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7633 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7634 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7635 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7636 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7637 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7638 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7639 * powerpc/powerpc32/memset.S: Likewise.
7640 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7641 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7642 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7643 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7644 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7645 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7646 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7647 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7648 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7649 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7650 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7651 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7652 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7653
a1267ba1
AZ
76542011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7655
7656 * math/libm-test.inc: Added more nearbyint tests.
7657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7658 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7659 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7660 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7661
ad8ac1bd
RL
76622011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7663
7664 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7665 FD_CLOEXEC.
7666
1d3e4b61
UD
76672011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7668
7669 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7670 Add wcscpy-ssse3 wcscpy-c.
7671 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7672 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7673 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7674 * sysdeps/x86_64/wcschr.S: New file.
7675 * sysdeps/x86_64/wcsrchr.S: New file.
7676 * string/test-strcmp.c: Remove checking of wcscmp function for
7677 wrong alignments.
7678 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7679 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7680 wcsrchr-sse2 wcsrchr-c.
7681 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7682 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7683 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7684 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7685 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7686 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7687 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7688 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7689 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7690 * wcsmbc/wcschr.c (WCSCHR): New macro.
7691
5b330a2d
UD
76922011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7693
7694 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7695 * wcsmbs/test-wcsrchr.c: New file.
7696 * string/test-strrchr.c: Add wcsrchr support.
7697 (WIDE): New macro.
7698 * wcsmbs/test-wcscpy.c: New file.
7699 * string/test-strcpy.c: Add wcscpy support.
7700 (WIDE): New macro.
26428b7c 7701
f039c043
UD
77022011-12-10 Ulrich Drepper <drepper@gmail.com>
7703
7704 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7705 the inner loop.
7706
850fb039
AS
77072011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7708
7709 [BZ #13472]
7710 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7711
4efbd5cb
UD
77122011-12-04 Ulrich Drepper <drepper@gmail.com>
7713
52ff5dd0 7714 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7715 Minor optimizations.
52ff5dd0 7716
4efbd5cb
UD
7717 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7718 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7719 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7720
8a426e12
UD
77212011-12-03 Ulrich Drepper <drepper@gmail.com>
7722
aff2453d
UD
7723 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7724 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7725 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7726 for gcc to avoid warnings.
7727 * inet/Makefile (tests): Add tst-checks.
7728 * inet/tst-checks.c: New file.
7729
7730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7731 warning.
7732
7733 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7734 __wmemcmp_sse2.
7735
7736 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7737 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7738
8a426e12
UD
7739 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7740
9bea3473
UD
77412011-12-02 Ulrich Drepper <drepper@gmail.com>
7742
3a965496
UD
7743 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7744 problem.
7745
9bea3473
UD
7746 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7747
f101631b
UD
77482011-11-29 Joseph Myers <joseph@codesourcery.com>
7749
7750 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7751 conditional on GCC version.
7752 (__arch_compare_and_exchange_val_8_acq)
7753 (__arch_compare_and_exchange_val_16_acq)
7754 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7755 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7756 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7757
a98275aa
UD
77582011-12-02 Joseph Myers <joseph@codesourcery.com>
7759
7760 * sysdeps/sh/backtrace.c: New file.
7761
d4cc29a2
AS
77622011-12-02 Andreas Schwab <schwab@redhat.com>
7763
7764 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7765 parenthesis.
7766
6257af2d
AS
77672011-12-01 Andreas Schwab <schwab@redhat.com>
7768
7769 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7770 falling back to utime.
7771
b5f44c1a
AS
77722011-11-30 Andreas Schwab <schwab@redhat.com>
7773
7774 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7775 expectations for float.
7776
f3a6cc0a
AS
77772011-11-29 Andreas Schwab <schwab@redhat.com>
7778
7779 * locale/weight.h (findidx): Add parameter len.
7780 * locale/weightwc.h (findidx): Likewise.
7781 * posix/fnmatch_loop.c (FCT): Adjust caller.
7782 * posix/regcomp.c (build_equiv_class): Likewise.
7783 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7784 * posix/regexec.c (check_node_accept_bytes): Likewise.
7785 * string/strcoll_l.c (STRCOLL): Likewise.
7786 * string/strxfrm_l.c (STRXFRM): Likewise.
7787
9d65ea3a
UD
77882011-11-17 Ulrich Drepper <drepper@gmail.com>
7789
7790 * Makefile.in: Remove CVSOPT handling.
7791 * configure.in: Remove use of AC_REVISION.
7792 * iconvdata/Makefile (distribute): No need to filter out CVS.
7793 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7794 handling.
7795
5583a086
AS
77962011-11-16 Andreas Schwab <schwab@redhat.com>
7797
7798 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7799 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7800 [USE_AS_STRNCASECMP_L]: Likewise.
7801 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7802 NO_TLS_DIRECT_SEG_REFS.
7803 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7804 Fix argument offsets for non-PIC.
7805 [USE_AS_STRNCASECMP_L]: Likewise.
7806 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7807 NO_TLS_DIRECT_SEG_REFS.
7808
d62a8200
UD
78092011-11-15 Ulrich Drepper <drepper@gmail.com>
7810
9d65ea3a 7811 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7812 O_CLOEXEC.
7813 * locale/loadlocale.c (_nl_load_locale): Likewise.
7814
09f93bd3
AS
78152011-11-15 Andreas Schwab <schwab@redhat.com>
7816
446514f9
AS
7817 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7818 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7819 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7820 (SYSCALL_GETTIME): Set errno on error.
7821
09f93bd3
AS
7822 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7823 count references to noai6ai_cached.
7824
312be3f9
UD
78252011-11-15 Ulrich Drepper <drepper@gmail.com>
7826
7827 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7828
7829 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7830 FD_CLOEXEC for /proc/self/maps.
7831
7832 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7833 FD_CLOEXEC for /proc/meminfo.
7834
7835 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7836 gai.conf.
7837
7838 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7839 FD_CLOEXEC for given file.
7840
7841 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7842
7843 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7844 FD_CLOEXEC for /etc/hosts.
7845 (_gethtent): Likewise.
7846
7847 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7848
7849 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7850 cancellation and set FD_CLOEXEC for /etc/netgroup.
7851
7852 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7853 reading /etc/publickey.
7854
7855 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7856 allow cancellation when reading /etc/group.
7857
7858 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7859 cancellation.
7860 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7861
7862 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7863 when using data file.
7864
7865 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7866
7867 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7868 (write_nis_obj): Use "c" and "e" in fopen.
7869
7870 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7871
7872 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7873
7874 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7875
7876 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7877
7878 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7879 locale.alias.
7880
7881 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7882
7883 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7884
7885 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7886
7887 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7888 file parsing and set FD_CLOEXEC.
7889
82af0fa8
UD
78902011-11-14 Ulrich Drepper <drepper@gmail.com>
7891
7892 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7893
a5fb313c
AS
78942011-11-14 Andreas Schwab <schwab@redhat.com>
7895
7896 * malloc/arena.c (arena_get2): Don't call reused_arena when
7897 _int_new_arena failed.
7898
6abf3465
UD
78992011-11-14 Ulrich Drepper <drepper@gmail.com>
7900
7901 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7902 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7903 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7904 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7905 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7906 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7907 to compile strcasecmp and strncasecmp.
7908 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7909 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7910
7911 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7912
76e3966e
UD
79132011-11-13 Ulrich Drepper <drepper@gmail.com>
7914
7915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7916 locale-defines.sym to gen-as-const-headers.
7917 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7918 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7919 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7920 to compile strcasecmp and strncasecmp.
7921 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7922 strcasecmp_l and strncasecmp_l.
7923 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7924 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7925 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7926 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7927 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7928 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7929 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7930 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7931 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7932 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7933 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7934
ab26144e
UD
79352011-11-12 Ulrich Drepper <drepper@gmail.com>
7936
7edb22ef
UD
7937 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7938 result of SYSDEP_GETTIME_CPU to retval.
7939 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7940 parameter list to macro. Remove trailing semicolon. Adjust users.
7941
9694fc44
UD
7942 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7943 variable.
7944
8ad89ef8
UD
7945 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7946 mantissa words.
7947 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7948
0c822ef9
UD
7949 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7950 from unused variable.
7951
874e0564
UD
7952 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7953 DWARF definitions.
7954 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7955 for assembling.
7956
3a2edc79
UD
7957 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7958 over namespaces.
7959
f3c2577f
UD
7960 * sunrpc/rpc_prot.c (rejected): Fix case value.
7961
294ce126
UD
7962 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7963 unsigned long long int to avoid warnings in shift.
7964
5e2b63c6
UD
7965 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7966 of use of trans.
7967 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7968 variable tmp.
7969
e7f4b08e
UD
7970 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7971 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7972 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7973
ab26144e
UD
7974 * nis/nis_table.c (nis_list): Use variable of correct type for
7975 result of __follow_path call.
7976
8a6d5255
AZ
79772011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978
7979 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7980 of math functions ceil, trunc, floor, round, and sqrt, when
7981 avaliable on the platform.
7982 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7983 name clash.
7984 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7985 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7986 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7987
aaddc98c
MP
79882011-10-30 Marek Polacek <mpolacek@redhat.com>
7989
7990 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7992
95b7042b
RM
79932011-11-11 Roland McGrath <roland@hack.frob.com>
7994
7995 * include/unistd.h: Fix __readlink return type.
7996 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7997
57769839
UD
79982011-11-11 Ulrich Drepper <drepper@gmail.com>
7999
8000 * stdlib/ucontext.h: Undo last change for makecontext.
8001
edc5984d
AS
80022011-11-11 Andreas Schwab <schwab@redhat.com>
8003
98591e58
AS
8004 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8005
edc5984d
AS
8006 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8007 * setjmp/setjmp.h: Mark functions as non-leaf.
8008 * setjmp/bits/setjmp2.h: Likewise.
8009 * stdlib/ucontext.h: Likewise.
8010
77cdc054
AS
80112011-11-10 Andreas Schwab <schwab@redhat.com>
8012
8013 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8014 (reused_arena): Don't check arena limit.
8015 (arena_get2): Atomically check arena limit.
8016
fe72eebd
UD
80172011-11-08 Ulrich Drepper <drepper@gmail.com>
8018
5f078c32
UD
8019 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8020 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8021
fe72eebd
UD
8022 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8023 instructions.
8024
ae1bc2fa
AS
80252011-11-07 Andreas Schwab <schwab@redhat.com>
8026
7583a88d
AS
8027 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8028 handler when locking.
8029
ae1bc2fa
AS
8030 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8031 Fix size of allocated buffer.
8032
10fb0bfa
AS
80332011-11-04 Andreas Schwab <schwab@redhat.com>
8034
998832a4
AS
8035 [BZ #10103]
8036 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8037 declarations for long double functions.
8038 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8039
10fb0bfa
AS
8040 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8041
3d7ba52b
AS
80422011-11-03 Andreas Schwab <schwab@redhat.com>
8043
a9ae54a1
AS
8044 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8045 installed.
8046
3d7ba52b
AS
8047 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8048 is disabled.
8049
bc8db248
ST
80502011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8051
8052 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8053
45b96dd6
AS
80542011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8055
647776f6
AS
8056 * include/alloca.h (stackinfo_alloca_round): Define.
8057 (extend_alloca): Use it.
8058 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8059 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8060 here.
8061
d91a8b93
AS
8062 * scripts/check-local-headers.sh: Ignore libaudit.h.
8063
45b96dd6
AS
8064 * nscd/Makefile (extra-objs): Make recursively expanded.
8065
432d41ce
UD
80662011-11-01 Ulrich Drepper <drepper@gmail.com>
8067
34372fc6
UD
8068 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8070
fadb59f8
UD
8071 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8072 * posix/tst-rfc3484-2.c: Likewise.
8073 * posix/tst-rfc3484-3.c: Likewise.
8074
78239589
UD
8075 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8076 process_vm_writev.
8077 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8078 process_vm_writev.
8079 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8080 process_vm_writev from libc using GLIBC_2.15 version.
8081
432d41ce
UD
8082 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8083
02f9c6cf
PP
80842011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8085
8086 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8087 stack usage.
8088
3a2c0242
UD
80892011-10-31 Ulrich Drepper <drepper@gmail.com>
8090
f4ec4833
UD
8091 [BZ #13367]
8092 * nss/getent.c (initgroups_keys): Show error message in case no group
8093 names are given.
8094
3a2c0242
UD
8095 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8096 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8097 __bump_nl_timestamp.
8098 * nscd/connections (nscd_init): When host database is served open
8099 netlink socket and request notification about configuration changes.
8100 (main_loop_poll): Track netlink file descriptor and bump timestamp
8101 in case data becomes available.
8102 (main_loop_epoll): Likewise.
8103 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8104 (database_pers_head): Add extra_data fileds.
8105 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8106 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8107 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8108 Adjust caller.
8109 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8110 in6ai data, call __free_in6ai.
8111 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8112 Add -DHAVE_NETLINK.
8113 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8114 interface information. Reuse previous data if netlink timestamp
8115 is not changed.
8116 (__bump_nl_timestamp): New function.
8117 (__free_in6ai): New function.
8118
636064eb
UD
81192011-10-30 Ulrich Drepper <drepper@gmail.com>
8120
8121 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8122 close_not_cancel_no_status here.
8123 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8124
9beb2334
UD
81252011-10-29 Ulrich Drepper <drepper@gmail.com>
8126
6ef76f3b
UD
8127 [BZ #13276]
8128 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8129 return value.
8130
0ffc4f3e 8131 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8132 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8133 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8134
cb95113e
UD
81352011-07-03 Andreas Jaeger <aj@suse.de>
8136
8137 [BZ #10709]
8138 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8139 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8140 * math/libm-test.inc (sin_test): Add test case.
8141
a1b560ff
UD
81422011-10-29 Ulrich Drepper <drepper@gmail.com>
8143
c9aaface
UD
8144 [BZ #13337]
8145 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8146 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8147
d272e7f1
UD
8148 * elf/chroot_canon.c (chroot_canon): Cleanups.
8149
1bc33071
UD
8150 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8151
1760874d
TJ
8152 [BZ #13335]
8153 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8154 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8155
51d91b18
UD
8156 * string/test-strchr.c: Make usable for strchrnul testing.
8157 * string/test-strchrnul.c: New file.
8158 * string/Makefile (strop-tests): Add strchrnul.
8159
a1b560ff 8160 * po/it.po: Update from translation team.
b611fb81 8161 * po/es.po: Likewise.
a1b560ff 8162
a5b81e1f
UD
81632011-10-28 Ulrich Drepper <drepper@gmail.com>
8164
fd52bc6d
UD
8165 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8166 the three constants needed as parameters. Drop the others.
8167 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8168 __m128i_strloadu_tolower.
52e4b9eb
UD
8169 Create and initialize variable zero and use it in all the places
8170 where _mm_setzero_si128 was used.
fd52bc6d 8171
a5b81e1f
UD
8172 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8173 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8174 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8175 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8176 anymore.
8177 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8178 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8179 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8180 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8181 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8182 __mpranred, __mptan.
8183 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8184 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8185 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8186 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8187 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8188 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8189 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8190 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8191 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8192
b4343346
AS
81932011-10-28 Andreas Schwab <schwab@redhat.com>
8194
0c92d8a8
AS
8195 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8196 redefine if SHARED.
8197 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8198
b4343346
AS
8199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8200 wide char related routines to wcsmbs subdir.
8201
3871f58f
AS
82022011-10-27 Andreas Schwab <schwab@redhat.com>
8203
8204 [BZ #13344]
8205 * misc/sys/cdefs.h (__THROWNL): Define.
8206 * posix/unistd.h: Use __THREADNL instead of __THREAD
8207 for memory synchronization functions.
8208
94d44d9f
RM
82092011-10-26 Roland McGrath <roland@hack.frob.com>
8210
21b64b15 8211 [BZ #13349]
94d44d9f
RM
8212 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8213 doesn't exist.
8214 * manual/stdio.texi (Obstack Streams): Node removed.
8215
f6ce9294
AS
82162011-10-26 Andreas Schwab <schwab@redhat.com>
8217
80479147
AS
8218 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8219 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8220 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8221
f6ce9294
AS
8222 * math/math_private.h (math_force_eval): Allow non-addressable
8223 arguments.
8224 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8225
618280a1
UD
82262011-10-25 Ulrich Drepper <drepper@gmail.com>
8227
e0016b11
UD
8228 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8229 file is not needed.
8230
8231 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8232 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8233 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8234 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8235 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8236 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8237 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8238 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8239 Add AVX variants.
8240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8244 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8245 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8246 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8247 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8248 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8249 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8250 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8251 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8252 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8253 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8254 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8255 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8256 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8257 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8258 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8259
8260 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8261 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8262
618280a1
UD
8263 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8264 place. Use VEX encoding when compiling for AVX.
8265
37822576
AS
82662011-10-25 Andreas Schwab <schwab@redhat.com>
8267
1f1e1947
AS
8268 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8269 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8270
37822576
AS
8271 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8272
31ea014d
UD
82732011-10-25 Ulrich Drepper <drepper@gmail.com>
8274
d7826aa1 8275 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8276 useless if() expression.
d7826aa1
UD
8277 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8280 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8282 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8286 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8287 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8288 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8290 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8291 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8292 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8293 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8294 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8295 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8296
31ea014d
UD
8297 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8298
16437fec
AS
82992011-10-25 Andreas Schwab <schwab@redhat.com>
8300
8301 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8302 condition.
8303 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8304
31d3cc00
UD
83052011-10-25 Ulrich Drepper <drepper@gmail.com>
8306
8307 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8308 .text section. Avoid duplicate constants.
8309 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8315 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8318 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8319 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8320 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8321 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8324 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8326 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8340 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8341 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8343 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8344 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8346 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8347 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8348 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8349 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8351 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8352 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8354
58985aa9
UD
83552011-10-24 Ulrich Drepper <drepper@gmail.com>
8356
202c9deb
UD
8357 * sysdeps/x86_64/dla.h: Move to ...
8358 * sysdeps/x86_64/fpu/dla.h: ...here.
8359 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8360 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8361
af968f62
UD
8362 * config.make.in: Add have-mfma4 entry.
8363 * configure.in: Substitute libc_cv_cc_fma4.
8364 * math/Makefile (dbl-only-routines): Add sincostab.
8365 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8366 Use __sincostab not sincos.
8367 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8368 name is a macro.
8369 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8373 using __copysign.
8374 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8375 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8376 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8377 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8378 and __inv.
8379 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8380 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8381 __copysign.
8382 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8383 define aliases when function name is a macro.
8384 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8385 sysdeps/ieee754/dbl-64/sincos.tbl.
8386 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8387 fma4-enabled routines.
8388 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8389 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8390 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8392 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8394 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8400 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8401 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8412 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8414 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8415 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8416 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8417 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8418
58985aa9
UD
8419 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8420 rename.
8421 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8423 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8424 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8426 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8427 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8428 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8429
a201fbcf
AS
84302011-10-24 Andreas Schwab <schwab@redhat.com>
8431
8432 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8433
fc2ee42a
LD
84342011-10-23 Ulrich Drepper <drepper@gmail.com>
8435
bb3129bd
UD
8436 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8437
0275fff8
UD
8438 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8439 prediction.
8440 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8441
2fa2ae85
UD
8442 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8443 Remove unused variable magic_bits.
8444 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8445
fc2ee42a
LD
8446 * string/strnlen.c: Define and use STRNLEN macro.
8447 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8448 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8450 * wcsmbs/wcslen.c: Define and use WCSLEN.
8451 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8452 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8453 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8454 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8455 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8456 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8457 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8458
ce7dd29f
LD
84592011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8460
8461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8462 strnlen-sse2-no-bsf.
8463 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8465 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8466 Add strnlen support.
8467 (USE_AS_STRNLEN): New macro.
8468 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8469 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8470 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8471 * sysdeps/x86_64/wcslen.S: New file.
8472
979c70a3
MZ
84732011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8474
8475 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8476 XMM-moves are used for copying on small sizes.
8477
2d09f82f
LD
84782011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8479
8480 * wcsmbs/Makefile (strop-tests): Add wcschr.
8481 * wcsmbs/test-wcschr.c: New file.
8482 * string/test-strchr.c: Update.
8483 Add wcschr support.
8484 (WIDE): New macro.
8485
619fccca
LD
84862011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8487
2d09f82f 8488 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8489 * wcsmbs/test-wcslen.c: New file.
8490 * string/test-strlen.c: Update.
8491 Add wcslen support.
8492 (WIDE): New macro.
8493
09f699ea
UD
84942011-10-23 Ulrich Drepper <drepper@gmail.com>
8495
8496 * po/it.po: Update from translation team.
8497
95584d3b
LD
84982011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8499
8500 * sysdeps/x86_64/wcscmp.S: Update.
8501 Fix wrong comparison semantics.
8502 wcscmp shall use signed comparison not unsigned.
8503 Don't use substraction to avoid overflow bug.
8504 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8505 * wcsmbc/wcscmp.c: Likewise.
8506 * string/test-strcmp.c: Likewise.
8507 Add new tests to check cases with negative values.
8508
c8b3296b
UD
85092011-10-23 Ulrich Drepper <drepper@gmail.com>
8510
8511 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8512 * sysdeps/x86_64/dla.h: ...here. New file.
8513 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8518 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8519 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8522
246ad57a
AS
85232011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8524
8525 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8526 __ynl_finite aliases.
8527
a1a87169
UD
85282011-10-22 Ulrich Drepper <drepper@gmail.com>
8529
0d355eb7
UD
8530 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8531
a1a87169
UD
8532 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8533 define DLA_FMA.
8534 [DLA_FMA] (EMULV): Use DLA_FMA.
8535 [DLA_FMA] (MUL12): Use EMULV.
8536 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8537 that are not needed.
8538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8545
ee2aafe0
AS
85462011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8547
8548 * math/s_nan.c: Undef __nan.
8549 * math/s_nanf.c: Undef __nanf.
8550 * math/s_nanl.c: Undef __nanl.
8551 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8552 "math_private.h".
8553
bc62c2fb
UD
85542011-10-22 Ulrich Drepper <drepper@gmail.com>
8555
77425c63
UD
8556 * math/s_catan.c: Add branch predictions.
8557 * math/s_catanf.c: Likewise.
8558 * math/s_catanh.c: Likewise.
8559 * math/s_catanhf.c: Likewise.
8560 * math/s_catanhl.c: Likewise.
8561 * math/s_catanl.c: Likewise.
8562 * math/s_cexp.c: Likewise.
8563 * math/s_cexpf.c: Likewise.
8564 * math/s_cexpl.c: Likewise.
8565 * math/s_clog.c: Likewise.
8566 * math/s_clog10.c: Likewise.
8567 * math/s_clog10f.c: Likewise.
8568 * math/s_clog10l.c: Likewise.
8569 * math/s_clogf.c: Likewise.
8570 * math/s_clogl.c: Likewise.
8571 * math/s_csqrt.c: Likewise.
8572 * math/s_csqrtf.c: Likewise.
8573 * math/s_csqrtl.c: Likewise.
8574 * math/s_ctanf.c: Likewise.
8575 * math/s_ctanh.c: Likewise.
8576 * math/s_ctanhf.c: Likewise.
8577 * math/s_ctanhl.c: Likewise.
8578 * math/s_ctanl.c: Likewise.
8579
bc62c2fb
UD
8580 * math/math_private.h: Define __nan, __nanf, __nanl.
8581 * math/s_cacosh.c: Include <math_private.h>.
8582 * math/s_cacoshl.c: Likewise.
8583 * math/s_casinh.c: Likewise.
8584 * math/s_casinhf.c: Likewise.
8585 * math/s_casinhl.c: Likewise.
8586 * math/s_ccos.c: Rely entire on ccosh.
8587 * math/s_ccosf.c: Rely entire on ccoshf.
8588 * math/s_ccosl.c: Rely entirely on ccoshl.
8589 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8590 Remove tests for FE_INVALID.
8591 * math/s_ccoshf.c: Likewise.
8592 * math/s_ccoshl.c: Likewise.
8593 * math/s_csin.c: Likewise.
8594 * math/s_csinf.c: Likewise.
8595 * math/s_csinh.c Likewise.
8596 * math/s_csinhf.c: Likewise.
8597 * math/s_csinhl.c: Likewise.
8598 * math/s_csinl.c: Likewise.
8599 * math/s_ctan.c: Likewise.
8600 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8601 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8602 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8603
8ec250a4
UD
86042011-10-21 Ulrich Drepper <drepper@gmail.com>
8605
c196fed8
UD
8606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8607 compilation problems.
8608
8ec250a4
UD
8609 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8610 __builtin_expect.
8611
8d4f46c6
UD
86122011-10-20 Ulrich Drepper <drepper@gmail.com>
8613
ed72b654
UD
8614 * sysdeps/i386/configure.in: Test for -mfma4 option.
8615 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8616 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8617 COMMON_CPUID_INDEX_80000001.
8618 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8619 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8620 use it if FMA3 is not supported.
8621 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8622
8d4f46c6
UD
8623 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8624 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8625
d45c60c2
AS
86262011-10-20 Andreas Schwab <schwab@redhat.com>
8627
8628 [BZ #12892]
8629 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8630 it would create a cycle with a link time dependency.
8631
d9a4d2ab
UD
86322011-10-19 Ulrich Drepper <drepper@gmail.com>
8633
855d1560
UD
8634 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8635 instruction.
8636 * string/Makefile (strop-tests): Add rawmemchr.
8637 * string/test-rawmemchr.c: New file.
8638
d9a4d2ab
UD
8639 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8640 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8641 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8642 when compiling str{,n}casecmp and when AVX is available. Hook up
8643 new optimized code in initializers.
8644
8f3b1ffe
AS
86452011-10-19 Andreas Schwab <schwab@redhat.com>
8646
8647 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8648 __feraiseexcept instead of feraiseexcept.
8649
d38f1dba
UD
86502011-10-18 Ulrich Drepper <drepper@gmail.com>
8651
d9a8d0ab
UD
8652 * math/math_private.h: Define defaults for libc_fetestexcept and
8653 libc_feupdateenv.
8654 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8655 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8656 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8657 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8659 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8660 libc_fetestexcept and libc_feupdateenv.
8661
4855e3dd
UD
8662 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8663 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8664 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8665 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8666 libc_feholdexcept_setround.
8667
581d30e3
UD
8668 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8669 Add s_nearbyint-c and s_nearbyintf-c.
8670 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8671 nearbyintf inlines.
8672 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8673 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8674 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8675 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8676
d38f1dba
UD
8677 * math/math_private.h: Define defaults for libc_fegetround,
8678 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8679 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8680 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8681 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8682 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8683 standard functions.
8684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8685 Remove comments and hacks for old compiler versions.
8686 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8687 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8688 libc_feholdexceptl.
8689
caa6c9d8
AS
86902011-10-18 Andreas Schwab <schwab@redhat.com>
8691
8692 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8693 (__feraiseexcept_renamed): Add __NTH.
8694 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8695 namespace violations.
8696
97c066e6
UD
86972011-10-17 Ulrich Drepper <drepper@gmail.com>
8698
99ce7b04
UD
8699 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8700
1004d182
UD
8701 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8702
228a984d
UD
8703 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8704 recently added interfaces.
8705 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8706
c8553a6a
UD
8707 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8708 about macro parameter expansion.
8709
ed22dcf6
UD
8710 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8711 __NO_MATH_INLINES is defined. Cleanups.
8712
8713 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8714 and __floorf is target has SSE4.1.
8715 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8716 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8717 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8718 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8719
b171c137
UD
8720 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8721 name.
8722 (floorf): Likewise.
8723
97c066e6
UD
8724 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8725
629f62ef
AS
87262011-10-17 Andreas Schwab <schwab@redhat.com>
8727
49a43d80
AS
8728 * misc/sys/cdefs.h: Fix last change.
8729
629f62ef
AS
8730 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8731 database lookup.
8732
e453f6cd
UD
87332011-10-16 Ulrich Drepper <drepper@gmail.com>
8734
aa78043a
UD
8735 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8736
ad0f5cad
UD
8737 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8738 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8743 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8744 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8746 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8747 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8748 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8749 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8750 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8751 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8752 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8753 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8754 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8755 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8756 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8757 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8758 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8759
8760 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8761 ceil, ceilf, floor, floorf.
8762
8763 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8764 Perform IRELATIVE relocations last.
8765
e453f6cd
UD
8766 * elf/do-rel.h: Add another parameter nrelative, replacing the
8767 local variable with the same name. Change name of the function
8768 to end in Rel or Rela (uppercase).
8769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8770 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8771 elf_dynamic_do_##reloc function.
8772
fd5bdc09
UD
87732011-10-15 Ulrich Drepper <drepper@gmail.com>
8774
79b195b5
UD
8775 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8776 is sufficient, at least on modern CPUs.
8777
d4a28569
UD
8778 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8779
b61099b5
UD
8780 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8781 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8782
bcf01e6d
UD
8783 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8784 __expl_finite.
8785 * math/bits/math-finite.h: Add entries for exp.
8786 * math/e_expl.c: Add __*_finite alias.
8787 * sysdeps/i386/fpu/e_exp.S: Likewise.
8788 * sysdeps/i386/fpu/e_expf.S: Likewise.
8789 * sysdeps/i386/fpu/e_expl.c: Likewise.
8790 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8791 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8792 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8793 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8794 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8795 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8796 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8797
ba1a0d59
UD
8798 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8799 is sufficient, at least on modern CPUs.
8800
fd5bdc09
UD
8801 * ctype/ctype-info.c (__ctype_init): Define.
8802 * include/ctype.h (__ctype_init): Declare.
8803 (__ctype_b_loc): The variable is always initialized.
8804 (__ctype_toupper_loc): Likewise.
8805 (__ctype_tolower_loc): Likewise.
8806 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8807 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8808
7872cfb0
AS
88092011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8810
b468825a
AS
8811 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8812
7872cfb0
AS
8813 * configure.in: Also look in $cxxmachine/include for C++ system
8814 headers.
8815
be13f7bf
LD
88162011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8817
8818 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8819 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8820 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8821 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8822 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8823 (USE_AS_WMEMCMP): New macro.
8824 Fixing indents.
8825 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8826 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8827 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8828 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8829 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8830 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8831 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8832 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8833 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8834 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8835 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8836 (USE_AS_WMEMCMP): New macro.
8837 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8838 * sysdeps/string/test-memcmp.c: Update.
8839 Fix simple_wmemcmp.
8840 Add new tests.
8841 * wcsmbs/wmemcmp.c: Update.
8842 (WMEMCMP): New macro.
8843 Fix overflow bug.
8844
556a2007
AJ
88452011-10-12 Andreas Jaeger <aj@suse.de>
8846
8847 [BZ #13268]
8848 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8849
538faaa7
UD
88502011-10-15 Ulrich Drepper <drepper@gmail.com>
8851
ab6737ff
UD
8852 * libio/iofwide.c (do_length): Avoid warning.
8853
538faaa7
UD
8854 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8855
396a21b1
UD
88562011-10-14 Ulrich Drepper <drepper@gmail.com>
8857
cdf2901f
UD
8858 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8859
38ad40ce
UD
8860 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8861 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8862 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8863 * sysdeps/i386/i686/fpu/e_log.S: New file.
8864 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8865 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8866
396a21b1
UD
8867 * ctype/ctype.h: Add support for inlined isXXX functions when
8868 compiling C++ code.
8869
6b1f68c9
AS
88702011-10-14 Andreas Schwab <schwab@redhat.com>
8871
349290c0
AS
8872 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8873
6b1f68c9
AS
8874 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8875
f2282d42
RM
88762011-10-13 Roland McGrath <roland@hack.frob.com>
8877
8878 [BZ #13291]
8879 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8880
5298ffa8
AS
88812011-10-13 Andreas Schwab <schwab@redhat.com>
8882
714fad23
AS
8883 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8884 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8885 feraiseexcept.
8886
81dcc7fb
AS
8887 * sysdeps/x86_64/memrchr.S: Check for zero size.
8888
5298ffa8
AS
8889 * string/stratcliff.c: Add memrchr tests.
8890
951fbcec
LD
88912011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8892
8893 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8894 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8895 rawmemchr-sse2 rawmemchr-sse2-bsf.
8896 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8897 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8898 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8899 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8900 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8901 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8902 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8903 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8904 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8905 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8906 * string/memrchr.c (MEMRCHR): New macro.
8907
0ac5ae23
UD
89082011-10-12 Ulrich Drepper <drepper@gmail.com>
8909
8910 Add integration with gcc's -ffinite-math-only and optimize wrapper
8911 functions in libm.
8912 * Versions.def: Define GLIBC_2.15 version for libm.
8913 * math/Makefile (headers): Add bits/math-finite.h.
8914 * math/bits/math-finite.h: New file.
8915 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8916 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8917 * math/e_acoshl.c: Add __*_finite alias.
8918 * math/e_acosl.c: Likewise.
8919 * math/e_asinl.c: Likewise.
8920 * math/e_atan2l.c: Likewise.
8921 * math/e_atanhl.c: Likewise.
8922 * math/e_coshl.c: Likewise.
8923 * math/e_exp10.c: Likewise.
8924 * math/e_exp10f.c: Likewise.
8925 * math/e_exp10l.c: Likewise.
8926 * math/e_exp2l.c: Likewise.
8927 * math/e_fmodl.c: Likewise.
8928 * math/e_gammal_r.c: Likewise.
8929 * math/e_hypotl.c: Likewise.
8930 * math/e_j0l.c: Likewise.
8931 * math/e_j1l.c: Likewise.
8932 * math/e_jnl.c: Likewise.
8933 * math/e_lgammal_r.c: Likewise.
8934 * math/e_log10l.c: Likewise.
8935 * math/e_log2l.c: Likewise.
8936 * math/e_logl.c: Likewise.
8937 * math/e_powl.c: Likewise.
8938 * math/e_sinhl.c: Likewise.
8939 * math/e_sqrtl.c: Likewise.
8940 * math/e_scalb.c: Completely rewritten and optimized.
8941 * math/e_scalbf.c: Likewise.
8942 * math/e_scalbl.c: Likewise.
8943 * math/w_acos.c: Likewise.
8944 * math/w_acosf.c: Likewise.
8945 * math/w_acosl.c: Likewise.
8946 * math/w_acosh.c: Likewise.
8947 * math/w_acoshf.c: Likewise.
8948 * math/w_acoshl.c: Likewise.
8949 * math/w_asin.c: Likewise.
8950 * math/w_asinf.c: Likewise.
8951 * math/w_asinl.c: Likewise.
8952 * math/w_atan2.c: Likewise.
8953 * math/w_atan2f.c: Likewise.
8954 * math/w_atan2l.c: Likewise.
8955 * math/w_atanh.c: Likewise.
8956 * math/w_atanhf.c: Likewise.
8957 * math/w_atanhl.c: Likewise.
8958 * math/w_exp10.c: Likewise.
8959 * math/w_exp10f.c: Likewise.
8960 * math/w_exp10l.c: Likewise.
8961 * math/w_fmod.c: Likewise.
8962 * math/w_fmodf.c: Likewise.
8963 * math/w_fmodl.c: Likewise.
8964 * math/w_j0.c: Likewise.
8965 * math/w_j0f.c: Likewise.
8966 * math/w_j0l.c: Likewise.
8967 * math/w_j1.c: Likewise.
8968 * math/w_j1f.c: Likewise.
8969 * math/w_j1l.c: Likewise.
8970 * math/w_jn.c: Likewise.
8971 * math/w_jnf.c: Likewise.
8972 * math/w_log.c: Likewise.
8973 * math/w_logf.c: Likewise.
8974 * math/w_logl.c: Likewise.
8975 * math/w_log10.c: Likewise.
8976 * math/w_log10f.c: Likewise.
8977 * math/w_log10l.c: Likewise.
8978 * math/w_log2.c: Likewise.
8979 * math/w_log2f.c: Likewise.
8980 * math/w_log2l.c: Likewise.
8981 * math/w_pow.c: Likewise.
8982 * math/w_powf.c: Likewise.
8983 * math/w_powl.c: Likewise.
8984 * math/w_remainder.c: Likewise.
8985 * math/w_remainderf.c: Likewise.
8986 * math/w_remainderl.c: Likewise.
8987 * math/w_scalb.c: Likewise.
8988 * math/w_scalbf.c: Likewise.
8989 * math/w_scalbl.c: Likewise.
8990 * math/w_sqrt.c: Likewise.
8991 * math/w_sqrtf.c: Likewise.
8992 * math/w_sqrtl.c: Likewise.
8993 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8994 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8995 used.
8996 * math/math_private.h: Declare __kernel_standard_f.
8997 * math/w_cosh.c: Remove cruft and optimize a bit.
8998 * math/w_coshf.c: Likewise.
8999 * math/w_coshl.c: Likewise.
9000 * math/w_exp2.c: Likewise.
9001 * math/w_exp2f.c: Likewise.
9002 * math/w_exp2l.c: Likewise.
9003 * math/w_hypot.c: Likewise.
9004 * math/w_hypotf.c: Likewise.
9005 * math/w_hypotl.c: Likewise.
9006 * math/w_lgamma.c: Likewise.
9007 * math/w_lgamma_r.c: Likewise.
9008 * math/w_lgammaf.c: Likewise.
9009 * math/w_lgammaf_r.c: Likewise.
9010 * math/w_lgammal.c: Likewise.
9011 * math/w_lgammal_r.c: Likewise.
9012 * math/w_sinh.c: Likewise.
9013 * math/w_sinhf.c: Likewise.
9014 * math/w_sinhl.c: Likewise.
9015 * math/w_tgamma.c: Likewise.
9016 * math/w_tgammaf.c: Likewise.
9017 * math/w_tgammal.c: Likewise.
9018 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9019 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9020 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9021 Minor optimizations. Pretty printing. Remove cruft.
9022 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9023 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9024 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9025 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9026 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9027 * sysdeps/i386/fpu/e_asin.S: Likewise.
9028 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9029 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9030 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9031 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9032 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9033 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9034 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9035 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9036 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9037 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9038 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9039 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9040 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9041 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9042 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9043 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9044 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9045 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9046 * sysdeps/i386/fpu/e_log.S: Likewise.
9047 * sysdeps/i386/fpu/e_log10.S: Likewise.
9048 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9049 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9050 * sysdeps/i386/fpu/e_log2.S: Likewise.
9051 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9052 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9053 * sysdeps/i386/fpu/e_logf.S: Likewise.
9054 * sysdeps/i386/fpu/e_logl.S: Likewise.
9055 * sysdeps/i386/fpu/e_pow.S: Likewise.
9056 * sysdeps/i386/fpu/e_powf.S: Likewise.
9057 * sysdeps/i386/fpu/e_powl.S: Likewise.
9058 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9059 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9060 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9061 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9062 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9063 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9064 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9065 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9066 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9097 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9098 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9099 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9100 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9101 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9102 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9103 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9104 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9105 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9106 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9107 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9108 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9152 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9153 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9155 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9158 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9159 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9160 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9161 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9162 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9163 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9164 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9165 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9166 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9167 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9168 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9169 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9170 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9171 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9172 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9173 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9174 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9175 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9176 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9177 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9178 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9179 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9180 (__isnanf): Likewise.
9181 (__isinf_ns): Likewise.
9182 (__isinf_nsf): Likewise.
9183 (__finite): Likewise.
9184 (__finitef): Likewise.
9185 (__ieee754_sqrt): Define as macro.
9186 (__ieee754_sqrtf): Define as macro.
9187 (__ieee754_sqrtl): Define as macro.
9188 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9189 inlined copy.
9190 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9191 __FINITE_MATH_ONLY__ consistent.
9192 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9193
12cc2fcd
AS
91942011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9195
a843a204
AS
9196 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9197 of rawmemchr.
9198
12cc2fcd
AS
9199 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9200
c853acd5
UD
92012011-10-09 Ulrich Drepper <drepper@gmail.com>
9202
9203 * po/ja.po: Update from translation team.
9204
c658d255
RM
92052011-10-08 Roland McGrath <roland@hack.frob.com>
9206
110946e4
RM
9207 * locale/programs/locarchive.c (prepare_address_space): New function.
9208 (create_archive, enlarge_archive, open_archive): Use it.
9209
50604220
RM
9210 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9211 inside [SHARED], where it is used.
9212
c658d255
RM
9213 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9214
9215 * nss/getent.c (netgroup_keys): Remove unused variable.
9216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9217
6a621eb7
UD
92182011-10-08 Ulrich Drepper <drepper@gmail.com>
9219
7edb55ce
UD
9220 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9221 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9222 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9223 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9224 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9225 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9226 * math/Makefile (libm-calls): Add s_isinf_ns.
9227 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9228 * math/multc3.c: Likewise.
9229 * math/s_casin.c: Likewise.
9230 * math/s_casinf.c: Likewise.
9231 * math/s_casinl.c: Likewise.
9232 * math/s_ccos.c: Likewise.
9233 * math/s_ccosf.c: Likewise.
9234 * math/s_ccosl.c: Likewise.
9235 * math/s_ctan.c: Likewise.
9236 * math/s_ctanf.c: Likewise.
9237 * math/s_ctanh.c: Likewise.
9238 * math/s_ctanhf.c: Likewise.
9239 * math/s_ctanhl.c: Likewise.
9240 * math/s_ctanl.c: Likewise.
9241 * math/w_fmod.c: Likewise.
9242 * math/w_fmodf.c: Likewise.
9243 * math/w_fmodl.c: Likewise.
9244 * math/w_remainder.c: Likewise.
9245 * math/w_remainderf.c: Likewise.
9246 * math/w_remainderl.c: Likewise.
9247 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9248 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9249 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9250 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9251 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9252 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9253 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9254 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9255
187da0ae
UD
9256 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9257 of the number.
9258 * stdio-common/printf_fphex.c: Likewise.
9259 * stdio-common/printf_size.c: Likewise.
9260
9277c064
UD
9261 * math/e_exp10.c: Include math_private.h using <...> not "...".
9262 * math/e_exp10f.c: Likewise.
9263 * math/e_exp10l.c: Likewise.
9264 * math/e_exp2l.c: Likewise.
9265 * math/e_j0l.c: Likewise.
9266 * math/e_j1l.c: Likewise.
9267 * math/e_jnl.c: Likewise.
9268 * math/e_lgammal_r.c: Likewise.
9269 * math/e_rem_pio2l.c: Likewise.
9270 * math/e_scalb.c: Likewise.
9271 * math/e_scalbf.c: Likewise.
9272 * math/e_scalbl.c: Likewise.
9273 * math/k_cosl.c: Likewise.
9274 * math/k_sinl.c: Likewise.
9275 * math/k_tanl.c: Likewise.
9276 * math/s_cacoshf.c: Likewise.
9277 * math/s_catan.c: Likewise.
9278 * math/s_catanf.c: Likewise.
9279 * math/s_catanh.c: Likewise.
9280 * math/s_catanhf.c: Likewise.
9281 * math/s_catanhl.c: Likewise.
9282 * math/s_catanl.c: Likewise.
9283 * math/s_ccosh.c: Likewise.
9284 * math/s_ccoshf.c: Likewise.
9285 * math/s_ccoshl.c: Likewise.
9286 * math/s_cexp.c: Likewise.
9287 * math/s_cexpf.c: Likewise.
9288 * math/s_cexpl.c: Likewise.
9289 * math/s_clog.c: Likewise.
9290 * math/s_clog10.c: Likewise.
9291 * math/s_clog10f.c: Likewise.
9292 * math/s_clog10l.c: Likewise.
9293 * math/s_clogf.c: Likewise.
9294 * math/s_clogl.c: Likewise.
9295 * math/s_csin.c: Likewise.
9296 * math/s_csinf.c: Likewise.
9297 * math/s_csinh.c: Likewise.
9298 * math/s_csinhf.c: Likewise.
9299 * math/s_csinhl.c: Likewise.
9300 * math/s_csinl.c: Likewise.
9301 * math/s_csqrt.c: Likewise.
9302 * math/s_csqrtf.c: Likewise.
9303 * math/s_csqrtl.c: Likewise.
9304 * math/s_ctan.c: Likewise.
9305 * math/s_ctanf.c: Likewise.
9306 * math/s_ctanh.c: Likewise.
9307 * math/s_ctanhf.c: Likewise.
9308 * math/s_ctanhl.c: Likewise.
9309 * math/s_ctanl.c: Likewise.
9310 * math/s_ldexp.c: Likewise.
9311 * math/s_ldexpf.c: Likewise.
9312 * math/s_ldexpl.c: Likewise.
9313 * math/s_significand.c: Likewise.
9314 * math/s_significandf.c: Likewise.
9315 * math/s_significandl.c: Likewise.
9316 * math/w_acos.c: Likewise.
9317 * math/w_acosf.c: Likewise.
9318 * math/w_acosh.c: Likewise.
9319 * math/w_acoshf.c: Likewise.
9320 * math/w_acoshl.c: Likewise.
9321 * math/w_acosl.c: Likewise.
9322 * math/w_asin.c: Likewise.
9323 * math/w_asinf.c: Likewise.
9324 * math/w_asinl.c: Likewise.
9325 * math/w_atan2.c: Likewise.
9326 * math/w_atan2f.c: Likewise.
9327 * math/w_atan2l.c: Likewise.
9328 * math/w_atanh.c: Likewise.
9329 * math/w_atanhf.c: Likewise.
9330 * math/w_atanhl.c: Likewise.
9331 * math/w_cosh.c: Likewise.
9332 * math/w_coshf.c: Likewise.
9333 * math/w_coshl.c: Likewise.
9334 * math/w_dremf.c: Likewise.
9335 * math/w_exp10.c: Likewise.
9336 * math/w_exp10f.c: Likewise.
9337 * math/w_exp10l.c: Likewise.
9338 * math/w_exp2.c: Likewise.
9339 * math/w_exp2f.c: Likewise.
9340 * math/w_fmod.c: Likewise.
9341 * math/w_fmodf.c: Likewise.
9342 * math/w_fmodl.c: Likewise.
9343 * math/w_hypot.c: Likewise.
9344 * math/w_hypotf.c: Likewise.
9345 * math/w_hypotl.c: Likewise.
9346 * math/w_j0.c: Likewise.
9347 * math/w_j0f.c: Likewise.
9348 * math/w_j0l.c: Likewise.
9349 * math/w_j1.c: Likewise.
9350 * math/w_j1f.c: Likewise.
9351 * math/w_j1l.c: Likewise.
9352 * math/w_jn.c: Likewise.
9353 * math/w_jnf.c: Likewise.
9354 * math/w_jnl.c: Likewise.
9355 * math/w_lgamma.c: Likewise.
9356 * math/w_lgamma_r.c: Likewise.
9357 * math/w_lgammaf.c: Likewise.
9358 * math/w_lgammaf_r.c: Likewise.
9359 * math/w_lgammal.c: Likewise.
9360 * math/w_lgammal_r.c: Likewise.
9361 * math/w_log.c: Likewise.
9362 * math/w_log10.c: Likewise.
9363 * math/w_log10f.c: Likewise.
9364 * math/w_log10l.c: Likewise.
9365 * math/w_log2.c: Likewise.
9366 * math/w_log2f.c: Likewise.
9367 * math/w_log2l.c: Likewise.
9368 * math/w_logf.c: Likewise.
9369 * math/w_logl.c: Likewise.
9370 * math/w_pow.c: Likewise.
9371 * math/w_powf.c: Likewise.
9372 * math/w_powl.c: Likewise.
9373 * math/w_remainder.c: Likewise.
9374 * math/w_remainderf.c: Likewise.
9375 * math/w_remainderl.c: Likewise.
9376 * math/w_scalb.c: Likewise.
9377 * math/w_scalbf.c: Likewise.
9378 * math/w_scalbl.c: Likewise.
9379 * math/w_sinh.c: Likewise.
9380 * math/w_sinhf.c: Likewise.
9381 * math/w_sinhl.c: Likewise.
9382 * math/w_sqrt.c: Likewise.
9383 * math/w_sqrtf.c: Likewise.
9384 * math/w_sqrtl.c: Likewise.
9385 * math/w_tgamma.c: Likewise.
9386 * math/w_tgammaf.c: Likewise.
9387 * math/w_tgammal.c: Likewise.
9388
6a621eb7
UD
9389 * po/ja.po: Update from translation team.
9390
bf582445
AJ
93912011-09-29 Andreas Jaeger <aj@suse.de>
9392
f9efbf3a
AJ
9393 [BZ #13179]
9394 * sunrpc/netname.c (netname2host): Fix logic.
9395
bf582445
AJ
9396 [BZ #6779]
9397 [BZ #6783]
9398 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9399 correctly.
9400 * math/w_remainder.c (__remainder): Likewise.
9401 * math/w_remainderf.c (__remainderf): Likewise.
9402 * math/libm-test.inc (remainder_test): Add test cases.
9403
48693bea
AK
94042011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9405
9406 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9407 sdiv_qrnnd.
9408
42622229
LD
94092011-10-07 Ulrich Drepper <drepper@gmail.com>
9410
9411 * string/test-memcmp.c: Avoid unncessary #defines.
9412 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9413
093ecf92
LD
94142011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9415
9416 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9417 Use new sse2 version for core i3 - i7 as it's faster
9418 than sse42 version.
9419 (bit_Prefer_PMINUB_for_stringop): New.
9420 * sysdeps/x86_64/rawmemchr.S: Update.
9421 Replace with faster SSE2 version.
9422 * sysdeps/x86_64/memrchr.S: New file.
9423 * sysdeps/x86_64/memchr.S: Update.
9424 Replace with faster SSE2 version.
9425
fde56e5c
MP
94262011-09-12 Marek Polacek <mpolacek@redhat.com>
9427
9428 * elf/dl-load.c (lose): Add cast to avoid warning.
9429
21fd49a9
UD
94302011-10-07 Ulrich Drepper <drepper@gmail.com>
9431
5a06e643
UD
9432 * po/ca.po: Update from translation team.
9433
684ae515
UD
9434 * inet/getnetgrent_r.c: Hook up nscd.
9435 * nscd/Makefile (routines): Add nscd_netgroup.
9436 (nscd-modules): Add netgroupcache.
9437 (CFLAGS-netgroupcache.c): Define.
9438 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9439 (cache_search): Add const to second parameter.
9440 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9441 INNETGR.
9442 (dbs): Add netgrdb entry.
9443 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9444 (verify_persistent_db): Handle netgrdb.
9445 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9446 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9447 GETFDNETGR.
9448 (netgroup_response_header): Define.
9449 (innetgroup_response_header): Define.
9450 (datahead): Add netgroup_response_header and innetgroup_response_header
9451 elements.
9452 * nscd/nscd.conf: Add entries for netgroup cache.
9453 * nscd/nscd.h (dbtype): Add netgrdb.
9454 (_PATH_NSCD_NETGROUP_DB): Define.
9455 (netgroup_iov_disabled): Declare.
9456 (xmalloc, xcalloc, xrealloc): Move declarations here.
9457 (cache_search): Adjust prototype.
9458 Add netgroup-related prototypes.
9459 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9460 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9461 (__nscd_innetgr): Declare.
9462 * nscd/selinux.c (perms): Use access_vector_t as element type and
9463 add netgroup-related initializers.
9464 * nscd/netgroupcache.c: New file.
9465 * nscd/nscd_netgroup.c: New file.
9466 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9467 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9468 For four parameters use innetgr.
9469 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9470 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9471 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9472 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9473
21fd49a9
UD
9474 * nscd/connections.c (register_traced_file): Don't register file
9475 for disabled databases.
9476
054c0457
UD
94772011-10-06 Ulrich Drepper <drepper@gmail.com>
9478
32b63198
UD
9479 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9480
054c0457
UD
9481 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9482 from tree and freeing node.
9483
64031225
JO
94842011-09-25 Jiri Olsa <jolsa@redhat.com>
9485
9486 * nss/nsswitch.c (__nss_database_lookup): Handle
9487 nss_parse_service_list out of memory case.
9488
0490345c
JO
94892011-09-15 Jiri Olsa <jolsa@redhat.com>
9490
9491 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9492 out of memory case.
9493
3a62d00d
AS
94942011-10-04 Andreas Schwab <schwab@redhat.com>
9495
9496 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9497 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9498 pass it down.
9499 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9500 elf_machine_rela, elf_machine_lazy_rel.
9501 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9502 (ELF_DYNAMIC_DO_REL): Likewise.
9503 (ELF_DYNAMIC_DO_RELA): Likewise.
9504 (ELF_DYNAMIC_RELOCATE): Likewise.
9505 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9506 to ELF_DYNAMIC_DO_REL.
9507 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9508 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9509 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9510 elf_machine_rela.
9511 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9512 skip_ifunc, don't call ifunc function if non-zero.
9513 (elf_machine_rela): Likewise.
9514 (elf_machine_lazy_rel): Likewise.
9515 (elf_machine_lazy_rela): Likewise.
9516 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9517 (elf_machine_lazy_rel): Likewise.
9518 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9519 Likewise.
9520 (elf_machine_lazy_rel): Likewise.
9521 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9522 Likewise.
9523 (elf_machine_lazy_rel): Likewise.
9524 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9525 (elf_machine_lazy_rel): Likewise.
9526 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9527 (elf_machine_lazy_rel): Likewise.
9528 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9529 (elf_machine_lazy_rel): Likewise.
9530 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9531 (elf_machine_lazy_rel): Likewise.
9532 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9533 (elf_machine_lazy_rel): Likewise.
9534 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9535 (elf_machine_lazy_rel): Likewise.
9536
68577918
UD
95372011-09-28 Ulrich Drepper <drepper@gmail.com>
9538
9539 * nss/nss_files/files-init.c (_nss_files_init): Use static
9540 initialization for all the *_traced_file variables.
9541
68822d74
AS
95422011-09-28 Andreas Schwab <schwab@redhat.com>
9543
9544 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9545
2056100b
RM
95462011-09-27 Roland McGrath <roland@hack.frob.com>
9547
9548 [BZ #13226]
9549 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9550
32c76b63
AS
95512011-09-27 Andreas Schwab <schwab@redhat.com>
9552
9553 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9554 Reread the line before reparsing it.
9555
bf972c9d
AS
95562011-09-26 Andreas Schwab <schwab@redhat.com>
9557
9558 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9559
e057a1b5
JM
95602011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9561 Maxim Kuvyrkov <maxim@codesourcery.com>
9562 Joseph Myers <joseph@codesourcery.com>
9563
9564 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9565 if needed for __stack_chk_guard.
9566
bc7e1c36
RM
95672011-09-19 Roland McGrath <roland@hack.frob.com>
9568
ecb1482f
RM
9569 * sysdeps/posix/spawni.c (script_execute): Always define it.
9570 It will be optimized away if unused.
9571 (maybe_script_execute): New function.
9572 (__spawni): Call it.
9573
bc7e1c36
RM
9574 * Makerules: Don't include tls.make.
9575 (config-tls): Always set to thread.
9576 * tls.make.c: File removed.
9577
1c3b002b
MF
95782011-09-19 Mike Frysinger <vapier@gentoo.org>
9579
9580 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9581 * config.make.in (CPPFLAGS-config): New substituted variable.
9582
2840865d
UD
95832011-09-15 Ulrich Drepper <drepper@gmail.com>
9584
88738eb6
UD
9585 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9586
cbf645a6 9587 [BZ #13192]
2840865d
UD
9588 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9589 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9590
b402e91a
RM
95912011-09-15 Roland McGrath <roland@hack.frob.com>
9592
9593 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9594 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9595 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9596 (CALL_FAIL): Likewise.
9597 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9598 (CALL_FAIL): Macro removed.
9599 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9600
4c1a1f71
UD
96012011-09-15 Ulrich Drepper <drepper@gmail.com>
9602
9603 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9604 for __FINITE_MATH_ONLY__ == 1.
9605
edc121be
AS
96062011-09-15 Andreas Schwab <schwab@redhat.com>
9607
9608 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9609 __ieee754_sqrt instead of sqrt.
9610 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9611 __ieee754_sqrtf instead of sqrtf.
9612 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9613 __floorf instead of floorf.
9614 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9615 __floorf, __truncf instead of floorf, truncf.
9616
cd205654
UD
96172011-09-14 Ulrich Drepper <drepper@gmail.com>
9618
ee4d0315
UD
9619 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9620
cd205654
UD
9621 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9622 __extern_always_inline.
9623 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9624 32-bit.
9625
48b67d71
AS
96262011-09-14 Andreas Schwab <schwab@redhat.com>
9627
9628 * elf/rtld.c (dl_main): Also relocate in dependency order when
9629 doing symbol dependency testing.
9630
1ae12c75
AS
96312011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9632
9633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9634 Always define `refsym'.
9635
995a80df
AS
96362011-09-13 Andreas Schwab <schwab@redhat.com>
9637
e529793b
AS
9638 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9639 (__FD_ELT): Renamed from __FDELT.
9640 * misc/bits/select2.h (__FD_ELT): Likewise.
9641 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9642 __FD_MASK instead of __FDELT, __FDMASK.
9643 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9644 Likewise.
9645 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9646 Likewise.
9647
52d4fef8
AS
9648 * elf/Makefile (gen-ldd): Fix pattern.
9649
995a80df
AS
9650 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9651 (init_tls): Likewise.
9652
8682f8b0
UD
96532011-09-12 Ulrich Drepper <drepper@gmail.com>
9654
9655 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9656
de82006d
AS
96572011-09-12 Andreas Schwab <schwab@redhat.com>
9658
a7c8e6a1
AS
9659 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9660 `struct cmsghdr *' instead of `void *'.
9661 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9662 Likewise.
9663
0f31fe77
AS
96642011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9665
9666 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9667 if non-absolute.
9668 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9669 ldd_rewrite_script.
0f31fe77 9670
32b4c839
UD
96712011-09-11 Ulrich Drepper <drepper@gmail.com>
9672
83cd1420
UD
9673 * configure.in: Remove --with-tls option.
9674 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9675 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9676 out in case it is missing.
9677 * sysdeps/ia64/elf/configure.in: Likewise.
9678 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9679 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9680 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9681 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9682 * sysdeps/sh/elf/configure.in: Likewise.
9683 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9684 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9685 * sysdeps/x86_64/elf/configure.in: Likewise.
9686 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9687 * sysdeps/mach/hurd/tls.h: Likewise.
9688
633f745d
UD
9689 [BZ #13067]
9690 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9691
f318beb8
UD
9692 [BZ #13090]
9693 * configure.in: Fix use of AC_INIT.
9694
32b4c839
UD
9695 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9696
3ce1f295
UD
96972011-09-10 Ulrich Drepper <drepper@gmail.com>
9698
bb016596
UD
9699 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9700 __set_errno.
8e58439c
UD
9701 * malloc/hooks.c: Likewise.
9702
aebae053 9703 [BZ #11929]
02d46fc4
UD
9704 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9705 variables statically.
9706 (narenas): Initialize.
9707 (list_lock): Initialize.
bb016596
UD
9708 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9709 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9710 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9711 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9712 Add initializers to main_arena and mp_.
9713 (malloc_state): Remove pagesize member. Change all users to use
9714 GLRO(dl_pagesize).
9715
9716 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9717 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9718 is always initialized.
9719
22a89187
UD
9720 * malloc/malloc.c: Removed unused configurations and dead code.
9721 * malloc/arena.c: Likewise.
9722 * malloc/hooks.c: Likewise.
02d46fc4 9723 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9724
d063d164
UD
9725 * include/tls.h: Removed. USE___THREAD must always be defined.
9726 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9727 * elf/dl-libc.c: Likewise.
9728 * elf/dl-tsd.c: Likewise.
9729 * include/errno.h: Likewise.
9730 * include/netdb.h: Likewise.
9731 * include/resolv.h: Likewise.
9732 * inet/herrno-loc.c: Likewise.
9733 * inet/herrno.c: Likewise.
9734 * malloc/arena.c: Likewise.
9735 * malloc/hooks.c: Likewise.
9736 * malloc/malloc.c: Likewise.
9737 * resolv/res-state.c: Likewise.
9738 * resolv/res_libc.c: Likewise.
9739 * sysdeps/i386/dl-machine.h: Likewise.
9740 * sysdeps/ia64/dl-machine.h: Likewise.
9741 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9742 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9743 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9744 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9745 * sysdeps/sh/dl-machine.h: Likewise.
9746 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9747 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9748 * sysdeps/unix/i386/sysdep.S: Likewise.
9749 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9750 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9751 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9752 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9753 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9754 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9755 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9756 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9759 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9760 * sysdeps/x86_64/dl-machine.h: Likewise.
9761 * tls.make.c: Likewise.
9762
3ce1f295
UD
9763 * configure.in: Remove --with-__thread option. Make tests for
9764 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9765 tls_model attribute fail if no support is available. Remove
9766 USE_IN_LIBIO.
9767 * Makeconfig: Adjust for dropped configure option. All features are
9768 now mandatory.
9769 * Makerules: Likewise.
9770 * Versions.def: Likewise.
9771 * argp/argp-fmtstream.c: Likewise.
9772 * argp/argp-fmtstream.h: Likewise.
9773 * argp/argp-help.c: Likewise.
9774 * assert/assert.c: Likewise.
9775 * config.h.in: Likewise.
9776 * config.make.in: Likewise.
9777 * configure: Likewise.
9778 * configure.in: Likewise.
9779 * csu/Versions: Likewise.
9780 * csu/init.c: Likewise.
9781 * elf/tst-audit2.c: Likewise.
9782 * elf/tst-tls10.c: Likewise.
9783 * elf/tst-tls10.h: Likewise.
9784 * elf/tst-tls11.c: Likewise.
9785 * elf/tst-tls12.c: Likewise.
9786 * elf/tst-tls14.c: Likewise.
9787 * elf/tst-tlsmod11.c: Likewise.
9788 * elf/tst-tlsmod12.c: Likewise.
9789 * elf/tst-tlsmod13.c: Likewise.
9790 * elf/tst-tlsmod13a.c: Likewise.
9791 * elf/tst-tlsmod14a.c: Likewise.
9792 * elf/tst-tlsmod15b.c: Likewise.
9793 * elf/tst-tlsmod16a.c: Likewise.
9794 * elf/tst-tlsmod16b.c: Likewise.
9795 * elf/tst-tlsmod7.c: Likewise.
9796 * elf/tst-tlsmod8.c: Likewise.
9797 * elf/tst-tlsmod9.c: Likewise.
9798 * gmon/gmon.c: Likewise.
9799 * grp/fgetgrent_r.c: Likewise.
9800 * grp/putgrent.c: Likewise.
9801 * hurd/fopenport.c: Likewise.
9802 * include/libc-symbols.h: Likewise.
9803 * include/tls.h: Likewise.
9804 * intl/gettextP.h: Likewise.
9805 * intl/loadinfo.h: Likewise.
9806 * locale/global-locale.c: Likewise.
9807 * locale/localeinfo.h: Likewise.
9808 * mach/devstream.c: Likewise.
9809 * malloc/arena.c: Likewise.
9810 * malloc/set-freeres.c: Likewise.
9811 * misc/err.c: Likewise.
9812 * misc/getttyent.c: Likewise.
9813 * misc/mntent_r.c: Likewise.
9814 * posix/getopt.c: Likewise.
9815 * posix/wordexp.c: Likewise.
9816 * pwd/fgetpwent_r.c: Likewise.
9817 * resolv/Versions: Likewise.
9818 * resolv/res_hconf.c: Likewise.
9819 * shadow/fgetspent_r.c: Likewise.
9820 * shadow/putspent.c: Likewise.
9821 * stdio-common/printf_fphex.c: Likewise.
9822 * stdio-common/tmpfile.c: Likewise.
9823 * stdlib/abort.c: Likewise.
9824 * stdlib/fmtmsg.c: Likewise.
9825 * sunrpc/auth_unix.c: Likewise.
9826 * sunrpc/clnt_perr.c: Likewise.
9827 * sunrpc/clnt_tcp.c: Likewise.
9828 * sunrpc/clnt_udp.c: Likewise.
9829 * sunrpc/clnt_unix.c: Likewise.
9830 * sunrpc/openchild.c: Likewise.
9831 * sunrpc/svc_simple.c: Likewise.
9832 * sunrpc/svc_tcp.c: Likewise.
9833 * sunrpc/svc_udp.c: Likewise.
9834 * sunrpc/svc_unix.c: Likewise.
9835 * sunrpc/xdr.c: Likewise.
9836 * sunrpc/xdr_array.c: Likewise.
9837 * sunrpc/xdr_rec.c: Likewise.
9838 * sunrpc/xdr_ref.c: Likewise.
9839 * sunrpc/xdr_stdio.c: Likewise.
9840
1248c1c4
PB
98412011-09-09 Ulrich Drepper <drepper@gmail.com>
9842
9843 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9844
98452011-07-03 Andreas Jaeger <aj@suse.de>
9846
9847 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9848 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9849 regenerate with gen-libm-tests.pl.
9850
98512010-05-12 Petr Baudis <pasky@suse.cz>
9852
9853 [BZ #11589]
9854 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9855 around j0() zero points by switching to j1().
9856 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9860
f22e1074
UD
98612011-09-09 Ulrich Drepper <drepper@gmail.com>
9862
f19009c1
UD
9863 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9864 instead of 0.
9865 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9866 instead of 0. .
9867 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9868 Patch in part by Pavel Roskin <proski@gnu.org>.
9869
3f8cc204
UD
9870 [BZ #13138]
9871 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9872 realloc.
9873 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9874 Free memory block if necessary.
9875
f22e1074
UD
9876 [BZ #12847]
9877 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9878 be NULL. Don't lock in this case.
9879
0a2349f9
RM
98802011-09-09 Roland McGrath <roland@hack.frob.com>
9881
9882 * elf/elf.h (ELFOSABI_GNU): New macro.
9883 (ELFOSABI_LINUX): Define to that.
9884
f3cdd467
DZ
98852011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9886
9887 * string/strncat.c (strncat): Undef the symbol in case it has been
9888 defined in bits/string.h.
9889
74718d13
UD
98902011-09-09 Ulrich Drepper <drepper@gmail.com>
9891
633e9e0f
UD
9892 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9893
0a2349f9 9894 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9895 link map.
9896
f9924780
AJ
98972011-08-17 Andreas Jaeger <aj@suse.de>
9898
9899 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9900
7f5517aa
PP
99012011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9902 Ian Lance Taylor <iant@google.com>
9903
9904 * math/libm-test.inc (lround_test): New testcase.
9905 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9906
762011fe
UD
99072011-09-08 Ulrich Drepper <drepper@gmail.com>
9908
92963737
UD
9909 * Makefile: Remove support for automatic cvs check-ins.
9910 * Makerules: Likewise.
9911 * config.make.in: Likewise.
9912 * configure.in: Likewise.
9913 * intl/Makefile: Likewise.
9914 * locale/Makefile: Likewise.
9915 * po/Makefile: Likewise.
9916 * posix/Makefile: Likewise.
9917 * sysdeps/gnu/Makefile: Likewise.
9918 * sysdeps/mach/hurd/Makefile: Likewise.
9919 * sysdeps/sparc/sparc32/Makefile: Likewise.
9920
b0727fd8
JS
9921 [BZ #13118]
9922 * posix/Makefile (bug-regex32-ENV): Define.
9923 Patch by John Stanley <jpsinthemix@verizon.net>.
9924
a0f33f99
UD
9925 * misc/Makefile (headers): Add bits/select2.h.
9926 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9927 * misc/bits/select2.h: New file.
9928 * include/bits/select2.h: New file.
9929 * debug/Makefile (routines): Add fdelt_chk.
9930 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9931 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9932 FD_ISSET.
9933 * debug/fdelt_chk.c: New file.
9934
762011fe
UD
9935 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9936 * wcsmbs/test-wmemcmp.c: Likewise.
9937 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9938 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9939
99402011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9941
9942 * string/Makefile (strop-tests): Add memcmp.
9943 * string/test-wmemcmp.c: New file.
9944 * string/test-memcmp.c: Add wmemcmp support.
9945
7f513ec8
RM
99462011-09-08 Roland McGrath <roland@hack.frob.com>
9947
0442afb4
RM
9948 [BZ #13153]
9949 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9950 2011-07-19 change.
9951
7f513ec8
RM
9952 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9953 garbage value in a __mach_port_mod_refs call in the cases of the
9954 task-self and thread-self ports.
9955
a12b2239
ST
99562011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9957
9958 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9959
610f9ab4
AS
99602011-09-08 Andreas Schwab <schwab@redhat.com>
9961
7f513ec8 9962 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9963
48882a1a
LD
99642011-09-07 Ulrich Drepper <drepper@gmail.com>
9965
b49865be
UD
9966 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9967
fdc86bc9
UD
9968 * elf/dl-libc.c (dlerror_run): Pass back error code from
9969 dl_catch_error.
9970
c966526a
UD
9971 [BZ #13123]
9972 * elf/dl-load.c (lose): Free l_origin if it is valid.
9973
48882a1a
LD
9974 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9975 names.
9976 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9977 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9978 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9979 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9980 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9981 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9982
77a2a8b4
AZ
99832011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9984
9985 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9986 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9987 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9988 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9989 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9990 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9991 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9992 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9993 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9994 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9995
24f579d8
AM
99962011-08-15 Alan Modra <amodra@gmail.com>
9997
9998 [BZ #13092]
9999 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10000 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10001 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10002 ppc_mcount to static-only-routines.
10003 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10004 __mcount_internal.
10005 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10006 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10007
3d4837df
UD
100082011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10009
10010 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10011 for finite and infinity parameters.
10012
22700377
WS
100132011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10014
10015 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10016 and add nop instructions for throughput optimization.
10017 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10018
5025581e
WS
100192011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10020
10021 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10022 aligned copy for power7 with vector-scalar instructions.
10023 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10024
08a300c9
L
100252011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10026
10027 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10028 AVX check.
10029
59178ef9
AS
100302011-09-07 Andreas Schwab <schwab@redhat.com>
10031
10032 [BZ #13144]
10033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10034 last change.
10035
e38ba7ab
UD
100362011-09-07 Ulrich Drepper <drepper@gmail.com>
10037
10038 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10039 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10040 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10041 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10042 clock_gettime.
10043
d53a73ac
UD
100442011-09-06 Ulrich Drepper <drepper@gmail.com>
10045
fc8bffcc
UD
10046 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10047 Forgot to demangle the pointer.
10048
ceaa0c5d
UD
10049 * sysdeps/i386/sysdep.h: Define atom_text_section.
10050 * sysdeps/x86_64/sysdep.h: Likewise.
10051 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10052 section with atom_text_section.
10053 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10054 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10055 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10056 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10057 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10058
a77d3c17
UD
10059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10060 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10061 already be defined. Change to take two parameters and don't assign
10062 result to variable. Adjust all users.
10063 Define INTERNAL_GETTIME if not already defined.
10064 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10065 call.
10066 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10067 HAVE_CLOCK_GETTIME_VSYSCALL.
10068 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10069
d53a73ac
UD
10070 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10071 gettimeofday vsyscall, just use time.
10072
a8f84144
AS
100732011-09-06 Andreas Schwab <schwab@redhat.com>
10074
10075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10076 <errno.h>.
10077
ef606249
UD
100782011-09-06 Ulrich Drepper <drepper@gmail.com>
10079
10080 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10081 syscall on x86-64.
10082 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10083 syscall.
10084 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10085 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10086 syscall if possible.
10087
6585cb60
UD
100882011-09-05 Ulrich Drepper <drepper@gmail.com>
10089
10090 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10091 e_ident. Don't pass to find_mapsXX.
10092 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10093
a5f524e4
LD
100942011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10095
10096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10097 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10098 * sysdeps/x86_64/multiarch/strchr.S: Update.
10099 Check bit_slow_BSF bit.
10100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10101 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10102 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10103
554881ef
UD
101042011-09-05 Ulrich Drepper <drepper@gmail.com>
10105
d96de963
UD
10106 [BZ #13134]
10107 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10108 before glibc 2.15.
10109 (tryshell): Define.
10110 (__spawni): Change last parameter to be flag. Test
10111 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10112 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10113 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10114 * posix/spawni.c: Likewise.
10115 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10116 * posix/spawnp.c: Likewise. Change normal version to use
10117 SPAWN_XFLAGS_USE_PATH.
10118 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10119 SPAWN_XFLAGS_TRY_SHELL.
10120
d48e5868
UD
10121 [BZ #13150]
10122 * posix/glob.h: Remove gcc 1.x support.
10123
554881ef
UD
10124 [BZ #13068]
10125 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10126
693fb948
LD
101272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10128
10129 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10130 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10131 strrchr-sse2-bsf
10132 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10133 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10134 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10135 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10137 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10138
1b48c537
UD
101392011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10140
49d42c37
UD
10141 * sysdeps/x86_64/wcscmp.S: New file.
10142
1b48c537
UD
10143 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10144 wcscmp-c wcscmp-sse2
10145 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10146 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10147 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10148 * wcsmbs/wcscmp.c: Allow renaming.
10149
15c95c5d
DM
101502011-09-05 David S. Miller <davem@davemloft.net>
10151
10152 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10153 stack slot, rather than the struct return pointer slot.
10154 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10155 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10156 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10157 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10158
2f0ad8f3
UD
101592011-09-05 Ulrich Drepper <drepper@gmail.com>
10160
d88ae418
UD
10161 * po/ja.po: Update from translation team.
10162
2f0ad8f3
UD
10163 [BZ #13144]
10164 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10165 kernel in 64-bit binaries.
10166
5f4318d1
DM
101672011-09-01 David S. Miller <davem@davemloft.net>
10168
10169 * elf/elf.h (HWCAP_SPARC_*): Move to..
10170 * sysdeps/sparc/sysdep.h: this new file and add new values.
10171 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10172 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10173 _DL_HWCAP_COUNT to 24.
10174 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10175 entries.
10176 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10177 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10178 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10180 instead of magic constants.
10181 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10182
3ba57516
DM
101832011-08-31 David S. Miller <davem@davemloft.net>
10184
10185 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10187 Reimplement to do errno handling inline.
10188 (SYSCALL_ERROR_HANDLER): New macro.
10189 (__SYSCALL_STRING): Do not do errno handling in asm.
10190 (__CLONE_SYSCALL_STRING): Delete.
10191 (__INTERNAL_SYSCALL_STRING): Delete.
10192 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10193 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10194 (PSEUDO): Reimplement to do errno handling inline.
10195 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10196 (SYSCALL_ERROR_HANDLER): New macro.
10197 (__SYSCALL_STRING): Do not do errno handling in asm.
10198 (__CLONE_SYSCALL_STRING): Delete.
10199 (__INTERNAL_SYSCALL_STRING): Delete.
10200 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10201 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10202 i386.
10203 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10204 (inline_syscall*): Add 'err' argument.
10205 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10206 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10207 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10208 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10209
10210 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10211 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10212
2bc17433
AS
102132011-08-30 Andreas Schwab <schwab@redhat.com>
10214
10215 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10216
fbeb5f4d
JO
102172011-08-29 Jiri Olsa <jolsa@redhat.com>
10218
10219 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10220 directive.
10221
ad69cc26
DM
102222011-08-24 David S. Miller <davem@davemloft.net>
10223
10224 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10225
39dd69df
AS
102262011-08-24 Andreas Schwab <schwab@redhat.com>
10227
10228 * elf/Makefile: Add rules to build and run unload8 test.
10229 * elf/unload8.c: New file.
10230 * elf/unload8mod1.c: New file.
10231 * elf/unload8mod1x.c: New file.
10232 * elf/unload8mod2.c: New file.
10233 * elf/unload8mod3.c: New file.
10234
10235 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10236 it wasn't used.
10237
2c0b250a
DM
102382011-08-23 David S. Miller <davem@davemloft.net>
10239
10240 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10241 subtract stack bias.
10242 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10243 %sp not %fp in calculations.
10244 (_JMPBUF_UNWINDS_ADJ): Likewise.
10245
22044b48
DM
10246 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10247 (aio_suspend): Call it to force an exception region around the
10248 AIO_MISC_WAIT() invocation.
10249
2cae4995
AS
102502011-08-23 Andreas Schwab <schwab@redhat.com>
10251
10252 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10253 backslash.
10254
873a772e
AJ
102552011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10256
10257 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10258 protection macro.
10259 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10260 and <dl-machine.h>.
10261 (Elf64_FuncDesc): Remove.
10262
25ad0df1
DM
102632011-08-22 David S. Miller <davem@davemloft.net>
10264
10265 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10266 sigaltstack check, add missing cfi directives.
10267 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10268 missing cfi directives, and sigaltstack handling.
10269
e888bcbe
AS
102702011-08-16 Andreas Schwab <schwab@redhat.com>
10271
10272 [BZ #11724]
10273 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10274 object is seen twice.
10275 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10276
10277 * elf/Makefile (distribute): Add tst-initorder2.c.
10278 (tests): Add tst-initorder2.
10279 (modules-names): Add tst-initorder2a tst-initorder2b
10280 tst-initorder2c tst-initorder2d. Add rules to build them.
10281 ($(objpfx)tst-initorder2.out): New rule.
10282 * elf/tst-initorder2.c: New file.
10283 * elf/tst-initorder2.exp: New file.
10284
87162f46
AS
102852011-08-22 Andreas Schwab <schwab@redhat.com>
10286
70538b7f
AS
10287 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10288
f55ffe58
AS
10289 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10290 dependencies back to end of function.
10291
87162f46
AS
10292 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10293 $(elfobjdir)/ld.so.
10294
91b392a4
UD
102952011-08-21 Ulrich Drepper <drepper@gmail.com>
10296
10297 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10298 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10299 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10300 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10301 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10302 of __vdso_gettimeofday.
10303 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10304 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10305 attribute_hidden.
10306 (_libc_vdso_platform_setup): Remove initialization of
10307 __vdso_gettimeofday and __vdso_time.
10308
5c43483f
UD
103092011-08-20 Ulrich Drepper <drepper@gmail.com>
10310
775a77e7
UD
10311 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10312 and fgetc_unlocked.
10313 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10314 getc_unlocked.
89f447ed 10315
49c74ba9
UD
10316 * elf/dl-open.c (add_to_global): Report additions to the global scope
10317 for LD_DEBUG=scopes.
10318 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10319 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10320
5c43483f
UD
10321 [BZ #13114]
10322 * stdio-common/Makefile (tests): Add bug24.
10323 * stdio-common/bug24.c: New file.
10324
a101b025
AJ
103252011-08-19 Andreas Jaeger <aj@suse.de>
10326
10327 [BZ #13114]
10328 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10329 non-existant file when using close-on-exec mode.
10330
c88f1766
UD
103312011-08-20 Ulrich Drepper <drepper@gmail.com>
10332
0276a718
UD
10333 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10334 the very first instruction.
10335
c88f1766
UD
10336 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10337 the CFI state in the end.
10338 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10339 inclusion of dl-trampoline.h.
10340 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10341
51ccffa0
AS
103422011-08-19 Andreas Schwab <schwab@redhat.com>
10343
94d7165f
AS
10344 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10345 expectations for long double.
10346
51ccffa0
AS
10347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10348 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10349
fd708658 103502011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10351
10352 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10353 artificual limit depends upon the system page size.
10354
44f0a71e
UD
103552011-08-17 Ulrich Drepper <drepper@gmail.com>
10356
10357 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10358 * resolv/Makefile: Define CFLAGS-libresolv.
10359
8de79a24
AS
103602011-08-17 Andreas Schwab <schwab@redhat.com>
10361
10362 * nss/makedb.c (compute_tables): Make variables used in nested
10363 function static.
10364
27724598
UD
103652011-08-17 Ulrich Drepper <drepper@gmail.com>
10366
c5305d88
UD
10367 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10368 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10369 if buffer was too small.
10370
27724598
UD
10371 * elf/pldd.c (main): Attach to all threads in the process.
10372 Rewrite /proc handling to use *at functions.
10373
076fe015
UD
103742011-08-16 Ulrich Drepper <drepper@gmail.com>
10375
174baab3
UD
10376 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10377 specifies first scope to show.
10378 (dl_open_worker): Update callers. Move printing scope of new
10379 object to before the relocation.
44f0a71e 10380 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10381 * sysdeps/generic/ldsodefs.h: Update declaration.
10382
076fe015
UD
10383 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10384 string for the scope number.
10385
a60df2c3
UD
103862011-08-14 Ulrich Drepper <drepper@gmail.com>
10387
10388 * nscd/servicescache.c (cache_addserv): Make sure written is always
10389 initialized.
10390
5e4287d1
RM
103912011-08-14 Roland McGrath <roland@hack.frob.com>
10392
85ae0589
RM
10393 * sysdeps/i386/i486/bits/atomic.h
10394 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10395 statement expression, so as to suppress "set but not used" warning.
10396 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10397
69f63097
RM
10398 * string/strncat.c (STRNCAT): Use prototype definition.
10399
675456ef
RM
10400 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10401 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10402 -Iprograms here.
10403 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10404 (localedef-modules): Add localedef.
10405 (locale-modules): Add locale.
10406
5e4287d1
RM
10407 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10408 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10409 to avoid a warning.
10410
9c96ff23
DM
104112011-08-14 David S. Miller <davem@davemloft.net>
10412
10413 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10414 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10415
f9ddf089
UD
104162011-08-13 Ulrich Drepper <drepper@gmail.com>
10417
44f0a71e 10418 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10419 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10420 * elf/rtld.c (dl_main): Set l_name of vDSO.
10421 Call _dl_show_scope when DL_DEBUG_SCOPES.
10422 (process_dl_debug): Recognize scopes flag and also set it for all.
10423 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10424 Declare _dl_show_scope.
10425
1dc27704
UD
10426 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10427 (do_dlopen): Pass caller_dlopen to dl_open.
10428 (__libc_dlopen_mode): Initialize caller_dlopen.
10429
f9ddf089
UD
10430 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10431 of libc. Make tolower call locale-independent. Optimize a bit by
10432 using isdigit instead of isalnum.
10433 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10434
9ac533d3
UD
104352011-08-12 Ulrich Drepper <drepper@gmail.com>
10436
10437 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10438 was a dependency or dynamically loaded.
10439
89edf2e9
UD
104402011-08-11 Ulrich Drepper <drepper@gmail.com>
10441
8e999d29
UD
10442 * intl/l10nflist.c: Allow architecture-specific pop function.
10443 * sysdeps/x86_64/l10nflist.c: New file.
10444
89edf2e9
UD
10445 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10446 classification.
10447
14d96785
AS
104482011-08-10 Andreas Schwab <schwab@redhat.com>
10449
10450 * include/dirent.h: Add libc_hidden_proto for scandirat and
10451 scandirat64. Don't declare __scandirat64.
10452 * dirent/scandirat.c: Add libc_hidden_def.
10453 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10454 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10455
6761ac04
DM
104562011-08-10 David S. Miller <davem@davemloft.net>
10457
10458 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10459 enum.
10460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10461 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10463
c55fbd1e
UD
104642011-08-09 Ulrich Drepper <drepper@gmail.com>
10465
10466 * Versions.def [libc]: Add GLIBC_2.15.
10467 * dirent/Makefile (routines): Add scandirat and scandirat64.
10468 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10469 GLIBC_2.15.
10470 * dirent/dirent.h: Declare scandirat and scandirat64.
10471 * dirent/scandirat.c: New file.
10472 * dirent/scandirat64.c: New file.
10473 * sysdeps/wordsize-64/scandirat.c: New file.
10474 * sysdeps/wordsize-64/scandirat64.c: New file.
10475 * dirent/opendir.c: Define opendirat.
10476 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10477 using scandirat.
10478 * dirent/scandir64.c: Adjust for scandir.c change.
10479 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10480 __scandirat64, and __scandir_cancel_handler.
10481 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10482 additional parameter and use openat instead of open (outside of ld.so).
10483 Add new __opendir as wrapper around __opendirat.
10484 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10485 here without requiring old scandirat implementation.
10486
879165f2
UD
104872011-08-08 Ulrich Drepper <drepper@gmail.com>
10488
10489 * dirent/scandir.c (cancel_handler): Renamed to
10490 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10491 defined. Adjust users.
10492 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10493 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10494
cb7e923b
UD
104952011-08-04 Ulrich Drepper <drepper@gmail.com>
10496
16292edd
UD
10497 * string/test-string.h (IMPL): Use __STRING to expand name and then
10498 stringify it.
10499
cb7e923b
UD
10500 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10501 of cleanups.
10502
cff82933
LD
105032011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10504
10505 * string/Makefile: Update.
10506 (strop-tests): Append strncat.
10507 * string/test-wcscmp.c: New file.
10508 New comprehensive test for wcscmp.
10509 * string/test-strcmp.c: Update.
10510 (WIDE): New define.
10511
9be9bfcc
AS
105122011-07-22 Andreas Schwab <schwab@redhat.com>
10513
10514 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10515 line.
10516
2e96f1c7
AS
105172011-07-26 Andreas Schwab <schwab@redhat.com>
10518
10519 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10520 encoding to ACE if AI_IDN.
10521
85188888
JJ
105222011-08-01 Jakub Jelinek <jakub@redhat.com>
10523
10524 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10525 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10526
5fa16e9b
LD
105272011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10528
10529 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10530 Fix overflow bug in strncat.
10531 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10532
10533 * string/test-strncat.c: Update.
10534 Add new tests for checking overflow bugs.
10535
105362011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10537
10538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10539 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10540 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10541 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10543 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10544 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10545 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10546 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10547
10548 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10549 (USE_AS_STRCAT): Define.
10550 Add strcat and strncat support.
10551 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10552
8c1a459f
AS
105532011-07-25 Andreas Schwab <schwab@redhat.com>
10554
10555 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10556 __n bigger than INT_MAX+1.
10557 (__strncmp_g): Likewise.
10558
bba33c28
UD
105592011-07-23 Ulrich Drepper <drepper@gmail.com>
10560
798be72d
UD
10561 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10562 * libio/stido.h: Likewise.
10563
8accd4dc
UD
10564 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10565 (AF_NFC): Define.
10566 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10567 (AF_NFC): Define.
10568
cbff0d96
UD
10569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10570 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10571 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10572 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10573 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10574
9191c04a
UD
10575 [BZ #13021]
10576 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10577 installed.
10578
bba33c28
UD
10579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10580 typo.
10581 (_dl_x86_64_save_sse): Likewise.
10582
90f139dd
UD
105832011-07-22 Ulrich Drepper <drepper@gmail.com>
10584
1aae088a
UD
10585 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10586 OSXSAVE.
10587 (_dl_x86_64_save_sse): Likewise.
10588
8e2045f5
UD
10589 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10590
90f139dd
UD
10591 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10592
1d002f25
AS
105932011-07-21 Andreas Schwab <schwab@redhat.com>
10594
10595 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10596 change.
10597 (_dl_x86_64_save_sse): Use correct AVX check.
10598
21137f89
UD
105992011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10600
10601 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10602 bug in strncpy/strncat.
10603 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10604
a65c0b7a
UD
106052011-07-21 Ulrich Drepper <drepper@gmail.com>
10606
10607 * string/tester.c (test_strcat): Add tests for different alignments
10608 of source and destination.
10609 (test_strncat): Likewise.
10610
6986b98a
UD
106112011-07-20 Ulrich Drepper <drepper@gmail.com>
10612
90bb2039
UD
10613 [BZ #12852]
10614 * posix/glob.c (glob): Check passed in values before using them in
10615 expressions to avoid some overflows.
10616 (glob_in_dir): Likewise.
10617
5644ef54
UD
10618 [BZ #13007]
10619 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10620 check for AVX enablement so that we don't crash with old kernels and
10621 new hardware.
10622 * elf/tst-audit4.c: Add same checks here.
10623 * elf/tst-audit6.c: Likewise.
10624
10625 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10626
bfc9dc9b
AS
106272011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10628
10629 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10630
702e64bb
UD
106312011-07-20 Ulrich Drepper <drepper@gmail.com>
10632
10633 * po/cs.po: Update from translation team.
10634 * po/bg.po: Likewise.
10635
295e904f
MP
106362011-07-12 Marek Polacek <mpolacek@redhat.com>
10637
10638 * misc/sys/cdefs.h: Add support for const attribute.
10639 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10640 to gnu_dev_{major,minor,makedev} functions.
10641
3ff94596
MP
106422011-07-20 Marek Polacek <mpolacek@redhat.com>
10643
10644 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10645
28b59fca
AS
106462011-07-20 Andreas Schwab <schwab@redhat.com>
10647
10648 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10649 strlen results.
10650
19df733e
AK
106512011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10652
10653 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10654 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10655 register in order to avoid conflicts with the soft frame pointer
10656 being held in r11 when necessary.
10657 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10658 (INTERNAL_VSYSCALL_NCS): Likewise.
10659
c8835729
MP
106602011-07-14 Marek Polacek <mpolacek@redhat.com>
10661
10662 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10663 * elf/dl-fini.c (_dl_fini): Adjust caller.
10664 * elf/dl-close.c (_dl_close_worker): Likewise.
10665 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10666
b902330c
MP
106672011-07-15 Marek Polacek <mpolacek@redhat.com>
10668
8991e135
MP
10669 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10670 "aux_cache->nlibs < 0".
10671
b902330c
MP
10672 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10673 in the reload-count case.
10674
99710781
LD
106752011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10676
10677 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10678 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10679 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10680 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10681 * sysdeps/x86_64/multiarch/strcat.S: New file.
10682 * sysdeps/x86_64/multiarch/strncat.S: New file.
10683 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10684 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10685 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10686 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10687 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10688 (USE_AS_STRCAT): Define.
10689 Add strcat and strncat support.
10690 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10691 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10692 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10693 * string/strncat.c: Update.
10694 (USE_AS_STRNCAT): Define.
10695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10696 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10697 and i7.
10698 * sysdeps/x86_64/multiarch/init-arch.h
10699 (bit_Prefer_PMINUB_for_stringop): New.
10700 (index_Prefer_PMINUB_for_stringop): Likewise.
10701 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10702 bit_Prefer_PMINUB_for_stringop.
10703
7dc6bd90
UD
107042011-07-19 Ulrich Drepper <drepper@gmail.com>
10705
10706 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10707 buffer64.
10708 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10709 of casting of buffer.
10710 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10711 buffer32 and buffer64.
10712 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10713 writes instead of casting of buffer.
10714 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10715 buffer32.
10716 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10717 casting of buffer.
10718
e0e72284
AS
107192011-07-19 Andreas Schwab <schwab@redhat.com>
10720
10721 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10722
feb1eb0b
UD
107232011-07-19 Ulrich Drepper <drepper@gmail.com>
10724
10725 * nscd/nscd.c (termination_handler): Don't do anything for a database
10726 if it has not yet been initialized.
10727
298711ff
UD
107282011-07-18 Ulrich Drepper <drepper@gmail.com>
10729
10730 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10731
107322011-07-15 Marek Polacek <mpolacek@redhat.com>
10733
10734 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10735
f9d68389
UD
107362011-07-18 Ulrich Drepper <drepper@gmail.com>
10737
10738 * po/nl.po: Update from translation team.
10739 * po/sv.po: Likewise.
10740
db290cf5
RM
107412011-07-16 Roland McGrath <roland@hack.frob.com>
10742
10743 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10744 now disallowed by GCC.
5c550700 10745
fd5e21c7
RM
10746 * configure.in (use-default-link): Default to yes if a test -shared
10747 link meets our qualifications.
10748 * configure: Regenerated.
10749
5c550700
RM
10750 * config.make.in (output-format): New variable.
10751 * configure.in: Check for ld --print-output-format support.
10752 * configure: Regenerated.
10753 * Makerules ($(common-objpfx)format.lds)
10754 [$(output-format) != unknown]: Just use $(output-format),
10755 instead of the linker-script munging.
10756
9fa2c032
RM
107572011-07-14 Roland McGrath <roland@hack.frob.com>
10758
a6928d51
RM
10759 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10760 of $(common-objpfx)shlib.lds.
10761 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10762
661607b3
RM
10763 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10764 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10765
9fa2c032
RM
10766 * configure.in (-z relro check): Adjust test code to add a large
10767 writable data section after it.
10768 * configure: Regenerated.
10769
defe9061
RM
107702011-07-11 Roland McGrath <roland@hack.frob.com>
10771
10772 * configure.in (-z relro check): Fix test code to make the variable
10773 truly const.
10774 * configure: Regenerated.
10775
319b9ad4
UD
107762011-07-11 Ulrich Drepper <drepper@gmail.com>
10777
10778 * nscd/nscd.h (struct traced_file): Define.
10779 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10780 elements. Add traced_files.
10781 (inotify_fd): Declare.
10782 (register_traced_file): Declare.
10783 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10784 (inotify_fd): Export.
10785 (resolv_conf_descr): Remove.
10786 (nscd_init): Move inotify descriptor creation to main.
10787 Don't register files for notification here.
10788 (register_traced_file): New function.
10789 (invalidate_cache): Don't use reset_res to determine whether to call
10790 res_init, go through the list of registered files.
10791 (main_loop_poll): The inotify descriptors are now stored in the
10792 structures for the traced files.
10793 (main_loop_epoll): Likewise
10794 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10795 to __nss_disable_nscd.
10796 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10797 for a database anymore. Check the records for all the registered
10798 files instead.
10799 * nss/Makefile (libnss_files-routines): Add files-init.
10800 (libnss_db-routines): Add db-init.
10801 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10802 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10803 * nss/nss_db/db-init.c: New file.
10804 * nss/nss_files/files-init.c: New file.
10805 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10806 __nss_lookup_function.
10807 (__nss_lookup_function): Call nss_load_library.
10808 (nss_load_all_libraries): New function.
10809 (__nss_disable_nscd): Take parameter with callback function for files
10810 to register. Set is_nscd. Load all the DSOs for the NSS modules
10811 used for the cached services.
10812 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10813 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10814 options for features to all the files in nscd.
10815
10816 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10817
23bee3e8
RM
108182011-07-10 Roland McGrath <roland@hack.frob.com>
10819
10820 * csu/elf-init.c (__libc_csu_init): Comment typo.
10821
46a5b7f0
UD
108222011-07-09 Ulrich Drepper <drepper@gmail.com>
10823
10824 * po/pl.po: Update from translation team.
10825 * po/ja.po: Likewise.
10826 * po/ru.po: Likewise.
10827 * po/ko.po: Likewise.
10828 * po/fr.po: Likewise.
10829
d30cf5bb
RM
108302011-07-09 Roland McGrath <roland@hack.frob.com>
10831
113ddea4
RM
10832 * configure.in (.ctors/.dtors header and trailer check):
10833 Use an empirical test on a built program.
10834 * configure: Regenerated.
10835
574920b4
RM
10836 * configure.in (-z relro check): Use an empirical test on a built DSO.
10837 Detect, but do not require, on ia64.
10838 * configure: Regenerated.
10839
d30cf5bb
RM
10840 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10841 Update tests that use readelf to use $READELF instead.
10842 * configure: Regenerated.
10843
8538fdb3
UD
108442011-07-08 Ulrich Drepper <drepper@gmail.com>
10845
10846 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10847 if the result is not used.
10848
04d08991
AJ
108492011-07-05 Andreas Jaeger <aj@suse.de>
10850
10851 [BZ#9696]
10852 * stdlib/tst-strtod.c: Add testcase.
10853
de283087
AD
108542011-07-07 Ulrich Drepper <drepper@gmail.com>
10855
4e5f31c8 10856 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10857 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10858 The latter has a higher limit. Take additional parameter to pass to
10859 the new function.
10860 (__pathconf): Pass file to __statfs_link_max.
10861 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10862 __statfs_link_max.
10863 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10864 __statfs_link_max.
10865
de283087
AD
10866 [BZ #12868]
10867 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10868 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10869 Handle Lustre.
10870 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10871 (__statfs_filesize_max): Likewise.
10872 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10873
c75fa153
AJ
108742011-07-05 Andreas Jaeger <aj@suse.de>
10875
10876 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10877
1a544854
UD
108782011-07-06 Marek Polacek <mpolacek@redhat.com>
10879
10880 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10881 `status' variable.
10882 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10883 Likewise.
10884
6f0eec67
UD
108852011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10886
10887 * Makefile (strop-tests): Add strncat.
10888 * string/test-strncat.c: New file.
10889
aae30307
UD
108902011-06-30 Marek Polacek <mpolacek@redhat.com>
10891
10892 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10893
c0cfb5eb
UD
108942011-06-21 Andreas Jaeger <aj@suse.de>
10895
10896 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10897 Copy rule from iconvdata/Makefile.
10898
01636b21
UD
108992011-07-06 Ulrich Drepper <drepper@gmail.com>
10900
10901 [BZ #12922]
10902 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10903 but no long options are defined, just return 'W'.
10904
9895c8bc
UD
109052011-06-22 Marek Polacek <mpolacek@redhat.com>
10906
10907 [BZ #9696]
10908 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10909
5d4cf042
UD
109102011-07-06 Ulrich Drepper <drepper@gmail.com>
10911
10912 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10913 netgroups to read.
960e5535 10914 (innetgr): Likewise.
5d4cf042 10915
751eb97e
RM
109162011-07-05 Roland McGrath <roland@hack.frob.com>
10917
10918 * config.make.in (install_root): Default to $(DESTDIR).
10919
f15f1e45
UD
109202011-07-05 Ulrich Drepper <drepper@gmail.com>
10921
10922 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10923
4e34ac6a
RM
109242011-07-02 Roland McGrath <roland@hack.frob.com>
10925
5e9b6af4
RM
10926 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10927
84f9ea0f
RM
10928 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10929 containing directory rather than embedding absolute directory names.
10930
ea5ee9f7
RM
10931 * scripts/check-local-headers.sh: Rewritten using awk.
10932 Match by word, not by line. Print error messages for matches.
10933 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10934
1b74661a
RM
10935 * Makerules [shlib-lds-flags empty]:
10936 ($(common-objpfx)libc_pic.opts): New target.
10937 ($(common-objpfx)libc_pic.os.clean): New target.
10938 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10939
10940 * config.make.in (OBJCOPY): New variable.
10941 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10942 * configure: Regenerated.
10943
f781ef40
RM
10944 * config.make.in (use-default-link): New variable.
10945 * configure.in (use_default_link): Grok --with-default-link to set it.
10946 * configure: Regenerated.
10947 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10948 (shlib-lds, shlib-lds-flags): Define to empty.
10949
2d4fa81e
RM
10950 * Makerules (shlib-lds): New variable.
10951 (shlib-lds-flags): New variable.
10952 (build-shlib, build-moduile, build-module-asneeded): Use it.
10953 ($(common-objpfx)libc.so): Use $(shlib-lds).
10954 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10955 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10956
31fffa6b
RM
10957 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10958 DT_FLAGS/DT_FLAGS_1 with zero flags.
10959
4e34ac6a
RM
10960 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10961 linker script munging.
10962
fcfc776b
UD
109632011-07-02 Ulrich Drepper <drepper@gmail.com>
10964
10965 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10966 as 128-bit value.
10967 * crypt/sha512.c (sha512_process_block): Perform total addition using
10968 128-bit if possible.
10969 (__sha512_finish_ctx): Likewise.
10970 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10971 as 64-bit value.
10972 * crypt/sha256.c (SWAP64): Define.
10973 (sha256_process_block): Perform total addition using 64-bit if
10974 possible.
10975 (__sha256_finish_ctx): Likewise.
10976
99231d9a
UD
109772011-07-01 Ulrich Drepper <drepper@gmail.com>
10978
10979 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10980 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10981 * nscd/hstcache.c (cache_addhst): Likewise.
10982 * nscd/grpcache.c (cache_addgr): Likewise.
10983 * nscd/aicache.c (addhstaiX): Likewise
10984 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10985
445b4a53
TK
109862011-07-01 Thorsten Kukuk <kukuk@suse.de>
10987
10988 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10990 * nscd/hstcache.c (cache_addhst): Likewise.
10991 * nscd/grpcache.c (cache_addgr): Likewise.
10992 * nscd/aicache.c (addhstaiX): Likewise
10993
6d4d8e8e
AS
109942011-07-01 Andreas Schwab <schwab@redhat.com>
10995
10996 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10997 domain only when needed.
10998
89f654c5
AS
109992011-06-30 Andreas Schwab <schwab@redhat.com>
11000
11001 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11002 is always restored.
11003
cf3b23ff
UD
110042011-06-29 Ulrich Drepper <drepper@gmail.com>
11005
11006 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11007 are re-adding the entry.
11008 * nscd/servicescache.c (cache_addserv): Likewise.
11009
751626f9
AJ
110102011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11011
11012 * sysdeps/generic/dl-irel.h: fix protection against multiple
11013 inclusions.
11014 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11015
9113ea1f
UD
110162011-06-28 Ulrich Drepper <drepper@gmail.com>
11017
5c0b8d90
UD
11018 [BZ #12935]
11019 * malloc/memusage.sh: Fix quoting in message.
11020 * debug/xtrace.sh: Likewise.
11021
9113ea1f
UD
11022 * configure.in: Remove support for --experimental-malloc option, make
11023 it the default.
11024 * config.make.in: Likewise.
11025 * malloc/Makefile: Likewise.
11026
a4172181
AS
110272011-06-27 Andreas Schwab <schwab@redhat.com>
11028
11029 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11030 two-byte characters.
11031
78a7eee7
RM
110322011-06-27 Roland McGrath <roland@hack.frob.com>
11033
62bede13
RM
11034 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11035 AC_CACHE_CHECK invocation.
11036 * configure: Regenerated.
11037
78a7eee7
RM
11038 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11039
5ce33a62
UD
110402011-06-27 Ulrich Drepper <drepper@gmail.com>
11041
034807a9
UD
11042 [BZ #12350]
11043 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11044 bit from old_res_options.
11045
4902da17
UD
11046 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11047
5ce33a62
UD
11048 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11049 value type for setfct.
11050
c2344f56
L
110512011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11052
11053 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11054 __gettimeofday instead of gettimeofday.
11055
68468076
UD
110562011-06-26 Ulrich Drepper <drepper@gmail.com>
11057
11058 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11059
acb0d739
L
110602011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11061
11062 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11063
11064 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11065 info.
11066
8912479f
L
110672011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11068
11069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11070 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11071 strcpy-sse2-unaligned strncpy-sse2-unaligned
11072 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11073 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11074 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11075 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11076 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11077 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11078 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11079 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11080 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11081 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11082 (STRCPY): Support SSE2 and SSSE3 versions.
11083
d5495a11
UD
110842011-06-24 Ulrich Drepper <drepper@gmail.com>
11085
11086 [BZ #12874]
11087 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11088 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11089 kernels which artificially limit size of requests.
11090
0b1cbaae
L
110912011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11092
11093 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11094 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11095 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11096 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11097 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11098 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11099 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11100 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11101 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11102 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11103 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11104 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11105 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11106 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11107 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11109 Enable unaligned load optimization for Intel Core i3, i5 and i7
11110 processors.
11111 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11112 Define.
11113 (index_Fast_Unaligned_Load): Define.
11114 (HAS_FAST_UNALIGNED_LOAD): Define.
11115
07f494a0
MP
111162011-06-23 Marek Polacek <mpolacek@redhat.com>
11117
11118 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11119
fa3fc0fe
UD
111202011-06-22 Ulrich Drepper <drepper@gmail.com>
11121
11122 [BZ #12907]
11123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11124 until it is clear that the information is realy needed.
11125 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11126
e12df166
AS
111272011-06-22 Andreas Schwab <schwab@redhat.com>
11128
11129 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11130
852eb34d
UD
111312011-06-22 Ulrich Drepper <drepper@gmail.com>
11132
84e2a551
UD
11133 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11134 /sys/devices/system/cpu/online if it is usable.
11135
852eb34d
UD
11136 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11137 reading the information from the /proc filesystem to once a second.
11138
6e502e19
UD
111392011-06-21 Andreas Jaeger <aj@suse.de>
11140
11141 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11142 NULL after inclusion of kernel headers.
11143
75d39ff2
UD
111442011-06-21 Ulrich Drepper <drepper@gmail.com>
11145
51f9aa6a
UD
11146 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11147 calls to internal_setent.
11148
c0244a9d
UD
11149 [BZ #12885]
11150 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11151 addresses using gethostbyname4_r ignore IPv4 addresses.
11152
c5e3c2ae
UD
11153 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11154 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11155
75d39ff2
UD
11156 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11157
42675c6f
DM
111582011-06-20 David S. Miller <davem@davemloft.net>
11159
11160 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11161 inclusions.
11162 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11163
11164 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11165 (elf_irel): Use it.
11166 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11167 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11168 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11169 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11170 * sysdeps/x86_64/dl-irel.h: Likewise.
11171
11172 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11173 * elf/dl-sym.c: Likewise.
11174
57912a71
UD
111752011-06-15 Ulrich Drepper <drepper@gmail.com>
11176
11177 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11178 need to dereference resplen2.
11179
ee22793d
AS
111802011-06-14 Andreas Schwab <schwab@redhat.com>
11181
11182 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11183
a9e836b0
UD
111842011-06-15 Ulrich Drepper <drepper@gmail.com>
11185
77fb9117
UD
11186 * Makeconfig: Define vardbdir and inst_vardbdir.
11187 * nss/Makefile: Add rules to install db-Makefile.
11188
40c1b22c
UD
11189 * nss/nss_db/db-XXX.c: Cleanup.
11190
9f2da732
UD
11191 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11192 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11193 GLIBC_PRIVATE.
11194 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11195 * nss/makedb.c: Implement -g option to specify that value strings
11196 are generated and should not be added to table iterated over for
11197 get*ent calls.
11198 * nss/nss_db/db-initgroups.c: New file.
11199
82e9a1f7
UD
11200 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11201 interface.
11202
c41af17e
UD
11203 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11204 (internal_getgrouplist): Adjust to name change.
11205 Update use_initgroups_entry if this is not the first call.
11206 * nss/databases.def: Add initgroups entry.
11207
a9e836b0
UD
11208 * nss/makedb.c (compute_tables): Check result of multiple hash table
11209 sizes to minimize maximum chain length.
11210
2666d441
UD
112112011-06-14 Ulrich Drepper <drepper@gmail.com>
11212
11213 * Versions.def: Add entry for libnss_db.
11214 * shlib-versions: Likewise.
11215 * nss/Makefile: Add rules to build libnss_db.
11216 * nss/Versions: Add libnss_db information. Organize libnss_files
11217 entries better.
11218 * nss/db-Makefile: Add gshadow support. Change rules for the new
11219 makedb progra. Some minor improvements to generate smaller files.
11220 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11221 here from...
11222 * nss/makedb.c: ...here.
11223 Improve database format to be smaller and require less memory at
11224 runtime.
11225 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11226 db anymore.
11227 * nss/nss_db/db-netgrp.c: Likewise.
11228 * nss/nss_db/db-open.c: Likewise.
11229 * nss/nss_files/flies-XXX.x: Adjust comments.
11230 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11231 * nss/nss_files/files-grp.c: Likewise.
11232 * nss/nss_files/files-hosts.c: Likewise.
11233 * nss/nss_files/files-network.c: Likewise.
11234 * nss/nss_files/files-proto.c: Likewise.
11235 * nss/nss_files/files-pwd.c: Likewise.
11236 * nss/nss_files/files-rpc.c: Likewise.
11237 * nss/nss_files/files-service.c: Likewise.
11238 * nss/nss_files/files-sgrp.c: Likewise.
11239 * nss/nss_files/files-spwd.c: Likewise.
11240 * nss/nss_db/db-alias.c: Removed.
11241 * nss/nss_db/dummy-db.h: Removed.
11242
9ee76b5a
UD
112432011-06-02 Ulrich Drepper <drepper@gmail.com>
11244
11245 * nss/makedb.c: Rewritten to not use database library.
11246 * nss/Makefile: Update to build new makedb program.
11247
c71ca1f8
AJ
112482011-06-14 Andreas Jaeger <aj@suse.de>
11249
11250 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11251 memset declaration.
11252
3154bfb8
UD
112532011-06-10 Andreas Schwab <schwab@redhat.com>
11254
11255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11256 tmpbuf.
11257
b350afab
RM
112582011-06-10 Roland McGrath <roland@hack.frob.com>
11259
decd4e50
RM
11260 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11261 * elf/Makefile ($(objpfx)ld.so): Likewise.
11262
5615eaf2
RM
11263 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11264 Don't list ld.so twice in dependencies.
11265
11266 * posix/bug-regex31.c: Include <stdlib.h>.
11267
11268 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11269
11270 * nis/nss_compat/compat-spwd.c
11271 (getspent_next_nss_netgr): Remove unused variable.
11272 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11273
11274 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11275 nonmembers" output to use the right array.
11276
11277 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11278
11279 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11280
11281 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11282 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11283 * catgets/gencat.c (read_input_file): Likewise.
11284 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11285
11286 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11287 variable definition inside #if's controlling its use.
11288
11289 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11290
11291 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11292
11293 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11294
11295 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11296 unreachable code.
11297
11298 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11299
b68e08db
RM
11300 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11301 * configure: Regenerated.
11302
b350afab
RM
11303 * Makerules: Revert last change.
11304 * elf/Makefile: Likewise.
11305
28368601
RM
113062011-06-09 Roland McGrath <roland@hack.frob.com>
11307
11308 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11309 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11310 (reloc-link): Likewise.
11311
11988f8f
UD
113122011-06-09 Ulrich Drepper <drepper@gmail.com>
11313
11314 * elf/Makefile: Add rules to build pldd.
11315 * elf/pldd.c: New file.
11316 * elf/pldd-xx.c: New file.
11317
e80fab37
UD
113182011-06-07 Ulrich Drepper <drepper@gmail.com>
11319
11320 * version.h: Update for 2.15 development version.
11321
9b849836
DM
113222011-06-07 David S. Miller <davem@davemloft.net>
11323
11324 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11325 ifuncs.
11326 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11327 elf_machine_lazy_rel): Likewise.
11328 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11329 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11330 elf_machine_lazy_rel): Likewise.
11331 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11332 dl_hwcap via passed in argument.
11333 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11334 Likewise.
11335
5a31b283
AK
113362011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11337
11338 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11339
069e52f8
RM
113402011-06-06 Roland McGrath <roland@hack.frob.com>
11341
11342 [BZ #12849]
11343 * manual/fdl-1.1.texi: New file, verbatim from:
11344 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11345 * manual/lgpl-2.1.texi: New file, verbatim from:
11346 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11347 * manual/Makefile (licenses): New variable, list those new file names.
11348 (texis): Use it.
11349 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11350
11351 * manual/fdl.texi: File removed.
11352 * manual/lesser.texi: File removed.
11353 * manual/libc.texinfo (Copying, Documentation License):
11354 Use new @include file names, put @appendix directive before @include.
11355
f16846a5
JJ
113562011-06-04 Jakub Jelinek <jakub@redhat.com>
11357
11358 [BZ #12841]
11359 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11360 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11361 (mq_open): Add __NTH.
11362
3d29045b
L
113632011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11364
11365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11366 Assume Intel Core i3/i5/i7 processor if AVX is available.
11367
8c297311
UD
113682011-05-31 Ulrich Drepper <drepper@gmail.com>
11369
11370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11371 typo.
11372
c8fc0c91
UD
113732011-05-31 Andreas Schwab <schwab@redhat.com>
11374
11375 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11376 memory. Use alloca_account. Fix memory leak when retrying.
11377
5b27a807
UD
113782011-05-31 Ulrich Drepper <drepper@gmail.com>
11379
356f8bc6
UD
11380 * version.h (RELEASE): Bump for 2.14 release.
11381 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11382
5b27a807
UD
11383 * config.make.in (RANLIB): Remove entry.
11384
01f16ab0
UD
113852011-05-30 Ulrich Drepper <drepper@gmail.com>
11386
41fce8bd
UD
11387 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11388 (libc.pot): Work around missing support for .ksh extension in xgettext.
11389
4769ae77
UD
11390 [BZ #12684]
11391 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11392 if both request failed.
11393 (send_dg): In case of server errors clear resplen or *resplen2.
11394
6b1e7d19
UD
11395 [BZ #12454]
11396 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11397 when there are multiple maps.
11398 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11399 (_dl_fini): Remove test here.
11400
01f16ab0
UD
11401 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11402
b1ebd700
UD
114032011-05-29 Ulrich Drepper <drepper@gmail.com>
11404
7ae22829
UD
11405 [BZ #12350]
11406 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11407 bit from old_res_options.
11408 (gaih_inet): Likewise.
11409
553149f6 11410 [BZ #11099]
18a84741 11411 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11412 as signed.
11413
652ffab1
UD
11414 * resolv/res_init.c (res_setoptions): Make the code more compact.
11415
16985fd0
UD
11416 [BZ #11558]
11417 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11418 set RES_USEVC.
11419
0464f746
UD
11420 [BZ #11634]
11421 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11422
7d17596c
UD
11423 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11424
cf6bbbd7
UD
11425 [BZ #11781]
11426 * malloc/malloc.h: Declare malloc hook variables as volatile.
11427
13f1ab36
UD
11428 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11429 in last patch.
11430
b1ebd700
UD
11431 [BZ #11799]
11432 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11433 raise in the comment.
80e2212d
UD
11434 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11435 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11436 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11437
ce67228d
UD
114382011-05-28 Ulrich Drepper <drepper@gmail.com>
11439
8887a920
UD
11440 [BZ #12811]
11441 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11442 grow the buffers more if it already has to be sufficient.
11443 (build_wcs_upper_buffer): Likewise.
11444 * posix/regexec.c (check_matching): Likewise.
11445 (clean_state_log_if_needed): Likewise.
11446 (extend_buffers): Don't enlarge buffers beyond size of the input
11447 buffer.
11448 Patches mostly by Emil Wojak <emil@wojak.eu>.
11449 * posix/bug-regex32.c: New file.
11450 * posix/Makefile (tests): Add bug-regex32.
11451
4f031072
UD
11452 * locale/findlocale.c (_nl_find_locale): Return right away if
11453 _nl_explode_name failed.
11454 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11455
d0478f0c
UD
11456 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11457
de81b246
UD
11458 * debug/xtrace.sh: Unify messages.
11459 * malloc/memusage.sh: Likewise.
11460
c738465a
UD
11461 [BZ #12813]
11462 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11463 time symbol from vDSO. Substitute with vsyscall if not available.
11464 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11465 __vdso_time.
11466
f1f929d7
UD
11467 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11468 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11469 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11470 Add sendmmsg and internal_sendmmsg.
11471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11472 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11473 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11474
ce67228d
UD
11475 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11476 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11477 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11478
e57420c6
UD
114792011-05-27 Ulrich Drepper <drepper@gmail.com>
11480
a8509ca5
UD
11481 [BZ #12813]
11482 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11483 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11484 available.
11485 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11486 __vdso_getcpu.
11487
e57420c6
UD
11488 [BZ #12814]
11489 * iconvdata/Makefile (tests): Add bug-iconv9.
11490 * iconvdata/bug-iconv9.c: New file.
11491
4d07db15
AS
114922011-05-27 Andreas Schwab <schwab@redhat.com>
11493
11494 [BZ #12814]
11495 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11496
ea486f69
JJ
114972011-05-25 Jakub Jelinek <jakub@redhat.com>
11498
11499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11500 (struct user_regs_struct): Change intcs field back to cs.
11501
6f038433
UD
115022011-05-25 Ulrich Drepper <drepper@gmail.com>
11503
11504 * po/ja.po: Update from translation team.
11505
67f86a25
UD
115062011-05-23 Ulrich Drepper <drepper@gmail.com>
11507
11508 [BZ #12795]
11509 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11510 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11511
def7fbd6
AS
115122011-05-20 Andreas Schwab <schwab@redhat.com>
11513
11514 * stdlib/longlong.h: Update from GCC.
11515
f50ef8f1
AS
115162011-05-23 Andreas Schwab <schwab@redhat.com>
11517
11518 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11519 parameter name.
11520 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11521 Add parameter name.
11522 (__sysconf): Pass it down.
11523
de7ce8f1
UD
115242011-05-22 Ulrich Drepper <drepper@gmail.com>
11525
f2962a71
UD
11526 [BZ #12671]
11527 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11528 some situations.
11529 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11530 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11531 add in in __libc_use_alloca calls. Adjust callers.
11532 (glob): Use malloc in some situations.
11533
de7ce8f1
UD
11534 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11535 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11536 pltexit.
11537
aec84f53
UD
115382011-05-21 Ulrich Drepper <drepper@gmail.com>
11539
05bb4a68
UD
11540 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11541 and CLOCK_BOOTTIME_ALARM.
11542
7ea72f99
UD
11543 [BZ #12782]
11544 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11545 is returned.
11546
7e4afad5
UD
11547 * string/_strerror.c (__strerror_r): Print negative errors as signed
11548 numbers.
11549
8e211fec
UD
11550 [BZ #12777]
11551 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11552 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11553 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11554
f7d82dc9
UD
11555 * configure.in: Fix typo in redirection and correct removal of test
11556 files in two cases.
11557
cc9e536d
UD
11558 [BZ #12788]
11559 * locale/setlocale.c (new_composite_name): Fix test to check for
11560 identical name of all categories.
11561
aec84f53
UD
11562 [BZ #12792]
11563 * libio/filedoalloc.c (local_isatty): New function.
11564 (_IO_file_doallocate): Use local_isatty.
11565 * stdio-common/perror.c (perror): In case a new stream is used
11566 forward the stream error.
11567 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11568 error flag.
11569
78e64fdc
RT
115702011-05-20 Ulrich Drepper <drepper@gmail.com>
11571
34a9094f
UD
11572 [BZ #11869]
11573 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11574 alloca.
11575 * include/alloca.h (extend_alloca_account): Define.
11576
78e64fdc
RT
11577 [BZ #11857]
11578 * posix/regex.h: Fix comments with documentation of user-accessible
11579 fields after compilation and describe correct free'ing of pattern
11580 after re_compile_pattern.
11581 Patch by Reuben Thomas <rrt@sc3d.org>.
11582
457bddfc
RA
115832011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11584
11585 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11586 and -mno-altivec to prevent the compiler from using Altivec and/or
11587 VSX instructions when the corresponding registers are not available.
11588
a4527b51
AS
115892011-05-19 Andreas Schwab <schwab@redhat.com>
11590
11591 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11592
ed690b2f
UD
115932011-05-19 Ulrich Drepper <drepper@gmail.com>
11594
11595 * libio/freopen.c (freopen): Use __dup2, not dup2.
11596 * libio/freopen64.c (freopen64): Likewise.
11597
8db73634
L
115982011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11599
11600 [BZ #12775]
11601 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11602 * math/Makefile (tests): Add test-powl.
11603 (CFLAGS-test-powl.c): Define.
11604 * math/test-powl.c: New file.
11605
0a197a9d
L
116062011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11609
ee30c380
UD
116102011-05-17 Ulrich Drepper <drepper@gmail.com>
11611
11612 [BZ #11837]
11613 * iconvdata/gb18030.c: Update to GB18020-2005.
11614
6ce75379
UD
116152011-05-16 Ulrich Drepper <drepper@gmail.com>
11616
a4b89fd8
AR
11617 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11618 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11619 Patch by Aharon Robbins <arnold@skeeve.com>.
11620
ea389b12
UD
11621 [BZ #11892]
11622 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11623 on the stack.
11624
68a3f91f
UD
11625 [BZ #11895]
11626 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11627 through underflows.
11628
15cc7dd1
UD
11629 [BZ #12766]
11630 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11631 point to strings before performing equality test for error_one_per_line
11632 mode.
11633
f3799213
UD
11634 [BZ #11697]
11635 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11636
d79a9c94
UD
11637 [BZ #11820]
11638 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11639 (struct user_fpregs_struct): Avoid __uint*_t types.
11640
56e5eb46
UD
11641 [BZ #6420]
11642 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11643 symbol info. Use it instead of calling _dl_addr locally.
11644 (lock_and_info): New function.
11645 (tr_freehook): Call lock_and_info and pass symbol info as additional
11646 parameter to tr_where.
11647 (tr_mallochook): Likewise.
11648 (tr_reallochook): Likewise.
11649 (tr_memalignhook): Likewise.
11650
6ce75379
UD
11651 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11652 used and couldn't be at all thread-safe.
11653
f8a3b5bf
UD
116542011-05-15 Ulrich Drepper <drepper@gmail.com>
11655
94b7cc37
UD
11656 * libio/freopen.c (freopen): Don't close old file descriptor
11657 before the new one is opened. Instead dup the new file descriptor
11658 to the old one after the new stream is created.
11659 * libio/freopen64.c (freopen64): Likewise.
11660 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11661 * libio/fileops.c (_IO_new_file_close_it): Handle new
11662 _IO_FLAGS2_NOCLOSE flag.
11663 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11664 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11665 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11666 _IO_FLAGS2_NOCLOSE flag.
11667 * include/unistd.h: Add hidden_proto for dup3.
11668 Define __have_dup3.
11669 * io/dup3.c: Define hidden symbol.
11670 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11671
bd25564e
UD
11672 [BZ #7101]
11673 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11674 when an incomplete long option is used.
11675 * posix/tst-getopt_long1.c: New file.
11676 * posix/Makefile (tests): Add tst-getopt_long1.
11677
c84cfef4
UD
11678 [BZ #10138]
11679 * scripts/config.guess: Update from autoconf-2.68.
11680 * scripts/config.sub: Likewise.
11681
3b85df27
UD
11682 [BZ #10157]
11683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11684 tests into ...
11685 (has_cpuclock): ...this. New function.
11686 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11687 macro here based on has_cpuclock code.
11688
15a856b1
UD
11689 [BZ #10149]
11690 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11691 First byte (not low byte) is now always NUL.
11692 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11693
05f399e6
UD
11694 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11695 Use non-cancelable interfaces.
11696
10a52685 11697 [BZ #9809]
94ecc67d
UD
11698 * locale/iso-639.def: Add entry for Sorani.
11699
f8a3b5bf
UD
11700 [BZ #11901]
11701 * include/stdlib.h: Move include protection to the right place.
11702 Define abort_msg_s. Declare __abort_msg with it.
11703 * stdlib/abort.c (__abort_msg): Adjust type.
11704 * assert/assert.c (__assert_fail_base): New function. Majority
11705 of code from __assert_fail. Allocate memory for __abort_msg with
11706 mmap.
11707 (__assert_fail): Now call __assert_fail_base.
11708 * assert/assert-perr.c: Remove bulk of implementation. Use
11709 __assert_fail_base.
11710 * include/assert.hL Declare __assert_fail_base.
11711 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11712 mmap.
11713 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11714
1af4e298
UD
117152011-05-14 Ulrich Drepper <drepper@gmail.com>
11716
f8a3b5bf 11717 [BZ #11952]
d26dfc60
MG
11718 [BZ #12453]
11719 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11720 until all modules are registered in the DTV.
11721 * elf/Makefile: Add rules to build and run tst-tls19.
11722 * elf/tst-tls19.c: New file.
11723 * elf/tst-tls19mod1.c: New file.
11724 * elf/tst-tls19mod2.c: New file.
11725 * elf/tst-tls19mod3.c: New file.
11726 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11727
2fc54d6f
UD
11728 [BZ #12083]
11729 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11730 correctly.
11731
98d76b46
UD
11732 [BZ #12601]
11733 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11734 two-byte sequence errors.
11735 * iconvdata/Makefile (tests): Add bug-iconv8.
11736 * iconvdata/bug-iconv8.c: New file.
11737
da3c19ef
UD
11738 [BZ #12626]
11739 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11740 buf2 definition.
11741
ca408c15
UD
11742 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11743
d6f67f7d
UD
11744 [BZ #12432]
11745 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11746 (dummy_getcfa): New function.
11747 (init): Get _Unwind_GetCFA address, use dummy if not found.
11748 (backtrace_helper): In recursion check, also check whether CFA changes.
11749 (__backtrace): Completely initialize arg.
11750
1af4e298 11751 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11752 storing incomplete byte sequence in state object. Avoid testing for
11753 guaranteed too small input if we know there is enough data available.
1af4e298 11754
da62f81b
AS
117552011-05-11 Andreas Schwab <schwab@redhat.com>
11756
11757 * Makeconfig (+link-pie): Indent.
11758 * Rules (binaries-pie): Define if $(have-fpie) and
11759 $(build-shared).
11760 (binaries-shared): Also filter out $(binaries-pie).
11761 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11762 * nscd/Makefile (others-pie): Add nscd.
11763 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11764 ($(objpfx)nscd): Remove command override.
11765 * login/Makefile (others-pie): Add pt_chown.
11766 ($(objpfx)pt_chown): Remove command override.
11767 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11768 remove command overrides.
11769
fcabc0f8
UD
117702011-05-13 Ulrich Drepper <drepper@gmail.com>
11771
20030ae6
UD
11772 * libio/tst_putwc.c: Fix error messages.
11773
fcabc0f8
UD
11774 [BZ #12724]
11775 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11776 currently writing and seek to current position when not.
11777 * libio/Makefile (tests): Add bug-fclose1.
11778 * libio/bug-fclose1.c: New file.
11779
320a5dc0
PB
117802011-05-12 Ulrich Drepper <drepper@gmail.com>
11781
11782 [BZ #12511]
11783 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11784 don't set DF_1_NODELETE here.
11785 (do_lookup_x): When entering new entry test for copy relocation
11786 and if necessary set DF_1_NODELETE flag.
11787 * elf/tst-unique4.cc: New file.
11788 * elf/tst-unique4.h: New file.
11789 * elf/tst-unique4lib.cc: New file.
11790 * elf/Makefile: Add rules to build and run tst-unique4.
11791 Patch by Piotr Bury <pbury@goahead.com>.
11792
22836f52
UD
117932011-05-11 Ulrich Drepper <drepper@gmail.com>
11794
f574184a
UD
11795 [BZ #12052]
11796 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11797
e1fb097f
UD
11798 [BZ #12625]
11799 * misc/mntent_r.c (addmntent): Flush the stream after the output
11800
22836f52
UD
11801 [BZ #12393]
11802 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11803 (is_trusted_path_normalize): Skip initial colon. Append slash
11804 to empty buffer. Duplicate is_trusted_path code but allow
11805 constructed patch to be prefix.
11806 (is_dst): Allow $ORIGIN followed by /.
11807 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11808 Correct testing of result of is_trusted_path_normalize
11809 (decompose_rpath): Fix warning.
11810
7b3b0b2a
UD
118112011-05-10 Ulrich Drepper <drepper@gmail.com>
11812
11813 [BZ #11257]
11814 * grp/initgroups.c (internal_getgrouplist): When we found the service
11815 list through the initgroups entry in nsswitch.conf do not always
11816 continue on a successful lookup. Don't always use the
eac80ce2 11817 __nss_group_database value if it is set.
7b3b0b2a
UD
11818 * nss/nsswitch.conf (initgroups): Change action for successful db
11819 lookup to continue for compatibility.
11820
2a81eaa5
UD
118212011-05-09 Ulrich Drepper <drepper@gmail.com>
11822
be97a69e
UD
11823 [BZ #11532]
11824 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11825 and CP774 modules.
11826 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11827 and CP774 modules.
11828 * iconvdata/tst-tables.sh: Likewise.
11829 * iconvdata/cp770.c: New file.
11830 * iconvdata/cp771.c: New file.
11831 * iconvdata/cp772.c: New file.
11832 * iconvdata/cp773.c: New file.
11833 * iconvdata/cp774.c: New file.
11834 * iconvdata/testdata/CP770: New file.
11835 * iconvdata/testdata/CP770..UTF8: New file.
11836 * iconvdata/testdata/CP771: New file.
11837 * iconvdata/testdata/CP771..UTF8: New file.
11838 * iconvdata/testdata/CP772: New file.
11839 * iconvdata/testdata/CP772..UTF8: New file.
11840 * iconvdata/testdata/CP773: New file.
11841 * iconvdata/testdata/CP773..UTF8: New file.
11842 * iconvdata/testdata/CP774: New file.
11843 * iconvdata/testdata/CP774..UTF8: New file.
11844
11845 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11846 END CHARMAP line.
11847 * iconvdata/gen-8bit-gap.sh: Likewise.
11848 * iconvdata/gen-8bit.sh: Likewise.
11849
c1e9e399
UD
11850 * locale/iso-639.def: Add ary entry.
11851
24c55fb3 11852 [BZ #11258]
96b4b1b0
UD
11853 * locale/C-translit.h.in: Add U20A1 transliteration.
11854
bdc2f971
KB
11855 [BZ #12178]
11856 * locale/iso-639.def: Add wae entry.
11857 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11858
2952b117
UD
11859 [BZ #12545]
11860 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11861 for n.
11862
2a81eaa5
UD
11863 [BZ #12711]
11864 * locale/C-translit.h.in: Add entry for U20B9.
11865 Patch by pravin.d.s@gmail.com.
11866
28377d1b
UD
118672011-05-08 Ulrich Drepper <drepper@gmail.com>
11868
7fb90fb8
UD
11869 [BZ #12713]
11870 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11871 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11872 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11873 in rtld. Use *stat64.
7fb90fb8 11874 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11875 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11876 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11877 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11878 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11879 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11880 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11881 __fstatat64 macros.
7fb90fb8
UD
11882 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11883 * dirent/rewinddir.c: Add libc_hidden_def.
11884 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11885 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11886
28377d1b
UD
11887 * include/dirent.h (__alloc_dir): Add flags parameter.
11888 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11889 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11890 __alloc_dir.
11891 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11892 from fdopendir if O_CLOEXEC is already set.
11893
66bdbaa4
AM
118942011-03-15 Alan Modra <amodra@gmail.com>
11895
11896 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11897 l_tls_firstbyte_offset non-zero. Save padding offset in
11898 l_tls_firstbyte_offset for later use.
11899 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11900 freeing static tls block.
11901
95721191
JN
119022011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11903
11904 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11905 where #ifdef was intended. The intent is to prevent ARG_MAX from
11906 being defined by the kernel headers.
11907
f87dfb1f
UD
119082011-05-07 Ulrich Drepper <drepper@gmail.com>
11909
11910 [BZ #12734]
11911 * resolv/resolv.h: Define RES_NOTLDQUERY.
11912 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11913 no-tld-query and set RES_NOTLDQUERY.
11914 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11915 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11916 modern BIND to search name as TLD unless forbidden.
11917
47c3cd7a
UD
119182011-05-07 Petr Baudis <pasky@suse.cz>
11919 Ulrich Drepper <drepper@gmail.com>
11920
11921 [BZ #12393]
11922 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11923 (is_trusted_path): ...to here.
c1e9ea35 11924 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11925 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11926 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11927
8a35c912
PP
119282011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11929
11930 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11931 __BEGIN/__END_DECLS.
11932
acd41f47
UD
119332011-05-06 Ulrich Drepper <drepper@gmail.com>
11934
11935 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11936 NSS_STATUS_NOTFOUND if no record was found.
11937
597df647
AS
119382011-05-05 Andreas Schwab <schwab@redhat.com>
11939
11940 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11941 (headers-not-in-tirpc): Remove rpc/netdb.h
11942 * resolv/netdb.h: Revert last change.
11943
b9af1301
PP
119442011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11945
11946 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11947 circular dependency between libgcc.a and libc.a.
11948
4e34d5f5
AS
119492011-05-05 Andreas Schwab <schwab@redhat.com>
11950
11951 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11952 * nis/Makefile: Don't install rpcsvc/*.
11953 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11954 instead of <rpc/types.h>.
11955 (MAXHOSTNAMELEN): Define.
11956
00ee369c
AS
119572011-05-03 Andreas Schwab <schwab@redhat.com>
11958
11959 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11960
0b592a30
MB
119612011-04-28 Maciej Babinski <mbabinski@google.com>
11962
11963 [BZ #12714]
11964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11965 gethostbyname4_r when IPv6 results are possible.
11966
6e04cbbe
UD
119672011-05-02 Ulrich Drepper <drepper@gmail.com>
11968
11969 [BZ #12723]
11970 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11971 _PC_PIPE_BUF handling.
11972
e4ecafe0
BH
119732011-04-30 Bruno Haible <bruno@clisp.org>
11974
11975 [BZ #12717]
11976 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11977 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11978 to 'int'.
11979 * inet/getnameinfo.c (getnameinfo): Likewise.
11980
125ee683
UD
119812011-04-29 Ulrich Drepper <drepper@gmail.com>
11982
11983 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11984 to groups setting in database lookup.
11985 * nss/nsswitch.conf: Add initgroups entry.
11986
b722481a
EB
119872011-04-22 Ulrich Drepper <drepper@gmail.com>
11988
11989 [BZ #12685]
11990 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11991 mode string.
11992 Patch by Eric Blake <eblake@redhat.com>.
11993
4df46dbd
L
119942011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11995
11996 * sunrpc/Makefile (need-export-routines): Add svc_run.
11997 (routines): Remove svc_run.
11998 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11999 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12000 * sunrpc/svc_run.c (svc_run): Likewise.
12001 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12002
e84142d2
UD
120032011-04-21 Ulrich Drepper <drepper@gmail.com>
12004
12005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12006 problem in reallocation in last patch.
12007
877175d8
UD
120082011-04-20 Ulrich Drepper <drepper@gmail.com>
12009
12010 * sunrpc/Makefile: Move inclusion of Rules.
12011
ab8eed78
UD
120122011-04-19 Ulrich Drepper <drepper@gmail.com>
12013
12014 * nss/nss_files/files-initgroups.c: New file.
12015 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12016 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12017 _nss_files_initgroups_dyn.
12018
e3d8f584
RS
120192011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12020
12021 * elf/elf.h (R_ARM_IRELATIVE): Define.
12022
af190f45
UD
120232011-04-19 Ulrich Drepper <drepper@gmail.com>
12024
12025 * po/ru.po: Update from translation team.
12026
53cf59ef
UD
120272011-04-17 Ulrich Drepper <drepper@gmail.com>
12028
12029 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12030 dependencies.
12031
4c559bcd
MF
120322011-02-06 Mike Frysinger <vapier@gentoo.org>
12033
12034 [BZ #12653]
12035 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12036 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12037 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12038 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12040
4420675c
AS
120412011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12042
12043 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12044 differing bytes.
12045 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12046 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12047 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12048
75ea32ab
UD
120492011-04-17 Ulrich Drepper <drepper@gmail.com>
12050
12051 [BZ #12420]
12052 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12053 storing it.
12054 * stdlib/bug-getcontext.c: New file.
12055 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12056
27390476
AK
120572011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12058
12059 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12060 instructions into .machine "z9-109".
12061 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12062 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12063
10442705
AK
120642011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12065
12066 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12067 between environment variables and auxiliary vector.
12068
7b57bfe5
UD
120692011-04-16 Ulrich Drepper <drepper@gmail.com>
12070
12071 * Makefile: Add rules to build linkobj/libc.so.
12072 * include/libc-symbols.h: Define libc_hidden_nolink.
12073 * include/rpc/auth.h: Mark functions which are to be hidden.
12074 * include/rpc/auth_des.h: Likewise.
12075 * include/rpc/auth_unix.h: Likewise.
12076 * include/rpc/clnt.h: Likewise.
12077 * include/rpc/des_crypt.h: Likewise.
12078 * include/rpc/key_prot.h: Likewise.
12079 * include/rpc/pmap_clnt.h: Likewise.
12080 * include/rpc/pmap_prot.h: Likewise.
12081 * include/rpc/pmap_rmt.h: Likewise.
12082 * include/rpc/rpc_msg.h: Likewise.
12083 * include/rpc/svc.h: Likewise.
12084 * include/rpc/svc_auth.h: Likewise.
12085 * include/rpc/xdr.h: Likewise.
12086 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12087 * nss/Makefile: Likewise.
12088 * sunrpc/Makefile: Don't install headers. Build library with normal
12089 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12090 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12091 for the compat linking library. Remove use of INTDEF/INTUSE.
12092 * sunrpc/auth_none.c: Likewise.
12093 * sunrpc/auth_unix.c: Likewise.
12094 * sunrpc/authdes_prot.c: Likewise.
12095 * sunrpc/authuxprot.c: Likewise.
12096 * sunrpc/clnt_gen.c: Likewise.
12097 * sunrpc/clnt_perr.c: Likewise.
12098 * sunrpc/clnt_raw.c: Likewise.
12099 * sunrpc/clnt_simp.c: Likewise.
12100 * sunrpc/clnt_tcp.c: Likewise.
12101 * sunrpc/clnt_udp.c: Likewise.
12102 * sunrpc/clnt_unix.c: Likewise.
12103 * sunrpc/des_crypt.c: Likewise.
12104 * sunrpc/des_soft.c: Likewise.
12105 * sunrpc/get_myaddr.c: Likewise.
12106 * sunrpc/key_call.c: Likewise.
12107 * sunrpc/key_prot.c: Likewise.
12108 * sunrpc/netname.c: Likewise.
12109 * sunrpc/pm_getmaps.c: Likewise.
12110 * sunrpc/pm_getport.c: Likewise.
12111 * sunrpc/pmap_clnt.c: Likewise.
12112 * sunrpc/pmap_prot.c: Likewise.
12113 * sunrpc/pmap_prot2.c: Likewise.
12114 * sunrpc/pmap_rmt.c: Likewise.
12115 * sunrpc/publickey.c: Likewise.
12116 * sunrpc/rpc_cmsg.c: Likewise.
12117 * sunrpc/rpc_common.c: Likewise.
12118 * sunrpc/rpc_dtable.c: Likewise.
12119 * sunrpc/rpc_prot.c: Likewise.
12120 * sunrpc/rpc_thread.c: Likewise.
12121 * sunrpc/rtime.c: Likewise.
12122 * sunrpc/svc.c: Likewise.
12123 * sunrpc/svc_auth.c: Likewise.
12124 * sunrpc/svc_authux.c: Likewise.
12125 * sunrpc/svc_raw.c: Likewise.
12126 * sunrpc/svc_run.c: Likewise.
12127 * sunrpc/svc_simple.c: Likewise.
12128 * sunrpc/svc_tcp.c: Likewise.
12129 * sunrpc/svc_udp.c: Likewise.
12130 * sunrpc/svc_unix.c: Likewise.
12131 * sunrpc/svcauth_des.c: Likewise.
12132 * sunrpc/xcrypt.c: Likewise.
12133 * sunrpc/xdr.c: Likewise.
12134 * sunrpc/xdr_array.c: Likewise.
12135 * sunrpc/xdr_float.c: Likewise.
12136 * sunrpc/xdr_intXX_t.c: Likewise.
12137 * sunrpc/xdr_mem.c: Likewise.
12138 * sunrpc/xdr_rec.c: Likewise.
12139 * sunrpc/xdr_ref.c: Likewise.
12140 * sunrpc/xdr_sizeof.c: Likewise.
12141 * sunrpc/xdr_stdio.c: Likewise.
12142
e6c61494
UD
121432011-04-10 Ulrich Drepper <drepper@gmail.com>
12144
12145 [BZ #12650]
12146 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12147 * sysdeps/ia64/dl-tls.h: Likewise.
12148 * sysdeps/powerpc/dl-tls.h: Likewise.
12149 * sysdeps/s390/dl-tls.h: Likewise.
12150 * sysdeps/sh/dl-tls.h: Likewise.
12151 * sysdeps/sparc/dl-tls.h: Likewise.
12152 * sysdeps/x86_64/dl-tls.h: Likewise.
12153 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12154
34fe483e
AS
121552011-03-14 Andreas Schwab <schwab@redhat.com>
12156
12157 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12158 rpath element also skip the following colon.
12159 (expand_dynamic_string_token): Add is_path parameter and pass
12160 down to DL_DST_REQUIRED and _dl_dst_substitute.
12161 (decompose_rpath): Call expand_dynamic_string_token with
12162 non-zero is_path. Ignore empty rpaths.
12163 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12164 with zero is_path.
12165
f12a32e6
AS
121662011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12169 Make cancelable.
12170
38a7d692
UD
121712011-04-09 Ulrich Drepper <drepper@gmail.com>
12172
12173 [BZ #12655]
12174 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12175 Patch by Filipe David Manana <fdmanana@apache.org>.
12176
e451d22b
AS
121772011-04-07 Andreas Schwab <schwab@redhat.com>
12178
12179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12180 Maintain aligned stack.
12181 (CHECK_RSP): Remove unused macro.
12182
dedc7c7b
UD
121832011-04-03 Ulrich Drepper <drepper@gmail.com>
12184
12185 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12186 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12187
94521213
UD
121882011-04-02 Ulrich Drepper <drepper@gmail.com>
12189
12190 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12191
8cb700c0 12192 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12193
0354e355
L
121942011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 [BZ #12518]
12197 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12198 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12199 * sysdeps/x86_64/memmove.c: New file.
12200 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12201 (memcpy): Renamed to ...
12202 (__new_memcpy): This.
12203 (memcpy): Provide GLIBC_2_14 memcpy.
12204 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12205 (memcpy): Provide GLIBC_2_2_5 memcpy.
12206
8593482f
UD
122072011-04-01 Ulrich Drepper <drepper@gmail.com>
12208
12209 [BZ #12631]
12210 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12211
81a5726b
AS
122122011-03-30 Andreas Schwab <schwab@redhat.com>
12213
12214 * misc/syncfs.c: New file.
12215 * misc/Makefile (routines): Add syncfs.
12216 * posix/unistd.h: Declare syncfs.
12217 * sysdeps/unix/syscalls.list: Add syncfs.
12218
00e5419f
AS
122192011-04-01 Andreas Schwab <schwab@redhat.com>
12220
12221 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12222 open_by_handle_at.
12223 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12224 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12225 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12226 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12227 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12228 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12229 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12230
748876bf
UD
122312011-04-01 Ulrich Drepper <drepper@gmail.com>
12232
658e451d
UD
12233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12234 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12236 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12237 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12239 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12240
748876bf
UD
12241 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12242 sync_file_range.c with -fexceptions.
12243 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12244 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12245 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12246 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12247 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12248 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12249 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12250 sync_file_range as cancellation point
12251 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12252 now a wrapper around __call_sync_file_range with cancellation handling.
12253 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12254 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12255 function name to __call_sync_file_range.
12256 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12257 Add call_sync_file_range.
748876bf 12258
6e63d5e1
AS
122592011-04-01 Andreas Schwab <schwab@redhat.com>
12260
12261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12262 bits/timex.h.
6e63d5e1 12263
46998f74
UD
122642011-04-01 Ulrich Drepper <drepper@gmail.com>
12265
4c1423ed
UD
12266 * iconv/iconv.h: Fix typo in comment.
12267 * io/fcntl.h: Likewise.
12268 * libio/stdio.h: Likewise.
12269 * posix/spawn.h: Likewise.
12270 * posix/unistd.h: Likewise.
12271 * stdlib/stdlib.h: Likewise.
12272 * time/time.h: Likewise.
12273 * wcsmbs/wchar.h: Likewise.
12274
158648c0
UD
12275 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12276 open_by_handle): Add.
12277 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12278 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12279 Augment a few comments.
12280 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12281 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12282 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12283 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12284 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12285 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12286 open_by_handle.
12287
46998f74
UD
12288 * io/fcntl.h (AT_EMPTY_PATH): Define.
12289
83fe108b
UD
122902011-03-30 Ulrich Drepper <drepper@gmail.com>
12291
12292 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12293 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12294 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12295 to...
12296 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12297 * Versions.def: Add GLIBC_2.14.
12298 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12299 Export.
83fe108b 12300
bb242059
UD
123012011-03-22 Ulrich Drepper <drepper@gmail.com>
12302
12303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12304 round counter.
12305 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12306
c97a1282
L
123072011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12308
12309 [BZ #12597]
12310 * string/test-strncmp.c (do_page_test): New function.
12311 (check2): Likewise.
12312 (test_main): Call check2.
12313 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12314
2a115601
UD
123152011-03-20 Ulrich Drepper <drepper@gmail.com>
12316
12317 [BZ #12587]
12318 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12319 Handle cache information in CPU leaf 4.
12320 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12321
8126d904
UD
123222011-03-18 Ulrich Drepper <drepper@gmail.com>
12323
042c49c6 12324 [BZ #12583]
8126d904
UD
12325 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12326 character representation.
12327 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12328
ccfe366e
RA
123292011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12330
12331 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12332 END(__isnan) to END(__isnanf) to match function entry point/label
12333 EALIGN(__isnanf,...).
12334
c6e13027
JJ
123352011-03-10 Jakub Jelinek <jakub@redhat.com>
12336
12337 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12338
33f85a3f
UD
123392011-03-10 Ulrich Drepper <drepper@gmail.com>
12340
028478fa
UD
12341 [BZ #12510]
12342 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12343 copy from the symbol referenced in the relocation to initialize the
12344 used variable.
12345 Patch by Piotr Bury <pbury@goahead.com>.
12346 * elf/Makefile: Add rules to build and tst-unique3.
12347 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12348 * elf/tst-unique3.cc: New file.
12349 * elf/tst-unique3.h: New file.
12350 * elf/tst-unique3lib.cc: New file.
12351 * elf/tst-unique3lib2.cc: New file.
12352
33f85a3f
UD
12353 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12354
03592fc7
MF
123552011-03-10 Mike Frysinger <vapier@gentoo.org>
12356
12357 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12358 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12359 to _start.
03592fc7 12360
6a5ee102
UD
123612011-03-06 Ulrich Drepper <drepper@gmail.com>
12362
12363 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12364 to-be-loaded object along a path to loader is ld.so.
12365
7e4ba49c
HJ
123662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12367 Ulrich Drepper <drepper@gmail.com>
12368
12369 * sysdeps/x86_64/memset.S: After aligning destination, code
12370 branches to different locations depending on the value of
12371 misalignment, when multiarch is enabled. Fix this.
12372
123732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12374
12375 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12376 Set _x86_64_preferred_memory_instruction for AMD processsors.
12377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12378 Set bit_Prefer_SSE_for_memop for AMD processors.
12379
13a804de
UD
123802011-03-04 Ulrich Drepper <drepper@gmail.com>
12381
12382 * libio/fmemopen.c (fmemopen): Optimize a bit.
12383
9d25c392
AS
123842011-03-03 Andreas Schwab <schwab@redhat.com>
12385
12386 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12387
a5543c6a
RM
123882011-03-03 Roland McGrath <roland@redhat.com>
12389
12390 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12391
012d35f7
DM
123922011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12393
7e4ba49c 12394 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12395 __bzero_ultra1 instead of __memset_ultra1.
12396
4bff6e01
AS
123972011-02-23 Andreas Schwab <schwab@redhat.com>
12398 Ulrich Drepper <drepper@gmail.com>
12399
12400 [BZ #12509]
12401 * include/link.h (struct link_map): Add l_orig_initfini.
12402 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12403 returning unsuccessfully.
12404 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12405 close of a file loaded at startup, restore the original l_initfini
12406 list.
12407 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12408 list, store the pointer.
12409 * elf/Makefile ($(objpfx)noload-mem): New rule.
12410 (noload-ENV): Define.
12411 (tests): Add $(objpfx)noload-mem.
12412 * elf/noload.c: Include <memcheck.h>.
12413 (main): Call mtrace. Close all opened handles.
12414
f2092faf
AS
124152011-02-17 Andreas Schwab <schwab@redhat.com>
12416
12417 [BZ #12454]
12418 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12419 dependencies are missing.
12420
6c8a2e88
ST
124212011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12422
f2092faf 12423 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12424 Hurd needs munmap.
12425 * sysdeps/mach/hurd/ifreq.h: New file.
12426
84a42118
PB
124272011-01-27 Petr Baudis <pasky@suse.cz>
12428 Ulrich Drepper <drepper@gmail.com>
12429
071f805e 12430 [BZ 12445]#
84a42118
PB
12431 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12432 to extend_alloca().
12433 * stdio-common/bug23.c: New file.
12434 * stdio-common/Makefile (tests): Add bug23.
12435
e23fe25b
AS
124362010-09-28 Andreas Schwab <schwab@redhat.com>
12437 Ulrich Drepper <drepper@gmail.com>
12438
12439 [BZ #12489]
12440 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12441 before performing relro protection. At old place add assertion
12442 to make sure nothing changed.
12443
d3f02e10
NS
124442011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12445 Glauber de Oliveira Costa <glommer@gmail.com>
12446
12447 * elf/elf.h: Add new ARM TLS relocs.
12448
d55fd7a5
RA
124492011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12450
12451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12452 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12453 cast from r3.
12454 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12455 'tests' variable.
12456 * sysdeps/wordsize-64/tst-writev.c: New file.
12457
2206397e
RA
124582011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12459
12460 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12461 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12462 insns in _dl_start to prevent a TOC reference before relocs are
12463 resolved.
12464
e9433893
UD
124652011-02-15 Ulrich Drepper <drepper@gmail.com>
12466
12467 [BZ #12469]
12468 * Makeconfig: Remove RANLIB definition.
12469 * Makerules: Don't use RANLIB.
12470 * aclocal.m4: Remove ranlib test.
12471 * configure.in: No need to check for ranlib.
12472 * elf/rtld-Rules: Don't use RANLIB.
12473
f75286c6
ST
124742011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12475
8e31c82d
ST
12476 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12477 protection macro.
12478 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12479 inclusion protection macro.
12480
f75286c6
ST
12481 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12482 SIGRTMIN and SIGRTMAX and print information in that case only when
12483 SIGRTMIN is defined.
12484
c1d0e639
JJ
124852011-02-11 Jakub Jelinek <jakub@redhat.com>
12486
12487 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12488 arginfo fn returning -1.
12489
12490 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12491 and thousands string is zero terminated.
12492
edf9294e
AS
124932011-02-03 Andreas Schwab <schwab@redhat.com>
12494
12495 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12496 sysdeps/unix/sysv/linux/bits/socket.h.
12497
2b7e92df
ST
124982011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12499
edf9294e
AS
12500 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12501 (__CPU_COUNT): Remove old macros.
12502 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12503 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12504 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12505 (__sched_cpualloc, __sched_cpufree): Add declarations.
12506
a4c7ea7b
UD
125072011-02-05 Ulrich Drepper <drepper@gmail.com>
12508
12509 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12510 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12511 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12512 (readdhstai): Return value of addhstaiX call.
12513 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12514 (addgrbyX): Return value returned by cache_addgr.
12515 (readdgrbyname): Return value returned by addgrbyX.
12516 (readdgrbygid): Likewise.
12517 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12518 (addpwbyX): Return value returned by cache_addpw.
12519 (readdpwbyname): Return value returned by addhstbyX.
12520 (readdpwbyuid): Likewise.
12521 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12522 (addservbyX): Return value returned by cache_addserv.
12523 (readdservbyname): Return value returned by addservbyX:
12524 (readdservbyport): Likewise.
12525 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12526 (addhstbyX): Return value returned by cache_addhst.
12527 (readdhstbyname): Return value returned by addhstbyX.
12528 (readdhstbyaddr): Likewise.
12529 (readdhstbynamev6): Likewise.
12530 (readdhstbyaddrv6): Likewise.
12531 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12532 (readdinitgroups): Return value returned by addinitgroupsX.
12533 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12534 (prune_cache): Keep track of timeout value of re-added entries.
12535 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12536 * nscd/nscd.h: Adjust prototypes of readd* functions.
12537
a0bf67cc
RM
125382011-02-04 Roland McGrath <roland@redhat.com>
12539
12540 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12541 (nis_stats): Likewise.
12542 * nis/nis_modify.c (nis_modify): Likewise.
12543 * nis/nis_remove.c (nis_remove): Likewise.
12544 * nis/nis_add.c (nis_add): Likewise.
12545
12546 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12547
12548 * posix/fnmatch_loop.c: Add some consts.
12549
12550 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12551
435b95eb
L
125522011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12553
12554 [BZ #12460]
12555 * config.make.in (config-cflags-novzeroupper): Define.
12556 * configure.in: Substitute libc_cv_cc_novzeroupper.
12557 * elf/Makefile (AVX-CFLAGS): Define.
12558 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12559 (CFLAGS-tst-auditmod4a.c): Likewise.
12560 (CFLAGS-tst-auditmod4b.c): Likewise.
12561 (CFLAGS-tst-auditmod6b.c): Likewise.
12562 (CFLAGS-tst-auditmod6c.c): Likewise.
12563 (CFLAGS-tst-auditmod7b.c): Likewise.
12564 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12565
8517b15e
UD
125662011-02-02 Ulrich Drepper <drepper@gmail.com>
12567
12568 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12569 function to the callback.
12570 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12571
10a656fe
AS
125722011-02-02 Andreas Schwab <schwab@redhat.com>
12573
12574 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12575 of errno.
12576
968dad0a
UD
125772011-01-19 Ulrich Drepper <drepper@gmail.com>
12578
9f94d2ea 12579 [BZ #11724]
968dad0a
UD
12580 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12581 of constructors.
12582 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12583 of destructors.
12584 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12585
12586 [BZ #11724]
12587 * elf/Makefile: Add rules to build and run new test.
12588 * elf/tst-initorder.c: New file.
12589 * elf/tst-initorder.exp: New file.
12590 * elf/tst-initordera1.c: New file.
12591 * elf/tst-initordera2.c: New file.
12592 * elf/tst-initordera3.c: New file.
12593 * elf/tst-initordera4.c: New file.
12594 * elf/tst-initorderb1.c: New file.
12595 * elf/tst-initorderb2.c: New file.
12596 * elf/tst-order-a1.c: New file.
12597 * elf/tst-order-a2.c: New file.
12598 * elf/tst-order-a3.c: New file.
12599 * elf/tst-order-a4.c: New file.
12600 * elf/tst-order-b1.c: New file.
12601 * elf/tst-order-b2.c: New file.
12602 * elf/tst-order-main.c: New file.
12603 New test case by George Gensure <werkt0@gmail.com>.
12604
86e92359
UD
126052010-10-01 Andreas Schwab <schwab@redhat.com>
12606
12607 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12608 decoding ACE if AI_CANONIDN.
12609
5d5732b0
UD
126102011-01-18 Ulrich Drepper <drepper@gmail.com>
12611
12612 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12613
a77e8cbc
UD
126142011-01-17 Ulrich Drepper <drepper@gmail.com>
12615
6392473f
UD
12616 * version.h (RELEASE): Bump for 2.13 release.
12617 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12618
620a0529
UD
12619 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12620
18ba70a5
UD
12621 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12622 MADV_NOHUGEPAGE.
32465c3e
UD
12623 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12624 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12625 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12627 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12628 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12629
c0dafcf1
UD
12630 * posix/getconf.c: Update copyright year.
12631 * catgets/gencat.c: Likewise.
12632 * csu/version.c: Likewise.
12633 * debug/catchsegv.sh: Likewise.
12634 * debug/xtrace.sh: Likewise.
12635 * elf/ldconfig.c: Likewise.
12636 * elf/ldd.bash.in: Likewise.
12637 * elf/sprof.c (print_version): Likewise.
12638 * iconv/iconv_prog.c: Likewise.
12639 * iconv/iconvconfig.c: Likewise.
12640 * locale/programs/locale.c: Likewise.
12641 * locale/programs/localedef.c: Likewise.
12642 * malloc/memusage.sh: Likewise.
12643 * malloc/mtrace.pl: Likewise.
12644 * nscd/nscd.c (print_version): Likewise.
12645 * nss/getent.c: Likewise.
12646
a77e8cbc
UD
12647 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12648 PF_CAIF, and PF_ALG.
12649 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12650
77e8bddf
AS
126512011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12652
1f20b93a
AS
12653 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12654 (modules-names): Use them.
12655 (ifunc-test-modules, ifunc-pie-tests): Define.
12656 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12657 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12658 (test-extras): Likewise.
12659 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12660 $(compile-command.c).
12661 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12662 (all-built-dso): Define.
12663 (check-textrel.out, check-execstack.out): Depend on it.
12664
77e8bddf
AS
12665 * configure.in: Don't override --enable-multi-arch.
12666
bc425b33
UD
126672011-01-15 Ulrich Drepper <drepper@gmail.com>
12668
12669 [BZ #6812]
12670 * nscd/hstcache.c (tryagain): Define.
12671 (cache_addhst): Return tryagain not notfound for temporary errors.
12672 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12673 failed.
12674
794c3ad3
UD
126752011-01-14 Ulrich Drepper <drepper@gmail.com>
12676
70181fdd
UD
12677 [BZ #10563]
12678 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12679 to make the syscall.
12680 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12681
794c3ad3
UD
12682 [BZ #12378]
12683 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12684 and fall back to matching as normal character if the string ends before
12685 the matching ']' is found. This is what POSIX requires.
12686 * posix/testfnm.c: Adjust test result.
12687 * posix/globtest.sh: Adjust test result. Add new test.
12688 * posix/tst-fnmatch.input: Likewise.
12689 * posix/tst-fnmatch2.c: Add new test.
12690
68dc9497
AS
126912010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12692
12693 * elf/Makefile (check-execstack): Revert last change. Depend on
12694 check-execstack.h.
12695 (check-execstack.h): New target.
12696 (generated): Add check-execstack.h.
12697 * elf/check-execstack.c: Include "check-execstack.h".
12698 (main): Revert last change.
12699 (handle_file): Return zero if GNU_STACK is absent and
12700 DEFAULT_STACK_PERMS doesn't include PF_X.
12701
451f001b
UD
127022011-01-13 Ulrich Drepper <drepper@gmail.com>
12703
cfa28e56
UD
12704 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12705 in child fails because the descriptor is already closed.
8cf8ce17
UD
12706 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12707 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12708 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12709
1086d70d
UD
12710 [BZ #12397]
12711 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12712 syscall.
12713
451f001b
UD
12714 [BZ #10484]
12715 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12716 temporary buffer used to handle multi lookups locally.
a85b5cb4 12717 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12718
08769175
UD
127192011-01-12 Ulrich Drepper <drepper@gmail.com>
12720
12721 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12722 loader is ld.so.
12723
5e49c52e
UD
127242011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12725
12726 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12727 alignment for SSE2.
12728
60522a5f
UD
127292011-01-12 Ulrich Drepper <drepper@gmail.com>
12730
12731 [BZ #12394]
12732 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12733 characters. When rounding increased number of integer digits recompute
12734 number of groups.
12735 * stdio-common/tst-grouping.c: New file.
12736 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12737
f257bbd7
UD
127382011-01-09 Ulrich Drepper <drepper@gmail.com>
12739
12740 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12741 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12742
12743 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12744 void.
12745 * bits/select.h: Likewise.
12746
fa9c15cb
UD
127472011-01-08 Ulrich Drepper <drepper@gmail.com>
12748
12749 * po/ja.po: Update from translation team.
12750
16c2895f
DM
127512011-01-04 David S. Miller <davem@sunset.davemloft.net>
12752
12753 [BZ #11155]
12754 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12755 implementation just like for lxstat, fxstatat, et al.
12756
2543fef2
JM
127572010-12-27 Jim Meyering <meyering@redhat.com>
12758
12759 [BZ #12348]
12760 * posix/regexec.c (build_trtable): Return failure indication upon
12761 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12762
98727dbe
UD
127632010-12-25 Ulrich Drepper <drepper@gmail.com>
12764
5bd6dc5c
UD
12765 [BZ #12201]
12766 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12767 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12768 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12769 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12770
97983464
UD
12771 [BZ #12207]
12772 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12773
98727dbe
UD
12774 [BZ #12204]
12775 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12776 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12777
4a531bb0
L
127782010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12779
12780 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12781 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12782 script has SORT_BY_INIT_PRIORITY.
12783 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12784 NO_CTORS_DTORS_SECTIONS is defined.
12785 * elf/soinit.c: Likewise.
12786 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12787 NO_CTORS_DTORS_SECTIONS is defined.
12788 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12789 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12790 * sysdeps/sh/init-first.c: Likewise.
12791 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12792
07eb4b71
UD
127932010-12-24 Ulrich Drepper <drepper@gmail.com>
12794
12795 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12796 always use the slow path.
12797
30950a5f
RA
127982010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12799
12800 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12801 similar rule which adds the sysdep directories to the header search in
12802 order to pick up the correct platform stackinfo.h.
12803 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12804 perform test if it is, otherwise return successfully without testing.
12805 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12806 DEFAULT_STACK_PERMS define in stackinfo.h.
12807 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12808 defined in stackinfo.h.
12809 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12810 DEFAULT_STACK_PERMS defined in stackinfo.h.
12811 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12812 * sysdeps/ia64/stackinfo.h: Likewise.
12813 * sysdeps/s390/stackinfo.h: Likewise.
12814 * sysdeps/sh/stackinfo.h: Likewise.
12815 * sysdeps/sparc/stackinfo.h: Likewise.
12816 * sysdeps/x86_64/stackinfo.h: Likewise.
12817 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12818 PF_X for powerpc64. Retain PF_X for powerpc32.
12819
db753e2c
UD
128202010-12-19 Ulrich Drepper <drepper@gmail.com>
12821
14b697f7
UD
12822 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12823 accurately.
db753e2c
UD
12824 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12825 GETDENTS_64BIT_ALIGNED.
12826
28300719
UD
128272010-12-14 Ulrich Drepper <dreper@gmail.com>
12828
14b697f7 12829 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12830
4f197237
AS
128312010-12-10 Andreas Schwab <schwab@redhat.com>
12832
dbb0472f
AS
12833 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12834 _GNU_SOURCE.
12835
4f197237
AS
12836 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12837 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12838 Remove __restrict.
12839 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12840 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12841
fb88ac72
UD
128422010-12-09 Ulrich Drepper <drepper@gmail.com>
12843
12844 [BZ #11655]
12845 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12846 are initialized.
12847
42acbb92
JJ
128482010-12-09 Jakub Jelinek <jakub@redhat.com>
12849
12850 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12851
c038d98d
UD
128522010-12-03 Ulrich Drepper <drepper@gmail.com>
12853
12854 * po/it.po: Update from translation team.
12855
3a4a2499
L
128562010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12857
12858 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12859 unused codes.
12860
1e24cf6e
UD
128612010-11-30 Ulrich Drepper <drepper@gmail.com>
12862
12863 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12864
a7690819
AS
128652010-11-24 Andreas Schwab <schwab@redhat.com>
12866
12867 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12868 specially.
12869 (gaih_getanswer_slice): Likewise.
12870
3bf8d1b1
JJ
128712010-10-20 Jakub Jelinek <jakub@redhat.com>
12872
12873 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12874
6db52fbb
PB
128752010-05-31 Petr Baudis <pasky@suse.cz>
12876
12877 [BZ #11149]
12878 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12879 silently even in the chroot mode.
12880
eaca7569
UD
128812010-11-22 Ulrich Drepper <drepper@gmail.com>
12882
12883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12884 last patch a bit. Pretty printing
12885
3056dcdb
UD
128862010-05-31 Petr Baudis <pasky@suse.cz>
12887
12888 [BZ #10085]
12889 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12890 initialization of skip_initgroups_dyn.
12891
cf7c9078
UD
128922010-11-19 Ulrich Drepper <drepper@gmail.com>
12893
12894 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12895 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12896
a1fb5e3e
UD
128972010-11-16 Ulrich Drepper <drepper@gmail.com>
12898
12899 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12900
3540d66b
AS
129012010-11-11 Andreas Schwab <schwab@redhat.com>
12902
12903 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12904 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12905 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12906 ($(objpfx)tst-fnmatch-mem): New rule.
12907 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12908 * posix/tst-fnmatch.c (main): Call mtrace.
12909
13b69574
L
129102010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12911
12912 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12913 Support Intel processor model 6 and model 0x2c.
12914
da93d214
LM
129152010-11-10 Luis Machado <luisgpm@br.ibm.com>
12916
12917 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12918 signed comparison.
12919
8ca52c6e
L
129202010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12921
12922 [BZ #12205]
12923 * string/test-strncasecmp.c (check_result): New function.
12924 (do_one_test): Use it.
12925 (check1): New function.
12926 (test_main): Use it.
12927 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12928 Support strcasecmp and strncasecmp.
12929
69da074d
UD
129302010-11-08 Ulrich Drepper <drepper@gmail.com>
12931
12932 [BZ #12194]
12933 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12935
ff02d528
L
129362010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12937
12938 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12939 IFUNC support.
12940 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12941 memset-x86-64.
12942 * sysdeps/x86_64/multiarch/bzero.S: New file.
12943 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12944 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12945 * sysdeps/x86_64/multiarch/memset.S: New file.
12946 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12947 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12948 Set bit_Prefer_SSE_for_memop for Intel processors.
12949 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12950 Define.
12951 (index_Prefer_SSE_for_memop): Define.
12952 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12953
344d0b54
LM
129542010-11-04 Luis Machado <luisgpm@br.ibm.com>
12955
12956 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12957 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12958
c0dde15b
UD
129592010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12960
12961 [BZ #12191]
12962 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12963 (__x86_64_raw_data_cache_size_half): Likewise.
12964 (__x86_64_raw_shared_cache_size): Likewise.
12965 (__x86_64_raw_shared_cache_size_half): Likewise.
12966
12967 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12968 (__x86_64_raw_data_cache_size_half): Likewise.
12969 (__x86_64_raw_shared_cache_size): Likewise.
12970 (__x86_64_raw_shared_cache_size_half): Likewise.
12971 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12972 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12973 and __x86_64_raw_shared_cache_size_half. Round
12974 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12975 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12976 to multiple of 256 bytes.
12977
0e516e0e
MS
129782010-11-03 Ulrich Drepper <drepper@gmail.com>
12979
12980 [BZ #12167]
12981 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12982 of inacessible symlinks. Verify result of symlink before returning it.
12983 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12984 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12985
0e012e87
ER
129862010-10-28 Erich Ritz <erichritz@gmail.com>
12987
12988 * math/math.h (isinf): Fix typo in comment.
12989
de0ff7bc
UD
129902010-11-01 Ulrich Drepper <drepper@gmail.com>
12991
12992 * po/da.po: Update from translation team.
12993
fa41c84d
UD
129942010-10-26 Ulrich Drepper <drepper@gmail.com>
12995
12996 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12997 is added to the list.
12998
f0967738
AK
129992010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13000 Ulrich Drepper <drepper@gmail.com>
13001
13002 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13003 the global list here. Move code to...
13004 (_dl_add_to_namespace_list): ...here. New function.
13005 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13006 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13007 * elf/dl-load.c (lose): Don't remove the element from the list.
13008 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13009 (_dl_map_object): Likewise.
13010
130112010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13012
13013 [BZ #12159]
13014 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13015 into all bytes of SSE register.
13016 Patch by Richard Li <richardpku@gmail.com>.
13017
f0967738 130182010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13019
13020 [BZ #12140]
13021 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13022 perturbing.
13023
d0b9e94f
MB
130242010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13025
13026 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13027 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13028 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13029 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13031 submachine.
13032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13033
8e9f92e9
AS
130342010-10-22 Andreas Schwab <schwab@redhat.com>
13035
13036 * include/dlfcn.h (__RTLD_SECURE): Define.
13037 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13038 mode & __RTLD_SECURE instead.
13039 (open_path): Rename preloaded parameter to secure.
13040 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13041 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13042 * elf/dl-deps.c (openaux): Likewise.
13043 * elf/rtld.c (struct map_args): Remove is_preloaded.
13044 (map_doit): Don't use it.
13045 (dl_main): Likewise.
13046 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13047 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13048
bc96fbda
AS
130492010-09-09 Andreas Schwab <schwab@redhat.com>
13050
13051 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13052 (sysd-rules-targets): Remove duplicates.
13053 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13054 rtld-%.$o dependency.
13055
22cd1c9b
AS
130562010-10-18 Andreas Schwab <schwab@redhat.com>
13057
13058 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13059 _dl_map_object do it.
13060
18edac48
UD
130612010-10-19 Ulrich Drepper <drepper@gmail.com>
13062
13063 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13064 fast fma builtins, define the macros in the C99 standard.
13065 (FP_FAST_FMAF): Likewise.
13066 (FP_FAST_FMAL): Likewise.
13067 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13068
13069 * bits/mathdef.h: Update copyright year.
13070 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13071
d2050124
MM
130722010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13073
13074 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13075 builtins, define the macros in the C99 standard.
13076 (FP_FAST_FMAF): Likewise.
13077 (FP_FAST_FMAL): Likewise.
13078 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13079 multiply/add.
13080 (FP_FAST_FMAF): Likewise.
13081
475facd1
JJ
130822010-10-15 Jakub Jelinek <jakub@redhat.com>
13083
13084 [BZ #3268]
13085 * math/libm-test.inc (fma_test): Some new testcases.
13086 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13088 y and infinite z. Do multiplication by C already in long double.
13089 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13090 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13091 y and infinite z. Do bitwise or of inexact bit into u.d.
13092 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13093 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13094 * sysdeps/i386/fpu/s_fma.S: Removed.
13095 * sysdeps/i386/fpu/s_fmal.S: Removed.
13096
7c08a05c
JJ
130972010-10-16 Jakub Jelinek <jakub@redhat.com>
13098
13099 [BZ #3268]
13100 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13102 computation is not scheduled after fetestexcept. Fix value
13103 of minimum denormal long double.
13104
f3f7372d
JJ
131052010-10-14 Jakub Jelinek <jakub@redhat.com>
13106
13107 [BZ #3268]
13108 * math/libm-test.inc (fma_test): Add some more tests.
13109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13110 correctly.
13111
14d43591
AS
131122010-10-15 Andreas Schwab <schwab@redhat.com>
13113
13114 * scripts/data/localplt-s390-linux-gnu.data: New file.
13115 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13116
5e908464
JJ
131172010-10-13 Jakub Jelinek <jakub@redhat.com>
13118
13119 [BZ #3268]
13120 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13121 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13122 instead of dbl-64.
13123 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13124 inlines.
13125 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13126 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13127 if one of x and y is very large and the other is subnormal.
13128 * sysdeps/s390/fpu/s_fmaf.c: New file.
13129 * sysdeps/s390/fpu/s_fma.c: New file.
13130 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13131 * sysdeps/powerpc/fpu/s_fma.S: New file.
13132 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13133 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13134 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13135
131362010-10-12 Jakub Jelinek <jakub@redhat.com>
13137
13138 [BZ #3268]
13139 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13140 fma tests.
13141 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13142 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13143 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13144 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13145 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13146 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13147 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13148
b833d51f
UD
131492010-10-12 Ulrich Drepper <drepper@redhat.com>
13150
13151 [BZ #12078]
13152 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13153 * posix/bug-regex31.input: Add test case.
13154
1751705d
UD
131552010-10-11 Ulrich Drepper <drepper@gmail.com>
13156
e9b9cbf5
UD
13157 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13158 * posix/bug-regex31.input: New file.
13159
13160 [BZ #12078]
13161 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13162 (parse_sub_exp): Fix last change, use postorder.
13163
ef06edbe
UD
13164 * posix/bug-regex31.c: New file.
13165 * posix/Makefile: Add rules to build and run bug-regex31.
13166
a129c80d
UD
13167 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13168
13169 [BZ #12078]
13170 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13171
b76b818e
UD
13172 [BZ #12108]
13173 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13174 to have entries in sys_siglist.
13175
1751705d
UD
13176 [BZ #12093]
13177 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13178 be NULL.
13179
9ff8d36f
JJ
131802010-10-07 Jakub Jelinek <jakub@redhat.com>
13181
13182 [BZ #3268]
13183 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13184 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13185 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13186 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13187 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13188 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13189 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13190 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13191 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13192 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13193 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13194 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13195 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13196 * math/ftestexcept.c (fetestexcept): Likewise.
13197 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13198 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13199 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13200 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13201 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13202 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13203 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13204
af325969
UD
132052010-10-11 Ulrich Drepper <drepper@gmail.com>
13206
c579b202 13207 [BZ #12107]
af325969
UD
13208 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13209 newline.
13210
67a67b95
UD
132112010-10-06 Ulrich Drepper <drepper@gmail.com>
13212
13213 * string/bug-strstr1.c: New file.
13214 * string/Makefile: Add rules to build and run bug-strstr1.
13215
5fb308bc
EB
132162010-10-05 Eric Blake <eblake@redhat.com>
13217
13218 [BZ #12092]
13219 * string/str-two-way.h (two_way_long_needle): Always clear memory
13220 when skipping input due to the shift table.
13221
45db99c7
UD
132222010-10-03 Ulrich Drepper <drepper@gmail.com>
13223
3b111893
UD
13224 [BZ #12005]
13225 * malloc/mcheck.c: Handle large requests.
13226
45db99c7
UD
13227 [BZ #12077]
13228 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13229 for strncmp and strncasecmp.
13230 * string/stratcliff.c: Add tests for strcmp and strncmp.
13231 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13232
cf7a1eb8
NI
132332010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13234
13235 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13236 __set_fpscr.
13237
6484ba5e
AJ
132382010-09-30 Andreas Jaeger <aj@suse.de>
13239
13240 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13241 (CGROUP_SUPER_MAGIC): Define.
13242 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13243 Handle btrfs and cgroup file systems.
13244 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13245 Likewise.
13246
91c42559
LM
132472010-09-27 Luis Machado <luisgpm@br.ibm.com>
13248
13249 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13250 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13251
87a97932
AK
132522010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13253
13254 [BZ #12067]
13255 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13256 trying to locate the ELF header.
13257
c21cc9bc
AS
132582010-09-27 Andreas Schwab <schwab@redhat.com>
13259
13260 [BZ #11611]
13261 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13262 Mask out sign-bit copies when constructing f_fsid.
13263
315970f6
PB
132642010-09-24 Petr Baudis <pasky@suse.cz>
13265
13266 * debug/stack_chk_fail_local.c: Add missing licence exception.
13267 * debug/warning-nop.c: Likewise.
13268
1ac7a2c7
JM
132692010-09-15 Joseph Myers <joseph@codesourcery.com>
13270
13271 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13272 implementing getdents64 using getdents syscall, set d_type if
13273 __ASSUME_GETDENTS32_D_TYPE.
13274
56801c50
AS
132752010-09-16 Andreas Schwab <schwab@redhat.com>
13276
13277 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13278 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13279
dda51327
UD
132802010-09-21 Ulrich Drepper <drepper@redhat.com>
13281
13282 [BZ #12037]
13283 * posix/unistd.h: Undo change of feature selection for ftruncate from
13284 2010-01-11.
13285
8ffcee4a
UD
132862010-09-20 Ulrich Drepper <drepper@redhat.com>
13287
a545ecd9 13288 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13289 detection.
13290
e24f0a8b
AS
132912010-09-20 Andreas Schwab <schwab@redhat.com>
13292
13293 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13294 fanotify_mark.
13295 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13296
7291c56f
AS
132972010-09-14 Andreas Schwab <schwab@redhat.com>
13298
13299 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13300 variables after CHECK_SP call.
13301 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13302
bc5fb037
AS
133032010-09-13 Andreas Schwab <schwab@redhat.com>
13304 Ulrich Drepper <drepper@redhat.com>
13305
13306 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13307 re-relocationg ld.so.
13308 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13309 _dl_init_paths call.
13310 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13311 here anymore.
13312
e66e7419
UD
133132010-09-14 Ulrich Drepper <drepper@redhat.com>
13314
13315 * resolv/res_init.c (__res_vinit): Count the default server we added.
13316
c044aa75
CLT
133172010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13318 Ulrich Drepper <drepper@redhat.com>
13319
13320 [BZ #11968]
13321 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13322 (____longjmp_chk): Use %ebx for saving value across system call.
13323 Add unwind info.
13324
32cf4069
AS
133252010-09-06 Andreas Schwab <schwab@redhat.com>
13326
13327 * manual/Makefile: Don't mix pattern rules with normal rules.
13328
817328ee
AS
133292010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13330
13331 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13332 operation.
13333 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13334 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13335 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13336 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13337 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13338 Likewise.
13339
29fddf61
UD
133402010-09-04 Ulrich Drepper <drepper@redhat.com>
13341
13342 [BZ #11979]
13343 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13344 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13345
0959ffc9
UD
133462010-09-02 Ulrich Drepper <drepper@redhat.com>
13347
13348 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13349 * sysdeps/x86_64/addmul_1.S: Likewise.
13350 * sysdeps/x86_64/lshift.S: Likewise.
13351 * sysdeps/x86_64/mul_1.S: Likewise.
13352 * sysdeps/x86_64/rshift.S: Likewise.
13353 * sysdeps/x86_64/sub_n.S: Likewise.
13354 * sysdeps/x86_64/submul_1.S: Likewise.
13355
ece29840
ST
133562010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13357
0959ffc9
UD
13358 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13359 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13360 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13361 * bits/sched.h [__need_schedparam]
ece29840 13362 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13363 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13364 (__defined_schedparam): Define to 1.
ece29840
ST
13365 (__sched_param): New structure, identical to sched_param.
13366 (__need_schedparam): Undefine.
13367
e53a31fe
MF
133682010-08-31 Mike Frysinger <vapier@gentoo.org>
13369
fdc0c10d
MF
13370 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13371 (epoll_create1): Declare.
13372
e53a31fe
MF
13373 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13374
a726d796
AS
133752010-08-31 Andreas Schwab <schwab@redhat.com>
13376
13377 [BZ #7066]
13378 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13379 shifting retval into place.
13380
2f3e3dc7
UD
133812010-09-01 Ulrich Drepper <drepper@redhat.com>
13382
f2933da9
UD
13383 * nis/rpcsvc/nis.h: Update copyright notice.
13384 * nis/rpcsvc/nis.x: Likewise.
13385 * nis/rpcsvc/nis_callback.h: Likewise.
13386 * nis/rpcsvc/nis_callback.x: Likewise.
13387 * nis/rpcsvc/nis_object.x: Likewise.
13388 * nis/rpcsvc/nis_tags.h: Likewise.
13389 * nis/rpcsvc/yp.h: Likewise.
13390 * nis/rpcsvc/yp.x: Likewise.
13391 * nis/rpcsvc/ypupd.h: Likewise.
13392 * nis/yp_xdr.c: Likewise.
13393 * nis/ypupdate_xdr.c: Likewise.
13394
2f3e3dc7
UD
13395 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13396 mainly the body of pmap_getport. Add parameters to specify timeouts.
13397 (pmap_getport): Use __libc_rpc_getport.
13398 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13399 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13400 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13401
f3dcc2f9
AS
134022010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13403
13404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13405 fanotify_mark.
13406
6d34eb5b
RM
134072010-08-27 Roland McGrath <roland@redhat.com>
13408
13409 * sysdeps/i386/i686/multiarch/Makefile
13410 (CFLAGS-varshift.c): New variable.
13411
9ea3de11
UD
134122010-08-27 Ulrich Drepper <drepper@redhat.com>
13413
c96d23fc
UD
13414 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13415 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13416
9ea3de11
UD
13417 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13418
13419 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13420
623aac7f
L
134212010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 * sysdeps/x86_64/strlen.S: Unroll the loop.
13424 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13425 strlen-sse2 strlen-sse2-bsf.
13426 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13427 __strlen_no_bsf if bit_Slow_BSF is set.
13428 (__strlen_sse42): Removed.
13429 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13430 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13431
8b2b7715
RM
134322010-08-25 Roland McGrath <roland@redhat.com>
13433
13434 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13435 * sysdeps/x86_64/multiarch/varshift.c: New file.
13436 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13437 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13438 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13439 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13440
e73015f2
L
134412010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13442
13443 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13444 strlen-sse2 strlen-sse2-bsf.
13445 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13446 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13447 (__strlen_sse2): Removed.
13448 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13449 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13451 bit_Slow_BSF for Atom.
13452 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13453 (index_Slow_BSF): Define.
13454 (HAS_SLOW_BSF): Define.
13455
df24a73e
UD
134562010-08-25 Ulrich Drepper <drepper@redhat.com>
13457
13458 [BZ #10851]
13459 * resolv/res_init.c (__res_vinit): When no server address at all
13460 is given default to loopback.
13461
f2ac4868
RM
134622010-08-24 Roland McGrath <roland@redhat.com>
13463
09055553
RM
13464 * configure.in: Remove config-name.h generation.
13465 * configure: Regenerated.
13466 * config-name.in: File removed.
13467 * scripts/config-uname.sh: New file.
13468 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13469 ($(objdir)config-name.h): New target.
13470
f2ac4868
RM
13471 * sunrpc/rpc_parse.h: Avoid nested comment.
13472
73f27d5e
RH
134732010-08-24 Richard Henderson <rth@redhat.com>
13474 Ulrich Drepper <drepper@redhat.com>
13475 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13478 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13479 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13480 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13481 _mm_alignr_epi8 with _mm_loadu_si128.
13482 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13483 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13484 (__m128i_shift_right): Removed.
13485 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13486 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13487 * sysdeps/x86_64/multiarch/varshift.h: New file.
13488 * sysdeps/x86_64/multiarch/varshift.S: New file.
13489
84b9230c
MF
134902010-08-21 Mike Frysinger <vapier@gentoo.org>
13491
13492 * configure.in: Move assembler checks to before sysdep dir checking.
13493
9bbd0ddc
PB
134942010-08-20 Petr Baudis <pasky@suse.cz>
13495
13496 * LICENSES: Sync the sunrpc license.
13497
9da4bb31
UD
134982010-08-19 Ulrich Drepper <drepper@redhat.com>
13499
a7ab6ec8
UD
13500 * sunrpc/auth_des.c: Update copyright notice once again.
13501 * sunrpc/auth_none.c: Likewise.
13502 * sunrpc/auth_unix.c: Likewise.
13503 * sunrpc/authdes_prot.c: Likewise.
13504 * sunrpc/authuxprot.c: Likewise.
13505 * sunrpc/bindrsvprt.c: Likewise.
13506 * sunrpc/clnt_gen.c: Likewise.
13507 * sunrpc/clnt_perr.c: Likewise.
13508 * sunrpc/clnt_raw.c: Likewise.
13509 * sunrpc/clnt_simp.c: Likewise.
13510 * sunrpc/clnt_tcp.c: Likewise.
13511 * sunrpc/clnt_udp.c: Likewise.
13512 * sunrpc/clnt_unix.c: Likewise.
13513 * sunrpc/des_crypt.c: Likewise.
13514 * sunrpc/des_soft.c: Likewise.
13515 * sunrpc/get_myaddr.c: Likewise.
13516 * sunrpc/getrpcport.c: Likewise.
13517 * sunrpc/key_call.c: Likewise.
13518 * sunrpc/key_prot.c: Likewise.
13519 * sunrpc/openchild.c: Likewise.
13520 * sunrpc/pm_getmaps.c: Likewise.
13521 * sunrpc/pm_getport.c: Likewise.
13522 * sunrpc/pmap_clnt.c: Likewise.
13523 * sunrpc/pmap_prot.c: Likewise.
13524 * sunrpc/pmap_prot2.c: Likewise.
13525 * sunrpc/pmap_rmt.c: Likewise.
13526 * sunrpc/rpc/auth.h: Likewise.
13527 * sunrpc/rpc/auth_unix.h: Likewise.
13528 * sunrpc/rpc/clnt.h: Likewise.
13529 * sunrpc/rpc/des_crypt.h: Likewise.
13530 * sunrpc/rpc/key_prot.h: Likewise.
13531 * sunrpc/rpc/netdb.h: Likewise.
13532 * sunrpc/rpc/pmap_clnt.h: Likewise.
13533 * sunrpc/rpc/pmap_prot.h: Likewise.
13534 * sunrpc/rpc/pmap_rmt.h: Likewise.
13535 * sunrpc/rpc/rpc.h: Likewise.
13536 * sunrpc/rpc/rpc_des.h: Likewise.
13537 * sunrpc/rpc/rpc_msg.h: Likewise.
13538 * sunrpc/rpc/svc.h: Likewise.
13539 * sunrpc/rpc/svc_auth.h: Likewise.
13540 * sunrpc/rpc/types.h: Likewise.
13541 * sunrpc/rpc/xdr.h: Likewise.
13542 * sunrpc/rpc_clntout.c: Likewise.
13543 * sunrpc/rpc_cmsg.c: Likewise.
13544 * sunrpc/rpc_common.c: Likewise.
13545 * sunrpc/rpc_cout.c: Likewise.
13546 * sunrpc/rpc_dtable.c: Likewise.
13547 * sunrpc/rpc_hout.c: Likewise.
13548 * sunrpc/rpc_main.c: Likewise.
13549 * sunrpc/rpc_parse.c: Likewise.
13550 * sunrpc/rpc_parse.h: Likewise.
13551 * sunrpc/rpc_prot.c: Likewise.
13552 * sunrpc/rpc_sample.c: Likewise.
13553 * sunrpc/rpc_scan.c: Likewise.
13554 * sunrpc/rpc_scan.h: Likewise.
13555 * sunrpc/rpc_svcout.c: Likewise.
13556 * sunrpc/rpc_tblout.c: Likewise.
13557 * sunrpc/rpc_util.c: Likewise.
13558 * sunrpc/rpc_util.h: Likewise.
13559 * sunrpc/rpcinfo.c: Likewise.
13560 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13561 * sunrpc/rpcsvc/key_prot.x: Likewise.
13562 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13563 * sunrpc/rpcsvc/mount.x: Likewise.
13564 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13565 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13566 * sunrpc/rpcsvc/rex.x: Likewise.
13567 * sunrpc/rpcsvc/rstat.x: Likewise.
13568 * sunrpc/rpcsvc/rusers.x: Likewise.
13569 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13570 * sunrpc/rpcsvc/spray.x: Likewise.
13571 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13572 * sunrpc/rtime.c: Likewise.
13573 * sunrpc/svc.c: Likewise.
13574 * sunrpc/svc_auth.c: Likewise.
13575 * sunrpc/svc_authux.c: Likewise.
13576 * sunrpc/svc_raw.c: Likewise.
13577 * sunrpc/svc_run.c: Likewise.
13578 * sunrpc/svc_simple.c: Likewise.
13579 * sunrpc/svc_tcp.c: Likewise.
13580 * sunrpc/svc_udp.c: Likewise.
13581 * sunrpc/svc_unix.c: Likewise.
13582 * sunrpc/svcauth_des.c: Likewise.
13583 * sunrpc/xcrypt.c: Likewise.
13584 * sunrpc/xdr.c: Likewise.
13585 * sunrpc/xdr_array.c: Likewise.
13586 * sunrpc/xdr_float.c: Likewise.
13587 * sunrpc/xdr_mem.c: Likewise.
13588 * sunrpc/xdr_rec.c: Likewise.
13589 * sunrpc/xdr_ref.c: Likewise.
13590 * sunrpc/xdr_sizeof.c: Likewise.
13591 * sunrpc/xdr_stdio.c: Likewise.
13592
9da4bb31
UD
13593 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13594 handling.
13595
bdaa77bc
AS
135962010-08-19 Andreas Schwab <schwab@redhat.com>
13597
13598 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13599
fe2f79db
LM
136002010-08-19 Luis Machado <luisgpm@br.ibm.com>
13601
13602 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13603 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13604 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13605 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13606 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13607 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13608 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13609 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13610 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13611 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13612 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13614 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13615 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13616
b9b42ee0
AB
136172010-07-26 Anton Blanchard <anton@samba.org>
13618
13619 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13620 * malloc/arena.c (heap_trim): Likewise.
13621
1c06ba31
UD
136222010-08-16 Ulrich Drepper <drepper@redhat.com>
13623
13624 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13625 here. Not...
13626 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13627 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13628
f8392f40
L
136292010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13630
13631 * sysdeps/i386/elf/Makefile: New file.
13632
3162f12e
AS
136332010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13634
13635 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13636 from fanotify_init.
13637 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13638 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13639
28c90b2c
UD
136402010-08-15 Ulrich Drepper <drepper@redhat.com>
13641
13642 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13643 of strncasecmp_l.
1feccb6c 13644 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13645
ca6bb004
UD
136462010-08-14 Ulrich Drepper <drepper@redhat.com>
13647
e9f82e0d
UD
13648 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13649 strncase_l-nonascii.
13650 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13651 Add strncase_l-ssse3.
13652 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13653 * sysdeps/x86_64/strcmp.S: Likewise.
13654 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13655 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13656 * sysdeps/x86_64/strncase.S: New file.
13657 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13658 * sysdeps/x86_64/strncase_l.S: New file.
13659 * string/Makefile (strop-tests): Add strncasecmp.
13660 * string/test-strncasecmp.c: New file.
13661
13662 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13663 warning.
13664
ca6bb004
UD
13665 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13666 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13667
052fa7b3
AS
136682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13669
13670 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13671
962dba78
UD
136722010-08-12 Ulrich Drepper <drepper@redhat.com>
13673
13674 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13675 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13676 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13677
bebff237
AM
136782010-05-01 Alan Modra <amodra@gmail.com>
13679
13680 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13681 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13682 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13683 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13684 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13685 tidying. Don't tail-call __sigjmp_save for static lib.
13686 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13687 save location.
13688 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13689 (CALL_MCOUNT): Add eh info, and nop after bl.
13690 (TAIL_CALL_SYSCALL_ERROR): New macro.
13691 (PSEUDO_RET): Use it.
13692 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13693 Correct save location of integer regs and cr.
13694 (_dl_profile_resolve): Correct cr save location. Delete nops
13695 after bl when SHARED. Reduce cfi size a little by better
13696 placement of cfi directives.
13697 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13698 make a stack frame. Instead use parm save area as a temp.
13699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13700 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13702 Don't make a stack frame for parent, use parm save area.
13703 Increase child stack frame to 112 bytes. Don't save unused reg,
13704 and adjust reg usage. Set up cfi on error recovery and
13705 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13707 (__makecontext): Add dummy nop after jump to exit.
13708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13709 Use correct parm save area and cr save, reduce stack frame.
13710 Correct cfi for possible PSEUDO_RET frame setup.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13712 Branch to local label emitted by PSEUDO_RET rather than
13713 __syscall_error.
13714
02637374
AS
137152010-08-12 Andreas Schwab <schwab@redhat.com>
13716
13717 [BZ #11904]
13718 * locale/programs/locale.c (print_assignment): New function.
13719 (show_locale_vars): Use it.
13720
c3e2f19b
UD
137212010-08-11 Ulrich Drepper <drepper@redhat.com>
13722
3cdaa6ad
UD
13723 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13724 field.
13725 (struct statfs64): Likewise.
13726 (_STATFS_F_FLAGS): Define.
13727 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13728 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13729 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13730 (ST_VALID): Define locally.
13731 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13732 __statvfs_getflags, use the provided value.
13733 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13734 __ASSUME_STATFS_F_FLAGS.
13735
754f7da3
UD
13736 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13737
10b3bedc
UD
13738 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13739 Add sys/fanotify.h.
13740 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13741 fanotify_mask for GLIBC_2.13.
13742 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13743 fanotify_init and fanotify_mark.
13744 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13745 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13746
c08fb0d7
UD
13747 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13748 Add prlimit.
13749 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13750 prlimit64 for GLIBC_2.13.
13751 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13752 prlimit64.
13753 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13754 syscall.
13755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13756 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13757 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13758 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13760 add prlimit alias.
13761 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13762
15bac72b
UD
13763 [BZ #11903]
13764 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13765 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13766
c3e2f19b
UD
13767 * nss/Makefile: Add rules to build and run tst-nss-test1.
13768 * shlib-versions: Add entry for libnss_test1.
13769 * nss/nss_test1.c: New file.
13770 * nss/tst-nss-test1.c: New file.
13771
13772 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13773 (__nss_configure_lookup): Set appropriate entry in
13774 __nss_configure_lookup to true.
13775 * nss/nsswitch.h: Define enum with indeces of databases in
13776 databases and __nss_database_custom arrays. Declare
13777 __nss_database_custom.
13778 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13779 to avoid using nscd when custom rules are installed.
13780 * nss/getXXbyYY_r.c: Likewise.
13781 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13782
13783 * nss/nss_files/files-parse.c: Whitespace fixes.
13784
f15ce4d8
UD
137852010-08-09 Ulrich Drepper <drepper@redhat.com>
13786
13787 [BZ #11883]
13788 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13789 * posix/fnmatch_loop.c: Likewise.
13790
d22e4cc9
AK
137912010-07-17 Andi Kleen <ak@linux.intel.com>
13792
13793 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13794 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13795 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13796 * Versions.def [GLIBC_2.13]: Add.
13797
805bc17d
UD
137982010-08-06 Ulrich Drepper <drepper@redhat.com>
13799
13800 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13801 Also fail if tpwd after pwuid call is NULL.
13802
5a42321d
ST
138032010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13804
13805 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13806 when converting to ms.
13807
fd3ebeda
ST
138082010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13809
13810 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13811 EOPNOTSUPP errors with ENOTTY.
13812 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13813 EOPNOTSUPP errors with ENOTTY.
13814
73507d3a
UD
138152010-07-31 Ulrich Drepper <drepper@redhat.com>
13816
13817 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13818 Add strcasecmp_l-ssse3.
13819 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13820 strcasecmp.
13821 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13822 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13823 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13824
fe36dd02
UD
138252010-07-30 Ulrich Drepper <drepper@redhat.com>
13826
66f6765a
UD
13827 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13828
42e08a54
UD
13829 * string/Makefile (strop-tests): Add strcasecmp.
13830 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13831 strcasecmp_l-nonascii.
13832 (gen-as-const-headers): Add locale-defines.sym.
13833 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13834 * sysdeps/x86_64/strcasecmp.S: New file.
13835 * sysdeps/x86_64/strcasecmp_l.S: New file.
13836 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13837 * sysdeps/x86_64/locale-defines.sym: New file.
13838 * string/test-strcasecmp.c: New file.
13839
fe36dd02
UD
13840 * string/test-strcasestr.c: Test both ends of the range of characters.
13841 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13842
48cbc0d6
RM
138432010-07-29 Roland McGrath <roland@redhat.com>
13844
76e6d6bc 13845 [BZ #11856]
48cbc0d6
RM
13846 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13847
880113d9
UD
138482010-07-27 Ulrich Drepper <drepper@redhat.com>
13849
13850 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13851 for ld.so.
13852
deb9cabb
AS
138532010-07-27 Andreas Schwab <schwab@redhat.com>
13854
13855 * manual/memory.texi (Malloc Tunable Parameters): Document
13856 M_PERTURB.
13857
1c7570ff
RM
138582010-07-26 Roland McGrath <roland@redhat.com>
13859
13860 [BZ #11840]
13861 * configure.in (-fgnu89-inline check): Set and substitute
13862 gnu89_inline, not libc_cv_gnu89_inline.
13863 * configure: Regenerated.
13864 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13865
24fb0f88
UD
138662010-07-26 Ulrich Drepper <drepper@redhat.com>
13867
13868 * string/test-strnlen.c: New file.
13869 * string/Makefile (strop-tests): Add strnlen.
13870 * string/tester.c (test_strnlen): Add a few more test cases.
13871 * string/tst-strlen.c: Better error reporting.
13872
13873 * sysdeps/x86_64/strnlen.S: New file.
13874
8e96b93a
UD
138752010-07-24 Ulrich Drepper <drepper@redhat.com>
13876
13877 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13878 lower-latency instructions.
13879
dbc676d4
UD
138802010-07-23 Ulrich Drepper <drepper@redhat.com>
13881
13882 * string/test-strcasestr.c: New file.
13883 * string/test-strstr.c: New file.
13884 * string/Makefile (strop-tests): Add strstr and strcasestr.
13885 * string/str-two-way.h: Don't undefine MAX.
13886 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13887
f6a31e0e
AS
138882010-07-21 Andreas Schwab <schwab@redhat.com>
13889
13890 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13891 strcasestr-nonascii.
13892 (CFLAGS-strcasestr-nonascii.c): Define.
13893 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13894 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13895 Remove unused attribute.
13896
5dbc3b6c
RM
138972010-07-20 Roland McGrath <roland@redhat.com>
13898
13899 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13900 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13901 ld.so.cache was broken. With it, there is no way to disable dsocaps
13902 like LD_HWCAP_MASK can disable hwcaps.
13903
23d101d8
EPM
139042010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13905
13906 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13907
cc9f2e47
UD
139082010-07-16 Ulrich Drepper <drepper@redhat.com>
13909
13910 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13911 call in strcasestr.
13912 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13913 __strcasestr_sse42_nonascii.
13914 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13915 strcasestr-nonascii.c.
13916 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13917
77c1b069
LM
139182010-06-15 Luis Machado <luisgpm@br.ibm.com>
13919
13920 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13921 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13922 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13923 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13924
440566c3
UD
139252010-07-09 Ulrich Drepper <drepper@redhat.com>
13926
13927 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13928 fcntl.
13929
5be9d05d
AS
139302010-07-06 Andreas Schwab <schwab@redhat.com>
13931
c30b7ee2 13932 [BZ #11577]
5be9d05d
AS
13933 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13934 dl_signal_cerror.
13935
8a492a67
UD
139362010-07-06 Ulrich Drepper <drepper@redhat.com>
13937
13938 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13939 _PC_PIPE_BUF using F_GETPIPE_SZ.
13940
713df3d5
RM
139412010-07-05 Roland McGrath <roland@redhat.com>
13942
13943 * manual/arith.texi (Rounding Functions): Fix rint description
13944 implicit in round description.
13945
702e8f14
UD
139462010-07-02 Ulrich Drepper <drepper@redhat.com>
13947
13948 * elf/Makefile: Fix linking for a few tests to make recent linker
13949 happy.
13950
52ed8be9
AS
139512010-06-30 Andreas Schwab <schwab@redhat.com>
13952
13953 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13954 $(common-objpfx)libc_nonshared.a.
13955
f47c9a11
LM
139562010-06-21 Luis Machado <luisgpm@br.ibm.com>
13957
13958 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13959 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13960 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13961 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13962 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13963 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13964 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13965 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13980 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13981 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13982 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13983 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13984 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13985 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13986 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13987 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13988 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13989 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13990 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13991 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14006
6fb8cbcb
L
140072010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14008
14009 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14010 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14011 * string/memmove.c (memmove): Renamed to ...
14012 (MEMMOVE): ...this. Default to memmove.
14013 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14014 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14015 (END_CHK): Define.
14016 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14017 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14018 mempcpy-ssse3-back memmove-ssse3-back.
14019 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14020 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14021 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14022 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14023 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14024 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14025 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14026 * sysdeps/x86_64/multiarch/memmove.c: New file.
14027 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14028 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14029 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14030 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14031 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14032 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14033 Define.
14034 (index_Fast_Copy_Backward): Define.
14035 (HAS_ARCH_FEATURE): Define.
14036 (HAS_FAST_REP_STRING): Define.
14037 (HAS_FAST_COPY_BACKWARD): Define.
14038
4e733bac 140392010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14040
14041 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14042 Restore proper fallback handling.
14043
63c4ed22
UD
140442010-06-19 Ulrich Drepper <drepper@redhat.com>
14045
ac2b484c
UD
14046 [BZ #11701]
14047 * posix/group_member.c (__group_member): Correct checking loop.
14048
63c4ed22
UD
14049 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14050 OOM in getpwuid_r correctly. Return error number when the caller
14051 should return, otherwise -1.
14052 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14053 call returning > 0 value.
14054 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14055
765ade4b
AS
140562010-06-07 Andreas Schwab <schwab@redhat.com>
14057
14058 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14059 libc_nonshared.a from targets in modules-names.
14060
80da2e09
KS
140612010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14062
14063 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14064 requires it.
14065
158db122
LM
140662010-06-10 Luis Machado <luisgpm@br.ibm.com>
14067
14068 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14069 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14070 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14071 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14072
caa78cf8
AS
140732010-06-02 Andreas Schwab <schwab@redhat.com>
14074
14075 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14076
b2ef2c01
UD
140772010-06-14 Ulrich Drepper <drepper@redhat.com>
14078
14079 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14080 and F_GETPIPE_SZ.
14081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14082 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14084 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14085 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14086 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14087
fbd643b6
RM
140882010-06-14 Roland McGrath <roland@redhat.com>
14089
14090 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14091
f32f2869
JJ
140922010-06-07 Jakub Jelinek <jakub@redhat.com>
14093
14094 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14095 __REDIRECT followed by __THROW.
14096 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14097 * posix/getopt.h (getopt): Likewise.
14098
2a50c078
EPM
140992010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14100
14101 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14102 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14103 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14104 in AT_FLAGS.
14105 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14106 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14107
eb5ad2eb
LM
141082010-05-28 Luis Machado <luisgpm@br.ibm.com>
14109
14110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14111
3c88fe1e
L
141122010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 [BZ #11640]
14115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14116 Properly check family and model.
14117
d2f73151
TY
141182010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14119
14120 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14121
ebd2e13d
LM
141222010-05-24 Luis Machado <luisgpm@br.ibm.com>
14123
14124 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14125
b32b8b45
UD
141262010-05-21 Ulrich Drepper <drepper@redhat.com>
14127
14128 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14129 symbol reference.
14130
9acbe24d
AS
141312010-05-19 Andreas Schwab <schwab@redhat.com>
14132
14133 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14134 symbol reference.
14135
f0ccf6ea
AS
141362010-05-21 Andreas Schwab <schwab@redhat.com>
14137
3d04ff3a
AS
14138 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14139 and internal_recvmmsg.
14140 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14141 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14142 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14143 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14144
f0ccf6ea
AS
14145 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14146 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14147 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14148
5b08ac57
AS
141492010-05-20 Andreas Schwab <schwab@redhat.com>
14150
14151 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14152
4828935d
LM
141532010-05-17 Luis Machado <luisgpm@br.ibm.com>
14154
14155 POWER7 optimizations.
14156 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14157 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14158
373d545e
UD
141592010-05-19 Ulrich Drepper <drepper@redhat.com>
14160
14161 * version.h: Update for 2.13 development version.
14162
21a2b1ae
AS
141632010-05-12 Andrew Stubbs <ams@codesourcery.com>
14164
14165 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14166 exceptions. Return 0.
14167
3f7dcb2b
RM
141682010-05-07 Roland McGrath <roland@redhat.com>
14169
14170 * elf/ldconfig.c (main): Add a const.
14171
5f24d53a 141722010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14173
a160f8d8
UD
14174 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14175 (args_options): Add no-idn option.
14176 (ahosts_keys_int): Add idn_flags to ai_flags.
14177 (parse_option): Handle 'i' option to clear idn_flags.
14178
5f24d53a
UD
14179 * malloc/malloc.c (_int_free): Possible race in the most recently
14180 added check. Only act on the data if no current modification
14181 happened.
265bb1ce
UD
14182
14183See ChangeLog.17 for earlier changes.
This page took 1.849265 seconds and 5 git commands to generate.