]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Define LP_SIZE/LP_OP/ASM_ADDR/RXX_LP for x86-64
[thirdparty/glibc.git] / ChangeLog
CommitLineData
520ae0fd
L
12012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
4 (LP_OP): Likewise.
5 (ASM_ADDR): Likewise.
6 (RAX_LP): Likewise.
7 (RBP_LP): Likewise.
8 (RBX_LP): Likewise.
9 (RCX_LP): Likewise.
10 (RDI_LP): Likewise.
11 (RSI_LP): Likewise.
12 (RSP_LP): Likewise.
13 (R8_LP): Likewise.
14 (R9_LP): Likewise.
15 (R10_LP): Likewise.
16 (R10_LP): Likewise.
17 (R11_LP): Likewise.
18 (R12_LP): Likewise.
19 (R13_LP): Likewise.
20 (R14_LP): Likewise.
21 (R15_LP): Likewise.
22
b985be81
L
232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
24
25 * sysdeps/x86_64/x32/dl-machine.h: New file.
26
6a4888ff
AJ
272012-05-14 Andreas Jaeger <aj@suse.de>
28
29 * manual/Makefile (subdir): Remove export of subdir.
30 (all): Remove target.
31 (.PHONY): Remove all from list.
32 (mkinstalldirs): Remove.
33 (.PHONY): Remove installdirs from list.
34 ($(inst_infodir)/libc.info): Use make-target-directory.
35 (installdirs): Remove.
36 (subdir_%): Remove.
37 (glibc-targets): Remove.
38 (lib): Remove.
39 (stubs): Remove.
40 ($(objpfx)stubs ../po/manual.pot): Remove.
41 ($(objpfx)stamp%): Remove.
42 (make-target-directory): Remove.
43 (subdir_install): Remove.
44 (routines): Remove.
45 (aux): Remove.
46 (sources): Remove.
47 (objects): Remove.
48 (headers): Remove.
49
50 [BZ #13750]
51 * manual/.gitignore: Remove, it's not needed anymore.
52 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
53 all files in it.
54 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
55 directory.
56 (texis): Renamed to $(objpfx)texis.
57 (texis-path): New, contains path to generated files.
58 (chapters.%): Use texis-path for complete path, add extra argument
59 libc-texinfo.sh.
60 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
61 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
62 (summary,texi, stamp-summary): Use complete path of
63 files. Generate files in build dir.
64 (dir-add.texi): Build in build dir.
65 (libm-err.texi,stamp-libm-err): Likewise.
66 (version.texi, stamp-version): Likewise.
67 (.%c.texi): Likewise.
68 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
69 (mostlyclean): Remove target.
70 (realclean): Remove target.
71 (generated): Add new variable with contents from mostlyclean and
72 realclean, remove entries duplicated in common-mostlyclean, add
73 stamp-libm-err and stamp-version.
74 (generated-dirs): Add libc directory.
75 ($(inst_infodir)/libc.info): Install files from build dir.
76
77 * manual/install.texi (Configuring and compiling): Adjust since
78 the info files are not part of the tar ball anymore.
79
7ac77294
AJ
802012-05-14 Andreas Jaeger <aj@suse.de>
81
82 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
83 variable.
84
ffb7875d
JM
852012-05-14 Joseph Myers <joseph@codesourcery.com>
86
87 [BZ #13717]
88 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
89 to 2.2.0 where earlier.
90 * sysdeps/unix/sysv/linux/configure: Regenerated.
91 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
92 Remove conditional code.
93 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
94 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
95 Remove conditional code.
96 [!__NR_lchown]: Likewise.
97 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
98 [__NR_lchown]: Likewise.
99 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
100 comment referencing __ASSUME_LCHOWN_SYSCALL.
101 * sysdeps/unix/sysv/linux/i386/sigaction.c
102 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
103 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
104 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
105 Remove conditional code.
106 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
107 (__protocol_available): Remove #if 0 code.
108 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
109 conditional code.
110 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
111 * sysdeps/unix/sysv/linux/kernel-features.h
112 (__ASSUME_GETCWD_SYSCALL): Don't define.
113 (__ASSUME_REALTIME_SIGNALS): Likewise.
114 (__ASSUME_PREAD_SYSCALL): Likewise.
115 (__ASSUME_PWRITE_SYSCALL): Likewise.
116 (__ASSUME_POLL_SYSCALL): Likewise.
117 (__ASSUME_LCHOWN_SYSCALL): Likewise.
118 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
119 non-SPARC.
120 (__ASSUME_SIOCGIFNAME): Don't define.
121 (__ASSUME_MSG_NOSIGNAL): Likewise.
122 (__ASSUME_SENDFILE): Define unconditionally.
123 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
124 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
125 conditional code.
126 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
127 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
128 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
129 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
130 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
131 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
132 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
134 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
135 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
137 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
138 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
140 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
143 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
158 Remove conditional code.
159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
161 Remove conditional code.
162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
164 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
165 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
166 Remove conditional code.
167 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
168 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
169 Remove conditional code.
170 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
171 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
172 Remove conditional code.
173 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
174 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
175 Remove conditional code.
176 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
177 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
178 Remove conditional code.
179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
180 * sysdeps/unix/sysv/linux/sh/pwrite64.c
181 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
183 * sysdeps/unix/sysv/linux/sigaction.c
184 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
185 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
186 * sysdeps/unix/sysv/linux/sigpending.c
187 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
188 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
189 * sysdeps/unix/sysv/linux/sigprocmask.c
190 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
191 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
192 * sysdeps/unix/sysv/linux/sigsuspend.c
193 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
194 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
195 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
196 (__libc_missing_rt_sigs): Remove.
197 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
198 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
199 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
200 Remove conditional code.
201 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
202 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
203 return 1.
204 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
205 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
206 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
207 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
208
1bfb7291
AJ
2092012-05-14 Andreas Jaeger <aj@suse.de>
210
caae5a81
AJ
211 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
212 it's not used in glibc.
213 (__coshm1): Likewise.
214 (__acosh1p): Likewise.
215 (__sgn): Likewise.
216
1bfb7291
AJ
217 * manual/string.texi (Copying and Concatenation): Add missing
218 variable in concat example.
219 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
220
c044d724
L
2212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
222
223 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
224 __builtin_clzl with __builtin_clzll.
225
2523c62b
L
2262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
227
228 [BZ #14104]
229 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
230 libc_freeres_ptr.
231
d7bb4c42
LD
2322012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
233
234 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
235 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
236 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
237 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
238
9dc4e1fb
MF
2392012-05-14 Mike Frysinger <vapier@gentoo.org>
240
241 * NEWS: Update ia64 info.
242
c7df0112
AS
2432012-05-12 Andreas Schwab <schwab@linux-m68k.org>
244
245 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
246 used as bcopy.
247
dc70356c
TS
2482012-05-12 Thomas Schwinge <thomas@codesourcery.com>
249
250 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
251 * sysdeps/unix/syscalls.list (dup3): Likewise.
252 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
253 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
254
9fb1a21f
L
2552012-05-11 H.J. Lu <hongjiu.lu@intel.com>
256
257 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
258 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
259
4822a2a5
L
2602012-05-11 H.J. Lu <hongjiu.lu@intel.com>
261
262 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
263 thread pointer.
264 (TLS_IE): Use mov/add instead of movq/addq to load thread
265 pointer.
266 (TLS_GD_PREFIX): New.
267 (TLS_GD): Use it.
268
842b81d6
DM
2692012-05-11 David S. Miller <davem@davemloft.net>
270
271 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
272 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
273 (_FPU_SETCW): Likewise.
274
1cf463cd
L
2752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
276
277 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
278 is 32-byte aligned.
279
60cc4a18
AS
2802012-05-11 Andreas Schwab <schwab@linux-m68k.org>
281
282 [BZ #11837]
283 * iconvdata/gb18030.c: Update tables.
284 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
285 characters specially.
286 (BODY for TO_LOOP): Add encoding of missing ranges.
287
febb44a4
TS
2882012-05-11 Thomas Schwinge <thomas@codesourcery.com>
289
290 [BZ #13673]
291 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
292 * sysdeps/mach/hurd/dup3.c: Likewise.
293 * sysdeps/mach/hurd/readlinkat.c: Likewise.
294 * sysdeps/powerpc/memmove.c:: Likewise.
295
0a10fb9e
L
2962012-05-10 H.J. Lu <hongjiu.lu@intel.com>
297
298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
299 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
300
df8a552f
L
3012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
302
303 * elf/elf.h (R_X86_64_RELATIVE64): New.
304 (R_X86_64_NUM): Updated.
305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
306 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
307 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
308 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
309 tst-quad1pie tst-quad2pie
310 (modules-names): Add tst-quadmod1 tst-quadmod2.
311 ($(objpfx)tst-quad1): New dependency.
312 ($(objpfx)tst-quad2): Likewise.
313 ($(objpfx)tst-quad1pie): Likewise.
314 ($(objpfx)tst-quad2pie): Likewise.
315 * sysdeps/x86_64/tst-quad1.c: New file.
316 * sysdeps/x86_64/tst-quad1pie.c: New file.
317 * sysdeps/x86_64/tst-quad2.c: Likewise.
318 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
319 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
320 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
321 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
322 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
323
f34d6f84
ST
3242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
325
f42d41d1
ST
326 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
327 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
328 * streams/stropts.h (t_scalar_t): Define type.
329
3c3571fc
ST
330 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
331 (_PATH_PRESERVE): Set to "/var/lib".
332 (_PATH_RWHODIR): Set to "/var/spool/rwho".
333
61f06bd3
ST
334 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
335 instead of int.
336
918d4d71
ST
337 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
338 if __dir_mkfile succeeded.
339
f34d6f84
ST
340 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
341 checking for _hurd_dtablesize. Unlock it right after having
342 finished _hurd_dtable allocation.
343
10589b4a
TS
3442012-05-10 Thomas Schwinge <thomas@schwinge.name>
345
674cdbc7
TS
346 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
347 * sysdeps/mach/hurd/configure: Regenerated.
348 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
349 special-casing to...
350 * sysdeps/gnu/configure.in: ... this new file.
351 * sysdeps/unix/sysv/linux/configure: Regenerated.
352 * sysdeps/gnu/configure: New generated file.
353
8e41b99f
TS
354 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
355 for Linux: use nsec instead of usec, as well as:
356 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
357 members of type struct timespec.
358 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
359 New macros.
360 (struct stat64): Likewise.
361 (_STATBUF_ST_NSEC): New macro.
362 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
363
10589b4a
TS
364 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
365 __strtoul_internal rather than strtoul.
366
63643c85
PT
3672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
368
369 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
370 and reject them.
371
3faebe6a
ST
3722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
373
374 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
375 which preserves existing values.
376 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
377
c6474b07
PT
3782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
379
380 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
381 TIMEOUT values. Return EINVAL for NFDS values either negative or
382 greater than FD_SETSIZE.
383
1043890b
ST
3842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
385
386 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
387 allocated, call __vm_protect to finish enabling the existing space, and
388 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
389 allocate the remainder.
390
37ed8b9b
PT
3912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
392
393 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
394 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
395
db653660
ST
3962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
397
37ed8b9b
PT
398 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
399 sysdeps/mach/hurd/readlink.c.
b29d4053 400
db653660
ST
401 * posix/tst-sysconf.c (posix_options): Only use
402 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
403 _POSIX_SYNCHRONIZED_IO when they are defined
404 * sysdeps/mach/hurd/bits/posix_opt.h:
405 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
406 (_XOPEN_REALTIME): Undefine macro.
407 (_XOPEN_REALTIME_THREADS): Undefine macro.
408 (_XOPEN_SHM): Undefine macro.
409 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
410 macro to -1.
411 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
412 macro to -1.
413 (_POSIX_ASYNC_IO): Undefine macro.
414 (_POSIX_PRIORITIZED_IO): Undefine macro.
415 (_POSIX_SPIN_LOCKS): Define macro to -1.
416
ee16e894
ST
417 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
418 SA_NODEFER, SA_RESETHAND.
419 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
420 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
421 F_DUPFD_CLOEXEC.
422
6103ae3b
TS
4232012-05-10 Thomas Schwinge <thomas@schwinge.name>
424
425 * elf/Makefile (pldd-modules): Define unconditionally.
426
80b4e5f3
TS
4272012-05-10 Thomas Schwinge <thomas@schwinge.name>
428
429 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
430
edadcbd6
ST
4312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
432
433 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
434 Return ENOENT when name is empty.
435 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
436
80694780
TS
4372012-05-10 Thomas Schwinge <thomas@schwinge.name>
438
1792c087
TS
439 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
440
80694780
TS
441 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
442
6b645f0d
ST
4432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
444
80694780
TS
445 Fix mlock in all cases except non-readable pages.
446 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
447 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 448
6b645f0d
ST
449 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
450 (__mkdir): When path is `/', just fail with EEXIST.
451 * sysdeps/mach/hurd/mkdirat.c: Likewise.
452
e468f8a3
TS
4532012-05-10 Thomas Schwinge <thomas@schwinge.name>
454
455 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
456 <sys/uio.h> (for writev).
457 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
458 and <sys/param.h> (for MIN).
459
a4186cff
PT
4602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
461
462 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
463 REQUESTED_TIME. Properly set the remaining time and return EINTR
464 if interrupted.
465
510bbf14
TS
4662012-05-10 Thomas Schwinge <thomas@schwinge.name>
467
468 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
469 Depend on against $(link-rpcuserlibs).
470
5d5722e8
ST
4712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
472
a4186cff
PT
473 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
474 (__libc_stack_end): Do not use attribute_relro.
475 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
476 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 477 to libthread-provided value.
a4186cff
PT
478 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
479 attribute_relro.
5d5722e8 480
37233df9
TS
4812012-05-10 Thomas Schwinge <thomas@schwinge.name>
482
be971a2b
TS
483 [BZ #3748]
484 * bits/libc-lock.h (__libc_once_get): New macro.
485 * sysdeps/mach/bits/libc-lock.h: Likewise.
486 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
487 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
488 instead of using implementation details.
489
37233df9
TS
490 * libio/fileops.c: Unconditionally include <kernel-features.h>.
491 * libio/freopen.c: Likewise.
492 * libio/freopen64.c: Likewise.
493 * misc/syslog.c: Likewise.
494 * nscd/connections.c: Likewise.
495 * nscd/netgroupcache.c: Likewise.
496 * sysdeps/posix/getcwd.c: Likewise.
497
38de94a5
RM
4982012-05-10 Roland McGrath <roland@hack.frob.com>
499
500 * math/w_ilogbf.c: Add #include <limits.h>.
501
67530489
ST
5022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
503
a4186cff 504 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
505 path instead of returning without unlocking.
506
67530489
ST
507 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
508 immediate-write ioctls.
509 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
510
5aa3a74a
TS
5112012-05-10 Thomas Schwinge <thomas@schwinge.name>
512
18bad2ae
TS
513 * sysdeps/mach/hurd/i386/init-first.c (init): Use
514 __builtin_frame_address instead of making assumptions about the
515 location of the return address relative to DATA. Force early load of
516 the return address.
517 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
518 __builtin_frame_address.
519
5aa3a74a
TS
520 dup3 for GNU Hurd.
521 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
522 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
523 implement dup3 and do some further code clean-ups.
524 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
525 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
526
ecd0de9a
ST
5272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
528
cd9fa985
ST
529 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
530
a4186cff
PT
531 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
532 HURD_CRITICAL_END around holding _hurd_dtable_lock.
533 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
534 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
535 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
536 d->port.lock.
802ca5a5 537
a4186cff
PT
538 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
539 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
540 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 541
bcf55240
TS
5422012-05-10 Thomas Schwinge <thomas@schwinge.name>
543
6960eb42
TS
544 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
545 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
546 definitions.
547
eb43375f
TS
548 accept4 for GNU Hurd.
549 * include/sys/socket.h (__libc_accept4): New prototype.
550 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
551 to implement __libc_accept4.
552 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
553 __libc_accept4.
554 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
555
bcf55240
TS
556 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
557 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
558 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
559 signal-defines.sym.
560
6178c55b
ST
5612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
562
a4186cff 563 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 564
6f080c2f
TS
5652012-05-10 Thomas Schwinge <thomas@schwinge.name>
566
567 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
568 assertion on O_CLOEXEC flag.
569 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
570 * hurd/intern-fd.c: Likewise.
571 * hurd/port2fd.c: Likewise.
572
bcfe3a54
ST
5732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
574
575 [BZ #3906]
576 * bits/in.h (IPV6_PKTINFO): Define new macro.
577 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
578
89c9aa49
AZ
5792012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580
581 [BZ #13954]
582 [BZ #13955]
583 [BZ #13956]
584 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
585 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
586 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
587 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
588 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
589 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
590 * math/libm-test.inc (logb_test) : Additional logb tests.
591
021db4be
AJ
5922012-05-09 Andreas Schwab <schwab@linux-m68k.org>
593 Andreas Jaeger <aj@suse.de>
594
595 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
596 * configure: Regenerated.
597 * config.h.in (LINK_OBSOLETE_RPC): New macro.
598 * config.make.in (link-obsolete-rpc): New substituted variable.
599 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
600 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
601 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
602 (shared-only-routines): Don't set it under [link-obsolete-rpc],
603 so that libc.a contains the symbols.
604 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
605 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
606 * sunrpc/auth_none.c: Likewise.
607 * sunrpc/auth_unix.c: Likewise.
608 * sunrpc/authdes_prot.c: Likewise.
609 * sunrpc/authuxprot.c: Likewise.
610 * sunrpc/clnt_gen.c: Likewise.
611 * sunrpc/clnt_perr.c: Likewise.
612 * sunrpc/clnt_raw.c: Likewise.
613 * sunrpc/clnt_simp.c: Likewise.
614 * sunrpc/clnt_tcp.c: Likewise.
615 * sunrpc/clnt_udp.c: Likewise.
616 * sunrpc/clnt_unix.c: Likewise.
617 * sunrpc/des_crypt.c: Likewise.
618 * sunrpc/des_soft.c: Likewise.
619 * sunrpc/get_myaddr.c: Likewise.
620 * sunrpc/key_call.c: Likewise.
621 * sunrpc/key_prot.c: Likewise.
622 * sunrpc/netname.c: Likewise.
623 * sunrpc/pm_getmaps.c: Likewise.
624 * sunrpc/pm_getport.c: Likewise.
625 * sunrpc/pmap_clnt.c: Likewise.
626 * sunrpc/pmap_prot.c: Likewise.
627 * sunrpc/pmap_prot2.c: Likewise.
628 * sunrpc/pmap_rmt.c: Likewise.
629 * sunrpc/publickey.c: Likewise.
630 * sunrpc/rpc_cmsg.c: Likewise.
631 * sunrpc/rpc_common.c: Likewise.
632 * sunrpc/rpc_dtable.c: Likewise.
633 * sunrpc/rpc_prot.c: Likewise.
634 * sunrpc/rpc_thread.c: Likewise.
635 * sunrpc/rtime.c: Likewise.
636 * sunrpc/svc.c: Likewise.
637 * sunrpc/svc_auth.c: Likewise.
638 * sunrpc/svc_raw.c: Likewise.
639 * sunrpc/svc_run.c: Likewise.
640 * sunrpc/svc_tcp.c: Likewise.
641 * sunrpc/svc_udp.c: Likewise.
642 * sunrpc/svc_unix.c: Likewise.
643 * sunrpc/svcauth_des.c: Likewise.
644 * sunrpc/xcrypt.c: Likewise.
645 * sunrpc/xdr.c: Likewise.
646 * sunrpc/xdr_array.c: Likewise.
647 * sunrpc/xdr_float.c: Likewise.
648 * sunrpc/xdr_intXX_t.c: Likewise.
649 * sunrpc/xdr_mem.c: Likewise.
650 * sunrpc/xdr_rec.c: Likewise.
651 * sunrpc/xdr_ref.c: Likewise.
652 * sunrpc/xdr_sizeof.c: Likewise.
653 * sunrpc/xdr_stdio.c: Likewise.
654
b5c086a2
RM
6552012-05-10 Roland McGrath <roland@hack.frob.com>
656
657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
658 change. Update copyright years.
659
6d74dd09
JM
6602012-05-10 Joseph Myers <joseph@codesourcery.com>
661
662 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
663
28e72501
MK
6642012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
665 Joseph Myers <joseph@codesourcery.com>
666 Paul Pluzhnikov <ppluzhnikov@google.com>
667
668 [BZ #14012]
669 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
670 requiring rpcgen.
671 [cross-compiling] (extra-libs): Likewise.
672 [cross-compiling] (extra-libs-others): Likewise.
673 [cross-compiling] (librpcsvc-routines): Likewise.
674 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
675 [cross-compiling] (omit-deps): Likewise.
676 (sunrpc-CPPFLAGS): New variable.
677 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
678 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
679 (cross-rpcgen-objs): New variable.
680 (extra-objs): Append $(cross-rpcgen-objs).
681 ($(cross-rpcgen-objs)): New rule.
682 ($(objpfx)cross-rpcgen): Likewise.
683 (rpcgen-cmd): Define to use $(built-program-file). Expand
684 comment.
685 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
686 ($(objpfx)x%.stmp): Likewise.
687 * sunrpc/proto.h [IS_IN_build] (_): Define.
688 [IS_IN_build] (_libc_intl_domainname): Likewise.
689
c8c59454
L
6902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
691
692 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
693 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
694 and R_X86_64_TPOFF64.
695
6f27cd16
JM
6962012-05-10 Joseph Myers <joseph@codesourcery.com>
697
698 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
699 sysdeps/unix/sysv/syscalls.list.
700 (stime): Likewise.
701 (utime): Likewise.
702 * sysdeps/unix/sysv/syscalls.list: Remove file.
703
02467e1c
PE
7042012-05-10 Paul Eggert <eggert@cs.ucla.edu>
705
706 [BZ #3440]
707 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
708 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
709 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
710 (__LC_IDENTIFICATION): Make these macros useful in #if
711 expressions, as required by C99.
712
da392631
AS
7132012-05-10 Andreas Schwab <schwab@linux-m68k.org>
714
715 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
716 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
717 after this.
718
8115f29b
L
7192012-05-09 H.J. Lu <hongjiu.lu@intel.com>
720
721 * stdlib/longlong.h: Updated from GCC.
722
bdd74070
AJ
7232012-05-09 Andreas Jaeger <aj@suse.de>
724
edfe0dbe
AJ
725 * nscd/nscd.c (run_modes): Make named enum, reorder so that
726 default is first entry.
727 (run_mode): Set type.
728 (main): Remove informal message about syslog.
729 (options): Fix typo.
730
bcfe3a54
ST
731 [BZ #14053]
732 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 733 to asm.
bcfe3a54
ST
734 (lrint): Likewise.
735 (llrintf): Likewise.
736 (llrint): Likewise.
737 (rint): Likewise.
738 (rintf): Likewise.
739 (nearbyint): Likewise.
740 (nearbyintf): Likewise.
bdd74070 741
91d8d69e
AJ
7422012-05-09 Andreas Jaeger <aj@suse.de>
743 Pedro Alves <palves@redhat.com>
744
745 * nscd/nscd.c (run_mode): Use enum.
746 (main): Cleanup coding style issue.
747
bb90b80b
AJ
7482012-05-09 Alexandre Oliva <aoliva@redhat.com>
749 Andreas Jaeger <aj@suse.de>
750
bcfe3a54
ST
751 * nscd/nscd.c (go_background): Replaced with...
752 (run_mode): ... this.
bb90b80b 753 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
754 (options): Add -F --foreground.
755 (main): Implement it.
756 (parse_opt): Parse it.
bb90b80b 757
1a4b75a1
AJ
7582012-05-09 Andreas Jaeger <aj@suse.de>
759
760 [BZ #14083]
761 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
762 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
763 -Wconversion warning.
764 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
765 Likewise.
766
b1cc2472
JM
7672012-05-09 Joseph Myers <joseph@codesourcery.com>
768
769 * conform/data/locale.h-data (NULL): Use macro-constant. Require
770 == 0.
771 (LC_ALL): Use macro-int-constant.
772 (LC_COLLATE): Likewise.
773 (LC_CTYPE): Likewise.
774 (LC_MESSAGES): Likewise.
775 (LC_MONETARY): Likewise.
776 (LC_NUMERIC): Likewise.
777 (LC_TIME): Likewise.
778 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
779 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
780 [ISO || ISO99 || ISO11] (*_t): Do not allow.
781 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
782 Specify type.
783 [C99-based standards] (float_t): Expect type.
784 [C99-based standards] (double_t): Expect type.
785 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
786 type.
787 [C99-based standards] (HUGE_VALL): Likewise.
788 [C99-based standards] (INFINITY): Likewise.
789 [C99-based standards] (NAN): Likewise.
790 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
791 [C99-based standards] (FP_NAN): Likewise.
792 [C99-based standards] (FP_NORMAL): Likewise.
793 [C99-based standards] (FP_SUBNORMAL): Likewise.
794 [C99-based standards] (FP_ZERO): Likewise.
795 [C99-based standards] (FP_FAST_FMA): Use
796 optional-macro-int-constant. Specify type. Require == 1.
797 [C99-based standards] (FP_FAST_FMAF): Likewise.
798 [C99-based standards] (FP_FAST_FMAL): Likewise.
799 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
800 [C99-based standards] (FP_ILOGBNAN): Likewise.
801 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
802 Specify type.
803 [C99-based standards] (MATH_ERREXCEPT): Likewise.
804 [C99-based standards] (math_errhandling): Specify type.
805 [ISO99 || ISO11] (signgam): Do not allow.
806 [non-C99-based standards] (copysignf): Do not allow.
807 [non-C99-based standards] (exp2f): Likewise.
808 [non-C99-based standards] (log2f): Likewise.
809 [non-C99-based standards] (modff): Allow.
810 [non-C99-based standards] (erff): Do not allow.
811 [non-C99-based standards] (erfcf): Likewise.
812 [non-C99-based standards] (gammaf): Likewise.
813 [non-C99-based standards] (hypotf): Likewise.
814 [non-C99-based standards] (j0f): Likewise.
815 [non-C99-based standards] (j1f): Likewise.
816 [non-C99-based standards] (jnf): Likewise.
817 [non-C99-based standards] (lgammaf): Likewise.
818 [non-C99-based standards] (tgammaf): Likewise.
819 [non-C99-based standards] (y0f): Likewise.
820 [non-C99-based standards] (y1f): Likewise.
821 [non-C99-based standards] (ynf): Likewise.
822 [non-C99-based standards] (isnanf): Likewise.
823 [non-C99-based standards] (acoshf): Likewise.
824 [non-C99-based standards] (asinhf): Likewise.
825 [non-C99-based standards] (atanhf): Likewise.
826 [non-C99-based standards] (cbrtf): Likewise.
827 [non-C99-based standards] (expm1f): Likewise.
828 [non-C99-based standards] (ilogbf): Likewise.
829 [non-C99-based standards] (log1pf): Likewise.
830 [non-C99-based standards] (logbf): Likewise.
831 [non-C99-based standards] (nextafterf): Likewise.
832 [non-C99-based standards] (remainderf): Likewise.
833 [non-C99-based standards] (rintf): Likewise.
834 [non-C99-based standards] (scalbf): Likewise.
835 [non-C99-based standards] (copysignl): Likewise.
836 [non-C99-based standards] (exp2l): Likewise.
837 [non-C99-based standards] (log2l): Likewise.
838 [non-C99-based standards] (modfl): Allow.
839 [non-C99-based standards] (erfl): Do not allow.
840 [non-C99-based standards] (erfcl): Likewise.
841 [non-C99-based standards] (gammal): Likewise.
842 [non-C99-based standards] (hypotl): Likewise.
843 [non-C99-based standards] (j0l): Likewise.
844 [non-C99-based standards] (j1l): Likewise.
845 [non-C99-based standards] (jnl): Likewise.
846 [non-C99-based standards] (lgammal): Likewise.
847 [non-C99-based standards] (tgammal): Likewise.
848 [non-C99-based standards] (y0l): Likewise.
849 [non-C99-based standards] (y1l): Likewise.
850 [non-C99-based standards] (ynl): Likewise.
851 [non-C99-based standards] (isnanl): Likewise.
852 [non-C99-based standards] (acoshl): Likewise.
853 [non-C99-based standards] (asinhl): Likewise.
854 [non-C99-based standards] (atanhl): Likewise.
855 [non-C99-based standards] (cbrtl): Likewise.
856 [non-C99-based standards] (expm1l): Likewise.
857 [non-C99-based standards] (ilogbl): Likewise.
858 [non-C99-based standards] (log1pl): Likewise.
859 [non-C99-based standards] (logbl): Likewise.
860 [non-C99-based standards] (nextafterl): Likewise.
861 [non-C99-based standards] (remainderl): Likewise.
862 [non-C99-based standards] (rintl): Likewise.
863 [non-C99-based standards] (scalbl): Likewise.
864 [ISO || ISO99 || ISO11] (*_t): Do not allow.
865 [non-C99-based standards] (FP_*): Do not allow.
866 [C99-based standards] (FP_*): Change to
867 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
868 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
869 allow.
870 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
871 (SIG_ERR): Likewise.
872 [X/Open-based standards] (SIG_HOLD): Likewise.
873 (SIG_IGN): Likewise.
874 (SIGABRT): Use macro-int-constant. Specify type. Require
875 positive value.
876 (SIGFPE): Likewise.
877 (SIGILL): Likewise.
878 (SIGINT): Likewise.
879 (SIGSEGV): Likewise.
880 (SIGTER): Likewise.
881 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
882 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
883 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
884 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
885 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
886 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
887 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
888 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
889 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
890 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
891 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
892 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
893 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
894 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
895 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
896 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
897 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
898 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
899 [X/Open-based standards] (SIGTRAP): Likewise.
900 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
901 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
902 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
903 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
904 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
905 allow.
906
b9f1922d
IW
9072012-05-08 Ian Wienand <ianw@vmware.com>
908
909 [BZ #14080]
910 * time/tzset.c (__tzset_parse_tz): Update default rules for
911 daylight time changes in the Energy Policy Act of 2005.
912
1db86e88
AJ
9132012-05-09 Andreas Jaeger <aj@suse.de>
914
915 [BZ #13983]
916 * elf/ldconfig.c (parse_conf): Change string to make clear that
917 ldconfig only issued a warning if ld.so.conf does not exist.
918
dee4a4e3
DM
9192012-05-08 David S. Miller <davem@davemloft.net>
920
ee0db190
DM
921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
922 movxtod instead of popping the value on the stack.
923
dee4a4e3
DM
924 * sysdeps/sparc/fpu/libm-test-ulps: Update.
925
6a43ec98
CD
9262012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
927
928 * config.h.in: Add HAVE_ARM_PCS_VFP.
929
05c2c961
RMG
9302012-05-08 Roland Mc Grath <roland@hack.frob.com>
931
bcfe3a54
ST
932 [BZ #13979]
933 * include/features.h: Warn if user requests __FORTIFY_SOURCE
934 checking but the checks are disabled for any reason.
05c2c961 935
4b30f61a
L
9362012-05-08 H.J. Lu <hongjiu.lu@intel.com>
937
938 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
939 and ELF64_R_TYPE with ELFW(R_TYPE).
940
eee2bc67
JM
9412012-05-08 Joseph Myers <joseph@codesourcery.com>
942
7ea5391a
JM
943 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
944 (ulimit): Likewise.
945
eee2bc67
JM
946 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
947 (settimeofday): Likewise.
948
abb66a67
MF
9492012-05-08 Mike Frysinger <vapier@gentoo.org>
950
951 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
952 a struct th_u2 inside the union, and move tu_block/tu_code into
953 a new th_u3 union of tu_block/tu_code inside of that. Move
954 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
955 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
956 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
957 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
958 (th_stuff): Change to th_u1.tu_stuff.
959 (th_data): Define.
960 (th_msg): Change to th_u1.th_u2.tu_data.
961
7f18b530
DM
9622012-05-07 David S. Miller <davem@davemloft.net>
963
05760585
DM
964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
965
7f18b530
DM
966 [BZ #14074]
967 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
968 (SETUP_PIC_REG): Use it.
969 (SETUP_PIC_REG_LEAF): Use it.
970
495fd99f
JM
9712012-05-07 Joseph Myers <joseph@codesourcery.com>
972
973 [BZ #13885]
974 [BZ #13923]
975 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
976 USE_AS_EXPM1L.
977 (EXPL_FINITE): Likewise.
978 (FLDLOG): Likewise.
979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
980 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
981 e_expl.S.
982 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
983 USE_AS_EXPM1L.
984 (EXPL_FINITE): Likewise.
985 (FLDLOG): Likewise.
986 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
987 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
988 e_expl.S.
989 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
990 test of -max_value argument for long double.
991 * sysdeps/i386/fpu/libm-test-ulps: Update.
992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
993
6693d694
DM
9942012-05-06 David S. Miller <davem@davemloft.net>
995
996 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
997 quad soft-float symbols whose references which are compiler
998 generated.
999 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1000
6c23e11c
JM
10012012-05-06 Joseph Myers <joseph@codesourcery.com>
1002
d8b82cad
JM
1003 [BZ #13884]
1004 [BZ #13914]
1005 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1006 USE_AS_EXP10L.
1007 (EXPL_FINITE): Likewise.
1008 (FLDLOG): Likewise.
1009 (c0): Likewise.
1010 (c1): Likewise.
1011 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1012 Adjust comments for base varying.
1013 (__expl_finite): Change alias to EXPL_FINITE.
1014 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1015 e_expl.S.
1016 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1017 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1018 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1019 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1020 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1021 USE_AS_EXP10L.
1022 (EXPL_FINITE): Likewise.
1023 (FLDLOG): Likewise.
1024 (c0): Likewise.
1025 (c1): Likewise.
1026 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1027 Adjust comments for base varying.
1028 (__expl_finite): Change alias to EXPL_FINITE.
1029 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1030 tests for bugs.
1031 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1032
6c23e11c
JM
1033 [BZ #14064]
1034 * math/libm-test.inc (check_float_internal): Correct ulp
1035 calculation for subnormal expected results.
1036
29ba805c
AJ
10372012-05-06 Andreas Jaeger <aj@suse.de>
1038
1039 * Makeconfig (+math-flags): New, set to -frounding-math.
1040 (+cflags): Add +math-flags so that all of glibc gets compiled with
1041 it.
1042
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1044
7b17aeda
JM
10452012-05-05 Joseph Myers <joseph@codesourcery.com>
1046
5779f134
JM
1047 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1048 Disable one test.
1049
41498f4d
JM
1050 [BZ #13787]
1051 [BZ #13922]
1052 [BZ #14036]
1053 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1054 (__ieee754_expl): Allow for and saturate large arguments.
1055 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1056 (u_threshold): Likewise.
1057 (__exp): Call __ieee754_exp before checking for overflow and
1058 underflow.
1059 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1060 (u_threshold): Likewise.
1061 (__expf): Call __ieee754_expf before checking for overflow and
1062 underflow.
1063 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1064 (u_threshold): Likewise.
1065 (__expl): Call __ieee754_expl before checking for overflow and
1066 underflow.
1067 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1068 (__ieee754_expl): Allow for and saturate large arguments.
1069 * math/libm-test.inc (exp_test): Add another test. Do not allow
1070 missing overflow exception on overflow.
1071 (expm1_test): Do not allow missing overflow exception on overflow.
1072
6698b8bf
JM
1073 * sysdeps/i386/fpu/e_expl.c: Move to ...
1074 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1075 rather than using inline asm.
1076 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1077 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1078 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1079
7b17aeda
JM
1080 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1081 (nice): Likewise.
1082 (poll): Likewise.
1083 (signal): Likewise.
1084 (time): Likewise.
1085 (times): Likewise.
1086
f7c85819
JM
10872012-05-04 Joseph Myers <joseph@codesourcery.com>
1088
1089 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1090 sysdeps/unix/common/syscalls.list.
1091 (fchmod): Likewise.
1092 (fchown): Likewise.
1093 (ftruncate): Likewise.
1094 (getrusage): Likewise.
1095 (gettimeofday): Likewise.
1096 (setpgid): Likewise.
1097 (setregid): Likewise.
1098 (setreuid): Likewise.
1099 (sigaction): Likewise.
1100 (truncate): Likewise.
1101 (vhangup): Likewise.
1102 * sysdeps/unix/common/syscalls.list: Remove file.
1103 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1104 * sysdeps/unix/sysv/linux/Implies: Likewise.
1105
336270d0
L
11062012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1107
1108 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1110 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1111 Moved to ...
1112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1113 Here.
1114 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1115 to ...
1116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1117 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1118 to ...
1119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1120 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1121 to ...
1122 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1123 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1124 to ...
1125 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1126 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1127 to ...
1128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1129 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1130 to ...
1131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1132 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1133 to ...
1134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1135 Here.
1136 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1137 to ...
1138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1139 Here.
1140 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1141 to ...
1142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1143 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1144 Moved to ...
1145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1146 Here.
1147 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1148 to ...
1149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1150
d128e450
JM
11512012-05-04 Joseph Myers <joseph@codesourcery.com>
1152
fa8ee516
JM
1153 * sysdeps/unix/common/bits/dirent.h: Remove file.
1154 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1155
d128e450
JM
1156 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1157 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1158 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1159 * sysdeps/unix/bsd/isatty.c: Likewise.
1160 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1161 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1162 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1163
ff8faaf0 11642012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1165
62881be4 1166 [BZ #13563]
31dc8730
AZ
1167 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1168 long double comparison inaccuracies.
1169 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1171
6fef930c
AS
11722012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1173
1174 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1175 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1176
8f203e6c
JM
11772012-05-04 Joseph Myers <joseph@codesourcery.com>
1178
1179 [BZ #14049]
1180 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1181 nonzero digits before rounding a hex value.
1182 * stdlib/tst-strtod.c (tests): Add another test.
1183
5197d9c2
AK
11842012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1185
1186 * sysdeps/s390/fpu/libm-test-ulps: Update.
1187
f0c1dedf
AJ
11882012-05-03 Andreas Jaeger <aj@suse.de>
1189
1190 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1191 does not get optimized out.
1192 (malloc_opt_barrier): New.
1193
a65ef2ae 11942012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1195 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1196
2b942cb7 1197 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1198 intermediate file deletion.
2b942cb7 1199 (generated): Add .symlist files.
a65ef2ae 1200
54b71e02
JM
12012012-05-03 Joseph Myers <joseph@codesourcery.com>
1202
1203 [BZ #13775]
1204 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1205 Redirect under this condition.
1206 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1207 [__USE_GNU] (__dprintf_chk): Not under this condition.
1208 [__USE_GNU] (__vdprintf_chk): Likewise.
1209 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1210 under this condition.
1211 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1212 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1213 [__USE_XOPEN2K8] (vdprintf): Likewise.
1214 [__USE_GNU] (__dprintf_chk): Not under this condition.
1215 [__USE_GNU] (__vdprintf_chk): Likewise.
1216 [__USE_GNU] (dprintf): Likewise.
1217 [__USE_GNU] (vdprintf): Likewise.
1218
d3dfcc41
RM
12192012-05-03 Roland McGrath <roland@hack.frob.com>
1220
1221 * elf/Makefile (common-generated): Set this instead of generated for
1222 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1223 $(all-built-dso)-derived lists.
1224
7ac30cc5
AJ
12252012-05-03 Andreas Jaeger <aj@suse.de>
1226
0c51e550
AJ
1227 * sysdeps/i386/fpu/libm-test-ulps: Update.
1228
7ac30cc5
AJ
1229 * FAQ: Removed.
1230 * FAQ.in: Likewise.
1231 * scripts/gen-FAQ.pl: Likewise.
1232 * manual/install.texi (Installation): Point to online location of
1233 FAQ.
1234 * Makefile (files-for-dist): Remove FAQ.
1235 (FAQ): Remove.
1236
d4c2917f
AM
12372012-05-02 Allan McRae <allan@archlinux.org>
1238
1239 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1240 (LDFLAGS-reldepmod5.so): Likewise.
1241 (LDFLAGS-reldep6mod1.so): Likewise.
1242 (LDFLAGS-reldep6mod4.so): Likewise.
1243 (LDFLAGS-reldep8mod3.so): Likewise.
1244 (LDFLAGS-unload4mod1.so): Likewise.
1245 (LDFLAGS-unload4mod2.so): Likewise.
1246 (LDFLAGS-tst-initorder): Likewise.
1247 (LDFLAGS-tst-initordera2.so): Likewise.
1248 (LDFLAGS-tst-initordera3.so): Likewise.
1249 (LDFLAGS-tst-initordera4.so): Likewise.
1250 (LDFLAGS-tst-initorderb2.so): Likewise.
1251 (LDFLAGS-noload): Likewise.
1252 (LDFLAGS-next): Likewise.
1253 (LDFLAGS-order2mod1.so): Likewise.
1254 (LDFLAGS-order2mod2.so): Likewise.
1255 (LDFLAGS-tst-initorder2): Likewise.
1256 (LDFLAGS-tst-initorder2a.so): Likewise.
1257 (LDFLAGS-tst-initorder2b.so): Likewise.
1258 (LDFLAGS-tst-initorder2c.so): Likewise.
1259 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1260
d77f993f
DM
12612012-05-02 David S. Miller <davem@davemloft.net>
1262
1263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1264
171a70b4
PP
12652012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1266
1267 [BZ #14055]
1268 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1269
0be196ad
AJ
12702012-05-02 Andreas Jaeger <aj@suse.de>
1271
1272 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1273 since we manipulate rounding mode.
1274 (CPPFLAGS-test-idouble.c): Likewise.
1275 (CPPFLAGS-test-ifloat.c): Likewise.
1276 (CFLAGS-test-ldouble.c): Likewise.
1277 (CFLAGS-test-double.c): Likewise.
1278 (CFLAGS-test-float.c): Likewise.
1279 (CFLAGS-test-misc.c): Likewise.
1280 (CFLAGS-test-test-fenv.c): Likewise.
1281
4f9d04aa
AZ
12822012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1283
2b942cb7
RM
1284 [BZ #2550]
1285 [BZ #2570]
1286 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1287 comparisons to determine direction to adjust input.
4f9d04aa 1288
82a79e7d
RM
12892012-05-01 Roland McGrath <roland@hack.frob.com>
1290
f5a01ca9
RM
1291 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1292 output to the target.
1293
90fe4186
RM
1294 * scripts/localplt.awk: New file.
1295 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1296 (check-localplt-CFLAGS): Variable removed.
1297 ($(all-built-dso:=.jmprel)): New static pattern rule.
1298 (generated): Add those targets.
1299 (localplt-built-dso): New variable.
1300 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1301
1302 * elf/check-localplt.c: File removed.
1303
82397ed6
RM
1304 * scripts/check-execstack.awk: New file.
1305 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1306 (check-execstack-CFLAGS): Variable removed.
1307 ($(objpfx)check-execstack.h): Target removed.
1308 ($(objpfx)execstack-default): New target.
1309 (generated): Add that instead of check-execstack.h.
1310 ($(all-built-dso:=.phdr)): New static pattern rule.
1311 (generated): Add those targets.
1312 * elf/check-execstack.c: File removed.
1313
82a79e7d
RM
1314 * scripts/check-textrel.awk: New file.
1315 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1316 (check-textrel-CFLAGS): Variable removed.
1317 (all-built-dso): Use := to define.o
1318 ($(all-built-dso:=.dyn)): New static pattern rule.
1319 (generated): Add those targets.
1320 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1321 * config.make.in (READELF): New substituted variable.
1322 * elf/check-textrel.c: File removed.
1323
62fde54f 13242012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1325
615605c9
JM
1326 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1327 allow.
1328 * conform/data/ctype.h-data [C99-based standards] (isblank):
1329 Expect function.
1330 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1331 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1332 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1333 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1334 Specify type. Require positive value.
1335 (EILSEQ): Likewise.
1336 (ERANGE): Likewise.
1337 [ISO || POSIX] (EILSEQ): Do not expect.
1338 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1339 Specify type. Require positive value.
1340 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1341 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1342 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1343 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1344 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1345 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1346 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1347 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1348 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1349 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1350 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1351 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1352 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1414 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1415 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1416 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1417 Require >= 2.
1418 (FLT_ROUNDS): Expect as macro, not constant.
1419 (FLT_MANT_DIG): Use macro-int-constant.
1420 (DBL_MANT_DIG): Likewise.
1421 (LDBL_MANT_DIG): Likewise.
1422 (FLT_DIG): Likewise.
1423 (DBL_DIG): Likewise.
1424 (LDBL_DIG): Likewise.
1425 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1426 (DBL_MIN_EXP): Likewise.
1427 (LDBL_MIN_EXP): Likewise.
1428 (FLT_MAX_EXP): Use macro-int-constant.
1429 (DBL_MAX_EXP): Likewise.
1430 (LDBL_MAX_EXP): Likewise.
1431 (FLT_MAX_10_EXP): Likewise.
1432 (DBL_MAX_10_EXP): Likewise.
1433 (LDBL_MAX_10_EXP): Likewise.
1434 (FLT_MAX): Use macro-constant.
1435 (DBL_MAX): Likewise.
1436 (LDBL_MAX): Likewise.
1437 (FLT_EPSILON): Use macro-constant. Give upper bound.
1438 (DBL_EPSILON): Likewise.
1439 (LDBL_EPSILON): Likewise.
1440 (FLT_MIN): Likewise.
1441 (DBL_MIN): Likewise.
1442 (LDBL_MIN): Likewise.
1443 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1444 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1445 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1446 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1447 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1448 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1449 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1450 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1451 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1452 [ISO11] (FLT_TRUE_MIN): Likewise.
1453 [ISO11] (LDBL_TRUE_MIN): Likewise.
1454 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1455 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1456 (SCHAR_MIN): Use macro-int-constant. Specify type.
1457 (SCHAR_MAX): Likewise.
1458 (UCHAR_MAX): Likewise.
1459 (CHAR_MIN): Likewise.
1460 (CHAR_MAX): Likewise.
1461 (MB_LEN_MAX): Use macro-int-constant.
1462 (SHRT_MIN): Use macro-int-constant. Specify type.
1463 (SHRT_MAX): Likewise.
1464 (USHRT_MAX): Likewise.
1465 (INT_MAX): Likewise.
1466 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1467 bound negative.
1468 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1469 bound with "U".
1470 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1471 bound with "L".
1472 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1473 bound negative. Suffix upper bound with "L".
1474 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1475 bound with "UL".
1476 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1477 Specify type.
1478 [C99-based standards] (LLONG_MAX): Likewise.
1479 [C99-based standards] (ULLONG_MAX): Likewise.
1480 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1481 == 0.
1482 [ISO11] (max_align_t): Require type.
1483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1484
c9140a62
JM
1485 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1486 from $CFLAGS, without defining away __attribute__ calls.
1487 (checknamespace): Use $CFLAGS_namespace.
1488
9af0bf29
JM
1489 * conform/conformtest.pl (@keywords): Only include C99 keywords
1490 for standards based on C99 or C11.
1491
343222a2
JM
1492 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1493 Disable tests.
1494 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1495 UNIX98]: Likewise.
1496
661f8cf0
JM
1497 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1498 usability of symbols in #if.
1499
ee74b9cb
JM
1500 * conform/conformtest.pl: If macro or constant types start
1501 "promoted:", expect the symbol to be of the following type
1502 promoted by the integer promotions.
62fde54f 1503
aafc49b3
JM
1504 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1505 in one place. Also handle "macro-constant".
1506
fefdf574
JM
1507 * conform/conformtest.pl: Only accept expected macro values with
1508 "==". Parse all "macro" lines in one place.
1509 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1510
f2d922fe
JM
1511 * conform/conformtest.pl: Handle braced types on "constant" lines
1512 instead of handling "typed-constant".
1513 * conform/data/signal.h-data: Use "constant" instead of
1514 "typed-constant".
1515
d22956c9
JM
1516 * conform/conformtest.pl: Handle "optional-" at start of lines in
1517 one place rather than duplicating several cases. Handle each
1518 format of "macro" line with initial "optional-".
1519
028e2e38
JM
1520 * conform/conformtest.pl: Only accept expected constant or
1521 optional-constant values with "==". Parse all "constant" lines in
1522 one place. Parse all "optional-constant" lines in one place.
1523 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1524 * conform/data/fmtmsg.h-data: Likewise.
1525 * conform/data/netinet/in.h-data: Likewise.
1526 * conform/data/tar.h-data: Likewise.
1527 * conform/data/limits.h-data: Use "==" form on "constant" and
1528 "optional-constant" lines.
1529
1b8f2850
JM
1530 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1531 Use -std=c99 for XOPEN2K.
1532 (@knownproblems): Remove.
1533 (newtoken): Don't check %isknown.
1534
a05a144b
JM
1535 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1536 Do not expect macro.
1537 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1538 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1539 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1540 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1541 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1542 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1543 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1544 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1545 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1546 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1547 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1548 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1549 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1550 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1551 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1552 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1553 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1554 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1555 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1561 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1562 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1567 [XPG3] (acosh): Likewise.
1568 [XPG3] (asinh): Likewise.
1569 [XPG3] (atanh): Likewise.
1570 [XPG3] (cbrt): Likewise.
1571 [XPG3] (expm1): Likewise.
1572 [XPG3] (ilogb): Likewise.
1573 [XPG3] (log1p): Likewise.
1574 [XPG3] (logb): Likewise.
1575 [XPG3] (nextafter): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1578 [XPG3] (remainder): Likewise.
1579 [XPG3] (rint): Likewise.
1580 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1581 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1585 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1586 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1587 [UNIX98 || XOPEN2K] (scalb): Expect.
1588 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1589 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1590 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1591 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1725
73c5ebe3
JM
1726 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1727 _XOPEN_SOURCE_EXTENDED for XPG4.
1728
39c33b6c
JM
1729 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1730
62fde54f
JM
1731 * Makeconfig (localtime): Remove variable.
1732 (inst_localtime-file): Likewise.
1733
0741d64c
AS
17342012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1735
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1737 Update.
1738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1739 Update.
1740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1741 Update.
1742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1743 Update.
1744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1745 Update.
1746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1747 Update.
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1749 Update.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1751 Update.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1753 Update.
1754
7cb029ee
JM
17552012-05-01 Joseph Myers <joseph@codesourcery.com>
1756
1757 [BZ #2550]
1758 [BZ #2570]
1759 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1760 comparisons to determine direction to adjust input.
1761 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1762 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1764 Likewise.
1765 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1766 Likewise.
1767 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1768 Likewise.
1769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1771 Likewise.
1772 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1773 Likewise.
1774 * math/libm-test.inc (nexttoward_test): Add more tests.
1775
412bd966
AS
17762012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1777
1778 [BZ #14040]
1779 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1780 in version GLIBC_2.1, not GLIBC_2.0.
1781 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1782 Likewise.
1783
9568c0c2
JM
17842012-04-30 Joseph Myers <joseph@codesourcery.com>
1785
adfbc8ac
JM
1786 [BZ #13942]
1787 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1788 (1 - x) * (1 + x).
1789 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1790 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1791 * math/libm-test.inc (acos_test): Add more tests.
1792 (asin_test): Likewise.
1793 * sysdeps/i386/fpu/libm-test-ulps: Update.
1794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1795
5ba3cc69
JM
1796 [BZ #14034]
1797 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1798 of square root.
1799 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1800 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1801 * math/libm-test.inc (acos_test_tonearest): New function.
1802 (acos_test_towardzero): Likewise.
1803 (acos_test_downward): Likewise.
1804 (acos_test_upward): Likewise.
1805 (asin_test_tonearest): Likewise.
1806 (asin_test_towardzero): Likewise.
1807 (asin_test_downward): Likewise.
1808 (asin_test_upward): Likewise.
1809 (main): Call the new functions.
1810 * sysdeps/i386/fpu/libm-test-ulps: Update.
1811 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1812
9568c0c2
JM
1813 [BZ #13884]
1814 [BZ #13924]
1815 * math/e_exp10.c: Include <float.h>.
1816 (__ieee754_exp10): Handle underflow here rather than multiplying
1817 large negative argument by M_LN10.
1818 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1819 of __ieee754_expf.
1820 * math/e_exp10l.c: Include <float.h>.
1821 (__ieee754_exp10l): Handle underflow here rather than multiplying
1822 large negative argument by M_LN10l.
1823 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1824 spurious overflow exception on underflow.
1825
5ac3ea17
MP
18262012-04-29 Marek Polacek <polacek@redhat.com>
1827
1828 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1829 (__fortify_function): New macro.
1830 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1831 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1832 __extern_always_inline.
1833 * libio/bits/stdio2.h: Likewise.
1834 * libio/bits/stdio.h: Likewise.
1835 * string/string.h: Likewise.
1836 * string/bits/string3.h: Likewise.
1837 * include/stdio.h: Likewise.
1838 * stdlib/bits/stdlib.h: Likewise.
1839 * stdlib/stdlib.h: Likewise.
1840 * rt/bits/mqueue2.h: Likewise.
1841 * rt/mqueue.h: Likewise.
1842 * posix/bits/unistd.h: Likewise.
1843 * posix/unistd.h: Likewise.
1844 * io/bits/poll2.h: Likewise.
1845 * io/bits/fcntl2.h: Likewise.
1846 * io/fcntl.h: Likewise.
1847 * io/sys/poll.h: Likewise.
1848 * misc/bits/syslog.h: Likewise.
1849 * misc/bits/syslog-ldbl.h: Likewise.
1850 * misc/sys/syslog.h: Likewise.
1851 * socket/bits/socket2.h: Likewise.
1852 * socket/sys/socket.h: Likewise.
1853 * debug/tst-chk1.c: Likewise.
1854 * wcsmbs/bits/wchar2.h: Likewise.
1855 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1856 * wcsmbs/wchar.h: Likewise.
1857
ecf0ebfb
AJ
18582012-04-29 Andreas Jaeger <aj@suse.de>
1859
1860 * Makerules (tests): Remove enable-check-abi protection.
1861 (check-abi-warn): Remove.
1862 (check-abi-%): Remove check-abi-warn usage.
1863
1864 * configure.in: Remove check-abi configure option.
1865 * configure: Regenerated.
1866 * config.make.in (enable-check-abi): Remove.
1867
6d5c57fa
AS
18682012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1869
24c5d07e 1870 [BZ #14033]
ded5180a
AS
1871 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1872 double functions to double *_finite functions.
1873
7e0d315d
AS
1874 [BZ #13941]
1875 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1876 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1877 LDBL_MIN_EXP.
1878 * stdio-common/Makefile (tests): Add tst-sprintf3.
1879 * stdio-common/tst-sprintf3.c: New file.
1880
6d5c57fa
AS
1881 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1882 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1883
0749ff8b
JM
18842012-04-28 Joseph Myers <joseph@codesourcery.com>
1885
1886 * conform/conformtest.pl: Remove duplicate typed-constant
1887 handling.
1888
8dbd5d7b
DM
18892012-04-28 David S. Miller <davem@davemloft.net>
1890
1891 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1892 (check-abi-%): Remove AWK script prerequisite and explicit
1893 abilist directory.
1894 (check-abi): Rewrite to just diff the symlist with the abilist.
1895 (config-tls, config-abi-config): Delete, no longer used.
1896 (update-abi-%): Remove AWK script and explicit abilist directory.
1897 (update-abi): Rewrite to simply compare and conditionally copy the
1898 symlist and the sysdep abilist file. Remove update-abi-config
1899 checks.
1900 * abilist/ld.abilist: Remove.
1901 * abilist/libBrokenLocale.abilist: Remove.
1902 * abilist/libanl.abilist: Remove.
1903 * abilist/libcrypt.abilist: Remove.
1904 * abilist/libdl.abilist: Remove.
1905 * abilist/librt.abilist: Remove.
1906 * abilist/libthread_db.abilist: Remove.
1907 * abilist/libutil.abilist: Remove.
1908 * scripts/extract-abilist.awk: Remove.
1909 * scripts/merge-abilist.awk: Remove.
1910 * sysdeps/generic/libcidn.abilist: New file.
1911 * sysdeps/generic/libnss_compat.abilist: New file.
1912 * sysdeps/generic/libnss_db.abilist: New file.
1913 * sysdeps/generic/libnss_dns.abilist: New file.
1914 * sysdeps/generic/libnss_files.abilist: New file.
1915 * sysdeps/generic/libnss_hesiod.abilist: New file.
1916 * sysdeps/generic/libnss_nis.abilist: New file.
1917 * sysdeps/generic/libnss_nisplus.abilist: New file.
1918 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1919 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1920 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1921 file.
1922 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1923 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1924 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1925 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1926 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1927 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1928 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1929 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1930 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1931 file.
1932 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1933 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1934 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1935 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1936 file.
1937 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1938 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1939 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1940 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1941 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1942 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1943 file.
1944 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1945 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1946 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1947 file.
1948 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1949 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1950 New file.
1951 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1952 New file.
1953 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1954 New file.
1955 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1956 New file.
1957 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1958 New file.
1959 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1960 New file.
1961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1962 New file.
1963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1964 New file.
1965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1966 New file.
1967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1968 New file.
1969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1970 New file.
1971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1972 New file.
1973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1974 New file.
1975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1976 file.
1977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1978 New file.
1979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1980 New file.
1981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1982 file.
1983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1984 New file.
1985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1986 New file.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1988 file.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1990 New file.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1992 New file.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1994 New file.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1996 New file.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1998 New file.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2000 New file.
2001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2002 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2003 file.
2004 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2005 New file.
2006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2007 file.
2008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2009 file.
2010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2011 file.
2012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2013 file.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2015 file.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2017 New file.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2019 file.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2021 file.
2022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2023 New file.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2025 file.
2026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2028 file.
2029 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2030 New file.
2031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2032 file.
2033 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2034 file.
2035 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2036 file.
2037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2038 file.
2039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2040 file.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2042 New file.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2044 file.
2045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2046 file.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2048 New file.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2050 file.
2051 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2052 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2053 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2054 file.
2055 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2056 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2057 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2058 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2059 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2060 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2061 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2062 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2063 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2064 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2066 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2067 file.
2068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2069 New file.
2070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2071 file.
2072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2073 file.
2074 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2075 file.
2076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2077 file.
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2079 file.
2080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2081 New file.
2082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2083 New file.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2087 New file.
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2091 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2092 file.
2093 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2094 New file.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2096 file.
2097 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2098 file.
2099 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2100 file.
2101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2102 file.
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2104 file.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2106 New file.
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2108 New file.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2114 file.
2115
41d73a1b
JM
21162012-04-28 Joseph Myers <joseph@codesourcery.com>
2117
2118 * conform/conformtest.pl: Fix typo in handling typed-constant from
2119 allow-header.
2120
28aeeda4
JM
21212012-04-27 Joseph Myers <joseph@codesourcery.com>
2122
adae8f5e
JM
2123 * README: Cut down references to pre-2.6 Linux kernels and
2124 Linuxthreads. Update lists of configurations in libc and ports
2125 and sort alphabetically. Say "or newer" with Linux kernel version
2126 requirements.
2127
28aeeda4
JM
2128 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2129
a462cb63
RA
21302012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2131
2132 [BZ #887]
2133 * math/libm-test.inc (logb_test_downward): New test to expose
2134 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2135 rounding mode.
2136
6ad3493e
JM
21372012-04-27 Joseph Myers <joseph@codesourcery.com>
2138
2139 [BZ #14027]
2140 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2141 to be done.
2142 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2143 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2144
2ce4f015
JM
21452012-04-26 Joseph Myers <joseph@codesourcery.com>
2146
5aeb141a
JM
2147 * sysdeps/unix/i386/brk.S: Remove file.
2148 * sysdeps/unix/i386/dl-brk.S: Likewise.
2149 * sysdeps/unix/i386/pipe.S: Likewise.
2150 * sysdeps/unix/i386/sigreturn.S: Likewise.
2151 * sysdeps/unix/i386/syscall.S: Likewise.
2152 * sysdeps/unix/i386/vfork.S: Likewise.
2153 * sysdeps/unix/i386/wait.S: Likewise.
2154
7143acae
JM
2155 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2156 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2157
2ce4f015
JM
2158 * configure.in (arm*-none*): Do not allow without
2159 --enable-hacker-mode.
2160 (netbsd*): Remove case setting base_os.
2161 (386bsd*): Likewise.
2162 (freebsd*): Likewise.
2163 (bsdi*): Likewise.
2164 (osf*): Likewise.
2165 (sunos*): Likewise.
2166 (ultrix*): Likewise.
2167 (newsos*): Likewise.
2168 (dynix*): Likewise.
2169 (*bsd*): Likewise.
2170 (sysv*): Likewise.
2171 (isc*): Likewise.
2172 (esix*): Likewise.
2173 (sco*): Likewise.
2174 (minix*): Likewise.
2175 (irix4*): Likewise.
2176 (irix6*): Likewise.
2177 (solaris[2-9]*): Likewise.
2178 (none): Likewise.
2179 * configure: Regenerated.
2180
0ac229c8
AZ
21812012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2182
2183 [BZ #11521]
2184 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2185 overflow or cancellation in calculating denominator.
2186 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2187 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2188 down expression to avoid unexpected rounding in newer GCCs.
2189 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2190
33f244f4
DM
21912012-04-26 David S. Miller <davem@davemloft.net>
2192
2193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2194 long-double compat symbols.
2195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2208
cfa1f3e8
DM
22092012-04-25 David S. Miller <davem@davemloft.net>
2210
2211 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2212 HWCAP_* values only after the memory barriers have been defined.
2213 (atomic_full_barrier): Define.
2214 (atomic_read_barrier): Define.
2215 (atomic_write_barrier): Define.
2216
6e236b92
SP
22172012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2218
2219 * shlib-versions: Add libgcc_s version information.
2220 * sysdeps/generic/libgcc_s.h: Remove.
2221 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2222 libgcc_s.h.
2223 * sysdeps/gnu/unwind-resume.c: Likewise.
2224 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2225
aab39a09
DM
22262012-04-25 David S. Miller <davem@davemloft.net>
2227
2228 * sysdeps/unix/sparc/brk.S: Delete.
2229 * sysdeps/unix/sparc/dl-brk.S: Delete.
2230 * sysdeps/unix/sparc/pipe.S: Delete.
2231 * sysdeps/unix/sparc/sysdep.S: Delete.
2232 * sysdeps/unix/sparc/sysdep.h: Delete.
2233 * sysdeps/unix/sparc/vfork.S: Delete.
2234 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2235 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2236 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2237 ret_ERRVAL, r0, r1, MOVE): Define.
2238 (JUMPTARGET): Remove.
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2240 sysdeps/unix/sparc/sysdep.h
2241 (ENTRY, END): Remove.
2242 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2243
a3cc4f48
JM
22442012-04-25 Joseph Myers <joseph@codesourcery.com>
2245
2ed8cda2
JM
2246 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2247 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2248 -DIS_IN_build.
2249
35d76d59
JM
2250 * timezone/README: Update upstream location and email address for
2251 tzcode and tzdata.
2252 * timezone/zdump.c: Update from tzcode 2012b.
2253 * timezone/zic.c: Likewise.
2254
a3cc4f48
JM
2255 * configure.in (libc_cv_as_needed): Remove test.
2256 * configure: Regenerated.
2257 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2258 conditional definition.
2259 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2260 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2261 * config.make.in (have-as-needed): Remove variable.
2262
ceab42c3
SP
22632012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2264 Paul Pluzhnikov <ppluzhnikov@google.com>
2265
2266 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2267 strings correctly.
2268
3ce2865f
CLT
22692012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2270
2271 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2272 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2273 * sysdeps/sh/strlen.S: Likewise.
2274
f37e0d68
JM
22752012-04-24 Joseph Myers <joseph@codesourcery.com>
2276
ae186e9a
JM
2277 * sysdeps/unix/fork.S: Remove file.
2278 * sysdeps/unix/i386/fork.S: Likewise.
2279 * sysdeps/unix/sparc/fork.S: Likewise.
2280
b96914af
JM
2281 * sysdeps/unix/system.c: Remove file.
2282 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2283
f37e0d68
JM
2284 * sysdeps/unix/getegid.S: Remove file.
2285 * sysdeps/unix/geteuid.S: Likewise.
2286
87ef29ca
RM
22872012-04-24 Roland McGrath <roland@hack.frob.com>
2288
83bcd236
RM
2289 * scripts/check-localplt.awk: New file.
2290 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2291 of diff.
2292 * scripts/data/localplt-generic.data: Add a comment.
2293
87ef29ca
RM
2294 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2295 NODE when __dir_mkfile failed.
2296 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2297 Reported by Ludovic Courtès <ludo@gnu.org>.
2298
e5a6e567
AJ
22992012-04-24 Andreas Jaeger <aj@suse.de>
2300
2301 * Makerules (common-clean): Also remove gen-as-const-headers
2302 files.
2303
c1820385
JM
23042012-04-24 Joseph Myers <joseph@codesourcery.com>
2305
2306 * Makerules (native-compile): Do not change working directory for
2307 build. Use $(OUTPUT_OPTION) in command.
2308 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2309
94e02fc4
AZ
23102012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2311
2312 [BZ #13886]
2313 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2314 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2315 * math/libm-test.inc (floor_test): Add more tests.
2316 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2317
3a533ca3
JM
23182012-04-24 Joseph Myers <joseph@codesourcery.com>
2319
940ab4b3
JM
2320 * sysdeps/unix/getdents.c: Remove file.
2321 * sysdeps/unix/sysv/getdents.c: Likewise.
2322 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2323
90e037bd
JM
2324 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2325 sysdeps/unix/mman/syscalls.list.
2326 (mmap): Likewise.
2327 (mprotect): Likewise.
2328 (msync): Likewise.
2329 (munmap): Likewise.
2330 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2331 * sysdeps/unix/mman/syscalls.list: Remove.
2332 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2333
3a533ca3
JM
2334 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2335 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2336 * configure: Regenerated.
2337 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2338 $(libgcc_s_suffix).
2339 * config.make.in (libgcc_s_suffix): Remove variable.
2340
1ad743de
JM
23412012-04-23 Joseph Myers <joseph@codesourcery.com>
2342
4ad451e2
JM
2343 * sysdeps/unix/sysv/gethostname.c: Move to ...
2344 * sysdeps/posix/gethostname.c: ... here.
2345
5e37ce39
JM
2346 * sysdeps/unix/execve.S: Remove file.
2347
1ad743de
JM
2348 * sysdeps/unix/_exit.S: Remove file.
2349
4e681b5b
AJ
23502012-04-23 Andreas Jaeger <aj@suse.de>
2351
2352 [BZ #13739]
2353 * manual/Makefile: Remove make dist support, there's no
2354 need for a stand-alone documentation tar ball.
2355 (TEXI2DVI): Define always, it's not in Makeconfig.
2356 (dist): Removed.
2357 (tar-it): Removed.
2358 (edition): Removed.
2359 (glibc-doc-$(edition).tar): Removed
2360 (%.Z): Removed.
2361 (%.gz): Removed.
2362 (%.uu): Removed.
2363 (ETAGS): Remove, it's in Makeconfig.
2364 (move-if-change): Remove, it's in Makeconfig.
2365
c0baea34
PE
23662013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2367
2368 [BZ #13970]
2369 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2370 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2371 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2372 (strtod_l, strtof_l, strtold_l): Remove __wur.
2373 It is not necessarily an error to ignore strtol's return value.
2374 One can reliably look at the stored endptr to decide whether
2375 the number had valid syntax.
2376
7c0616fa
AJ
23772012-04-21 Andreas Jaeger <aj@suse.de>
2378
803cb6b7 2379 [BZ #13739]
7c0616fa
AJ
2380 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2381
b0fe253f
JM
23822012-04-21 Joseph Myers <joseph@codesourcery.com>
2383
2384 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2385 * sysdeps/unix/sysv/Versions: Remove file.
2386
8280f22d
MT
23872012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2388
2389 [BZ #13927]
2390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2391
75ce411f 23922012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2393
2394 [BZ #7064]
2395 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2396 version from __vm86.
2397
097d59fa
JM
23982012-04-20 Joseph Myers <joseph@codesourcery.com>
2399
a90f3bcb
JM
2400 * sysdeps/unix/common/lxstat.c: Remove file.
2401 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2402
edc7ea78
JM
2403 * sysdeps/unix/sysv/Makefile: Remove file.
2404
cb78c221
JM
2405 * sysdeps/unix/sysv/direct.h: Remove file.
2406
efa6a45f
JM
2407 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2408 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2409 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2410 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2411 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2412 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2413 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2414
9c9f2d0c
JM
2415 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2416
4541c83b
JM
2417 * sysdeps/unix/xmknod.c: Remove file.
2418 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2419
f5d153a0
JM
2420 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2421
aa746595
JM
2422 * sysdeps/unix/sysv/i386/time.S: Remove file.
2423
cce5905e
JM
2424 * sysdeps/unix/fxstat.c: Remove file.
2425 * sysdeps/unix/xstat.c: Likewise.
2426 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2427
37fa3841
JM
2428 * sysdeps/unix/sysv/sigaction.c: Remove file.
2429
ff1962a3
JM
2430 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2431 (sysdep_headers): Remove variable.
2432 [termio.h not in sysdep_headers] (generated): Likewise.
2433 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2434 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2435 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2436 * sysdeps/unix/sysv/tcflow.c: Likewise.
2437 * sysdeps/unix/sysv/tcflush.c: Likewise.
2438 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2439 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2440 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2441 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2442 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2443
e7740d31
JM
2444 * sysdeps/unix/siglist.c: Remove file.
2445
ee06f18b
JM
2446 * sysdeps/unix/getppid.S: Remove file.
2447
097d59fa
JM
2448 * sysdeps/unix/mkdir.c: Remove file.
2449 * sysdeps/unix/rmdir.c: Likewise.
2450
ff3d51ec
AS
24512012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2452
2453 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2454 ERR_MAX value.
2455 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2456 errlist-compat value.
2457
50f81fd7
DM
24582012-04-18 David S. Miller <davem@davemloft.net>
2459
2460 * sysdeps/generic/memcopy.h (reg_char): Delete.
2461 * debug/strcat_chk.c: Use char, not reg_char.
2462 * debug/strcpy_chk.c: Likewise.
2463 * debug/strncat_chk.c: Likewise.
2464 * debug/strncpy_chk.c: Likewise.
2465 * string/memchr.c: Likewise.
2466 * string/memrchr.c: Likewise.
2467 * string/rawmemchr.c: Likewise.
2468 * string/strcat.c: Likewise.
2469 * string/strchr.c: Likewise.
2470 * string/strchrnul.c: Likewise.
2471 * string/strcmp.c: Likewise.
2472 * string/strcpy.c: Likewise.
2473 * string/strncat.c: Likewise.
2474 * string/strncmp.c: Likewise.
2475 * string/strncpy.c: Likewise.
2476
8ff41c46
WS
24772012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2478
2479 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2480 __builtin_memcopy is called when src and dest ranges are known to not
2481 overlap.
2482
6b652f46
WS
24832012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2484
2485 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2486 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2487 fwd_align_merge macro call.
2488 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2489 bwd_align_merge macro call.
2490 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2491
b282631e
WS
24922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2493
2494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2495 bwd_align_merge macros.
2496 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2497 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2498 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2499
95aa737c
DM
25002012-04-18 David S. Miller <davem@davemloft.net>
2501
2502 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2503
7a99a614
AJ
25042012-04-18 Andreas Jaeger <aj@suse.de>
2505
2506 [BZ# 6794]
2507 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2508 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2509 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2510
2511 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2512 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2513 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2514
2515 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2516 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2517 Adjust for changed ldbl-128 files.
2518
2519 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2520 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2522
e5270c23
DM
25232012-04-17 David S. Miller <davem@davemloft.net>
2524
2525 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2526
fb5e92c9
AS
25272012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2528
2529 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2530 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2531 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2532 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2533 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2534 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2535
76da7265
AZ
25362012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2537
2538 [BZ #6794]
2539 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2540 * math/libm-test.inc: Add ilogb errno and exception tests.
2541 * math/w_ilogb.c: New file: ilogb wrapper.
2542 * math/w_ilogbf.c: New file: ilogbf wrapper.
2543 * math/w_ilogbl.c: New file: ilogbl wrapper.
2544 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2545 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2546 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2547 exception being thrown with 0.0 as argument.
2548 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2549 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2550 exception being thrown with 0.0 as argument.
2551 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2552 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2553 exception being thrown with 0.0 as argument.
2554 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2555 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2556 exception being thrown with 0.0 as argument.
2557 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2558 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2559 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2560 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2561 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2562 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2563 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2564 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2565 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2566
0396e69d
PB
25672012-04-17 Petr Baudis <pasky@ucw.cz>
2568
2569 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2570 with altivec.
2571
750b5926
MP
25722012-04-16 Marek Polacek <polacek@redhat.com>
2573
2574 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2575
751728a1
MP
25762012-04-16 Marek Polacek <polacek@redhat.com>
2577
2578 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2579 operands of fdivp instruction.
2580
34a27407
L
25812012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2582
2583 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2584 * elf/tst-auditmod3b.c: Likewise.
2585 * elf/tst-auditmod4b.c: Likewise.
2586 * elf/tst-auditmod5b.c: Likewise.
2587 * elf/tst-auditmod6b.c: Likewise.
2588 * elf/tst-auditmod6c.c: Likewise.
2589 * elf/tst-auditmod7b.c: Likewise.
2590 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2591 * sysdeps/x86_64/preconfigure.in: Likewise.
2592 * sysdeps/x86_64/preconfigure: Regenerated.
2593
7e73e17d
L
25942012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2595
2596 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2597 __ILP32__.
2598
c7a6ab72
AB
25992012-04-13 Antoine Balestrat <merkil33@gmail.com>
2600
2601 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2602 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2603
a9e8e0e0
CL
26042012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2605
2606 [BZ #13973]
2607 * locale/iso-639.def: Fix gl language name. Spotted by
2608 Yaron Shahrabani.
2609
ec98af7d
RM
26102012-04-12 Roland McGrath <roland@hack.frob.com>
2611
2612 [BZ #2074]
2613 * libio/libio.h (__io_write_fn): Update comment.
2614
247c3ede
PB
26152012-04-12 Petr Baudis <pasky@ucw.cz>
2616
2617 [BZ #2074]
2618 * stdio.texi (Hook Functions): The user provided writer function
2619 is not allowed to return -1.
2620
55939d6d
DM
26212012-04-11 David S. Miller <davem@davemloft.net>
2622
2623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2624
90020f5a
MF
26252012-04-11 Mike Frysinger <vapier@gentoo.org>
2626
2627 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2628 Add a leading slash to rtkaio.
2629
288f9098
JM
26302012-04-11 Jim Meyering <meyering@redhat.com>
2631
90020f5a
MF
2632 [BZ #11959]
2633 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2634 It is not necessarily an error to ignore fwrite's return
2635 value. One can reliably use ferror to test for errors after
2636 the fact.
288f9098 2637
4be2b570
L
26382012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2639
2640 * bits/types.h (__snseconds_t): New type.
2641 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2642
2643 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2644 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2645 (__SNSECONDS_T_TYPE): Likewise.
2646 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2647 (__SNSECONDS_T_TYPE): Likewise.
2648 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2649 (__SNSECONDS_T_TYPE): Likewise.
2650
288f9098 26512012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2652
2653 [BZ #2636]
2654 * manual/time.texi (Processor Time): Return type of times is
2655 elapsed real time since an arbitrary point in the past.
2656 (CPU Time): Move CLK_TCK from here...
2657 (Processor Time): ...to here. Correct description.
2658 * manual/conf.texi (Constants for Sysconf): Correct description of
2659 _SC_CLK_TCK.
2660
d7dd4413
DM
26612012-04-10 David S. Miller <davem@davemloft.net>
2662
2663 [BZ #13967]
2664 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2665 where the is a gap between DT_REL(A) and DT_JMPREL.
2666
b46068fc
L
26672012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2668
2669 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2670 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2671 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2672
73d65cc3
SP
26732012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2674
2675 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2676 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2677 (dl_main): Handle --inhibit-cache.
2678 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2679 _dl_inhibit_cache.
2680 * elf/dl-load.c (_dl_map_object): Use it.
2681 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2682
bcc8d661
JM
26832012-04-09 Joseph Myers <joseph@codesourcery.com>
2684
8f9a2fae
JM
2685 [BZ #13872]
2686 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2687 (__ieee754_powl): Saturate large exponents rather than testing for
2688 overflow of y*log2(x).
2689 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2690 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2691 exceptions.
2692
bcc8d661
JM
2693 [BZ #11521]
2694 * math/s_ctan.c: Include <float.h>.
2695 (__ctan): Avoid internal overflow or cancellation in calculating
2696 denominator.
2697 * math/s_ctanf.c: Likewise.
2698 * math/s_ctanl.c: Likewise.
2699 * math/s_ctanh.c: Likewise.
2700 * math/s_ctanhf.c: Likewise.
2701 * math/s_ctanhl.c: Likewise.
2702 * math/libm-test.inc (ctan_test): Add more tests.
2703 (ctanh_test): Likewise.
2704 * sysdeps/i386/fpu/libm-test-ulps: Update.
2705 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2706
823fbbb4
AJ
27072012-04-09 Andreas Jaeger <aj@suse.de>
2708
03879793
AJ
2709 [BZ #6894]
2710 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2711 is an optional BSD extension.
2712
823fbbb4
AJ
2713 [BZ #10254]
2714 * manual/stdio.texi (Opening Streams): Document additional fopen
2715 parameters.
2716
8de131cb
RM
27172012-04-09 Roland McGrath <roland@hack.frob.com>
2718
2719 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2720 %eax without telling the compiler.
2721
c0ed9d7d
CD
27222012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2723
2724 [BZ # 13963]
2725 * manual/install.texi: Use sourceware.org.
2726
c483f6b4
JM
27272012-04-09 Joseph Myers <joseph@codesourcery.com>
2728
d7dd9453
JM
2729 [BZ #13873]
2730 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2731 (__ieee754_pow): Generate overflow and underflow using huge*huge
2732 and tiny*tiny rather than just returning constant infinity or zero
2733 for large exponents.
2734 * math/libm-test.inc (pow_test): Require overflow exceptions for
2735 applicable cases of large exponents.
2736
c483f6b4
JM
2737 [BZ #706]
2738 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2739 (__ieee754_pow): Use iterative multiplication algorithm only for
2740 integer exponents with absolute value below 1024. Check for odd
2741 integer exponents when using algorithm for real exponents.
2742 * math/libm-test.inc (pow_test): Add more tests.
2743 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2744
d2de7579
JM
27452012-04-08 Joseph Myers <joseph@codesourcery.com>
2746
2747 [BZ #13705]
2748 * math/libm-test.inc (exp_test): Do not allow overflow exception
2749 on underflow test.
2750
f77f1232
AJ
27512012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2752
2753 [BZ #13705]
2754 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2755 instead of __kernel_standard_f.
2756
3884932b
MF
27572012-04-08 Mike Frysinger <vapier@gentoo.org>
2758
2759 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2760 * sysdeps/x86_64/memset_chk.S: Likewise.
2761
54472e9c
AJ
27622012-04-08 Andreas Jaeger <aj@suse.de>
2763
6ab0fbfc
AJ
2764 [BZ #10153]
2765 * manual/startup.texi (Environment Access): Describe return value
2766 for putenv and setenv.
2767
61efba8c
AJ
2768 [BZ #6895]
2769 * manual/filesys.texi (Directory Entries): Add description for
2770 DT_LNK.
2771
95c3f29a
AJ
2772 [BZ #6890]
2773 * manual/filesys.texi (Directory Entries): Clarify that it's file
2774 system not operating system in the description of DT_UNKNOWN.
2775
54472e9c
AJ
2776 [BZ #6578]
2777 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2778
624254b1
SC
27792012-04-08 Stephen Compall <s11@member.fsf.org>
2780
2781 [BZ #6649]
2782 * manual/llio.texi (Opening and Closing Files): Add cross
2783 reference to explain mode argument.
2784
1e4920e0
MF
27852012-04-07 Mike Frysinger <vapier@gentoo.org>
2786
2787 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2788 * sysdeps/x86_64/memset_chk.S: Likewise.
2789
5ed848f3
DM
27902012-04-07 David S. Miller <davem@davemloft.net>
2791
2792 * elf/elf.h (R_SPARC_WDISP10): Define.
2793 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2794 R_SPARC_SIZE32.
2795 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2796 R_SPARC_SIZE64 and R_SPARC_H34.
2797
96154cd8
CD
27982012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2799
2800 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2801 conditions and remove no longer applicable assertion.
2802
9904dc47
L
28032012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2804
2805 * bits/byteswap.h: Include <features.h>.
2806 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2807 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2808
f8887d0a
L
28092012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2810
2811 * bits/byteswap.h (__bswap_16): Removed.
2812 Include <bits/byteswap-16.h> to get __bswap_16.
2813 * sysdeps/i386/bits/byteswap.h: Likewise.
2814 * sysdeps/s390/bits/byteswap.h: Likewise.
2815 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2816 * bits/byteswap-16.h: New file.
2817 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2818 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2819 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2820 * string/Makefile (headers): Add bits/byteswap-16.h.
2821
62470f60
PP
28222012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2823
2824 [BZ #13895]
2825 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2826 extra indirection.
2827 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2828 * nss/tst-nss-static.c: New.
2829
4dad7bab
RM
28302012-04-06 Robert Millan <rmh@gnu.org>
2831
2832 [BZ #6486]
2833 * manual/llio.texi (File Position Primitive): lseek
2834 refers to WHENCE when it really means OFFSET.
2835
e9142a17
AJ
28362012-04-06 Andreas Jaeger <aj@suse.de>
2837
2c040eff
AJ
2838 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2839 strncmp declarations.
2840
e9142a17
AJ
2841 * abilist/libc.abilist: Add __poll and __ppoll.
2842
ff9f1c5f
DM
28432012-04-05 David S. Miller <davem@davemloft.net>
2844
dcd2ae90
DM
2845 * scripts/check-local-headers.sh: Accept a host triplet in the
2846 path matched by the exclude regexp.
2847
993eb054
DM
2848 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2849 definition.
2850 * sysdeps/powerpc/powerpc32/dl-machine.h
2851 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2852 * sysdeps/s390/s390-32/dl-machine.h
2853 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2854 * sysdeps/sparc/sparc32/dl-machine.h
2855 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2856 * sysdeps/sparc/sparc64/dl-machine.h
2857 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2858
ff9f1c5f
DM
2859 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2860 lazy binding.
48e2e132 2861 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2862 undefined symbol errors.
2863
48e2e132 2864 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2865 DT_NEEDED entries.
2866
e80d6f94
MM
28672012-04-05 Michael Matz <matz@suse.de>
2868
2869 [BZ #13592]
2870 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2871
349fa79f
AJ
28722012-04-05 Andreas Jaeger <aj@suse.de>
2873
2874 [BZ #13908]
2875 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2876 comment.
2877
f402708f
KK
28782012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2879
2880 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2881 which ROUND is no valid rounding mode.
2882
2ecccfc9
KK
28832012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2884
2885 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2886 read again.
2887 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2888
8a53f50f
KK
28892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2890
2891 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2892 an exception using FPU order intentionally.
2893
28942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2895
2896 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2897 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2898 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2899 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2900
d653abb7
SJ
29012012-04-05 Simon Josefsson <simon@josefsson.org>
2902
2903 [BZ #12340]
2904 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2905 EINVAL when BUFLEN is too smal.
2906
c3b1bf7d
TS
29072012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2908
2909 [BZ #13553]
2910 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2911 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2912
b1aa60f3
AJ
29132012-04-03 Andreas Jaeger <aj@suse.de>
2914
c3b1bf7d 2915 [BZ #13938]
67f60a26
AJ
2916 * manual/setjmp.texi (System V contexts): Fix sentence.
2917
b1aa60f3
AJ
2918 [BZ #13926]
2919 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2920 New macro for this case.
2921 [!__GNUC__] (__bswap_64): New inline function for this case.
2922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2923 * bits/byteswap.h: Likewise.
2924 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2925 ull, guard with __GLIBC_HAVE_LONG_LONG.
2926
2927 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2928 __GLIBC_HAVE_LONG_LONG.
2929
2930 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2931 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2932
39c59c35
TMQMF
29332012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2934
2935 [BZ #13691]
2936 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2937 inptr and inend, rather than using last_ch.
2938
135ffda8
DM
29392012-04-02 David S. Miller <davem@davemloft.net>
2940
2941 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2942 * stdio-common/printf-parse.h (read_int): Change return type to
2943 'int', return -1 on INT_MAX overflow.
2944 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2945 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2946 overflows INT_MAX. Check for overflow of in-format-string precision
2947 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2948 SIZE_MAX not INT_MAX for integer overflow test.
2949 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2950 skip the construct in the format string but do not record anything.
2951 * stdio-common/bug22.c: Adjust to test both width/prevision
2952 INT_MAX overflow as well as total length INT_MAX overflow. Check
2953 explicitly for proper errno values.
2954
228c019e
TS
29552012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2956
302cadd3
TS
2957 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2958 CHAR_MAX.
2959 * string/test-strcmp.c [! WIDE]: Likewise.
2960 * time/tst-mktime2.c: Likewise for INT_MAX.
2961 * string/test-string.h: #include <sys/param.h> for MIN.
2962
228c019e
TS
2963 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2964 * sysdeps/i386/init-first.c (init): Likewise.
2965 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2966 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2967 * sysdeps/sh/init-first.c (init): Likewise.
2968
cfa633f5
UD
29692012-04-01 Ulrich Drepper <drepper@gmail.com>
2970
2971 * po/ru.po: Update from translation team.
d1635ef8 2972 * po/vi.po: Likewise.
cfa633f5 2973
6cd0a5ea
SP
29742012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2975
2976 * resolv/nss_dns/dns-host.c: Merge copyright years.
2977
4b43400f
LD
29782012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2979
2980 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2981 Optimize memcpy with prefetch if
2982 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2983 src, dst pointers have unequal 16 byte alignments.
2984
48c41d04
SP
29852012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2986
2987 [BZ #13928]
2988 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2989 from a CNAME entry and return the minimum ttl for the query.
2990 (gaih_getanswer_slice): Likewise.
2991
b8dc394d
JL
29922012-03-30 Jeff Law <law@redhat.com>
2993
2994 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2995 due to long keys.
2996 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2997 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2998
2f5a5ed0
JL
2999 * resolv/nss_dns/dns-host.c: Update copyright year.
3000
1d39e359
UD
30012012-03-30 Ulrich Drepper <drepper@gmail.com>
3002
c030f70c 3003 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3004 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3005
1d39e359
UD
3006 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3007 comments for sendmmsg.
3008
30092012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3010
3011 [BZ #13691]
3012 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3013 with only 1 character between 0x0041 and 0x01b0.
3014 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3015 * wcsmbs/tst-mbsnrtowcs.c: New file.
3016
20fde227
DM
30172012-03-29 David S. Miller <davem@davemloft.net>
3018
3019 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3020 small copies by hand.
3021
984a4237
JL
30222012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3023
3024 [BZ #13761]
3025 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3026 _nss_compat_initgroups_dyn): Fall back to malloc/free
3027 for large group memberships.
3028
18c9d62b
DM
30292012-03-28 David S. Miller <davem@davemloft.net>
3030
88d85d4f
DM
3031 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3032 that branches into memcpy.
3033 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3034 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3035 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3036 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3038 bits.
3039 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3040 implementation too.
3041 * sysdeps/sparc/mempcpy.S: New file.
3042
e5aa83e1
DM
3043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3044 the IFUNC routine in the libc case.
3045 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3046
88570753
DM
3047 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3048 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3049 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3050 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3051 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3052 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3053 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3054 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3055
249d7567
DM
3056 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3057 loop to 256 bytes instead of 64 bytes and fix test signedness.
3058
18c9d62b
DM
3059 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3060 * sysdeps/sparc/sparc32/Makefile: rather than here...
3061 * sysdeps/sparc/sparc64/Makefile: and here.
3062
05f3d1f6
UD
30632012-03-28 Ulrich Drepper <drepper@gmail.com>
3064
3065 * malloc/mallocbug.c: Avoid warnings about unused variables.
3066
86ae07a8
JL
30672012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3068
3069 [BZ #13760]
3070 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3071 in the right place. Discard and retry query if response is
3072 larger than input buffer size.
3073
41bf21a1
JM
30742012-03-28 Joseph Myers <joseph@codesourcery.com>
3075
d6270972
JM
3076 [BZ #369]
3077 [BZ #2678]
3078 [BZ #3866]
3079 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3080 x for large integer exponent.
3081 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3082 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3083 sign of result as needed afterwards.
3084 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3085 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3086 result for underflowing pow the same as for overflow.
3087 (__kernel_standard_l): Handle powl overflow and underflow here
3088 rather than calling __kernel_standard.
3089 * math/libm-test.inc (pow_test): Add more tests.
3090
414fca03 3091 [BZ #3868]
41bf21a1
JM
3092 [BZ #13879]
3093 [BZ #13910]
3094 [BZ #13911]
3095 [BZ #13912]
3096 [BZ #13913]
3097 [BZ #13915]
3098 [BZ #13916]
3099 [BZ #13917]
3100 [BZ #13918]
3101 [BZ #13919]
3102 [BZ #13920]
3103 [BZ #13921]
3104 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3105 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3106 (__kernel_standard_l): New function.
3107 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3108 __kernel_standard.
3109 * math/w_acosl.c (__acosl): Likewise.
3110 * math/w_asinl.c (__asinl): Likewise.
3111 * math/w_atan2l.c (__atan2l): Likewise.
3112 * math/w_atanhl.c (__atanhl): Likewise.
3113 * math/w_coshl.c (__coshl): Likewise.
3114 * math/w_exp10l.c (__exp10l): Likewise.
3115 * math/w_exp2l.c (__exp2l): Likewise.
3116 * math/w_fmodl.c (__fmodl): Likewise.
3117 * math/w_hypotl.c (__hypotl): Likewise.
3118 * math/w_j0l.c (__j0l, __y0l): Likewise.
3119 * math/w_j1l.c (__j1l, __y1l): Likewise.
3120 * math/w_jnl.c (__jnl, __ynl): Likewise.
3121 * math/w_lgammal.c (__lgammal): Likewise.
3122 * math/w_log10l.c (__log10l): Likewise.
3123 * math/w_log2l.c (__log2l): Likewise.
3124 * math/w_logl.c (__logl): Likewise.
3125 * math/w_powl.c (__powl): Likewise.
3126 * math/w_remainderl.c (__remainderl): Likewise.
3127 * math/w_scalbl.c (sysv_scalbl): Likewise.
3128 * math/w_sinhl.c (__sinhl): Likewise.
3129 * math/w_sqrtl.c (__sqrtl): Likewise.
3130 * math/w_tgammal.c (__tgammal): Likewise.
3131 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3132 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3133 * math/libm-test.inc (acos_test): Add more tests.
3134 (acosh_test): Likewise.
3135 (asin_test): Likewise.
3136 (atanh_test): Likewise.
3137 (exp_test): Likewise.
3138 (exp10_test): Likewise.
3139 (exp2_test): Likewise.
3140 (expm1_test): Likewise.
3141 (lgamma_test): Likewise.
3142 (log_test): Likewise.
3143 (log10_test): Likewise.
3144 (log1p_test): Likewise.
3145 (log2_test): Likewise.
3146 (pow_test): Do not allow some spurious overflow exceptions.
3147 (sqrt_test): Add more tests.
3148 (tgamma_test): Likewise.
3149 (y0_test): Likewise.
3150 (y1_test): Likewise.
3151 (yn_test): Likewise.
3152
dd62fda6
AB
31532012-03-27 Anton Blanchard <anton@samba.org>
3154
3155 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3156 MAP_HUGETLB.
3157 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3158 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3159 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3160
1e3cdfda
AJ
31612012-03-27 David S. Miller <davem@davemloft.net>
3162
b855ab85
DM
3163 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3164
1e3cdfda
AJ
3165 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3166 have-as-vis3 check.
3167
31682012-03-27 Andreas Jaeger <aj@suse.de>
3169
3170 * sysdeps/x86_64/elf/configure.in: Moved to ...
3171 * sysdeps/x86_64/configure.in: ... here.
3172 * sysdeps/x86_64/elf/start.S: Moved to ...
3173 * sysdeps/x86_64/start.S: ... here.
3174 * sysdeps/x86_64/elf/configure: Delete.
3175
3176 * sysdeps/x86_64/configure.in: Merge contents from
3177 sysdeps/i386/configure.in (without i686 check).
3178
3179 * sysdeps/i386/elf/Versions: Merge into ...
3180 * sysdeps/i386/Versions: ... this.
3181 * sysdeps/i386/elf/Versions: Delete file.
3182 * sysdeps/i386/elf/start.S: Moved to ...
3183 * sysdeps/i386/start.S: ...here.
3184 * sysdeps/i386/elf/configure.in: Merge into...
3185 * sysdeps/i386/configure.in: ...here.
3186 * sysdeps/i386/elf/configure.in: Delete file.
3187 * sysdeps/i386/elf/configure: Delete file.
3188
3189 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3190 * debug/backtracesyms.c: ... here.
3191 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3192 * debug/backtracesymsfd.c: ... here.
3193 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3194 * sysdeps/generic/ifunc-sel.h: ... here.
3195
3196 * sysdeps/unix/i386/start.c: Delete file.
3197 * sysdeps/unix/sparc/start.c: Delete file.
3198 * sysdeps/unix/start.c: Delete file.
3199
3200 * sysdeps/sh/elf/configure.in: Moved to ...
3201 * sysdeps/sh/configure.in: ... here.
3202 * sysdeps/sh/elf/start.S: Moved to ...
3203 * sysdeps/sh/start.S: ... here.
3204 * sysdeps/sh/elf/configure: Delete file.
3205
3206 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3207 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3208 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3209 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3210 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3211 * sysdeps/powerpc/powerpc64/start.S: here.
3212 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3213 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3214 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3215 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3216 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3217
3218 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3219 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3220 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3221 * sysdeps/powerpc/powerpc32/start.S: ... here.
3222 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3223 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3224 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3225
3226 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3227 * sysdeps/powerpc/ifunc-sel.h: ... here.
3228 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3229 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3230
3231 * sysdeps/sparc/elf/configure.in: Moved to ...
3232 * sysdeps/sparc/configure.in: ... here.
3233 * sysdeps/sparc/elf/configure: Delete file.
3234 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3235 * sysdeps/sparc/sparc32/start.S: ... here.
3236 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3237 * sysdeps/sparc/sparc64/start.S: ... here.
3238 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3239 * sysdeps/sparc/sparc32/Makefile: ... this.
3240 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3241 * sysdeps/sparc/sparc64/Makefile: ... this.
3242
3243 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3244 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3245 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3246 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3247 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3248 * sysdeps/s390/s390-32/setjmp.S: ... here.
3249 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3250 * sysdeps/s390/s390-32/configure.in: ... here.
3251 * sysdeps/s390/s390-32/elf/configure: Delete file.
3252 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3253 * sysdeps/s390/s390-32/start.S: ... here.
3254
3255 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3256 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3257 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3258 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3259 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3260 * sysdeps/s390/s390-64/setjmp.S: ... here.
3261 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3262 * sysdeps/s390/s390-64/configure.in: ... here
3263 * sysdeps/s390/s390-64/elf/configure: Delete file.
3264 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3265 * sysdeps/s390/s390-64/start.S: ... here.
3266 * sysdeps/s390/s390-64/elf/configure: Delete.
3267
3268 * configure.in: Remove support for elf directories in sysdeps.
3269
3270 * configure: Regenerated.
3271 * sysdeps/i386/configure: Regenerated.
3272 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3273 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3274 * sysdeps/s390/s390-32/configure: Regenerated.
3275 * sysdeps/s390/s390-64/configure: Regenerated.
3276 * sysdeps/sh/configure: Regenerated.
3277 * sysdeps/sparc/configure: Regenerated.
3278 * sysdeps/x86_64/configure: Regenerated.
3279
a3f61311
AS
32802012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3281
c876e002
AS
3282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3283
a3f61311
AS
3284 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3285 denormal result into account.
3286
ac4c54f0
RM
32872012-03-25 Roland McGrath <roland@hack.frob.com>
3288
3289 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3290 Reported by Allan McRae <allan@archlinux.org>.
3291
6a9b9c02
JL
32922012-03-23 Jeff Law <law@redhat.com>
3293
3294 * nss/getnssent.c (__nss_getent): Fix typo.
3295
4c42a0c1
DM
32962012-03-23 David S. Miller <davem@davemloft.net>
3297
3298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3299
1532c7ac
L
33002012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3301
3302 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3303 to pad to uint64_t for each field.
3304 (dl_tls_index): Replace unsigned long with uint64_t.
3305
3ff42526
PP
33062012-03-23 Daniel Jacobowitz <dmj@google.com>
3307 Paul Pluzhnikov <ppluzhnikov@google.com>
3308
3309 [BZ #6528]
3310 * grp/Makefile (otherlibs): Don't set it.
3311 * inet/Makefile (otherlibs): Likewise.
3312 * login/Makefile (otherlibs): Likewise.
3313 * nscd/Makefile (otherlibs): Likewise.
3314 * posix/Makefile (otherlibs): Likewise.
3315 * pwd/Makefile (otherlibs): Likewise.
3316 * rt/Makefile (otherlibs): Likewise.
3317 * sunrpc/Makefile (otherlibs): Likewise.
3318 * nss/Makefile (otherlibs): Likewise.
3319 Add libnss_files to routines and static-only-routines.
3320 ($(objpfx)getent): Remove rule.
3321 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3322 static-only-routines.
3323
7c69cd14
JM
33242012-03-22 Joseph Myers <joseph@codesourcery.com>
3325
3326 [BZ #13892]
3327 * math/s_cexp.c: Include <float.h>.
3328 (__cexp): Handle exp result overflowing not necessarily
3329 overflowing both real and imaginary parts of result.
3330 * math/s_cexpf.c: Likewise.
3331 * math/s_cexpl.c: Likewise.
3332 * math/libm-test.inc (cexp_test): Add more tests.
3333 * sysdeps/i386/fpu/libm-test-ulps: Update.
3334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3335
81b035fe
L
33362012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3337
3338 * include/link.h (ELFW): New macro.
3339 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3340 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3341
1da7940c
L
33422012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3343
3344 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3345 with uint64_t.
3346
b749dbb9
L
33472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3348
3349 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3350 declaration.
3351 (struct La_x32_retval): Likewise.
3352
2ff87f3f
L
33532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3354
3355 * sysdeps/x86_64/preconfigure.in: New file.
3356 * sysdeps/x86_64/preconfigure: New generated file.
3357
c0df8e69
JM
33582012-03-22 Joseph Myers <joseph@codesourcery.com>
3359
48e44791
JM
3360 [BZ #13824]
3361 * math/e_exp2l.c: Include <float.h>.
3362 (__ieee754_exp2l): Handle overflow and underflow cases
3363 separately. Only pass fractional part of argument to
3364 __ieee754_expl.
3365 * math/libm-test.inc (exp2_test): Add more tests.
3366
c0df8e69
JM
3367 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3368 negating x to take absolute value.
3369 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3370 Likewise.
3371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3373 Likewise.
3374 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3375 computing low part if x was negated.
3376 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3377
c8e43ba7
L
33782012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3379
3380 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3381 la_x32_gnu_pltexit.
3382 (pltexit): Cast int_retval to ptrdiff_t.
3383 * elf/tst-auditmod3b.c: Likewise.
3384 * elf/tst-auditmod4b.c: Likewise.
3385 * elf/tst-auditmod5b.c: Likewise.
3386 * elf/tst-auditmod6b.c: Likewise.
3387 * elf/tst-auditmod6c.c: Likewise.
3388 * elf/tst-auditmod7b.c: Likewise.
3389
3390 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3391 and x32_gnu_pltexit.
3392
3393 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3394 __ELF_NATIVE_CLASS.
3395 (La_x32_regs): New macro.
3396 (La_x32_retval): Likewise.
3397 (la_x32_gnu_pltenter): New function prototype.
3398 (la_x32_gnu_pltexit): Likewise.
3399
7998fa78
AS
34002012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3401
dcb33988
AS
3402 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3403 exponent.
3404
233fc563
AS
3405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3406
7998fa78
AS
3407 * configure.in (libc_cv_cc_nofma): Check for option to disable
3408 generation of FMA instructions.
3409 * configure: Regenerate.
3410 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3411 * sysdeps/ieee754/dbl-64/Makefile: New file.
3412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3413 Remove brandred-fma4.
3414 (CFLAGS-brandred-fma4.c): Remove.
3415 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3416 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3417 define.
3418 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3419 define.
3420
8e95c99a
L
34212012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3422
3423 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3424 LLONG_MAX != LONG_MAX.
3425 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3426 (_fitoa_word): Likewise.
3427 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3428 LLONG_MAX != LONG_MAX.
3429 * stdio-common/_itowa.h: Include <_itoa.h>.
3430 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3431 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3432 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3433 only if not defined.
3434 (_ITOA_WORD_TYPE): Likewise.
3435 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3436 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3437
6f4db457
DM
34382012-03-21 David S. Miller <davem@davemloft.net>
3439
3440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3441
7785fe5a
L
34422012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3443
3444 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3445 of x86_64 when setting libc_cv_slibdir, libdir and
3446 libc_cv_localedir.
3447 * sysdeps/unix/sysv/linux/configure: Regenerated.
3448
4535cd55
JM
34492012-03-21 Joseph Myers <joseph@codesourcery.com>
3450
3451 * manual/lang.texi (Old Varargs): Remove section.
3452 (How Variadic): Update menu.
3453 (va_start): Do not mention varargs.h.
3454
17228132
TS
34552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3456 Joseph Myers <joseph@codesourcery.com>
3457
3458 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3459 link test.
3460 * configure: Regenerated.
3461
8149f976
TS
34622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3463
05f3d1f6
UD
3464 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3465 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3466 conformtest.pl
8149f976 3467
1a4ac776
JM
34682012-03-21 Joseph Myers <joseph@codesourcery.com>
3469
be22ce65
JM
3470 * NOTES: Remove.
3471 * Makefile (files-for-dist): Remove NOTES.
3472 (NOTES): Remove rule.
3473 * README: Don't refer to NOTES.
3474 * manual/creature.texi: Don't include macros.texi.
3475 * manual/intro.texi (creature.texi): Remove comment referring to
3476 NOTES.
3477
40b601fb
JM
3478 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3479 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3480 * configure: Regenerated.
3481 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3482 LIBC_TRY_CC_OPTION.
3483 (libc_cv_as_i686): Likewise.
3484 (libc_cv_cc_avx): Likewise.
3485 (libc_cv_cc_sse2avx): Likewise.
3486 (libc_cv_cc_fma4): Likewise.
3487 (libc_cv_cc_novzeroupper): Likewise.
3488 * sysdeps/i386/configure: Regenerated.
3489
1a4ac776
JM
3490 [BZ #13883]
3491 * sysdeps/i386/fpu/s_cexp.S: Remove.
3492 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3493 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3494 * math/libm-test.inc (cexp_test): Add more tests.
3495 * sysdeps/i386/fpu/libm-test-ulps: Update.
3496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3497
a458e7fe
AM
34982012-03-21 Allan McRae <allan@archlinux.org>
3499
3500 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3501
0cb7efc5
JM
35022012-03-21 Joseph Myers <joseph@codesourcery.com>
3503
3504 [BZ #13871]
3505 * math/w_exp2.c: Do not include <float.h>.
3506 (o_threshold, u_threshold): Remove.
3507 (__exp2): Calculate result before checking finiteness and calling
3508 __kernel_standard.
3509 * math/w_exp2f.c: Likewise.
3510 * math/w_exp2l.c: Likewise.
3511 * math/libm-test.inc (exp2_test): Require overflow exception for
3512 1e6 input.
2460d3aa
JM
3513
3514 [BZ #3866]
3515 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3516 range of signed 64-bit integers before using fistpll. Remove
3517 checks for whether integers fit in mantissa bits.
3518 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3519 the range of signed 32-bit integers before using fistpl. Remove
3520 checks for whether integers fit in mantissa bits.
3521 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3522 (__ieee754_powl): Test for y outside the range of signed 64-bit
3523 integers before using fistpll. Reduce 64-bit values to 63-bit
3524 ones as needed.
3525 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3526 divide-by-zero is raised for zero to large negative powers.
3527 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3528 (__ieee754_powl): Test for y outside the range of signed 64-bit
3529 integers before using fistpll. Reduce 64-bit values to 63-bit
3530 ones as needed.
3531 * math/libm-test.inc (pow_test): Add more tests.
3532
eb96ffb0
L
35332012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3534
3535 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3536 <stdio-common/_itoa.h>.
3537 * debug/segfault.c: Likewise.
3538 * elf/dl-cache.c: Likewise.
3539 * elf/dl-minimal.c: Likewise.
3540 * elf/dl-misc.c: Likewise.
3541 * elf/dl-sysdep.c: Likewise.
3542 * elf/dl-version.c: Likewise.
3543 * elf/rtld.c: Likewise.
3544 * hurd/hurdsock.c: Likewise.
3545 * hurd/lookup-retry.c: Likewise.
3546 * malloc/malloc.c: Likewise.
3547 * malloc/mtrace.c: Likewise.
3548 * nscd/nscd_getgr_r.c: Likewise.
3549 * nscd/nscd_getpw_r.c: Likewise.
3550 * nscd/nscd_getserv_r.c: Likewise.
3551 * posix/getopt_init.c: Likewise.
3552 * posix/wordexp.c: Likewise.
3553 * stdio-common/_itoa.c: Likewise.
3554 * stdio-common/printf_fphex.c: Likewise.
3555 * stdio-common/vfprintf.c: Likewise.
3556 * string/_strerror.c: Likewise.
3557 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3558 * sysdeps/i386/i686/hp-timing.h: Likewise.
3559 * sysdeps/mach/_strerror.c: Likewise.
3560 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3561 * sysdeps/mach/hurd/sethostid.c: Likewise.
3562 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3563 * sysdeps/mach/xpg-strerror.c: Likewise.
3564 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3565 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3566 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3567 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3569 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3570 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3571 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3572 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3573 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3574 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3575 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3576 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3577 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3578 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3579 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3580 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3582 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3583 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3584 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3585
3586 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3587
3588 * stdio-common/_itoa.h: Moved to ...
3589 * sysdeps/generic/_itoa.h: Here.
3590
3591 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3592
3593 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3594 instead of "_itoa.h" and "_itowa.h".
3595 * stdio-common/vfprintf.: Likewise.
3596
d1af992d
L
35972012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3598
3599 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3600 <bits/wordsize.h>.
3601 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3602 (__signbit): Likwise.
3603 (llrintf): Likwise.
3604 (llrint): Likwise.
3605
114883e0
L
36062012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3607
3608 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3609 __WORDSIZE != 64.
3610
c135cc1b
JM
36112012-03-20 Joseph Myers <joseph@codesourcery.com>
3612
3613 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3614 OVERFLOW_EXCEPTION_OK.
3615 * math/libm-test.inc ("Philosophy"): Update comment about
3616 exception testing.
3617 (OVERFLOW_EXCEPTION): Define.
3618 (OVERFLOW_EXCEPTION_OK): Likewise.
3619 (INVALID_EXCEPTION_OK): Renumber.
3620 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3621 (IGNORE_ZERO_INF_SIGN): Likewise.
3622 (test_exceptions): Handle FE_OVERFLOW.
3623 (exp10_test): Expect overflow exceptions.
3624 (exp2_test): Likewise.
3625 (expm1_test): Likewise.
3626 (nextafter_test): Likewise.
3627 (pow_test): Likewise.
3628 (scalbn_test): Likewise.
3629 (scalbln_test): Likewise.
3630
95443d88
L
36312012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3632
3633 * sysdeps/x86_64/bits/atomic.h
3634 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3635 64bit integer.
3636 (atomic_exchange_acq): Likewise.
3637 (__arch_exchange_and_add_body): Likewise.
3638 (__arch_add_body): Likewise.
3639 (atomic_add_negative): Likewise.
3640 (atomic_add_zero): Likewise.
3641
490df6c4
L
36422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3643
c2722551 3644 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3645 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3646
5e52b189
L
36472012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3648
3649 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3650 Check __x86_64__ instead of __WORDSIZE.
3651
a9879d4c
L
36522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3653
3654 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3655
5df98260
DM
36562012-03-19 David S. Miller <davem@davemloft.net>
3657
e1497744
DM
3658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3659
5df98260
DM
3660 * sysdeps/sparc/fpu/fenv_private.h: New file.
3661 * sysdeps/sparc/fpu/math_private.h: Use it.
3662 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3663 Remove.
3664 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3665 (libc_feholdexcept_setroundl): Remove.
3666 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3667 Remove.
3668 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3669 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3670
b4c35121
L
36712012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3672
3673 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3674 int64_t instead of long int.
3675 (INSERT_WORDS64): Likwise.
3676
56965fd7
L
36772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3678
3679 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3680 _Unwind_GetCFA return to _Unwind_Ptr first.
3681
83d1aec8
JM
36822012-03-19 Joseph Myers <joseph@codesourcery.com>
3683
1897ad44
JM
3684 [BZ #13629]
3685 * math/s_clog.c: Include <float.h>.
3686 (__clog): Scale large or subnormal inputs.
3687 * math/s_clogf.c: Likewise.
3688 * math/s_clogl.c: Likewise.
3689 * math/s_clog10.c: Include <float.h>.
3690 (M_LOG10_2): Define.
3691 (__clog10): Scale large or subnormal inputs.
3692 * math/s_clog10f.c: Likewise.
3693 * math/s_clog10l.c: Likewise.
3694 * math/libm-test.inc (clog_test): Add more tests.
3695 (clog10_test): Likewise.
3696 * sysdeps/i386/fpu/libm-test-ulps: Update.
3697 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3698
7726d6a9
JM
3699 [BZ #11451]
3700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3701 x and y.
3702 * math/libm-test.inc (atan2_test): Add another test.
3703
83d1aec8
JM
3704 * Makerules (common-objdir-compile): Remove.
3705 * sysdeps/unix/Makefile (config-generated): Do not add
3706 $(unix-generated) to variable.
3707 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3708 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3709 Remove rule.
3710 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3711 Likewise.
3712 [generic bits/local_lim.h] (before-compile): Do not append to
3713 variable.
3714 [generic bits/local_lim.h] (common-generated): Likewise.
3715 [generic sys/param.h] (before-compile): Do not append to variable.
3716 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3717 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3718 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3719 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3720 include.
3721 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3722 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3723 [generic sys/param.h] ($(addprefix
3724 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3725 [generic sys/param.h] (common-generated): Do not append to
3726 variable.
3727 [generic sys/param.h] (sysdep_headers): Likewise.
3728 [generic bits/errno.h] (before-compile): Do not append to
3729 variable.
3730 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3731 rule.
3732 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3733 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3734 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3735 [generic bits/errno.h] (common-generated): Do not append to
3736 variable.
3737 [generic bits/ioctls.h] (before-compile): Do not append to
3738 variable.
3739 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3740 rule.
3741 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3742 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3743 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3744 rule.
3745 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3746 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3747 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3748 [generic bits/ioctls.h] (common-generated): Do not append to
3749 variable.
3750 [generic sys/syscall.h] (syscall.h): Remove variable.
3751 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3752 rule.
3753 [generic sys/syscall.h] (before-compile): Do not append to
3754 variable.
3755 [generic sys/syscall.h] (common-generated): Likewise.
3756 * sysdeps/unix/errnos-tmpl.c: Remove file.
3757 * sysdeps/unix/errnos.awk: Likewise.
3758 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3759 * sysdeps/unix/ioctls.awk: Likewise.
3760 * sysdeps/unix/mk-local_lim.c: Likewise.
3761 * sysdeps/unix/snarf-ioctls: Likewise.
3762
4851a949
RH
37632012-03-19 Richard Henderson <rth@twiddle.net>
3764
bd37f2ee
RH
3765 * sysdeps/i386/fpu/fenv_private.h: New file.
3766 * sysdeps/i386/fpu/math_private.h: Use it.
3767 (math_opt_barrier, math_force_eval): Remove.
3768 (libc_feholdexcept_setround_53bit): Remove.
3769 (libc_feupdateenv_53bit): Remove.
3770 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3771 (math_opt_barrier, math_force_eval): Remove.
3772 (libc_feholdexcept): Remove.
3773 (libc_feholdexcept_setround): Remove.
3774 (libc_fetestexcept, libc_fesetenv): Remove.
3775 (libc_feupdateenv_test): Remove.
3776 (libc_feupdateenv, libc_feholdsetround): Remove.
3777 (libc_feresetround): Remove.
3778
d0adc922
RH
3779 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3780 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3781
0fe0f1f8
RH
3782 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3783 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3784 (libc_feupdateenv_testl): New.
3785 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3786 (libc_feupdateenv_testf): New.
3787 (libc_feupdateenv): Use libc_feupdateenv_test.
3788 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3789 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3790
eb92c487
RH
3791 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3792 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3793 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3794 (libc_feresetround_noex): New.
3795 (libc_feresetround_noexf): New.
3796 (libc_feresetround_noexl): New.
3797 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3798 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3799 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3800 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3801 SET_RESTORE_ROUND.
3802 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3803 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3804 (__cos): Likewise.
3805 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3807 SET_RESTORE_ROUND_NOEX.
3808 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3809 SET_RESTORE_ROUND_NOEXF.
3810 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3811 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3812 (libc_feholdsetroundf): New.
3813 (libc_feresetround, libc_feresetroundf): New.
3814
7d2e8012
RH
3815 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3816 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3817 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3818
b4dabbb4
RH
3819 * sysdeps/generic/math_private.h: Include <fenv.h>.
3820 (default_libc_feholdexcept): New.
3821 (default_libc_feholdexcept_setround): New.
3822 (default_libc_fesetenv, default_libc_feupdateenv): New.
3823 (libc_feholdexcept): Only define if undefined.
3824 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3825 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3826 (libc_feholdexcept_setroundl): Likewise.
3827 (libc_feholdexcept_setround_53bit): Likewise.
3828 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3829 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3830 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3831 (libc_feupdateenv_53bit): Likewise.
3832 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3833 (libc_feholdexcept): Convert from macro to inline function.
3834 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3835 (libc_fesetenv, libc_feupdateenv): Likewise.
3836
4851a949
RH
3837 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3838 not previously defined.
3839 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3840 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3841 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3842 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3843 * sysdeps/ieee754/flt-32/math_private.h: New file.
3844 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3845 math_private.h below SET_FLOAT_WORD.
3846 (__isnan, __isinf_ns, __finite): Remove.
3847 (__isnanf, __isinf_nsf, __finitef): Remove.
3848
e79d442e
AS
38492012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3850
3851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3852
90b80344
DM
38532012-03-17 David S. Miller <davem@davemloft.net>
3854
3855 [BZ #6471]
3856 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3857 for 2.16.
3858
edc21804
DM
38592012-03-16 David S. Miller <davem@davemloft.net>
3860
77e927af
DM
3861 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3862 warnings.
3863
374976dd
DM
3864 [BZ #6471]
3865 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3866 properly.
3867 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3868 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3869 sysdep_routines when subdir is sysvipc.
3870 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3871 __getshmlba helper.
3872
edc21804
DM
3873 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3874
473c3ef3
L
38752012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3876
3877 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3878 [__LP64__].
3879
eb0f39b6
L
38802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3881
3882 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3883 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3884 (__lround): Renamed to ...
3885 (__llround): This. Replace long int with long long int.
3886 Define lround functions as aliases of llround functions.
3887 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3888
6b6cd74b
L
38892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3890
3891 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3892 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3893 adresses to uintptr_t. Replace "long int" and "unsigned long
3894 int" with "greg_t" on va_arg.
3895
f1a77b01
L
38962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3897
3898 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3899 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3900
3901 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3902 Move e_machine check before EI_CLASS check. Handle x32
3903 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3904 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3905 SKIP_EM_IA_64 and include
3906 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3907
3908 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3909 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3910 (add_system_dir): New macro.
3911
3912 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3913 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3914
11b90b9f
JM
39152012-03-16 Joseph Myers <joseph@codesourcery.com>
3916
c36e1d23
JM
3917 [BZ #2551]
3918 [BZ #2552]
3919 [BZ #2553]
3920 [BZ #2554]
3921 [BZ #2562]
3922 [BZ #2563]
3923 [BZ #2565]
3924 [BZ #2566]
3925 [BZ #2576]
3926 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3927 (y0): Likewise.
3928 * math/w_j0f.c (j0f): Likewise.
3929 (y0f): Likewise.
3930 * math/w_j0l.c (__j0l): Likewise.
3931 (__y0l): Likewise.
3932 * math/w_j1.c (j1): Likewise.
3933 (y1): Likewise.
3934 * math/w_j1f.c (j1f): Likewise.
3935 (y1f): Likewise.
3936 * math/w_j1l.c (__j1l): Likewise.
3937 (__y1l): Likewise.
3938 * math/w_jn.c (jn): Likewise.
3939 (yn): Likewise.
3940 * math/w_jnf.c (jnf): Likewise.
3941 (ynf): Likewise.
3942 * math/w_jnl.c (__jnl): Likewise.
3943 (__ynl): Likewise.
3944 * math/libm-test.inc (j0_test): Add more tests.
3945 (j1_test): Likewise.
3946 (jn_test): Likewise. Add trailing semicolon to existing test.
3947 (y0_test): Likewise.
3948 (y1_test): Likewise.
3949 * sysdeps/i386/fpu/libm-test-ulps: Update.
3950 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3951
11b90b9f
JM
3952 [BZ #13851]
3953 [BZ #13854]
3954 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3955 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3956 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3957 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3958 (__tanl): Set errno for infinite argument.
3959 * sysdeps/i386/fpu/mptan.c: Remove.
3960 * sysdeps/i386/fpu/s_tan.S: Likewise.
3961 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3962 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3963 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3964 * math/libm-test.inc (tan_test): Add more tests and enable more
3965 tests for double and long double.
3966 * sysdeps/i386/fpu/libm-test-ulps: Update.
3967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3968
6a1bd2a1
JK
39692012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3970
3971 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3972 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3973
10a803e0
RM
39742012-03-16 Roland McGrath <roland@hack.frob.com>
3975
3976 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3977 * configure.in: Use it for both main tree and add-ons.
3978 * configure: Regenerated.
3979
f196c7f7
L
39802012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3981
3982 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3983
8848d99d
JM
39842012-03-16 Joseph Myers <joseph@codesourcery.com>
3985
96cbe7f4
JM
3986 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3987 in comment.
3988
8848d99d
JM
3989 [BZ #13851]
3990 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3991 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3992 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3993 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3994 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3995 infinite argument.
3996 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3997 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3998 != 0 for prec == 2.
3999 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4000 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4001 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4002 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4003 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4004 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4005 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4006 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4007 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4008 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4009 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4010 * math/libm-test.inc (cos_test): Add more tests and enable more
4011 tests for long double.
4012 (sin_test): Likewise.
4013 (sincos_test): Likewise.
4014 * sysdeps/i386/fpu/libm-test-ulps: Update.
4015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4016
dd7f4703
DM
40172012-03-16 David S. Miller <davem@davemloft.net>
4018
4019 * sysdeps/sparc/fpu/math_private.h: New file.
4020
006f1daa
DM
40212012-03-15 David S. Miller <davem@davemloft.net>
4022
c0c83bc8
DM
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4024 file.
e6a62e18 4025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4027 file.
e6a62e18
DM
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4031 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4032 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4033 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4034 sysdep routines.
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4036
88cb87d9
DM
4037 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4038 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4039
006f1daa 4040 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4042 sparc-ifunc.h
006f1daa 4043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4045 Likewise.
4046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4047 Likewise.
006f1daa
DM
4048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4052 Likewise.
006f1daa
DM
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4058 Likewise.
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4060 Likewise.
006f1daa
DM
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4065 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4066 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4067 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4068 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4069 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4071 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4072 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4075 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4076 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4077 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4078 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4079 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4081 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4082 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4085
11e0098e
AS
40862012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4087
4088 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4089 scaling.
4090 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4091
e85b09d0
AJ
40922012-03-15 Andreas Jaeger <aj@suse.de>
4093
4094 [BZ #13852]
4095 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4096 ieee754/flt-32 implementation for sin, cos and sincos.
4097 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4098 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4099 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4100 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4101 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4102 ieee754/flt-32 implementation for tan.
4103
4104 * math/libm-test.inc (cos_test): Enable some large input tests for
4105 float as well
4106 (sin_test): Likewise.
4107 (sincos_test): Likewise.
4108 (tan_test): Add tests for large input.
4109
4110 * sysdeps/i386/fpu/libm-test-ulps: Update.
4111
81c64153
AJ
41122012-03-15 Andreas Jaeger <aj@suse.de>
4113
4114 [BZ #13658]
4115 * math/libm-test.inc (cos_test): Add more test cases.
4116 (sin_test): Likewise.
4117 (sincos_test): Likewise.
4118
7bbfa5c6
AJ
41192012-03-15 Andreas Jaeger <aj@suse.de>
4120
4121 [BZ #13837]
4122 * math/libm-test.inc (cos_test): Add a test case for large input
4123 value.
4124 (sin_test): Likewise.
4125 (sincos_test): Likewise.
4126
41272012-03-15 Andreas Jaeger <aj@suse.de>,
4128 Joseph Myers <joseph@codesourcery.com>
4129
4130 [BZ #13658]
0671f479 4131 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4132 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4133 * sysdeps/i386/fpu/branred.c: Likewise.
4134 * sysdeps/i386/fpu/dosincos.c: Likewise.
4135 * sysdeps/i386/fpu/mpa.c: Likewise.
4136 * sysdeps/i386/fpu/s_cos.S: Likewise.
4137 * sysdeps/i386/fpu/s_sin.S: Likewise.
4138 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4139 * sysdeps/i386/fpu/sincos32.c: Likewise.
4140
4141 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4142 Define.
4143 (libc_feupdateenv_53bit): Define.
4144 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4145 Define.
4146 (libc_feupdateenv_53bit): Define.
4147
4148 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4149 53 bit (without extend i386 double precision).
4150
4151 * math/libm-test.inc (sincos_test): Add tests for large input.
4152 (sin): Likewise.
4153 (cos): Likewise.
4154
4155 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4156
9cad04ea
AS
41572012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4158
4159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4160
f7062b9a
DM
41612012-03-15 David S. Miller <davem@davemloft.net>
4162
4163 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4165 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4166 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4167 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4177 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4179 file.
f7062b9a 4180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4182 file.
f7062b9a 4183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4185 file.
f7062b9a 4186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4188 file.
f7062b9a
DM
4189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4191 fmin/fmax sysdep routines.
4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4193
7bd951ff
DM
41942012-03-14 David S. Miller <davem@davemloft.net>
4195
559398ab
DM
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4202 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4206 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4224 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4225 routines.
4226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4227 file.
559398ab 4228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4230 file.
559398ab 4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4233 file.
559398ab 4234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4236 file.
559398ab 4237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4239 file.
559398ab 4240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4242 file.
4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4244 file.
4245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4246 file.
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4248 file.
4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4250 New file.
4251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4252 file.
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4254 file.
559398ab 4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4257 file.
559398ab 4258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4260 file.
559398ab 4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4263 file.
559398ab 4264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4266 VIS3 routines.
559398ab
DM
4267
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4269 New file.
4270
5a1c1e32
DM
4271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4272
eae47a36
DM
4273 * sysdeps/sparc/configure.in: New file.
4274 * sysdeps/sparc/configure: Generate.
4275 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4276 * configure: Regenerate.
4277 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4278 * config.make.in (have-as-vis3): New.
4279 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4280 available use -Av9d instead of -Av9a.
4281 * sysdeps/sparc/sparc64/Makefile: Likewise.
4282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4284 New file.
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4286 file.
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4288 New file.
4289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4290 file.
eae47a36
DM
4291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4292 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4293 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4294 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4295 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4296
c0c83bc8
DM
4297 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4298 fzeros/fnegs to load 0x80000000 into a float register instead of
4299 using the stack.
7bd951ff
DM
4300 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4301
bd951ccb
JM
43022012-03-14 Joseph Myers <joseph@codesourcery.com>
4303
4304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4305 bits/syscall.h.
4306 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4307 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4308 ($(inst_includedir)/bits/syscall.h): Remove rule.
4309 ($(objpfx)bits/syscall.d): Include instead of
4310 $(objpfx)syscall-list.d.
4311 (generated): Change syscall-list.h and syscall-list.d to
4312 bits/syscall.h and bits/syscall.d.
4313
bb4e6db2
RM
43142012-03-14 Roland McGrath <roland@hack.frob.com>
4315
4316 [BZ #13846]
4317 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4318
aa4a2ae1
JM
43192012-03-14 Joseph Myers <joseph@codesourcery.com>
4320
e456826d
JM
4321 [BZ #13841]
4322 * math/s_csqrt.c: Include <float.h>.
4323 (__csqrt): Scale large or subnormal inputs.
4324 * math/s_csqrtf.c: Likewise.
4325 * math/s_csqrtl.c: Likewise.
4326 * math/libm-test.inc (csqrt_test): Add more tests.
4327 * sysdeps/i386/fpu/libm-test-ulps: Update.
4328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4329
aa4a2ae1
JM
4330 [BZ #13840]
4331 * math/libm-test.inc (hypot_test): Add more tests.
4332
7c10fd35
DM
43332012-03-13 David S. Miller <davem@davemloft.net>
4334
4335 [BZ #13840]
4336 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4337 double-precision for the calculation instead of scaling.
4338
f453b98b
JM
43392012-03-13 Joseph Myers <joseph@codesourcery.com>
4340
4341 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4342 manipulate bits before adding and subtracting TWO52[sx].
4343 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4344 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4345 Likewise.
4346 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4347
09a3453f
DM
43482012-03-13 David S. Miller <davem@davemloft.net>
4349
8e59da90
DM
4350 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4351 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4352 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4353 rtld-global-offsets.h
4354 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4355
2a8ab7f2
DM
4356 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4357 large parameters.
4358
10f62770
DM
4359 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4360
5f0bdb18
DM
4361 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4362 'err' in the ifdef scope in which it is actually used.
4363
09a3453f
DM
4364 * nss/nss_db/db-init.c: Include string.h
4365
b4b2eb5e
DM
43662012-03-12 David S. Miller <davem@davemloft.net>
4367
98bb2f1c
DM
4368 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4369 masking out of the most significant byte of random value used.
4370 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4371 Fix coding style in previous change.
4372
b4b2eb5e
DM
4373 * sysdeps/unix/sysv/linux/kernel-features.h
4374 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4375 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4376 expression.
4377 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4378 later.
4379
6e226b09
DM
43802012-03-11 David S. Miller <davem@davemloft.net>
4381
a1bcbd40
DM
4382 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4383 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4384 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4385 for 'resultvar' otherwise things get truncated on 64-bit.
4386
cb9d6174
DM
4387 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4388 Fix masking out of the most significant byte of random value used.
4389
6e226b09
DM
4390 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4391
058c132d
AS
43922012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4393
4394 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4395
2d2cd515
DM
43962012-03-09 David S. Miller <davem@davemloft.net>
4397
4398 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4399 variables with appropriate CPP guards.
4400 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4401 frame pointer, not the stack pointer. Correct layout comments. Fix test
4402 on resulting framesize and the management of the outregs buffer for pltexit.
4403 Preserve floating point return values across _dl_call_pltexit call.
4404 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4405 framesize and the management of the outregs buffer for pltexit.
4406 Preserve floating point return values across _dl_call_pltexit
4407 call.
4408 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4409 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4410 (print_exit): Fix format string for return register value.
4411
9a07f9d0
JM
44122012-03-10 Joseph Myers <joseph@codesourcery.com>
4413
4414 * sunrpc/Makefile (others): Add rpcgen.
4415 ($(objpfx)rpcgen): Remove special build rule and dependency on
4416 libc.
4417 * sunrpc/rpcgen.c: New file.
4418
547b5e30
PE
44192012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4420
c524201a
PE
4421 [BZ #13673]
4422 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4423 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4424 * sysdeps/i386/crti.S: Likewise.
4425 * sysdeps/i386/crtn.S: Likewise.
4426 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4427 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4428 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4429 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4430 * sysdeps/sh/crti.S: Likewise.
4431 * sysdeps/sh/crtn.S: Likewise.
4432 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4433
7b6235f2
PE
4434 [BZ #13673]
4435 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4436 with URL.
4437 * locale/programs/locfile-kw.gperf: Likewise.
4438 * locale/programs/charmap-kw.h: Regenerated.
4439 * locale/programs/locfile-kw.h: Likewise.
4440
547b5e30
PE
4441 [BZ #13673]
4442 * intl/plural.y: Replace FSF snail mail address with URL.
4443 * intl/plural.c: Regenerated.
4444
5f0a5dae
RH
44452012-03-09 Richard Henderson <rth@twiddle.net>
4446
4447 * include/math_private.h: Remove file.
4448 * math/math_private.h: Move file ...
4449 * sysdeps/generic/math_private.h: ... here.
4450
b8c03620
RH
4451 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4452 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4453 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4454
4e234f5d 4455 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4456 and <math_private.h>.
4457 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4458 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4459 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4460 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4461 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4465 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4466 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4467 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4468 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4470 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4545 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4546 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4547 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4548 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4549 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4550 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4551 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4552 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4553 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4554 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4555 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4556 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4557 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4558 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4559 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4560 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4561 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4562 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4563 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4564 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4565 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4566 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4567 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4568 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4569 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4570 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4571 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4573 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4574 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4576 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4577 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4580 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4585 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4586 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4593 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4594 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4595 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4596 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4597 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4598 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4606 * sysdeps/ieee754/k_standard.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4609 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4611 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4612 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4722 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4727 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4729 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4741 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4767 * sysdeps/ieee754/s_lib_version.c: Likewise.
4768 * sysdeps/ieee754/s_matherr.c: Likewise.
4769 * sysdeps/ieee754/s_signgam.c: Likewise.
4770 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4771 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4772 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4773 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4774 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4775 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4776 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4777 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4778 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4779 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4780 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4781 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4782 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4783 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4784 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4785 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4786 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4787 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4788 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4789 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4791
1991fa03
JM
47922012-03-09 Joseph Myers <joseph@codesourcery.com>
4793
4794 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4795 * sunrpc/rpc_main.c: Likewise.
4796 * sunrpc/rpc_svcout.c: Likewise.
4797
60d6f5a6
DM
47982012-03-09 David S. Miller <davem@davemloft.net>
4799
4800 * include/math_private.h: New file.
4801
4962050e
JM
48022012-03-09 Joseph Myers <joseph@codesourcery.com>
4803
02a6f887
JM
4804 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4805 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4806 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4807 from <bits/socket_type.h>.
4808 (enum __socket_type): Don't define here.
4809 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4810 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4811 bits/socket_type.h.
4812
c6e013c1
JM
4813 [BZ #13566]
4814 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4815 checking __USE_GNU.
4816
4962050e
JM
4817 * Makerules ($(inst_includedir)/%.h): New rule.
4818 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4819 (install-others): Remove variable setting.
4820 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4821
38842f45
RH
48222012-03-08 Richard Henderson <rth@twiddle.net>
4823
67bb6da6
RH
4824 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4825 from macro to inline function; merge with the
4826 !__LIBC_INTERNAL_MATH_INLINES version.
4827 (__ieee754_sqrtf): Likewise.
4828
15194b4b
RH
4829 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4830 to inline function.
4831 (__rintf, __floor, __floorf): Likewise.
4832
64e21ede
RH
4833 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4834 macro to inline function.
4835 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4836
38842f45
RH
4837 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4838 not <math/math_private.h>.
4839
c64bf5fe
DM
48402012-03-08 David S. Miller <davem@davemloft.net>
4841
4842 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4843 copyright year.
4844 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4845
82d86f28
TS
48462012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4847
4848 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4849 normalization.
4850 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4851 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4852
aea5d727
UD
48532012-03-08 Ulrich Drepper <drepper@gmail.com>
4854
4855 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4856 be defined individually, they must be defined as a block. Define
4857 S for printing a string instead of hidint the different by using a
4858 macro for adding the 'l'.
4859 * stdio-common/tst-fphex-wide.c: Adjust.
4860
70bca0a3
MP
48612012-03-07 Marek Polacek <polacek@redhat.com>
4862
4863 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4864
65b81130
MP
48652012-03-08 Marek Polacek <polacek@redhat.com>
4866
4867 [BZ #13806]
4868 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4869 * stdio-common/tst-fphex.c: Define a few macros to make the
4870 test reusable. Use them.
4871 * stdio-common/tst-fphex-wide.c: New file.
4872
07037eeb
JM
48732012-03-08 Joseph Myers <joseph@codesourcery.com>
4874
a7a93d50
JM
4875 [BZ #6911]
4876 * manual/macros.texi (gnusystems): New macro.
4877 (nongnusystems): Likewise.
4878 (gnulinuxhurdsystems): Likewise.
4879 (gnuhurdsystems): Likewise..
4880 (gnulinuxsystems): Likewise.
4881 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4882 variants of the GNU system, not "GNU system".
4883 * manual/conf.texi: Likewise.
4884 * manual/errno.texi: Likewise. Update example of errno macro
4885 expansion.
4886 * manual/filesys.texi: Likewise.
4887 (getumask): Document as specific to GNU/Hurd.
4888 * manual/install.texi: Likewise. Reword some references to
4889 GNU/Linux.
4890 * manual/intro.texi: Likewise.
4891 * manual/io.texi: Likewise.
4892 (File Name Portability): Detail which constraints are inapplicable
4893 to all GNU systems and which are only inapplicable to GNU/Hurd.
4894 * manual/job.texi: Likewise.
4895 * manual/llio.texi: Likewise.
4896 (O_NOCTTY): Document as present on GNU/Linux.
4897 * manual/maint.texi: Likewise.
4898 * manual/memory.texi: Likewise.
4899 * manual/pattern.texi: Likewise.
4900 * manual/pipe.texi: Likewise.
4901 * manual/process.texi: Likewise.
4902 * manual/resource.texi: Likewise.
4903 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4904 child on GNU/Hurd.
4905 * manual/setjmp.texi: Likewise.
4906 * manual/signal.texi: Likewise.
4907 * manual/startup.texi: Likewise.
4908 * manual/stdio.texi: Likewise.
4909 * manual/terminal.texi: Likewise.
4910 (ONLCR): Document as POSIX.
4911 (OXTABS): Document availability on GNU/Linux as XTABS.
4912 (ONOEOT): Document availability separately from other bits.
4913 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4914 * manual/time.texi: Likewise.
4915 * manual/users.texi: Likewise.
4916 * INSTALL: Regenerated.
4917 * sysdeps/gnu/errlist.c: Regenerated.
4918
07037eeb
JM
4919 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4920 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4921 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4922 puts.
4923 * configure: Regenerated.
4924
d1d3431a
JM
49252012-03-07 Joseph Myers <joseph@codesourcery.com>
4926
af6a1e37
JM
4927 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4928 default includes instead of AC_HEADER_CHECK.
4929 * sysdeps/i386/configure: Regenerated.
4930
d1d3431a
JM
4931 [BZ #10716]
4932 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4933 * math/s_cacoshf.c (__cacoshf): Likewise.
4934 * math/s_cacoshl.c (__cacoshl): Likewise.
4935 * math/s_casinh.c (__casinh): Set signs of result from argument.
4936 * math/s_casinhf.c (__casinhf): Likewise.
4937 * math/s_casinhl.c (__casinhl): Likewise.
4938 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4939 (casinh_test): Add more tests.
4940 * sysdeps/i386/fpu/libm-test-ulps: Update.
4941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4942
482ff4da
UD
49432012-03-07 Ulrich Drepper <drepper@gmail.com>
4944
872fda05
UD
4945 * po/zh_TW.po: Update from translation team.
4946
a4300c7a
UD
4947 * login/Makefile (distribute): Remove variable.
4948 * catgets/Makefile: Likewise.
4949 * mach/Makefile: Likewise.
4950 * malloc/Makefile: Likewise.
4951 * misc/Makefile: Likewise.
4952 * iconv/Makefile: Likewise.
4953 * nscd/Makefile: Likewise.
4954 * hurd/Makefile: Likewise.
4955 * manual/Makefile: Likewise.
4956 * locale/Makefile: Likewise.
4957 * intl/Makefile: Likewise.
4958 * conform/Makefile: Likewise.
4959 * nss/Makefile: Likewise.
4960 * time/Makefile: Likewise.
4961 * soft-fp/Makefile: Likewise.
4962 * dirent/Makefile: Likewise.
4963 * gmon/Makefile: Likewise.
4964 * po/Makefile: Likewise.
4965 * rt/Makefile: Likewise.
4966 * socket/Makefile: Likewise.
4967 * math/Makefile: Likewise.
4968 * signal/Makefile: Likewise.
4969 * debug/Makefile: Likewise.
4970 * elf/Makefile: Likewise.
4971 * timezone/Makefile: Likewise.
4972 * stdlib/Makefile: Likewise.
4973 * iconvdata/Makefile: Likewise.
4974 * sunrpc/Makefile: Likewise.
4975 * io/Makefile: Likewise.
4976 * argp/Makefile: Likewise.
4977 * inet/Makefile: Likewise.
4978 * hesiod/Makefile: Likewise.
4979 * grp/Makefile: Likewise.
4980 * csu/Makefile: Likewise.
4981 * wctype/Makefile: Likewise.
4982 * crypt/Makefile: Likewise.
4983 * libio/Makefile: Likewise.
4984 * string/Makefile: Likewise.
4985 * nis/Makefile: Likewise.
4986 * resolv/Makefile: Likewise.
4987 * stdio-common/Makefile: Likewise.
4988 * wcsmbs/Makefile: Likewise.
4989 * dlfcn/Makefile: Likewise.
4990 * posix/Makefile: Likewise.
4991
3b7c4e74 4992 [BZ #6959]
482ff4da
UD
4993 * timezone/Makefile: Don't install timezone files, just the programs
4994 and scripts.
4995
f72ed77d
UD
49962012-03-06 Ulrich Drepper <drepper@gmail.com>
4997
a000466f
UD
4998 * nss/databases.def: Add missing gshadow entry.
4999
f72ed77d
UD
5000 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5001
a53b7a4e
MP
50022012-03-06 Marek Polacek <polacek@redhat.com>
5003
5004 [BZ #13726]
5005 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5006 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5007 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5008 * stdio-common/tst-long-dbl-fphex.c: New file.
5009
e9258400
DM
50102012-03-06 David S. Miller <davem@davemloft.net>
5011
5012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5013 (set_obp_int): New function.
5014 (get_obp_int): New function.
5015 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5016 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5017 Avoid unused variable warnings on 'val' and use builtin_expect.
5018 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5019 __builtin_expect.
e9258400
DM
5020 (INLINE_CLONE_SYSCALL): Likewise.
5021
3bd2c723
DM
50222012-03-05 David S. Miller <davem@davemloft.net>
5023
5024 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5025
bbb78d03
AS
50262012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5027
884c5db4
AS
5028 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5029
bbb78d03
AS
5030 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5031 only for |x| >= 40.
5032 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5033
1c9f702a 50342012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5035
5036 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5037 Replace gettimeofday with __vdso_gettimeofday.
5038
7be16f82
RM
5039 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5040 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5041 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5042
5043 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5044 time with __vdso_time.
5045
ed58a00f
JM
50462012-03-05 Joseph Myers <joseph@codesourcery.com>
5047
5048 * manual/lang.texi (size_t): Note types to which size_t may be
5049 equivalent with the GNU C Library, but do not describe when
5050 differences between them are significant.
5051
30ee4ced
AJ
50522012-03-05 Andreas Jaeger <aj@suse.de>
5053
5054 * sysdeps/i386/fpu/libm-test-ulps: Update.
5055
b7cd39e8
JM
50562012-03-05 Joseph Myers <joseph@codesourcery.com>
5057
5058 [BZ #3976]
5059 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5060 (__ieee754_pow): Save and restore rounding mode and use
5061 round-to-nearest for main computations.
5062 * math/libm-test.inc (pow_test_tonearest): New function.
5063 (pow_test_towardzero): Likewise.
5064 (pow_test_downward): Likewise.
5065 (pow_test_upward): Likewise.
5066 (main): Call the new functions.
5067 * sysdeps/i386/fpu/libm-test-ulps: Update.
5068 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5069
5070 [BZ #3976]
5071 * math/libm-test.inc (cosh_test_tonearest): New function.
5072 (cosh_test_towardzero): Likewise.
5073 (cosh_test_downward): Likewise.
5074 (cosh_test_upward): Likewise.
5075 (sinh_test_tonearest): Likewise.
5076 (sinh_test_towardzero): Likewise.
5077 (sinh_test_downward): Likewise.
5078 (sinh_test_upward): Likewise.
5079 (main): Call the new functions.
5080 * sysdeps/i386/fpu/libm-test-ulps: Update.
5081 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5082
6c6a98c9
TV
50832012-03-05 Tom de Vries <tom@codesourcery.com>
5084
5085 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5086 default stack guard is set in last bytes.
5087 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5088
21bb2d2e 50892012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5090
21bb2d2e 5091 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5092
21bb2d2e
AJ
5093 [BZ #13656]
5094 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5095 possibly allocate from heap instead of stack.
5096 * stdio-common/bug-vfprintf-nargs.c: New file.
5097 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5098
c6922934
AS
50992012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5100
5101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5102
bc957d53
MP
51032012-03-03 Marek Polacek <polacek@redhat.com>
5104
5105 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5106 * math/math_private.h: Likewise.
5107 * stdlib/tst-strtod.c: Likewise.
5108 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5109 * sysdeps/x86_64/bits/atomic.h: Likewise.
5110
6358490d
DM
51112012-03-02 David S. Miller <davem@davemloft.net>
5112
5113 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5114 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5115 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5116 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5117 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5118 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5119 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5120 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5121
01ae168d
RM
51222012-03-02 Roland McGrath <roland@hack.frob.com>
5123
d9a17c07
RM
5124 [BZ #13792]
5125 * manual/examples/README: New file, says the example source files
5126 can be used under GPL>=2.
5127 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5128 line containing just "*/".
5129 * manual/examples/add.c: Add copyright header (GPL>=2).
5130 * manual/examples/argp-ex1.c: Likewise.
5131 * manual/examples/argp-ex2.c: Likewise.
5132 * manual/examples/argp-ex3.c: Likewise.
5133 * manual/examples/argp-ex4.c: Likewise.
5134 * manual/examples/atexit.c: Likewise.
5135 * manual/examples/db.c: Likewise.
5136 * manual/examples/dir.c: Likewise.
5137 * manual/examples/dir2.c: Likewise.
5138 * manual/examples/execinfo.c: Likewise.
5139 * manual/examples/filecli.c: Likewise.
5140 * manual/examples/filesrv.c: Likewise.
5141 * manual/examples/fmtmsgexpl.c: Likewise.
5142 * manual/examples/genpass.c: Likewise.
5143 * manual/examples/inetcli.c: Likewise.
5144 * manual/examples/inetsrv.c: Likewise.
5145 * manual/examples/isockad.c: Likewise.
5146 * manual/examples/longopt.c: Likewise.
5147 * manual/examples/memopen.c: Likewise.
5148 * manual/examples/memstrm.c: Likewise.
5149 * manual/examples/mkfsock.c: Likewise.
5150 * manual/examples/mkisock.c: Likewise.
5151 * manual/examples/mygetpass.c: Likewise.
5152 * manual/examples/pipe.c: Likewise.
5153 * manual/examples/popen.c: Likewise.
5154 * manual/examples/rprintf.c: Likewise.
5155 * manual/examples/search.c: Likewise.
5156 * manual/examples/select.c: Likewise.
5157 * manual/examples/setjmp.c: Likewise.
5158 * manual/examples/sigh1.c: Likewise.
5159 * manual/examples/sigusr.c: Likewise.
5160 * manual/examples/stpcpy.c: Likewise.
5161 * manual/examples/strdupa.c: Likewise.
5162 * manual/examples/strftim.c: Likewise.
5163 * manual/examples/strncat.c: Likewise.
5164 * manual/examples/subopt.c: Likewise.
5165 * manual/examples/swapcontext.c: Likewise.
5166 * manual/examples/termios.c: Likewise.
5167 * manual/examples/testopt.c: Likewise.
5168 * manual/examples/testpass.c: Likewise.
5169 * manual/examples/timeval_subtract.c: Likewise.
5170
01ae168d
RM
5171 [BZ #13792]
5172 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5173 function to ...
5174 * manual/timeval_subtract.c.texi: ... here, new file.
5175
49efa33d
DM
51762012-03-02 David S. Miller <davem@davemloft.net>
5177
5178 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5179
28afd92d
JM
51802012-03-02 Joseph Myers <joseph@codesourcery.com>
5181
804360ed
JM
5182 [BZ #3976]
5183 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5184 (__sin): Save and restore rounding mode and use round-to-nearest
5185 for all computations.
5186 (__cos): Save and restore rounding mode and use round-to-nearest
5187 for all computations.
5188 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5189 <fenv.h>.
5190 (tan): Save and restore rounding mode and use round-to-nearest for
5191 all computations.
5192 * math/libm-test.inc (cos_test_tonearest): New function.
5193 (cos_test_towardzero): Likewise.
5194 (cos_test_downward): Likewise.
5195 (cos_test_upward): Likewise.
5196 (sin_test_tonearest): Likewise.
5197 (sin_test_towardzero): Likewise.
5198 (sin_test_downward): Likewise.
5199 (sin_test_upward): Likewise.
5200 (tan_test_tonearest): Likewise.
5201 (tan_test_towardzero): Likewise.
5202 (tan_test_downward): Likewise.
5203 (tan_test_upward): Likewise.
5204 (main): Call the new functions.
5205 * sysdeps/i386/fpu/libm-test-ulps: Update.
5206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5207
a6d06d7b
JM
5208 [BZ #10135]
5209 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5210 small n, then large n, before computing and testing k+n.
5211 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5213 Likewise.
5214 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5215 Likewise.
5216 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5217 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5220 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5221 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5222 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5224 * math/libm-test.inc (scalbn_test): Add more tests.
5225 (scalbln_test): Likewise.
5226
07e12bb3
JM
5227 * manual/filesys.texi (mode_t): Describe constraints on size and
5228 signedness, not exact equivalence to a particular type.
5229 (ino_t): Likewise.
5230 (ino64_t): Likewise.
5231 (dev_t): Likewise.
5232 (nlink_t): Likewise.
5233 (blkcnt_t): Likewise.
5234 (blkcnt64_t): Likewise.
5235 * manual/llio.texi (off_t): Likewise.
5236
28afd92d
JM
5237 [BZ #3976]
5238 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5239 (__ieee754_exp): Save and restore rounding mode and use
5240 round-to-nearest for all computations.
5241 * math/libm-test.inc (exp_test_tonearest): New function.
5242 (exp_test_towardzero): Likewise.
5243 (exp_test_downward): Likewise.
5244 (exp_test_upward): Likewise.
5245 (main): Call the new functions.
5246 * sysdeps/i386/fpu/libm-test-ulps: Update.
5247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5248
b1eeb65d
CD
52492012-03-01 Chris Demetriou <cgd@google.com>
5250
5251 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5252 have predictable order.
5253
53362a4b
DM
52542012-03-01 David S. Miller <davem@davemloft.net>
5255
3c969083
DM
5256 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5257
759707de
DM
5258 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5259 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5260 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5261 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5262
dfdb8ff2
DM
5263 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5264 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5265 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5267 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5268 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5269 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5270 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5271 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5272
ead89f96
DM
5273 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5274
7f66bd07
DM
5275 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5276 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5277 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5278
53362a4b
DM
5279 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5280 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5281 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5282 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5283 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5284 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5285 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5286 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5287 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5288 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5289 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5290 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5291 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5292 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5293 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5295 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5296 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5297 * sysdeps/sparc/elf/configure: Regenerated.
5298
7b1902cb
JM
52992012-03-01 Joseph Myers <joseph@codesourcery.com>
5300
bec039bc
JM
5301 * configure.in (AS, LD): Require binutils 2.20 or later.
5302 * configure: Regenerated.
5303 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5304 as required minimum version.
5305 * INSTALL: Regenerated.
5306
7b1902cb
JM
5307 [BZ #2541]
5308 [BZ #4108]
5309 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5310 before squaring exponent.
5311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5312 bottom long double and 27 bits of top long double before squaring
5313 exponent.
5314 * math/libm-test.inc (erfc_test): Add more tests.
5315 * sysdeps/i386/fpu/libm-test-ulps: Update.
5316 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
f775c276
KT
53192012-03-01 Kai Tietz <ktietz@redhat.com>
5320
5321 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5322 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5323 containing bit-fields.
5324 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5325 * soft-fp/single.h (_FP_UNION_S): Likewise.
5326 * soft-fp/double.h (_FP_UNION_D): Likewise.
5327
5b8a4d4a
JM
53282012-02-29 Joseph Myers <joseph@codesourcery.com>
5329
0bab47b6
JM
5330 [BZ #13786]
5331 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5332 not include ../strcmp.S.
5333 [USE_AS_STRNCASECMP_L]: Likewise.
5334 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5335 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5336 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5337 (__strncasecmp_l_ia32): Define as alias to
5338 __strncasecmp_l_nonascii.
5339
0fcad3e2
JM
5340 [BZ #5794]
5341 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5342 * sysdeps/i386/fpu/libm-test-ulps: Update.
5343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5344
5b8a4d4a
JM
5345 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5347
8fdceb2e
JL
53482012-02-29 Jeff Law <law@redhat.com>
5349
5350 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5351 out of bounds read.
5352
1f393a11
MP
53532012-02-29 Marek Polacek <polacek@redhat.com>
5354
5355 [BZ #13706]
5356 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5357 * elf/Makefile: Add rules to run tst-unused-dep.out.
5358
8847f037
DM
53592012-02-28 David S. Miller <davem@davemloft.net>
5360
5361 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5362 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5363 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5364 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5365 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5366 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5367
169d7f11
JM
53682012-02-29 Joseph Myers <joseph@codesourcery.com>
5369
5370 * math/libm-test.inc (llround_test): Move one test from
5371 lround_test. Use TEST_f_L in moved test.
5372 (lround_test): Move misplaced test to llround_test. Add testcase
5373 from bug 2561.
5374
39adf059
UD
53752012-02-28 Ulrich Drepper <drepper@gmail.com>
5376
5377 * sysdeps/x86_64/fpu/e_expf.S: New file.
5378 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5379
71b5d1c5
SB
53802012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5381
5382 [BZ #13637]
5383 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5384 of remain_len that may cause incomplete multi-byte character and
5385 false match.
5386 * posix/bug-regex33.c: New file.
5387 * posix/Makefile (tests): Add bug-regex33.
5388
1f77f049
JM
53892012-02-28 Joseph Myers <joseph@codesourcery.com>
5390
5391 * manual/macros.texi: New file.
5392 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5393 * manual/libc.texinfo: Include macros.texi.
5394 * manual/creatute.texi: Likewise.
5395 * manual/install.texi: Likewise.
5396 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5397 @glibcadj{} in references to the GNU C Library.
5398 * manual/charset.texi: Likewise.
5399 * manual/conf.texi: Likewise.
5400 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5401 when not using those macros.
5402 * manual/creature.texi: Likewise.
5403 * manual/crypt.texi: Likewise.
5404 * manual/errno.texi: Likewise.
5405 * manual/filesys.texi: Likewise.
5406 * manual/header.texi: Likewise.
5407 * manual/install.texi: Likewise.
5408 * manual/intro.texi: Likewise.
5409 * manual/io.texi: Likewise.
5410 * manual/job.texi: Likewise.
5411 * manual/lang.texi: Likewise.
5412 * manual/libc.texiinfo: Likewise.
5413 * manual/llio.texi: Likewise.
5414 * manual/locale.texi: Likewise.
5415 * manual/maint.texi: Likewise.
5416 * manual/math.texi: Likewise.
5417 * manual/memory.texi: Likewise.
5418 * manual/message.texi: Likewise.
5419 * manual/nss.texi: Likewise.
5420 * manual/pattern.texi: Likewise.
5421 * manual/process.texi: Likewise.
5422 * manual/resource.texi: Likewise.
5423 * manual/search.texi: Likewise.
5424 * manual/setjmp.texi: Likewise.
5425 * manual/signal.texi: Likewise.
5426 * manual/socket.texi: Likewise.
5427 * manual/startup.texi: Likewise.
5428 * manual/stdio.texi: Likewise.
5429 * manual/string.texi: Likewise.
5430 * manual/sysinfo.texi: Likewise.
5431 * manual/syslog.texi: Likewise.
5432 * manual/terminal.texi: Likewise.
5433 * manual/time.texi: Likewise.
5434 * manual/users.texi: Likewise.
5435 * INSTALL: Regenerated.
5436 * NOTES: Regenerated.
d40c5d54 5437 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5438
450bf206
AS
54392012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5440
5441 * include/dirent.h: Include <dirstream.h> before
5442 <dirent/dirent.h>.
5443
741a235b
DM
54442012-02-28 David S. Miller <davem@davemloft.net>
5445
5446 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5447 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5448 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5449 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5450
d6b5aa58
DM
54512012-02-27 David S. Miller <davem@davemloft.net>
5452
1aff59a3
DM
5453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5455 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5456 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5457
d6b5aa58
DM
5458 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5459 frame pointer instead of stack pointer relative arg slot.
5460 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5461 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5462 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5463
433f48bf
CD
54642012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5465
5466 [BZ #3992]
5467 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5468
d674b76d
DM
54692012-02-27 David S. Miller <davem@davemloft.net>
5470
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5473 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5475 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5476 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5477 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5478 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5479
0e7727f7
JM
54802012-02-27 Joseph Myers <joseph@codesourcery.com>
5481
5482 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5483 later. Allow versions 5-9.
43be4ca2 5484 * configure: Regenerated.
0e7727f7
JM
5485 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5486 required minimum version and 4.6 as recommended version. Do not
5487 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5488 * INSTALL: Regenerated.
0e7727f7 5489
a78bc654
DM
54902012-02-27 David S. Miller <davem@davemloft.net>
5491
428d5830
DM
5492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5494 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5496 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5497 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5498 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5499 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5500
a78bc654
DM
5501 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5502 manipulate bits before adding and subtracting TWO112[sx].
5503 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5504
4579f81c
RM
55052012-02-27 Roland McGrath <roland@hack.frob.com>
5506
36c8acb4
RM
5507 [BZ #13775]
5508 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5509 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5510 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5511 being in POSIX, because they are in 1003.1-2008.
5512
84ad622b
RM
5513 * rt/tst-aio.c: Include <fcntl.h>.
5514 * rt/tst-aio7.c: Likewise.
5515 * rt/tst-aio64.c: Likewise.
5516
4579f81c
RM
5517 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5518
abd923db
JM
55192012-02-27 Joseph Myers <joseph@codesourcery.com>
5520
5521 * manual/install.texi (--with-headers): Describe headers as
5522 interface headers, not private headers.
5523 (Specific advice for GNU/Linux systems): Describe use of headers
5524 from "make headers_install", not private headers from older
5525 kernels.
43be4ca2 5526 * INSTALL: Regenerated.
abd923db
JM
5527 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5528 Change to 2.6.19.
5529 * sysdeps/unix/sysv/linux/configure: Regenerated.
5530
6664049b
JM
5531 * manual/llio.texi (fclean): Remove documentation.
5532
bb8b6697
JM
5533 * manual/Makefile (libc-texi-generated): New variable. Include
5534 version.texi.
5535 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5536 $(libc-texi-generated), not duplicated list of files.
5537 (version.texi, stamp-version): New rules.
5538 (realclean): Remove $(libc-texi-generated), not individual files
5539 from that list. Do not remove dir-add.texinfo.
5540 * manual/libc.texinfo: Comment out uses of edition numbers and
5541 references to printed manual. Remove last-updated dates.
5542 (EDITION): Comment out.
5543 (ISBN): Likewise.
5544 (VERSION, UPDATED): Remove.
5545 (version.texi): Include.
5546
12e5c3b9
AS
55472012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5548
5549 * sysdeps/posix/spawni.c: Include <signal.h>.
5550 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5551 * sysdeps/pthread/aio_fsync.c: Likewise.
5552
4efeffc1 55532012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5554
ba63ba08
UD
5555 * conform/Makefile (tests): Run only when not cross-compiling and
5556 when fast-check is not defined.
5557
d94a4670
UD
5558 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5559 * conform/data/limits.h-data: Fixes for POSIX2008.
5560 * conform/run-conformtest.sh: Run all tests.
5561 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5562 headers.
5563 * include/bits/dlfcn.h: Likewise.
5564 * include/langinfo.h: Likewise.
5565 * include/monetary.h: Likewise.
5566 * include/sys/poll.h: Likewise.
5567
5568 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5569 for __USE_GNU.
5570 * posix/spawn.h: Define __need_sigset_t.
5571 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5572 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5573 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5574 to get sigevent_t only.
5575 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5576 only for __USE_GNU.
5577 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5578 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5579 process_vm_writev only for __USE_GNU.
5580 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5581
5582 * conform/Makefile: For now ignore errors from run-conformtest.
5583 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5584 POSIX to avoid namespace pollution. Don't prepend headers.
5585 * conform/data/aio.h-data: Fixes for POSIX testing.
5586 * conform/data/fcntl.h-data: Likewise.
5587 * conform/data/glob.h-data: Likewise.
5588 * conform/data/grp.h-data: Likewise.
5589 * conform/data/pthread.h-data: Likewise.
5590 * conform/data/pwd.h-data: Likewise.
5591 * conform/data/signal.h-data: Likewise.
5592 * conform/data/spawn.h-data: Likewise.
5593 * conform/data/stdio.h-data: Likewise.
5594 * conform/data/stdlib.h-data: Likewise.
5595 * conform/data/stropts.h-data: Likewise.
5596 * conform/data/sys/mman.h-data: Likewise.
5597 * conform/data/sys/stat.h-data: Likewise.
5598 * conform/data/sys/types.h-data: Likewise.
5599 * conform/data/sys/wait.h-data: Likewise.
5600 * conform/data/time.h-data: Likewise.
5601 * conform/data/unistd.h-data: Likewise.
5602 * conform/data/utime.h-data: Likewise.
5603
5604 * io/sys/stat.h: fchmod was always in POSIX.
5605 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5606 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5607 * rt/aio.h: Define __need_timespec before including <time.h>.
5608 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5609 struct. Add forward declaration of pthread_attr_t and use it in
5610 sigevent.
5611 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5612 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5613 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5614 always remove CLK_TCK definition.
5615
c20105c3
AS
56162012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5617
5618 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5619
7a270350
UD
56202012-02-25 Ulrich Drepper <drepper@gmail.com>
5621
31341567
UD
5622 * conform/run-conformtest.sh: New file.
5623 * conform/Makefile: Run run-conformtest for tests.
5624 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5625 support.
5626
5627 * conform/data/uchar.h-data: New file.
5628 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5629 * conform/data/arpa/inet.h-data: Likewise.
5630 * conform/data/assert.h-data: Likewise.
5631 * conform/data/complex.h-data: Likewise.
5632 * conform/data/cpio.h-data: Likewise.
5633 * conform/data/ctype.h-data: Likewise.
5634 * conform/data/dirent.h-data: Likewise.
5635 * conform/data/dlfcn.h-data: Likewise.
5636 * conform/data/errno.h-data: Likewise.
5637 * conform/data/fcntl.h-data: Likewise.
5638 * conform/data/float.h-data: Likewise.
5639 * conform/data/fmtmsg.h-data: Likewise.
5640 * conform/data/fnmatch.h-data: Likewise.
5641 * conform/data/ftw.h-data: Likewise.
5642 * conform/data/glob.h-data: Likewise.
5643 * conform/data/grp.h-data: Likewise.
5644 * conform/data/iconv.h-data: Likewise.
5645 * conform/data/inttypes.h-data: Likewise.
5646 * conform/data/langinfo.h-data: Likewise.
5647 * conform/data/libgen.h-data: Likewise.
5648 * conform/data/limits.h-data: Likewise.
5649 * conform/data/locale.h-data: Likewise.
5650 * conform/data/math.h-data: Likewise.
5651 * conform/data/monetary.h-data: Likewise.
5652 * conform/data/mqueue.h-data: Likewise.
5653 * conform/data/ndbm.h-data: Likewise.
5654 * conform/data/net/if.h-data: Likewise.
5655 * conform/data/netdb.h-data: Likewise.
5656 * conform/data/netinet/in.h-data: Likewise.
5657 * conform/data/nl_types.h-data: Likewise.
5658 * conform/data/poll.h-data: Likewise.
5659 * conform/data/pthread.h-data: Likewise.
5660 * conform/data/pwd.h-data: Likewise.
5661 * conform/data/regex.h-data: Likewise.
5662 * conform/data/sched.h-data: Likewise.
5663 * conform/data/search.h-data: Likewise.
5664 * conform/data/semaphore.h-data: Likewise.
5665 * conform/data/setjmp.h-data: Likewise.
5666 * conform/data/signal.h-data: Likewise.
5667 * conform/data/spawn.h-data: Likewise.
5668 * conform/data/stdarg.h-data: Likewise.
5669 * conform/data/stdio.h-data: Likewise.
5670 * conform/data/stdlib.h-data: Likewise.
5671 * conform/data/string.h-data: Likewise.
5672 * conform/data/strings.h-data: Likewise.
5673 * conform/data/stropts.h-data: Likewise.
5674 * conform/data/sys/ipc.h-data: Likewise.
5675 * conform/data/sys/mman.h-data: Likewise.
5676 * conform/data/sys/msg.h-data: Likewise.
5677 * conform/data/sys/resource.h-data: Likewise.
5678 * conform/data/sys/select.h-data: Likewise.
5679 * conform/data/sys/sem.h-data: Likewise.
5680 * conform/data/sys/shm.h-data: Likewise.
5681 * conform/data/sys/socket.h-data: Likewise.
5682 * conform/data/sys/stat.h-data: Likewise.
5683 * conform/data/sys/statvfs.h-data: Likewise.
5684 * conform/data/sys/time.h-data: Likewise.
5685 * conform/data/sys/timeb.h-data: Likewise.
5686 * conform/data/sys/times.h-data: Likewise.
5687 * conform/data/sys/types.h-data: Likewise.
5688 * conform/data/sys/uio.h-data: Likewise.
5689 * conform/data/sys/un.h-data: Likewise.
5690 * conform/data/sys/utsname.h-data: Likewise.
5691 * conform/data/sys/wait.h-data: Likewise.
5692 * conform/data/syslog.h-data: Likewise.
5693 * conform/data/tar.h-data: Likewise.
5694 * conform/data/termios.h-data: Likewise.
5695 * conform/data/utime.h-data: Likewise.
5696 * conform/data/utmpx.h-data: Likewise.
5697 * conform/data/varargs.h-data: Likewise.
5698 * conform/data/wchar.h-data: Likewise.
5699 * conform/data/wctype.h-data: Likewise.
5700 * conform/data/wordexp.h-data: Likewise.
5701
5702 * include/stropts.h: New file.
5703 * include/uchar.h: New file.
5704 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5705 * include/assert.h: Likewise.
5706 * include/ctype.h: Likewise.
5707 * include/dirent.h: Likewise.
5708 * include/dlfcn.h: Likewise.
5709 * include/fcntl.h: Likewise.
5710 * include/fnmatch.h: Likewise.
5711 * include/glob.h: Likewise.
5712 * include/grp.h: Likewise.
5713 * include/libio.h: Likewise.
5714 * include/locale.h: Likewise.
5715 * include/math.h: Likewise.
5716 * include/net/if.h: Likewise.
5717 * include/netdb.h: Likewise.
5718 * include/netinet/in.h: Likewise.
5719 * include/pthread.h: Likewise.
5720 * include/pwd.h: Likewise.
5721 * include/regex.h: Likewise.
5722 * include/sched.h: Likewise.
5723 * include/search.h: Likewise.
5724 * include/setjmp.h: Likewise.
5725 * include/signal.h: Likewise.
5726 * include/stdio.h: Likewise.
5727 * include/stdlib.h: Likewise.
5728 * include/string.h: Likewise.
5729 * include/sys/cdefs.h: Likewise.
5730 * include/sys/mman.h: Likewise.
5731 * include/sys/msg.h: Likewise.
5732 * include/sys/resource.h: Likewise.
5733 * include/sys/select.h: Likewise.
5734 * include/sys/socket.h: Likewise.
5735 * include/sys/stat.h: Likewise.
5736 * include/sys/statvfs.h: Likewise.
5737 * include/sys/time.h: Likewise.
5738 * include/sys/times.h: Likewise.
5739 * include/sys/uio.h: Likewise.
5740 * include/sys/utsname.h: Likewise.
5741 * include/sys/wait.h: Likewise.
5742 * include/termios.h: Likewise.
5743 * include/time.h: Likewise.
5744 * include/ulimit.h: Likewise.
5745 * include/unistd.h: Likewise.
5746 * include/utime.h: Likewise.
5747 * include/wchar.h: Likewise.
5748 * include/wctype.h: Likewise.
5749 * include/wordexp.h: Likewise.
5750
5751 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5752
7a270350
UD
5753 * time/time.h: TIME_UTC must be a macro.
5754 Make timespec_get available for ISO C11 only as well.
5755
7724defc
UD
57562012-02-24 Ulrich Drepper <drepper@gmail.com>
5757
5758 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5759 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5760
6b1d1d46
JM
57612012-02-24 Joseph Myers <joseph@codesourcery.com>
5762
5763 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5764
0f8bbd69
JM
57652012-02-24 Joseph Myers <joseph@codesourcery.com>
5766
5767 * manual/texinfo.tex: Update to version 2012-01-19.16.
5768
66ab80bc
JM
57692012-02-24 Joseph Myers <joseph@codesourcery.com>
5770
5771 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5772
74981cc5
RM
57732012-02-24 Roland McGrath <roland@hack.frob.com>
5774
ee968201
RM
5775 [BZ #13738]
5776 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5777 * manual/fdl-1.3.texi: New file.
5778 * manual/fdl-1.1.texi: File removed.
5779
74981cc5
RM
5780 [BZ #13738]
5781 * manual/libc.texinfo (FDL_VERSION): New @set.
5782 Use it for mention of FDL in cover text.
5783 (Documentation License): Use it in @include file name.
5784
7bb764bc
JM
57852012-02-22 Joseph Myers <joseph@codesourcery.com>
5786 Roland McGrath <roland@hack.frob.com>
5787
5788 [BZ #5461]
5789 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5790 not LONG_LONG_MAX and LONG_LONG_MIN.
5791 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5792 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5793 name.
5794 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5795
6cbeae47
JM
57962012-02-22 Joseph Myers <joseph@codesourcery.com>
5797
5798 [BZ #2547]
5799 [BZ #11365]
5800 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5801 manipulate bits before adding and subtracting TWO23[sx].
5802 * math/libm-test.inc (nearbyint_test): Add more tests.
5803
fe45ce09
JM
58042012-02-22 Joseph Myers <joseph@codesourcery.com>
5805
5806 [BZ #2548]
5807 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5808 bits before adding and subtracting TWO23[sx].
5809 * math/libm-test.inc (rint_test): Add more tests.
5810 (rint_test_tonearest): Likewise.
5811 (rint_test_towardzero): Likewise.
5812 (rint_test_downward): Likewise.
5813 (rint_test_upward: Likewise.
5814
ff3b3d82
JM
58152012-02-22 Joseph Myers <joseph@codesourcery.com>
5816
5817 [BZ #10110]
5818 * include/stdc-predef.h: New file. Extracted from features.h.
5819 * include/features.h: Include stdc-predef.h.
5820 * Makefile (headers): Add stdc-predef.h.
5821 * CONFORMANCE (Compiler limitations): Update.
5822
ef0aab35
JM
58232012-02-22 Joseph Myers <joseph@codesourcery.com>
5824
5825 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5826
58639409
DM
58272012-02-21 David S. Miller <davem@davemloft.net>
5828
5829 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5830 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5831
c0e70b25
DM
58322012-02-20 David S. Miller <davem@davemloft.net>
5833
5834 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5835 using a normal save/restore sequence, rather than allocating a
5836 dummy stack frame just to store a frame pointer and restore.
5837 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5838
fb06851d
JM
58392012-02-21 Joseph Myers <joseph@codesourcery.com>
5840
5841 * manual/install.texi: Fix stray word in line-wrapped comment.
5842
7a8b71c3
DM
58432012-02-20 David S. Miller <davem@davemloft.net>
5844
d510c123
DM
5845 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5846 both binutils and gcc support GOTDATA.
5847
0722d7c2
DM
5848 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5849 "rd %pc" in the PIC register setup sequences.
5850
3d2b3019
DM
5851 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5852 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5853 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5854 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5855 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5856 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5857 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5858 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5859 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5860 (SYSCALL_ERROR_HANDLER): Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5862 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5863 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5864 (SYSCALL_ERROR_HANDLER): Likewise.
5865
c80098a9
DM
5866 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5867 (HAVE_GCC_GOTDATA): New.
5868 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5869 relocation support in both binutils and gcc.
5870 * sysdeps/sparc/elf/configure: Regenerate.
5871
3a2545a0
DM
5872 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5873 * sysdeps/sparc/sparc32/elf/configure: Delete.
5874 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5875 * sysdeps/sparc/sparc64/elf/configure: Delete.
5876 * sysdeps/sparc/elf/configure.in: New file.
5877 * sysdeps/sparc/elf/configure: Generate.
5878
7a8b71c3
DM
5879 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5880 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5881 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5882 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5883 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5884
f1e86fca
JM
58852012-02-21 Joseph Myers <joseph@codesourcery.com>
5886
5887 * manual/install.texi: Do not mention specific glibc version
5888 numbers.
5889 * manual/libc.texinfo (VERSION, UPDATED): Update.
5890 (@copying): Use @copyright{} and range of years.
5891
0e7dfaef
JM
58922012-02-21 Joseph Myers <joseph@codesourcery.com>
5893
5894 [BZ #13695]
5895 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5896 [crti.S not in sysdirs] (generated): Do not append.
5897 [crti.S not in sysdirs] (omit-deps): Likewise.
5898 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5899 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5900 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5901 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5902 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5903 Likewise.
5904 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5905 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5906 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5907 * csu/defs.awk: Remove file.
5908 * sysdeps/generic/initfini.c: Likewise.
5909 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5910 variable.
5911 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5912 Likewise.
5913
599af3ca
JM
59142012-02-20 Joseph Myers <joseph@codesourcery.com>
5915
5916 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5917 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5918 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5919 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5920 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5921 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5922 <bits/epoll.h>.
5923 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5924 (__EPOLL_PACKED): Define to empty if not defined by
5925 <bits/epoll.h>.
5926 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5927 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5928 bits/epoll.h.
5929
0e499750
JM
59302012-02-20 Joseph Myers <joseph@codesourcery.com>
5931
5932 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5933 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5934 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5935 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5936 <bits/timerfd.h>.
5937 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5939 bits/timerfd.h.
5940
5ad91f6e
JM
59412012-02-20 Joseph Myers <joseph@codesourcery.com>
5942
5943 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5944 in C locale.
5945 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5946 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5947 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5948 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5949
06b99b02
AJ
59502012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5951
5952 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5953 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5954
7638c0fd
AS
59552012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5956
5957 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5958 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5959 defined.
5960 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5961 Likewise.
5962 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5963 entry for 2.16.
5964
92221550
AJ
59652012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5966
5967 * math/w_acos.c: Use non-signaling floating-point comparisons.
5968 * math/w_acosf.c: Likewise.
5969 * math/w_acosh.c: Likewise.
5970 * math/w_acoshf.c: Likewise.
5971 * math/w_acoshl.c: Likewise.
5972 * math/w_acosl.c: Likewise.
5973 * math/w_asin.c: Likewise.
5974 * math/w_asinf.c: Likewise.
5975 * math/w_asinl.c: Likewise.
5976 * math/w_atanh.c: Likewise.
5977 * math/w_atanhf.c: Likewise.
5978 * math/w_atanhl.c: Likewise.
5979 * math/w_exp2.c: Likewise.
5980 * math/w_exp2f.c: Likewise.
5981 * math/w_exp2l.c: Likewise.
5982 * math/w_j0.c: Likewise.
5983 * math/w_j0f.c: Likewise.
5984 * math/w_j0l.c: Likewise.
5985 * math/w_j1.c: Likewise.
5986 * math/w_j1f.c: Likewise.
5987 * math/w_j1l.c: Likewise.
5988 * math/w_jn.c: Likewise.
5989 * math/w_jnf.c: Likewise.
5990 * math/w_log.c: Likewise.
5991 * math/w_log10.c: Likewise.
5992 * math/w_log10f.c: Likewise.
5993 * math/w_log10l.c: Likewise.
5994 * math/w_log2.c: Likewise.
5995 * math/w_log2f.c: Likewise.
5996 * math/w_log2l.c: Likewise.
5997 * math/w_logf.c: Likewise.
5998 * math/w_logl.c: Likewise.
5999 * math/w_sqrt.c: Likewise.
6000 * math/w_sqrtf.c: Likewise.
6001 * math/w_sqrtl.c: Likewise.
6002 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6003 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6004 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6005 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6006 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6007
ebaf36eb
JM
60082012-02-19 Joseph Myers <joseph@codesourcery.com>
6009
6010 [BZ #9739]
6011 * manual/string.texi (strnlen): Use correct parameter name in
6012 equivalent expression.
6013
71c254a6
JM
60142012-02-19 Joseph Myers <joseph@codesourcery.com>
6015
6016 [BZ #11174]
6017 * manual/users.texi (seteuid): Consistently use neweuid for
6018 argument name.
6019
16d2c631
JM
60202012-02-19 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #13704]
6023 * manual/nss.texi (Services in the NSS configuration): Correct
6024 list of services in example configuration file.
6025
cd837b09
NB
60262012-02-19 Nick Bowler <nbowler@draconx.ca>
6027
6028 [BZ #11322]
6029 * manual/arith.texi: Remove statements about negative zero
6030 behaving identically to zero.
6031
02c4bbad
JM
60322012-02-18 Joseph Myers <joseph@codesourcery.com>
6033
6034 [BZ #5993]
6035 * manual/install.texi: Do not document upgrading from libc5.
6036
366842e7
JM
60372012-02-18 Joseph Myers <joseph@codesourcery.com>
6038
6039 [BZ #4596]
6040 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6041
dd54084d
DM
60422012-02-18 David S. Miller <davem@davemloft.net>
6043
6044 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6045 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6046 %o7 across the call.
6047 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6048 instead.
6049 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6050 SETUP_PIC_REG_LEAF.
6051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6052 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6053 * sysdeps/sparc/crtn.S: Likewise.
6054
2bcc53a3
UD
60552012-02-17 Ulrich Drepper <drepper@gmail.com>
6056
6057 * aout/Makefile: Remove.
6058
09c093b5
RK
60592012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6060
6061 [BZ #13058]
6062 * manual/examples/argp-ex1.c (main): Format definition in GNU
6063 style.
6064 * manual/examples/argp-ex2.c (main): Likewise.
6065 * manual/examples/argp-ex3.c (main): Likewise.
6066 * manual/examples/argp-ex4.c (main): Likewise.
6067 * manual/examples/longopt.c (main): Use new-style prototype
6068 definition.
6069 * manual/examples/strncat.c (main): Specify return type and use
6070 (void) for arguments.
6071 * manual/examples/subopt.c (main): Use char **argv argument.
6072
2ee633a2
JM
60732012-02-17 Joseph Myers <joseph@codesourcery.com>
6074
6075 [BZ #5077]
6076 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6077 rounding modes.
6078
0520adde
FB
60792012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6080
6081 [BZ #6907]
6082 * manual/string.texi (strchr): Change when strchrnul is
6083 recommended.
6084
3f4081cd
DGM
60852012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6086
6087 [BZ #174]
6088 * manual/locale.texi (setlocale): Document LOCPATH.
6089
d1b10e78
JM
60902012-02-17 Joseph Myers <joseph@codesourcery.com>
6091
6092 [BZ #10210]
6093 * manual/process.texi (execle): Move @dots{} before last argument.
6094
79c6869c
PB
60952012-02-17 Paul Bolle <pebolle@tiscali.nl>
6096
6097 [BZ #12047]
6098 * manual/charset.texi (Generic Charset Conversion): Fix typo
6099 (LC_TYPE -> LC_CTYPE).
6100
cc6e48bc
NB
61012012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6102
6103 [BZ #5805]
6104 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6105 (scalbnf): Likewise.
6106 (scalbnl): Likewise.
6107 (scalbln): Likewise.
6108 (scalblnf): Likewise.
6109 (scalblnl): Likewise.
6110 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6111 (vwarnx): Likewise.
6112 (verr): Likewise.
6113 (verrx): Likewise.
6114 * manual/filesys.texi (telldir): Use braces around return type.
6115 * manual/llio.texi (mmap): Add space after comma.
6116 (mmap64): Likewise.
6117 * manual/math.texi (jn): Use @var{} on parameter names.
6118 (jnf): Likewise.
6119 (jnl): Likewise.
6120 (yn): Likewise.
6121 (ynf): Likewise.
6122 (ynl): Likewise.
6123 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6124 line.
6125 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6126 "...".
6127 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6128 (sched_get_priority_max): Likewise.
6129 * manual/signal.texi (sigvec): Add space after comma.
6130 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6131 names.
6132 (if_indextoname): Likewise.
6133 (if_freenameindex): Likewise.
6134 (sendto): Use ',' instead of '.' in prototype.
6135 * manual/startup.texi (syscall): Use @dots{} instead of literal
6136 "...".
6137 * manual/stdio.texi (__fpending): Separate initial words of
6138 paragraph from @deftypefun line.
6139 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6140 "...".
6141 (vsyslog): Use @var{} on parameter names.
6142 * manual/terminal.texi (stty): Use @var{} on parameter names.
6143 * manual/users.texi (getutmp): Use @var{} on parameter names.
6144 (getutmpx): Likewise.
6145
5b23062f
JM
61462012-02-17 Joseph Myers <joseph@codesourcery.com>
6147
6148 [BZ #6884]
6149 * manual/stdio.texi (fopen): Fix typos in description of
6150 ",ccs=STRING".
6151
8dee4833
AJ
61522012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6153
6154 [BZ #4026]
6155 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6156 get clock_id definition.
6157
9078ce93
TS
61582012-02-17 Thomas Schwinge <thomas@schwinge.name>
6159
6160 [BZ #4822]
6161 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6162 (madvise): Cast every argument to void on its own.
6163
3835c55f
JM
61642012-02-17 Joseph Myers <joseph@codesourcery.com>
6165
6166 [BZ #9902]
6167 * manual/startup.texi (Exit Status): Fix typo.
6168
35c47e37
JM
61692012-02-17 Joseph Myers <joseph@codesourcery.com>
6170
6171 [BZ #10140]
6172 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6173 * manual/examples/argp-ex2.c: Likewise.
6174 * manual/examples/argp-ex3.c: Likewise.
6175
e3b69ca7
RH
61762012-02-16 Richard Henderson <rth@redhat.com>
6177
6178 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6179 * sysdeps/s390/s390-32/initfini.c: Remove.
6180 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6181 * sysdeps/s390/s390-64/initfini.c: Remove.
6182
df83af67
KK
61832012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6184
6185 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6186 compiler output for sysdeps/generic/initfini.c.
6187 * sysdeps/sh/elf/initfini.c: Remove file.
6188
f63f3380
DM
61892012-02-16 David S. Miller <davem@davemloft.net>
6190
fb59b3a4
DM
6191 [BZ #11494]
6192 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6193
f63f3380
DM
6194 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6195 * sysdeps/sparc/crti.S: New file.
6196 * sysdeps/sparc/crtn.S: New file.
6197 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6198 * sysdeps/sparc/sparc64/Makefile: Likewise.
6199
df6a4a4a
MF
62002012-02-15 Mike Frysinger <vapier@gentoo.org>
6201
6dd8f3dc 6202 [BZ #3335]
df6a4a4a
MF
6203 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6204
1cac7236
RM
62052012-02-15 Roland McGrath <roland@hack.frob.com>
6206
d2c736f8
RM
6207 [BZ #4822]
6208 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6209
1cac7236
RM
6210 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6211 (write, read, close): Likewise.
6212 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6213
8e475601
JM
62142012-02-15 Joseph Myers <joseph@codesourcery.com>
6215
6216 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6217 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6218 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6219 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6220 <bits/signalfd.h>.
6221 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6222 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6223 bits/signalfd.h.
6224
ed656b40
MP
62252012-02-14 Marek Polacek <polacek@redhat.com>
6226
6227 * sysdeps/x86_64/crti.S: New file.
6228 * sysdeps/x86_64/crtn.S: New file.
6229 * sysdeps/x86_64/elf/initfini.c: Remove file.
6230
2a979d3a
JM
62312012-02-13 Joseph Myers <joseph@codesourcery.com>
6232
6233 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6234 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6235 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6236 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6237 <bits/inotify.h>.
6238 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6240 bits/inotify.h.
6241
2a418ac3
JM
62422012-02-13 Joseph Myers <joseph@codesourcery.com>
6243
6244 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6245 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6246 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6247 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6248 <bits/eventfd.h>.
6249 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6251 bits/eventfd.h.
6252
fb779be7
TS
62532012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6254
e19e83c5
RM
6255 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6256 __feraiseexcept instead of feraiseexcept.
7c35ffed 6257
fb779be7
TS
6258 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6259 nanosleep invocations.
6260 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6261 strings, and add error checking for a nanosleep invocations.
6262
59ba27a6
PE
62632012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6264
6265 Replace FSF snail mail address with URLs, as per GNU coding standards.
6266 Most of the snail mail addresses were wrong anyway, and omitting
6267 them makes the source code easier to maintain. Almost all of the
6268 changes are to license notices and to locale LC_IDENTIFICATION
6269 addresses, except for this one:
6270 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6271 not its snail mail address.
6272
57b957eb
RH
62732012-02-09 Richard Henderson <rth@twiddle.net>
6274
af850b1c
RH
6275 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6276 of kernel-features.h.
6277
57b957eb
RH
6278 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6279
6b73181a
MP
62802012-02-08 Marek Polacek <polacek@redhat.com>
6281
6282 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6283 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6284 * sysdeps/gnu/_G_config.h: Likewise.
6285 * sysdeps/generic/_G_config.h: Likewise.
6286
26ecc33a
AS
62872012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6288
6c6dbc63
AS
6289 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6290 tests.
6291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6292
e216c012
AS
6293 * sysdeps/powerpc/powerpc32/crti.S: New file.
6294 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6295 * sysdeps/powerpc/powerpc64/crti.S: New file.
6296 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6297
26ecc33a
AS
6298 * Makeconfig (have-initfini): Don't set.
6299 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6300 * configure.in (nopic_initfini): Don't substitute.
6301 * config.h.in (HAVE_INITFINI): Don't #undef.
6302 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6303 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6304
3add8e13
JM
63052012-02-08 Joseph Myers <joseph@codesourcery.com>
6306
6307 Support crti.S and crtn.S provided directly by architectures.
6308 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6309 [crti.S in sysdirs] (omit-deps): Likewise.
6310 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6311 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6312 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6313 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6314 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6315 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6316 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6317 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6318 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6319 compiler output for sysdeps/generic/initfini.c.
6320 * sysdeps/i386/elf/Makefile: Remove file.
6321 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6322
a22f12b4
MP
63232012-02-07 Marek Polacek <polacek@redhat.com>
6324
6325 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6326 * sysdeps/gnu/_G_config.h: Likewise.
6327 * sysdeps/mach/hurd/_G_config.h: Likewise.
6328
148cf100
MP
63292012-02-07 Marek Polacek <polacek@redhat.com>
6330
6331 * math/Makefile (tests): Add tst-CMPLX2.
6332 * math/tst-CMPLX2.c: New file.
6333
cfdc0dd7
AS
63342012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6335
84ba42c4
AS
6336 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6337
cfdc0dd7
AS
6338 * math/libm-test.inc (jn_test): Add missing L suffix.
6339
622c86f4
MP
63402012-02-06 Marek Polacek <polacek@redhat.com>
6341
6342 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6343 * sysdeps/i386/fpu/e_powf.S: Likewise.
6344 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6345 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6346 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6347 * sysdeps/i386/fpu/e_pow.S: Likewise.
6348 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6349 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6350 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6351 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6352 * sysdeps/i386/fpu/e_log2.S: Likewise.
6353 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6354 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6355 * sysdeps/i386/fpu/e_powl.S: Likewise.
6356 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6358 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6359 * sysdeps/i386/fpu/e_logl.S: Likewise.
6360 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6361 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6362 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6363 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6364 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6365 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6366 * sysdeps/i386/fpu/e_log.S: Likewise.
6367 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6368 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6369 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6370 * sysdeps/i386/fpu/e_logf.S: Likewise.
6371 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6372 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6373 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6374 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6375 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6376 * sysdeps/i386/fpu/e_log10.S: Likewise.
6377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6382 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6383 * sysdeps/i386/asm-syntax.h: Likewise.
6384 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6385 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6386 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6387 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6388 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6389 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6390 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6391 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6392 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6393 * sysdeps/powerpc/sysdep.h: Likewise.
6394 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6395 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6396
d4a54ac6
JM
63972012-02-06 Joseph Myers <joseph@codesourcery.com>
6398
6399 [BZ #411]
6400 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6401
314054ea
JM
64022012-02-06 Joseph Myers <joseph@codesourcery.com>
6403
6404 * sysdeps/i386/sysdep.h: Include <features.h>.
6405 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6406 version.
6407
d8e0ca50
JM
64082012-02-05 Joseph Myers <joseph@codesourcery.com>
6409
6410 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6411 Define.
6412 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6413 LOAD_PIC_REG_STR.
6414
b1da7dd9
JM
64152012-02-03 Joseph Myers <joseph@codesourcery.com>
6416
6417 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6418 (SETUP_PIC_REG): Use GET_PC_THUNK.
6419 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6420 macro.
6421
9a1d9254
JM
64222012-02-03 Joseph Myers <joseph@codesourcery.com>
6423
6424 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6425 for non-PIC compilation.
6426 (SETUP_PIC_REG): Add .p2align directive.
6427 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6428 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6429 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6430 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6432 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6433 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6434 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6435 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6436 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6437 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6438 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6439 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6440 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6442 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6443 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6444 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6445 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6468
65dc3b75
JM
64692012-02-03 Joseph Myers <joseph@codesourcery.com>
6470
6471 * math/tst-CMPLX.c: Include <stdio.h>.
6472
d55bf177
JM
64732012-01-31 Joseph Myers <joseph@codesourcery.com>
6474
6475 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6476 float.
6477 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6478 * sysdeps/sparc/bits/mathdef.h: Likewise.
6479
69db4f8f
MP
64802012-01-31 Marek Polacek <polacek@redhat.com>
6481
6482 * libio/libio.h: Don't define _PARAMS.
6483 * locale/programs/config.h: Don't define PARAMS.
6484 * stdlib/strtol_l.c: Likewise.
6485 (__strtol_l): Remove PARAMS from the prototype.
6486
41b81892
UD
64872012-01-31 Ulrich Drepper <drepper@gmail.com>
6488
3b49edc0
UD
6489 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6490 names. Just use the correct names. Remove unnecessary wrapper
6491 functions.
6492 * malloc/arena.c: Likewise.
6493 * malloc/hooks.c: Likewise.
6494
41b81892
UD
6495 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6496 ARENA_TEST says not to. Simplify test for creation of a new arena.
6497 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6498
27a25b6e
UD
64992012-01-30 Ulrich Drepper <drepper@gmail.com>
6500
6501 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6502 into tail calls.
6503 (update_get_addr): New function.
6504 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6505 GET_ADDR_MODULE parameter.
6506
c8a89e7d
JM
65072012-01-30 Joseph Myers <joseph@codesourcery.com>
6508
6509 * crypt/cert.c: Remove __STDC__ conditionals.
6510 * crypt/crypt-entry.c: Likewise.
6511 * crypt/crypt_util.c: Likewise.
6512 * libio/filedoalloc.c: Likewise.
6513 * libio/fileops.c: Likewise.
6514 * libio/genops.c: Likewise.
6515 * libio/iofclose.c: Likewise.
6516 * libio/iofdopen.c: Likewise.
6517 * libio/iofopen.c: Likewise.
6518 * libio/iofopen64.c: Likewise.
6519 * libio/iogetdelim.c: Likewise.
6520 * libio/iopopen.c: Likewise.
6521 * libio/obprintf.c: Likewise.
6522 * libio/oldfileops.c: Likewise.
6523 * libio/oldiofclose.c: Likewise.
6524 * libio/oldiofdopen.c: Likewise.
6525 * libio/oldiofopen.c: Likewise.
6526 * libio/oldiopopen.c: Likewise.
6527 * libio/wfiledoalloc.c: Likewise.
6528 * libio/wgenops.c: Likewise.
6529 * locale/programs/xmalloc.c: Likewise.
6530 * misc/syslog.c: Likewise.
6531 * stdio-common/xbug.c: Likewise.
6532 * string/memchr.c: Likewise.
6533 * string/memcmp.c: Likewise.
6534 * string/memrchr.c: Likewise.
6535 * string/rawmemchr.c: Likewise.
6536 * sysdeps/posix/getcwd.c: Likewise.
6537 * time/strftime_l.c: Likewise.
6538
3b100462
JM
65392012-01-30 Joseph Myers <joseph@codesourcery.com>
6540
6541 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6542 * config.make.in (config-cflags-sse2avx): Define.
6543 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6544 Fix typo.
6545
607998af
CM
65462012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6547
6548 * scripts/config.guess: Update from upstream config git repository.
6549 * scripts/config.sub: Likewise.
6550
3601428f
CM
65512012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6552
3ac8b282
CM
6553 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6554 (EM_NUM): Update.
6555 (R_TILEPRO_*, R_TILEGX_*): New macros.
6556
e034841e
CM
6557 * scripts/firstversions.awk: Fix bug in version range handling.
6558
540d7568
CM
6559 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6560
3601428f
CM
6561 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6562
463de862
CM
6563 * include/sys/epoll.h: New file.
6564 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6565 libc_hidden_def.
6566
73139a76
UD
65672012-01-28 Ulrich Drepper <drepper@gmail.com>
6568
96bc5b45
UD
6569 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6570 Avoid unnecessary __WORDSIZE == 64 test.
6571 (fmaxf): Use VEX format if possible.
6572 (fmax): Likewise.
6573 (fminf): Likewise.
6574 (fmin): Likewise.
6575
56f6f6a2
UD
6576 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6577 * math/math_private.h: Remove libc_fegetround* and
6578 libc_fesetround*.
6579 * sysdeps/i386/configure.in: Check for -msse2avx.
6580 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6581 also if SSE2AVX is defined.
6582 Remove libc_fegetround* and libc_fesetround*.
6583 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6584 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6585 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6586 of HAS_YMM_USABLE.
6587 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6588 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6589 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6590 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6591 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6592
73139a76
UD
6593 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6594
d73f93a4
AZ
65952012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596
6597 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6598 size is not set.
6599 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6600
6ee65ed6
UD
66012012-01-27 Ulrich Drepper <drepper@gmail.com>
6602
6603 [BZ #13618]
6604 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6605 relocation.
6606 * Makeconfig (libm): Define.
6607 * elf/Makefile: Add rules to build and run tst-relsort1.
6608 * elf/tst-relsort1.c: New file.
6609 * elf/tst-relsort1mod1.c: New file.
6610 * elf/tst-relsort1mod2.c: New file.
6611
8db21882
JM
66122012-01-27 Joseph Myers <joseph@codesourcery.com>
6613
6614 * math/s_ldexp.c: Remove __STDC__ conditionals.
6615 * math/s_ldexpf.c: Likewise.
6616 * math/s_ldexpl.c: Likewise.
6617 * math/s_nextafter.c: Likewise.
6618 * math/s_nexttowardf.c: Likewise.
6619 * math/s_significand.c: Likewise.
6620 * math/s_significandf.c: Likewise.
6621 * math/s_significandl.c: Likewise.
6622 * math/w_jnl.c: Likewise.
6623 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6624 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6625 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6626 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6627 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6628 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6629 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6630 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6631 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6632 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6633 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6634 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6635 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6636 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6637 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6638 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6639 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6642 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6643 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6644 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6645 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6646 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6647 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6648 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6649 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6650 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6651 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6652 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6653 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6654 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6655 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6657 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6660 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6663 * sysdeps/ieee754/k_standard.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6725 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6730 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6743 * sysdeps/ieee754/s_matherr.c: Likewise.
6744 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6745 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6746 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6747 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6748
965a54a4
JM
67492012-01-26 Joseph Myers <joseph@codesourcery.com>
6750
6751 * crypt/md5.h: Remove __STDC__ conditionals.
6752 * libio/libioP.h: Likewise.
6753 * locale/programs/config.h: Likewise.
6754 * sysdeps/generic/sysdep.h: Likewise.
6755 * sysdeps/i386/asm-syntax.h: Likewise.
6756 * sysdeps/s390/asm-syntax.h: Likewise.
6757 * sysdeps/unix/sysdep.h: Likewise.
6758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6760
7071ad79
JM
67612012-01-26 Joseph Myers <joseph@codesourcery.com>
6762
6763 * libio/libio.h: Remove __STDC__ conditionals.
6764 * malloc/obstack.h: Likewise.
6765 * math/complex.h: Likewise.
6766 * math/math.h: Likewise.
6767 * sysdeps/generic/_G_config.h: Likewise.
6768 * sysdeps/gnu/_G_config.h: Likewise.
6769 * sysdeps/mach/hurd/_G_config.h: Likewise.
6770 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6771 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6772 * sysdeps/sparc/bits/mathdef.h: Likewise.
6773
afc5ed09
UD
67742012-01-26 Ulrich Drepper <drepper@gmail.com>
6775
6776 [BZ #13583]
6777 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6778 Clean up HAS_* macros.
afc5ed09 6779 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6780 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6781 possible.
6782 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6783 HAS_AVX.
6784 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6785 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6786 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6787 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6788 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6789
bdb6de1d
JM
67902012-01-25 Joseph Myers <joseph@codesourcery.com>
6791
6792 * elf/tst-unique3.cc (gets): Remove declaration.
6793 * elf/tst-unique3lib.cc (gets): Likewise.
6794 * elf/tst-unique3lib2.cc (gets): Likewise.
6795 * elf/tst-unique4.cc (gets): Likewise.
6796
b15549e6
UD
67972012-01-24 Ulrich Drepper <drepper@gmail.com>
6798
6799 * include/stdio.h: Add C++ protection. Add gets declarations and
6800 definitions.
6801 * debug/tst-chk1.c: Don't declare gets here.
6802 * stdio-common/tst-gets.c: Likewise.
6803
a037381f
JM
68042012-01-24 Joseph Myers <joseph@codesourcery.com>
6805
6806 * posix/glob: Remove directory.
6807
f1d4aa75
JM
68082012-01-24 Joseph Myers <joseph@codesourcery.com>
6809
6810 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6811
81c0c964
PT
68122012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6813
6814 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6815 of the non-standard EPFNOSUPPORT.
6816
0ea698ae
ST
68172011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6818
6819 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6820 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6821 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6822
d220b117
UD
68232012-01-21 Ulrich Drepper <drepper@gmail.com>
6824
6825 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6826
3e1aa84e
UD
68272012-01-20 Ulrich Drepper <drepper@gmail.com>
6828
6829 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6830 transient errors.
6831 * nscd/grpcache.c (cache_addgr): Likewise.
6832 * nscd/hstcache.c (cache_addhst): Likewise.
6833 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6834 * nscd/pwdcache.c (cache_addpw): Likewise.
6835 * nscd/servicescache.c (cache_addserv): Likewise.
6836
400aa020
UD
68372012-01-16 Ulrich Drepper <drepper@gmail.com>
6838
d77e7869
UD
6839 * malloc/malloc.c: Various cleanups.
6840 * malloc/hooks.c: Likewise.
6841
400aa020
UD
6842 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6843 * stdlib/bug-fmtmsg1.c: New file.
6844
6845 * stdlib/fmtmsg.c (init): Add missing unlock.
6846 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6847
e0a309cf
MP
68482012-01-12 Marek Polacek <polacek@redhat.com>
6849
6850 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6851 and _GNU_SOURCE.
6852
929d11c7
WS
68532012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6854
6855 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6856 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6857 macro to ensure uniqueness of label name.
6858 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6859 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6860
41d0e869
UD
68612012-01-11 Ulrich Drepper <drepper@gmail.com>
6862
0cc5ed3b
UD
6863 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6864
41d0e869
UD
6865 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6866 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6867 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6869
a47a831a
UD
68702012-01-10 Ulrich Drepper <drepper@gmail.com>
6871
daa891c0
UD
6872 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6873
6874 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6875 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6877
e58ef0f2
UD
6878 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6879
a47a831a 6880 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6881 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6882 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6883 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6884
6885 * math/bits/math-finite.h: Add ldexp support.
6886
a0bfc9c7
MP
68872012-01-10 Marek Polacek <polacek@redhat.com>
6888
6889 * locale/programs/localedef.h (show_archive_content): Add noreturn
6890 attribute.
6891
d6e97a1d
UD
68922012-01-09 Ulrich Drepper <drepper@gmail.com>
6893
6894 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6895
d5835c26
UD
68962012-01-08 Ulrich Drepper <drepper@gmail.com>
6897
e5f484c6
UD
6898 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6899
d5835c26
UD
6900 * io/Makefile (headers): Add bits/poll2.h.
6901
d1f741e9
WS
69022011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6903
6904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6905 typo #include statement.
6906
ec09c1c4
UD
69072012-01-08 Ulrich Drepper <drepper@gmail.com>
6908
6909 * include/sys/cdefs.h: Define __attribute_alloc_size.
6910 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6911 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6912 * elf/pldd.c: Likewise.
6913 * iconv/iconv_charmap.c: Likewise.
6914 * iconv/iconvconfig.c: Likewise.
6915 * iconv/strtab.c: Likewise.
6916 * locale/programs/locale.c: Likewise.
6917 * locale/programs/localedef.h: Likewise.
6918 * locale/programs/simple-hash.c: Likewise.
6919 * nscd/nscd.h: Likewise.
6920 * nss/makedb.c: Likewise.
6921 * sysdeps/generic/ldconfig.h: Likewise.
6922 * locale/programs/localedef.c: Remove xmalloc prototype.
6923 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6924
20b38e03
PP
69252012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6926
6927 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6928 appropriate.
6929
a0da5fe1
UD
69302012-01-08 Ulrich Drepper <drepper@gmail.com>
6931
1d5a644a 6932 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6933 * math/tst-CMPLX.c: New file.
1d5a644a 6934
8784a6db
UD
6935 * math/complex.h (CMPLXL): Fix typo.
6936
d9a216c0
UD
6937 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6938 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6939 GLIBC_2.16.
6940 * debug/tst-chk1.c: Add poll and ppoll tests.
6941 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6942 * include/sys/poll.h: Add hidden proto for ppoll.
6943 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6944 * sysdeps/mach/hurd/ppoll.c: Likewise.
6945 * io/ppoll.c: Likewise.
6946 * debug/poll_chk.c: New file.
6947 * debug/ppoll_chk.c: New file.
6948 * include/bits/poll2.h: New file.
6949 * io/bits/poll2.h: New file.
6950
ac097f5c
UD
6951 [BZ #1350]
6952 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6953
2119dcfa
UD
6954 * configure.in: static is always set to yes. Remove.
6955 * config.make.in: Don't set build-static.
6956 * Makeconfig: Remove use of build-static.
6957 * dlfcn/Makefile: Likewise.
6958 * elf/Makefile: Likewise.
6959 * math/Makefile: Likewise.
6960 * misc/Makefile: Likewise.
6961 * nptl/Makefile: Likewise.
6962 * sysdeps/mach/hurd/Makefile: Likewise.
6963
121766a9
UD
6964 * configure.in: PWD_P is not used anymore.
6965 * config.make.in: Remove PWD_P entry.
6966
51a1d39c 6967 * configure.in: Remove last remnants of RANLIB.
8720d066 6968 No need to check for signed size_t anymore.
215f4bdc
UD
6969 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6970 and IA-64.
3857022a 6971 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6972 * aclocal.m4: Likewise.
6973
d3ed7225
UD
6974 * wcsmbs/mbrtoc16.c: Implement using towc function.
6975 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6976 * wcsmbs/wcsmbsload.c: Likewise.
6977 * iconv/gconv_simple.c: Likewise.
6978 * iconv/gconv_int.h: Likewise.
6979 * iconv/gconv_builtin.h: Likewise.
6980 * iconv/iconv_prog.c: Remove CHAR16 handling.
6981
6982 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6983
6984 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6985
a0da5fe1
UD
6986 * configure.in: Remove --with-elf and --enable-bounded options.
6987 Dont set base_machine for ia64. More non-ELF conditions removed.
6988 Remove testing and setting of leading underscore information.
6989 * config.make.in (build-bounded): Set to no.
6990 * config.h.in: Remove NO_UNDERSCORES entry.
6991 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6992 them.
6993 * csu/start.c: Remove !NO_UNDERSCORE code.
6994 * locale/localeinfo.h: Likewise.
6995 * sysdeps/generic/machine-gmon.h: Likewise.
6996 * sysdeps/generic/sysdep.h: Likewise.
6997 * sysdeps/i386/sysdep.h: Likewise.
6998 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6999 * sysdeps/mach/sysdep.h: Likewise.
7000 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7001 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7002 * sysdeps/sh/sysdep.h: Likewise.
7003 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7004 * sysdeps/unix/i386/sysdep.S: Likewise.
7005 * sysdeps/unix/sparc/start.c: Likewise.
7006 * sysdeps/unix/sparc/sysdep.S: Likewise.
7007 * sysdeps/unix/sparc/sysdep.h: Likewise.
7008 * sysdeps/unix/start.c: Likewise.
7009 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7010 * sysdeps/x86_64/sysdep.h: Likewise.
7011
df78418a
UD
70122012-01-07 Ulrich Drepper <drepper@gmail.com>
7013
a784e502
UD
7014 [BZ #13553]
7015 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7016 for non-gcc.
7017 * argp/argp-fmtstream.h: Use const instead __const.
7018 * argp/argp.h: Likewise.
7019 * assert/assert.h: Likewise.
7020 * bits/fenv.h: Likewise.
7021 * bits/sched.h: Likewise.
7022 * bits/sigset.h: Likewise.
7023 * bits/sigthread.h: Likewise.
7024 * catgets/nl_types.h: Likewise.
7025 * conform/data/pthread.h-data: Likewise.
7026 * crypt/crypt-private.h: Likewise.
7027 * crypt/crypt.h: Likewise.
7028 * crypt/crypt_util.c: Likewise.
7029 * ctype/ctype.h: Likewise.
7030 * debug/execinfo.h: Likewise.
7031 * debug/mbsnrtowcs_chk.c: Likewise.
7032 * debug/mbsrtowcs_chk.c: Likewise.
7033 * debug/wcsnrtombs_chk.c: Likewise.
7034 * debug/wcsrtombs_chk.c: Likewise.
7035 * debug/wcstombs_chk.c: Likewise.
7036 * dirent/dirent.h: Likewise.
7037 * dlfcn/dlfcn.h: Likewise.
7038 * elf/neededtest4.c: Likewise.
7039 * grp/grp.h: Likewise.
7040 * gshadow/gshadow.h: Likewise.
7041 * iconv/gconv.h: Likewise.
7042 * iconv/gconv_int.h: Likewise.
7043 * iconv/gconv_simple.c: Likewise.
7044 * iconv/iconv.h: Likewise.
7045 * iconv/loop.c: Likewise.
7046 * iconv/skeleton.c: Likewise.
7047 * include/aio.h: Likewise.
7048 * include/aliases.h: Likewise.
7049 * include/argz.h: Likewise.
7050 * include/arpa/inet.h: Likewise.
7051 * include/assert.h: Likewise.
7052 * include/dirent.h: Likewise.
7053 * include/dlfcn.h: Likewise.
7054 * include/execinfo.h: Likewise.
7055 * include/fcntl.h: Likewise.
7056 * include/fenv.h: Likewise.
7057 * include/glob.h: Likewise.
7058 * include/grp.h: Likewise.
7059 * include/libintl.h: Likewise.
7060 * include/mntent.h: Likewise.
7061 * include/netdb.h: Likewise.
7062 * include/pwd.h: Likewise.
7063 * include/rpc/netdb.h: Likewise.
7064 * include/sched.h: Likewise.
7065 * include/search.h: Likewise.
7066 * include/shadow.h: Likewise.
7067 * include/signal.h: Likewise.
7068 * include/stdio.h: Likewise.
7069 * include/stdlib.h: Likewise.
7070 * include/string.h: Likewise.
7071 * include/sys/socket.h: Likewise.
7072 * include/sys/stat.h: Likewise.
7073 * include/sys/statfs.h: Likewise.
7074 * include/sys/statvfs.h: Likewise.
7075 * include/sys/syslog.h: Likewise.
7076 * include/sys/time.h: Likewise.
7077 * include/sys/uio.h: Likewise.
7078 * include/time.h: Likewise.
7079 * include/unistd.h: Likewise.
7080 * include/utmp.h: Likewise.
7081 * include/wchar.h: Likewise.
7082 * include/wctype.h: Likewise.
7083 * inet/aliases.h: Likewise.
7084 * inet/arpa/inet.h: Likewise.
7085 * inet/netinet/ether.h: Likewise.
7086 * inet/netinet/in.h: Likewise.
7087 * intl/libintl.h: Likewise.
7088 * io/bits/fcntl2.h: Likewise.
7089 * io/fcntl.h: Likewise.
7090 * io/ftw.h: Likewise.
7091 * io/sys/poll.h: Likewise.
7092 * io/sys/stat.h: Likewise.
7093 * io/sys/statfs.h: Likewise.
7094 * io/sys/statvfs.h: Likewise.
7095 * io/utime.h: Likewise.
7096 * libio/bits/stdio.h: Likewise.
7097 * libio/bits/stdio2.h: Likewise.
7098 * libio/libio.h: Likewise.
7099 * libio/libioP.h: Likewise.
7100 * libio/stdio.h: Likewise.
7101 * locale/lc-ctype.c: Likewise.
7102 * locale/locale.h: Likewise.
7103 * login/utmp.h: Likewise.
7104 * malloc/arena.c: Likewise.
7105 * malloc/malloc.c: Likewise.
7106 * malloc/malloc.h: Likewise.
7107 * malloc/mcheck.c: Likewise.
7108 * malloc/mtrace.c: Likewise.
7109 * math/bits/mathcalls.h: Likewise.
7110 * math/fenv.h: Likewise.
7111 * math/math_private.h: Likewise.
7112 * misc/bits/error.h: Likewise.
7113 * misc/bits/syslog.h: Likewise.
7114 * misc/err.h: Likewise.
7115 * misc/error.h: Likewise.
7116 * misc/fstab.h: Likewise.
7117 * misc/mntent.h: Likewise.
7118 * misc/regexp.h: Likewise.
7119 * misc/search.h: Likewise.
7120 * misc/sgtty.h: Likewise.
7121 * misc/sys/mman.h: Likewise.
7122 * misc/sys/syslog.h: Likewise.
7123 * misc/sys/uio.h: Likewise.
7124 * misc/sys/xattr.h: Likewise.
7125 * misc/ttyent.h: Likewise.
7126 * nis/rpcsvc/ypclnt.h: Likewise.
7127 * nss/nss.h: Likewise.
7128 * posix/bits/unistd.h: Likewise.
7129 * posix/fnmatch.h: Likewise.
7130 * posix/glob.h: Likewise.
7131 * posix/sched.h: Likewise.
7132 * posix/spawn.h: Likewise.
7133 * posix/sys/wait.h: Likewise.
7134 * posix/unistd.h: Likewise.
7135 * posix/wordexp.h: Likewise.
7136 * pwd/pwd.h: Likewise.
7137 * resolv/netdb.h: Likewise.
7138 * resource/sys/resource.h: Likewise.
7139 * rt/aio.h: Likewise.
7140 * rt/bits/mqueue2.h: Likewise.
7141 * rt/mqueue.h: Likewise.
7142 * shadow/shadow.h: Likewise.
7143 * signal/signal.h: Likewise.
7144 * socket/send.c: Likewise.
7145 * socket/sendto.c: Likewise.
7146 * socket/sys/socket.h: Likewise.
7147 * stdio-common/printf.h: Likewise.
7148 * stdlib/bits/stdlib.h: Likewise.
7149 * stdlib/fmtmsg.h: Likewise.
7150 * stdlib/monetary.h: Likewise.
7151 * stdlib/stdlib.h: Likewise.
7152 * stdlib/ucontext.h: Likewise.
7153 * streams/stropts.h: Likewise.
7154 * string/argz.h: Likewise.
7155 * string/bits/string2.h: Likewise.
7156 * string/string.h: Likewise.
7157 * string/strings.h: Likewise.
7158 * sunrpc/rpc/auth.h: Likewise.
7159 * sunrpc/rpc/auth_des.h: Likewise.
7160 * sunrpc/rpc/clnt.h: Likewise.
7161 * sunrpc/rpc/netdb.h: Likewise.
7162 * sunrpc/rpc/pmap_clnt.h: Likewise.
7163 * sunrpc/rpc/xdr.h: Likewise.
7164 * sysdeps/generic/inttypes.h: Likewise.
7165 * sysdeps/generic/net/if.h: Likewise.
7166 * sysdeps/generic/sys/swap.h: Likewise.
7167 * sysdeps/gnu/net/if.h: Likewise.
7168 * sysdeps/gnu/utmpx.h: Likewise.
7169 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7170 * sysdeps/i386/i486/bits/string.h: Likewise.
7171 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7172 * sysdeps/s390/bits/string.h: Likewise.
7173 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7174 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7175 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7176 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7177 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7178 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7179 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7180 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7181 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7182 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7183 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7184 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7185 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7186 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7187 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7188 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7189 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7190 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7191 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7192 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7193 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7194 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7195 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7196 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7197 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7198 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7199 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7200 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7201 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7202 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7203 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7204 * sysvipc/sys/ipc.h: Likewise.
7205 * sysvipc/sys/msg.h: Likewise.
7206 * sysvipc/sys/sem.h: Likewise.
7207 * sysvipc/sys/shm.h: Likewise.
7208 * termios/termios.h: Likewise.
7209 * time/sys/time.h: Likewise.
7210 * time/time.h: Likewise.
7211 * wcsmbs/bits/wchar2.h: Likewise.
7212 * wcsmbs/uchar.h: Likewise.
7213 * wcsmbs/wchar.h: Likewise.
7214 * wctype/wctype.h: Likewise.
7215
0269750c
UD
7216 [BZ #13551]
7217 * Makeconfig: Remove all but ELF support including AIX support.
7218 * Makerules: Likewise.
7219 * config.h.in: Likewise.
7220 * config.make.in: Likewise.
7221 * configure: Likewise.
7222 * configure.in: Likewise.
7223 * csu/Makefile: Likewise.
7224 * csu/version.c: Likewise.
7225 * debug/Makefile: Likewise.
7226 * dlfcn/Makefile: Likewise.
7227 * elf/Makefile: Likewise.
7228 * extra-lib.mk: Likewise.
7229 * iconv/Makefile: Likewise.
7230 * include/libc-symbols.h: Likewise.
7231 * include/shlib-compat.h: Likewise.
7232 * resolv/Makefile: Likewise.
7233 * resolv/res_libc.c: Likewise.
7234 * rt/Makefile: Likewise.
7235 * sysdeps/i386/asm-syntax.h: Likewise.
7236 * sysdeps/i386/sysdep.h: Likewise.
7237 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7238 * sysdeps/mach/sysdep.h: Likewise.
7239 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7240 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7241 * sysdeps/s390/asm-syntax.h: Likewise.
7242 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7243 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7244 * sysdeps/sh/sysdep.h: Likewise.
7245 * sysdeps/unix/sparc/sysdep.h: Likewise.
7246 * sysdeps/wordsize-32/divdi3.c: Likewise.
7247 * sysdeps/x86_64/sysdep.h: Likewise.
7248
00bbd29b
UD
7249 * argp/Versions: Remove _argp_unlock_xxx.
7250
7251 [BZ #13559]
7252 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7253 * abilist/libBrokenLocale.abilist: Likewise.
7254 * abilist/libanl.abilist: Likewise.
7255 * abilist/libc.abilist: Likewise.
7256 * abilist/libcrypt.abilist: Likewise.
7257 * abilist/libdl.abilist: Likewise.
7258 * abilist/libm.abilist: Likewise.
7259 * abilist/libnsl.abilist: Likewise.
7260 * abilist/libpthread.abilist: Likewise.
7261 * abilist/libresolv.abilist: Likewise.
7262 * abilist/librt.abilist: Likewise.
7263 * abilist/libthread_db.abilist: Likewise.
7264 * abilist/libutil.abilist: Likewise.
7265 * abilist/libnss_db.abilist: New file.
7266
7267 * scripts/abilist.awk: Add support for indirect functions.
7268
a2693a0e
UD
7269 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7270
3f05895f
UD
7271 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7272
ecb6fb48
UD
7273 * shlib-versions: Remove entries for ports architectures.
7274
664f8cb9
UD
7275 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7276 files in ports.
7277 * elf/stackguard-macros.h: Remove support for IA-64.
7278 * elf/tst-auditmod1.c: Likewise.
7279 * sysdeps/generic/ldsodefs.h: Likewise.
7280
7ae81d88
UD
7281 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7282 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7283 configure files.
7284
bdeba135
UD
7285 [BZ #13552]
7286 * configure.in: Remove --enable-omitfp support.
7287 * FAQ.in: Adjust.
7288 * config.make.in: Likewise.
7289 * Makeconfig: Likewise.
7290 * manual/install.texi: Likewise.
7291
d75a0a62
UD
7292 In case anyone cares, the IA-64 architecture could move to ports.
7293 * sysdeps/ia64/*: Removed.
7294 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7295 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7296
dcc9756b
UD
7297 [BZ #13555]
7298 * configure.in: Remove entries for unsupported architectures.
7299
d3761ebc 7300 [BZ #13533]
9954432e
UD
7301 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7302 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7303 routines.
7304 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7305 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7306 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7307 fall back to using wcrtomb.
7308 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7309 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7310 renaming.
7311 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7312 * wcsmbs/tst-c16c32-1.c: New file.
7313
7314 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7315 local variable.
7316
c3a87236
UD
7317 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7318
28926a1b
UD
7319 * elf/tst-unique3.cc: Add explicit declaration of gets.
7320 * elf/tst-unique3lib.cc: Likewise.
7321 * elf/tst-unique3lib2.cc: Likewise.
7322 * elf/tst-unique4.cc: Likewise.
7323
df78418a
UD
7324 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7325
8ecd6b2a
JM
73262012-01-06 Joseph Myers <joseph@codesourcery.com>
7327
7328 [BZ #13566]
7329 * assert/assert.h (static_assert): Don't define for C++.
7330 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7331 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7332
9f115170
UD
73332012-01-03 Ulrich Drepper <drepper@gmail.com>
7334
5e0d0300
UD
7335 * iconv/loop.c (single loop): Fix assertion in storing of
7336 remaining bytes.
7337
9f115170
UD
7338 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7339
81fb02b0
UD
73402012-01-01 Ulrich Drepper <drepper@gmail.com>
7341
7342 * posix/getconf.c: Update copyright year.
7343 * nss/getent.c: Likewise.
a316c1f6 7344 * nss/makedb.c: Likewise.
81fb02b0
UD
7345 * iconv/iconvconfig.c: Likewise.
7346 * iconv/iconv_prog.c: Likewise.
7347 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7348 * elf/pldd.c: Likewise.
7349 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7350 * catgets/gencat.c: Likewise.
7351 * csu/version.c: Likewise.
7352 * elf/ldd.bash.in: Likewise.
7353 * elf/sprof.c (print_version): Likewise.
7354 * locale/programs/locale.c: Likewise.
7355 * locale/programs/localedef.c: Likewise.
a316c1f6 7356 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7357 * nscd/nscd.c (print_version): Likewise.
7358 * debug/xtrace.sh: Likewise.
7359 * malloc/memusage.sh: Likewise.
7360 * malloc/mtrace.pl: Likewise.
7361 * debug/catchsegv.sh: Likewise.
7362
2ba92745
JJ
73632011-12-30 Jakub Jelinek <jakub@redhat.com>
7364
7365 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7366 pure attribute.
7367
dadebdae
UD
73682011-12-24 Ulrich Drepper <drepper@gmail.com>
7369
d3761ebc 7370 [BZ #13533]
db6af3eb
UD
7371 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7372 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7373 transformations.
7374 * iconv/gconv_int.h: Likewise.
7375 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7376 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7377 from libc for GLIBC_2.16.
7378 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7379 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7380 * wcsmbs/uchar.h: Really define mbstate_t.
7381 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7382 * wcsmbs/c16rtomb.c: New file.
7383 * wcsmbs/mbrtoc16.c: New file.
7384 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7385 for C/POSIX locale.
7386 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7387 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7388
dadebdae
UD
7389 * wcsmbs/wchar.h: Add missing __restrict.
7390
67371b56
UD
73912011-12-23 Ulrich Drepper <drepper@gmail.com>
7392
74033a25
UD
7393 [BZ #13532]
7394 * time/Makefile (routines): Add timespec_get.
7395 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7396 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7397 timespec for ISO C11.
7398 * time/timespec_get.c: New file.
7399 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7400 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7401
380d7e87
UD
7402 [BZ #13531]
7403 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7404 * stdlib/stdlib.h: Declare aligned_alloc.
7405 * Versions.def: Add GLIBC_2.16 for libc.
7406 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7407
4e9e7a35
UD
7408 [BZ 13527]
7409 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7410 ISO C11.
7411
380d7e87 7412 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7413 code.
7414
03a71829
UD
7415 [BZ #13528]
7416 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7417
839e283e
UD
7418 [BZ #13529]
7419 * assert/assert.h (static_assert): Define.
7420
ce5294e2 7421 * version.h: Update for 2.16 development version.
90fa7312 7422
8d44e150 7423 [BZ #13526]
d7809905
UD
7424 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7425 _ISOC11_SOURCE.
7426
c0da14cd
UD
7427 * version.h (RELEASE): Bump for 2.15 release.
7428 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7429
530a3249
MP
7430 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7431 Patch by Marek Polacek <mpolacek@redhat.com>.
7432
67371b56
UD
7433 * bits/byteswap.h: Protect long long constants with __extension__.
7434 * sysdeps/i386/bits/byteswap.h: Likewise.
7435 * sysdeps/ia64/bits/byteswap.h: Likewise.
7436 * sysdeps/s390/bits/byteswap.h: Likewise.
7437 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7438
15db4de1
LD
74392011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7440
7441 [BZ #13540]
bbe315ea
LD
7442 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7443 destination buffer.
15db4de1
LD
7444 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7445
2b2596b1
MP
74462011-12-23 Marek Polacek <polacek@redhat.com>
7447
7448 * elf/dl-addr.c (determine_info): Add inline keyword.
7449 * elf/tst-auditmod4b.c (check_avx): Likewise.
7450 * elf/tst-auditmod6b.c (check_avx): Likewise.
7451 * elf/tst-auditmod6c.c (check_avx): Likewise.
7452 * elf/tst-auditmod7b.c (check_avx): Likewise.
7453
70c6c246
UD
74542011-12-23 Ulrich Drepper <drepper@gmail.com>
7455
7456 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7457 !__SSE_MATH__.
7458
c044cf14
LD
74592011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7460
15db4de1 7461 [BZ #13540]
c044cf14
LD
7462 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7463 processing for last bytes.
7464
6b13d9d9
BH
74652011-08-06 Bruno Haible <bruno@clisp.org>
7466
d455f537
BH
7467 [BZ #13061]
7468 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7469 U+0385, not to U+1FEE.
7470
6b13d9d9
BH
7471 [BZ #13062]
7472 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7473 entry for U+00A5 U+0301.
7474
db910efd
UD
74752011-12-22 Ulrich Drepper <drepper@gmail.com>
7476
27deeafc
UD
7477 [BZ #13166]
7478 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7479 buffer for the output is too small.
7480
aed9d171
UD
7481 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7482 optimization.
7483
db910efd
UD
7484 [BZ #13185]
7485 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7486 SSE flags if possible.
7487
2bd779ae
LD
74882011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7489
e7f9dac3 7490 [BZ #13540]
2bd779ae
LD
7491 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7492 processing for last bytes.
7493
154bfc16
JM
74942011-12-22 Joseph Myers <joseph@codesourcery.com>
7495
7496 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7497 (syscall-list-default-options, syscall-list-default-condition)
7498 (syscall-list-includes): Define.
7499 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7500 list of ABIs and options and #if conditions for each ABI. Do not
7501 handle common syscalls between ABIs specially.
7502 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7503 Remove.
7504 (syscall-list-variants, syscall-list-32bit-options)
7505 (syscall-list-32bit-condition, syscall-list-64bit-options)
7506 (syscall-list-64bit-condition): Define.
7507 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7508 (syscall-list-variants, syscall-list-32bit-options)
7509 (syscall-list-32bit-condition, syscall-list-64bit-options)
7510 (syscall-list-64bit-condition): Define.
7511 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7512 Remove.
7513 (syscall-list-variants, syscall-list-32bit-options)
7514 (syscall-list-32bit-condition, syscall-list-64bit-options)
7515 (syscall-list-64bit-condition): Define.
7516 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7517 Remove.
7518 (syscall-list-variants, syscall-list-32bit-options)
7519 (syscall-list-32bit-condition, syscall-list-64bit-options)
7520 (syscall-list-64bit-condition): Define.
7521
21eaf3a5
UD
75222011-12-22 Ulrich Drepper <drepper@gmail.com>
7523
16c6f992
UD
7524 * locale/iso-639.def: Add brx entry.
7525
41043168
UD
7526 [BZ #13328]
7527 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7528 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7529
21eaf3a5
UD
7530 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7531 __feraiseexcept_renamed.
7532
e3a851a2
UD
75332011-12-21 Ulrich Drepper <drepper@gmail.com>
7534
4920765e
UD
7535 [BZ #13538]
7536 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7537 EPOLLET with unsigned values.
7538 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7540
e3a851a2
UD
7541 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7542 to large cancellation.
7543 * math/s_cacoshf.c: Likewise.
7544 * math/s_cacoshl.c: Likewise.
7545
b27e24b8
RK
75462011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7547
7548 [BZ #13305]
aebefeee 7549 [BZ #12786]
b27e24b8
RK
7550 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7551 * math/s_cacoshf.c: Likewise.
7552 * math/s_cacoshl.c: Likewise.
7553
ee190f67
UD
75542011-12-21 Ulrich Drepper <drepper@gmail.com>
7555
7556 [BZ #13439]
7557 * iconv/gconv.h: Define __GCONV_SWAP.
7558 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7559 * iconvdata/utf-16.c: Likewise.
7560 * iconvdata/utf-32.c: Likewise.
7561
707f25df
AS
75622011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7563
7564 [BZ #13524]
7565 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7566 numerator after shifting it by one limb.
7567
d2daaa1e
RÁE
75682011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7569
7570 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7571 under [__USE_EXTERN_INLINES].
7572
a4647e72
UD
75732011-12-17 Ulrich Drepper <drepper@gmail.com>
7574
7575 [BZ #13446]
7576 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7577
f0b264f1
AZ
75782011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7579
7580 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7581 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7582 optimized code.
7583 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7584 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7585 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7586 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7587 for strncasecmp/strncasecmp_l compilation.
7588 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7589 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7590
8ef4f244
MP
75912011-12-08 Marek Polacek <mpolacek@redhat.com>
7592
7593 [BZ #13484]
7594 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7595 of __asm__.
7596
97ac2654
UD
75972011-12-17 Ulrich Drepper <drepper@gmail.com>
7598
7599 [BZ #13506]
7600 * time/tzfile.c (__tzfile_read): Check values from file header.
7601
91d2a845
WS
76022011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7603
7604 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7605 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7606 * powerpc/powerpc32/dl-start.S: Likewise.
7607 * powerpc/powerpc32/elf/start.S: Likewise.
7608 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7609 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7610 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7611 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7612 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7613 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7614 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7615 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7616 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7617 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7618 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7619 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7620 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7621 * powerpc/powerpc32/memset.S: Likewise.
7622 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7623 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7624 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7625 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7626 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7627 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7628 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7629 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7630 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7631 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7632 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7633 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7634 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7635
a1267ba1
AZ
76362011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7637
7638 * math/libm-test.inc: Added more nearbyint tests.
7639 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7640 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7643
ad8ac1bd
RL
76442011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7645
7646 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7647 FD_CLOEXEC.
7648
1d3e4b61
UD
76492011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7650
7651 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7652 Add wcscpy-ssse3 wcscpy-c.
7653 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7654 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7655 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7656 * sysdeps/x86_64/wcschr.S: New file.
7657 * sysdeps/x86_64/wcsrchr.S: New file.
7658 * string/test-strcmp.c: Remove checking of wcscmp function for
7659 wrong alignments.
7660 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7661 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7662 wcsrchr-sse2 wcsrchr-c.
7663 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7664 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7665 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7666 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7667 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7668 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7669 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7670 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7671 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7672 * wcsmbc/wcschr.c (WCSCHR): New macro.
7673
5b330a2d
UD
76742011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7675
7676 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7677 * wcsmbs/test-wcsrchr.c: New file.
7678 * string/test-strrchr.c: Add wcsrchr support.
7679 (WIDE): New macro.
7680 * wcsmbs/test-wcscpy.c: New file.
7681 * string/test-strcpy.c: Add wcscpy support.
7682 (WIDE): New macro.
26428b7c 7683
f039c043
UD
76842011-12-10 Ulrich Drepper <drepper@gmail.com>
7685
7686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7687 the inner loop.
7688
850fb039
AS
76892011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7690
7691 [BZ #13472]
7692 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7693
4efbd5cb
UD
76942011-12-04 Ulrich Drepper <drepper@gmail.com>
7695
52ff5dd0 7696 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7697 Minor optimizations.
52ff5dd0 7698
4efbd5cb
UD
7699 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7700 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7701 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7702
8a426e12
UD
77032011-12-03 Ulrich Drepper <drepper@gmail.com>
7704
aff2453d
UD
7705 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7706 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7707 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7708 for gcc to avoid warnings.
7709 * inet/Makefile (tests): Add tst-checks.
7710 * inet/tst-checks.c: New file.
7711
7712 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7713 warning.
7714
7715 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7716 __wmemcmp_sse2.
7717
7718 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7719 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7720
8a426e12
UD
7721 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7722
9bea3473
UD
77232011-12-02 Ulrich Drepper <drepper@gmail.com>
7724
3a965496
UD
7725 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7726 problem.
7727
9bea3473
UD
7728 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7729
f101631b
UD
77302011-11-29 Joseph Myers <joseph@codesourcery.com>
7731
7732 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7733 conditional on GCC version.
7734 (__arch_compare_and_exchange_val_8_acq)
7735 (__arch_compare_and_exchange_val_16_acq)
7736 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7737 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7738 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7739
a98275aa
UD
77402011-12-02 Joseph Myers <joseph@codesourcery.com>
7741
7742 * sysdeps/sh/backtrace.c: New file.
7743
d4cc29a2
AS
77442011-12-02 Andreas Schwab <schwab@redhat.com>
7745
7746 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7747 parenthesis.
7748
6257af2d
AS
77492011-12-01 Andreas Schwab <schwab@redhat.com>
7750
7751 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7752 falling back to utime.
7753
b5f44c1a
AS
77542011-11-30 Andreas Schwab <schwab@redhat.com>
7755
7756 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7757 expectations for float.
7758
f3a6cc0a
AS
77592011-11-29 Andreas Schwab <schwab@redhat.com>
7760
7761 * locale/weight.h (findidx): Add parameter len.
7762 * locale/weightwc.h (findidx): Likewise.
7763 * posix/fnmatch_loop.c (FCT): Adjust caller.
7764 * posix/regcomp.c (build_equiv_class): Likewise.
7765 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7766 * posix/regexec.c (check_node_accept_bytes): Likewise.
7767 * string/strcoll_l.c (STRCOLL): Likewise.
7768 * string/strxfrm_l.c (STRXFRM): Likewise.
7769
9d65ea3a
UD
77702011-11-17 Ulrich Drepper <drepper@gmail.com>
7771
7772 * Makefile.in: Remove CVSOPT handling.
7773 * configure.in: Remove use of AC_REVISION.
7774 * iconvdata/Makefile (distribute): No need to filter out CVS.
7775 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7776 handling.
7777
5583a086
AS
77782011-11-16 Andreas Schwab <schwab@redhat.com>
7779
7780 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7781 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7782 [USE_AS_STRNCASECMP_L]: Likewise.
7783 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7784 NO_TLS_DIRECT_SEG_REFS.
7785 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7786 Fix argument offsets for non-PIC.
7787 [USE_AS_STRNCASECMP_L]: Likewise.
7788 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7789 NO_TLS_DIRECT_SEG_REFS.
7790
d62a8200
UD
77912011-11-15 Ulrich Drepper <drepper@gmail.com>
7792
9d65ea3a 7793 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7794 O_CLOEXEC.
7795 * locale/loadlocale.c (_nl_load_locale): Likewise.
7796
09f93bd3
AS
77972011-11-15 Andreas Schwab <schwab@redhat.com>
7798
446514f9
AS
7799 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7800 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7801 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7802 (SYSCALL_GETTIME): Set errno on error.
7803
09f93bd3
AS
7804 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7805 count references to noai6ai_cached.
7806
312be3f9
UD
78072011-11-15 Ulrich Drepper <drepper@gmail.com>
7808
7809 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7810
7811 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7812 FD_CLOEXEC for /proc/self/maps.
7813
7814 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7815 FD_CLOEXEC for /proc/meminfo.
7816
7817 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7818 gai.conf.
7819
7820 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7821 FD_CLOEXEC for given file.
7822
7823 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7824
7825 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7826 FD_CLOEXEC for /etc/hosts.
7827 (_gethtent): Likewise.
7828
7829 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7830
7831 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7832 cancellation and set FD_CLOEXEC for /etc/netgroup.
7833
7834 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7835 reading /etc/publickey.
7836
7837 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7838 allow cancellation when reading /etc/group.
7839
7840 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7841 cancellation.
7842 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7843
7844 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7845 when using data file.
7846
7847 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7848
7849 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7850 (write_nis_obj): Use "c" and "e" in fopen.
7851
7852 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7853
7854 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7855
7856 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7857
7858 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7859
7860 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7861 locale.alias.
7862
7863 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7864
7865 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7866
7867 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7868
7869 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7870 file parsing and set FD_CLOEXEC.
7871
82af0fa8
UD
78722011-11-14 Ulrich Drepper <drepper@gmail.com>
7873
7874 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7875
a5fb313c
AS
78762011-11-14 Andreas Schwab <schwab@redhat.com>
7877
7878 * malloc/arena.c (arena_get2): Don't call reused_arena when
7879 _int_new_arena failed.
7880
6abf3465
UD
78812011-11-14 Ulrich Drepper <drepper@gmail.com>
7882
7883 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7884 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7885 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7886 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7887 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7889 to compile strcasecmp and strncasecmp.
7890 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7891 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7892
7893 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7894
76e3966e
UD
78952011-11-13 Ulrich Drepper <drepper@gmail.com>
7896
7897 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7898 locale-defines.sym to gen-as-const-headers.
7899 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7900 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7901 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7902 to compile strcasecmp and strncasecmp.
7903 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7904 strcasecmp_l and strncasecmp_l.
7905 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7906 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7907 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7908 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7909 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7910 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7911 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7912 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7913 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7914 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7915 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7916
ab26144e
UD
79172011-11-12 Ulrich Drepper <drepper@gmail.com>
7918
7edb22ef
UD
7919 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7920 result of SYSDEP_GETTIME_CPU to retval.
7921 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7922 parameter list to macro. Remove trailing semicolon. Adjust users.
7923
9694fc44
UD
7924 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7925 variable.
7926
8ad89ef8
UD
7927 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7928 mantissa words.
7929 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7930
0c822ef9
UD
7931 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7932 from unused variable.
7933
874e0564
UD
7934 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7935 DWARF definitions.
7936 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7937 for assembling.
7938
3a2edc79
UD
7939 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7940 over namespaces.
7941
f3c2577f
UD
7942 * sunrpc/rpc_prot.c (rejected): Fix case value.
7943
294ce126
UD
7944 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7945 unsigned long long int to avoid warnings in shift.
7946
5e2b63c6
UD
7947 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7948 of use of trans.
7949 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7950 variable tmp.
7951
e7f4b08e
UD
7952 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7953 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7954 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7955
ab26144e
UD
7956 * nis/nis_table.c (nis_list): Use variable of correct type for
7957 result of __follow_path call.
7958
8a6d5255
AZ
79592011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7960
7961 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7962 of math functions ceil, trunc, floor, round, and sqrt, when
7963 avaliable on the platform.
7964 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7965 name clash.
7966 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7967 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7968 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7969
aaddc98c
MP
79702011-10-30 Marek Polacek <mpolacek@redhat.com>
7971
7972 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7973 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7974
95b7042b
RM
79752011-11-11 Roland McGrath <roland@hack.frob.com>
7976
7977 * include/unistd.h: Fix __readlink return type.
7978 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7979
57769839
UD
79802011-11-11 Ulrich Drepper <drepper@gmail.com>
7981
7982 * stdlib/ucontext.h: Undo last change for makecontext.
7983
edc5984d
AS
79842011-11-11 Andreas Schwab <schwab@redhat.com>
7985
98591e58
AS
7986 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7987
edc5984d
AS
7988 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7989 * setjmp/setjmp.h: Mark functions as non-leaf.
7990 * setjmp/bits/setjmp2.h: Likewise.
7991 * stdlib/ucontext.h: Likewise.
7992
77cdc054
AS
79932011-11-10 Andreas Schwab <schwab@redhat.com>
7994
7995 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7996 (reused_arena): Don't check arena limit.
7997 (arena_get2): Atomically check arena limit.
7998
fe72eebd
UD
79992011-11-08 Ulrich Drepper <drepper@gmail.com>
8000
5f078c32
UD
8001 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8002 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8003
fe72eebd
UD
8004 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8005 instructions.
8006
ae1bc2fa
AS
80072011-11-07 Andreas Schwab <schwab@redhat.com>
8008
7583a88d
AS
8009 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8010 handler when locking.
8011
ae1bc2fa
AS
8012 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8013 Fix size of allocated buffer.
8014
10fb0bfa
AS
80152011-11-04 Andreas Schwab <schwab@redhat.com>
8016
998832a4
AS
8017 [BZ #10103]
8018 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8019 declarations for long double functions.
8020 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8021
10fb0bfa
AS
8022 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8023
3d7ba52b
AS
80242011-11-03 Andreas Schwab <schwab@redhat.com>
8025
a9ae54a1
AS
8026 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8027 installed.
8028
3d7ba52b
AS
8029 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8030 is disabled.
8031
bc8db248
ST
80322011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8033
8034 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8035
45b96dd6
AS
80362011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8037
647776f6
AS
8038 * include/alloca.h (stackinfo_alloca_round): Define.
8039 (extend_alloca): Use it.
8040 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8041 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8042 here.
8043
d91a8b93
AS
8044 * scripts/check-local-headers.sh: Ignore libaudit.h.
8045
45b96dd6
AS
8046 * nscd/Makefile (extra-objs): Make recursively expanded.
8047
432d41ce
UD
80482011-11-01 Ulrich Drepper <drepper@gmail.com>
8049
34372fc6
UD
8050 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8052
fadb59f8
UD
8053 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8054 * posix/tst-rfc3484-2.c: Likewise.
8055 * posix/tst-rfc3484-3.c: Likewise.
8056
78239589
UD
8057 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8058 process_vm_writev.
8059 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8060 process_vm_writev.
8061 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8062 process_vm_writev from libc using GLIBC_2.15 version.
8063
432d41ce
UD
8064 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8065
02f9c6cf
PP
80662011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8067
8068 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8069 stack usage.
8070
3a2c0242
UD
80712011-10-31 Ulrich Drepper <drepper@gmail.com>
8072
f4ec4833
UD
8073 [BZ #13367]
8074 * nss/getent.c (initgroups_keys): Show error message in case no group
8075 names are given.
8076
3a2c0242
UD
8077 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8078 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8079 __bump_nl_timestamp.
8080 * nscd/connections (nscd_init): When host database is served open
8081 netlink socket and request notification about configuration changes.
8082 (main_loop_poll): Track netlink file descriptor and bump timestamp
8083 in case data becomes available.
8084 (main_loop_epoll): Likewise.
8085 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8086 (database_pers_head): Add extra_data fileds.
8087 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8088 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8089 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8090 Adjust caller.
8091 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8092 in6ai data, call __free_in6ai.
8093 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8094 Add -DHAVE_NETLINK.
8095 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8096 interface information. Reuse previous data if netlink timestamp
8097 is not changed.
8098 (__bump_nl_timestamp): New function.
8099 (__free_in6ai): New function.
8100
636064eb
UD
81012011-10-30 Ulrich Drepper <drepper@gmail.com>
8102
8103 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8104 close_not_cancel_no_status here.
8105 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8106
9beb2334
UD
81072011-10-29 Ulrich Drepper <drepper@gmail.com>
8108
6ef76f3b
UD
8109 [BZ #13276]
8110 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8111 return value.
8112
0ffc4f3e 8113 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8114 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8115 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8116
cb95113e
UD
81172011-07-03 Andreas Jaeger <aj@suse.de>
8118
8119 [BZ #10709]
8120 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8121 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8122 * math/libm-test.inc (sin_test): Add test case.
8123
a1b560ff
UD
81242011-10-29 Ulrich Drepper <drepper@gmail.com>
8125
c9aaface
UD
8126 [BZ #13337]
8127 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8128 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8129
d272e7f1
UD
8130 * elf/chroot_canon.c (chroot_canon): Cleanups.
8131
1bc33071
UD
8132 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8133
1760874d
TJ
8134 [BZ #13335]
8135 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8136 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8137
51d91b18
UD
8138 * string/test-strchr.c: Make usable for strchrnul testing.
8139 * string/test-strchrnul.c: New file.
8140 * string/Makefile (strop-tests): Add strchrnul.
8141
a1b560ff 8142 * po/it.po: Update from translation team.
b611fb81 8143 * po/es.po: Likewise.
a1b560ff 8144
a5b81e1f
UD
81452011-10-28 Ulrich Drepper <drepper@gmail.com>
8146
fd52bc6d
UD
8147 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8148 the three constants needed as parameters. Drop the others.
8149 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8150 __m128i_strloadu_tolower.
52e4b9eb
UD
8151 Create and initialize variable zero and use it in all the places
8152 where _mm_setzero_si128 was used.
fd52bc6d 8153
a5b81e1f
UD
8154 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8155 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8156 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8157 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8158 anymore.
8159 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8160 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8161 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8162 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8163 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8164 __mpranred, __mptan.
8165 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8166 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8167 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8168 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8169 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8170 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8171 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8172 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8173 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8174
b4343346
AS
81752011-10-28 Andreas Schwab <schwab@redhat.com>
8176
0c92d8a8
AS
8177 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8178 redefine if SHARED.
8179 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8180
b4343346
AS
8181 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8182 wide char related routines to wcsmbs subdir.
8183
3871f58f
AS
81842011-10-27 Andreas Schwab <schwab@redhat.com>
8185
8186 [BZ #13344]
8187 * misc/sys/cdefs.h (__THROWNL): Define.
8188 * posix/unistd.h: Use __THREADNL instead of __THREAD
8189 for memory synchronization functions.
8190
94d44d9f
RM
81912011-10-26 Roland McGrath <roland@hack.frob.com>
8192
21b64b15 8193 [BZ #13349]
94d44d9f
RM
8194 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8195 doesn't exist.
8196 * manual/stdio.texi (Obstack Streams): Node removed.
8197
f6ce9294
AS
81982011-10-26 Andreas Schwab <schwab@redhat.com>
8199
80479147
AS
8200 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8201 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8202 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8203
f6ce9294
AS
8204 * math/math_private.h (math_force_eval): Allow non-addressable
8205 arguments.
8206 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8207
618280a1
UD
82082011-10-25 Ulrich Drepper <drepper@gmail.com>
8209
e0016b11
UD
8210 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8211 file is not needed.
8212
8213 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8214 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8215 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8216 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8218 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8219 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8220 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8221 Add AVX variants.
8222 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8223 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8224 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8225 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8226 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8227 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8228 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8229 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8230 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8231 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8232 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8233 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8234 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8235 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8236 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8237 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8239 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8240 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8241
8242 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8243 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8244
618280a1
UD
8245 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8246 place. Use VEX encoding when compiling for AVX.
8247
37822576
AS
82482011-10-25 Andreas Schwab <schwab@redhat.com>
8249
1f1e1947
AS
8250 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8251 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8252
37822576
AS
8253 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8254
31ea014d
UD
82552011-10-25 Ulrich Drepper <drepper@gmail.com>
8256
d7826aa1 8257 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8258 useless if() expression.
d7826aa1
UD
8259 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8260 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8261 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8262 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8263 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8264 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8265 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8268 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8269 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8270 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8271 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8272 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8273 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8274 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8275 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8276 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8277 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8278
31ea014d
UD
8279 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8280
16437fec
AS
82812011-10-25 Andreas Schwab <schwab@redhat.com>
8282
8283 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8284 condition.
8285 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8286
31d3cc00
UD
82872011-10-25 Ulrich Drepper <drepper@gmail.com>
8288
8289 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8290 .text section. Avoid duplicate constants.
8291 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8299 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8300 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8301 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8302 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8303 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8306 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8308 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8313 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8314 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8315 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8316 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8317 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8318 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8319 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8320 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8321 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8324 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8325 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8326 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8327 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8328 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8329 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8330 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8331 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8336
58985aa9
UD
83372011-10-24 Ulrich Drepper <drepper@gmail.com>
8338
202c9deb
UD
8339 * sysdeps/x86_64/dla.h: Move to ...
8340 * sysdeps/x86_64/fpu/dla.h: ...here.
8341 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8342 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8343
af968f62
UD
8344 * config.make.in: Add have-mfma4 entry.
8345 * configure.in: Substitute libc_cv_cc_fma4.
8346 * math/Makefile (dbl-only-routines): Add sincostab.
8347 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8348 Use __sincostab not sincos.
8349 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8350 name is a macro.
8351 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8352 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8353 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8354 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8355 using __copysign.
8356 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8357 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8358 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8359 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8360 and __inv.
8361 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8362 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8363 __copysign.
8364 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8365 define aliases when function name is a macro.
8366 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8367 sysdeps/ieee754/dbl-64/sincos.tbl.
8368 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8369 fma4-enabled routines.
8370 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8372 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8374 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8375 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8376 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8377 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8378 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8379 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8380 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8381 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8382 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8383 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8384 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8385 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8386 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8387 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8388 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8389 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8390 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8392 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8394 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8400
58985aa9
UD
8401 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8402 rename.
8403 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8408 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8410 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8411
a201fbcf
AS
84122011-10-24 Andreas Schwab <schwab@redhat.com>
8413
8414 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8415
fc2ee42a
LD
84162011-10-23 Ulrich Drepper <drepper@gmail.com>
8417
bb3129bd
UD
8418 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8419
0275fff8
UD
8420 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8421 prediction.
8422 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8423
2fa2ae85
UD
8424 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8425 Remove unused variable magic_bits.
8426 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8427
fc2ee42a
LD
8428 * string/strnlen.c: Define and use STRNLEN macro.
8429 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8430 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8432 * wcsmbs/wcslen.c: Define and use WCSLEN.
8433 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8434 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8435 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8436 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8437 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8438 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8439 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8440
ce7dd29f
LD
84412011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8442
8443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8444 strnlen-sse2-no-bsf.
8445 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8447 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8448 Add strnlen support.
8449 (USE_AS_STRNLEN): New macro.
8450 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8451 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8452 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8453 * sysdeps/x86_64/wcslen.S: New file.
8454
979c70a3
MZ
84552011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8456
8457 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8458 XMM-moves are used for copying on small sizes.
8459
2d09f82f
LD
84602011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8461
8462 * wcsmbs/Makefile (strop-tests): Add wcschr.
8463 * wcsmbs/test-wcschr.c: New file.
8464 * string/test-strchr.c: Update.
8465 Add wcschr support.
8466 (WIDE): New macro.
8467
619fccca
LD
84682011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8469
2d09f82f 8470 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8471 * wcsmbs/test-wcslen.c: New file.
8472 * string/test-strlen.c: Update.
8473 Add wcslen support.
8474 (WIDE): New macro.
8475
09f699ea
UD
84762011-10-23 Ulrich Drepper <drepper@gmail.com>
8477
8478 * po/it.po: Update from translation team.
8479
95584d3b
LD
84802011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8481
8482 * sysdeps/x86_64/wcscmp.S: Update.
8483 Fix wrong comparison semantics.
8484 wcscmp shall use signed comparison not unsigned.
8485 Don't use substraction to avoid overflow bug.
8486 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8487 * wcsmbc/wcscmp.c: Likewise.
8488 * string/test-strcmp.c: Likewise.
8489 Add new tests to check cases with negative values.
8490
c8b3296b
UD
84912011-10-23 Ulrich Drepper <drepper@gmail.com>
8492
8493 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8494 * sysdeps/x86_64/dla.h: ...here. New file.
8495 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8501 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8502 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8503 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8504
246ad57a
AS
85052011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8506
8507 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8508 __ynl_finite aliases.
8509
a1a87169
UD
85102011-10-22 Ulrich Drepper <drepper@gmail.com>
8511
0d355eb7
UD
8512 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8513
a1a87169
UD
8514 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8515 define DLA_FMA.
8516 [DLA_FMA] (EMULV): Use DLA_FMA.
8517 [DLA_FMA] (MUL12): Use EMULV.
8518 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8519 that are not needed.
8520 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8521 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8522 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8524 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8527
ee2aafe0
AS
85282011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8529
8530 * math/s_nan.c: Undef __nan.
8531 * math/s_nanf.c: Undef __nanf.
8532 * math/s_nanl.c: Undef __nanl.
8533 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8534 "math_private.h".
8535
bc62c2fb
UD
85362011-10-22 Ulrich Drepper <drepper@gmail.com>
8537
77425c63
UD
8538 * math/s_catan.c: Add branch predictions.
8539 * math/s_catanf.c: Likewise.
8540 * math/s_catanh.c: Likewise.
8541 * math/s_catanhf.c: Likewise.
8542 * math/s_catanhl.c: Likewise.
8543 * math/s_catanl.c: Likewise.
8544 * math/s_cexp.c: Likewise.
8545 * math/s_cexpf.c: Likewise.
8546 * math/s_cexpl.c: Likewise.
8547 * math/s_clog.c: Likewise.
8548 * math/s_clog10.c: Likewise.
8549 * math/s_clog10f.c: Likewise.
8550 * math/s_clog10l.c: Likewise.
8551 * math/s_clogf.c: Likewise.
8552 * math/s_clogl.c: Likewise.
8553 * math/s_csqrt.c: Likewise.
8554 * math/s_csqrtf.c: Likewise.
8555 * math/s_csqrtl.c: Likewise.
8556 * math/s_ctanf.c: Likewise.
8557 * math/s_ctanh.c: Likewise.
8558 * math/s_ctanhf.c: Likewise.
8559 * math/s_ctanhl.c: Likewise.
8560 * math/s_ctanl.c: Likewise.
8561
bc62c2fb
UD
8562 * math/math_private.h: Define __nan, __nanf, __nanl.
8563 * math/s_cacosh.c: Include <math_private.h>.
8564 * math/s_cacoshl.c: Likewise.
8565 * math/s_casinh.c: Likewise.
8566 * math/s_casinhf.c: Likewise.
8567 * math/s_casinhl.c: Likewise.
8568 * math/s_ccos.c: Rely entire on ccosh.
8569 * math/s_ccosf.c: Rely entire on ccoshf.
8570 * math/s_ccosl.c: Rely entirely on ccoshl.
8571 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8572 Remove tests for FE_INVALID.
8573 * math/s_ccoshf.c: Likewise.
8574 * math/s_ccoshl.c: Likewise.
8575 * math/s_csin.c: Likewise.
8576 * math/s_csinf.c: Likewise.
8577 * math/s_csinh.c Likewise.
8578 * math/s_csinhf.c: Likewise.
8579 * math/s_csinhl.c: Likewise.
8580 * math/s_csinl.c: Likewise.
8581 * math/s_ctan.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8583 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8584 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8585
8ec250a4
UD
85862011-10-21 Ulrich Drepper <drepper@gmail.com>
8587
c196fed8
UD
8588 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8589 compilation problems.
8590
8ec250a4
UD
8591 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8592 __builtin_expect.
8593
8d4f46c6
UD
85942011-10-20 Ulrich Drepper <drepper@gmail.com>
8595
ed72b654
UD
8596 * sysdeps/i386/configure.in: Test for -mfma4 option.
8597 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8598 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8599 COMMON_CPUID_INDEX_80000001.
8600 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8601 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8602 use it if FMA3 is not supported.
8603 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8604
8d4f46c6
UD
8605 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8606 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8607
d45c60c2
AS
86082011-10-20 Andreas Schwab <schwab@redhat.com>
8609
8610 [BZ #12892]
8611 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8612 it would create a cycle with a link time dependency.
8613
d9a4d2ab
UD
86142011-10-19 Ulrich Drepper <drepper@gmail.com>
8615
855d1560
UD
8616 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8617 instruction.
8618 * string/Makefile (strop-tests): Add rawmemchr.
8619 * string/test-rawmemchr.c: New file.
8620
d9a4d2ab
UD
8621 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8622 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8623 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8624 when compiling str{,n}casecmp and when AVX is available. Hook up
8625 new optimized code in initializers.
8626
8f3b1ffe
AS
86272011-10-19 Andreas Schwab <schwab@redhat.com>
8628
8629 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8630 __feraiseexcept instead of feraiseexcept.
8631
d38f1dba
UD
86322011-10-18 Ulrich Drepper <drepper@gmail.com>
8633
d9a8d0ab
UD
8634 * math/math_private.h: Define defaults for libc_fetestexcept and
8635 libc_feupdateenv.
8636 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8637 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8638 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8639 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8640 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8641 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8642 libc_fetestexcept and libc_feupdateenv.
8643
4855e3dd
UD
8644 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8645 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8646 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8647 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8648 libc_feholdexcept_setround.
8649
581d30e3
UD
8650 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8651 Add s_nearbyint-c and s_nearbyintf-c.
8652 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8653 nearbyintf inlines.
8654 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8655 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8656 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8657 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8658
d38f1dba
UD
8659 * math/math_private.h: Define defaults for libc_fegetround,
8660 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8661 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8662 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8664 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8665 standard functions.
8666 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8667 Remove comments and hacks for old compiler versions.
8668 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8669 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8670 libc_feholdexceptl.
8671
caa6c9d8
AS
86722011-10-18 Andreas Schwab <schwab@redhat.com>
8673
8674 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8675 (__feraiseexcept_renamed): Add __NTH.
8676 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8677 namespace violations.
8678
97c066e6
UD
86792011-10-17 Ulrich Drepper <drepper@gmail.com>
8680
99ce7b04
UD
8681 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8682
1004d182
UD
8683 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8684
228a984d
UD
8685 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8686 recently added interfaces.
8687 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8688
c8553a6a
UD
8689 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8690 about macro parameter expansion.
8691
ed22dcf6
UD
8692 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8693 __NO_MATH_INLINES is defined. Cleanups.
8694
8695 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8696 and __floorf is target has SSE4.1.
8697 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8698 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8699 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8700 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8701
b171c137
UD
8702 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8703 name.
8704 (floorf): Likewise.
8705
97c066e6
UD
8706 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8707
629f62ef
AS
87082011-10-17 Andreas Schwab <schwab@redhat.com>
8709
49a43d80
AS
8710 * misc/sys/cdefs.h: Fix last change.
8711
629f62ef
AS
8712 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8713 database lookup.
8714
e453f6cd
UD
87152011-10-16 Ulrich Drepper <drepper@gmail.com>
8716
aa78043a
UD
8717 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8718
ad0f5cad
UD
8719 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8720 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8725 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8726 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8727 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8728 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8729 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8730 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8731 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8732 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8733 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8734 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8736 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8737 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8738 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8739 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8740 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8741
8742 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8743 ceil, ceilf, floor, floorf.
8744
8745 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8746 Perform IRELATIVE relocations last.
8747
e453f6cd
UD
8748 * elf/do-rel.h: Add another parameter nrelative, replacing the
8749 local variable with the same name. Change name of the function
8750 to end in Rel or Rela (uppercase).
8751 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8752 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8753 elf_dynamic_do_##reloc function.
8754
fd5bdc09
UD
87552011-10-15 Ulrich Drepper <drepper@gmail.com>
8756
79b195b5
UD
8757 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8758 is sufficient, at least on modern CPUs.
8759
d4a28569
UD
8760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8761
b61099b5
UD
8762 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8763 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8764
bcf01e6d
UD
8765 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8766 __expl_finite.
8767 * math/bits/math-finite.h: Add entries for exp.
8768 * math/e_expl.c: Add __*_finite alias.
8769 * sysdeps/i386/fpu/e_exp.S: Likewise.
8770 * sysdeps/i386/fpu/e_expf.S: Likewise.
8771 * sysdeps/i386/fpu/e_expl.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8773 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8774 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8775 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8776 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8777 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8779
ba1a0d59
UD
8780 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8781 is sufficient, at least on modern CPUs.
8782
fd5bdc09
UD
8783 * ctype/ctype-info.c (__ctype_init): Define.
8784 * include/ctype.h (__ctype_init): Declare.
8785 (__ctype_b_loc): The variable is always initialized.
8786 (__ctype_toupper_loc): Likewise.
8787 (__ctype_tolower_loc): Likewise.
8788 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8789 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8790
7872cfb0
AS
87912011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8792
b468825a
AS
8793 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8794
7872cfb0
AS
8795 * configure.in: Also look in $cxxmachine/include for C++ system
8796 headers.
8797
be13f7bf
LD
87982011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8799
8800 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8801 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8802 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8803 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8804 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8805 (USE_AS_WMEMCMP): New macro.
8806 Fixing indents.
8807 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8808 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8809 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8810 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8811 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8812 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8813 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8814 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8815 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8816 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8817 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8818 (USE_AS_WMEMCMP): New macro.
8819 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8820 * sysdeps/string/test-memcmp.c: Update.
8821 Fix simple_wmemcmp.
8822 Add new tests.
8823 * wcsmbs/wmemcmp.c: Update.
8824 (WMEMCMP): New macro.
8825 Fix overflow bug.
8826
556a2007
AJ
88272011-10-12 Andreas Jaeger <aj@suse.de>
8828
8829 [BZ #13268]
8830 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8831
538faaa7
UD
88322011-10-15 Ulrich Drepper <drepper@gmail.com>
8833
ab6737ff
UD
8834 * libio/iofwide.c (do_length): Avoid warning.
8835
538faaa7
UD
8836 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8837
396a21b1
UD
88382011-10-14 Ulrich Drepper <drepper@gmail.com>
8839
cdf2901f
UD
8840 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8841
38ad40ce
UD
8842 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8843 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8844 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8845 * sysdeps/i386/i686/fpu/e_log.S: New file.
8846 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8847 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8848
396a21b1
UD
8849 * ctype/ctype.h: Add support for inlined isXXX functions when
8850 compiling C++ code.
8851
6b1f68c9
AS
88522011-10-14 Andreas Schwab <schwab@redhat.com>
8853
349290c0
AS
8854 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8855
6b1f68c9
AS
8856 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8857
f2282d42
RM
88582011-10-13 Roland McGrath <roland@hack.frob.com>
8859
8860 [BZ #13291]
8861 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8862
5298ffa8
AS
88632011-10-13 Andreas Schwab <schwab@redhat.com>
8864
714fad23
AS
8865 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8866 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8867 feraiseexcept.
8868
81dcc7fb
AS
8869 * sysdeps/x86_64/memrchr.S: Check for zero size.
8870
5298ffa8
AS
8871 * string/stratcliff.c: Add memrchr tests.
8872
951fbcec
LD
88732011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8874
8875 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8876 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8877 rawmemchr-sse2 rawmemchr-sse2-bsf.
8878 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8879 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8880 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8881 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8882 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8883 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8884 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8885 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8886 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8887 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8888 * string/memrchr.c (MEMRCHR): New macro.
8889
0ac5ae23
UD
88902011-10-12 Ulrich Drepper <drepper@gmail.com>
8891
8892 Add integration with gcc's -ffinite-math-only and optimize wrapper
8893 functions in libm.
8894 * Versions.def: Define GLIBC_2.15 version for libm.
8895 * math/Makefile (headers): Add bits/math-finite.h.
8896 * math/bits/math-finite.h: New file.
8897 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8898 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8899 * math/e_acoshl.c: Add __*_finite alias.
8900 * math/e_acosl.c: Likewise.
8901 * math/e_asinl.c: Likewise.
8902 * math/e_atan2l.c: Likewise.
8903 * math/e_atanhl.c: Likewise.
8904 * math/e_coshl.c: Likewise.
8905 * math/e_exp10.c: Likewise.
8906 * math/e_exp10f.c: Likewise.
8907 * math/e_exp10l.c: Likewise.
8908 * math/e_exp2l.c: Likewise.
8909 * math/e_fmodl.c: Likewise.
8910 * math/e_gammal_r.c: Likewise.
8911 * math/e_hypotl.c: Likewise.
8912 * math/e_j0l.c: Likewise.
8913 * math/e_j1l.c: Likewise.
8914 * math/e_jnl.c: Likewise.
8915 * math/e_lgammal_r.c: Likewise.
8916 * math/e_log10l.c: Likewise.
8917 * math/e_log2l.c: Likewise.
8918 * math/e_logl.c: Likewise.
8919 * math/e_powl.c: Likewise.
8920 * math/e_sinhl.c: Likewise.
8921 * math/e_sqrtl.c: Likewise.
8922 * math/e_scalb.c: Completely rewritten and optimized.
8923 * math/e_scalbf.c: Likewise.
8924 * math/e_scalbl.c: Likewise.
8925 * math/w_acos.c: Likewise.
8926 * math/w_acosf.c: Likewise.
8927 * math/w_acosl.c: Likewise.
8928 * math/w_acosh.c: Likewise.
8929 * math/w_acoshf.c: Likewise.
8930 * math/w_acoshl.c: Likewise.
8931 * math/w_asin.c: Likewise.
8932 * math/w_asinf.c: Likewise.
8933 * math/w_asinl.c: Likewise.
8934 * math/w_atan2.c: Likewise.
8935 * math/w_atan2f.c: Likewise.
8936 * math/w_atan2l.c: Likewise.
8937 * math/w_atanh.c: Likewise.
8938 * math/w_atanhf.c: Likewise.
8939 * math/w_atanhl.c: Likewise.
8940 * math/w_exp10.c: Likewise.
8941 * math/w_exp10f.c: Likewise.
8942 * math/w_exp10l.c: Likewise.
8943 * math/w_fmod.c: Likewise.
8944 * math/w_fmodf.c: Likewise.
8945 * math/w_fmodl.c: Likewise.
8946 * math/w_j0.c: Likewise.
8947 * math/w_j0f.c: Likewise.
8948 * math/w_j0l.c: Likewise.
8949 * math/w_j1.c: Likewise.
8950 * math/w_j1f.c: Likewise.
8951 * math/w_j1l.c: Likewise.
8952 * math/w_jn.c: Likewise.
8953 * math/w_jnf.c: Likewise.
8954 * math/w_log.c: Likewise.
8955 * math/w_logf.c: Likewise.
8956 * math/w_logl.c: Likewise.
8957 * math/w_log10.c: Likewise.
8958 * math/w_log10f.c: Likewise.
8959 * math/w_log10l.c: Likewise.
8960 * math/w_log2.c: Likewise.
8961 * math/w_log2f.c: Likewise.
8962 * math/w_log2l.c: Likewise.
8963 * math/w_pow.c: Likewise.
8964 * math/w_powf.c: Likewise.
8965 * math/w_powl.c: Likewise.
8966 * math/w_remainder.c: Likewise.
8967 * math/w_remainderf.c: Likewise.
8968 * math/w_remainderl.c: Likewise.
8969 * math/w_scalb.c: Likewise.
8970 * math/w_scalbf.c: Likewise.
8971 * math/w_scalbl.c: Likewise.
8972 * math/w_sqrt.c: Likewise.
8973 * math/w_sqrtf.c: Likewise.
8974 * math/w_sqrtl.c: Likewise.
8975 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8976 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8977 used.
8978 * math/math_private.h: Declare __kernel_standard_f.
8979 * math/w_cosh.c: Remove cruft and optimize a bit.
8980 * math/w_coshf.c: Likewise.
8981 * math/w_coshl.c: Likewise.
8982 * math/w_exp2.c: Likewise.
8983 * math/w_exp2f.c: Likewise.
8984 * math/w_exp2l.c: Likewise.
8985 * math/w_hypot.c: Likewise.
8986 * math/w_hypotf.c: Likewise.
8987 * math/w_hypotl.c: Likewise.
8988 * math/w_lgamma.c: Likewise.
8989 * math/w_lgamma_r.c: Likewise.
8990 * math/w_lgammaf.c: Likewise.
8991 * math/w_lgammaf_r.c: Likewise.
8992 * math/w_lgammal.c: Likewise.
8993 * math/w_lgammal_r.c: Likewise.
8994 * math/w_sinh.c: Likewise.
8995 * math/w_sinhf.c: Likewise.
8996 * math/w_sinhl.c: Likewise.
8997 * math/w_tgamma.c: Likewise.
8998 * math/w_tgammaf.c: Likewise.
8999 * math/w_tgammal.c: Likewise.
9000 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9001 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9002 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9003 Minor optimizations. Pretty printing. Remove cruft.
9004 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9005 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9006 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9007 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9008 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9009 * sysdeps/i386/fpu/e_asin.S: Likewise.
9010 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9011 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9012 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9013 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9014 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9015 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9016 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9017 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9018 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9019 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9020 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9021 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9022 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9023 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9024 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9025 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9026 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9027 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9028 * sysdeps/i386/fpu/e_log.S: Likewise.
9029 * sysdeps/i386/fpu/e_log10.S: Likewise.
9030 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9031 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9032 * sysdeps/i386/fpu/e_log2.S: Likewise.
9033 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9034 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9035 * sysdeps/i386/fpu/e_logf.S: Likewise.
9036 * sysdeps/i386/fpu/e_logl.S: Likewise.
9037 * sysdeps/i386/fpu/e_pow.S: Likewise.
9038 * sysdeps/i386/fpu/e_powf.S: Likewise.
9039 * sysdeps/i386/fpu/e_powl.S: Likewise.
9040 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9041 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9042 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9043 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9044 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9045 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9046 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9047 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9048 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9049 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9050 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9051 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9052 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9053 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9054 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9055 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9056 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9057 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9058 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9059 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9060 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9070 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9071 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9072 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9073 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9074 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9075 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9076 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9077 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9078 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9079 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9080 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9081 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9084 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9085 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9086 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9087 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9090 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9101 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9102 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9126 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9129 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9130 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9132 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9133 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9134 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9135 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9137 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9140 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9141 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9142 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9143 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9144 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9145 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9146 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9147 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9148 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9149 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9150 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9151 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9152 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9153 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9154 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9155 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9156 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9157 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9158 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9159 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9160 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9161 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9162 (__isnanf): Likewise.
9163 (__isinf_ns): Likewise.
9164 (__isinf_nsf): Likewise.
9165 (__finite): Likewise.
9166 (__finitef): Likewise.
9167 (__ieee754_sqrt): Define as macro.
9168 (__ieee754_sqrtf): Define as macro.
9169 (__ieee754_sqrtl): Define as macro.
9170 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9171 inlined copy.
9172 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9173 __FINITE_MATH_ONLY__ consistent.
9174 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9175
12cc2fcd
AS
91762011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9177
a843a204
AS
9178 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9179 of rawmemchr.
9180
12cc2fcd
AS
9181 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9182
c853acd5
UD
91832011-10-09 Ulrich Drepper <drepper@gmail.com>
9184
9185 * po/ja.po: Update from translation team.
9186
c658d255
RM
91872011-10-08 Roland McGrath <roland@hack.frob.com>
9188
110946e4
RM
9189 * locale/programs/locarchive.c (prepare_address_space): New function.
9190 (create_archive, enlarge_archive, open_archive): Use it.
9191
50604220
RM
9192 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9193 inside [SHARED], where it is used.
9194
c658d255
RM
9195 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9196
9197 * nss/getent.c (netgroup_keys): Remove unused variable.
9198 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9199
6a621eb7
UD
92002011-10-08 Ulrich Drepper <drepper@gmail.com>
9201
7edb55ce
UD
9202 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9203 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9204 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9205 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9206 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9207 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9208 * math/Makefile (libm-calls): Add s_isinf_ns.
9209 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9210 * math/multc3.c: Likewise.
9211 * math/s_casin.c: Likewise.
9212 * math/s_casinf.c: Likewise.
9213 * math/s_casinl.c: Likewise.
9214 * math/s_ccos.c: Likewise.
9215 * math/s_ccosf.c: Likewise.
9216 * math/s_ccosl.c: Likewise.
9217 * math/s_ctan.c: Likewise.
9218 * math/s_ctanf.c: Likewise.
9219 * math/s_ctanh.c: Likewise.
9220 * math/s_ctanhf.c: Likewise.
9221 * math/s_ctanhl.c: Likewise.
9222 * math/s_ctanl.c: Likewise.
9223 * math/w_fmod.c: Likewise.
9224 * math/w_fmodf.c: Likewise.
9225 * math/w_fmodl.c: Likewise.
9226 * math/w_remainder.c: Likewise.
9227 * math/w_remainderf.c: Likewise.
9228 * math/w_remainderl.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9230 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9231 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9232 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9233 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9234 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9235 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9236 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9237
187da0ae
UD
9238 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9239 of the number.
9240 * stdio-common/printf_fphex.c: Likewise.
9241 * stdio-common/printf_size.c: Likewise.
9242
9277c064
UD
9243 * math/e_exp10.c: Include math_private.h using <...> not "...".
9244 * math/e_exp10f.c: Likewise.
9245 * math/e_exp10l.c: Likewise.
9246 * math/e_exp2l.c: Likewise.
9247 * math/e_j0l.c: Likewise.
9248 * math/e_j1l.c: Likewise.
9249 * math/e_jnl.c: Likewise.
9250 * math/e_lgammal_r.c: Likewise.
9251 * math/e_rem_pio2l.c: Likewise.
9252 * math/e_scalb.c: Likewise.
9253 * math/e_scalbf.c: Likewise.
9254 * math/e_scalbl.c: Likewise.
9255 * math/k_cosl.c: Likewise.
9256 * math/k_sinl.c: Likewise.
9257 * math/k_tanl.c: Likewise.
9258 * math/s_cacoshf.c: Likewise.
9259 * math/s_catan.c: Likewise.
9260 * math/s_catanf.c: Likewise.
9261 * math/s_catanh.c: Likewise.
9262 * math/s_catanhf.c: Likewise.
9263 * math/s_catanhl.c: Likewise.
9264 * math/s_catanl.c: Likewise.
9265 * math/s_ccosh.c: Likewise.
9266 * math/s_ccoshf.c: Likewise.
9267 * math/s_ccoshl.c: Likewise.
9268 * math/s_cexp.c: Likewise.
9269 * math/s_cexpf.c: Likewise.
9270 * math/s_cexpl.c: Likewise.
9271 * math/s_clog.c: Likewise.
9272 * math/s_clog10.c: Likewise.
9273 * math/s_clog10f.c: Likewise.
9274 * math/s_clog10l.c: Likewise.
9275 * math/s_clogf.c: Likewise.
9276 * math/s_clogl.c: Likewise.
9277 * math/s_csin.c: Likewise.
9278 * math/s_csinf.c: Likewise.
9279 * math/s_csinh.c: Likewise.
9280 * math/s_csinhf.c: Likewise.
9281 * math/s_csinhl.c: Likewise.
9282 * math/s_csinl.c: Likewise.
9283 * math/s_csqrt.c: Likewise.
9284 * math/s_csqrtf.c: Likewise.
9285 * math/s_csqrtl.c: Likewise.
9286 * math/s_ctan.c: Likewise.
9287 * math/s_ctanf.c: Likewise.
9288 * math/s_ctanh.c: Likewise.
9289 * math/s_ctanhf.c: Likewise.
9290 * math/s_ctanhl.c: Likewise.
9291 * math/s_ctanl.c: Likewise.
9292 * math/s_ldexp.c: Likewise.
9293 * math/s_ldexpf.c: Likewise.
9294 * math/s_ldexpl.c: Likewise.
9295 * math/s_significand.c: Likewise.
9296 * math/s_significandf.c: Likewise.
9297 * math/s_significandl.c: Likewise.
9298 * math/w_acos.c: Likewise.
9299 * math/w_acosf.c: Likewise.
9300 * math/w_acosh.c: Likewise.
9301 * math/w_acoshf.c: Likewise.
9302 * math/w_acoshl.c: Likewise.
9303 * math/w_acosl.c: Likewise.
9304 * math/w_asin.c: Likewise.
9305 * math/w_asinf.c: Likewise.
9306 * math/w_asinl.c: Likewise.
9307 * math/w_atan2.c: Likewise.
9308 * math/w_atan2f.c: Likewise.
9309 * math/w_atan2l.c: Likewise.
9310 * math/w_atanh.c: Likewise.
9311 * math/w_atanhf.c: Likewise.
9312 * math/w_atanhl.c: Likewise.
9313 * math/w_cosh.c: Likewise.
9314 * math/w_coshf.c: Likewise.
9315 * math/w_coshl.c: Likewise.
9316 * math/w_dremf.c: Likewise.
9317 * math/w_exp10.c: Likewise.
9318 * math/w_exp10f.c: Likewise.
9319 * math/w_exp10l.c: Likewise.
9320 * math/w_exp2.c: Likewise.
9321 * math/w_exp2f.c: Likewise.
9322 * math/w_fmod.c: Likewise.
9323 * math/w_fmodf.c: Likewise.
9324 * math/w_fmodl.c: Likewise.
9325 * math/w_hypot.c: Likewise.
9326 * math/w_hypotf.c: Likewise.
9327 * math/w_hypotl.c: Likewise.
9328 * math/w_j0.c: Likewise.
9329 * math/w_j0f.c: Likewise.
9330 * math/w_j0l.c: Likewise.
9331 * math/w_j1.c: Likewise.
9332 * math/w_j1f.c: Likewise.
9333 * math/w_j1l.c: Likewise.
9334 * math/w_jn.c: Likewise.
9335 * math/w_jnf.c: Likewise.
9336 * math/w_jnl.c: Likewise.
9337 * math/w_lgamma.c: Likewise.
9338 * math/w_lgamma_r.c: Likewise.
9339 * math/w_lgammaf.c: Likewise.
9340 * math/w_lgammaf_r.c: Likewise.
9341 * math/w_lgammal.c: Likewise.
9342 * math/w_lgammal_r.c: Likewise.
9343 * math/w_log.c: Likewise.
9344 * math/w_log10.c: Likewise.
9345 * math/w_log10f.c: Likewise.
9346 * math/w_log10l.c: Likewise.
9347 * math/w_log2.c: Likewise.
9348 * math/w_log2f.c: Likewise.
9349 * math/w_log2l.c: Likewise.
9350 * math/w_logf.c: Likewise.
9351 * math/w_logl.c: Likewise.
9352 * math/w_pow.c: Likewise.
9353 * math/w_powf.c: Likewise.
9354 * math/w_powl.c: Likewise.
9355 * math/w_remainder.c: Likewise.
9356 * math/w_remainderf.c: Likewise.
9357 * math/w_remainderl.c: Likewise.
9358 * math/w_scalb.c: Likewise.
9359 * math/w_scalbf.c: Likewise.
9360 * math/w_scalbl.c: Likewise.
9361 * math/w_sinh.c: Likewise.
9362 * math/w_sinhf.c: Likewise.
9363 * math/w_sinhl.c: Likewise.
9364 * math/w_sqrt.c: Likewise.
9365 * math/w_sqrtf.c: Likewise.
9366 * math/w_sqrtl.c: Likewise.
9367 * math/w_tgamma.c: Likewise.
9368 * math/w_tgammaf.c: Likewise.
9369 * math/w_tgammal.c: Likewise.
9370
6a621eb7
UD
9371 * po/ja.po: Update from translation team.
9372
bf582445
AJ
93732011-09-29 Andreas Jaeger <aj@suse.de>
9374
f9efbf3a
AJ
9375 [BZ #13179]
9376 * sunrpc/netname.c (netname2host): Fix logic.
9377
bf582445
AJ
9378 [BZ #6779]
9379 [BZ #6783]
9380 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9381 correctly.
9382 * math/w_remainder.c (__remainder): Likewise.
9383 * math/w_remainderf.c (__remainderf): Likewise.
9384 * math/libm-test.inc (remainder_test): Add test cases.
9385
48693bea
AK
93862011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9387
9388 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9389 sdiv_qrnnd.
9390
42622229
LD
93912011-10-07 Ulrich Drepper <drepper@gmail.com>
9392
9393 * string/test-memcmp.c: Avoid unncessary #defines.
9394 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9395
093ecf92
LD
93962011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9397
9398 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9399 Use new sse2 version for core i3 - i7 as it's faster
9400 than sse42 version.
9401 (bit_Prefer_PMINUB_for_stringop): New.
9402 * sysdeps/x86_64/rawmemchr.S: Update.
9403 Replace with faster SSE2 version.
9404 * sysdeps/x86_64/memrchr.S: New file.
9405 * sysdeps/x86_64/memchr.S: Update.
9406 Replace with faster SSE2 version.
9407
fde56e5c
MP
94082011-09-12 Marek Polacek <mpolacek@redhat.com>
9409
9410 * elf/dl-load.c (lose): Add cast to avoid warning.
9411
21fd49a9
UD
94122011-10-07 Ulrich Drepper <drepper@gmail.com>
9413
5a06e643
UD
9414 * po/ca.po: Update from translation team.
9415
684ae515
UD
9416 * inet/getnetgrent_r.c: Hook up nscd.
9417 * nscd/Makefile (routines): Add nscd_netgroup.
9418 (nscd-modules): Add netgroupcache.
9419 (CFLAGS-netgroupcache.c): Define.
9420 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9421 (cache_search): Add const to second parameter.
9422 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9423 INNETGR.
9424 (dbs): Add netgrdb entry.
9425 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9426 (verify_persistent_db): Handle netgrdb.
9427 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9428 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9429 GETFDNETGR.
9430 (netgroup_response_header): Define.
9431 (innetgroup_response_header): Define.
9432 (datahead): Add netgroup_response_header and innetgroup_response_header
9433 elements.
9434 * nscd/nscd.conf: Add entries for netgroup cache.
9435 * nscd/nscd.h (dbtype): Add netgrdb.
9436 (_PATH_NSCD_NETGROUP_DB): Define.
9437 (netgroup_iov_disabled): Declare.
9438 (xmalloc, xcalloc, xrealloc): Move declarations here.
9439 (cache_search): Adjust prototype.
9440 Add netgroup-related prototypes.
9441 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9442 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9443 (__nscd_innetgr): Declare.
9444 * nscd/selinux.c (perms): Use access_vector_t as element type and
9445 add netgroup-related initializers.
9446 * nscd/netgroupcache.c: New file.
9447 * nscd/nscd_netgroup.c: New file.
9448 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9449 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9450 For four parameters use innetgr.
9451 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9452 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9453 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9454 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9455
21fd49a9
UD
9456 * nscd/connections.c (register_traced_file): Don't register file
9457 for disabled databases.
9458
054c0457
UD
94592011-10-06 Ulrich Drepper <drepper@gmail.com>
9460
32b63198
UD
9461 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9462
054c0457
UD
9463 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9464 from tree and freeing node.
9465
64031225
JO
94662011-09-25 Jiri Olsa <jolsa@redhat.com>
9467
9468 * nss/nsswitch.c (__nss_database_lookup): Handle
9469 nss_parse_service_list out of memory case.
9470
0490345c
JO
94712011-09-15 Jiri Olsa <jolsa@redhat.com>
9472
9473 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9474 out of memory case.
9475
3a62d00d
AS
94762011-10-04 Andreas Schwab <schwab@redhat.com>
9477
9478 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9479 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9480 pass it down.
9481 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9482 elf_machine_rela, elf_machine_lazy_rel.
9483 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9484 (ELF_DYNAMIC_DO_REL): Likewise.
9485 (ELF_DYNAMIC_DO_RELA): Likewise.
9486 (ELF_DYNAMIC_RELOCATE): Likewise.
9487 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9488 to ELF_DYNAMIC_DO_REL.
9489 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9490 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9491 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9492 elf_machine_rela.
9493 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9494 skip_ifunc, don't call ifunc function if non-zero.
9495 (elf_machine_rela): Likewise.
9496 (elf_machine_lazy_rel): Likewise.
9497 (elf_machine_lazy_rela): Likewise.
9498 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9499 (elf_machine_lazy_rel): Likewise.
9500 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9501 Likewise.
9502 (elf_machine_lazy_rel): Likewise.
9503 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9504 Likewise.
9505 (elf_machine_lazy_rel): Likewise.
9506 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9507 (elf_machine_lazy_rel): Likewise.
9508 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9509 (elf_machine_lazy_rel): Likewise.
9510 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9511 (elf_machine_lazy_rel): Likewise.
9512 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9513 (elf_machine_lazy_rel): Likewise.
9514 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9515 (elf_machine_lazy_rel): Likewise.
9516 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9517 (elf_machine_lazy_rel): Likewise.
9518
68577918
UD
95192011-09-28 Ulrich Drepper <drepper@gmail.com>
9520
9521 * nss/nss_files/files-init.c (_nss_files_init): Use static
9522 initialization for all the *_traced_file variables.
9523
68822d74
AS
95242011-09-28 Andreas Schwab <schwab@redhat.com>
9525
9526 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9527
2056100b
RM
95282011-09-27 Roland McGrath <roland@hack.frob.com>
9529
9530 [BZ #13226]
9531 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9532
32c76b63
AS
95332011-09-27 Andreas Schwab <schwab@redhat.com>
9534
9535 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9536 Reread the line before reparsing it.
9537
bf972c9d
AS
95382011-09-26 Andreas Schwab <schwab@redhat.com>
9539
9540 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9541
e057a1b5
JM
95422011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9543 Maxim Kuvyrkov <maxim@codesourcery.com>
9544 Joseph Myers <joseph@codesourcery.com>
9545
9546 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9547 if needed for __stack_chk_guard.
9548
bc7e1c36
RM
95492011-09-19 Roland McGrath <roland@hack.frob.com>
9550
ecb1482f
RM
9551 * sysdeps/posix/spawni.c (script_execute): Always define it.
9552 It will be optimized away if unused.
9553 (maybe_script_execute): New function.
9554 (__spawni): Call it.
9555
bc7e1c36
RM
9556 * Makerules: Don't include tls.make.
9557 (config-tls): Always set to thread.
9558 * tls.make.c: File removed.
9559
1c3b002b
MF
95602011-09-19 Mike Frysinger <vapier@gentoo.org>
9561
9562 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9563 * config.make.in (CPPFLAGS-config): New substituted variable.
9564
2840865d
UD
95652011-09-15 Ulrich Drepper <drepper@gmail.com>
9566
88738eb6
UD
9567 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9568
cbf645a6 9569 [BZ #13192]
2840865d
UD
9570 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9571 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9572
b402e91a
RM
95732011-09-15 Roland McGrath <roland@hack.frob.com>
9574
9575 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9576 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9577 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9578 (CALL_FAIL): Likewise.
9579 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9580 (CALL_FAIL): Macro removed.
9581 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9582
4c1a1f71
UD
95832011-09-15 Ulrich Drepper <drepper@gmail.com>
9584
9585 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9586 for __FINITE_MATH_ONLY__ == 1.
9587
edc121be
AS
95882011-09-15 Andreas Schwab <schwab@redhat.com>
9589
9590 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9591 __ieee754_sqrt instead of sqrt.
9592 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9593 __ieee754_sqrtf instead of sqrtf.
9594 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9595 __floorf instead of floorf.
9596 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9597 __floorf, __truncf instead of floorf, truncf.
9598
cd205654
UD
95992011-09-14 Ulrich Drepper <drepper@gmail.com>
9600
ee4d0315
UD
9601 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9602
cd205654
UD
9603 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9604 __extern_always_inline.
9605 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9606 32-bit.
9607
48b67d71
AS
96082011-09-14 Andreas Schwab <schwab@redhat.com>
9609
9610 * elf/rtld.c (dl_main): Also relocate in dependency order when
9611 doing symbol dependency testing.
9612
1ae12c75
AS
96132011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9614
9615 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9616 Always define `refsym'.
9617
995a80df
AS
96182011-09-13 Andreas Schwab <schwab@redhat.com>
9619
e529793b
AS
9620 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9621 (__FD_ELT): Renamed from __FDELT.
9622 * misc/bits/select2.h (__FD_ELT): Likewise.
9623 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9624 __FD_MASK instead of __FDELT, __FDMASK.
9625 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9626 Likewise.
9627 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9628 Likewise.
9629
52d4fef8
AS
9630 * elf/Makefile (gen-ldd): Fix pattern.
9631
995a80df
AS
9632 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9633 (init_tls): Likewise.
9634
8682f8b0
UD
96352011-09-12 Ulrich Drepper <drepper@gmail.com>
9636
9637 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9638
de82006d
AS
96392011-09-12 Andreas Schwab <schwab@redhat.com>
9640
a7c8e6a1
AS
9641 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9642 `struct cmsghdr *' instead of `void *'.
9643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9644 Likewise.
9645
0f31fe77
AS
96462011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9647
9648 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9649 if non-absolute.
9650 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9651 ldd_rewrite_script.
0f31fe77 9652
32b4c839
UD
96532011-09-11 Ulrich Drepper <drepper@gmail.com>
9654
83cd1420
UD
9655 * configure.in: Remove --with-tls option.
9656 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9657 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9658 out in case it is missing.
9659 * sysdeps/ia64/elf/configure.in: Likewise.
9660 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9661 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9662 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9663 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9664 * sysdeps/sh/elf/configure.in: Likewise.
9665 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9666 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9667 * sysdeps/x86_64/elf/configure.in: Likewise.
9668 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9669 * sysdeps/mach/hurd/tls.h: Likewise.
9670
633f745d
UD
9671 [BZ #13067]
9672 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9673
f318beb8
UD
9674 [BZ #13090]
9675 * configure.in: Fix use of AC_INIT.
9676
32b4c839
UD
9677 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9678
3ce1f295
UD
96792011-09-10 Ulrich Drepper <drepper@gmail.com>
9680
bb016596
UD
9681 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9682 __set_errno.
8e58439c
UD
9683 * malloc/hooks.c: Likewise.
9684
aebae053 9685 [BZ #11929]
02d46fc4
UD
9686 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9687 variables statically.
9688 (narenas): Initialize.
9689 (list_lock): Initialize.
bb016596
UD
9690 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9691 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9692 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9693 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9694 Add initializers to main_arena and mp_.
9695 (malloc_state): Remove pagesize member. Change all users to use
9696 GLRO(dl_pagesize).
9697
9698 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9699 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9700 is always initialized.
9701
22a89187
UD
9702 * malloc/malloc.c: Removed unused configurations and dead code.
9703 * malloc/arena.c: Likewise.
9704 * malloc/hooks.c: Likewise.
02d46fc4 9705 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9706
d063d164
UD
9707 * include/tls.h: Removed. USE___THREAD must always be defined.
9708 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9709 * elf/dl-libc.c: Likewise.
9710 * elf/dl-tsd.c: Likewise.
9711 * include/errno.h: Likewise.
9712 * include/netdb.h: Likewise.
9713 * include/resolv.h: Likewise.
9714 * inet/herrno-loc.c: Likewise.
9715 * inet/herrno.c: Likewise.
9716 * malloc/arena.c: Likewise.
9717 * malloc/hooks.c: Likewise.
9718 * malloc/malloc.c: Likewise.
9719 * resolv/res-state.c: Likewise.
9720 * resolv/res_libc.c: Likewise.
9721 * sysdeps/i386/dl-machine.h: Likewise.
9722 * sysdeps/ia64/dl-machine.h: Likewise.
9723 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9724 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9725 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9726 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9727 * sysdeps/sh/dl-machine.h: Likewise.
9728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9729 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9730 * sysdeps/unix/i386/sysdep.S: Likewise.
9731 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9732 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9733 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9734 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9735 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9736 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9737 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9738 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9740 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9741 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9742 * sysdeps/x86_64/dl-machine.h: Likewise.
9743 * tls.make.c: Likewise.
9744
3ce1f295
UD
9745 * configure.in: Remove --with-__thread option. Make tests for
9746 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9747 tls_model attribute fail if no support is available. Remove
9748 USE_IN_LIBIO.
9749 * Makeconfig: Adjust for dropped configure option. All features are
9750 now mandatory.
9751 * Makerules: Likewise.
9752 * Versions.def: Likewise.
9753 * argp/argp-fmtstream.c: Likewise.
9754 * argp/argp-fmtstream.h: Likewise.
9755 * argp/argp-help.c: Likewise.
9756 * assert/assert.c: Likewise.
9757 * config.h.in: Likewise.
9758 * config.make.in: Likewise.
9759 * configure: Likewise.
9760 * configure.in: Likewise.
9761 * csu/Versions: Likewise.
9762 * csu/init.c: Likewise.
9763 * elf/tst-audit2.c: Likewise.
9764 * elf/tst-tls10.c: Likewise.
9765 * elf/tst-tls10.h: Likewise.
9766 * elf/tst-tls11.c: Likewise.
9767 * elf/tst-tls12.c: Likewise.
9768 * elf/tst-tls14.c: Likewise.
9769 * elf/tst-tlsmod11.c: Likewise.
9770 * elf/tst-tlsmod12.c: Likewise.
9771 * elf/tst-tlsmod13.c: Likewise.
9772 * elf/tst-tlsmod13a.c: Likewise.
9773 * elf/tst-tlsmod14a.c: Likewise.
9774 * elf/tst-tlsmod15b.c: Likewise.
9775 * elf/tst-tlsmod16a.c: Likewise.
9776 * elf/tst-tlsmod16b.c: Likewise.
9777 * elf/tst-tlsmod7.c: Likewise.
9778 * elf/tst-tlsmod8.c: Likewise.
9779 * elf/tst-tlsmod9.c: Likewise.
9780 * gmon/gmon.c: Likewise.
9781 * grp/fgetgrent_r.c: Likewise.
9782 * grp/putgrent.c: Likewise.
9783 * hurd/fopenport.c: Likewise.
9784 * include/libc-symbols.h: Likewise.
9785 * include/tls.h: Likewise.
9786 * intl/gettextP.h: Likewise.
9787 * intl/loadinfo.h: Likewise.
9788 * locale/global-locale.c: Likewise.
9789 * locale/localeinfo.h: Likewise.
9790 * mach/devstream.c: Likewise.
9791 * malloc/arena.c: Likewise.
9792 * malloc/set-freeres.c: Likewise.
9793 * misc/err.c: Likewise.
9794 * misc/getttyent.c: Likewise.
9795 * misc/mntent_r.c: Likewise.
9796 * posix/getopt.c: Likewise.
9797 * posix/wordexp.c: Likewise.
9798 * pwd/fgetpwent_r.c: Likewise.
9799 * resolv/Versions: Likewise.
9800 * resolv/res_hconf.c: Likewise.
9801 * shadow/fgetspent_r.c: Likewise.
9802 * shadow/putspent.c: Likewise.
9803 * stdio-common/printf_fphex.c: Likewise.
9804 * stdio-common/tmpfile.c: Likewise.
9805 * stdlib/abort.c: Likewise.
9806 * stdlib/fmtmsg.c: Likewise.
9807 * sunrpc/auth_unix.c: Likewise.
9808 * sunrpc/clnt_perr.c: Likewise.
9809 * sunrpc/clnt_tcp.c: Likewise.
9810 * sunrpc/clnt_udp.c: Likewise.
9811 * sunrpc/clnt_unix.c: Likewise.
9812 * sunrpc/openchild.c: Likewise.
9813 * sunrpc/svc_simple.c: Likewise.
9814 * sunrpc/svc_tcp.c: Likewise.
9815 * sunrpc/svc_udp.c: Likewise.
9816 * sunrpc/svc_unix.c: Likewise.
9817 * sunrpc/xdr.c: Likewise.
9818 * sunrpc/xdr_array.c: Likewise.
9819 * sunrpc/xdr_rec.c: Likewise.
9820 * sunrpc/xdr_ref.c: Likewise.
9821 * sunrpc/xdr_stdio.c: Likewise.
9822
1248c1c4
PB
98232011-09-09 Ulrich Drepper <drepper@gmail.com>
9824
9825 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9826
98272011-07-03 Andreas Jaeger <aj@suse.de>
9828
9829 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9830 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9831 regenerate with gen-libm-tests.pl.
9832
98332010-05-12 Petr Baudis <pasky@suse.cz>
9834
9835 [BZ #11589]
9836 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9837 around j0() zero points by switching to j1().
9838 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9842
f22e1074
UD
98432011-09-09 Ulrich Drepper <drepper@gmail.com>
9844
f19009c1
UD
9845 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9846 instead of 0.
9847 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9848 instead of 0. .
9849 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9850 Patch in part by Pavel Roskin <proski@gnu.org>.
9851
3f8cc204
UD
9852 [BZ #13138]
9853 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9854 realloc.
9855 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9856 Free memory block if necessary.
9857
f22e1074
UD
9858 [BZ #12847]
9859 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9860 be NULL. Don't lock in this case.
9861
0a2349f9
RM
98622011-09-09 Roland McGrath <roland@hack.frob.com>
9863
9864 * elf/elf.h (ELFOSABI_GNU): New macro.
9865 (ELFOSABI_LINUX): Define to that.
9866
f3cdd467
DZ
98672011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9868
9869 * string/strncat.c (strncat): Undef the symbol in case it has been
9870 defined in bits/string.h.
9871
74718d13
UD
98722011-09-09 Ulrich Drepper <drepper@gmail.com>
9873
633e9e0f
UD
9874 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9875
0a2349f9 9876 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9877 link map.
9878
f9924780
AJ
98792011-08-17 Andreas Jaeger <aj@suse.de>
9880
9881 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9882
7f5517aa
PP
98832011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9884 Ian Lance Taylor <iant@google.com>
9885
9886 * math/libm-test.inc (lround_test): New testcase.
9887 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9888
762011fe
UD
98892011-09-08 Ulrich Drepper <drepper@gmail.com>
9890
92963737
UD
9891 * Makefile: Remove support for automatic cvs check-ins.
9892 * Makerules: Likewise.
9893 * config.make.in: Likewise.
9894 * configure.in: Likewise.
9895 * intl/Makefile: Likewise.
9896 * locale/Makefile: Likewise.
9897 * po/Makefile: Likewise.
9898 * posix/Makefile: Likewise.
9899 * sysdeps/gnu/Makefile: Likewise.
9900 * sysdeps/mach/hurd/Makefile: Likewise.
9901 * sysdeps/sparc/sparc32/Makefile: Likewise.
9902
b0727fd8
JS
9903 [BZ #13118]
9904 * posix/Makefile (bug-regex32-ENV): Define.
9905 Patch by John Stanley <jpsinthemix@verizon.net>.
9906
a0f33f99
UD
9907 * misc/Makefile (headers): Add bits/select2.h.
9908 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9909 * misc/bits/select2.h: New file.
9910 * include/bits/select2.h: New file.
9911 * debug/Makefile (routines): Add fdelt_chk.
9912 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9913 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9914 FD_ISSET.
9915 * debug/fdelt_chk.c: New file.
9916
762011fe
UD
9917 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9918 * wcsmbs/test-wmemcmp.c: Likewise.
9919 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9920 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9921
99222011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9923
9924 * string/Makefile (strop-tests): Add memcmp.
9925 * string/test-wmemcmp.c: New file.
9926 * string/test-memcmp.c: Add wmemcmp support.
9927
7f513ec8
RM
99282011-09-08 Roland McGrath <roland@hack.frob.com>
9929
0442afb4
RM
9930 [BZ #13153]
9931 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9932 2011-07-19 change.
9933
7f513ec8
RM
9934 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9935 garbage value in a __mach_port_mod_refs call in the cases of the
9936 task-self and thread-self ports.
9937
a12b2239
ST
99382011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9939
9940 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9941
610f9ab4
AS
99422011-09-08 Andreas Schwab <schwab@redhat.com>
9943
7f513ec8 9944 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9945
48882a1a
LD
99462011-09-07 Ulrich Drepper <drepper@gmail.com>
9947
b49865be
UD
9948 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9949
fdc86bc9
UD
9950 * elf/dl-libc.c (dlerror_run): Pass back error code from
9951 dl_catch_error.
9952
c966526a
UD
9953 [BZ #13123]
9954 * elf/dl-load.c (lose): Free l_origin if it is valid.
9955
48882a1a
LD
9956 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9957 names.
9958 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9959 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9960 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9961 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9962 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9963 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9964
77a2a8b4
AZ
99652011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9966
9967 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9968 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9969 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9970 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9971 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9972 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9973 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9974 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9975 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9976 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9977
24f579d8
AM
99782011-08-15 Alan Modra <amodra@gmail.com>
9979
9980 [BZ #13092]
9981 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9982 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9983 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9984 ppc_mcount to static-only-routines.
9985 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9986 __mcount_internal.
9987 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9988 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9989
3d4837df
UD
99902011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9991
9992 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9993 for finite and infinity parameters.
9994
22700377
WS
99952011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9996
9997 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9998 and add nop instructions for throughput optimization.
9999 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10000
5025581e
WS
100012011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10002
10003 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10004 aligned copy for power7 with vector-scalar instructions.
10005 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10006
08a300c9
L
100072011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10008
10009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10010 AVX check.
10011
59178ef9
AS
100122011-09-07 Andreas Schwab <schwab@redhat.com>
10013
10014 [BZ #13144]
10015 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10016 last change.
10017
e38ba7ab
UD
100182011-09-07 Ulrich Drepper <drepper@gmail.com>
10019
10020 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10021 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10022 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10023 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10024 clock_gettime.
10025
d53a73ac
UD
100262011-09-06 Ulrich Drepper <drepper@gmail.com>
10027
fc8bffcc
UD
10028 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10029 Forgot to demangle the pointer.
10030
ceaa0c5d
UD
10031 * sysdeps/i386/sysdep.h: Define atom_text_section.
10032 * sysdeps/x86_64/sysdep.h: Likewise.
10033 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10034 section with atom_text_section.
10035 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10037 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10038 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10039 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10040
a77d3c17
UD
10041 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10042 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10043 already be defined. Change to take two parameters and don't assign
10044 result to variable. Adjust all users.
10045 Define INTERNAL_GETTIME if not already defined.
10046 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10047 call.
10048 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10049 HAVE_CLOCK_GETTIME_VSYSCALL.
10050 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10051
d53a73ac
UD
10052 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10053 gettimeofday vsyscall, just use time.
10054
a8f84144
AS
100552011-09-06 Andreas Schwab <schwab@redhat.com>
10056
10057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10058 <errno.h>.
10059
ef606249
UD
100602011-09-06 Ulrich Drepper <drepper@gmail.com>
10061
10062 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10063 syscall on x86-64.
10064 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10065 syscall.
10066 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10067 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10068 syscall if possible.
10069
6585cb60
UD
100702011-09-05 Ulrich Drepper <drepper@gmail.com>
10071
10072 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10073 e_ident. Don't pass to find_mapsXX.
10074 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10075
a5f524e4
LD
100762011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10077
10078 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10079 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10080 * sysdeps/x86_64/multiarch/strchr.S: Update.
10081 Check bit_slow_BSF bit.
10082 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10083 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10084 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10085
554881ef
UD
100862011-09-05 Ulrich Drepper <drepper@gmail.com>
10087
d96de963
UD
10088 [BZ #13134]
10089 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10090 before glibc 2.15.
10091 (tryshell): Define.
10092 (__spawni): Change last parameter to be flag. Test
10093 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10094 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10095 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10096 * posix/spawni.c: Likewise.
10097 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10098 * posix/spawnp.c: Likewise. Change normal version to use
10099 SPAWN_XFLAGS_USE_PATH.
10100 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10101 SPAWN_XFLAGS_TRY_SHELL.
10102
d48e5868
UD
10103 [BZ #13150]
10104 * posix/glob.h: Remove gcc 1.x support.
10105
554881ef
UD
10106 [BZ #13068]
10107 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10108
693fb948
LD
101092011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10110
10111 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10112 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10113 strrchr-sse2-bsf
10114 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10115 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10116 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10117 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10118 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10119 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10120
1b48c537
UD
101212011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10122
49d42c37
UD
10123 * sysdeps/x86_64/wcscmp.S: New file.
10124
1b48c537
UD
10125 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10126 wcscmp-c wcscmp-sse2
10127 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10128 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10129 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10130 * wcsmbs/wcscmp.c: Allow renaming.
10131
15c95c5d
DM
101322011-09-05 David S. Miller <davem@davemloft.net>
10133
10134 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10135 stack slot, rather than the struct return pointer slot.
10136 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10137 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10138 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10139 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10140
2f0ad8f3
UD
101412011-09-05 Ulrich Drepper <drepper@gmail.com>
10142
d88ae418
UD
10143 * po/ja.po: Update from translation team.
10144
2f0ad8f3
UD
10145 [BZ #13144]
10146 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10147 kernel in 64-bit binaries.
10148
5f4318d1
DM
101492011-09-01 David S. Miller <davem@davemloft.net>
10150
10151 * elf/elf.h (HWCAP_SPARC_*): Move to..
10152 * sysdeps/sparc/sysdep.h: this new file and add new values.
10153 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10154 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10155 _DL_HWCAP_COUNT to 24.
10156 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10157 entries.
10158 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10159 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10160 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10161 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10162 instead of magic constants.
10163 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10164
3ba57516
DM
101652011-08-31 David S. Miller <davem@davemloft.net>
10166
10167 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10168 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10169 Reimplement to do errno handling inline.
10170 (SYSCALL_ERROR_HANDLER): New macro.
10171 (__SYSCALL_STRING): Do not do errno handling in asm.
10172 (__CLONE_SYSCALL_STRING): Delete.
10173 (__INTERNAL_SYSCALL_STRING): Delete.
10174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10175 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10176 (PSEUDO): Reimplement to do errno handling inline.
10177 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10178 (SYSCALL_ERROR_HANDLER): New macro.
10179 (__SYSCALL_STRING): Do not do errno handling in asm.
10180 (__CLONE_SYSCALL_STRING): Delete.
10181 (__INTERNAL_SYSCALL_STRING): Delete.
10182 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10183 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10184 i386.
10185 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10186 (inline_syscall*): Add 'err' argument.
10187 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10188 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10189 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10190 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10191
10192 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10193 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10194
2bc17433
AS
101952011-08-30 Andreas Schwab <schwab@redhat.com>
10196
10197 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10198
fbeb5f4d
JO
101992011-08-29 Jiri Olsa <jolsa@redhat.com>
10200
10201 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10202 directive.
10203
ad69cc26
DM
102042011-08-24 David S. Miller <davem@davemloft.net>
10205
10206 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10207
39dd69df
AS
102082011-08-24 Andreas Schwab <schwab@redhat.com>
10209
10210 * elf/Makefile: Add rules to build and run unload8 test.
10211 * elf/unload8.c: New file.
10212 * elf/unload8mod1.c: New file.
10213 * elf/unload8mod1x.c: New file.
10214 * elf/unload8mod2.c: New file.
10215 * elf/unload8mod3.c: New file.
10216
10217 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10218 it wasn't used.
10219
2c0b250a
DM
102202011-08-23 David S. Miller <davem@davemloft.net>
10221
10222 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10223 subtract stack bias.
10224 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10225 %sp not %fp in calculations.
10226 (_JMPBUF_UNWINDS_ADJ): Likewise.
10227
22044b48
DM
10228 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10229 (aio_suspend): Call it to force an exception region around the
10230 AIO_MISC_WAIT() invocation.
10231
2cae4995
AS
102322011-08-23 Andreas Schwab <schwab@redhat.com>
10233
10234 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10235 backslash.
10236
873a772e
AJ
102372011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10238
10239 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10240 protection macro.
10241 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10242 and <dl-machine.h>.
10243 (Elf64_FuncDesc): Remove.
10244
25ad0df1
DM
102452011-08-22 David S. Miller <davem@davemloft.net>
10246
10247 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10248 sigaltstack check, add missing cfi directives.
10249 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10250 missing cfi directives, and sigaltstack handling.
10251
e888bcbe
AS
102522011-08-16 Andreas Schwab <schwab@redhat.com>
10253
10254 [BZ #11724]
10255 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10256 object is seen twice.
10257 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10258
10259 * elf/Makefile (distribute): Add tst-initorder2.c.
10260 (tests): Add tst-initorder2.
10261 (modules-names): Add tst-initorder2a tst-initorder2b
10262 tst-initorder2c tst-initorder2d. Add rules to build them.
10263 ($(objpfx)tst-initorder2.out): New rule.
10264 * elf/tst-initorder2.c: New file.
10265 * elf/tst-initorder2.exp: New file.
10266
87162f46
AS
102672011-08-22 Andreas Schwab <schwab@redhat.com>
10268
70538b7f
AS
10269 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10270
f55ffe58
AS
10271 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10272 dependencies back to end of function.
10273
87162f46
AS
10274 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10275 $(elfobjdir)/ld.so.
10276
91b392a4
UD
102772011-08-21 Ulrich Drepper <drepper@gmail.com>
10278
10279 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10280 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10281 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10282 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10283 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10284 of __vdso_gettimeofday.
10285 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10286 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10287 attribute_hidden.
10288 (_libc_vdso_platform_setup): Remove initialization of
10289 __vdso_gettimeofday and __vdso_time.
10290
5c43483f
UD
102912011-08-20 Ulrich Drepper <drepper@gmail.com>
10292
775a77e7
UD
10293 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10294 and fgetc_unlocked.
10295 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10296 getc_unlocked.
89f447ed 10297
49c74ba9
UD
10298 * elf/dl-open.c (add_to_global): Report additions to the global scope
10299 for LD_DEBUG=scopes.
10300 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10301 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10302
5c43483f
UD
10303 [BZ #13114]
10304 * stdio-common/Makefile (tests): Add bug24.
10305 * stdio-common/bug24.c: New file.
10306
a101b025
AJ
103072011-08-19 Andreas Jaeger <aj@suse.de>
10308
10309 [BZ #13114]
10310 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10311 non-existant file when using close-on-exec mode.
10312
c88f1766
UD
103132011-08-20 Ulrich Drepper <drepper@gmail.com>
10314
0276a718
UD
10315 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10316 the very first instruction.
10317
c88f1766
UD
10318 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10319 the CFI state in the end.
10320 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10321 inclusion of dl-trampoline.h.
10322 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10323
51ccffa0
AS
103242011-08-19 Andreas Schwab <schwab@redhat.com>
10325
94d7165f
AS
10326 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10327 expectations for long double.
10328
51ccffa0
AS
10329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10330 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10331
fd708658 103322011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10333
10334 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10335 artificual limit depends upon the system page size.
10336
44f0a71e
UD
103372011-08-17 Ulrich Drepper <drepper@gmail.com>
10338
10339 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10340 * resolv/Makefile: Define CFLAGS-libresolv.
10341
8de79a24
AS
103422011-08-17 Andreas Schwab <schwab@redhat.com>
10343
10344 * nss/makedb.c (compute_tables): Make variables used in nested
10345 function static.
10346
27724598
UD
103472011-08-17 Ulrich Drepper <drepper@gmail.com>
10348
c5305d88
UD
10349 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10350 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10351 if buffer was too small.
10352
27724598
UD
10353 * elf/pldd.c (main): Attach to all threads in the process.
10354 Rewrite /proc handling to use *at functions.
10355
076fe015
UD
103562011-08-16 Ulrich Drepper <drepper@gmail.com>
10357
174baab3
UD
10358 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10359 specifies first scope to show.
10360 (dl_open_worker): Update callers. Move printing scope of new
10361 object to before the relocation.
44f0a71e 10362 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10363 * sysdeps/generic/ldsodefs.h: Update declaration.
10364
076fe015
UD
10365 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10366 string for the scope number.
10367
a60df2c3
UD
103682011-08-14 Ulrich Drepper <drepper@gmail.com>
10369
10370 * nscd/servicescache.c (cache_addserv): Make sure written is always
10371 initialized.
10372
5e4287d1
RM
103732011-08-14 Roland McGrath <roland@hack.frob.com>
10374
85ae0589
RM
10375 * sysdeps/i386/i486/bits/atomic.h
10376 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10377 statement expression, so as to suppress "set but not used" warning.
10378 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10379
69f63097
RM
10380 * string/strncat.c (STRNCAT): Use prototype definition.
10381
675456ef
RM
10382 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10383 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10384 -Iprograms here.
10385 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10386 (localedef-modules): Add localedef.
10387 (locale-modules): Add locale.
10388
5e4287d1
RM
10389 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10390 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10391 to avoid a warning.
10392
9c96ff23
DM
103932011-08-14 David S. Miller <davem@davemloft.net>
10394
10395 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10396 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10397
f9ddf089
UD
103982011-08-13 Ulrich Drepper <drepper@gmail.com>
10399
44f0a71e 10400 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10401 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10402 * elf/rtld.c (dl_main): Set l_name of vDSO.
10403 Call _dl_show_scope when DL_DEBUG_SCOPES.
10404 (process_dl_debug): Recognize scopes flag and also set it for all.
10405 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10406 Declare _dl_show_scope.
10407
1dc27704
UD
10408 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10409 (do_dlopen): Pass caller_dlopen to dl_open.
10410 (__libc_dlopen_mode): Initialize caller_dlopen.
10411
f9ddf089
UD
10412 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10413 of libc. Make tolower call locale-independent. Optimize a bit by
10414 using isdigit instead of isalnum.
10415 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10416
9ac533d3
UD
104172011-08-12 Ulrich Drepper <drepper@gmail.com>
10418
10419 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10420 was a dependency or dynamically loaded.
10421
89edf2e9
UD
104222011-08-11 Ulrich Drepper <drepper@gmail.com>
10423
8e999d29
UD
10424 * intl/l10nflist.c: Allow architecture-specific pop function.
10425 * sysdeps/x86_64/l10nflist.c: New file.
10426
89edf2e9
UD
10427 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10428 classification.
10429
14d96785
AS
104302011-08-10 Andreas Schwab <schwab@redhat.com>
10431
10432 * include/dirent.h: Add libc_hidden_proto for scandirat and
10433 scandirat64. Don't declare __scandirat64.
10434 * dirent/scandirat.c: Add libc_hidden_def.
10435 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10436 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10437
6761ac04
DM
104382011-08-10 David S. Miller <davem@davemloft.net>
10439
10440 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10441 enum.
10442 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10443 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10444 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10445
c55fbd1e
UD
104462011-08-09 Ulrich Drepper <drepper@gmail.com>
10447
10448 * Versions.def [libc]: Add GLIBC_2.15.
10449 * dirent/Makefile (routines): Add scandirat and scandirat64.
10450 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10451 GLIBC_2.15.
10452 * dirent/dirent.h: Declare scandirat and scandirat64.
10453 * dirent/scandirat.c: New file.
10454 * dirent/scandirat64.c: New file.
10455 * sysdeps/wordsize-64/scandirat.c: New file.
10456 * sysdeps/wordsize-64/scandirat64.c: New file.
10457 * dirent/opendir.c: Define opendirat.
10458 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10459 using scandirat.
10460 * dirent/scandir64.c: Adjust for scandir.c change.
10461 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10462 __scandirat64, and __scandir_cancel_handler.
10463 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10464 additional parameter and use openat instead of open (outside of ld.so).
10465 Add new __opendir as wrapper around __opendirat.
10466 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10467 here without requiring old scandirat implementation.
10468
879165f2
UD
104692011-08-08 Ulrich Drepper <drepper@gmail.com>
10470
10471 * dirent/scandir.c (cancel_handler): Renamed to
10472 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10473 defined. Adjust users.
10474 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10475 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10476
cb7e923b
UD
104772011-08-04 Ulrich Drepper <drepper@gmail.com>
10478
16292edd
UD
10479 * string/test-string.h (IMPL): Use __STRING to expand name and then
10480 stringify it.
10481
cb7e923b
UD
10482 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10483 of cleanups.
10484
cff82933
LD
104852011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10486
10487 * string/Makefile: Update.
10488 (strop-tests): Append strncat.
10489 * string/test-wcscmp.c: New file.
10490 New comprehensive test for wcscmp.
10491 * string/test-strcmp.c: Update.
10492 (WIDE): New define.
10493
9be9bfcc
AS
104942011-07-22 Andreas Schwab <schwab@redhat.com>
10495
10496 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10497 line.
10498
2e96f1c7
AS
104992011-07-26 Andreas Schwab <schwab@redhat.com>
10500
10501 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10502 encoding to ACE if AI_IDN.
10503
85188888
JJ
105042011-08-01 Jakub Jelinek <jakub@redhat.com>
10505
10506 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10507 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10508
5fa16e9b
LD
105092011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10510
10511 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10512 Fix overflow bug in strncat.
10513 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10514
10515 * string/test-strncat.c: Update.
10516 Add new tests for checking overflow bugs.
10517
105182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10519
10520 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10521 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10522 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10523 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10524 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10525 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10526 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10527 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10528 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10529
10530 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10531 (USE_AS_STRCAT): Define.
10532 Add strcat and strncat support.
10533 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10534
8c1a459f
AS
105352011-07-25 Andreas Schwab <schwab@redhat.com>
10536
10537 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10538 __n bigger than INT_MAX+1.
10539 (__strncmp_g): Likewise.
10540
bba33c28
UD
105412011-07-23 Ulrich Drepper <drepper@gmail.com>
10542
798be72d
UD
10543 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10544 * libio/stido.h: Likewise.
10545
8accd4dc
UD
10546 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10547 (AF_NFC): Define.
10548 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10549 (AF_NFC): Define.
10550
cbff0d96
UD
10551 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10552 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10553 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10554 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10555 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10556
9191c04a
UD
10557 [BZ #13021]
10558 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10559 installed.
10560
bba33c28
UD
10561 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10562 typo.
10563 (_dl_x86_64_save_sse): Likewise.
10564
90f139dd
UD
105652011-07-22 Ulrich Drepper <drepper@gmail.com>
10566
1aae088a
UD
10567 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10568 OSXSAVE.
10569 (_dl_x86_64_save_sse): Likewise.
10570
8e2045f5
UD
10571 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10572
90f139dd
UD
10573 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10574
1d002f25
AS
105752011-07-21 Andreas Schwab <schwab@redhat.com>
10576
10577 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10578 change.
10579 (_dl_x86_64_save_sse): Use correct AVX check.
10580
21137f89
UD
105812011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10582
10583 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10584 bug in strncpy/strncat.
10585 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10586
a65c0b7a
UD
105872011-07-21 Ulrich Drepper <drepper@gmail.com>
10588
10589 * string/tester.c (test_strcat): Add tests for different alignments
10590 of source and destination.
10591 (test_strncat): Likewise.
10592
6986b98a
UD
105932011-07-20 Ulrich Drepper <drepper@gmail.com>
10594
90bb2039
UD
10595 [BZ #12852]
10596 * posix/glob.c (glob): Check passed in values before using them in
10597 expressions to avoid some overflows.
10598 (glob_in_dir): Likewise.
10599
5644ef54
UD
10600 [BZ #13007]
10601 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10602 check for AVX enablement so that we don't crash with old kernels and
10603 new hardware.
10604 * elf/tst-audit4.c: Add same checks here.
10605 * elf/tst-audit6.c: Likewise.
10606
10607 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10608
bfc9dc9b
AS
106092011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10610
10611 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10612
702e64bb
UD
106132011-07-20 Ulrich Drepper <drepper@gmail.com>
10614
10615 * po/cs.po: Update from translation team.
10616 * po/bg.po: Likewise.
10617
295e904f
MP
106182011-07-12 Marek Polacek <mpolacek@redhat.com>
10619
10620 * misc/sys/cdefs.h: Add support for const attribute.
10621 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10622 to gnu_dev_{major,minor,makedev} functions.
10623
3ff94596
MP
106242011-07-20 Marek Polacek <mpolacek@redhat.com>
10625
10626 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10627
28b59fca
AS
106282011-07-20 Andreas Schwab <schwab@redhat.com>
10629
10630 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10631 strlen results.
10632
19df733e
AK
106332011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10634
10635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10636 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10637 register in order to avoid conflicts with the soft frame pointer
10638 being held in r11 when necessary.
10639 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10640 (INTERNAL_VSYSCALL_NCS): Likewise.
10641
c8835729
MP
106422011-07-14 Marek Polacek <mpolacek@redhat.com>
10643
10644 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10645 * elf/dl-fini.c (_dl_fini): Adjust caller.
10646 * elf/dl-close.c (_dl_close_worker): Likewise.
10647 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10648
b902330c
MP
106492011-07-15 Marek Polacek <mpolacek@redhat.com>
10650
8991e135
MP
10651 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10652 "aux_cache->nlibs < 0".
10653
b902330c
MP
10654 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10655 in the reload-count case.
10656
99710781
LD
106572011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10658
10659 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10660 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10661 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10662 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10663 * sysdeps/x86_64/multiarch/strcat.S: New file.
10664 * sysdeps/x86_64/multiarch/strncat.S: New file.
10665 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10666 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10667 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10668 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10669 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10670 (USE_AS_STRCAT): Define.
10671 Add strcat and strncat support.
10672 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10674 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10675 * string/strncat.c: Update.
10676 (USE_AS_STRNCAT): Define.
10677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10678 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10679 and i7.
10680 * sysdeps/x86_64/multiarch/init-arch.h
10681 (bit_Prefer_PMINUB_for_stringop): New.
10682 (index_Prefer_PMINUB_for_stringop): Likewise.
10683 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10684 bit_Prefer_PMINUB_for_stringop.
10685
7dc6bd90
UD
106862011-07-19 Ulrich Drepper <drepper@gmail.com>
10687
10688 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10689 buffer64.
10690 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10691 of casting of buffer.
10692 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10693 buffer32 and buffer64.
10694 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10695 writes instead of casting of buffer.
10696 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10697 buffer32.
10698 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10699 casting of buffer.
10700
e0e72284
AS
107012011-07-19 Andreas Schwab <schwab@redhat.com>
10702
10703 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10704
feb1eb0b
UD
107052011-07-19 Ulrich Drepper <drepper@gmail.com>
10706
10707 * nscd/nscd.c (termination_handler): Don't do anything for a database
10708 if it has not yet been initialized.
10709
298711ff
UD
107102011-07-18 Ulrich Drepper <drepper@gmail.com>
10711
10712 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10713
107142011-07-15 Marek Polacek <mpolacek@redhat.com>
10715
10716 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10717
f9d68389
UD
107182011-07-18 Ulrich Drepper <drepper@gmail.com>
10719
10720 * po/nl.po: Update from translation team.
10721 * po/sv.po: Likewise.
10722
db290cf5
RM
107232011-07-16 Roland McGrath <roland@hack.frob.com>
10724
10725 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10726 now disallowed by GCC.
5c550700 10727
fd5e21c7
RM
10728 * configure.in (use-default-link): Default to yes if a test -shared
10729 link meets our qualifications.
10730 * configure: Regenerated.
10731
5c550700
RM
10732 * config.make.in (output-format): New variable.
10733 * configure.in: Check for ld --print-output-format support.
10734 * configure: Regenerated.
10735 * Makerules ($(common-objpfx)format.lds)
10736 [$(output-format) != unknown]: Just use $(output-format),
10737 instead of the linker-script munging.
10738
9fa2c032
RM
107392011-07-14 Roland McGrath <roland@hack.frob.com>
10740
a6928d51
RM
10741 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10742 of $(common-objpfx)shlib.lds.
10743 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10744
661607b3
RM
10745 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10746 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10747
9fa2c032
RM
10748 * configure.in (-z relro check): Adjust test code to add a large
10749 writable data section after it.
10750 * configure: Regenerated.
10751
defe9061
RM
107522011-07-11 Roland McGrath <roland@hack.frob.com>
10753
10754 * configure.in (-z relro check): Fix test code to make the variable
10755 truly const.
10756 * configure: Regenerated.
10757
319b9ad4
UD
107582011-07-11 Ulrich Drepper <drepper@gmail.com>
10759
10760 * nscd/nscd.h (struct traced_file): Define.
10761 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10762 elements. Add traced_files.
10763 (inotify_fd): Declare.
10764 (register_traced_file): Declare.
10765 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10766 (inotify_fd): Export.
10767 (resolv_conf_descr): Remove.
10768 (nscd_init): Move inotify descriptor creation to main.
10769 Don't register files for notification here.
10770 (register_traced_file): New function.
10771 (invalidate_cache): Don't use reset_res to determine whether to call
10772 res_init, go through the list of registered files.
10773 (main_loop_poll): The inotify descriptors are now stored in the
10774 structures for the traced files.
10775 (main_loop_epoll): Likewise
10776 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10777 to __nss_disable_nscd.
10778 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10779 for a database anymore. Check the records for all the registered
10780 files instead.
10781 * nss/Makefile (libnss_files-routines): Add files-init.
10782 (libnss_db-routines): Add db-init.
10783 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10784 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10785 * nss/nss_db/db-init.c: New file.
10786 * nss/nss_files/files-init.c: New file.
10787 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10788 __nss_lookup_function.
10789 (__nss_lookup_function): Call nss_load_library.
10790 (nss_load_all_libraries): New function.
10791 (__nss_disable_nscd): Take parameter with callback function for files
10792 to register. Set is_nscd. Load all the DSOs for the NSS modules
10793 used for the cached services.
10794 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10795 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10796 options for features to all the files in nscd.
10797
10798 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10799
23bee3e8
RM
108002011-07-10 Roland McGrath <roland@hack.frob.com>
10801
10802 * csu/elf-init.c (__libc_csu_init): Comment typo.
10803
46a5b7f0
UD
108042011-07-09 Ulrich Drepper <drepper@gmail.com>
10805
10806 * po/pl.po: Update from translation team.
10807 * po/ja.po: Likewise.
10808 * po/ru.po: Likewise.
10809 * po/ko.po: Likewise.
10810 * po/fr.po: Likewise.
10811
d30cf5bb
RM
108122011-07-09 Roland McGrath <roland@hack.frob.com>
10813
113ddea4
RM
10814 * configure.in (.ctors/.dtors header and trailer check):
10815 Use an empirical test on a built program.
10816 * configure: Regenerated.
10817
574920b4
RM
10818 * configure.in (-z relro check): Use an empirical test on a built DSO.
10819 Detect, but do not require, on ia64.
10820 * configure: Regenerated.
10821
d30cf5bb
RM
10822 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10823 Update tests that use readelf to use $READELF instead.
10824 * configure: Regenerated.
10825
8538fdb3
UD
108262011-07-08 Ulrich Drepper <drepper@gmail.com>
10827
10828 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10829 if the result is not used.
10830
04d08991
AJ
108312011-07-05 Andreas Jaeger <aj@suse.de>
10832
10833 [BZ#9696]
10834 * stdlib/tst-strtod.c: Add testcase.
10835
de283087
AD
108362011-07-07 Ulrich Drepper <drepper@gmail.com>
10837
4e5f31c8 10838 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10839 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10840 The latter has a higher limit. Take additional parameter to pass to
10841 the new function.
10842 (__pathconf): Pass file to __statfs_link_max.
10843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10844 __statfs_link_max.
10845 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10846 __statfs_link_max.
10847
de283087
AD
10848 [BZ #12868]
10849 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10850 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10851 Handle Lustre.
10852 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10853 (__statfs_filesize_max): Likewise.
10854 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10855
c75fa153
AJ
108562011-07-05 Andreas Jaeger <aj@suse.de>
10857
10858 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10859
1a544854
UD
108602011-07-06 Marek Polacek <mpolacek@redhat.com>
10861
10862 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10863 `status' variable.
10864 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10865 Likewise.
10866
6f0eec67
UD
108672011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10868
10869 * Makefile (strop-tests): Add strncat.
10870 * string/test-strncat.c: New file.
10871
aae30307
UD
108722011-06-30 Marek Polacek <mpolacek@redhat.com>
10873
10874 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10875
c0cfb5eb
UD
108762011-06-21 Andreas Jaeger <aj@suse.de>
10877
10878 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10879 Copy rule from iconvdata/Makefile.
10880
01636b21
UD
108812011-07-06 Ulrich Drepper <drepper@gmail.com>
10882
10883 [BZ #12922]
10884 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10885 but no long options are defined, just return 'W'.
10886
9895c8bc
UD
108872011-06-22 Marek Polacek <mpolacek@redhat.com>
10888
10889 [BZ #9696]
10890 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10891
5d4cf042
UD
108922011-07-06 Ulrich Drepper <drepper@gmail.com>
10893
10894 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10895 netgroups to read.
960e5535 10896 (innetgr): Likewise.
5d4cf042 10897
751eb97e
RM
108982011-07-05 Roland McGrath <roland@hack.frob.com>
10899
10900 * config.make.in (install_root): Default to $(DESTDIR).
10901
f15f1e45
UD
109022011-07-05 Ulrich Drepper <drepper@gmail.com>
10903
10904 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10905
4e34ac6a
RM
109062011-07-02 Roland McGrath <roland@hack.frob.com>
10907
5e9b6af4
RM
10908 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10909
84f9ea0f
RM
10910 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10911 containing directory rather than embedding absolute directory names.
10912
ea5ee9f7
RM
10913 * scripts/check-local-headers.sh: Rewritten using awk.
10914 Match by word, not by line. Print error messages for matches.
10915 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10916
1b74661a
RM
10917 * Makerules [shlib-lds-flags empty]:
10918 ($(common-objpfx)libc_pic.opts): New target.
10919 ($(common-objpfx)libc_pic.os.clean): New target.
10920 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10921
10922 * config.make.in (OBJCOPY): New variable.
10923 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10924 * configure: Regenerated.
10925
f781ef40
RM
10926 * config.make.in (use-default-link): New variable.
10927 * configure.in (use_default_link): Grok --with-default-link to set it.
10928 * configure: Regenerated.
10929 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10930 (shlib-lds, shlib-lds-flags): Define to empty.
10931
2d4fa81e
RM
10932 * Makerules (shlib-lds): New variable.
10933 (shlib-lds-flags): New variable.
10934 (build-shlib, build-moduile, build-module-asneeded): Use it.
10935 ($(common-objpfx)libc.so): Use $(shlib-lds).
10936 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10937 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10938
31fffa6b
RM
10939 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10940 DT_FLAGS/DT_FLAGS_1 with zero flags.
10941
4e34ac6a
RM
10942 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10943 linker script munging.
10944
fcfc776b
UD
109452011-07-02 Ulrich Drepper <drepper@gmail.com>
10946
10947 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10948 as 128-bit value.
10949 * crypt/sha512.c (sha512_process_block): Perform total addition using
10950 128-bit if possible.
10951 (__sha512_finish_ctx): Likewise.
10952 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10953 as 64-bit value.
10954 * crypt/sha256.c (SWAP64): Define.
10955 (sha256_process_block): Perform total addition using 64-bit if
10956 possible.
10957 (__sha256_finish_ctx): Likewise.
10958
99231d9a
UD
109592011-07-01 Ulrich Drepper <drepper@gmail.com>
10960
10961 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10962 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10963 * nscd/hstcache.c (cache_addhst): Likewise.
10964 * nscd/grpcache.c (cache_addgr): Likewise.
10965 * nscd/aicache.c (addhstaiX): Likewise
10966 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10967
445b4a53
TK
109682011-07-01 Thorsten Kukuk <kukuk@suse.de>
10969
10970 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10972 * nscd/hstcache.c (cache_addhst): Likewise.
10973 * nscd/grpcache.c (cache_addgr): Likewise.
10974 * nscd/aicache.c (addhstaiX): Likewise
10975
6d4d8e8e
AS
109762011-07-01 Andreas Schwab <schwab@redhat.com>
10977
10978 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10979 domain only when needed.
10980
89f654c5
AS
109812011-06-30 Andreas Schwab <schwab@redhat.com>
10982
10983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10984 is always restored.
10985
cf3b23ff
UD
109862011-06-29 Ulrich Drepper <drepper@gmail.com>
10987
10988 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10989 are re-adding the entry.
10990 * nscd/servicescache.c (cache_addserv): Likewise.
10991
751626f9
AJ
109922011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10993
10994 * sysdeps/generic/dl-irel.h: fix protection against multiple
10995 inclusions.
10996 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10997
9113ea1f
UD
109982011-06-28 Ulrich Drepper <drepper@gmail.com>
10999
5c0b8d90
UD
11000 [BZ #12935]
11001 * malloc/memusage.sh: Fix quoting in message.
11002 * debug/xtrace.sh: Likewise.
11003
9113ea1f
UD
11004 * configure.in: Remove support for --experimental-malloc option, make
11005 it the default.
11006 * config.make.in: Likewise.
11007 * malloc/Makefile: Likewise.
11008
a4172181
AS
110092011-06-27 Andreas Schwab <schwab@redhat.com>
11010
11011 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11012 two-byte characters.
11013
78a7eee7
RM
110142011-06-27 Roland McGrath <roland@hack.frob.com>
11015
62bede13
RM
11016 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11017 AC_CACHE_CHECK invocation.
11018 * configure: Regenerated.
11019
78a7eee7
RM
11020 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11021
5ce33a62
UD
110222011-06-27 Ulrich Drepper <drepper@gmail.com>
11023
034807a9
UD
11024 [BZ #12350]
11025 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11026 bit from old_res_options.
11027
4902da17
UD
11028 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11029
5ce33a62
UD
11030 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11031 value type for setfct.
11032
c2344f56
L
110332011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11034
11035 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11036 __gettimeofday instead of gettimeofday.
11037
68468076
UD
110382011-06-26 Ulrich Drepper <drepper@gmail.com>
11039
11040 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11041
acb0d739
L
110422011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11043
11044 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11045
11046 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11047 info.
11048
8912479f
L
110492011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11050
11051 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11052 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11053 strcpy-sse2-unaligned strncpy-sse2-unaligned
11054 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11055 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11056 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11057 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11058 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11059 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11060 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11061 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11062 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11063 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11064 (STRCPY): Support SSE2 and SSSE3 versions.
11065
d5495a11
UD
110662011-06-24 Ulrich Drepper <drepper@gmail.com>
11067
11068 [BZ #12874]
11069 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11070 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11071 kernels which artificially limit size of requests.
11072
0b1cbaae
L
110732011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11076 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11077 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11078 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11079 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11080 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11081 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11082 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11083 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11084 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11085 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11086 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11087 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11088 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11089 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11091 Enable unaligned load optimization for Intel Core i3, i5 and i7
11092 processors.
11093 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11094 Define.
11095 (index_Fast_Unaligned_Load): Define.
11096 (HAS_FAST_UNALIGNED_LOAD): Define.
11097
07f494a0
MP
110982011-06-23 Marek Polacek <mpolacek@redhat.com>
11099
11100 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11101
fa3fc0fe
UD
111022011-06-22 Ulrich Drepper <drepper@gmail.com>
11103
11104 [BZ #12907]
11105 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11106 until it is clear that the information is realy needed.
11107 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11108
e12df166
AS
111092011-06-22 Andreas Schwab <schwab@redhat.com>
11110
11111 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11112
852eb34d
UD
111132011-06-22 Ulrich Drepper <drepper@gmail.com>
11114
84e2a551
UD
11115 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11116 /sys/devices/system/cpu/online if it is usable.
11117
852eb34d
UD
11118 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11119 reading the information from the /proc filesystem to once a second.
11120
6e502e19
UD
111212011-06-21 Andreas Jaeger <aj@suse.de>
11122
11123 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11124 NULL after inclusion of kernel headers.
11125
75d39ff2
UD
111262011-06-21 Ulrich Drepper <drepper@gmail.com>
11127
51f9aa6a
UD
11128 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11129 calls to internal_setent.
11130
c0244a9d
UD
11131 [BZ #12885]
11132 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11133 addresses using gethostbyname4_r ignore IPv4 addresses.
11134
c5e3c2ae
UD
11135 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11136 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11137
75d39ff2
UD
11138 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11139
42675c6f
DM
111402011-06-20 David S. Miller <davem@davemloft.net>
11141
11142 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11143 inclusions.
11144 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11145
11146 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11147 (elf_irel): Use it.
11148 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11149 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11150 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11151 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11152 * sysdeps/x86_64/dl-irel.h: Likewise.
11153
11154 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11155 * elf/dl-sym.c: Likewise.
11156
57912a71
UD
111572011-06-15 Ulrich Drepper <drepper@gmail.com>
11158
11159 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11160 need to dereference resplen2.
11161
ee22793d
AS
111622011-06-14 Andreas Schwab <schwab@redhat.com>
11163
11164 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11165
a9e836b0
UD
111662011-06-15 Ulrich Drepper <drepper@gmail.com>
11167
77fb9117
UD
11168 * Makeconfig: Define vardbdir and inst_vardbdir.
11169 * nss/Makefile: Add rules to install db-Makefile.
11170
40c1b22c
UD
11171 * nss/nss_db/db-XXX.c: Cleanup.
11172
9f2da732
UD
11173 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11174 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11175 GLIBC_PRIVATE.
11176 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11177 * nss/makedb.c: Implement -g option to specify that value strings
11178 are generated and should not be added to table iterated over for
11179 get*ent calls.
11180 * nss/nss_db/db-initgroups.c: New file.
11181
82e9a1f7
UD
11182 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11183 interface.
11184
c41af17e
UD
11185 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11186 (internal_getgrouplist): Adjust to name change.
11187 Update use_initgroups_entry if this is not the first call.
11188 * nss/databases.def: Add initgroups entry.
11189
a9e836b0
UD
11190 * nss/makedb.c (compute_tables): Check result of multiple hash table
11191 sizes to minimize maximum chain length.
11192
2666d441
UD
111932011-06-14 Ulrich Drepper <drepper@gmail.com>
11194
11195 * Versions.def: Add entry for libnss_db.
11196 * shlib-versions: Likewise.
11197 * nss/Makefile: Add rules to build libnss_db.
11198 * nss/Versions: Add libnss_db information. Organize libnss_files
11199 entries better.
11200 * nss/db-Makefile: Add gshadow support. Change rules for the new
11201 makedb progra. Some minor improvements to generate smaller files.
11202 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11203 here from...
11204 * nss/makedb.c: ...here.
11205 Improve database format to be smaller and require less memory at
11206 runtime.
11207 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11208 db anymore.
11209 * nss/nss_db/db-netgrp.c: Likewise.
11210 * nss/nss_db/db-open.c: Likewise.
11211 * nss/nss_files/flies-XXX.x: Adjust comments.
11212 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11213 * nss/nss_files/files-grp.c: Likewise.
11214 * nss/nss_files/files-hosts.c: Likewise.
11215 * nss/nss_files/files-network.c: Likewise.
11216 * nss/nss_files/files-proto.c: Likewise.
11217 * nss/nss_files/files-pwd.c: Likewise.
11218 * nss/nss_files/files-rpc.c: Likewise.
11219 * nss/nss_files/files-service.c: Likewise.
11220 * nss/nss_files/files-sgrp.c: Likewise.
11221 * nss/nss_files/files-spwd.c: Likewise.
11222 * nss/nss_db/db-alias.c: Removed.
11223 * nss/nss_db/dummy-db.h: Removed.
11224
9ee76b5a
UD
112252011-06-02 Ulrich Drepper <drepper@gmail.com>
11226
11227 * nss/makedb.c: Rewritten to not use database library.
11228 * nss/Makefile: Update to build new makedb program.
11229
c71ca1f8
AJ
112302011-06-14 Andreas Jaeger <aj@suse.de>
11231
11232 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11233 memset declaration.
11234
3154bfb8
UD
112352011-06-10 Andreas Schwab <schwab@redhat.com>
11236
11237 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11238 tmpbuf.
11239
b350afab
RM
112402011-06-10 Roland McGrath <roland@hack.frob.com>
11241
decd4e50
RM
11242 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11243 * elf/Makefile ($(objpfx)ld.so): Likewise.
11244
5615eaf2
RM
11245 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11246 Don't list ld.so twice in dependencies.
11247
11248 * posix/bug-regex31.c: Include <stdlib.h>.
11249
11250 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11251
11252 * nis/nss_compat/compat-spwd.c
11253 (getspent_next_nss_netgr): Remove unused variable.
11254 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11255
11256 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11257 nonmembers" output to use the right array.
11258
11259 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11260
11261 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11262
11263 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11264 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11265 * catgets/gencat.c (read_input_file): Likewise.
11266 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11267
11268 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11269 variable definition inside #if's controlling its use.
11270
11271 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11272
11273 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11274
11275 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11276
11277 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11278 unreachable code.
11279
11280 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11281
b68e08db
RM
11282 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11283 * configure: Regenerated.
11284
b350afab
RM
11285 * Makerules: Revert last change.
11286 * elf/Makefile: Likewise.
11287
28368601
RM
112882011-06-09 Roland McGrath <roland@hack.frob.com>
11289
11290 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11291 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11292 (reloc-link): Likewise.
11293
11988f8f
UD
112942011-06-09 Ulrich Drepper <drepper@gmail.com>
11295
11296 * elf/Makefile: Add rules to build pldd.
11297 * elf/pldd.c: New file.
11298 * elf/pldd-xx.c: New file.
11299
e80fab37
UD
113002011-06-07 Ulrich Drepper <drepper@gmail.com>
11301
11302 * version.h: Update for 2.15 development version.
11303
9b849836
DM
113042011-06-07 David S. Miller <davem@davemloft.net>
11305
11306 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11307 ifuncs.
11308 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11309 elf_machine_lazy_rel): Likewise.
11310 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11311 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11312 elf_machine_lazy_rel): Likewise.
11313 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11314 dl_hwcap via passed in argument.
11315 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11316 Likewise.
11317
5a31b283
AK
113182011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11319
11320 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11321
069e52f8
RM
113222011-06-06 Roland McGrath <roland@hack.frob.com>
11323
11324 [BZ #12849]
11325 * manual/fdl-1.1.texi: New file, verbatim from:
11326 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11327 * manual/lgpl-2.1.texi: New file, verbatim from:
11328 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11329 * manual/Makefile (licenses): New variable, list those new file names.
11330 (texis): Use it.
11331 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11332
11333 * manual/fdl.texi: File removed.
11334 * manual/lesser.texi: File removed.
11335 * manual/libc.texinfo (Copying, Documentation License):
11336 Use new @include file names, put @appendix directive before @include.
11337
f16846a5
JJ
113382011-06-04 Jakub Jelinek <jakub@redhat.com>
11339
11340 [BZ #12841]
11341 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11342 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11343 (mq_open): Add __NTH.
11344
3d29045b
L
113452011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11348 Assume Intel Core i3/i5/i7 processor if AVX is available.
11349
8c297311
UD
113502011-05-31 Ulrich Drepper <drepper@gmail.com>
11351
11352 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11353 typo.
11354
c8fc0c91
UD
113552011-05-31 Andreas Schwab <schwab@redhat.com>
11356
11357 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11358 memory. Use alloca_account. Fix memory leak when retrying.
11359
5b27a807
UD
113602011-05-31 Ulrich Drepper <drepper@gmail.com>
11361
356f8bc6
UD
11362 * version.h (RELEASE): Bump for 2.14 release.
11363 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11364
5b27a807
UD
11365 * config.make.in (RANLIB): Remove entry.
11366
01f16ab0
UD
113672011-05-30 Ulrich Drepper <drepper@gmail.com>
11368
41fce8bd
UD
11369 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11370 (libc.pot): Work around missing support for .ksh extension in xgettext.
11371
4769ae77
UD
11372 [BZ #12684]
11373 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11374 if both request failed.
11375 (send_dg): In case of server errors clear resplen or *resplen2.
11376
6b1e7d19
UD
11377 [BZ #12454]
11378 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11379 when there are multiple maps.
11380 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11381 (_dl_fini): Remove test here.
11382
01f16ab0
UD
11383 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11384
b1ebd700
UD
113852011-05-29 Ulrich Drepper <drepper@gmail.com>
11386
7ae22829
UD
11387 [BZ #12350]
11388 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11389 bit from old_res_options.
11390 (gaih_inet): Likewise.
11391
553149f6 11392 [BZ #11099]
18a84741 11393 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11394 as signed.
11395
652ffab1
UD
11396 * resolv/res_init.c (res_setoptions): Make the code more compact.
11397
16985fd0
UD
11398 [BZ #11558]
11399 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11400 set RES_USEVC.
11401
0464f746
UD
11402 [BZ #11634]
11403 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11404
7d17596c
UD
11405 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11406
cf6bbbd7
UD
11407 [BZ #11781]
11408 * malloc/malloc.h: Declare malloc hook variables as volatile.
11409
13f1ab36
UD
11410 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11411 in last patch.
11412
b1ebd700
UD
11413 [BZ #11799]
11414 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11415 raise in the comment.
80e2212d
UD
11416 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11417 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11418 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11419
ce67228d
UD
114202011-05-28 Ulrich Drepper <drepper@gmail.com>
11421
8887a920
UD
11422 [BZ #12811]
11423 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11424 grow the buffers more if it already has to be sufficient.
11425 (build_wcs_upper_buffer): Likewise.
11426 * posix/regexec.c (check_matching): Likewise.
11427 (clean_state_log_if_needed): Likewise.
11428 (extend_buffers): Don't enlarge buffers beyond size of the input
11429 buffer.
11430 Patches mostly by Emil Wojak <emil@wojak.eu>.
11431 * posix/bug-regex32.c: New file.
11432 * posix/Makefile (tests): Add bug-regex32.
11433
4f031072
UD
11434 * locale/findlocale.c (_nl_find_locale): Return right away if
11435 _nl_explode_name failed.
11436 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11437
d0478f0c
UD
11438 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11439
de81b246
UD
11440 * debug/xtrace.sh: Unify messages.
11441 * malloc/memusage.sh: Likewise.
11442
c738465a
UD
11443 [BZ #12813]
11444 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11445 time symbol from vDSO. Substitute with vsyscall if not available.
11446 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11447 __vdso_time.
11448
f1f929d7
UD
11449 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11450 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11451 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11452 Add sendmmsg and internal_sendmmsg.
11453 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11454 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11455 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11456
ce67228d
UD
11457 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11458 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11459 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11460
e57420c6
UD
114612011-05-27 Ulrich Drepper <drepper@gmail.com>
11462
a8509ca5
UD
11463 [BZ #12813]
11464 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11465 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11466 available.
11467 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11468 __vdso_getcpu.
11469
e57420c6
UD
11470 [BZ #12814]
11471 * iconvdata/Makefile (tests): Add bug-iconv9.
11472 * iconvdata/bug-iconv9.c: New file.
11473
4d07db15
AS
114742011-05-27 Andreas Schwab <schwab@redhat.com>
11475
11476 [BZ #12814]
11477 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11478
ea486f69
JJ
114792011-05-25 Jakub Jelinek <jakub@redhat.com>
11480
11481 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11482 (struct user_regs_struct): Change intcs field back to cs.
11483
6f038433
UD
114842011-05-25 Ulrich Drepper <drepper@gmail.com>
11485
11486 * po/ja.po: Update from translation team.
11487
67f86a25
UD
114882011-05-23 Ulrich Drepper <drepper@gmail.com>
11489
11490 [BZ #12795]
11491 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11492 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11493
def7fbd6
AS
114942011-05-20 Andreas Schwab <schwab@redhat.com>
11495
11496 * stdlib/longlong.h: Update from GCC.
11497
f50ef8f1
AS
114982011-05-23 Andreas Schwab <schwab@redhat.com>
11499
11500 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11501 parameter name.
11502 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11503 Add parameter name.
11504 (__sysconf): Pass it down.
11505
de7ce8f1
UD
115062011-05-22 Ulrich Drepper <drepper@gmail.com>
11507
f2962a71
UD
11508 [BZ #12671]
11509 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11510 some situations.
11511 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11512 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11513 add in in __libc_use_alloca calls. Adjust callers.
11514 (glob): Use malloc in some situations.
11515
de7ce8f1
UD
11516 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11517 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11518 pltexit.
11519
aec84f53
UD
115202011-05-21 Ulrich Drepper <drepper@gmail.com>
11521
05bb4a68
UD
11522 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11523 and CLOCK_BOOTTIME_ALARM.
11524
7ea72f99
UD
11525 [BZ #12782]
11526 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11527 is returned.
11528
7e4afad5
UD
11529 * string/_strerror.c (__strerror_r): Print negative errors as signed
11530 numbers.
11531
8e211fec
UD
11532 [BZ #12777]
11533 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11534 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11535 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11536
f7d82dc9
UD
11537 * configure.in: Fix typo in redirection and correct removal of test
11538 files in two cases.
11539
cc9e536d
UD
11540 [BZ #12788]
11541 * locale/setlocale.c (new_composite_name): Fix test to check for
11542 identical name of all categories.
11543
aec84f53
UD
11544 [BZ #12792]
11545 * libio/filedoalloc.c (local_isatty): New function.
11546 (_IO_file_doallocate): Use local_isatty.
11547 * stdio-common/perror.c (perror): In case a new stream is used
11548 forward the stream error.
11549 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11550 error flag.
11551
78e64fdc
RT
115522011-05-20 Ulrich Drepper <drepper@gmail.com>
11553
34a9094f
UD
11554 [BZ #11869]
11555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11556 alloca.
11557 * include/alloca.h (extend_alloca_account): Define.
11558
78e64fdc
RT
11559 [BZ #11857]
11560 * posix/regex.h: Fix comments with documentation of user-accessible
11561 fields after compilation and describe correct free'ing of pattern
11562 after re_compile_pattern.
11563 Patch by Reuben Thomas <rrt@sc3d.org>.
11564
457bddfc
RA
115652011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11566
11567 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11568 and -mno-altivec to prevent the compiler from using Altivec and/or
11569 VSX instructions when the corresponding registers are not available.
11570
a4527b51
AS
115712011-05-19 Andreas Schwab <schwab@redhat.com>
11572
11573 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11574
ed690b2f
UD
115752011-05-19 Ulrich Drepper <drepper@gmail.com>
11576
11577 * libio/freopen.c (freopen): Use __dup2, not dup2.
11578 * libio/freopen64.c (freopen64): Likewise.
11579
8db73634
L
115802011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11581
11582 [BZ #12775]
11583 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11584 * math/Makefile (tests): Add test-powl.
11585 (CFLAGS-test-powl.c): Define.
11586 * math/test-powl.c: New file.
11587
0a197a9d
L
115882011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11589
11590 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11591
ee30c380
UD
115922011-05-17 Ulrich Drepper <drepper@gmail.com>
11593
11594 [BZ #11837]
11595 * iconvdata/gb18030.c: Update to GB18020-2005.
11596
6ce75379
UD
115972011-05-16 Ulrich Drepper <drepper@gmail.com>
11598
a4b89fd8
AR
11599 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11600 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11601 Patch by Aharon Robbins <arnold@skeeve.com>.
11602
ea389b12
UD
11603 [BZ #11892]
11604 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11605 on the stack.
11606
68a3f91f
UD
11607 [BZ #11895]
11608 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11609 through underflows.
11610
15cc7dd1
UD
11611 [BZ #12766]
11612 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11613 point to strings before performing equality test for error_one_per_line
11614 mode.
11615
f3799213
UD
11616 [BZ #11697]
11617 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11618
d79a9c94
UD
11619 [BZ #11820]
11620 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11621 (struct user_fpregs_struct): Avoid __uint*_t types.
11622
56e5eb46
UD
11623 [BZ #6420]
11624 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11625 symbol info. Use it instead of calling _dl_addr locally.
11626 (lock_and_info): New function.
11627 (tr_freehook): Call lock_and_info and pass symbol info as additional
11628 parameter to tr_where.
11629 (tr_mallochook): Likewise.
11630 (tr_reallochook): Likewise.
11631 (tr_memalignhook): Likewise.
11632
6ce75379
UD
11633 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11634 used and couldn't be at all thread-safe.
11635
f8a3b5bf
UD
116362011-05-15 Ulrich Drepper <drepper@gmail.com>
11637
94b7cc37
UD
11638 * libio/freopen.c (freopen): Don't close old file descriptor
11639 before the new one is opened. Instead dup the new file descriptor
11640 to the old one after the new stream is created.
11641 * libio/freopen64.c (freopen64): Likewise.
11642 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11643 * libio/fileops.c (_IO_new_file_close_it): Handle new
11644 _IO_FLAGS2_NOCLOSE flag.
11645 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11646 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11647 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11648 _IO_FLAGS2_NOCLOSE flag.
11649 * include/unistd.h: Add hidden_proto for dup3.
11650 Define __have_dup3.
11651 * io/dup3.c: Define hidden symbol.
11652 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11653
bd25564e
UD
11654 [BZ #7101]
11655 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11656 when an incomplete long option is used.
11657 * posix/tst-getopt_long1.c: New file.
11658 * posix/Makefile (tests): Add tst-getopt_long1.
11659
c84cfef4
UD
11660 [BZ #10138]
11661 * scripts/config.guess: Update from autoconf-2.68.
11662 * scripts/config.sub: Likewise.
11663
3b85df27
UD
11664 [BZ #10157]
11665 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11666 tests into ...
11667 (has_cpuclock): ...this. New function.
11668 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11669 macro here based on has_cpuclock code.
11670
15a856b1
UD
11671 [BZ #10149]
11672 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11673 First byte (not low byte) is now always NUL.
11674 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11675
05f399e6
UD
11676 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11677 Use non-cancelable interfaces.
11678
10a52685 11679 [BZ #9809]
94ecc67d
UD
11680 * locale/iso-639.def: Add entry for Sorani.
11681
f8a3b5bf
UD
11682 [BZ #11901]
11683 * include/stdlib.h: Move include protection to the right place.
11684 Define abort_msg_s. Declare __abort_msg with it.
11685 * stdlib/abort.c (__abort_msg): Adjust type.
11686 * assert/assert.c (__assert_fail_base): New function. Majority
11687 of code from __assert_fail. Allocate memory for __abort_msg with
11688 mmap.
11689 (__assert_fail): Now call __assert_fail_base.
11690 * assert/assert-perr.c: Remove bulk of implementation. Use
11691 __assert_fail_base.
11692 * include/assert.hL Declare __assert_fail_base.
11693 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11694 mmap.
11695 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11696
1af4e298
UD
116972011-05-14 Ulrich Drepper <drepper@gmail.com>
11698
f8a3b5bf 11699 [BZ #11952]
d26dfc60
MG
11700 [BZ #12453]
11701 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11702 until all modules are registered in the DTV.
11703 * elf/Makefile: Add rules to build and run tst-tls19.
11704 * elf/tst-tls19.c: New file.
11705 * elf/tst-tls19mod1.c: New file.
11706 * elf/tst-tls19mod2.c: New file.
11707 * elf/tst-tls19mod3.c: New file.
11708 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11709
2fc54d6f
UD
11710 [BZ #12083]
11711 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11712 correctly.
11713
98d76b46
UD
11714 [BZ #12601]
11715 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11716 two-byte sequence errors.
11717 * iconvdata/Makefile (tests): Add bug-iconv8.
11718 * iconvdata/bug-iconv8.c: New file.
11719
da3c19ef
UD
11720 [BZ #12626]
11721 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11722 buf2 definition.
11723
ca408c15
UD
11724 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11725
d6f67f7d
UD
11726 [BZ #12432]
11727 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11728 (dummy_getcfa): New function.
11729 (init): Get _Unwind_GetCFA address, use dummy if not found.
11730 (backtrace_helper): In recursion check, also check whether CFA changes.
11731 (__backtrace): Completely initialize arg.
11732
1af4e298 11733 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11734 storing incomplete byte sequence in state object. Avoid testing for
11735 guaranteed too small input if we know there is enough data available.
1af4e298 11736
da62f81b
AS
117372011-05-11 Andreas Schwab <schwab@redhat.com>
11738
11739 * Makeconfig (+link-pie): Indent.
11740 * Rules (binaries-pie): Define if $(have-fpie) and
11741 $(build-shared).
11742 (binaries-shared): Also filter out $(binaries-pie).
11743 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11744 * nscd/Makefile (others-pie): Add nscd.
11745 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11746 ($(objpfx)nscd): Remove command override.
11747 * login/Makefile (others-pie): Add pt_chown.
11748 ($(objpfx)pt_chown): Remove command override.
11749 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11750 remove command overrides.
11751
fcabc0f8
UD
117522011-05-13 Ulrich Drepper <drepper@gmail.com>
11753
20030ae6
UD
11754 * libio/tst_putwc.c: Fix error messages.
11755
fcabc0f8
UD
11756 [BZ #12724]
11757 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11758 currently writing and seek to current position when not.
11759 * libio/Makefile (tests): Add bug-fclose1.
11760 * libio/bug-fclose1.c: New file.
11761
320a5dc0
PB
117622011-05-12 Ulrich Drepper <drepper@gmail.com>
11763
11764 [BZ #12511]
11765 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11766 don't set DF_1_NODELETE here.
11767 (do_lookup_x): When entering new entry test for copy relocation
11768 and if necessary set DF_1_NODELETE flag.
11769 * elf/tst-unique4.cc: New file.
11770 * elf/tst-unique4.h: New file.
11771 * elf/tst-unique4lib.cc: New file.
11772 * elf/Makefile: Add rules to build and run tst-unique4.
11773 Patch by Piotr Bury <pbury@goahead.com>.
11774
22836f52
UD
117752011-05-11 Ulrich Drepper <drepper@gmail.com>
11776
f574184a
UD
11777 [BZ #12052]
11778 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11779
e1fb097f
UD
11780 [BZ #12625]
11781 * misc/mntent_r.c (addmntent): Flush the stream after the output
11782
22836f52
UD
11783 [BZ #12393]
11784 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11785 (is_trusted_path_normalize): Skip initial colon. Append slash
11786 to empty buffer. Duplicate is_trusted_path code but allow
11787 constructed patch to be prefix.
11788 (is_dst): Allow $ORIGIN followed by /.
11789 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11790 Correct testing of result of is_trusted_path_normalize
11791 (decompose_rpath): Fix warning.
11792
7b3b0b2a
UD
117932011-05-10 Ulrich Drepper <drepper@gmail.com>
11794
11795 [BZ #11257]
11796 * grp/initgroups.c (internal_getgrouplist): When we found the service
11797 list through the initgroups entry in nsswitch.conf do not always
11798 continue on a successful lookup. Don't always use the
eac80ce2 11799 __nss_group_database value if it is set.
7b3b0b2a
UD
11800 * nss/nsswitch.conf (initgroups): Change action for successful db
11801 lookup to continue for compatibility.
11802
2a81eaa5
UD
118032011-05-09 Ulrich Drepper <drepper@gmail.com>
11804
be97a69e
UD
11805 [BZ #11532]
11806 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11807 and CP774 modules.
11808 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11809 and CP774 modules.
11810 * iconvdata/tst-tables.sh: Likewise.
11811 * iconvdata/cp770.c: New file.
11812 * iconvdata/cp771.c: New file.
11813 * iconvdata/cp772.c: New file.
11814 * iconvdata/cp773.c: New file.
11815 * iconvdata/cp774.c: New file.
11816 * iconvdata/testdata/CP770: New file.
11817 * iconvdata/testdata/CP770..UTF8: New file.
11818 * iconvdata/testdata/CP771: New file.
11819 * iconvdata/testdata/CP771..UTF8: New file.
11820 * iconvdata/testdata/CP772: New file.
11821 * iconvdata/testdata/CP772..UTF8: New file.
11822 * iconvdata/testdata/CP773: New file.
11823 * iconvdata/testdata/CP773..UTF8: New file.
11824 * iconvdata/testdata/CP774: New file.
11825 * iconvdata/testdata/CP774..UTF8: New file.
11826
11827 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11828 END CHARMAP line.
11829 * iconvdata/gen-8bit-gap.sh: Likewise.
11830 * iconvdata/gen-8bit.sh: Likewise.
11831
c1e9e399
UD
11832 * locale/iso-639.def: Add ary entry.
11833
24c55fb3 11834 [BZ #11258]
96b4b1b0
UD
11835 * locale/C-translit.h.in: Add U20A1 transliteration.
11836
bdc2f971
KB
11837 [BZ #12178]
11838 * locale/iso-639.def: Add wae entry.
11839 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11840
2952b117
UD
11841 [BZ #12545]
11842 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11843 for n.
11844
2a81eaa5
UD
11845 [BZ #12711]
11846 * locale/C-translit.h.in: Add entry for U20B9.
11847 Patch by pravin.d.s@gmail.com.
11848
28377d1b
UD
118492011-05-08 Ulrich Drepper <drepper@gmail.com>
11850
7fb90fb8
UD
11851 [BZ #12713]
11852 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11853 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11854 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11855 in rtld. Use *stat64.
7fb90fb8 11856 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11857 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11858 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11859 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11860 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11861 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11862 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11863 __fstatat64 macros.
7fb90fb8
UD
11864 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11865 * dirent/rewinddir.c: Add libc_hidden_def.
11866 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11867 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11868
28377d1b
UD
11869 * include/dirent.h (__alloc_dir): Add flags parameter.
11870 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11871 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11872 __alloc_dir.
11873 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11874 from fdopendir if O_CLOEXEC is already set.
11875
66bdbaa4
AM
118762011-03-15 Alan Modra <amodra@gmail.com>
11877
11878 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11879 l_tls_firstbyte_offset non-zero. Save padding offset in
11880 l_tls_firstbyte_offset for later use.
11881 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11882 freeing static tls block.
11883
95721191
JN
118842011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11885
11886 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11887 where #ifdef was intended. The intent is to prevent ARG_MAX from
11888 being defined by the kernel headers.
11889
f87dfb1f
UD
118902011-05-07 Ulrich Drepper <drepper@gmail.com>
11891
11892 [BZ #12734]
11893 * resolv/resolv.h: Define RES_NOTLDQUERY.
11894 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11895 no-tld-query and set RES_NOTLDQUERY.
11896 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11897 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11898 modern BIND to search name as TLD unless forbidden.
11899
47c3cd7a
UD
119002011-05-07 Petr Baudis <pasky@suse.cz>
11901 Ulrich Drepper <drepper@gmail.com>
11902
11903 [BZ #12393]
11904 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11905 (is_trusted_path): ...to here.
c1e9ea35 11906 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11907 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11908 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11909
8a35c912
PP
119102011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11911
11912 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11913 __BEGIN/__END_DECLS.
11914
acd41f47
UD
119152011-05-06 Ulrich Drepper <drepper@gmail.com>
11916
11917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11918 NSS_STATUS_NOTFOUND if no record was found.
11919
597df647
AS
119202011-05-05 Andreas Schwab <schwab@redhat.com>
11921
11922 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11923 (headers-not-in-tirpc): Remove rpc/netdb.h
11924 * resolv/netdb.h: Revert last change.
11925
b9af1301
PP
119262011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11927
11928 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11929 circular dependency between libgcc.a and libc.a.
11930
4e34d5f5
AS
119312011-05-05 Andreas Schwab <schwab@redhat.com>
11932
11933 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11934 * nis/Makefile: Don't install rpcsvc/*.
11935 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11936 instead of <rpc/types.h>.
11937 (MAXHOSTNAMELEN): Define.
11938
00ee369c
AS
119392011-05-03 Andreas Schwab <schwab@redhat.com>
11940
11941 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11942
0b592a30
MB
119432011-04-28 Maciej Babinski <mbabinski@google.com>
11944
11945 [BZ #12714]
11946 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11947 gethostbyname4_r when IPv6 results are possible.
11948
6e04cbbe
UD
119492011-05-02 Ulrich Drepper <drepper@gmail.com>
11950
11951 [BZ #12723]
11952 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11953 _PC_PIPE_BUF handling.
11954
e4ecafe0
BH
119552011-04-30 Bruno Haible <bruno@clisp.org>
11956
11957 [BZ #12717]
11958 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11959 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11960 to 'int'.
11961 * inet/getnameinfo.c (getnameinfo): Likewise.
11962
125ee683
UD
119632011-04-29 Ulrich Drepper <drepper@gmail.com>
11964
11965 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11966 to groups setting in database lookup.
11967 * nss/nsswitch.conf: Add initgroups entry.
11968
b722481a
EB
119692011-04-22 Ulrich Drepper <drepper@gmail.com>
11970
11971 [BZ #12685]
11972 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11973 mode string.
11974 Patch by Eric Blake <eblake@redhat.com>.
11975
4df46dbd
L
119762011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11977
11978 * sunrpc/Makefile (need-export-routines): Add svc_run.
11979 (routines): Remove svc_run.
11980 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11981 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11982 * sunrpc/svc_run.c (svc_run): Likewise.
11983 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11984
e84142d2
UD
119852011-04-21 Ulrich Drepper <drepper@gmail.com>
11986
11987 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11988 problem in reallocation in last patch.
11989
877175d8
UD
119902011-04-20 Ulrich Drepper <drepper@gmail.com>
11991
11992 * sunrpc/Makefile: Move inclusion of Rules.
11993
ab8eed78
UD
119942011-04-19 Ulrich Drepper <drepper@gmail.com>
11995
11996 * nss/nss_files/files-initgroups.c: New file.
11997 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11998 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11999 _nss_files_initgroups_dyn.
12000
e3d8f584
RS
120012011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12002
12003 * elf/elf.h (R_ARM_IRELATIVE): Define.
12004
af190f45
UD
120052011-04-19 Ulrich Drepper <drepper@gmail.com>
12006
12007 * po/ru.po: Update from translation team.
12008
53cf59ef
UD
120092011-04-17 Ulrich Drepper <drepper@gmail.com>
12010
12011 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12012 dependencies.
12013
4c559bcd
MF
120142011-02-06 Mike Frysinger <vapier@gentoo.org>
12015
12016 [BZ #12653]
12017 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12018 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12019 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12020 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12021 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12022
4420675c
AS
120232011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12024
12025 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12026 differing bytes.
12027 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12029 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12030
75ea32ab
UD
120312011-04-17 Ulrich Drepper <drepper@gmail.com>
12032
12033 [BZ #12420]
12034 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12035 storing it.
12036 * stdlib/bug-getcontext.c: New file.
12037 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12038
27390476
AK
120392011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12040
12041 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12042 instructions into .machine "z9-109".
12043 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12044 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12045
10442705
AK
120462011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12047
12048 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12049 between environment variables and auxiliary vector.
12050
7b57bfe5
UD
120512011-04-16 Ulrich Drepper <drepper@gmail.com>
12052
12053 * Makefile: Add rules to build linkobj/libc.so.
12054 * include/libc-symbols.h: Define libc_hidden_nolink.
12055 * include/rpc/auth.h: Mark functions which are to be hidden.
12056 * include/rpc/auth_des.h: Likewise.
12057 * include/rpc/auth_unix.h: Likewise.
12058 * include/rpc/clnt.h: Likewise.
12059 * include/rpc/des_crypt.h: Likewise.
12060 * include/rpc/key_prot.h: Likewise.
12061 * include/rpc/pmap_clnt.h: Likewise.
12062 * include/rpc/pmap_prot.h: Likewise.
12063 * include/rpc/pmap_rmt.h: Likewise.
12064 * include/rpc/rpc_msg.h: Likewise.
12065 * include/rpc/svc.h: Likewise.
12066 * include/rpc/svc_auth.h: Likewise.
12067 * include/rpc/xdr.h: Likewise.
12068 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12069 * nss/Makefile: Likewise.
12070 * sunrpc/Makefile: Don't install headers. Build library with normal
12071 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12072 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12073 for the compat linking library. Remove use of INTDEF/INTUSE.
12074 * sunrpc/auth_none.c: Likewise.
12075 * sunrpc/auth_unix.c: Likewise.
12076 * sunrpc/authdes_prot.c: Likewise.
12077 * sunrpc/authuxprot.c: Likewise.
12078 * sunrpc/clnt_gen.c: Likewise.
12079 * sunrpc/clnt_perr.c: Likewise.
12080 * sunrpc/clnt_raw.c: Likewise.
12081 * sunrpc/clnt_simp.c: Likewise.
12082 * sunrpc/clnt_tcp.c: Likewise.
12083 * sunrpc/clnt_udp.c: Likewise.
12084 * sunrpc/clnt_unix.c: Likewise.
12085 * sunrpc/des_crypt.c: Likewise.
12086 * sunrpc/des_soft.c: Likewise.
12087 * sunrpc/get_myaddr.c: Likewise.
12088 * sunrpc/key_call.c: Likewise.
12089 * sunrpc/key_prot.c: Likewise.
12090 * sunrpc/netname.c: Likewise.
12091 * sunrpc/pm_getmaps.c: Likewise.
12092 * sunrpc/pm_getport.c: Likewise.
12093 * sunrpc/pmap_clnt.c: Likewise.
12094 * sunrpc/pmap_prot.c: Likewise.
12095 * sunrpc/pmap_prot2.c: Likewise.
12096 * sunrpc/pmap_rmt.c: Likewise.
12097 * sunrpc/publickey.c: Likewise.
12098 * sunrpc/rpc_cmsg.c: Likewise.
12099 * sunrpc/rpc_common.c: Likewise.
12100 * sunrpc/rpc_dtable.c: Likewise.
12101 * sunrpc/rpc_prot.c: Likewise.
12102 * sunrpc/rpc_thread.c: Likewise.
12103 * sunrpc/rtime.c: Likewise.
12104 * sunrpc/svc.c: Likewise.
12105 * sunrpc/svc_auth.c: Likewise.
12106 * sunrpc/svc_authux.c: Likewise.
12107 * sunrpc/svc_raw.c: Likewise.
12108 * sunrpc/svc_run.c: Likewise.
12109 * sunrpc/svc_simple.c: Likewise.
12110 * sunrpc/svc_tcp.c: Likewise.
12111 * sunrpc/svc_udp.c: Likewise.
12112 * sunrpc/svc_unix.c: Likewise.
12113 * sunrpc/svcauth_des.c: Likewise.
12114 * sunrpc/xcrypt.c: Likewise.
12115 * sunrpc/xdr.c: Likewise.
12116 * sunrpc/xdr_array.c: Likewise.
12117 * sunrpc/xdr_float.c: Likewise.
12118 * sunrpc/xdr_intXX_t.c: Likewise.
12119 * sunrpc/xdr_mem.c: Likewise.
12120 * sunrpc/xdr_rec.c: Likewise.
12121 * sunrpc/xdr_ref.c: Likewise.
12122 * sunrpc/xdr_sizeof.c: Likewise.
12123 * sunrpc/xdr_stdio.c: Likewise.
12124
e6c61494
UD
121252011-04-10 Ulrich Drepper <drepper@gmail.com>
12126
12127 [BZ #12650]
12128 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12129 * sysdeps/ia64/dl-tls.h: Likewise.
12130 * sysdeps/powerpc/dl-tls.h: Likewise.
12131 * sysdeps/s390/dl-tls.h: Likewise.
12132 * sysdeps/sh/dl-tls.h: Likewise.
12133 * sysdeps/sparc/dl-tls.h: Likewise.
12134 * sysdeps/x86_64/dl-tls.h: Likewise.
12135 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12136
34fe483e
AS
121372011-03-14 Andreas Schwab <schwab@redhat.com>
12138
12139 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12140 rpath element also skip the following colon.
12141 (expand_dynamic_string_token): Add is_path parameter and pass
12142 down to DL_DST_REQUIRED and _dl_dst_substitute.
12143 (decompose_rpath): Call expand_dynamic_string_token with
12144 non-zero is_path. Ignore empty rpaths.
12145 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12146 with zero is_path.
12147
f12a32e6
AS
121482011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12149
12150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12151 Make cancelable.
12152
38a7d692
UD
121532011-04-09 Ulrich Drepper <drepper@gmail.com>
12154
12155 [BZ #12655]
12156 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12157 Patch by Filipe David Manana <fdmanana@apache.org>.
12158
e451d22b
AS
121592011-04-07 Andreas Schwab <schwab@redhat.com>
12160
12161 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12162 Maintain aligned stack.
12163 (CHECK_RSP): Remove unused macro.
12164
dedc7c7b
UD
121652011-04-03 Ulrich Drepper <drepper@gmail.com>
12166
12167 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12168 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12169
94521213
UD
121702011-04-02 Ulrich Drepper <drepper@gmail.com>
12171
12172 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12173
8cb700c0 12174 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12175
0354e355
L
121762011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12177
12178 [BZ #12518]
12179 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12180 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12181 * sysdeps/x86_64/memmove.c: New file.
12182 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12183 (memcpy): Renamed to ...
12184 (__new_memcpy): This.
12185 (memcpy): Provide GLIBC_2_14 memcpy.
12186 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12187 (memcpy): Provide GLIBC_2_2_5 memcpy.
12188
8593482f
UD
121892011-04-01 Ulrich Drepper <drepper@gmail.com>
12190
12191 [BZ #12631]
12192 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12193
81a5726b
AS
121942011-03-30 Andreas Schwab <schwab@redhat.com>
12195
12196 * misc/syncfs.c: New file.
12197 * misc/Makefile (routines): Add syncfs.
12198 * posix/unistd.h: Declare syncfs.
12199 * sysdeps/unix/syscalls.list: Add syncfs.
12200
00e5419f
AS
122012011-04-01 Andreas Schwab <schwab@redhat.com>
12202
12203 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12204 open_by_handle_at.
12205 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12206 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12207 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12208 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12209 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12210 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12211 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12212
748876bf
UD
122132011-04-01 Ulrich Drepper <drepper@gmail.com>
12214
658e451d
UD
12215 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12216 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12217 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12221 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12222
748876bf
UD
12223 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12224 sync_file_range.c with -fexceptions.
12225 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12226 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12227 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12228 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12229 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12230 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12231 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12232 sync_file_range as cancellation point
12233 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12234 now a wrapper around __call_sync_file_range with cancellation handling.
12235 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12236 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12237 function name to __call_sync_file_range.
12238 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12239 Add call_sync_file_range.
748876bf 12240
6e63d5e1
AS
122412011-04-01 Andreas Schwab <schwab@redhat.com>
12242
12243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12244 bits/timex.h.
6e63d5e1 12245
46998f74
UD
122462011-04-01 Ulrich Drepper <drepper@gmail.com>
12247
4c1423ed
UD
12248 * iconv/iconv.h: Fix typo in comment.
12249 * io/fcntl.h: Likewise.
12250 * libio/stdio.h: Likewise.
12251 * posix/spawn.h: Likewise.
12252 * posix/unistd.h: Likewise.
12253 * stdlib/stdlib.h: Likewise.
12254 * time/time.h: Likewise.
12255 * wcsmbs/wchar.h: Likewise.
12256
158648c0
UD
12257 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12258 open_by_handle): Add.
12259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12260 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12261 Augment a few comments.
12262 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12263 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12264 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12265 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12266 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12267 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12268 open_by_handle.
12269
46998f74
UD
12270 * io/fcntl.h (AT_EMPTY_PATH): Define.
12271
83fe108b
UD
122722011-03-30 Ulrich Drepper <drepper@gmail.com>
12273
12274 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12275 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12276 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12277 to...
12278 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12279 * Versions.def: Add GLIBC_2.14.
12280 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12281 Export.
83fe108b 12282
bb242059
UD
122832011-03-22 Ulrich Drepper <drepper@gmail.com>
12284
12285 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12286 round counter.
12287 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12288
c97a1282
L
122892011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12290
12291 [BZ #12597]
12292 * string/test-strncmp.c (do_page_test): New function.
12293 (check2): Likewise.
12294 (test_main): Call check2.
12295 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12296
2a115601
UD
122972011-03-20 Ulrich Drepper <drepper@gmail.com>
12298
12299 [BZ #12587]
12300 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12301 Handle cache information in CPU leaf 4.
12302 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12303
8126d904
UD
123042011-03-18 Ulrich Drepper <drepper@gmail.com>
12305
042c49c6 12306 [BZ #12583]
8126d904
UD
12307 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12308 character representation.
12309 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12310
ccfe366e
RA
123112011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12312
12313 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12314 END(__isnan) to END(__isnanf) to match function entry point/label
12315 EALIGN(__isnanf,...).
12316
c6e13027
JJ
123172011-03-10 Jakub Jelinek <jakub@redhat.com>
12318
12319 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12320
33f85a3f
UD
123212011-03-10 Ulrich Drepper <drepper@gmail.com>
12322
028478fa
UD
12323 [BZ #12510]
12324 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12325 copy from the symbol referenced in the relocation to initialize the
12326 used variable.
12327 Patch by Piotr Bury <pbury@goahead.com>.
12328 * elf/Makefile: Add rules to build and tst-unique3.
12329 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12330 * elf/tst-unique3.cc: New file.
12331 * elf/tst-unique3.h: New file.
12332 * elf/tst-unique3lib.cc: New file.
12333 * elf/tst-unique3lib2.cc: New file.
12334
33f85a3f
UD
12335 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12336
03592fc7
MF
123372011-03-10 Mike Frysinger <vapier@gentoo.org>
12338
12339 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12340 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12341 to _start.
03592fc7 12342
6a5ee102
UD
123432011-03-06 Ulrich Drepper <drepper@gmail.com>
12344
12345 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12346 to-be-loaded object along a path to loader is ld.so.
12347
7e4ba49c
HJ
123482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12349 Ulrich Drepper <drepper@gmail.com>
12350
12351 * sysdeps/x86_64/memset.S: After aligning destination, code
12352 branches to different locations depending on the value of
12353 misalignment, when multiarch is enabled. Fix this.
12354
123552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12356
12357 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12358 Set _x86_64_preferred_memory_instruction for AMD processsors.
12359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12360 Set bit_Prefer_SSE_for_memop for AMD processors.
12361
13a804de
UD
123622011-03-04 Ulrich Drepper <drepper@gmail.com>
12363
12364 * libio/fmemopen.c (fmemopen): Optimize a bit.
12365
9d25c392
AS
123662011-03-03 Andreas Schwab <schwab@redhat.com>
12367
12368 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12369
a5543c6a
RM
123702011-03-03 Roland McGrath <roland@redhat.com>
12371
12372 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12373
012d35f7
DM
123742011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12375
7e4ba49c 12376 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12377 __bzero_ultra1 instead of __memset_ultra1.
12378
4bff6e01
AS
123792011-02-23 Andreas Schwab <schwab@redhat.com>
12380 Ulrich Drepper <drepper@gmail.com>
12381
12382 [BZ #12509]
12383 * include/link.h (struct link_map): Add l_orig_initfini.
12384 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12385 returning unsuccessfully.
12386 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12387 close of a file loaded at startup, restore the original l_initfini
12388 list.
12389 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12390 list, store the pointer.
12391 * elf/Makefile ($(objpfx)noload-mem): New rule.
12392 (noload-ENV): Define.
12393 (tests): Add $(objpfx)noload-mem.
12394 * elf/noload.c: Include <memcheck.h>.
12395 (main): Call mtrace. Close all opened handles.
12396
f2092faf
AS
123972011-02-17 Andreas Schwab <schwab@redhat.com>
12398
12399 [BZ #12454]
12400 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12401 dependencies are missing.
12402
6c8a2e88
ST
124032011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12404
f2092faf 12405 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12406 Hurd needs munmap.
12407 * sysdeps/mach/hurd/ifreq.h: New file.
12408
84a42118
PB
124092011-01-27 Petr Baudis <pasky@suse.cz>
12410 Ulrich Drepper <drepper@gmail.com>
12411
071f805e 12412 [BZ 12445]#
84a42118
PB
12413 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12414 to extend_alloca().
12415 * stdio-common/bug23.c: New file.
12416 * stdio-common/Makefile (tests): Add bug23.
12417
e23fe25b
AS
124182010-09-28 Andreas Schwab <schwab@redhat.com>
12419 Ulrich Drepper <drepper@gmail.com>
12420
12421 [BZ #12489]
12422 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12423 before performing relro protection. At old place add assertion
12424 to make sure nothing changed.
12425
d3f02e10
NS
124262011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12427 Glauber de Oliveira Costa <glommer@gmail.com>
12428
12429 * elf/elf.h: Add new ARM TLS relocs.
12430
d55fd7a5
RA
124312011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12432
12433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12434 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12435 cast from r3.
12436 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12437 'tests' variable.
12438 * sysdeps/wordsize-64/tst-writev.c: New file.
12439
2206397e
RA
124402011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12441
12442 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12443 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12444 insns in _dl_start to prevent a TOC reference before relocs are
12445 resolved.
12446
e9433893
UD
124472011-02-15 Ulrich Drepper <drepper@gmail.com>
12448
12449 [BZ #12469]
12450 * Makeconfig: Remove RANLIB definition.
12451 * Makerules: Don't use RANLIB.
12452 * aclocal.m4: Remove ranlib test.
12453 * configure.in: No need to check for ranlib.
12454 * elf/rtld-Rules: Don't use RANLIB.
12455
f75286c6
ST
124562011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12457
8e31c82d
ST
12458 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12459 protection macro.
12460 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12461 inclusion protection macro.
12462
f75286c6
ST
12463 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12464 SIGRTMIN and SIGRTMAX and print information in that case only when
12465 SIGRTMIN is defined.
12466
c1d0e639
JJ
124672011-02-11 Jakub Jelinek <jakub@redhat.com>
12468
12469 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12470 arginfo fn returning -1.
12471
12472 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12473 and thousands string is zero terminated.
12474
edf9294e
AS
124752011-02-03 Andreas Schwab <schwab@redhat.com>
12476
12477 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12478 sysdeps/unix/sysv/linux/bits/socket.h.
12479
2b7e92df
ST
124802011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12481
edf9294e
AS
12482 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12483 (__CPU_COUNT): Remove old macros.
12484 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12485 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12486 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12487 (__sched_cpualloc, __sched_cpufree): Add declarations.
12488
a4c7ea7b
UD
124892011-02-05 Ulrich Drepper <drepper@gmail.com>
12490
12491 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12492 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12493 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12494 (readdhstai): Return value of addhstaiX call.
12495 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12496 (addgrbyX): Return value returned by cache_addgr.
12497 (readdgrbyname): Return value returned by addgrbyX.
12498 (readdgrbygid): Likewise.
12499 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12500 (addpwbyX): Return value returned by cache_addpw.
12501 (readdpwbyname): Return value returned by addhstbyX.
12502 (readdpwbyuid): Likewise.
12503 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12504 (addservbyX): Return value returned by cache_addserv.
12505 (readdservbyname): Return value returned by addservbyX:
12506 (readdservbyport): Likewise.
12507 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12508 (addhstbyX): Return value returned by cache_addhst.
12509 (readdhstbyname): Return value returned by addhstbyX.
12510 (readdhstbyaddr): Likewise.
12511 (readdhstbynamev6): Likewise.
12512 (readdhstbyaddrv6): Likewise.
12513 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12514 (readdinitgroups): Return value returned by addinitgroupsX.
12515 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12516 (prune_cache): Keep track of timeout value of re-added entries.
12517 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12518 * nscd/nscd.h: Adjust prototypes of readd* functions.
12519
a0bf67cc
RM
125202011-02-04 Roland McGrath <roland@redhat.com>
12521
12522 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12523 (nis_stats): Likewise.
12524 * nis/nis_modify.c (nis_modify): Likewise.
12525 * nis/nis_remove.c (nis_remove): Likewise.
12526 * nis/nis_add.c (nis_add): Likewise.
12527
12528 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12529
12530 * posix/fnmatch_loop.c: Add some consts.
12531
12532 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12533
435b95eb
L
125342011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12535
12536 [BZ #12460]
12537 * config.make.in (config-cflags-novzeroupper): Define.
12538 * configure.in: Substitute libc_cv_cc_novzeroupper.
12539 * elf/Makefile (AVX-CFLAGS): Define.
12540 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12541 (CFLAGS-tst-auditmod4a.c): Likewise.
12542 (CFLAGS-tst-auditmod4b.c): Likewise.
12543 (CFLAGS-tst-auditmod6b.c): Likewise.
12544 (CFLAGS-tst-auditmod6c.c): Likewise.
12545 (CFLAGS-tst-auditmod7b.c): Likewise.
12546 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12547
8517b15e
UD
125482011-02-02 Ulrich Drepper <drepper@gmail.com>
12549
12550 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12551 function to the callback.
12552 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12553
10a656fe
AS
125542011-02-02 Andreas Schwab <schwab@redhat.com>
12555
12556 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12557 of errno.
12558
968dad0a
UD
125592011-01-19 Ulrich Drepper <drepper@gmail.com>
12560
9f94d2ea 12561 [BZ #11724]
968dad0a
UD
12562 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12563 of constructors.
12564 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12565 of destructors.
12566 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12567
12568 [BZ #11724]
12569 * elf/Makefile: Add rules to build and run new test.
12570 * elf/tst-initorder.c: New file.
12571 * elf/tst-initorder.exp: New file.
12572 * elf/tst-initordera1.c: New file.
12573 * elf/tst-initordera2.c: New file.
12574 * elf/tst-initordera3.c: New file.
12575 * elf/tst-initordera4.c: New file.
12576 * elf/tst-initorderb1.c: New file.
12577 * elf/tst-initorderb2.c: New file.
12578 * elf/tst-order-a1.c: New file.
12579 * elf/tst-order-a2.c: New file.
12580 * elf/tst-order-a3.c: New file.
12581 * elf/tst-order-a4.c: New file.
12582 * elf/tst-order-b1.c: New file.
12583 * elf/tst-order-b2.c: New file.
12584 * elf/tst-order-main.c: New file.
12585 New test case by George Gensure <werkt0@gmail.com>.
12586
86e92359
UD
125872010-10-01 Andreas Schwab <schwab@redhat.com>
12588
12589 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12590 decoding ACE if AI_CANONIDN.
12591
5d5732b0
UD
125922011-01-18 Ulrich Drepper <drepper@gmail.com>
12593
12594 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12595
a77e8cbc
UD
125962011-01-17 Ulrich Drepper <drepper@gmail.com>
12597
6392473f
UD
12598 * version.h (RELEASE): Bump for 2.13 release.
12599 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12600
620a0529
UD
12601 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12602
18ba70a5
UD
12603 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12604 MADV_NOHUGEPAGE.
32465c3e
UD
12605 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12606 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12607 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12609 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12610 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12611
c0dafcf1
UD
12612 * posix/getconf.c: Update copyright year.
12613 * catgets/gencat.c: Likewise.
12614 * csu/version.c: Likewise.
12615 * debug/catchsegv.sh: Likewise.
12616 * debug/xtrace.sh: Likewise.
12617 * elf/ldconfig.c: Likewise.
12618 * elf/ldd.bash.in: Likewise.
12619 * elf/sprof.c (print_version): Likewise.
12620 * iconv/iconv_prog.c: Likewise.
12621 * iconv/iconvconfig.c: Likewise.
12622 * locale/programs/locale.c: Likewise.
12623 * locale/programs/localedef.c: Likewise.
12624 * malloc/memusage.sh: Likewise.
12625 * malloc/mtrace.pl: Likewise.
12626 * nscd/nscd.c (print_version): Likewise.
12627 * nss/getent.c: Likewise.
12628
a77e8cbc
UD
12629 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12630 PF_CAIF, and PF_ALG.
12631 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12632
77e8bddf
AS
126332011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12634
1f20b93a
AS
12635 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12636 (modules-names): Use them.
12637 (ifunc-test-modules, ifunc-pie-tests): Define.
12638 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12639 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12640 (test-extras): Likewise.
12641 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12642 $(compile-command.c).
12643 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12644 (all-built-dso): Define.
12645 (check-textrel.out, check-execstack.out): Depend on it.
12646
77e8bddf
AS
12647 * configure.in: Don't override --enable-multi-arch.
12648
bc425b33
UD
126492011-01-15 Ulrich Drepper <drepper@gmail.com>
12650
12651 [BZ #6812]
12652 * nscd/hstcache.c (tryagain): Define.
12653 (cache_addhst): Return tryagain not notfound for temporary errors.
12654 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12655 failed.
12656
794c3ad3
UD
126572011-01-14 Ulrich Drepper <drepper@gmail.com>
12658
70181fdd
UD
12659 [BZ #10563]
12660 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12661 to make the syscall.
12662 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12663
794c3ad3
UD
12664 [BZ #12378]
12665 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12666 and fall back to matching as normal character if the string ends before
12667 the matching ']' is found. This is what POSIX requires.
12668 * posix/testfnm.c: Adjust test result.
12669 * posix/globtest.sh: Adjust test result. Add new test.
12670 * posix/tst-fnmatch.input: Likewise.
12671 * posix/tst-fnmatch2.c: Add new test.
12672
68dc9497
AS
126732010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12674
12675 * elf/Makefile (check-execstack): Revert last change. Depend on
12676 check-execstack.h.
12677 (check-execstack.h): New target.
12678 (generated): Add check-execstack.h.
12679 * elf/check-execstack.c: Include "check-execstack.h".
12680 (main): Revert last change.
12681 (handle_file): Return zero if GNU_STACK is absent and
12682 DEFAULT_STACK_PERMS doesn't include PF_X.
12683
451f001b
UD
126842011-01-13 Ulrich Drepper <drepper@gmail.com>
12685
cfa28e56
UD
12686 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12687 in child fails because the descriptor is already closed.
8cf8ce17
UD
12688 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12689 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12690 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12691
1086d70d
UD
12692 [BZ #12397]
12693 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12694 syscall.
12695
451f001b
UD
12696 [BZ #10484]
12697 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12698 temporary buffer used to handle multi lookups locally.
a85b5cb4 12699 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12700
08769175
UD
127012011-01-12 Ulrich Drepper <drepper@gmail.com>
12702
12703 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12704 loader is ld.so.
12705
5e49c52e
UD
127062011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12707
12708 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12709 alignment for SSE2.
12710
60522a5f
UD
127112011-01-12 Ulrich Drepper <drepper@gmail.com>
12712
12713 [BZ #12394]
12714 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12715 characters. When rounding increased number of integer digits recompute
12716 number of groups.
12717 * stdio-common/tst-grouping.c: New file.
12718 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12719
f257bbd7
UD
127202011-01-09 Ulrich Drepper <drepper@gmail.com>
12721
12722 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12723 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12724
12725 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12726 void.
12727 * bits/select.h: Likewise.
12728
fa9c15cb
UD
127292011-01-08 Ulrich Drepper <drepper@gmail.com>
12730
12731 * po/ja.po: Update from translation team.
12732
16c2895f
DM
127332011-01-04 David S. Miller <davem@sunset.davemloft.net>
12734
12735 [BZ #11155]
12736 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12737 implementation just like for lxstat, fxstatat, et al.
12738
2543fef2
JM
127392010-12-27 Jim Meyering <meyering@redhat.com>
12740
12741 [BZ #12348]
12742 * posix/regexec.c (build_trtable): Return failure indication upon
12743 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12744
98727dbe
UD
127452010-12-25 Ulrich Drepper <drepper@gmail.com>
12746
5bd6dc5c
UD
12747 [BZ #12201]
12748 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12749 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12750 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12751 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12752
97983464
UD
12753 [BZ #12207]
12754 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12755
98727dbe
UD
12756 [BZ #12204]
12757 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12758 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12759
4a531bb0
L
127602010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12761
12762 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12763 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12764 script has SORT_BY_INIT_PRIORITY.
12765 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12766 NO_CTORS_DTORS_SECTIONS is defined.
12767 * elf/soinit.c: Likewise.
12768 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12769 NO_CTORS_DTORS_SECTIONS is defined.
12770 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12771 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12772 * sysdeps/sh/init-first.c: Likewise.
12773 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12774
07eb4b71
UD
127752010-12-24 Ulrich Drepper <drepper@gmail.com>
12776
12777 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12778 always use the slow path.
12779
30950a5f
RA
127802010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12781
12782 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12783 similar rule which adds the sysdep directories to the header search in
12784 order to pick up the correct platform stackinfo.h.
12785 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12786 perform test if it is, otherwise return successfully without testing.
12787 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12788 DEFAULT_STACK_PERMS define in stackinfo.h.
12789 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12790 defined in stackinfo.h.
12791 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12792 DEFAULT_STACK_PERMS defined in stackinfo.h.
12793 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12794 * sysdeps/ia64/stackinfo.h: Likewise.
12795 * sysdeps/s390/stackinfo.h: Likewise.
12796 * sysdeps/sh/stackinfo.h: Likewise.
12797 * sysdeps/sparc/stackinfo.h: Likewise.
12798 * sysdeps/x86_64/stackinfo.h: Likewise.
12799 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12800 PF_X for powerpc64. Retain PF_X for powerpc32.
12801
db753e2c
UD
128022010-12-19 Ulrich Drepper <drepper@gmail.com>
12803
14b697f7
UD
12804 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12805 accurately.
db753e2c
UD
12806 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12807 GETDENTS_64BIT_ALIGNED.
12808
28300719
UD
128092010-12-14 Ulrich Drepper <dreper@gmail.com>
12810
14b697f7 12811 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12812
4f197237
AS
128132010-12-10 Andreas Schwab <schwab@redhat.com>
12814
dbb0472f
AS
12815 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12816 _GNU_SOURCE.
12817
4f197237
AS
12818 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12819 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12820 Remove __restrict.
12821 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12822 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12823
fb88ac72
UD
128242010-12-09 Ulrich Drepper <drepper@gmail.com>
12825
12826 [BZ #11655]
12827 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12828 are initialized.
12829
42acbb92
JJ
128302010-12-09 Jakub Jelinek <jakub@redhat.com>
12831
12832 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12833
c038d98d
UD
128342010-12-03 Ulrich Drepper <drepper@gmail.com>
12835
12836 * po/it.po: Update from translation team.
12837
3a4a2499
L
128382010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12839
12840 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12841 unused codes.
12842
1e24cf6e
UD
128432010-11-30 Ulrich Drepper <drepper@gmail.com>
12844
12845 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12846
a7690819
AS
128472010-11-24 Andreas Schwab <schwab@redhat.com>
12848
12849 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12850 specially.
12851 (gaih_getanswer_slice): Likewise.
12852
3bf8d1b1
JJ
128532010-10-20 Jakub Jelinek <jakub@redhat.com>
12854
12855 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12856
6db52fbb
PB
128572010-05-31 Petr Baudis <pasky@suse.cz>
12858
12859 [BZ #11149]
12860 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12861 silently even in the chroot mode.
12862
eaca7569
UD
128632010-11-22 Ulrich Drepper <drepper@gmail.com>
12864
12865 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12866 last patch a bit. Pretty printing
12867
3056dcdb
UD
128682010-05-31 Petr Baudis <pasky@suse.cz>
12869
12870 [BZ #10085]
12871 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12872 initialization of skip_initgroups_dyn.
12873
cf7c9078
UD
128742010-11-19 Ulrich Drepper <drepper@gmail.com>
12875
12876 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12877 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12878
a1fb5e3e
UD
128792010-11-16 Ulrich Drepper <drepper@gmail.com>
12880
12881 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12882
3540d66b
AS
128832010-11-11 Andreas Schwab <schwab@redhat.com>
12884
12885 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12886 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12887 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12888 ($(objpfx)tst-fnmatch-mem): New rule.
12889 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12890 * posix/tst-fnmatch.c (main): Call mtrace.
12891
13b69574
L
128922010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12895 Support Intel processor model 6 and model 0x2c.
12896
da93d214
LM
128972010-11-10 Luis Machado <luisgpm@br.ibm.com>
12898
12899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12900 signed comparison.
12901
8ca52c6e
L
129022010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12903
12904 [BZ #12205]
12905 * string/test-strncasecmp.c (check_result): New function.
12906 (do_one_test): Use it.
12907 (check1): New function.
12908 (test_main): Use it.
12909 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12910 Support strcasecmp and strncasecmp.
12911
69da074d
UD
129122010-11-08 Ulrich Drepper <drepper@gmail.com>
12913
12914 [BZ #12194]
12915 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12916 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12917
ff02d528
L
129182010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12919
12920 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12921 IFUNC support.
12922 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12923 memset-x86-64.
12924 * sysdeps/x86_64/multiarch/bzero.S: New file.
12925 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12926 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12927 * sysdeps/x86_64/multiarch/memset.S: New file.
12928 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12929 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12930 Set bit_Prefer_SSE_for_memop for Intel processors.
12931 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12932 Define.
12933 (index_Prefer_SSE_for_memop): Define.
12934 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12935
344d0b54
LM
129362010-11-04 Luis Machado <luisgpm@br.ibm.com>
12937
12938 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12939 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12940
c0dde15b
UD
129412010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12942
12943 [BZ #12191]
12944 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12945 (__x86_64_raw_data_cache_size_half): Likewise.
12946 (__x86_64_raw_shared_cache_size): Likewise.
12947 (__x86_64_raw_shared_cache_size_half): Likewise.
12948
12949 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12950 (__x86_64_raw_data_cache_size_half): Likewise.
12951 (__x86_64_raw_shared_cache_size): Likewise.
12952 (__x86_64_raw_shared_cache_size_half): Likewise.
12953 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12954 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12955 and __x86_64_raw_shared_cache_size_half. Round
12956 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12957 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12958 to multiple of 256 bytes.
12959
0e516e0e
MS
129602010-11-03 Ulrich Drepper <drepper@gmail.com>
12961
12962 [BZ #12167]
12963 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12964 of inacessible symlinks. Verify result of symlink before returning it.
12965 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12966 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12967
0e012e87
ER
129682010-10-28 Erich Ritz <erichritz@gmail.com>
12969
12970 * math/math.h (isinf): Fix typo in comment.
12971
de0ff7bc
UD
129722010-11-01 Ulrich Drepper <drepper@gmail.com>
12973
12974 * po/da.po: Update from translation team.
12975
fa41c84d
UD
129762010-10-26 Ulrich Drepper <drepper@gmail.com>
12977
12978 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12979 is added to the list.
12980
f0967738
AK
129812010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12982 Ulrich Drepper <drepper@gmail.com>
12983
12984 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12985 the global list here. Move code to...
12986 (_dl_add_to_namespace_list): ...here. New function.
12987 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12988 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12989 * elf/dl-load.c (lose): Don't remove the element from the list.
12990 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12991 (_dl_map_object): Likewise.
12992
129932010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12994
12995 [BZ #12159]
12996 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12997 into all bytes of SSE register.
12998 Patch by Richard Li <richardpku@gmail.com>.
12999
f0967738 130002010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13001
13002 [BZ #12140]
13003 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13004 perturbing.
13005
d0b9e94f
MB
130062010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13007
13008 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13009 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13010 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13011 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13013 submachine.
13014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13015
8e9f92e9
AS
130162010-10-22 Andreas Schwab <schwab@redhat.com>
13017
13018 * include/dlfcn.h (__RTLD_SECURE): Define.
13019 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13020 mode & __RTLD_SECURE instead.
13021 (open_path): Rename preloaded parameter to secure.
13022 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13023 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13024 * elf/dl-deps.c (openaux): Likewise.
13025 * elf/rtld.c (struct map_args): Remove is_preloaded.
13026 (map_doit): Don't use it.
13027 (dl_main): Likewise.
13028 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13029 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13030
bc96fbda
AS
130312010-09-09 Andreas Schwab <schwab@redhat.com>
13032
13033 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13034 (sysd-rules-targets): Remove duplicates.
13035 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13036 rtld-%.$o dependency.
13037
22cd1c9b
AS
130382010-10-18 Andreas Schwab <schwab@redhat.com>
13039
13040 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13041 _dl_map_object do it.
13042
18edac48
UD
130432010-10-19 Ulrich Drepper <drepper@gmail.com>
13044
13045 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13046 fast fma builtins, define the macros in the C99 standard.
13047 (FP_FAST_FMAF): Likewise.
13048 (FP_FAST_FMAL): Likewise.
13049 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13050
13051 * bits/mathdef.h: Update copyright year.
13052 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13053
d2050124
MM
130542010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13055
13056 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13057 builtins, define the macros in the C99 standard.
13058 (FP_FAST_FMAF): Likewise.
13059 (FP_FAST_FMAL): Likewise.
13060 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13061 multiply/add.
13062 (FP_FAST_FMAF): Likewise.
13063
475facd1
JJ
130642010-10-15 Jakub Jelinek <jakub@redhat.com>
13065
13066 [BZ #3268]
13067 * math/libm-test.inc (fma_test): Some new testcases.
13068 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13069 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13070 y and infinite z. Do multiplication by C already in long double.
13071 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13073 y and infinite z. Do bitwise or of inexact bit into u.d.
13074 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13075 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13076 * sysdeps/i386/fpu/s_fma.S: Removed.
13077 * sysdeps/i386/fpu/s_fmal.S: Removed.
13078
7c08a05c
JJ
130792010-10-16 Jakub Jelinek <jakub@redhat.com>
13080
13081 [BZ #3268]
13082 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13083 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13084 computation is not scheduled after fetestexcept. Fix value
13085 of minimum denormal long double.
13086
f3f7372d
JJ
130872010-10-14 Jakub Jelinek <jakub@redhat.com>
13088
13089 [BZ #3268]
13090 * math/libm-test.inc (fma_test): Add some more tests.
13091 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13092 correctly.
13093
14d43591
AS
130942010-10-15 Andreas Schwab <schwab@redhat.com>
13095
13096 * scripts/data/localplt-s390-linux-gnu.data: New file.
13097 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13098
5e908464
JJ
130992010-10-13 Jakub Jelinek <jakub@redhat.com>
13100
13101 [BZ #3268]
13102 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13103 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13104 instead of dbl-64.
13105 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13106 inlines.
13107 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13109 if one of x and y is very large and the other is subnormal.
13110 * sysdeps/s390/fpu/s_fmaf.c: New file.
13111 * sysdeps/s390/fpu/s_fma.c: New file.
13112 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13113 * sysdeps/powerpc/fpu/s_fma.S: New file.
13114 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13115 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13116 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13117
131182010-10-12 Jakub Jelinek <jakub@redhat.com>
13119
13120 [BZ #3268]
13121 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13122 fma tests.
13123 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13124 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13125 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13126 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13127 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13128 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13129 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13130
b833d51f
UD
131312010-10-12 Ulrich Drepper <drepper@redhat.com>
13132
13133 [BZ #12078]
13134 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13135 * posix/bug-regex31.input: Add test case.
13136
1751705d
UD
131372010-10-11 Ulrich Drepper <drepper@gmail.com>
13138
e9b9cbf5
UD
13139 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13140 * posix/bug-regex31.input: New file.
13141
13142 [BZ #12078]
13143 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13144 (parse_sub_exp): Fix last change, use postorder.
13145
ef06edbe
UD
13146 * posix/bug-regex31.c: New file.
13147 * posix/Makefile: Add rules to build and run bug-regex31.
13148
a129c80d
UD
13149 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13150
13151 [BZ #12078]
13152 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13153
b76b818e
UD
13154 [BZ #12108]
13155 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13156 to have entries in sys_siglist.
13157
1751705d
UD
13158 [BZ #12093]
13159 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13160 be NULL.
13161
9ff8d36f
JJ
131622010-10-07 Jakub Jelinek <jakub@redhat.com>
13163
13164 [BZ #3268]
13165 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13166 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13167 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13168 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13169 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13170 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13171 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13172 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13173 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13174 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13175 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13176 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13177 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13178 * math/ftestexcept.c (fetestexcept): Likewise.
13179 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13180 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13181 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13182 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13183 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13184 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13185 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13186
af325969
UD
131872010-10-11 Ulrich Drepper <drepper@gmail.com>
13188
c579b202 13189 [BZ #12107]
af325969
UD
13190 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13191 newline.
13192
67a67b95
UD
131932010-10-06 Ulrich Drepper <drepper@gmail.com>
13194
13195 * string/bug-strstr1.c: New file.
13196 * string/Makefile: Add rules to build and run bug-strstr1.
13197
5fb308bc
EB
131982010-10-05 Eric Blake <eblake@redhat.com>
13199
13200 [BZ #12092]
13201 * string/str-two-way.h (two_way_long_needle): Always clear memory
13202 when skipping input due to the shift table.
13203
45db99c7
UD
132042010-10-03 Ulrich Drepper <drepper@gmail.com>
13205
3b111893
UD
13206 [BZ #12005]
13207 * malloc/mcheck.c: Handle large requests.
13208
45db99c7
UD
13209 [BZ #12077]
13210 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13211 for strncmp and strncasecmp.
13212 * string/stratcliff.c: Add tests for strcmp and strncmp.
13213 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13214
cf7a1eb8
NI
132152010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13216
13217 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13218 __set_fpscr.
13219
6484ba5e
AJ
132202010-09-30 Andreas Jaeger <aj@suse.de>
13221
13222 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13223 (CGROUP_SUPER_MAGIC): Define.
13224 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13225 Handle btrfs and cgroup file systems.
13226 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13227 Likewise.
13228
91c42559
LM
132292010-09-27 Luis Machado <luisgpm@br.ibm.com>
13230
13231 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13232 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13233
87a97932
AK
132342010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13235
13236 [BZ #12067]
13237 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13238 trying to locate the ELF header.
13239
c21cc9bc
AS
132402010-09-27 Andreas Schwab <schwab@redhat.com>
13241
13242 [BZ #11611]
13243 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13244 Mask out sign-bit copies when constructing f_fsid.
13245
315970f6
PB
132462010-09-24 Petr Baudis <pasky@suse.cz>
13247
13248 * debug/stack_chk_fail_local.c: Add missing licence exception.
13249 * debug/warning-nop.c: Likewise.
13250
1ac7a2c7
JM
132512010-09-15 Joseph Myers <joseph@codesourcery.com>
13252
13253 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13254 implementing getdents64 using getdents syscall, set d_type if
13255 __ASSUME_GETDENTS32_D_TYPE.
13256
56801c50
AS
132572010-09-16 Andreas Schwab <schwab@redhat.com>
13258
13259 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13260 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13261
dda51327
UD
132622010-09-21 Ulrich Drepper <drepper@redhat.com>
13263
13264 [BZ #12037]
13265 * posix/unistd.h: Undo change of feature selection for ftruncate from
13266 2010-01-11.
13267
8ffcee4a
UD
132682010-09-20 Ulrich Drepper <drepper@redhat.com>
13269
a545ecd9 13270 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13271 detection.
13272
e24f0a8b
AS
132732010-09-20 Andreas Schwab <schwab@redhat.com>
13274
13275 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13276 fanotify_mark.
13277 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13278
7291c56f
AS
132792010-09-14 Andreas Schwab <schwab@redhat.com>
13280
13281 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13282 variables after CHECK_SP call.
13283 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13284
bc5fb037
AS
132852010-09-13 Andreas Schwab <schwab@redhat.com>
13286 Ulrich Drepper <drepper@redhat.com>
13287
13288 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13289 re-relocationg ld.so.
13290 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13291 _dl_init_paths call.
13292 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13293 here anymore.
13294
e66e7419
UD
132952010-09-14 Ulrich Drepper <drepper@redhat.com>
13296
13297 * resolv/res_init.c (__res_vinit): Count the default server we added.
13298
c044aa75
CLT
132992010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13300 Ulrich Drepper <drepper@redhat.com>
13301
13302 [BZ #11968]
13303 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13304 (____longjmp_chk): Use %ebx for saving value across system call.
13305 Add unwind info.
13306
32cf4069
AS
133072010-09-06 Andreas Schwab <schwab@redhat.com>
13308
13309 * manual/Makefile: Don't mix pattern rules with normal rules.
13310
817328ee
AS
133112010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13312
13313 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13314 operation.
13315 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13316 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13317 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13318 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13319 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13320 Likewise.
13321
29fddf61
UD
133222010-09-04 Ulrich Drepper <drepper@redhat.com>
13323
13324 [BZ #11979]
13325 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13326 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13327
0959ffc9
UD
133282010-09-02 Ulrich Drepper <drepper@redhat.com>
13329
13330 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13331 * sysdeps/x86_64/addmul_1.S: Likewise.
13332 * sysdeps/x86_64/lshift.S: Likewise.
13333 * sysdeps/x86_64/mul_1.S: Likewise.
13334 * sysdeps/x86_64/rshift.S: Likewise.
13335 * sysdeps/x86_64/sub_n.S: Likewise.
13336 * sysdeps/x86_64/submul_1.S: Likewise.
13337
ece29840
ST
133382010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13339
0959ffc9
UD
13340 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13341 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13342 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13343 * bits/sched.h [__need_schedparam]
ece29840 13344 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13345 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13346 (__defined_schedparam): Define to 1.
ece29840
ST
13347 (__sched_param): New structure, identical to sched_param.
13348 (__need_schedparam): Undefine.
13349
e53a31fe
MF
133502010-08-31 Mike Frysinger <vapier@gentoo.org>
13351
fdc0c10d
MF
13352 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13353 (epoll_create1): Declare.
13354
e53a31fe
MF
13355 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13356
a726d796
AS
133572010-08-31 Andreas Schwab <schwab@redhat.com>
13358
13359 [BZ #7066]
13360 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13361 shifting retval into place.
13362
2f3e3dc7
UD
133632010-09-01 Ulrich Drepper <drepper@redhat.com>
13364
f2933da9
UD
13365 * nis/rpcsvc/nis.h: Update copyright notice.
13366 * nis/rpcsvc/nis.x: Likewise.
13367 * nis/rpcsvc/nis_callback.h: Likewise.
13368 * nis/rpcsvc/nis_callback.x: Likewise.
13369 * nis/rpcsvc/nis_object.x: Likewise.
13370 * nis/rpcsvc/nis_tags.h: Likewise.
13371 * nis/rpcsvc/yp.h: Likewise.
13372 * nis/rpcsvc/yp.x: Likewise.
13373 * nis/rpcsvc/ypupd.h: Likewise.
13374 * nis/yp_xdr.c: Likewise.
13375 * nis/ypupdate_xdr.c: Likewise.
13376
2f3e3dc7
UD
13377 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13378 mainly the body of pmap_getport. Add parameters to specify timeouts.
13379 (pmap_getport): Use __libc_rpc_getport.
13380 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13381 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13382 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13383
f3dcc2f9
AS
133842010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13385
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13387 fanotify_mark.
13388
6d34eb5b
RM
133892010-08-27 Roland McGrath <roland@redhat.com>
13390
13391 * sysdeps/i386/i686/multiarch/Makefile
13392 (CFLAGS-varshift.c): New variable.
13393
9ea3de11
UD
133942010-08-27 Ulrich Drepper <drepper@redhat.com>
13395
c96d23fc
UD
13396 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13397 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13398
9ea3de11
UD
13399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13400
13401 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13402
623aac7f
L
134032010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13404
13405 * sysdeps/x86_64/strlen.S: Unroll the loop.
13406 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13407 strlen-sse2 strlen-sse2-bsf.
13408 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13409 __strlen_no_bsf if bit_Slow_BSF is set.
13410 (__strlen_sse42): Removed.
13411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13412 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13413
8b2b7715
RM
134142010-08-25 Roland McGrath <roland@redhat.com>
13415
13416 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13417 * sysdeps/x86_64/multiarch/varshift.c: New file.
13418 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13419 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13420 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13421 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13422
e73015f2
L
134232010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13424
13425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13426 strlen-sse2 strlen-sse2-bsf.
13427 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13428 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13429 (__strlen_sse2): Removed.
13430 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13431 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13432 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13433 bit_Slow_BSF for Atom.
13434 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13435 (index_Slow_BSF): Define.
13436 (HAS_SLOW_BSF): Define.
13437
df24a73e
UD
134382010-08-25 Ulrich Drepper <drepper@redhat.com>
13439
13440 [BZ #10851]
13441 * resolv/res_init.c (__res_vinit): When no server address at all
13442 is given default to loopback.
13443
f2ac4868
RM
134442010-08-24 Roland McGrath <roland@redhat.com>
13445
09055553
RM
13446 * configure.in: Remove config-name.h generation.
13447 * configure: Regenerated.
13448 * config-name.in: File removed.
13449 * scripts/config-uname.sh: New file.
13450 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13451 ($(objdir)config-name.h): New target.
13452
f2ac4868
RM
13453 * sunrpc/rpc_parse.h: Avoid nested comment.
13454
73f27d5e
RH
134552010-08-24 Richard Henderson <rth@redhat.com>
13456 Ulrich Drepper <drepper@redhat.com>
13457 H.J. Lu <hongjiu.lu@intel.com>
13458
13459 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13460 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13461 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13462 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13463 _mm_alignr_epi8 with _mm_loadu_si128.
13464 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13465 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13466 (__m128i_shift_right): Removed.
13467 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13468 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13469 * sysdeps/x86_64/multiarch/varshift.h: New file.
13470 * sysdeps/x86_64/multiarch/varshift.S: New file.
13471
84b9230c
MF
134722010-08-21 Mike Frysinger <vapier@gentoo.org>
13473
13474 * configure.in: Move assembler checks to before sysdep dir checking.
13475
9bbd0ddc
PB
134762010-08-20 Petr Baudis <pasky@suse.cz>
13477
13478 * LICENSES: Sync the sunrpc license.
13479
9da4bb31
UD
134802010-08-19 Ulrich Drepper <drepper@redhat.com>
13481
a7ab6ec8
UD
13482 * sunrpc/auth_des.c: Update copyright notice once again.
13483 * sunrpc/auth_none.c: Likewise.
13484 * sunrpc/auth_unix.c: Likewise.
13485 * sunrpc/authdes_prot.c: Likewise.
13486 * sunrpc/authuxprot.c: Likewise.
13487 * sunrpc/bindrsvprt.c: Likewise.
13488 * sunrpc/clnt_gen.c: Likewise.
13489 * sunrpc/clnt_perr.c: Likewise.
13490 * sunrpc/clnt_raw.c: Likewise.
13491 * sunrpc/clnt_simp.c: Likewise.
13492 * sunrpc/clnt_tcp.c: Likewise.
13493 * sunrpc/clnt_udp.c: Likewise.
13494 * sunrpc/clnt_unix.c: Likewise.
13495 * sunrpc/des_crypt.c: Likewise.
13496 * sunrpc/des_soft.c: Likewise.
13497 * sunrpc/get_myaddr.c: Likewise.
13498 * sunrpc/getrpcport.c: Likewise.
13499 * sunrpc/key_call.c: Likewise.
13500 * sunrpc/key_prot.c: Likewise.
13501 * sunrpc/openchild.c: Likewise.
13502 * sunrpc/pm_getmaps.c: Likewise.
13503 * sunrpc/pm_getport.c: Likewise.
13504 * sunrpc/pmap_clnt.c: Likewise.
13505 * sunrpc/pmap_prot.c: Likewise.
13506 * sunrpc/pmap_prot2.c: Likewise.
13507 * sunrpc/pmap_rmt.c: Likewise.
13508 * sunrpc/rpc/auth.h: Likewise.
13509 * sunrpc/rpc/auth_unix.h: Likewise.
13510 * sunrpc/rpc/clnt.h: Likewise.
13511 * sunrpc/rpc/des_crypt.h: Likewise.
13512 * sunrpc/rpc/key_prot.h: Likewise.
13513 * sunrpc/rpc/netdb.h: Likewise.
13514 * sunrpc/rpc/pmap_clnt.h: Likewise.
13515 * sunrpc/rpc/pmap_prot.h: Likewise.
13516 * sunrpc/rpc/pmap_rmt.h: Likewise.
13517 * sunrpc/rpc/rpc.h: Likewise.
13518 * sunrpc/rpc/rpc_des.h: Likewise.
13519 * sunrpc/rpc/rpc_msg.h: Likewise.
13520 * sunrpc/rpc/svc.h: Likewise.
13521 * sunrpc/rpc/svc_auth.h: Likewise.
13522 * sunrpc/rpc/types.h: Likewise.
13523 * sunrpc/rpc/xdr.h: Likewise.
13524 * sunrpc/rpc_clntout.c: Likewise.
13525 * sunrpc/rpc_cmsg.c: Likewise.
13526 * sunrpc/rpc_common.c: Likewise.
13527 * sunrpc/rpc_cout.c: Likewise.
13528 * sunrpc/rpc_dtable.c: Likewise.
13529 * sunrpc/rpc_hout.c: Likewise.
13530 * sunrpc/rpc_main.c: Likewise.
13531 * sunrpc/rpc_parse.c: Likewise.
13532 * sunrpc/rpc_parse.h: Likewise.
13533 * sunrpc/rpc_prot.c: Likewise.
13534 * sunrpc/rpc_sample.c: Likewise.
13535 * sunrpc/rpc_scan.c: Likewise.
13536 * sunrpc/rpc_scan.h: Likewise.
13537 * sunrpc/rpc_svcout.c: Likewise.
13538 * sunrpc/rpc_tblout.c: Likewise.
13539 * sunrpc/rpc_util.c: Likewise.
13540 * sunrpc/rpc_util.h: Likewise.
13541 * sunrpc/rpcinfo.c: Likewise.
13542 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13543 * sunrpc/rpcsvc/key_prot.x: Likewise.
13544 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13545 * sunrpc/rpcsvc/mount.x: Likewise.
13546 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13547 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13548 * sunrpc/rpcsvc/rex.x: Likewise.
13549 * sunrpc/rpcsvc/rstat.x: Likewise.
13550 * sunrpc/rpcsvc/rusers.x: Likewise.
13551 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13552 * sunrpc/rpcsvc/spray.x: Likewise.
13553 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13554 * sunrpc/rtime.c: Likewise.
13555 * sunrpc/svc.c: Likewise.
13556 * sunrpc/svc_auth.c: Likewise.
13557 * sunrpc/svc_authux.c: Likewise.
13558 * sunrpc/svc_raw.c: Likewise.
13559 * sunrpc/svc_run.c: Likewise.
13560 * sunrpc/svc_simple.c: Likewise.
13561 * sunrpc/svc_tcp.c: Likewise.
13562 * sunrpc/svc_udp.c: Likewise.
13563 * sunrpc/svc_unix.c: Likewise.
13564 * sunrpc/svcauth_des.c: Likewise.
13565 * sunrpc/xcrypt.c: Likewise.
13566 * sunrpc/xdr.c: Likewise.
13567 * sunrpc/xdr_array.c: Likewise.
13568 * sunrpc/xdr_float.c: Likewise.
13569 * sunrpc/xdr_mem.c: Likewise.
13570 * sunrpc/xdr_rec.c: Likewise.
13571 * sunrpc/xdr_ref.c: Likewise.
13572 * sunrpc/xdr_sizeof.c: Likewise.
13573 * sunrpc/xdr_stdio.c: Likewise.
13574
9da4bb31
UD
13575 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13576 handling.
13577
bdaa77bc
AS
135782010-08-19 Andreas Schwab <schwab@redhat.com>
13579
13580 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13581
fe2f79db
LM
135822010-08-19 Luis Machado <luisgpm@br.ibm.com>
13583
13584 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13585 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13586 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13587 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13588 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13589 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13590 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13591 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13592 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13593 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13594 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13595 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13596 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13597 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13598
b9b42ee0
AB
135992010-07-26 Anton Blanchard <anton@samba.org>
13600
13601 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13602 * malloc/arena.c (heap_trim): Likewise.
13603
1c06ba31
UD
136042010-08-16 Ulrich Drepper <drepper@redhat.com>
13605
13606 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13607 here. Not...
13608 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13609 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13610
f8392f40
L
136112010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13612
13613 * sysdeps/i386/elf/Makefile: New file.
13614
3162f12e
AS
136152010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13616
13617 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13618 from fanotify_init.
13619 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13621
28c90b2c
UD
136222010-08-15 Ulrich Drepper <drepper@redhat.com>
13623
13624 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13625 of strncasecmp_l.
1feccb6c 13626 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13627
ca6bb004
UD
136282010-08-14 Ulrich Drepper <drepper@redhat.com>
13629
e9f82e0d
UD
13630 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13631 strncase_l-nonascii.
13632 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13633 Add strncase_l-ssse3.
13634 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13635 * sysdeps/x86_64/strcmp.S: Likewise.
13636 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13637 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13638 * sysdeps/x86_64/strncase.S: New file.
13639 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13640 * sysdeps/x86_64/strncase_l.S: New file.
13641 * string/Makefile (strop-tests): Add strncasecmp.
13642 * string/test-strncasecmp.c: New file.
13643
13644 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13645 warning.
13646
ca6bb004
UD
13647 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13648 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13649
052fa7b3
AS
136502010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13651
13652 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13653
962dba78
UD
136542010-08-12 Ulrich Drepper <drepper@redhat.com>
13655
13656 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13657 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13658 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13659
bebff237
AM
136602010-05-01 Alan Modra <amodra@gmail.com>
13661
13662 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13663 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13664 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13665 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13666 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13667 tidying. Don't tail-call __sigjmp_save for static lib.
13668 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13669 save location.
13670 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13671 (CALL_MCOUNT): Add eh info, and nop after bl.
13672 (TAIL_CALL_SYSCALL_ERROR): New macro.
13673 (PSEUDO_RET): Use it.
13674 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13675 Correct save location of integer regs and cr.
13676 (_dl_profile_resolve): Correct cr save location. Delete nops
13677 after bl when SHARED. Reduce cfi size a little by better
13678 placement of cfi directives.
13679 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13680 make a stack frame. Instead use parm save area as a temp.
13681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13682 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13684 Don't make a stack frame for parent, use parm save area.
13685 Increase child stack frame to 112 bytes. Don't save unused reg,
13686 and adjust reg usage. Set up cfi on error recovery and
13687 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13689 (__makecontext): Add dummy nop after jump to exit.
13690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13691 Use correct parm save area and cr save, reduce stack frame.
13692 Correct cfi for possible PSEUDO_RET frame setup.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13694 Branch to local label emitted by PSEUDO_RET rather than
13695 __syscall_error.
13696
02637374
AS
136972010-08-12 Andreas Schwab <schwab@redhat.com>
13698
13699 [BZ #11904]
13700 * locale/programs/locale.c (print_assignment): New function.
13701 (show_locale_vars): Use it.
13702
c3e2f19b
UD
137032010-08-11 Ulrich Drepper <drepper@redhat.com>
13704
3cdaa6ad
UD
13705 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13706 field.
13707 (struct statfs64): Likewise.
13708 (_STATFS_F_FLAGS): Define.
13709 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13710 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13711 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13712 (ST_VALID): Define locally.
13713 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13714 __statvfs_getflags, use the provided value.
13715 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13716 __ASSUME_STATFS_F_FLAGS.
13717
754f7da3
UD
13718 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13719
10b3bedc
UD
13720 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13721 Add sys/fanotify.h.
13722 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13723 fanotify_mask for GLIBC_2.13.
13724 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13725 fanotify_init and fanotify_mark.
13726 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13727 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13728
c08fb0d7
UD
13729 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13730 Add prlimit.
13731 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13732 prlimit64 for GLIBC_2.13.
13733 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13734 prlimit64.
13735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13736 syscall.
13737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13738 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13739 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13740 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13741 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13742 add prlimit alias.
13743 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13744
15bac72b
UD
13745 [BZ #11903]
13746 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13747 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13748
c3e2f19b
UD
13749 * nss/Makefile: Add rules to build and run tst-nss-test1.
13750 * shlib-versions: Add entry for libnss_test1.
13751 * nss/nss_test1.c: New file.
13752 * nss/tst-nss-test1.c: New file.
13753
13754 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13755 (__nss_configure_lookup): Set appropriate entry in
13756 __nss_configure_lookup to true.
13757 * nss/nsswitch.h: Define enum with indeces of databases in
13758 databases and __nss_database_custom arrays. Declare
13759 __nss_database_custom.
13760 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13761 to avoid using nscd when custom rules are installed.
13762 * nss/getXXbyYY_r.c: Likewise.
13763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13764
13765 * nss/nss_files/files-parse.c: Whitespace fixes.
13766
f15ce4d8
UD
137672010-08-09 Ulrich Drepper <drepper@redhat.com>
13768
13769 [BZ #11883]
13770 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13771 * posix/fnmatch_loop.c: Likewise.
13772
d22e4cc9
AK
137732010-07-17 Andi Kleen <ak@linux.intel.com>
13774
13775 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13776 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13777 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13778 * Versions.def [GLIBC_2.13]: Add.
13779
805bc17d
UD
137802010-08-06 Ulrich Drepper <drepper@redhat.com>
13781
13782 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13783 Also fail if tpwd after pwuid call is NULL.
13784
5a42321d
ST
137852010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13786
13787 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13788 when converting to ms.
13789
fd3ebeda
ST
137902010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13791
13792 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13793 EOPNOTSUPP errors with ENOTTY.
13794 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13795 EOPNOTSUPP errors with ENOTTY.
13796
73507d3a
UD
137972010-07-31 Ulrich Drepper <drepper@redhat.com>
13798
13799 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13800 Add strcasecmp_l-ssse3.
13801 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13802 strcasecmp.
13803 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13804 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13805 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13806
fe36dd02
UD
138072010-07-30 Ulrich Drepper <drepper@redhat.com>
13808
66f6765a
UD
13809 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13810
42e08a54
UD
13811 * string/Makefile (strop-tests): Add strcasecmp.
13812 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13813 strcasecmp_l-nonascii.
13814 (gen-as-const-headers): Add locale-defines.sym.
13815 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13816 * sysdeps/x86_64/strcasecmp.S: New file.
13817 * sysdeps/x86_64/strcasecmp_l.S: New file.
13818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13819 * sysdeps/x86_64/locale-defines.sym: New file.
13820 * string/test-strcasecmp.c: New file.
13821
fe36dd02
UD
13822 * string/test-strcasestr.c: Test both ends of the range of characters.
13823 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13824
48cbc0d6
RM
138252010-07-29 Roland McGrath <roland@redhat.com>
13826
76e6d6bc 13827 [BZ #11856]
48cbc0d6
RM
13828 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13829
880113d9
UD
138302010-07-27 Ulrich Drepper <drepper@redhat.com>
13831
13832 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13833 for ld.so.
13834
deb9cabb
AS
138352010-07-27 Andreas Schwab <schwab@redhat.com>
13836
13837 * manual/memory.texi (Malloc Tunable Parameters): Document
13838 M_PERTURB.
13839
1c7570ff
RM
138402010-07-26 Roland McGrath <roland@redhat.com>
13841
13842 [BZ #11840]
13843 * configure.in (-fgnu89-inline check): Set and substitute
13844 gnu89_inline, not libc_cv_gnu89_inline.
13845 * configure: Regenerated.
13846 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13847
24fb0f88
UD
138482010-07-26 Ulrich Drepper <drepper@redhat.com>
13849
13850 * string/test-strnlen.c: New file.
13851 * string/Makefile (strop-tests): Add strnlen.
13852 * string/tester.c (test_strnlen): Add a few more test cases.
13853 * string/tst-strlen.c: Better error reporting.
13854
13855 * sysdeps/x86_64/strnlen.S: New file.
13856
8e96b93a
UD
138572010-07-24 Ulrich Drepper <drepper@redhat.com>
13858
13859 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13860 lower-latency instructions.
13861
dbc676d4
UD
138622010-07-23 Ulrich Drepper <drepper@redhat.com>
13863
13864 * string/test-strcasestr.c: New file.
13865 * string/test-strstr.c: New file.
13866 * string/Makefile (strop-tests): Add strstr and strcasestr.
13867 * string/str-two-way.h: Don't undefine MAX.
13868 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13869
f6a31e0e
AS
138702010-07-21 Andreas Schwab <schwab@redhat.com>
13871
13872 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13873 strcasestr-nonascii.
13874 (CFLAGS-strcasestr-nonascii.c): Define.
13875 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13876 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13877 Remove unused attribute.
13878
5dbc3b6c
RM
138792010-07-20 Roland McGrath <roland@redhat.com>
13880
13881 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13882 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13883 ld.so.cache was broken. With it, there is no way to disable dsocaps
13884 like LD_HWCAP_MASK can disable hwcaps.
13885
23d101d8
EPM
138862010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13887
13888 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13889
cc9f2e47
UD
138902010-07-16 Ulrich Drepper <drepper@redhat.com>
13891
13892 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13893 call in strcasestr.
13894 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13895 __strcasestr_sse42_nonascii.
13896 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13897 strcasestr-nonascii.c.
13898 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13899
77c1b069
LM
139002010-06-15 Luis Machado <luisgpm@br.ibm.com>
13901
13902 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13903 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13904 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13905 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13906
440566c3
UD
139072010-07-09 Ulrich Drepper <drepper@redhat.com>
13908
13909 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13910 fcntl.
13911
5be9d05d
AS
139122010-07-06 Andreas Schwab <schwab@redhat.com>
13913
c30b7ee2 13914 [BZ #11577]
5be9d05d
AS
13915 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13916 dl_signal_cerror.
13917
8a492a67
UD
139182010-07-06 Ulrich Drepper <drepper@redhat.com>
13919
13920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13921 _PC_PIPE_BUF using F_GETPIPE_SZ.
13922
713df3d5
RM
139232010-07-05 Roland McGrath <roland@redhat.com>
13924
13925 * manual/arith.texi (Rounding Functions): Fix rint description
13926 implicit in round description.
13927
702e8f14
UD
139282010-07-02 Ulrich Drepper <drepper@redhat.com>
13929
13930 * elf/Makefile: Fix linking for a few tests to make recent linker
13931 happy.
13932
52ed8be9
AS
139332010-06-30 Andreas Schwab <schwab@redhat.com>
13934
13935 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13936 $(common-objpfx)libc_nonshared.a.
13937
f47c9a11
LM
139382010-06-21 Luis Machado <luisgpm@br.ibm.com>
13939
13940 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13941 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13942 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13943 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13944 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13945 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13946 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13947 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13962 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13963 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13964 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13965 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13966 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13967 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13968 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13969 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13970 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13971 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13972 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13973 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13988
6fb8cbcb
L
139892010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13990
13991 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13992 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13993 * string/memmove.c (memmove): Renamed to ...
13994 (MEMMOVE): ...this. Default to memmove.
13995 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13996 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13997 (END_CHK): Define.
13998 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13999 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14000 mempcpy-ssse3-back memmove-ssse3-back.
14001 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14002 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14003 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14004 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14005 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14006 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14007 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14008 * sysdeps/x86_64/multiarch/memmove.c: New file.
14009 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14010 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14011 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14012 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14013 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14014 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14015 Define.
14016 (index_Fast_Copy_Backward): Define.
14017 (HAS_ARCH_FEATURE): Define.
14018 (HAS_FAST_REP_STRING): Define.
14019 (HAS_FAST_COPY_BACKWARD): Define.
14020
4e733bac 140212010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14022
14023 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14024 Restore proper fallback handling.
14025
63c4ed22
UD
140262010-06-19 Ulrich Drepper <drepper@redhat.com>
14027
ac2b484c
UD
14028 [BZ #11701]
14029 * posix/group_member.c (__group_member): Correct checking loop.
14030
63c4ed22
UD
14031 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14032 OOM in getpwuid_r correctly. Return error number when the caller
14033 should return, otherwise -1.
14034 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14035 call returning > 0 value.
14036 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14037
765ade4b
AS
140382010-06-07 Andreas Schwab <schwab@redhat.com>
14039
14040 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14041 libc_nonshared.a from targets in modules-names.
14042
80da2e09
KS
140432010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14044
14045 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14046 requires it.
14047
158db122
LM
140482010-06-10 Luis Machado <luisgpm@br.ibm.com>
14049
14050 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14051 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14052 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14053 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14054
caa78cf8
AS
140552010-06-02 Andreas Schwab <schwab@redhat.com>
14056
14057 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14058
b2ef2c01
UD
140592010-06-14 Ulrich Drepper <drepper@redhat.com>
14060
14061 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14062 and F_GETPIPE_SZ.
14063 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14065 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14068 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14069
fbd643b6
RM
140702010-06-14 Roland McGrath <roland@redhat.com>
14071
14072 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14073
f32f2869
JJ
140742010-06-07 Jakub Jelinek <jakub@redhat.com>
14075
14076 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14077 __REDIRECT followed by __THROW.
14078 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14079 * posix/getopt.h (getopt): Likewise.
14080
2a50c078
EPM
140812010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14082
14083 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14084 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14085 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14086 in AT_FLAGS.
14087 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14088 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14089
eb5ad2eb
LM
140902010-05-28 Luis Machado <luisgpm@br.ibm.com>
14091
14092 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14093
3c88fe1e
L
140942010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14095
14096 [BZ #11640]
14097 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14098 Properly check family and model.
14099
d2f73151
TY
141002010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14101
14102 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14103
ebd2e13d
LM
141042010-05-24 Luis Machado <luisgpm@br.ibm.com>
14105
14106 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14107
b32b8b45
UD
141082010-05-21 Ulrich Drepper <drepper@redhat.com>
14109
14110 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14111 symbol reference.
14112
9acbe24d
AS
141132010-05-19 Andreas Schwab <schwab@redhat.com>
14114
14115 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14116 symbol reference.
14117
f0ccf6ea
AS
141182010-05-21 Andreas Schwab <schwab@redhat.com>
14119
3d04ff3a
AS
14120 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14121 and internal_recvmmsg.
14122 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14123 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14124 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14125 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14126
f0ccf6ea
AS
14127 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14128 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14129 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14130
5b08ac57
AS
141312010-05-20 Andreas Schwab <schwab@redhat.com>
14132
14133 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14134
4828935d
LM
141352010-05-17 Luis Machado <luisgpm@br.ibm.com>
14136
14137 POWER7 optimizations.
14138 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14139 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14140
373d545e
UD
141412010-05-19 Ulrich Drepper <drepper@redhat.com>
14142
14143 * version.h: Update for 2.13 development version.
14144
21a2b1ae
AS
141452010-05-12 Andrew Stubbs <ams@codesourcery.com>
14146
14147 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14148 exceptions. Return 0.
14149
3f7dcb2b
RM
141502010-05-07 Roland McGrath <roland@redhat.com>
14151
14152 * elf/ldconfig.c (main): Add a const.
14153
5f24d53a 141542010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14155
a160f8d8
UD
14156 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14157 (args_options): Add no-idn option.
14158 (ahosts_keys_int): Add idn_flags to ai_flags.
14159 (parse_option): Handle 'i' option to clear idn_flags.
14160
5f24d53a
UD
14161 * malloc/malloc.c (_int_free): Possible race in the most recently
14162 added check. Only act on the data if no current modification
14163 happened.
265bb1ce
UD
14164
14165See ChangeLog.17 for earlier changes.