]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Do not build manual in source dir
[thirdparty/glibc.git] / ChangeLog
CommitLineData
6a4888ff
AJ
12012-05-14 Andreas Jaeger <aj@suse.de>
2
3 * manual/Makefile (subdir): Remove export of subdir.
4 (all): Remove target.
5 (.PHONY): Remove all from list.
6 (mkinstalldirs): Remove.
7 (.PHONY): Remove installdirs from list.
8 ($(inst_infodir)/libc.info): Use make-target-directory.
9 (installdirs): Remove.
10 (subdir_%): Remove.
11 (glibc-targets): Remove.
12 (lib): Remove.
13 (stubs): Remove.
14 ($(objpfx)stubs ../po/manual.pot): Remove.
15 ($(objpfx)stamp%): Remove.
16 (make-target-directory): Remove.
17 (subdir_install): Remove.
18 (routines): Remove.
19 (aux): Remove.
20 (sources): Remove.
21 (objects): Remove.
22 (headers): Remove.
23
24 [BZ #13750]
25 * manual/.gitignore: Remove, it's not needed anymore.
26 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
27 all files in it.
28 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29 directory.
30 (texis): Renamed to $(objpfx)texis.
31 (texis-path): New, contains path to generated files.
32 (chapters.%): Use texis-path for complete path, add extra argument
33 libc-texinfo.sh.
34 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
35 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
36 (summary,texi, stamp-summary): Use complete path of
37 files. Generate files in build dir.
38 (dir-add.texi): Build in build dir.
39 (libm-err.texi,stamp-libm-err): Likewise.
40 (version.texi, stamp-version): Likewise.
41 (.%c.texi): Likewise.
42 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43 (mostlyclean): Remove target.
44 (realclean): Remove target.
45 (generated): Add new variable with contents from mostlyclean and
46 realclean, remove entries duplicated in common-mostlyclean, add
47 stamp-libm-err and stamp-version.
48 (generated-dirs): Add libc directory.
49 ($(inst_infodir)/libc.info): Install files from build dir.
50
51 * manual/install.texi (Configuring and compiling): Adjust since
52 the info files are not part of the tar ball anymore.
53
7ac77294
AJ
542012-05-14 Andreas Jaeger <aj@suse.de>
55
56 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
57 variable.
58
ffb7875d
JM
592012-05-14 Joseph Myers <joseph@codesourcery.com>
60
61 [BZ #13717]
62 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63 to 2.2.0 where earlier.
64 * sysdeps/unix/sysv/linux/configure: Regenerated.
65 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
66 Remove conditional code.
67 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
68 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
69 Remove conditional code.
70 [!__NR_lchown]: Likewise.
71 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72 [__NR_lchown]: Likewise.
73 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
74 comment referencing __ASSUME_LCHOWN_SYSCALL.
75 * sysdeps/unix/sysv/linux/i386/sigaction.c
76 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
77 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
78 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79 Remove conditional code.
80 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81 (__protocol_available): Remove #if 0 code.
82 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
83 conditional code.
84 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
85 * sysdeps/unix/sysv/linux/kernel-features.h
86 (__ASSUME_GETCWD_SYSCALL): Don't define.
87 (__ASSUME_REALTIME_SIGNALS): Likewise.
88 (__ASSUME_PREAD_SYSCALL): Likewise.
89 (__ASSUME_PWRITE_SYSCALL): Likewise.
90 (__ASSUME_POLL_SYSCALL): Likewise.
91 (__ASSUME_LCHOWN_SYSCALL): Likewise.
92 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
93 non-SPARC.
94 (__ASSUME_SIOCGIFNAME): Don't define.
95 (__ASSUME_MSG_NOSIGNAL): Likewise.
96 (__ASSUME_SENDFILE): Define unconditionally.
97 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
98 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
99 conditional code.
100 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
101 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
102 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
103 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
104 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
105 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
106 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
108 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
109 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
111 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
112 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
114 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
115 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
117 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
118 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
120 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
121 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
123 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
124 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
126 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
127 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
129 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
130 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
131 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
132 Remove conditional code.
133 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
134 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
135 Remove conditional code.
136 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
137 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
138 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
139 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
140 Remove conditional code.
141 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
142 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
143 Remove conditional code.
144 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
145 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
146 Remove conditional code.
147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
149 Remove conditional code.
150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
152 Remove conditional code.
153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/sh/pwrite64.c
155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/sigaction.c
158 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
159 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/sigpending.c
161 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
162 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/sigprocmask.c
164 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
165 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/sigsuspend.c
167 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
168 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
170 (__libc_missing_rt_sigs): Remove.
171 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
172 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
173 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
174 Remove conditional code.
175 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
176 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
177 return 1.
178 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
179 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
180 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
181 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
182
1bfb7291
AJ
1832012-05-14 Andreas Jaeger <aj@suse.de>
184
caae5a81
AJ
185 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
186 it's not used in glibc.
187 (__coshm1): Likewise.
188 (__acosh1p): Likewise.
189 (__sgn): Likewise.
190
1bfb7291
AJ
191 * manual/string.texi (Copying and Concatenation): Add missing
192 variable in concat example.
193 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
194
c044d724
L
1952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
196
197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
198 __builtin_clzl with __builtin_clzll.
199
2523c62b
L
2002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
201
202 [BZ #14104]
203 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
204 libc_freeres_ptr.
205
d7bb4c42
LD
2062012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
207
208 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
209 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
210 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
211 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
212
9dc4e1fb
MF
2132012-05-14 Mike Frysinger <vapier@gentoo.org>
214
215 * NEWS: Update ia64 info.
216
c7df0112
AS
2172012-05-12 Andreas Schwab <schwab@linux-m68k.org>
218
219 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
220 used as bcopy.
221
dc70356c
TS
2222012-05-12 Thomas Schwinge <thomas@codesourcery.com>
223
224 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
225 * sysdeps/unix/syscalls.list (dup3): Likewise.
226 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
227 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
228
9fb1a21f
L
2292012-05-11 H.J. Lu <hongjiu.lu@intel.com>
230
231 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
232 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
233
4822a2a5
L
2342012-05-11 H.J. Lu <hongjiu.lu@intel.com>
235
236 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
237 thread pointer.
238 (TLS_IE): Use mov/add instead of movq/addq to load thread
239 pointer.
240 (TLS_GD_PREFIX): New.
241 (TLS_GD): Use it.
242
842b81d6
DM
2432012-05-11 David S. Miller <davem@davemloft.net>
244
245 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
246 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
247 (_FPU_SETCW): Likewise.
248
1cf463cd
L
2492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
250
251 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
252 is 32-byte aligned.
253
60cc4a18
AS
2542012-05-11 Andreas Schwab <schwab@linux-m68k.org>
255
256 [BZ #11837]
257 * iconvdata/gb18030.c: Update tables.
258 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
259 characters specially.
260 (BODY for TO_LOOP): Add encoding of missing ranges.
261
febb44a4
TS
2622012-05-11 Thomas Schwinge <thomas@codesourcery.com>
263
264 [BZ #13673]
265 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
266 * sysdeps/mach/hurd/dup3.c: Likewise.
267 * sysdeps/mach/hurd/readlinkat.c: Likewise.
268 * sysdeps/powerpc/memmove.c:: Likewise.
269
0a10fb9e
L
2702012-05-10 H.J. Lu <hongjiu.lu@intel.com>
271
272 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
273 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
274
df8a552f
L
2752012-05-10 H.J. Lu <hongjiu.lu@intel.com>
276
277 * elf/elf.h (R_X86_64_RELATIVE64): New.
278 (R_X86_64_NUM): Updated.
279 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
280 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
281 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
282 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
283 tst-quad1pie tst-quad2pie
284 (modules-names): Add tst-quadmod1 tst-quadmod2.
285 ($(objpfx)tst-quad1): New dependency.
286 ($(objpfx)tst-quad2): Likewise.
287 ($(objpfx)tst-quad1pie): Likewise.
288 ($(objpfx)tst-quad2pie): Likewise.
289 * sysdeps/x86_64/tst-quad1.c: New file.
290 * sysdeps/x86_64/tst-quad1pie.c: New file.
291 * sysdeps/x86_64/tst-quad2.c: Likewise.
292 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
293 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
294 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
295 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
296 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
297
f34d6f84
ST
2982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
299
f42d41d1
ST
300 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
301 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
302 * streams/stropts.h (t_scalar_t): Define type.
303
3c3571fc
ST
304 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
305 (_PATH_PRESERVE): Set to "/var/lib".
306 (_PATH_RWHODIR): Set to "/var/spool/rwho".
307
61f06bd3
ST
308 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
309 instead of int.
310
918d4d71
ST
311 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
312 if __dir_mkfile succeeded.
313
f34d6f84
ST
314 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
315 checking for _hurd_dtablesize. Unlock it right after having
316 finished _hurd_dtable allocation.
317
10589b4a
TS
3182012-05-10 Thomas Schwinge <thomas@schwinge.name>
319
674cdbc7
TS
320 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
321 * sysdeps/mach/hurd/configure: Regenerated.
322 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
323 special-casing to...
324 * sysdeps/gnu/configure.in: ... this new file.
325 * sysdeps/unix/sysv/linux/configure: Regenerated.
326 * sysdeps/gnu/configure: New generated file.
327
8e41b99f
TS
328 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
329 for Linux: use nsec instead of usec, as well as:
330 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
331 members of type struct timespec.
332 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
333 New macros.
334 (struct stat64): Likewise.
335 (_STATBUF_ST_NSEC): New macro.
336 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
337
10589b4a
TS
338 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
339 __strtoul_internal rather than strtoul.
340
63643c85
PT
3412012-05-10 Pino Toscano <toscano.pino@tiscali.it>
342
343 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
344 and reject them.
345
3faebe6a
ST
3462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
347
348 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
349 which preserves existing values.
350 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
351
c6474b07
PT
3522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
353
354 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
355 TIMEOUT values. Return EINVAL for NFDS values either negative or
356 greater than FD_SETSIZE.
357
1043890b
ST
3582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
359
360 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
361 allocated, call __vm_protect to finish enabling the existing space, and
362 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
363 allocate the remainder.
364
37ed8b9b
PT
3652012-05-10 Pino Toscano <toscano.pino@tiscali.it>
366
367 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
368 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
369
db653660
ST
3702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
371
37ed8b9b
PT
372 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
373 sysdeps/mach/hurd/readlink.c.
b29d4053 374
db653660
ST
375 * posix/tst-sysconf.c (posix_options): Only use
376 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
377 _POSIX_SYNCHRONIZED_IO when they are defined
378 * sysdeps/mach/hurd/bits/posix_opt.h:
379 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
380 (_XOPEN_REALTIME): Undefine macro.
381 (_XOPEN_REALTIME_THREADS): Undefine macro.
382 (_XOPEN_SHM): Undefine macro.
383 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
384 macro to -1.
385 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
386 macro to -1.
387 (_POSIX_ASYNC_IO): Undefine macro.
388 (_POSIX_PRIORITIZED_IO): Undefine macro.
389 (_POSIX_SPIN_LOCKS): Define macro to -1.
390
ee16e894
ST
391 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
392 SA_NODEFER, SA_RESETHAND.
393 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
394 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
395 F_DUPFD_CLOEXEC.
396
6103ae3b
TS
3972012-05-10 Thomas Schwinge <thomas@schwinge.name>
398
399 * elf/Makefile (pldd-modules): Define unconditionally.
400
80b4e5f3
TS
4012012-05-10 Thomas Schwinge <thomas@schwinge.name>
402
403 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
404
edadcbd6
ST
4052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
406
407 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
408 Return ENOENT when name is empty.
409 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
410
80694780
TS
4112012-05-10 Thomas Schwinge <thomas@schwinge.name>
412
1792c087
TS
413 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
414
80694780
TS
415 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
416
6b645f0d
ST
4172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
418
80694780
TS
419 Fix mlock in all cases except non-readable pages.
420 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
421 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 422
6b645f0d
ST
423 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
424 (__mkdir): When path is `/', just fail with EEXIST.
425 * sysdeps/mach/hurd/mkdirat.c: Likewise.
426
e468f8a3
TS
4272012-05-10 Thomas Schwinge <thomas@schwinge.name>
428
429 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
430 <sys/uio.h> (for writev).
431 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
432 and <sys/param.h> (for MIN).
433
a4186cff
PT
4342012-05-10 Pino Toscano <toscano.pino@tiscali.it>
435
436 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
437 REQUESTED_TIME. Properly set the remaining time and return EINTR
438 if interrupted.
439
510bbf14
TS
4402012-05-10 Thomas Schwinge <thomas@schwinge.name>
441
442 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
443 Depend on against $(link-rpcuserlibs).
444
5d5722e8
ST
4452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
446
a4186cff
PT
447 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
448 (__libc_stack_end): Do not use attribute_relro.
449 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
450 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 451 to libthread-provided value.
a4186cff
PT
452 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
453 attribute_relro.
5d5722e8 454
37233df9
TS
4552012-05-10 Thomas Schwinge <thomas@schwinge.name>
456
be971a2b
TS
457 [BZ #3748]
458 * bits/libc-lock.h (__libc_once_get): New macro.
459 * sysdeps/mach/bits/libc-lock.h: Likewise.
460 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
461 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
462 instead of using implementation details.
463
37233df9
TS
464 * libio/fileops.c: Unconditionally include <kernel-features.h>.
465 * libio/freopen.c: Likewise.
466 * libio/freopen64.c: Likewise.
467 * misc/syslog.c: Likewise.
468 * nscd/connections.c: Likewise.
469 * nscd/netgroupcache.c: Likewise.
470 * sysdeps/posix/getcwd.c: Likewise.
471
38de94a5
RM
4722012-05-10 Roland McGrath <roland@hack.frob.com>
473
474 * math/w_ilogbf.c: Add #include <limits.h>.
475
67530489
ST
4762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
477
a4186cff 478 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
479 path instead of returning without unlocking.
480
67530489
ST
481 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
482 immediate-write ioctls.
483 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
484
5aa3a74a
TS
4852012-05-10 Thomas Schwinge <thomas@schwinge.name>
486
18bad2ae
TS
487 * sysdeps/mach/hurd/i386/init-first.c (init): Use
488 __builtin_frame_address instead of making assumptions about the
489 location of the return address relative to DATA. Force early load of
490 the return address.
491 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
492 __builtin_frame_address.
493
5aa3a74a
TS
494 dup3 for GNU Hurd.
495 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
496 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
497 implement dup3 and do some further code clean-ups.
498 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
499 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
500
ecd0de9a
ST
5012012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
502
cd9fa985
ST
503 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
504
a4186cff
PT
505 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
506 HURD_CRITICAL_END around holding _hurd_dtable_lock.
507 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
508 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
509 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
510 d->port.lock.
802ca5a5 511
a4186cff
PT
512 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
513 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
514 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 515
bcf55240
TS
5162012-05-10 Thomas Schwinge <thomas@schwinge.name>
517
6960eb42
TS
518 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
519 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
520 definitions.
521
eb43375f
TS
522 accept4 for GNU Hurd.
523 * include/sys/socket.h (__libc_accept4): New prototype.
524 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
525 to implement __libc_accept4.
526 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
527 __libc_accept4.
528 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
529
bcf55240
TS
530 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
531 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
532 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
533 signal-defines.sym.
534
6178c55b
ST
5352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
536
a4186cff 537 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 538
6f080c2f
TS
5392012-05-10 Thomas Schwinge <thomas@schwinge.name>
540
541 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
542 assertion on O_CLOEXEC flag.
543 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
544 * hurd/intern-fd.c: Likewise.
545 * hurd/port2fd.c: Likewise.
546
bcfe3a54
ST
5472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
548
549 [BZ #3906]
550 * bits/in.h (IPV6_PKTINFO): Define new macro.
551 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
552
89c9aa49
AZ
5532012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
554
555 [BZ #13954]
556 [BZ #13955]
557 [BZ #13956]
558 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
559 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
560 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
561 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
562 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
563 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
564 * math/libm-test.inc (logb_test) : Additional logb tests.
565
021db4be
AJ
5662012-05-09 Andreas Schwab <schwab@linux-m68k.org>
567 Andreas Jaeger <aj@suse.de>
568
569 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
570 * configure: Regenerated.
571 * config.h.in (LINK_OBSOLETE_RPC): New macro.
572 * config.make.in (link-obsolete-rpc): New substituted variable.
573 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
574 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
575 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
576 (shared-only-routines): Don't set it under [link-obsolete-rpc],
577 so that libc.a contains the symbols.
578 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
579 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
580 * sunrpc/auth_none.c: Likewise.
581 * sunrpc/auth_unix.c: Likewise.
582 * sunrpc/authdes_prot.c: Likewise.
583 * sunrpc/authuxprot.c: Likewise.
584 * sunrpc/clnt_gen.c: Likewise.
585 * sunrpc/clnt_perr.c: Likewise.
586 * sunrpc/clnt_raw.c: Likewise.
587 * sunrpc/clnt_simp.c: Likewise.
588 * sunrpc/clnt_tcp.c: Likewise.
589 * sunrpc/clnt_udp.c: Likewise.
590 * sunrpc/clnt_unix.c: Likewise.
591 * sunrpc/des_crypt.c: Likewise.
592 * sunrpc/des_soft.c: Likewise.
593 * sunrpc/get_myaddr.c: Likewise.
594 * sunrpc/key_call.c: Likewise.
595 * sunrpc/key_prot.c: Likewise.
596 * sunrpc/netname.c: Likewise.
597 * sunrpc/pm_getmaps.c: Likewise.
598 * sunrpc/pm_getport.c: Likewise.
599 * sunrpc/pmap_clnt.c: Likewise.
600 * sunrpc/pmap_prot.c: Likewise.
601 * sunrpc/pmap_prot2.c: Likewise.
602 * sunrpc/pmap_rmt.c: Likewise.
603 * sunrpc/publickey.c: Likewise.
604 * sunrpc/rpc_cmsg.c: Likewise.
605 * sunrpc/rpc_common.c: Likewise.
606 * sunrpc/rpc_dtable.c: Likewise.
607 * sunrpc/rpc_prot.c: Likewise.
608 * sunrpc/rpc_thread.c: Likewise.
609 * sunrpc/rtime.c: Likewise.
610 * sunrpc/svc.c: Likewise.
611 * sunrpc/svc_auth.c: Likewise.
612 * sunrpc/svc_raw.c: Likewise.
613 * sunrpc/svc_run.c: Likewise.
614 * sunrpc/svc_tcp.c: Likewise.
615 * sunrpc/svc_udp.c: Likewise.
616 * sunrpc/svc_unix.c: Likewise.
617 * sunrpc/svcauth_des.c: Likewise.
618 * sunrpc/xcrypt.c: Likewise.
619 * sunrpc/xdr.c: Likewise.
620 * sunrpc/xdr_array.c: Likewise.
621 * sunrpc/xdr_float.c: Likewise.
622 * sunrpc/xdr_intXX_t.c: Likewise.
623 * sunrpc/xdr_mem.c: Likewise.
624 * sunrpc/xdr_rec.c: Likewise.
625 * sunrpc/xdr_ref.c: Likewise.
626 * sunrpc/xdr_sizeof.c: Likewise.
627 * sunrpc/xdr_stdio.c: Likewise.
628
b5c086a2
RM
6292012-05-10 Roland McGrath <roland@hack.frob.com>
630
631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
632 change. Update copyright years.
633
6d74dd09
JM
6342012-05-10 Joseph Myers <joseph@codesourcery.com>
635
636 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
637
28e72501
MK
6382012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
639 Joseph Myers <joseph@codesourcery.com>
640 Paul Pluzhnikov <ppluzhnikov@google.com>
641
642 [BZ #14012]
643 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
644 requiring rpcgen.
645 [cross-compiling] (extra-libs): Likewise.
646 [cross-compiling] (extra-libs-others): Likewise.
647 [cross-compiling] (librpcsvc-routines): Likewise.
648 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
649 [cross-compiling] (omit-deps): Likewise.
650 (sunrpc-CPPFLAGS): New variable.
651 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
652 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
653 (cross-rpcgen-objs): New variable.
654 (extra-objs): Append $(cross-rpcgen-objs).
655 ($(cross-rpcgen-objs)): New rule.
656 ($(objpfx)cross-rpcgen): Likewise.
657 (rpcgen-cmd): Define to use $(built-program-file). Expand
658 comment.
659 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
660 ($(objpfx)x%.stmp): Likewise.
661 * sunrpc/proto.h [IS_IN_build] (_): Define.
662 [IS_IN_build] (_libc_intl_domainname): Likewise.
663
c8c59454
L
6642012-05-10 H.J. Lu <hongjiu.lu@intel.com>
665
666 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
667 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
668 and R_X86_64_TPOFF64.
669
6f27cd16
JM
6702012-05-10 Joseph Myers <joseph@codesourcery.com>
671
672 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
673 sysdeps/unix/sysv/syscalls.list.
674 (stime): Likewise.
675 (utime): Likewise.
676 * sysdeps/unix/sysv/syscalls.list: Remove file.
677
02467e1c
PE
6782012-05-10 Paul Eggert <eggert@cs.ucla.edu>
679
680 [BZ #3440]
681 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
682 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
683 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
684 (__LC_IDENTIFICATION): Make these macros useful in #if
685 expressions, as required by C99.
686
da392631
AS
6872012-05-10 Andreas Schwab <schwab@linux-m68k.org>
688
689 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
690 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
691 after this.
692
8115f29b
L
6932012-05-09 H.J. Lu <hongjiu.lu@intel.com>
694
695 * stdlib/longlong.h: Updated from GCC.
696
bdd74070
AJ
6972012-05-09 Andreas Jaeger <aj@suse.de>
698
edfe0dbe
AJ
699 * nscd/nscd.c (run_modes): Make named enum, reorder so that
700 default is first entry.
701 (run_mode): Set type.
702 (main): Remove informal message about syslog.
703 (options): Fix typo.
704
bcfe3a54
ST
705 [BZ #14053]
706 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 707 to asm.
bcfe3a54
ST
708 (lrint): Likewise.
709 (llrintf): Likewise.
710 (llrint): Likewise.
711 (rint): Likewise.
712 (rintf): Likewise.
713 (nearbyint): Likewise.
714 (nearbyintf): Likewise.
bdd74070 715
91d8d69e
AJ
7162012-05-09 Andreas Jaeger <aj@suse.de>
717 Pedro Alves <palves@redhat.com>
718
719 * nscd/nscd.c (run_mode): Use enum.
720 (main): Cleanup coding style issue.
721
bb90b80b
AJ
7222012-05-09 Alexandre Oliva <aoliva@redhat.com>
723 Andreas Jaeger <aj@suse.de>
724
bcfe3a54
ST
725 * nscd/nscd.c (go_background): Replaced with...
726 (run_mode): ... this.
bb90b80b 727 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
728 (options): Add -F --foreground.
729 (main): Implement it.
730 (parse_opt): Parse it.
bb90b80b 731
1a4b75a1
AJ
7322012-05-09 Andreas Jaeger <aj@suse.de>
733
734 [BZ #14083]
735 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
736 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
737 -Wconversion warning.
738 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
739 Likewise.
740
b1cc2472
JM
7412012-05-09 Joseph Myers <joseph@codesourcery.com>
742
743 * conform/data/locale.h-data (NULL): Use macro-constant. Require
744 == 0.
745 (LC_ALL): Use macro-int-constant.
746 (LC_COLLATE): Likewise.
747 (LC_CTYPE): Likewise.
748 (LC_MESSAGES): Likewise.
749 (LC_MONETARY): Likewise.
750 (LC_NUMERIC): Likewise.
751 (LC_TIME): Likewise.
752 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
753 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
754 [ISO || ISO99 || ISO11] (*_t): Do not allow.
755 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
756 Specify type.
757 [C99-based standards] (float_t): Expect type.
758 [C99-based standards] (double_t): Expect type.
759 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
760 type.
761 [C99-based standards] (HUGE_VALL): Likewise.
762 [C99-based standards] (INFINITY): Likewise.
763 [C99-based standards] (NAN): Likewise.
764 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
765 [C99-based standards] (FP_NAN): Likewise.
766 [C99-based standards] (FP_NORMAL): Likewise.
767 [C99-based standards] (FP_SUBNORMAL): Likewise.
768 [C99-based standards] (FP_ZERO): Likewise.
769 [C99-based standards] (FP_FAST_FMA): Use
770 optional-macro-int-constant. Specify type. Require == 1.
771 [C99-based standards] (FP_FAST_FMAF): Likewise.
772 [C99-based standards] (FP_FAST_FMAL): Likewise.
773 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
774 [C99-based standards] (FP_ILOGBNAN): Likewise.
775 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
776 Specify type.
777 [C99-based standards] (MATH_ERREXCEPT): Likewise.
778 [C99-based standards] (math_errhandling): Specify type.
779 [ISO99 || ISO11] (signgam): Do not allow.
780 [non-C99-based standards] (copysignf): Do not allow.
781 [non-C99-based standards] (exp2f): Likewise.
782 [non-C99-based standards] (log2f): Likewise.
783 [non-C99-based standards] (modff): Allow.
784 [non-C99-based standards] (erff): Do not allow.
785 [non-C99-based standards] (erfcf): Likewise.
786 [non-C99-based standards] (gammaf): Likewise.
787 [non-C99-based standards] (hypotf): Likewise.
788 [non-C99-based standards] (j0f): Likewise.
789 [non-C99-based standards] (j1f): Likewise.
790 [non-C99-based standards] (jnf): Likewise.
791 [non-C99-based standards] (lgammaf): Likewise.
792 [non-C99-based standards] (tgammaf): Likewise.
793 [non-C99-based standards] (y0f): Likewise.
794 [non-C99-based standards] (y1f): Likewise.
795 [non-C99-based standards] (ynf): Likewise.
796 [non-C99-based standards] (isnanf): Likewise.
797 [non-C99-based standards] (acoshf): Likewise.
798 [non-C99-based standards] (asinhf): Likewise.
799 [non-C99-based standards] (atanhf): Likewise.
800 [non-C99-based standards] (cbrtf): Likewise.
801 [non-C99-based standards] (expm1f): Likewise.
802 [non-C99-based standards] (ilogbf): Likewise.
803 [non-C99-based standards] (log1pf): Likewise.
804 [non-C99-based standards] (logbf): Likewise.
805 [non-C99-based standards] (nextafterf): Likewise.
806 [non-C99-based standards] (remainderf): Likewise.
807 [non-C99-based standards] (rintf): Likewise.
808 [non-C99-based standards] (scalbf): Likewise.
809 [non-C99-based standards] (copysignl): Likewise.
810 [non-C99-based standards] (exp2l): Likewise.
811 [non-C99-based standards] (log2l): Likewise.
812 [non-C99-based standards] (modfl): Allow.
813 [non-C99-based standards] (erfl): Do not allow.
814 [non-C99-based standards] (erfcl): Likewise.
815 [non-C99-based standards] (gammal): Likewise.
816 [non-C99-based standards] (hypotl): Likewise.
817 [non-C99-based standards] (j0l): Likewise.
818 [non-C99-based standards] (j1l): Likewise.
819 [non-C99-based standards] (jnl): Likewise.
820 [non-C99-based standards] (lgammal): Likewise.
821 [non-C99-based standards] (tgammal): Likewise.
822 [non-C99-based standards] (y0l): Likewise.
823 [non-C99-based standards] (y1l): Likewise.
824 [non-C99-based standards] (ynl): Likewise.
825 [non-C99-based standards] (isnanl): Likewise.
826 [non-C99-based standards] (acoshl): Likewise.
827 [non-C99-based standards] (asinhl): Likewise.
828 [non-C99-based standards] (atanhl): Likewise.
829 [non-C99-based standards] (cbrtl): Likewise.
830 [non-C99-based standards] (expm1l): Likewise.
831 [non-C99-based standards] (ilogbl): Likewise.
832 [non-C99-based standards] (log1pl): Likewise.
833 [non-C99-based standards] (logbl): Likewise.
834 [non-C99-based standards] (nextafterl): Likewise.
835 [non-C99-based standards] (remainderl): Likewise.
836 [non-C99-based standards] (rintl): Likewise.
837 [non-C99-based standards] (scalbl): Likewise.
838 [ISO || ISO99 || ISO11] (*_t): Do not allow.
839 [non-C99-based standards] (FP_*): Do not allow.
840 [C99-based standards] (FP_*): Change to
841 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
842 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
843 allow.
844 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
845 (SIG_ERR): Likewise.
846 [X/Open-based standards] (SIG_HOLD): Likewise.
847 (SIG_IGN): Likewise.
848 (SIGABRT): Use macro-int-constant. Specify type. Require
849 positive value.
850 (SIGFPE): Likewise.
851 (SIGILL): Likewise.
852 (SIGINT): Likewise.
853 (SIGSEGV): Likewise.
854 (SIGTER): Likewise.
855 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
856 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
857 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
858 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
859 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
860 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
861 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
862 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
863 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
864 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
865 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
866 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
867 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
868 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
869 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
870 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
871 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
872 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
873 [X/Open-based standards] (SIGTRAP): Likewise.
874 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
875 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
876 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
877 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
878 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
879 allow.
880
b9f1922d
IW
8812012-05-08 Ian Wienand <ianw@vmware.com>
882
883 [BZ #14080]
884 * time/tzset.c (__tzset_parse_tz): Update default rules for
885 daylight time changes in the Energy Policy Act of 2005.
886
1db86e88
AJ
8872012-05-09 Andreas Jaeger <aj@suse.de>
888
889 [BZ #13983]
890 * elf/ldconfig.c (parse_conf): Change string to make clear that
891 ldconfig only issued a warning if ld.so.conf does not exist.
892
dee4a4e3
DM
8932012-05-08 David S. Miller <davem@davemloft.net>
894
ee0db190
DM
895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
896 movxtod instead of popping the value on the stack.
897
dee4a4e3
DM
898 * sysdeps/sparc/fpu/libm-test-ulps: Update.
899
6a43ec98
CD
9002012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
901
902 * config.h.in: Add HAVE_ARM_PCS_VFP.
903
05c2c961
RMG
9042012-05-08 Roland Mc Grath <roland@hack.frob.com>
905
bcfe3a54
ST
906 [BZ #13979]
907 * include/features.h: Warn if user requests __FORTIFY_SOURCE
908 checking but the checks are disabled for any reason.
05c2c961 909
4b30f61a
L
9102012-05-08 H.J. Lu <hongjiu.lu@intel.com>
911
912 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
913 and ELF64_R_TYPE with ELFW(R_TYPE).
914
eee2bc67
JM
9152012-05-08 Joseph Myers <joseph@codesourcery.com>
916
7ea5391a
JM
917 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
918 (ulimit): Likewise.
919
eee2bc67
JM
920 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
921 (settimeofday): Likewise.
922
abb66a67
MF
9232012-05-08 Mike Frysinger <vapier@gentoo.org>
924
925 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
926 a struct th_u2 inside the union, and move tu_block/tu_code into
927 a new th_u3 union of tu_block/tu_code inside of that. Move
928 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
929 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
930 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
931 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
932 (th_stuff): Change to th_u1.tu_stuff.
933 (th_data): Define.
934 (th_msg): Change to th_u1.th_u2.tu_data.
935
7f18b530
DM
9362012-05-07 David S. Miller <davem@davemloft.net>
937
05760585
DM
938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
939
7f18b530
DM
940 [BZ #14074]
941 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
942 (SETUP_PIC_REG): Use it.
943 (SETUP_PIC_REG_LEAF): Use it.
944
495fd99f
JM
9452012-05-07 Joseph Myers <joseph@codesourcery.com>
946
947 [BZ #13885]
948 [BZ #13923]
949 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
950 USE_AS_EXPM1L.
951 (EXPL_FINITE): Likewise.
952 (FLDLOG): Likewise.
953 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
954 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
955 e_expl.S.
956 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
957 USE_AS_EXPM1L.
958 (EXPL_FINITE): Likewise.
959 (FLDLOG): Likewise.
960 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
961 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
962 e_expl.S.
963 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
964 test of -max_value argument for long double.
965 * sysdeps/i386/fpu/libm-test-ulps: Update.
966 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
967
6693d694
DM
9682012-05-06 David S. Miller <davem@davemloft.net>
969
970 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
971 quad soft-float symbols whose references which are compiler
972 generated.
973 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
974
6c23e11c
JM
9752012-05-06 Joseph Myers <joseph@codesourcery.com>
976
d8b82cad
JM
977 [BZ #13884]
978 [BZ #13914]
979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
980 USE_AS_EXP10L.
981 (EXPL_FINITE): Likewise.
982 (FLDLOG): Likewise.
983 (c0): Likewise.
984 (c1): Likewise.
985 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
986 Adjust comments for base varying.
987 (__expl_finite): Change alias to EXPL_FINITE.
988 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
989 e_expl.S.
990 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
991 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
992 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
993 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
995 USE_AS_EXP10L.
996 (EXPL_FINITE): Likewise.
997 (FLDLOG): Likewise.
998 (c0): Likewise.
999 (c1): Likewise.
1000 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1001 Adjust comments for base varying.
1002 (__expl_finite): Change alias to EXPL_FINITE.
1003 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1004 tests for bugs.
1005 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1006
6c23e11c
JM
1007 [BZ #14064]
1008 * math/libm-test.inc (check_float_internal): Correct ulp
1009 calculation for subnormal expected results.
1010
29ba805c
AJ
10112012-05-06 Andreas Jaeger <aj@suse.de>
1012
1013 * Makeconfig (+math-flags): New, set to -frounding-math.
1014 (+cflags): Add +math-flags so that all of glibc gets compiled with
1015 it.
1016
1017 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1018
7b17aeda
JM
10192012-05-05 Joseph Myers <joseph@codesourcery.com>
1020
5779f134
JM
1021 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1022 Disable one test.
1023
41498f4d
JM
1024 [BZ #13787]
1025 [BZ #13922]
1026 [BZ #14036]
1027 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1028 (__ieee754_expl): Allow for and saturate large arguments.
1029 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1030 (u_threshold): Likewise.
1031 (__exp): Call __ieee754_exp before checking for overflow and
1032 underflow.
1033 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1034 (u_threshold): Likewise.
1035 (__expf): Call __ieee754_expf before checking for overflow and
1036 underflow.
1037 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1038 (u_threshold): Likewise.
1039 (__expl): Call __ieee754_expl before checking for overflow and
1040 underflow.
1041 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1042 (__ieee754_expl): Allow for and saturate large arguments.
1043 * math/libm-test.inc (exp_test): Add another test. Do not allow
1044 missing overflow exception on overflow.
1045 (expm1_test): Do not allow missing overflow exception on overflow.
1046
6698b8bf
JM
1047 * sysdeps/i386/fpu/e_expl.c: Move to ...
1048 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1049 rather than using inline asm.
1050 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1051 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1052 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1053
7b17aeda
JM
1054 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1055 (nice): Likewise.
1056 (poll): Likewise.
1057 (signal): Likewise.
1058 (time): Likewise.
1059 (times): Likewise.
1060
f7c85819
JM
10612012-05-04 Joseph Myers <joseph@codesourcery.com>
1062
1063 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1064 sysdeps/unix/common/syscalls.list.
1065 (fchmod): Likewise.
1066 (fchown): Likewise.
1067 (ftruncate): Likewise.
1068 (getrusage): Likewise.
1069 (gettimeofday): Likewise.
1070 (setpgid): Likewise.
1071 (setregid): Likewise.
1072 (setreuid): Likewise.
1073 (sigaction): Likewise.
1074 (truncate): Likewise.
1075 (vhangup): Likewise.
1076 * sysdeps/unix/common/syscalls.list: Remove file.
1077 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1078 * sysdeps/unix/sysv/linux/Implies: Likewise.
1079
336270d0
L
10802012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1081
1082 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1084 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1085 Moved to ...
1086 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1087 Here.
1088 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1089 to ...
1090 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1091 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1092 to ...
1093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1094 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1095 to ...
1096 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1097 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1098 to ...
1099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1100 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1101 to ...
1102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1103 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1104 to ...
1105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1106 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1107 to ...
1108 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1109 Here.
1110 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1111 to ...
1112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1113 Here.
1114 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1115 to ...
1116 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1117 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1118 Moved to ...
1119 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1120 Here.
1121 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1122 to ...
1123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1124
d128e450
JM
11252012-05-04 Joseph Myers <joseph@codesourcery.com>
1126
fa8ee516
JM
1127 * sysdeps/unix/common/bits/dirent.h: Remove file.
1128 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1129
d128e450
JM
1130 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1131 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1132 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1133 * sysdeps/unix/bsd/isatty.c: Likewise.
1134 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1135 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1136 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1137
ff8faaf0 11382012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1139
62881be4 1140 [BZ #13563]
31dc8730
AZ
1141 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1142 long double comparison inaccuracies.
1143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1145
6fef930c
AS
11462012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1147
1148 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1149 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1150
8f203e6c
JM
11512012-05-04 Joseph Myers <joseph@codesourcery.com>
1152
1153 [BZ #14049]
1154 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1155 nonzero digits before rounding a hex value.
1156 * stdlib/tst-strtod.c (tests): Add another test.
1157
5197d9c2
AK
11582012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1159
1160 * sysdeps/s390/fpu/libm-test-ulps: Update.
1161
f0c1dedf
AJ
11622012-05-03 Andreas Jaeger <aj@suse.de>
1163
1164 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1165 does not get optimized out.
1166 (malloc_opt_barrier): New.
1167
a65ef2ae 11682012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1169 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1170
2b942cb7 1171 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1172 intermediate file deletion.
2b942cb7 1173 (generated): Add .symlist files.
a65ef2ae 1174
54b71e02
JM
11752012-05-03 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #13775]
1178 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1179 Redirect under this condition.
1180 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1181 [__USE_GNU] (__dprintf_chk): Not under this condition.
1182 [__USE_GNU] (__vdprintf_chk): Likewise.
1183 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1184 under this condition.
1185 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1186 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1187 [__USE_XOPEN2K8] (vdprintf): Likewise.
1188 [__USE_GNU] (__dprintf_chk): Not under this condition.
1189 [__USE_GNU] (__vdprintf_chk): Likewise.
1190 [__USE_GNU] (dprintf): Likewise.
1191 [__USE_GNU] (vdprintf): Likewise.
1192
d3dfcc41
RM
11932012-05-03 Roland McGrath <roland@hack.frob.com>
1194
1195 * elf/Makefile (common-generated): Set this instead of generated for
1196 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1197 $(all-built-dso)-derived lists.
1198
7ac30cc5
AJ
11992012-05-03 Andreas Jaeger <aj@suse.de>
1200
0c51e550
AJ
1201 * sysdeps/i386/fpu/libm-test-ulps: Update.
1202
7ac30cc5
AJ
1203 * FAQ: Removed.
1204 * FAQ.in: Likewise.
1205 * scripts/gen-FAQ.pl: Likewise.
1206 * manual/install.texi (Installation): Point to online location of
1207 FAQ.
1208 * Makefile (files-for-dist): Remove FAQ.
1209 (FAQ): Remove.
1210
d4c2917f
AM
12112012-05-02 Allan McRae <allan@archlinux.org>
1212
1213 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1214 (LDFLAGS-reldepmod5.so): Likewise.
1215 (LDFLAGS-reldep6mod1.so): Likewise.
1216 (LDFLAGS-reldep6mod4.so): Likewise.
1217 (LDFLAGS-reldep8mod3.so): Likewise.
1218 (LDFLAGS-unload4mod1.so): Likewise.
1219 (LDFLAGS-unload4mod2.so): Likewise.
1220 (LDFLAGS-tst-initorder): Likewise.
1221 (LDFLAGS-tst-initordera2.so): Likewise.
1222 (LDFLAGS-tst-initordera3.so): Likewise.
1223 (LDFLAGS-tst-initordera4.so): Likewise.
1224 (LDFLAGS-tst-initorderb2.so): Likewise.
1225 (LDFLAGS-noload): Likewise.
1226 (LDFLAGS-next): Likewise.
1227 (LDFLAGS-order2mod1.so): Likewise.
1228 (LDFLAGS-order2mod2.so): Likewise.
1229 (LDFLAGS-tst-initorder2): Likewise.
1230 (LDFLAGS-tst-initorder2a.so): Likewise.
1231 (LDFLAGS-tst-initorder2b.so): Likewise.
1232 (LDFLAGS-tst-initorder2c.so): Likewise.
1233 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1234
d77f993f
DM
12352012-05-02 David S. Miller <davem@davemloft.net>
1236
1237 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1238
171a70b4
PP
12392012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1240
1241 [BZ #14055]
1242 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1243
0be196ad
AJ
12442012-05-02 Andreas Jaeger <aj@suse.de>
1245
1246 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1247 since we manipulate rounding mode.
1248 (CPPFLAGS-test-idouble.c): Likewise.
1249 (CPPFLAGS-test-ifloat.c): Likewise.
1250 (CFLAGS-test-ldouble.c): Likewise.
1251 (CFLAGS-test-double.c): Likewise.
1252 (CFLAGS-test-float.c): Likewise.
1253 (CFLAGS-test-misc.c): Likewise.
1254 (CFLAGS-test-test-fenv.c): Likewise.
1255
4f9d04aa
AZ
12562012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257
2b942cb7
RM
1258 [BZ #2550]
1259 [BZ #2570]
1260 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1261 comparisons to determine direction to adjust input.
4f9d04aa 1262
82a79e7d
RM
12632012-05-01 Roland McGrath <roland@hack.frob.com>
1264
f5a01ca9
RM
1265 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1266 output to the target.
1267
90fe4186
RM
1268 * scripts/localplt.awk: New file.
1269 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1270 (check-localplt-CFLAGS): Variable removed.
1271 ($(all-built-dso:=.jmprel)): New static pattern rule.
1272 (generated): Add those targets.
1273 (localplt-built-dso): New variable.
1274 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1275
1276 * elf/check-localplt.c: File removed.
1277
82397ed6
RM
1278 * scripts/check-execstack.awk: New file.
1279 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1280 (check-execstack-CFLAGS): Variable removed.
1281 ($(objpfx)check-execstack.h): Target removed.
1282 ($(objpfx)execstack-default): New target.
1283 (generated): Add that instead of check-execstack.h.
1284 ($(all-built-dso:=.phdr)): New static pattern rule.
1285 (generated): Add those targets.
1286 * elf/check-execstack.c: File removed.
1287
82a79e7d
RM
1288 * scripts/check-textrel.awk: New file.
1289 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1290 (check-textrel-CFLAGS): Variable removed.
1291 (all-built-dso): Use := to define.o
1292 ($(all-built-dso:=.dyn)): New static pattern rule.
1293 (generated): Add those targets.
1294 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1295 * config.make.in (READELF): New substituted variable.
1296 * elf/check-textrel.c: File removed.
1297
62fde54f 12982012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1299
615605c9
JM
1300 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1301 allow.
1302 * conform/data/ctype.h-data [C99-based standards] (isblank):
1303 Expect function.
1304 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1305 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1306 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1307 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1308 Specify type. Require positive value.
1309 (EILSEQ): Likewise.
1310 (ERANGE): Likewise.
1311 [ISO || POSIX] (EILSEQ): Do not expect.
1312 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1313 Specify type. Require positive value.
1314 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1315 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1316 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1317 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1318 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1319 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1320 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1321 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1322 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1323 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1324 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1325 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1326 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1327 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1328 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1329 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1330 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1331 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1332 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1333 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1334 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1335 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1336 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1337 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1338 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1339 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1340 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1341 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1342 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1343 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1344 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1345 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1346 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1347 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1348 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1349 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1350 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1351 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1352 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1388 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1389 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1390 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1391 Require >= 2.
1392 (FLT_ROUNDS): Expect as macro, not constant.
1393 (FLT_MANT_DIG): Use macro-int-constant.
1394 (DBL_MANT_DIG): Likewise.
1395 (LDBL_MANT_DIG): Likewise.
1396 (FLT_DIG): Likewise.
1397 (DBL_DIG): Likewise.
1398 (LDBL_DIG): Likewise.
1399 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1400 (DBL_MIN_EXP): Likewise.
1401 (LDBL_MIN_EXP): Likewise.
1402 (FLT_MAX_EXP): Use macro-int-constant.
1403 (DBL_MAX_EXP): Likewise.
1404 (LDBL_MAX_EXP): Likewise.
1405 (FLT_MAX_10_EXP): Likewise.
1406 (DBL_MAX_10_EXP): Likewise.
1407 (LDBL_MAX_10_EXP): Likewise.
1408 (FLT_MAX): Use macro-constant.
1409 (DBL_MAX): Likewise.
1410 (LDBL_MAX): Likewise.
1411 (FLT_EPSILON): Use macro-constant. Give upper bound.
1412 (DBL_EPSILON): Likewise.
1413 (LDBL_EPSILON): Likewise.
1414 (FLT_MIN): Likewise.
1415 (DBL_MIN): Likewise.
1416 (LDBL_MIN): Likewise.
1417 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1418 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1419 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1420 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1421 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1422 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1423 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1424 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1425 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1426 [ISO11] (FLT_TRUE_MIN): Likewise.
1427 [ISO11] (LDBL_TRUE_MIN): Likewise.
1428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1429 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1430 (SCHAR_MIN): Use macro-int-constant. Specify type.
1431 (SCHAR_MAX): Likewise.
1432 (UCHAR_MAX): Likewise.
1433 (CHAR_MIN): Likewise.
1434 (CHAR_MAX): Likewise.
1435 (MB_LEN_MAX): Use macro-int-constant.
1436 (SHRT_MIN): Use macro-int-constant. Specify type.
1437 (SHRT_MAX): Likewise.
1438 (USHRT_MAX): Likewise.
1439 (INT_MAX): Likewise.
1440 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1441 bound negative.
1442 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1443 bound with "U".
1444 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1445 bound with "L".
1446 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1447 bound negative. Suffix upper bound with "L".
1448 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1449 bound with "UL".
1450 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1451 Specify type.
1452 [C99-based standards] (LLONG_MAX): Likewise.
1453 [C99-based standards] (ULLONG_MAX): Likewise.
1454 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1455 == 0.
1456 [ISO11] (max_align_t): Require type.
1457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1458
c9140a62
JM
1459 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1460 from $CFLAGS, without defining away __attribute__ calls.
1461 (checknamespace): Use $CFLAGS_namespace.
1462
9af0bf29
JM
1463 * conform/conformtest.pl (@keywords): Only include C99 keywords
1464 for standards based on C99 or C11.
1465
343222a2
JM
1466 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1467 Disable tests.
1468 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1469 UNIX98]: Likewise.
1470
661f8cf0
JM
1471 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1472 usability of symbols in #if.
1473
ee74b9cb
JM
1474 * conform/conformtest.pl: If macro or constant types start
1475 "promoted:", expect the symbol to be of the following type
1476 promoted by the integer promotions.
62fde54f 1477
aafc49b3
JM
1478 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1479 in one place. Also handle "macro-constant".
1480
fefdf574
JM
1481 * conform/conformtest.pl: Only accept expected macro values with
1482 "==". Parse all "macro" lines in one place.
1483 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1484
f2d922fe
JM
1485 * conform/conformtest.pl: Handle braced types on "constant" lines
1486 instead of handling "typed-constant".
1487 * conform/data/signal.h-data: Use "constant" instead of
1488 "typed-constant".
1489
d22956c9
JM
1490 * conform/conformtest.pl: Handle "optional-" at start of lines in
1491 one place rather than duplicating several cases. Handle each
1492 format of "macro" line with initial "optional-".
1493
028e2e38
JM
1494 * conform/conformtest.pl: Only accept expected constant or
1495 optional-constant values with "==". Parse all "constant" lines in
1496 one place. Parse all "optional-constant" lines in one place.
1497 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1498 * conform/data/fmtmsg.h-data: Likewise.
1499 * conform/data/netinet/in.h-data: Likewise.
1500 * conform/data/tar.h-data: Likewise.
1501 * conform/data/limits.h-data: Use "==" form on "constant" and
1502 "optional-constant" lines.
1503
1b8f2850
JM
1504 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1505 Use -std=c99 for XOPEN2K.
1506 (@knownproblems): Remove.
1507 (newtoken): Don't check %isknown.
1508
a05a144b
JM
1509 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1510 Do not expect macro.
1511 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1512 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1513 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1514 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1515 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1516 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1517 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1518 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1519 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1520 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1521 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1522 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1523 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1524 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1525 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1526 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1527 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1528 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1529 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1530 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1531 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1532 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1533 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1534 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1535 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1536 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1537 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1538 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1539 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1540 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1541 [XPG3] (acosh): Likewise.
1542 [XPG3] (asinh): Likewise.
1543 [XPG3] (atanh): Likewise.
1544 [XPG3] (cbrt): Likewise.
1545 [XPG3] (expm1): Likewise.
1546 [XPG3] (ilogb): Likewise.
1547 [XPG3] (log1p): Likewise.
1548 [XPG3] (logb): Likewise.
1549 [XPG3] (nextafter): Likewise.
1550 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1551 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1552 [XPG3] (remainder): Likewise.
1553 [XPG3] (rint): Likewise.
1554 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1555 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1561 [UNIX98 || XOPEN2K] (scalb): Expect.
1562 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1563 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1567 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1568 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1579 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1580 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1581 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1585 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1586 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1587 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1588 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1589 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1590 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1591 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1599 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1600 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1601 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1699
73c5ebe3
JM
1700 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1701 _XOPEN_SOURCE_EXTENDED for XPG4.
1702
39c33b6c
JM
1703 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1704
62fde54f
JM
1705 * Makeconfig (localtime): Remove variable.
1706 (inst_localtime-file): Likewise.
1707
0741d64c
AS
17082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1709
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1711 Update.
1712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1713 Update.
1714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1715 Update.
1716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1717 Update.
1718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1719 Update.
1720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1721 Update.
1722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1723 Update.
1724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1725 Update.
1726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1727 Update.
1728
7cb029ee
JM
17292012-05-01 Joseph Myers <joseph@codesourcery.com>
1730
1731 [BZ #2550]
1732 [BZ #2570]
1733 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1734 comparisons to determine direction to adjust input.
1735 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1736 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1737 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1738 Likewise.
1739 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1740 Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1742 Likewise.
1743 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1744 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1745 Likewise.
1746 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1747 Likewise.
1748 * math/libm-test.inc (nexttoward_test): Add more tests.
1749
412bd966
AS
17502012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1751
1752 [BZ #14040]
1753 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1754 in version GLIBC_2.1, not GLIBC_2.0.
1755 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1756 Likewise.
1757
9568c0c2
JM
17582012-04-30 Joseph Myers <joseph@codesourcery.com>
1759
adfbc8ac
JM
1760 [BZ #13942]
1761 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1762 (1 - x) * (1 + x).
1763 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1764 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1765 * math/libm-test.inc (acos_test): Add more tests.
1766 (asin_test): Likewise.
1767 * sysdeps/i386/fpu/libm-test-ulps: Update.
1768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1769
5ba3cc69
JM
1770 [BZ #14034]
1771 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1772 of square root.
1773 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1774 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1775 * math/libm-test.inc (acos_test_tonearest): New function.
1776 (acos_test_towardzero): Likewise.
1777 (acos_test_downward): Likewise.
1778 (acos_test_upward): Likewise.
1779 (asin_test_tonearest): Likewise.
1780 (asin_test_towardzero): Likewise.
1781 (asin_test_downward): Likewise.
1782 (asin_test_upward): Likewise.
1783 (main): Call the new functions.
1784 * sysdeps/i386/fpu/libm-test-ulps: Update.
1785 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1786
9568c0c2
JM
1787 [BZ #13884]
1788 [BZ #13924]
1789 * math/e_exp10.c: Include <float.h>.
1790 (__ieee754_exp10): Handle underflow here rather than multiplying
1791 large negative argument by M_LN10.
1792 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1793 of __ieee754_expf.
1794 * math/e_exp10l.c: Include <float.h>.
1795 (__ieee754_exp10l): Handle underflow here rather than multiplying
1796 large negative argument by M_LN10l.
1797 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1798 spurious overflow exception on underflow.
1799
5ac3ea17
MP
18002012-04-29 Marek Polacek <polacek@redhat.com>
1801
1802 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1803 (__fortify_function): New macro.
1804 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1805 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1806 __extern_always_inline.
1807 * libio/bits/stdio2.h: Likewise.
1808 * libio/bits/stdio.h: Likewise.
1809 * string/string.h: Likewise.
1810 * string/bits/string3.h: Likewise.
1811 * include/stdio.h: Likewise.
1812 * stdlib/bits/stdlib.h: Likewise.
1813 * stdlib/stdlib.h: Likewise.
1814 * rt/bits/mqueue2.h: Likewise.
1815 * rt/mqueue.h: Likewise.
1816 * posix/bits/unistd.h: Likewise.
1817 * posix/unistd.h: Likewise.
1818 * io/bits/poll2.h: Likewise.
1819 * io/bits/fcntl2.h: Likewise.
1820 * io/fcntl.h: Likewise.
1821 * io/sys/poll.h: Likewise.
1822 * misc/bits/syslog.h: Likewise.
1823 * misc/bits/syslog-ldbl.h: Likewise.
1824 * misc/sys/syslog.h: Likewise.
1825 * socket/bits/socket2.h: Likewise.
1826 * socket/sys/socket.h: Likewise.
1827 * debug/tst-chk1.c: Likewise.
1828 * wcsmbs/bits/wchar2.h: Likewise.
1829 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1830 * wcsmbs/wchar.h: Likewise.
1831
ecf0ebfb
AJ
18322012-04-29 Andreas Jaeger <aj@suse.de>
1833
1834 * Makerules (tests): Remove enable-check-abi protection.
1835 (check-abi-warn): Remove.
1836 (check-abi-%): Remove check-abi-warn usage.
1837
1838 * configure.in: Remove check-abi configure option.
1839 * configure: Regenerated.
1840 * config.make.in (enable-check-abi): Remove.
1841
6d5c57fa
AS
18422012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1843
24c5d07e 1844 [BZ #14033]
ded5180a
AS
1845 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1846 double functions to double *_finite functions.
1847
7e0d315d
AS
1848 [BZ #13941]
1849 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1850 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1851 LDBL_MIN_EXP.
1852 * stdio-common/Makefile (tests): Add tst-sprintf3.
1853 * stdio-common/tst-sprintf3.c: New file.
1854
6d5c57fa
AS
1855 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1856 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1857
0749ff8b
JM
18582012-04-28 Joseph Myers <joseph@codesourcery.com>
1859
1860 * conform/conformtest.pl: Remove duplicate typed-constant
1861 handling.
1862
8dbd5d7b
DM
18632012-04-28 David S. Miller <davem@davemloft.net>
1864
1865 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1866 (check-abi-%): Remove AWK script prerequisite and explicit
1867 abilist directory.
1868 (check-abi): Rewrite to just diff the symlist with the abilist.
1869 (config-tls, config-abi-config): Delete, no longer used.
1870 (update-abi-%): Remove AWK script and explicit abilist directory.
1871 (update-abi): Rewrite to simply compare and conditionally copy the
1872 symlist and the sysdep abilist file. Remove update-abi-config
1873 checks.
1874 * abilist/ld.abilist: Remove.
1875 * abilist/libBrokenLocale.abilist: Remove.
1876 * abilist/libanl.abilist: Remove.
1877 * abilist/libcrypt.abilist: Remove.
1878 * abilist/libdl.abilist: Remove.
1879 * abilist/librt.abilist: Remove.
1880 * abilist/libthread_db.abilist: Remove.
1881 * abilist/libutil.abilist: Remove.
1882 * scripts/extract-abilist.awk: Remove.
1883 * scripts/merge-abilist.awk: Remove.
1884 * sysdeps/generic/libcidn.abilist: New file.
1885 * sysdeps/generic/libnss_compat.abilist: New file.
1886 * sysdeps/generic/libnss_db.abilist: New file.
1887 * sysdeps/generic/libnss_dns.abilist: New file.
1888 * sysdeps/generic/libnss_files.abilist: New file.
1889 * sysdeps/generic/libnss_hesiod.abilist: New file.
1890 * sysdeps/generic/libnss_nis.abilist: New file.
1891 * sysdeps/generic/libnss_nisplus.abilist: New file.
1892 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1893 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1894 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1895 file.
1896 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1897 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1898 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1899 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1900 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1901 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1902 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1903 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1904 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1905 file.
1906 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1907 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1908 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1909 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1910 file.
1911 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1912 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1913 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1914 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1915 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1916 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1917 file.
1918 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1919 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1920 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1921 file.
1922 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1923 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1924 New file.
1925 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1926 New file.
1927 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1928 New file.
1929 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1930 New file.
1931 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1932 New file.
1933 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1934 New file.
1935 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1936 New file.
1937 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1938 New file.
1939 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1940 New file.
1941 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1942 New file.
1943 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1944 New file.
1945 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1946 New file.
1947 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1948 New file.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1950 file.
1951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1952 New file.
1953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1954 New file.
1955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1956 file.
1957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1958 New file.
1959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1960 New file.
1961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
1962 file.
1963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1964 New file.
1965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1966 New file.
1967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1968 New file.
1969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1970 New file.
1971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1972 New file.
1973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1974 New file.
1975 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
1976 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
1977 file.
1978 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
1979 New file.
1980 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
1981 file.
1982 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
1983 file.
1984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
1985 file.
1986 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
1987 file.
1988 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
1989 file.
1990 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1991 New file.
1992 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
1993 file.
1994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
1995 file.
1996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
1997 New file.
1998 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
1999 file.
2000 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2001 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2002 file.
2003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2004 New file.
2005 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2006 file.
2007 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2008 file.
2009 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2010 file.
2011 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2012 file.
2013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2014 file.
2015 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2016 New file.
2017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2018 file.
2019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2020 file.
2021 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2022 New file.
2023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2024 file.
2025 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2026 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2027 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2028 file.
2029 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2030 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2031 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2032 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2033 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2034 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2035 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2036 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2037 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2038 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2040 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2041 file.
2042 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2043 New file.
2044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2045 file.
2046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2047 file.
2048 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2049 file.
2050 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2051 file.
2052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2053 file.
2054 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2055 New file.
2056 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2057 New file.
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2059 file.
2060 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2061 New file.
2062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2063 file.
2064 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2066 file.
2067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2068 New file.
2069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2070 file.
2071 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2072 file.
2073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2074 file.
2075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2076 file.
2077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2078 file.
2079 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2080 New file.
2081 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2082 New file.
2083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2084 file.
2085 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2086 New file.
2087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2088 file.
2089
41d73a1b
JM
20902012-04-28 Joseph Myers <joseph@codesourcery.com>
2091
2092 * conform/conformtest.pl: Fix typo in handling typed-constant from
2093 allow-header.
2094
28aeeda4
JM
20952012-04-27 Joseph Myers <joseph@codesourcery.com>
2096
adae8f5e
JM
2097 * README: Cut down references to pre-2.6 Linux kernels and
2098 Linuxthreads. Update lists of configurations in libc and ports
2099 and sort alphabetically. Say "or newer" with Linux kernel version
2100 requirements.
2101
28aeeda4
JM
2102 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2103
a462cb63
RA
21042012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2105
2106 [BZ #887]
2107 * math/libm-test.inc (logb_test_downward): New test to expose
2108 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2109 rounding mode.
2110
6ad3493e
JM
21112012-04-27 Joseph Myers <joseph@codesourcery.com>
2112
2113 [BZ #14027]
2114 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2115 to be done.
2116 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2117 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2118
2ce4f015
JM
21192012-04-26 Joseph Myers <joseph@codesourcery.com>
2120
5aeb141a
JM
2121 * sysdeps/unix/i386/brk.S: Remove file.
2122 * sysdeps/unix/i386/dl-brk.S: Likewise.
2123 * sysdeps/unix/i386/pipe.S: Likewise.
2124 * sysdeps/unix/i386/sigreturn.S: Likewise.
2125 * sysdeps/unix/i386/syscall.S: Likewise.
2126 * sysdeps/unix/i386/vfork.S: Likewise.
2127 * sysdeps/unix/i386/wait.S: Likewise.
2128
7143acae
JM
2129 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2130 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2131
2ce4f015
JM
2132 * configure.in (arm*-none*): Do not allow without
2133 --enable-hacker-mode.
2134 (netbsd*): Remove case setting base_os.
2135 (386bsd*): Likewise.
2136 (freebsd*): Likewise.
2137 (bsdi*): Likewise.
2138 (osf*): Likewise.
2139 (sunos*): Likewise.
2140 (ultrix*): Likewise.
2141 (newsos*): Likewise.
2142 (dynix*): Likewise.
2143 (*bsd*): Likewise.
2144 (sysv*): Likewise.
2145 (isc*): Likewise.
2146 (esix*): Likewise.
2147 (sco*): Likewise.
2148 (minix*): Likewise.
2149 (irix4*): Likewise.
2150 (irix6*): Likewise.
2151 (solaris[2-9]*): Likewise.
2152 (none): Likewise.
2153 * configure: Regenerated.
2154
0ac229c8
AZ
21552012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2156
2157 [BZ #11521]
2158 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2159 overflow or cancellation in calculating denominator.
2160 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2162 down expression to avoid unexpected rounding in newer GCCs.
2163 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2164
33f244f4
DM
21652012-04-26 David S. Miller <davem@davemloft.net>
2166
2167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2168 long-double compat symbols.
2169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2172 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2174 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2176 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2177 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2182
cfa1f3e8
DM
21832012-04-25 David S. Miller <davem@davemloft.net>
2184
2185 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2186 HWCAP_* values only after the memory barriers have been defined.
2187 (atomic_full_barrier): Define.
2188 (atomic_read_barrier): Define.
2189 (atomic_write_barrier): Define.
2190
6e236b92
SP
21912012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2192
2193 * shlib-versions: Add libgcc_s version information.
2194 * sysdeps/generic/libgcc_s.h: Remove.
2195 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2196 libgcc_s.h.
2197 * sysdeps/gnu/unwind-resume.c: Likewise.
2198 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2199
aab39a09
DM
22002012-04-25 David S. Miller <davem@davemloft.net>
2201
2202 * sysdeps/unix/sparc/brk.S: Delete.
2203 * sysdeps/unix/sparc/dl-brk.S: Delete.
2204 * sysdeps/unix/sparc/pipe.S: Delete.
2205 * sysdeps/unix/sparc/sysdep.S: Delete.
2206 * sysdeps/unix/sparc/sysdep.h: Delete.
2207 * sysdeps/unix/sparc/vfork.S: Delete.
2208 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2209 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2210 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2211 ret_ERRVAL, r0, r1, MOVE): Define.
2212 (JUMPTARGET): Remove.
2213 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2214 sysdeps/unix/sparc/sysdep.h
2215 (ENTRY, END): Remove.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2217
a3cc4f48
JM
22182012-04-25 Joseph Myers <joseph@codesourcery.com>
2219
2ed8cda2
JM
2220 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2221 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2222 -DIS_IN_build.
2223
35d76d59
JM
2224 * timezone/README: Update upstream location and email address for
2225 tzcode and tzdata.
2226 * timezone/zdump.c: Update from tzcode 2012b.
2227 * timezone/zic.c: Likewise.
2228
a3cc4f48
JM
2229 * configure.in (libc_cv_as_needed): Remove test.
2230 * configure: Regenerated.
2231 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2232 conditional definition.
2233 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2234 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2235 * config.make.in (have-as-needed): Remove variable.
2236
ceab42c3
SP
22372012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2238 Paul Pluzhnikov <ppluzhnikov@google.com>
2239
2240 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2241 strings correctly.
2242
3ce2865f
CLT
22432012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2244
2245 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2246 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2247 * sysdeps/sh/strlen.S: Likewise.
2248
f37e0d68
JM
22492012-04-24 Joseph Myers <joseph@codesourcery.com>
2250
ae186e9a
JM
2251 * sysdeps/unix/fork.S: Remove file.
2252 * sysdeps/unix/i386/fork.S: Likewise.
2253 * sysdeps/unix/sparc/fork.S: Likewise.
2254
b96914af
JM
2255 * sysdeps/unix/system.c: Remove file.
2256 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2257
f37e0d68
JM
2258 * sysdeps/unix/getegid.S: Remove file.
2259 * sysdeps/unix/geteuid.S: Likewise.
2260
87ef29ca
RM
22612012-04-24 Roland McGrath <roland@hack.frob.com>
2262
83bcd236
RM
2263 * scripts/check-localplt.awk: New file.
2264 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2265 of diff.
2266 * scripts/data/localplt-generic.data: Add a comment.
2267
87ef29ca
RM
2268 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2269 NODE when __dir_mkfile failed.
2270 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2271 Reported by Ludovic Courtès <ludo@gnu.org>.
2272
e5a6e567
AJ
22732012-04-24 Andreas Jaeger <aj@suse.de>
2274
2275 * Makerules (common-clean): Also remove gen-as-const-headers
2276 files.
2277
c1820385
JM
22782012-04-24 Joseph Myers <joseph@codesourcery.com>
2279
2280 * Makerules (native-compile): Do not change working directory for
2281 build. Use $(OUTPUT_OPTION) in command.
2282 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2283
94e02fc4
AZ
22842012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2285
2286 [BZ #13886]
2287 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2288 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2289 * math/libm-test.inc (floor_test): Add more tests.
2290 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2291
3a533ca3
JM
22922012-04-24 Joseph Myers <joseph@codesourcery.com>
2293
940ab4b3
JM
2294 * sysdeps/unix/getdents.c: Remove file.
2295 * sysdeps/unix/sysv/getdents.c: Likewise.
2296 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2297
90e037bd
JM
2298 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2299 sysdeps/unix/mman/syscalls.list.
2300 (mmap): Likewise.
2301 (mprotect): Likewise.
2302 (msync): Likewise.
2303 (munmap): Likewise.
2304 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2305 * sysdeps/unix/mman/syscalls.list: Remove.
2306 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2307
3a533ca3
JM
2308 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2309 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2310 * configure: Regenerated.
2311 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2312 $(libgcc_s_suffix).
2313 * config.make.in (libgcc_s_suffix): Remove variable.
2314
1ad743de
JM
23152012-04-23 Joseph Myers <joseph@codesourcery.com>
2316
4ad451e2
JM
2317 * sysdeps/unix/sysv/gethostname.c: Move to ...
2318 * sysdeps/posix/gethostname.c: ... here.
2319
5e37ce39
JM
2320 * sysdeps/unix/execve.S: Remove file.
2321
1ad743de
JM
2322 * sysdeps/unix/_exit.S: Remove file.
2323
4e681b5b
AJ
23242012-04-23 Andreas Jaeger <aj@suse.de>
2325
2326 [BZ #13739]
2327 * manual/Makefile: Remove make dist support, there's no
2328 need for a stand-alone documentation tar ball.
2329 (TEXI2DVI): Define always, it's not in Makeconfig.
2330 (dist): Removed.
2331 (tar-it): Removed.
2332 (edition): Removed.
2333 (glibc-doc-$(edition).tar): Removed
2334 (%.Z): Removed.
2335 (%.gz): Removed.
2336 (%.uu): Removed.
2337 (ETAGS): Remove, it's in Makeconfig.
2338 (move-if-change): Remove, it's in Makeconfig.
2339
c0baea34
PE
23402013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2341
2342 [BZ #13970]
2343 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2344 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2345 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2346 (strtod_l, strtof_l, strtold_l): Remove __wur.
2347 It is not necessarily an error to ignore strtol's return value.
2348 One can reliably look at the stored endptr to decide whether
2349 the number had valid syntax.
2350
7c0616fa
AJ
23512012-04-21 Andreas Jaeger <aj@suse.de>
2352
803cb6b7 2353 [BZ #13739]
7c0616fa
AJ
2354 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2355
b0fe253f
JM
23562012-04-21 Joseph Myers <joseph@codesourcery.com>
2357
2358 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2359 * sysdeps/unix/sysv/Versions: Remove file.
2360
8280f22d
MT
23612012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2362
2363 [BZ #13927]
2364 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2365
75ce411f 23662012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2367
2368 [BZ #7064]
2369 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2370 version from __vm86.
2371
097d59fa
JM
23722012-04-20 Joseph Myers <joseph@codesourcery.com>
2373
a90f3bcb
JM
2374 * sysdeps/unix/common/lxstat.c: Remove file.
2375 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2376
edc7ea78
JM
2377 * sysdeps/unix/sysv/Makefile: Remove file.
2378
cb78c221
JM
2379 * sysdeps/unix/sysv/direct.h: Remove file.
2380
efa6a45f
JM
2381 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2382 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2383 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2384 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2385 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2386 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2387 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2388
9c9f2d0c
JM
2389 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2390
4541c83b
JM
2391 * sysdeps/unix/xmknod.c: Remove file.
2392 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2393
f5d153a0
JM
2394 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2395
aa746595
JM
2396 * sysdeps/unix/sysv/i386/time.S: Remove file.
2397
cce5905e
JM
2398 * sysdeps/unix/fxstat.c: Remove file.
2399 * sysdeps/unix/xstat.c: Likewise.
2400 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2401
37fa3841
JM
2402 * sysdeps/unix/sysv/sigaction.c: Remove file.
2403
ff1962a3
JM
2404 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2405 (sysdep_headers): Remove variable.
2406 [termio.h not in sysdep_headers] (generated): Likewise.
2407 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2408 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2409 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2410 * sysdeps/unix/sysv/tcflow.c: Likewise.
2411 * sysdeps/unix/sysv/tcflush.c: Likewise.
2412 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2413 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2414 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2415 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2416 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2417
e7740d31
JM
2418 * sysdeps/unix/siglist.c: Remove file.
2419
ee06f18b
JM
2420 * sysdeps/unix/getppid.S: Remove file.
2421
097d59fa
JM
2422 * sysdeps/unix/mkdir.c: Remove file.
2423 * sysdeps/unix/rmdir.c: Likewise.
2424
ff3d51ec
AS
24252012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2426
2427 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2428 ERR_MAX value.
2429 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2430 errlist-compat value.
2431
50f81fd7
DM
24322012-04-18 David S. Miller <davem@davemloft.net>
2433
2434 * sysdeps/generic/memcopy.h (reg_char): Delete.
2435 * debug/strcat_chk.c: Use char, not reg_char.
2436 * debug/strcpy_chk.c: Likewise.
2437 * debug/strncat_chk.c: Likewise.
2438 * debug/strncpy_chk.c: Likewise.
2439 * string/memchr.c: Likewise.
2440 * string/memrchr.c: Likewise.
2441 * string/rawmemchr.c: Likewise.
2442 * string/strcat.c: Likewise.
2443 * string/strchr.c: Likewise.
2444 * string/strchrnul.c: Likewise.
2445 * string/strcmp.c: Likewise.
2446 * string/strcpy.c: Likewise.
2447 * string/strncat.c: Likewise.
2448 * string/strncmp.c: Likewise.
2449 * string/strncpy.c: Likewise.
2450
8ff41c46
WS
24512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2452
2453 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2454 __builtin_memcopy is called when src and dest ranges are known to not
2455 overlap.
2456
6b652f46
WS
24572012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2458
2459 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2460 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2461 fwd_align_merge macro call.
2462 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2463 bwd_align_merge macro call.
2464 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2465
b282631e
WS
24662012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2467
2468 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2469 bwd_align_merge macros.
2470 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2471 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2472 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2473
95aa737c
DM
24742012-04-18 David S. Miller <davem@davemloft.net>
2475
2476 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2477
7a99a614
AJ
24782012-04-18 Andreas Jaeger <aj@suse.de>
2479
2480 [BZ# 6794]
2481 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2482 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2483 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2484
2485 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2486 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2487 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2488
2489 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2490 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2491 Adjust for changed ldbl-128 files.
2492
2493 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2494 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2495 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2496
e5270c23
DM
24972012-04-17 David S. Miller <davem@davemloft.net>
2498
2499 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2500
fb5e92c9
AS
25012012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2502
2503 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2504 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2505 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2506 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2507 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2508 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2509
76da7265
AZ
25102012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2511
2512 [BZ #6794]
2513 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2514 * math/libm-test.inc: Add ilogb errno and exception tests.
2515 * math/w_ilogb.c: New file: ilogb wrapper.
2516 * math/w_ilogbf.c: New file: ilogbf wrapper.
2517 * math/w_ilogbl.c: New file: ilogbl wrapper.
2518 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2519 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2520 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2521 exception being thrown with 0.0 as argument.
2522 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2523 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2524 exception being thrown with 0.0 as argument.
2525 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2526 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2527 exception being thrown with 0.0 as argument.
2528 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2529 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2530 exception being thrown with 0.0 as argument.
2531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2532 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2533 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2534 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2535 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2536 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2537 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2538 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2539 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2540
0396e69d
PB
25412012-04-17 Petr Baudis <pasky@ucw.cz>
2542
2543 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2544 with altivec.
2545
750b5926
MP
25462012-04-16 Marek Polacek <polacek@redhat.com>
2547
2548 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2549
751728a1
MP
25502012-04-16 Marek Polacek <polacek@redhat.com>
2551
2552 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2553 operands of fdivp instruction.
2554
34a27407
L
25552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2556
2557 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2558 * elf/tst-auditmod3b.c: Likewise.
2559 * elf/tst-auditmod4b.c: Likewise.
2560 * elf/tst-auditmod5b.c: Likewise.
2561 * elf/tst-auditmod6b.c: Likewise.
2562 * elf/tst-auditmod6c.c: Likewise.
2563 * elf/tst-auditmod7b.c: Likewise.
2564 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2565 * sysdeps/x86_64/preconfigure.in: Likewise.
2566 * sysdeps/x86_64/preconfigure: Regenerated.
2567
7e73e17d
L
25682012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2569
2570 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2571 __ILP32__.
2572
c7a6ab72
AB
25732012-04-13 Antoine Balestrat <merkil33@gmail.com>
2574
2575 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2576 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2577
a9e8e0e0
CL
25782012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2579
2580 [BZ #13973]
2581 * locale/iso-639.def: Fix gl language name. Spotted by
2582 Yaron Shahrabani.
2583
ec98af7d
RM
25842012-04-12 Roland McGrath <roland@hack.frob.com>
2585
2586 [BZ #2074]
2587 * libio/libio.h (__io_write_fn): Update comment.
2588
247c3ede
PB
25892012-04-12 Petr Baudis <pasky@ucw.cz>
2590
2591 [BZ #2074]
2592 * stdio.texi (Hook Functions): The user provided writer function
2593 is not allowed to return -1.
2594
55939d6d
DM
25952012-04-11 David S. Miller <davem@davemloft.net>
2596
2597 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2598
90020f5a
MF
25992012-04-11 Mike Frysinger <vapier@gentoo.org>
2600
2601 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2602 Add a leading slash to rtkaio.
2603
288f9098
JM
26042012-04-11 Jim Meyering <meyering@redhat.com>
2605
90020f5a
MF
2606 [BZ #11959]
2607 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2608 It is not necessarily an error to ignore fwrite's return
2609 value. One can reliably use ferror to test for errors after
2610 the fact.
288f9098 2611
4be2b570
L
26122012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * bits/types.h (__snseconds_t): New type.
2615 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2616
2617 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2619 (__SNSECONDS_T_TYPE): Likewise.
2620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2621 (__SNSECONDS_T_TYPE): Likewise.
2622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2623 (__SNSECONDS_T_TYPE): Likewise.
2624
288f9098 26252012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2626
2627 [BZ #2636]
2628 * manual/time.texi (Processor Time): Return type of times is
2629 elapsed real time since an arbitrary point in the past.
2630 (CPU Time): Move CLK_TCK from here...
2631 (Processor Time): ...to here. Correct description.
2632 * manual/conf.texi (Constants for Sysconf): Correct description of
2633 _SC_CLK_TCK.
2634
d7dd4413
DM
26352012-04-10 David S. Miller <davem@davemloft.net>
2636
2637 [BZ #13967]
2638 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2639 where the is a gap between DT_REL(A) and DT_JMPREL.
2640
b46068fc
L
26412012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2642
2643 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2644 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2645 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2646
73d65cc3
SP
26472012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2648
2649 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2650 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2651 (dl_main): Handle --inhibit-cache.
2652 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2653 _dl_inhibit_cache.
2654 * elf/dl-load.c (_dl_map_object): Use it.
2655 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2656
bcc8d661
JM
26572012-04-09 Joseph Myers <joseph@codesourcery.com>
2658
8f9a2fae
JM
2659 [BZ #13872]
2660 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2661 (__ieee754_powl): Saturate large exponents rather than testing for
2662 overflow of y*log2(x).
2663 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2664 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2665 exceptions.
2666
bcc8d661
JM
2667 [BZ #11521]
2668 * math/s_ctan.c: Include <float.h>.
2669 (__ctan): Avoid internal overflow or cancellation in calculating
2670 denominator.
2671 * math/s_ctanf.c: Likewise.
2672 * math/s_ctanl.c: Likewise.
2673 * math/s_ctanh.c: Likewise.
2674 * math/s_ctanhf.c: Likewise.
2675 * math/s_ctanhl.c: Likewise.
2676 * math/libm-test.inc (ctan_test): Add more tests.
2677 (ctanh_test): Likewise.
2678 * sysdeps/i386/fpu/libm-test-ulps: Update.
2679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2680
823fbbb4
AJ
26812012-04-09 Andreas Jaeger <aj@suse.de>
2682
03879793
AJ
2683 [BZ #6894]
2684 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2685 is an optional BSD extension.
2686
823fbbb4
AJ
2687 [BZ #10254]
2688 * manual/stdio.texi (Opening Streams): Document additional fopen
2689 parameters.
2690
8de131cb
RM
26912012-04-09 Roland McGrath <roland@hack.frob.com>
2692
2693 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2694 %eax without telling the compiler.
2695
c0ed9d7d
CD
26962012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2697
2698 [BZ # 13963]
2699 * manual/install.texi: Use sourceware.org.
2700
c483f6b4
JM
27012012-04-09 Joseph Myers <joseph@codesourcery.com>
2702
d7dd9453
JM
2703 [BZ #13873]
2704 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2705 (__ieee754_pow): Generate overflow and underflow using huge*huge
2706 and tiny*tiny rather than just returning constant infinity or zero
2707 for large exponents.
2708 * math/libm-test.inc (pow_test): Require overflow exceptions for
2709 applicable cases of large exponents.
2710
c483f6b4
JM
2711 [BZ #706]
2712 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2713 (__ieee754_pow): Use iterative multiplication algorithm only for
2714 integer exponents with absolute value below 1024. Check for odd
2715 integer exponents when using algorithm for real exponents.
2716 * math/libm-test.inc (pow_test): Add more tests.
2717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2718
d2de7579
JM
27192012-04-08 Joseph Myers <joseph@codesourcery.com>
2720
2721 [BZ #13705]
2722 * math/libm-test.inc (exp_test): Do not allow overflow exception
2723 on underflow test.
2724
f77f1232
AJ
27252012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2726
2727 [BZ #13705]
2728 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2729 instead of __kernel_standard_f.
2730
3884932b
MF
27312012-04-08 Mike Frysinger <vapier@gentoo.org>
2732
2733 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2734 * sysdeps/x86_64/memset_chk.S: Likewise.
2735
54472e9c
AJ
27362012-04-08 Andreas Jaeger <aj@suse.de>
2737
6ab0fbfc
AJ
2738 [BZ #10153]
2739 * manual/startup.texi (Environment Access): Describe return value
2740 for putenv and setenv.
2741
61efba8c
AJ
2742 [BZ #6895]
2743 * manual/filesys.texi (Directory Entries): Add description for
2744 DT_LNK.
2745
95c3f29a
AJ
2746 [BZ #6890]
2747 * manual/filesys.texi (Directory Entries): Clarify that it's file
2748 system not operating system in the description of DT_UNKNOWN.
2749
54472e9c
AJ
2750 [BZ #6578]
2751 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2752
624254b1
SC
27532012-04-08 Stephen Compall <s11@member.fsf.org>
2754
2755 [BZ #6649]
2756 * manual/llio.texi (Opening and Closing Files): Add cross
2757 reference to explain mode argument.
2758
1e4920e0
MF
27592012-04-07 Mike Frysinger <vapier@gentoo.org>
2760
2761 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2762 * sysdeps/x86_64/memset_chk.S: Likewise.
2763
5ed848f3
DM
27642012-04-07 David S. Miller <davem@davemloft.net>
2765
2766 * elf/elf.h (R_SPARC_WDISP10): Define.
2767 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2768 R_SPARC_SIZE32.
2769 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2770 R_SPARC_SIZE64 and R_SPARC_H34.
2771
96154cd8
CD
27722012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2773
2774 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2775 conditions and remove no longer applicable assertion.
2776
9904dc47
L
27772012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2778
2779 * bits/byteswap.h: Include <features.h>.
2780 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2781 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2782
f8887d0a
L
27832012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2784
2785 * bits/byteswap.h (__bswap_16): Removed.
2786 Include <bits/byteswap-16.h> to get __bswap_16.
2787 * sysdeps/i386/bits/byteswap.h: Likewise.
2788 * sysdeps/s390/bits/byteswap.h: Likewise.
2789 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2790 * bits/byteswap-16.h: New file.
2791 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2792 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2793 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2794 * string/Makefile (headers): Add bits/byteswap-16.h.
2795
62470f60
PP
27962012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2797
2798 [BZ #13895]
2799 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2800 extra indirection.
2801 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2802 * nss/tst-nss-static.c: New.
2803
4dad7bab
RM
28042012-04-06 Robert Millan <rmh@gnu.org>
2805
2806 [BZ #6486]
2807 * manual/llio.texi (File Position Primitive): lseek
2808 refers to WHENCE when it really means OFFSET.
2809
e9142a17
AJ
28102012-04-06 Andreas Jaeger <aj@suse.de>
2811
2c040eff
AJ
2812 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2813 strncmp declarations.
2814
e9142a17
AJ
2815 * abilist/libc.abilist: Add __poll and __ppoll.
2816
ff9f1c5f
DM
28172012-04-05 David S. Miller <davem@davemloft.net>
2818
dcd2ae90
DM
2819 * scripts/check-local-headers.sh: Accept a host triplet in the
2820 path matched by the exclude regexp.
2821
993eb054
DM
2822 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2823 definition.
2824 * sysdeps/powerpc/powerpc32/dl-machine.h
2825 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2826 * sysdeps/s390/s390-32/dl-machine.h
2827 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2828 * sysdeps/sparc/sparc32/dl-machine.h
2829 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2830 * sysdeps/sparc/sparc64/dl-machine.h
2831 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2832
ff9f1c5f
DM
2833 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2834 lazy binding.
48e2e132 2835 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2836 undefined symbol errors.
2837
48e2e132 2838 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2839 DT_NEEDED entries.
2840
e80d6f94
MM
28412012-04-05 Michael Matz <matz@suse.de>
2842
2843 [BZ #13592]
2844 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2845
349fa79f
AJ
28462012-04-05 Andreas Jaeger <aj@suse.de>
2847
2848 [BZ #13908]
2849 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2850 comment.
2851
f402708f
KK
28522012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2853
2854 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2855 which ROUND is no valid rounding mode.
2856
2ecccfc9
KK
28572012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2858
2859 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2860 read again.
2861 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2862
8a53f50f
KK
28632012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2864
2865 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2866 an exception using FPU order intentionally.
2867
28682012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2869
2870 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2871 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2872 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2873 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2874
d653abb7
SJ
28752012-04-05 Simon Josefsson <simon@josefsson.org>
2876
2877 [BZ #12340]
2878 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2879 EINVAL when BUFLEN is too smal.
2880
c3b1bf7d
TS
28812012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2882
2883 [BZ #13553]
2884 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2885 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2886
b1aa60f3
AJ
28872012-04-03 Andreas Jaeger <aj@suse.de>
2888
c3b1bf7d 2889 [BZ #13938]
67f60a26
AJ
2890 * manual/setjmp.texi (System V contexts): Fix sentence.
2891
b1aa60f3
AJ
2892 [BZ #13926]
2893 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2894 New macro for this case.
2895 [!__GNUC__] (__bswap_64): New inline function for this case.
2896 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2897 * bits/byteswap.h: Likewise.
2898 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2899 ull, guard with __GLIBC_HAVE_LONG_LONG.
2900
2901 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2902 __GLIBC_HAVE_LONG_LONG.
2903
2904 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2905 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2906
39c59c35
TMQMF
29072012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2908
2909 [BZ #13691]
2910 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2911 inptr and inend, rather than using last_ch.
2912
135ffda8
DM
29132012-04-02 David S. Miller <davem@davemloft.net>
2914
2915 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2916 * stdio-common/printf-parse.h (read_int): Change return type to
2917 'int', return -1 on INT_MAX overflow.
2918 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2919 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2920 overflows INT_MAX. Check for overflow of in-format-string precision
2921 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2922 SIZE_MAX not INT_MAX for integer overflow test.
2923 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2924 skip the construct in the format string but do not record anything.
2925 * stdio-common/bug22.c: Adjust to test both width/prevision
2926 INT_MAX overflow as well as total length INT_MAX overflow. Check
2927 explicitly for proper errno values.
2928
228c019e
TS
29292012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2930
302cadd3
TS
2931 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2932 CHAR_MAX.
2933 * string/test-strcmp.c [! WIDE]: Likewise.
2934 * time/tst-mktime2.c: Likewise for INT_MAX.
2935 * string/test-string.h: #include <sys/param.h> for MIN.
2936
228c019e
TS
2937 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2938 * sysdeps/i386/init-first.c (init): Likewise.
2939 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2940 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2941 * sysdeps/sh/init-first.c (init): Likewise.
2942
cfa633f5
UD
29432012-04-01 Ulrich Drepper <drepper@gmail.com>
2944
2945 * po/ru.po: Update from translation team.
d1635ef8 2946 * po/vi.po: Likewise.
cfa633f5 2947
6cd0a5ea
SP
29482012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2949
2950 * resolv/nss_dns/dns-host.c: Merge copyright years.
2951
4b43400f
LD
29522012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2953
2954 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2955 Optimize memcpy with prefetch if
2956 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2957 src, dst pointers have unequal 16 byte alignments.
2958
48c41d04
SP
29592012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2960
2961 [BZ #13928]
2962 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
2963 from a CNAME entry and return the minimum ttl for the query.
2964 (gaih_getanswer_slice): Likewise.
2965
b8dc394d
JL
29662012-03-30 Jeff Law <law@redhat.com>
2967
2968 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
2969 due to long keys.
2970 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2971 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2972
2f5a5ed0
JL
2973 * resolv/nss_dns/dns-host.c: Update copyright year.
2974
1d39e359
UD
29752012-03-30 Ulrich Drepper <drepper@gmail.com>
2976
c030f70c 2977 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 2978 requests to save a system call. Fix check that all bytes are sent.
c030f70c 2979
1d39e359
UD
2980 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
2981 comments for sendmmsg.
2982
29832012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
2984
2985 [BZ #13691]
2986 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
2987 with only 1 character between 0x0041 and 0x01b0.
2988 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
2989 * wcsmbs/tst-mbsnrtowcs.c: New file.
2990
20fde227
DM
29912012-03-29 David S. Miller <davem@davemloft.net>
2992
2993 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
2994 small copies by hand.
2995
984a4237
JL
29962012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
2997
2998 [BZ #13761]
2999 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3000 _nss_compat_initgroups_dyn): Fall back to malloc/free
3001 for large group memberships.
3002
18c9d62b
DM
30032012-03-28 David S. Miller <davem@davemloft.net>
3004
88d85d4f
DM
3005 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3006 that branches into memcpy.
3007 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3008 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3010 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3011 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3012 bits.
3013 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3014 implementation too.
3015 * sysdeps/sparc/mempcpy.S: New file.
3016
e5aa83e1
DM
3017 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3018 the IFUNC routine in the libc case.
3019 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3020
88570753
DM
3021 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3022 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3023 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3024 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3025 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3026 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3027 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3028 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3029
249d7567
DM
3030 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3031 loop to 256 bytes instead of 64 bytes and fix test signedness.
3032
18c9d62b
DM
3033 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3034 * sysdeps/sparc/sparc32/Makefile: rather than here...
3035 * sysdeps/sparc/sparc64/Makefile: and here.
3036
05f3d1f6
UD
30372012-03-28 Ulrich Drepper <drepper@gmail.com>
3038
3039 * malloc/mallocbug.c: Avoid warnings about unused variables.
3040
86ae07a8
JL
30412012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3042
3043 [BZ #13760]
3044 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3045 in the right place. Discard and retry query if response is
3046 larger than input buffer size.
3047
41bf21a1
JM
30482012-03-28 Joseph Myers <joseph@codesourcery.com>
3049
d6270972
JM
3050 [BZ #369]
3051 [BZ #2678]
3052 [BZ #3866]
3053 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3054 x for large integer exponent.
3055 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3056 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3057 sign of result as needed afterwards.
3058 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3059 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3060 result for underflowing pow the same as for overflow.
3061 (__kernel_standard_l): Handle powl overflow and underflow here
3062 rather than calling __kernel_standard.
3063 * math/libm-test.inc (pow_test): Add more tests.
3064
414fca03 3065 [BZ #3868]
41bf21a1
JM
3066 [BZ #13879]
3067 [BZ #13910]
3068 [BZ #13911]
3069 [BZ #13912]
3070 [BZ #13913]
3071 [BZ #13915]
3072 [BZ #13916]
3073 [BZ #13917]
3074 [BZ #13918]
3075 [BZ #13919]
3076 [BZ #13920]
3077 [BZ #13921]
3078 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3079 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3080 (__kernel_standard_l): New function.
3081 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3082 __kernel_standard.
3083 * math/w_acosl.c (__acosl): Likewise.
3084 * math/w_asinl.c (__asinl): Likewise.
3085 * math/w_atan2l.c (__atan2l): Likewise.
3086 * math/w_atanhl.c (__atanhl): Likewise.
3087 * math/w_coshl.c (__coshl): Likewise.
3088 * math/w_exp10l.c (__exp10l): Likewise.
3089 * math/w_exp2l.c (__exp2l): Likewise.
3090 * math/w_fmodl.c (__fmodl): Likewise.
3091 * math/w_hypotl.c (__hypotl): Likewise.
3092 * math/w_j0l.c (__j0l, __y0l): Likewise.
3093 * math/w_j1l.c (__j1l, __y1l): Likewise.
3094 * math/w_jnl.c (__jnl, __ynl): Likewise.
3095 * math/w_lgammal.c (__lgammal): Likewise.
3096 * math/w_log10l.c (__log10l): Likewise.
3097 * math/w_log2l.c (__log2l): Likewise.
3098 * math/w_logl.c (__logl): Likewise.
3099 * math/w_powl.c (__powl): Likewise.
3100 * math/w_remainderl.c (__remainderl): Likewise.
3101 * math/w_scalbl.c (sysv_scalbl): Likewise.
3102 * math/w_sinhl.c (__sinhl): Likewise.
3103 * math/w_sqrtl.c (__sqrtl): Likewise.
3104 * math/w_tgammal.c (__tgammal): Likewise.
3105 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3106 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3107 * math/libm-test.inc (acos_test): Add more tests.
3108 (acosh_test): Likewise.
3109 (asin_test): Likewise.
3110 (atanh_test): Likewise.
3111 (exp_test): Likewise.
3112 (exp10_test): Likewise.
3113 (exp2_test): Likewise.
3114 (expm1_test): Likewise.
3115 (lgamma_test): Likewise.
3116 (log_test): Likewise.
3117 (log10_test): Likewise.
3118 (log1p_test): Likewise.
3119 (log2_test): Likewise.
3120 (pow_test): Do not allow some spurious overflow exceptions.
3121 (sqrt_test): Add more tests.
3122 (tgamma_test): Likewise.
3123 (y0_test): Likewise.
3124 (y1_test): Likewise.
3125 (yn_test): Likewise.
3126
dd62fda6
AB
31272012-03-27 Anton Blanchard <anton@samba.org>
3128
3129 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3130 MAP_HUGETLB.
3131 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3132 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3133 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3134
1e3cdfda
AJ
31352012-03-27 David S. Miller <davem@davemloft.net>
3136
b855ab85
DM
3137 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3138
1e3cdfda
AJ
3139 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3140 have-as-vis3 check.
3141
31422012-03-27 Andreas Jaeger <aj@suse.de>
3143
3144 * sysdeps/x86_64/elf/configure.in: Moved to ...
3145 * sysdeps/x86_64/configure.in: ... here.
3146 * sysdeps/x86_64/elf/start.S: Moved to ...
3147 * sysdeps/x86_64/start.S: ... here.
3148 * sysdeps/x86_64/elf/configure: Delete.
3149
3150 * sysdeps/x86_64/configure.in: Merge contents from
3151 sysdeps/i386/configure.in (without i686 check).
3152
3153 * sysdeps/i386/elf/Versions: Merge into ...
3154 * sysdeps/i386/Versions: ... this.
3155 * sysdeps/i386/elf/Versions: Delete file.
3156 * sysdeps/i386/elf/start.S: Moved to ...
3157 * sysdeps/i386/start.S: ...here.
3158 * sysdeps/i386/elf/configure.in: Merge into...
3159 * sysdeps/i386/configure.in: ...here.
3160 * sysdeps/i386/elf/configure.in: Delete file.
3161 * sysdeps/i386/elf/configure: Delete file.
3162
3163 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3164 * debug/backtracesyms.c: ... here.
3165 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3166 * debug/backtracesymsfd.c: ... here.
3167 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3168 * sysdeps/generic/ifunc-sel.h: ... here.
3169
3170 * sysdeps/unix/i386/start.c: Delete file.
3171 * sysdeps/unix/sparc/start.c: Delete file.
3172 * sysdeps/unix/start.c: Delete file.
3173
3174 * sysdeps/sh/elf/configure.in: Moved to ...
3175 * sysdeps/sh/configure.in: ... here.
3176 * sysdeps/sh/elf/start.S: Moved to ...
3177 * sysdeps/sh/start.S: ... here.
3178 * sysdeps/sh/elf/configure: Delete file.
3179
3180 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3181 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3182 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3183 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3184 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3185 * sysdeps/powerpc/powerpc64/start.S: here.
3186 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3187 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3188 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3189 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3190 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3191
3192 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3193 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3194 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3195 * sysdeps/powerpc/powerpc32/start.S: ... here.
3196 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3197 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3198 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3199
3200 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3201 * sysdeps/powerpc/ifunc-sel.h: ... here.
3202 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3203 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3204
3205 * sysdeps/sparc/elf/configure.in: Moved to ...
3206 * sysdeps/sparc/configure.in: ... here.
3207 * sysdeps/sparc/elf/configure: Delete file.
3208 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3209 * sysdeps/sparc/sparc32/start.S: ... here.
3210 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3211 * sysdeps/sparc/sparc64/start.S: ... here.
3212 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3213 * sysdeps/sparc/sparc32/Makefile: ... this.
3214 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3215 * sysdeps/sparc/sparc64/Makefile: ... this.
3216
3217 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3218 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3219 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3220 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3221 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3222 * sysdeps/s390/s390-32/setjmp.S: ... here.
3223 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3224 * sysdeps/s390/s390-32/configure.in: ... here.
3225 * sysdeps/s390/s390-32/elf/configure: Delete file.
3226 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3227 * sysdeps/s390/s390-32/start.S: ... here.
3228
3229 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3230 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3231 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3232 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3233 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3234 * sysdeps/s390/s390-64/setjmp.S: ... here.
3235 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3236 * sysdeps/s390/s390-64/configure.in: ... here
3237 * sysdeps/s390/s390-64/elf/configure: Delete file.
3238 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3239 * sysdeps/s390/s390-64/start.S: ... here.
3240 * sysdeps/s390/s390-64/elf/configure: Delete.
3241
3242 * configure.in: Remove support for elf directories in sysdeps.
3243
3244 * configure: Regenerated.
3245 * sysdeps/i386/configure: Regenerated.
3246 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3247 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3248 * sysdeps/s390/s390-32/configure: Regenerated.
3249 * sysdeps/s390/s390-64/configure: Regenerated.
3250 * sysdeps/sh/configure: Regenerated.
3251 * sysdeps/sparc/configure: Regenerated.
3252 * sysdeps/x86_64/configure: Regenerated.
3253
a3f61311
AS
32542012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3255
c876e002
AS
3256 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3257
a3f61311
AS
3258 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3259 denormal result into account.
3260
ac4c54f0
RM
32612012-03-25 Roland McGrath <roland@hack.frob.com>
3262
3263 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3264 Reported by Allan McRae <allan@archlinux.org>.
3265
6a9b9c02
JL
32662012-03-23 Jeff Law <law@redhat.com>
3267
3268 * nss/getnssent.c (__nss_getent): Fix typo.
3269
4c42a0c1
DM
32702012-03-23 David S. Miller <davem@davemloft.net>
3271
3272 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3273
1532c7ac
L
32742012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3275
3276 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3277 to pad to uint64_t for each field.
3278 (dl_tls_index): Replace unsigned long with uint64_t.
3279
3ff42526
PP
32802012-03-23 Daniel Jacobowitz <dmj@google.com>
3281 Paul Pluzhnikov <ppluzhnikov@google.com>
3282
3283 [BZ #6528]
3284 * grp/Makefile (otherlibs): Don't set it.
3285 * inet/Makefile (otherlibs): Likewise.
3286 * login/Makefile (otherlibs): Likewise.
3287 * nscd/Makefile (otherlibs): Likewise.
3288 * posix/Makefile (otherlibs): Likewise.
3289 * pwd/Makefile (otherlibs): Likewise.
3290 * rt/Makefile (otherlibs): Likewise.
3291 * sunrpc/Makefile (otherlibs): Likewise.
3292 * nss/Makefile (otherlibs): Likewise.
3293 Add libnss_files to routines and static-only-routines.
3294 ($(objpfx)getent): Remove rule.
3295 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3296 static-only-routines.
3297
7c69cd14
JM
32982012-03-22 Joseph Myers <joseph@codesourcery.com>
3299
3300 [BZ #13892]
3301 * math/s_cexp.c: Include <float.h>.
3302 (__cexp): Handle exp result overflowing not necessarily
3303 overflowing both real and imaginary parts of result.
3304 * math/s_cexpf.c: Likewise.
3305 * math/s_cexpl.c: Likewise.
3306 * math/libm-test.inc (cexp_test): Add more tests.
3307 * sysdeps/i386/fpu/libm-test-ulps: Update.
3308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3309
81b035fe
L
33102012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3311
3312 * include/link.h (ELFW): New macro.
3313 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3314 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3315
1da7940c
L
33162012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3317
3318 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3319 with uint64_t.
3320
b749dbb9
L
33212012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3322
3323 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3324 declaration.
3325 (struct La_x32_retval): Likewise.
3326
2ff87f3f
L
33272012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3328
3329 * sysdeps/x86_64/preconfigure.in: New file.
3330 * sysdeps/x86_64/preconfigure: New generated file.
3331
c0df8e69
JM
33322012-03-22 Joseph Myers <joseph@codesourcery.com>
3333
48e44791
JM
3334 [BZ #13824]
3335 * math/e_exp2l.c: Include <float.h>.
3336 (__ieee754_exp2l): Handle overflow and underflow cases
3337 separately. Only pass fractional part of argument to
3338 __ieee754_expl.
3339 * math/libm-test.inc (exp2_test): Add more tests.
3340
c0df8e69
JM
3341 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3342 negating x to take absolute value.
3343 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3344 Likewise.
3345 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3346 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3347 Likewise.
3348 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3349 computing low part if x was negated.
3350 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3351
c8e43ba7
L
33522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3353
3354 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3355 la_x32_gnu_pltexit.
3356 (pltexit): Cast int_retval to ptrdiff_t.
3357 * elf/tst-auditmod3b.c: Likewise.
3358 * elf/tst-auditmod4b.c: Likewise.
3359 * elf/tst-auditmod5b.c: Likewise.
3360 * elf/tst-auditmod6b.c: Likewise.
3361 * elf/tst-auditmod6c.c: Likewise.
3362 * elf/tst-auditmod7b.c: Likewise.
3363
3364 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3365 and x32_gnu_pltexit.
3366
3367 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3368 __ELF_NATIVE_CLASS.
3369 (La_x32_regs): New macro.
3370 (La_x32_retval): Likewise.
3371 (la_x32_gnu_pltenter): New function prototype.
3372 (la_x32_gnu_pltexit): Likewise.
3373
7998fa78
AS
33742012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3375
dcb33988
AS
3376 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3377 exponent.
3378
233fc563
AS
3379 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3380
7998fa78
AS
3381 * configure.in (libc_cv_cc_nofma): Check for option to disable
3382 generation of FMA instructions.
3383 * configure: Regenerate.
3384 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3385 * sysdeps/ieee754/dbl-64/Makefile: New file.
3386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3387 Remove brandred-fma4.
3388 (CFLAGS-brandred-fma4.c): Remove.
3389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3390 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3391 define.
3392 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3393 define.
3394
8e95c99a
L
33952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3396
3397 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3398 LLONG_MAX != LONG_MAX.
3399 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3400 (_fitoa_word): Likewise.
3401 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3402 LLONG_MAX != LONG_MAX.
3403 * stdio-common/_itowa.h: Include <_itoa.h>.
3404 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3405 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3406 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3407 only if not defined.
3408 (_ITOA_WORD_TYPE): Likewise.
3409 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3410 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3411
6f4db457
DM
34122012-03-21 David S. Miller <davem@davemloft.net>
3413
3414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3415
7785fe5a
L
34162012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3417
3418 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3419 of x86_64 when setting libc_cv_slibdir, libdir and
3420 libc_cv_localedir.
3421 * sysdeps/unix/sysv/linux/configure: Regenerated.
3422
4535cd55
JM
34232012-03-21 Joseph Myers <joseph@codesourcery.com>
3424
3425 * manual/lang.texi (Old Varargs): Remove section.
3426 (How Variadic): Update menu.
3427 (va_start): Do not mention varargs.h.
3428
17228132
TS
34292012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3430 Joseph Myers <joseph@codesourcery.com>
3431
3432 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3433 link test.
3434 * configure: Regenerated.
3435
8149f976
TS
34362012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3437
05f3d1f6
UD
3438 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3439 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3440 conformtest.pl
8149f976 3441
1a4ac776
JM
34422012-03-21 Joseph Myers <joseph@codesourcery.com>
3443
be22ce65
JM
3444 * NOTES: Remove.
3445 * Makefile (files-for-dist): Remove NOTES.
3446 (NOTES): Remove rule.
3447 * README: Don't refer to NOTES.
3448 * manual/creature.texi: Don't include macros.texi.
3449 * manual/intro.texi (creature.texi): Remove comment referring to
3450 NOTES.
3451
40b601fb
JM
3452 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3453 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3454 * configure: Regenerated.
3455 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3456 LIBC_TRY_CC_OPTION.
3457 (libc_cv_as_i686): Likewise.
3458 (libc_cv_cc_avx): Likewise.
3459 (libc_cv_cc_sse2avx): Likewise.
3460 (libc_cv_cc_fma4): Likewise.
3461 (libc_cv_cc_novzeroupper): Likewise.
3462 * sysdeps/i386/configure: Regenerated.
3463
1a4ac776
JM
3464 [BZ #13883]
3465 * sysdeps/i386/fpu/s_cexp.S: Remove.
3466 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3467 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3468 * math/libm-test.inc (cexp_test): Add more tests.
3469 * sysdeps/i386/fpu/libm-test-ulps: Update.
3470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3471
a458e7fe
AM
34722012-03-21 Allan McRae <allan@archlinux.org>
3473
3474 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3475
0cb7efc5
JM
34762012-03-21 Joseph Myers <joseph@codesourcery.com>
3477
3478 [BZ #13871]
3479 * math/w_exp2.c: Do not include <float.h>.
3480 (o_threshold, u_threshold): Remove.
3481 (__exp2): Calculate result before checking finiteness and calling
3482 __kernel_standard.
3483 * math/w_exp2f.c: Likewise.
3484 * math/w_exp2l.c: Likewise.
3485 * math/libm-test.inc (exp2_test): Require overflow exception for
3486 1e6 input.
2460d3aa
JM
3487
3488 [BZ #3866]
3489 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3490 range of signed 64-bit integers before using fistpll. Remove
3491 checks for whether integers fit in mantissa bits.
3492 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3493 the range of signed 32-bit integers before using fistpl. Remove
3494 checks for whether integers fit in mantissa bits.
3495 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3496 (__ieee754_powl): Test for y outside the range of signed 64-bit
3497 integers before using fistpll. Reduce 64-bit values to 63-bit
3498 ones as needed.
3499 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3500 divide-by-zero is raised for zero to large negative powers.
3501 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3502 (__ieee754_powl): Test for y outside the range of signed 64-bit
3503 integers before using fistpll. Reduce 64-bit values to 63-bit
3504 ones as needed.
3505 * math/libm-test.inc (pow_test): Add more tests.
3506
eb96ffb0
L
35072012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3508
3509 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3510 <stdio-common/_itoa.h>.
3511 * debug/segfault.c: Likewise.
3512 * elf/dl-cache.c: Likewise.
3513 * elf/dl-minimal.c: Likewise.
3514 * elf/dl-misc.c: Likewise.
3515 * elf/dl-sysdep.c: Likewise.
3516 * elf/dl-version.c: Likewise.
3517 * elf/rtld.c: Likewise.
3518 * hurd/hurdsock.c: Likewise.
3519 * hurd/lookup-retry.c: Likewise.
3520 * malloc/malloc.c: Likewise.
3521 * malloc/mtrace.c: Likewise.
3522 * nscd/nscd_getgr_r.c: Likewise.
3523 * nscd/nscd_getpw_r.c: Likewise.
3524 * nscd/nscd_getserv_r.c: Likewise.
3525 * posix/getopt_init.c: Likewise.
3526 * posix/wordexp.c: Likewise.
3527 * stdio-common/_itoa.c: Likewise.
3528 * stdio-common/printf_fphex.c: Likewise.
3529 * stdio-common/vfprintf.c: Likewise.
3530 * string/_strerror.c: Likewise.
3531 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3532 * sysdeps/i386/i686/hp-timing.h: Likewise.
3533 * sysdeps/mach/_strerror.c: Likewise.
3534 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3535 * sysdeps/mach/hurd/sethostid.c: Likewise.
3536 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3537 * sysdeps/mach/xpg-strerror.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3539 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3540 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3541 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3542 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3543 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3544 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3545 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3546 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3547 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3548 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3549 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3551 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3552 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3553 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3556 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3557 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3558 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3559
3560 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3561
3562 * stdio-common/_itoa.h: Moved to ...
3563 * sysdeps/generic/_itoa.h: Here.
3564
3565 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3566
3567 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3568 instead of "_itoa.h" and "_itowa.h".
3569 * stdio-common/vfprintf.: Likewise.
3570
d1af992d
L
35712012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3572
3573 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3574 <bits/wordsize.h>.
3575 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3576 (__signbit): Likwise.
3577 (llrintf): Likwise.
3578 (llrint): Likwise.
3579
114883e0
L
35802012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3581
3582 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3583 __WORDSIZE != 64.
3584
c135cc1b
JM
35852012-03-20 Joseph Myers <joseph@codesourcery.com>
3586
3587 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3588 OVERFLOW_EXCEPTION_OK.
3589 * math/libm-test.inc ("Philosophy"): Update comment about
3590 exception testing.
3591 (OVERFLOW_EXCEPTION): Define.
3592 (OVERFLOW_EXCEPTION_OK): Likewise.
3593 (INVALID_EXCEPTION_OK): Renumber.
3594 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3595 (IGNORE_ZERO_INF_SIGN): Likewise.
3596 (test_exceptions): Handle FE_OVERFLOW.
3597 (exp10_test): Expect overflow exceptions.
3598 (exp2_test): Likewise.
3599 (expm1_test): Likewise.
3600 (nextafter_test): Likewise.
3601 (pow_test): Likewise.
3602 (scalbn_test): Likewise.
3603 (scalbln_test): Likewise.
3604
95443d88
L
36052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3606
3607 * sysdeps/x86_64/bits/atomic.h
3608 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3609 64bit integer.
3610 (atomic_exchange_acq): Likewise.
3611 (__arch_exchange_and_add_body): Likewise.
3612 (__arch_add_body): Likewise.
3613 (atomic_add_negative): Likewise.
3614 (atomic_add_zero): Likewise.
3615
490df6c4
L
36162012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3617
c2722551 3618 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3619 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3620
5e52b189
L
36212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3622
3623 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3624 Check __x86_64__ instead of __WORDSIZE.
3625
a9879d4c
L
36262012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3627
3628 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3629
5df98260
DM
36302012-03-19 David S. Miller <davem@davemloft.net>
3631
e1497744
DM
3632 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3633
5df98260
DM
3634 * sysdeps/sparc/fpu/fenv_private.h: New file.
3635 * sysdeps/sparc/fpu/math_private.h: Use it.
3636 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3637 Remove.
3638 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3639 (libc_feholdexcept_setroundl): Remove.
3640 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3641 Remove.
3642 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3643 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3644
b4c35121
L
36452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3646
3647 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3648 int64_t instead of long int.
3649 (INSERT_WORDS64): Likwise.
3650
56965fd7
L
36512012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3652
3653 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3654 _Unwind_GetCFA return to _Unwind_Ptr first.
3655
83d1aec8
JM
36562012-03-19 Joseph Myers <joseph@codesourcery.com>
3657
1897ad44
JM
3658 [BZ #13629]
3659 * math/s_clog.c: Include <float.h>.
3660 (__clog): Scale large or subnormal inputs.
3661 * math/s_clogf.c: Likewise.
3662 * math/s_clogl.c: Likewise.
3663 * math/s_clog10.c: Include <float.h>.
3664 (M_LOG10_2): Define.
3665 (__clog10): Scale large or subnormal inputs.
3666 * math/s_clog10f.c: Likewise.
3667 * math/s_clog10l.c: Likewise.
3668 * math/libm-test.inc (clog_test): Add more tests.
3669 (clog10_test): Likewise.
3670 * sysdeps/i386/fpu/libm-test-ulps: Update.
3671 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3672
7726d6a9
JM
3673 [BZ #11451]
3674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3675 x and y.
3676 * math/libm-test.inc (atan2_test): Add another test.
3677
83d1aec8
JM
3678 * Makerules (common-objdir-compile): Remove.
3679 * sysdeps/unix/Makefile (config-generated): Do not add
3680 $(unix-generated) to variable.
3681 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3682 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3683 Remove rule.
3684 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3685 Likewise.
3686 [generic bits/local_lim.h] (before-compile): Do not append to
3687 variable.
3688 [generic bits/local_lim.h] (common-generated): Likewise.
3689 [generic sys/param.h] (before-compile): Do not append to variable.
3690 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3691 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3692 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3693 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3694 include.
3695 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3696 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3697 [generic sys/param.h] ($(addprefix
3698 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3699 [generic sys/param.h] (common-generated): Do not append to
3700 variable.
3701 [generic sys/param.h] (sysdep_headers): Likewise.
3702 [generic bits/errno.h] (before-compile): Do not append to
3703 variable.
3704 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3705 rule.
3706 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3707 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3708 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3709 [generic bits/errno.h] (common-generated): Do not append to
3710 variable.
3711 [generic bits/ioctls.h] (before-compile): Do not append to
3712 variable.
3713 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3714 rule.
3715 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3716 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3717 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3718 rule.
3719 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3720 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3721 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3722 [generic bits/ioctls.h] (common-generated): Do not append to
3723 variable.
3724 [generic sys/syscall.h] (syscall.h): Remove variable.
3725 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3726 rule.
3727 [generic sys/syscall.h] (before-compile): Do not append to
3728 variable.
3729 [generic sys/syscall.h] (common-generated): Likewise.
3730 * sysdeps/unix/errnos-tmpl.c: Remove file.
3731 * sysdeps/unix/errnos.awk: Likewise.
3732 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3733 * sysdeps/unix/ioctls.awk: Likewise.
3734 * sysdeps/unix/mk-local_lim.c: Likewise.
3735 * sysdeps/unix/snarf-ioctls: Likewise.
3736
4851a949
RH
37372012-03-19 Richard Henderson <rth@twiddle.net>
3738
bd37f2ee
RH
3739 * sysdeps/i386/fpu/fenv_private.h: New file.
3740 * sysdeps/i386/fpu/math_private.h: Use it.
3741 (math_opt_barrier, math_force_eval): Remove.
3742 (libc_feholdexcept_setround_53bit): Remove.
3743 (libc_feupdateenv_53bit): Remove.
3744 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3745 (math_opt_barrier, math_force_eval): Remove.
3746 (libc_feholdexcept): Remove.
3747 (libc_feholdexcept_setround): Remove.
3748 (libc_fetestexcept, libc_fesetenv): Remove.
3749 (libc_feupdateenv_test): Remove.
3750 (libc_feupdateenv, libc_feholdsetround): Remove.
3751 (libc_feresetround): Remove.
3752
d0adc922
RH
3753 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3754 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3755
0fe0f1f8
RH
3756 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3757 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3758 (libc_feupdateenv_testl): New.
3759 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3760 (libc_feupdateenv_testf): New.
3761 (libc_feupdateenv): Use libc_feupdateenv_test.
3762 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3763 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3764
eb92c487
RH
3765 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3766 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3767 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3768 (libc_feresetround_noex): New.
3769 (libc_feresetround_noexf): New.
3770 (libc_feresetround_noexl): New.
3771 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3772 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3773 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3774 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3775 SET_RESTORE_ROUND.
3776 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3777 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3778 (__cos): Likewise.
3779 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3780 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3781 SET_RESTORE_ROUND_NOEX.
3782 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3783 SET_RESTORE_ROUND_NOEXF.
3784 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3785 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3786 (libc_feholdsetroundf): New.
3787 (libc_feresetround, libc_feresetroundf): New.
3788
7d2e8012
RH
3789 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3790 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3791 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3792
b4dabbb4
RH
3793 * sysdeps/generic/math_private.h: Include <fenv.h>.
3794 (default_libc_feholdexcept): New.
3795 (default_libc_feholdexcept_setround): New.
3796 (default_libc_fesetenv, default_libc_feupdateenv): New.
3797 (libc_feholdexcept): Only define if undefined.
3798 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3799 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3800 (libc_feholdexcept_setroundl): Likewise.
3801 (libc_feholdexcept_setround_53bit): Likewise.
3802 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3803 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3804 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3805 (libc_feupdateenv_53bit): Likewise.
3806 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3807 (libc_feholdexcept): Convert from macro to inline function.
3808 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3809 (libc_fesetenv, libc_feupdateenv): Likewise.
3810
4851a949
RH
3811 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3812 not previously defined.
3813 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3814 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3815 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3816 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3817 * sysdeps/ieee754/flt-32/math_private.h: New file.
3818 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3819 math_private.h below SET_FLOAT_WORD.
3820 (__isnan, __isinf_ns, __finite): Remove.
3821 (__isnanf, __isinf_nsf, __finitef): Remove.
3822
e79d442e
AS
38232012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3824
3825 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3826
90b80344
DM
38272012-03-17 David S. Miller <davem@davemloft.net>
3828
3829 [BZ #6471]
3830 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3831 for 2.16.
3832
edc21804
DM
38332012-03-16 David S. Miller <davem@davemloft.net>
3834
77e927af
DM
3835 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3836 warnings.
3837
374976dd
DM
3838 [BZ #6471]
3839 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3840 properly.
3841 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3842 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3843 sysdep_routines when subdir is sysvipc.
3844 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3845 __getshmlba helper.
3846
edc21804
DM
3847 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3848
473c3ef3
L
38492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3850
3851 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3852 [__LP64__].
3853
eb0f39b6
L
38542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3857 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3858 (__lround): Renamed to ...
3859 (__llround): This. Replace long int with long long int.
3860 Define lround functions as aliases of llround functions.
3861 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3862
6b6cd74b
L
38632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3864
3865 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3866 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3867 adresses to uintptr_t. Replace "long int" and "unsigned long
3868 int" with "greg_t" on va_arg.
3869
f1a77b01
L
38702012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3873 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3874
3875 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3876 Move e_machine check before EI_CLASS check. Handle x32
3877 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3878 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3879 SKIP_EM_IA_64 and include
3880 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3881
3882 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3883 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3884 (add_system_dir): New macro.
3885
3886 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3887 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3888
11b90b9f
JM
38892012-03-16 Joseph Myers <joseph@codesourcery.com>
3890
c36e1d23
JM
3891 [BZ #2551]
3892 [BZ #2552]
3893 [BZ #2553]
3894 [BZ #2554]
3895 [BZ #2562]
3896 [BZ #2563]
3897 [BZ #2565]
3898 [BZ #2566]
3899 [BZ #2576]
3900 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3901 (y0): Likewise.
3902 * math/w_j0f.c (j0f): Likewise.
3903 (y0f): Likewise.
3904 * math/w_j0l.c (__j0l): Likewise.
3905 (__y0l): Likewise.
3906 * math/w_j1.c (j1): Likewise.
3907 (y1): Likewise.
3908 * math/w_j1f.c (j1f): Likewise.
3909 (y1f): Likewise.
3910 * math/w_j1l.c (__j1l): Likewise.
3911 (__y1l): Likewise.
3912 * math/w_jn.c (jn): Likewise.
3913 (yn): Likewise.
3914 * math/w_jnf.c (jnf): Likewise.
3915 (ynf): Likewise.
3916 * math/w_jnl.c (__jnl): Likewise.
3917 (__ynl): Likewise.
3918 * math/libm-test.inc (j0_test): Add more tests.
3919 (j1_test): Likewise.
3920 (jn_test): Likewise. Add trailing semicolon to existing test.
3921 (y0_test): Likewise.
3922 (y1_test): Likewise.
3923 * sysdeps/i386/fpu/libm-test-ulps: Update.
3924 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3925
11b90b9f
JM
3926 [BZ #13851]
3927 [BZ #13854]
3928 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3929 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3930 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3931 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3932 (__tanl): Set errno for infinite argument.
3933 * sysdeps/i386/fpu/mptan.c: Remove.
3934 * sysdeps/i386/fpu/s_tan.S: Likewise.
3935 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3936 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3937 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3938 * math/libm-test.inc (tan_test): Add more tests and enable more
3939 tests for double and long double.
3940 * sysdeps/i386/fpu/libm-test-ulps: Update.
3941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3942
6a1bd2a1
JK
39432012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3944
3945 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3946 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3947
10a803e0
RM
39482012-03-16 Roland McGrath <roland@hack.frob.com>
3949
3950 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3951 * configure.in: Use it for both main tree and add-ons.
3952 * configure: Regenerated.
3953
f196c7f7
L
39542012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3955
3956 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3957
8848d99d
JM
39582012-03-16 Joseph Myers <joseph@codesourcery.com>
3959
96cbe7f4
JM
3960 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3961 in comment.
3962
8848d99d
JM
3963 [BZ #13851]
3964 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
3965 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
3966 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
3967 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
3968 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
3969 infinite argument.
3970 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
3971 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
3972 != 0 for prec == 2.
3973 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
3974 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
3975 * sysdeps/i386/fpu/s_cosl.S: Likewise.
3976 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
3977 * sysdeps/i386/fpu/s_sinl.S: Likewise.
3978 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
3979 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
3980 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
3981 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
3982 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
3983 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
3984 * math/libm-test.inc (cos_test): Add more tests and enable more
3985 tests for long double.
3986 (sin_test): Likewise.
3987 (sincos_test): Likewise.
3988 * sysdeps/i386/fpu/libm-test-ulps: Update.
3989 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3990
dd7f4703
DM
39912012-03-16 David S. Miller <davem@davemloft.net>
3992
3993 * sysdeps/sparc/fpu/math_private.h: New file.
3994
006f1daa
DM
39952012-03-15 David S. Miller <davem@davemloft.net>
3996
c0c83bc8
DM
3997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
3998 file.
e6a62e18 3999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4001 file.
e6a62e18
DM
4002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4003 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4004 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4005 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4006 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4007 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4008 sysdep routines.
4009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4010
88cb87d9
DM
4011 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4012 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4013
006f1daa 4014 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4016 sparc-ifunc.h
006f1daa 4017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4019 Likewise.
4020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4021 Likewise.
006f1daa
DM
4022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4026 Likewise.
006f1daa
DM
4027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4032 Likewise.
4033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4034 Likewise.
006f1daa
DM
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4040 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4041 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4042 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4043 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4049 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4050 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4051 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4052 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4053 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4054 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4055 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4056 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4057 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4058 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4059
11e0098e
AS
40602012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4061
4062 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4063 scaling.
4064 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4065
e85b09d0
AJ
40662012-03-15 Andreas Jaeger <aj@suse.de>
4067
4068 [BZ #13852]
4069 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4070 ieee754/flt-32 implementation for sin, cos and sincos.
4071 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4072 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4073 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4074 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4075 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4076 ieee754/flt-32 implementation for tan.
4077
4078 * math/libm-test.inc (cos_test): Enable some large input tests for
4079 float as well
4080 (sin_test): Likewise.
4081 (sincos_test): Likewise.
4082 (tan_test): Add tests for large input.
4083
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085
81c64153
AJ
40862012-03-15 Andreas Jaeger <aj@suse.de>
4087
4088 [BZ #13658]
4089 * math/libm-test.inc (cos_test): Add more test cases.
4090 (sin_test): Likewise.
4091 (sincos_test): Likewise.
4092
7bbfa5c6
AJ
40932012-03-15 Andreas Jaeger <aj@suse.de>
4094
4095 [BZ #13837]
4096 * math/libm-test.inc (cos_test): Add a test case for large input
4097 value.
4098 (sin_test): Likewise.
4099 (sincos_test): Likewise.
4100
41012012-03-15 Andreas Jaeger <aj@suse.de>,
4102 Joseph Myers <joseph@codesourcery.com>
4103
4104 [BZ #13658]
0671f479 4105 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4106 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4107 * sysdeps/i386/fpu/branred.c: Likewise.
4108 * sysdeps/i386/fpu/dosincos.c: Likewise.
4109 * sysdeps/i386/fpu/mpa.c: Likewise.
4110 * sysdeps/i386/fpu/s_cos.S: Likewise.
4111 * sysdeps/i386/fpu/s_sin.S: Likewise.
4112 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4113 * sysdeps/i386/fpu/sincos32.c: Likewise.
4114
4115 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4116 Define.
4117 (libc_feupdateenv_53bit): Define.
4118 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4119 Define.
4120 (libc_feupdateenv_53bit): Define.
4121
4122 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4123 53 bit (without extend i386 double precision).
4124
4125 * math/libm-test.inc (sincos_test): Add tests for large input.
4126 (sin): Likewise.
4127 (cos): Likewise.
4128
4129 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4130
9cad04ea
AS
41312012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4132
4133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4134
f7062b9a
DM
41352012-03-15 David S. Miller <davem@davemloft.net>
4136
4137 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4138 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4139 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4140 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4141 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4145 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4150 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4151 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4153 file.
f7062b9a 4154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4156 file.
f7062b9a 4157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4159 file.
f7062b9a 4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4162 file.
f7062b9a
DM
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4164 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4165 fmin/fmax sysdep routines.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4167
7bd951ff
DM
41682012-03-14 David S. Miller <davem@davemloft.net>
4169
559398ab
DM
4170 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4171 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4177 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4179 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4181 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4188 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4189 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4191 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4192 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4193 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4194 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4195 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4196 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4197 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4198 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4199 routines.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4201 file.
559398ab 4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4204 file.
559398ab 4205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4207 file.
559398ab 4208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4210 file.
559398ab 4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4213 file.
559398ab 4214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4216 file.
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4218 file.
4219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4220 file.
4221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4222 file.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4224 New file.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4226 file.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4228 file.
559398ab 4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4231 file.
559398ab 4232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4234 file.
559398ab 4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4237 file.
559398ab 4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4240 VIS3 routines.
559398ab
DM
4241
4242 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4243 New file.
4244
5a1c1e32
DM
4245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4246
eae47a36
DM
4247 * sysdeps/sparc/configure.in: New file.
4248 * sysdeps/sparc/configure: Generate.
4249 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4250 * configure: Regenerate.
4251 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4252 * config.make.in (have-as-vis3): New.
4253 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4254 available use -Av9d instead of -Av9a.
4255 * sysdeps/sparc/sparc64/Makefile: Likewise.
4256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4258 New file.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4260 file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4262 New file.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4264 file.
eae47a36
DM
4265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4266 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4267 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4268 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4269 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4270
c0c83bc8
DM
4271 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4272 fzeros/fnegs to load 0x80000000 into a float register instead of
4273 using the stack.
7bd951ff
DM
4274 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4275
bd951ccb
JM
42762012-03-14 Joseph Myers <joseph@codesourcery.com>
4277
4278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4279 bits/syscall.h.
4280 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4281 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4282 ($(inst_includedir)/bits/syscall.h): Remove rule.
4283 ($(objpfx)bits/syscall.d): Include instead of
4284 $(objpfx)syscall-list.d.
4285 (generated): Change syscall-list.h and syscall-list.d to
4286 bits/syscall.h and bits/syscall.d.
4287
bb4e6db2
RM
42882012-03-14 Roland McGrath <roland@hack.frob.com>
4289
4290 [BZ #13846]
4291 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4292
aa4a2ae1
JM
42932012-03-14 Joseph Myers <joseph@codesourcery.com>
4294
e456826d
JM
4295 [BZ #13841]
4296 * math/s_csqrt.c: Include <float.h>.
4297 (__csqrt): Scale large or subnormal inputs.
4298 * math/s_csqrtf.c: Likewise.
4299 * math/s_csqrtl.c: Likewise.
4300 * math/libm-test.inc (csqrt_test): Add more tests.
4301 * sysdeps/i386/fpu/libm-test-ulps: Update.
4302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4303
aa4a2ae1
JM
4304 [BZ #13840]
4305 * math/libm-test.inc (hypot_test): Add more tests.
4306
7c10fd35
DM
43072012-03-13 David S. Miller <davem@davemloft.net>
4308
4309 [BZ #13840]
4310 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4311 double-precision for the calculation instead of scaling.
4312
f453b98b
JM
43132012-03-13 Joseph Myers <joseph@codesourcery.com>
4314
4315 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4316 manipulate bits before adding and subtracting TWO52[sx].
4317 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4318 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4319 Likewise.
4320 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4321
09a3453f
DM
43222012-03-13 David S. Miller <davem@davemloft.net>
4323
8e59da90
DM
4324 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4325 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4326 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4327 rtld-global-offsets.h
4328 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4329
2a8ab7f2
DM
4330 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4331 large parameters.
4332
10f62770
DM
4333 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4334
5f0bdb18
DM
4335 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4336 'err' in the ifdef scope in which it is actually used.
4337
09a3453f
DM
4338 * nss/nss_db/db-init.c: Include string.h
4339
b4b2eb5e
DM
43402012-03-12 David S. Miller <davem@davemloft.net>
4341
98bb2f1c
DM
4342 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4343 masking out of the most significant byte of random value used.
4344 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4345 Fix coding style in previous change.
4346
b4b2eb5e
DM
4347 * sysdeps/unix/sysv/linux/kernel-features.h
4348 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4349 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4350 expression.
4351 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4352 later.
4353
6e226b09
DM
43542012-03-11 David S. Miller <davem@davemloft.net>
4355
a1bcbd40
DM
4356 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4357 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4358 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4359 for 'resultvar' otherwise things get truncated on 64-bit.
4360
cb9d6174
DM
4361 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4362 Fix masking out of the most significant byte of random value used.
4363
6e226b09
DM
4364 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4365
058c132d
AS
43662012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4367
4368 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4369
2d2cd515
DM
43702012-03-09 David S. Miller <davem@davemloft.net>
4371
4372 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4373 variables with appropriate CPP guards.
4374 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4375 frame pointer, not the stack pointer. Correct layout comments. Fix test
4376 on resulting framesize and the management of the outregs buffer for pltexit.
4377 Preserve floating point return values across _dl_call_pltexit call.
4378 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4379 framesize and the management of the outregs buffer for pltexit.
4380 Preserve floating point return values across _dl_call_pltexit
4381 call.
4382 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4383 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4384 (print_exit): Fix format string for return register value.
4385
9a07f9d0
JM
43862012-03-10 Joseph Myers <joseph@codesourcery.com>
4387
4388 * sunrpc/Makefile (others): Add rpcgen.
4389 ($(objpfx)rpcgen): Remove special build rule and dependency on
4390 libc.
4391 * sunrpc/rpcgen.c: New file.
4392
547b5e30
PE
43932012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4394
c524201a
PE
4395 [BZ #13673]
4396 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4397 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4398 * sysdeps/i386/crti.S: Likewise.
4399 * sysdeps/i386/crtn.S: Likewise.
4400 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4401 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4402 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4403 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4404 * sysdeps/sh/crti.S: Likewise.
4405 * sysdeps/sh/crtn.S: Likewise.
4406 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4407
7b6235f2
PE
4408 [BZ #13673]
4409 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4410 with URL.
4411 * locale/programs/locfile-kw.gperf: Likewise.
4412 * locale/programs/charmap-kw.h: Regenerated.
4413 * locale/programs/locfile-kw.h: Likewise.
4414
547b5e30
PE
4415 [BZ #13673]
4416 * intl/plural.y: Replace FSF snail mail address with URL.
4417 * intl/plural.c: Regenerated.
4418
5f0a5dae
RH
44192012-03-09 Richard Henderson <rth@twiddle.net>
4420
4421 * include/math_private.h: Remove file.
4422 * math/math_private.h: Move file ...
4423 * sysdeps/generic/math_private.h: ... here.
4424
b8c03620
RH
4425 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4426 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4427 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4428
4e234f5d 4429 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4430 and <math_private.h>.
4431 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4432 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4433 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4434 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4435 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4436 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4437 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4438 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4439 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4440 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4441 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4442 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4443 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4444 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4445 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4446 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4451 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4452 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4453 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4454 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4455 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4456 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4457 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4458 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4459 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4460 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4462 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4463 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4464 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4465 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4466 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4467 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4468 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4469 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4470 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4471 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4472 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4473 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4519 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4520 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4521 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4522 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4523 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4524 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4525 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4535 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4536 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4537 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4538 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4539 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4540 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4541 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4542 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4543 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4544 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4545 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4546 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4547 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4548 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4549 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4550 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4551 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4552 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4553 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4554 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4555 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4556 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4557 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4558 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4559 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4560 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4561 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4562 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4563 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4564 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4565 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4566 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4567 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4568 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4569 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4570 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4571 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4573 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4574 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4576 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4577 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4580 * sysdeps/ieee754/k_standard.c: Likewise.
4581 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4582 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4583 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4584 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4585 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4586 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4587 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4588 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4589 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4590 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4591 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4592 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4593 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4594 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4595 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4596 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4597 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4598 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4599 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4600 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4601 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4602 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4605 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4606 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4607 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4608 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4609 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4610 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4611 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4612 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4613 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4614 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4615 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4616 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4617 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4618 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4696 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4700 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4701 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4703 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4708 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4712 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4713 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4729 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4730 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4741 * sysdeps/ieee754/s_lib_version.c: Likewise.
4742 * sysdeps/ieee754/s_matherr.c: Likewise.
4743 * sysdeps/ieee754/s_signgam.c: Likewise.
4744 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4745 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4746 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4747 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4748 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4749 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4750 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4751 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4752 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4753 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4754 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4755 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4756 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4757 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4758 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4759 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4760 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4763 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4764 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4765
1991fa03
JM
47662012-03-09 Joseph Myers <joseph@codesourcery.com>
4767
4768 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4769 * sunrpc/rpc_main.c: Likewise.
4770 * sunrpc/rpc_svcout.c: Likewise.
4771
60d6f5a6
DM
47722012-03-09 David S. Miller <davem@davemloft.net>
4773
4774 * include/math_private.h: New file.
4775
4962050e
JM
47762012-03-09 Joseph Myers <joseph@codesourcery.com>
4777
02a6f887
JM
4778 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4779 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4780 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4781 from <bits/socket_type.h>.
4782 (enum __socket_type): Don't define here.
4783 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4784 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4785 bits/socket_type.h.
4786
c6e013c1
JM
4787 [BZ #13566]
4788 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4789 checking __USE_GNU.
4790
4962050e
JM
4791 * Makerules ($(inst_includedir)/%.h): New rule.
4792 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4793 (install-others): Remove variable setting.
4794 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4795
38842f45
RH
47962012-03-08 Richard Henderson <rth@twiddle.net>
4797
67bb6da6
RH
4798 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4799 from macro to inline function; merge with the
4800 !__LIBC_INTERNAL_MATH_INLINES version.
4801 (__ieee754_sqrtf): Likewise.
4802
15194b4b
RH
4803 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4804 to inline function.
4805 (__rintf, __floor, __floorf): Likewise.
4806
64e21ede
RH
4807 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4808 macro to inline function.
4809 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4810
38842f45
RH
4811 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4812 not <math/math_private.h>.
4813
c64bf5fe
DM
48142012-03-08 David S. Miller <davem@davemloft.net>
4815
4816 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4817 copyright year.
4818 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4819
82d86f28
TS
48202012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4821
4822 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4823 normalization.
4824 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4825 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4826
aea5d727
UD
48272012-03-08 Ulrich Drepper <drepper@gmail.com>
4828
4829 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4830 be defined individually, they must be defined as a block. Define
4831 S for printing a string instead of hidint the different by using a
4832 macro for adding the 'l'.
4833 * stdio-common/tst-fphex-wide.c: Adjust.
4834
70bca0a3
MP
48352012-03-07 Marek Polacek <polacek@redhat.com>
4836
4837 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4838
65b81130
MP
48392012-03-08 Marek Polacek <polacek@redhat.com>
4840
4841 [BZ #13806]
4842 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4843 * stdio-common/tst-fphex.c: Define a few macros to make the
4844 test reusable. Use them.
4845 * stdio-common/tst-fphex-wide.c: New file.
4846
07037eeb
JM
48472012-03-08 Joseph Myers <joseph@codesourcery.com>
4848
a7a93d50
JM
4849 [BZ #6911]
4850 * manual/macros.texi (gnusystems): New macro.
4851 (nongnusystems): Likewise.
4852 (gnulinuxhurdsystems): Likewise.
4853 (gnuhurdsystems): Likewise..
4854 (gnulinuxsystems): Likewise.
4855 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4856 variants of the GNU system, not "GNU system".
4857 * manual/conf.texi: Likewise.
4858 * manual/errno.texi: Likewise. Update example of errno macro
4859 expansion.
4860 * manual/filesys.texi: Likewise.
4861 (getumask): Document as specific to GNU/Hurd.
4862 * manual/install.texi: Likewise. Reword some references to
4863 GNU/Linux.
4864 * manual/intro.texi: Likewise.
4865 * manual/io.texi: Likewise.
4866 (File Name Portability): Detail which constraints are inapplicable
4867 to all GNU systems and which are only inapplicable to GNU/Hurd.
4868 * manual/job.texi: Likewise.
4869 * manual/llio.texi: Likewise.
4870 (O_NOCTTY): Document as present on GNU/Linux.
4871 * manual/maint.texi: Likewise.
4872 * manual/memory.texi: Likewise.
4873 * manual/pattern.texi: Likewise.
4874 * manual/pipe.texi: Likewise.
4875 * manual/process.texi: Likewise.
4876 * manual/resource.texi: Likewise.
4877 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4878 child on GNU/Hurd.
4879 * manual/setjmp.texi: Likewise.
4880 * manual/signal.texi: Likewise.
4881 * manual/startup.texi: Likewise.
4882 * manual/stdio.texi: Likewise.
4883 * manual/terminal.texi: Likewise.
4884 (ONLCR): Document as POSIX.
4885 (OXTABS): Document availability on GNU/Linux as XTABS.
4886 (ONOEOT): Document availability separately from other bits.
4887 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4888 * manual/time.texi: Likewise.
4889 * manual/users.texi: Likewise.
4890 * INSTALL: Regenerated.
4891 * sysdeps/gnu/errlist.c: Regenerated.
4892
07037eeb
JM
4893 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4894 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4895 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4896 puts.
4897 * configure: Regenerated.
4898
d1d3431a
JM
48992012-03-07 Joseph Myers <joseph@codesourcery.com>
4900
af6a1e37
JM
4901 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4902 default includes instead of AC_HEADER_CHECK.
4903 * sysdeps/i386/configure: Regenerated.
4904
d1d3431a
JM
4905 [BZ #10716]
4906 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4907 * math/s_cacoshf.c (__cacoshf): Likewise.
4908 * math/s_cacoshl.c (__cacoshl): Likewise.
4909 * math/s_casinh.c (__casinh): Set signs of result from argument.
4910 * math/s_casinhf.c (__casinhf): Likewise.
4911 * math/s_casinhl.c (__casinhl): Likewise.
4912 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4913 (casinh_test): Add more tests.
4914 * sysdeps/i386/fpu/libm-test-ulps: Update.
4915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4916
482ff4da
UD
49172012-03-07 Ulrich Drepper <drepper@gmail.com>
4918
872fda05
UD
4919 * po/zh_TW.po: Update from translation team.
4920
a4300c7a
UD
4921 * login/Makefile (distribute): Remove variable.
4922 * catgets/Makefile: Likewise.
4923 * mach/Makefile: Likewise.
4924 * malloc/Makefile: Likewise.
4925 * misc/Makefile: Likewise.
4926 * iconv/Makefile: Likewise.
4927 * nscd/Makefile: Likewise.
4928 * hurd/Makefile: Likewise.
4929 * manual/Makefile: Likewise.
4930 * locale/Makefile: Likewise.
4931 * intl/Makefile: Likewise.
4932 * conform/Makefile: Likewise.
4933 * nss/Makefile: Likewise.
4934 * time/Makefile: Likewise.
4935 * soft-fp/Makefile: Likewise.
4936 * dirent/Makefile: Likewise.
4937 * gmon/Makefile: Likewise.
4938 * po/Makefile: Likewise.
4939 * rt/Makefile: Likewise.
4940 * socket/Makefile: Likewise.
4941 * math/Makefile: Likewise.
4942 * signal/Makefile: Likewise.
4943 * debug/Makefile: Likewise.
4944 * elf/Makefile: Likewise.
4945 * timezone/Makefile: Likewise.
4946 * stdlib/Makefile: Likewise.
4947 * iconvdata/Makefile: Likewise.
4948 * sunrpc/Makefile: Likewise.
4949 * io/Makefile: Likewise.
4950 * argp/Makefile: Likewise.
4951 * inet/Makefile: Likewise.
4952 * hesiod/Makefile: Likewise.
4953 * grp/Makefile: Likewise.
4954 * csu/Makefile: Likewise.
4955 * wctype/Makefile: Likewise.
4956 * crypt/Makefile: Likewise.
4957 * libio/Makefile: Likewise.
4958 * string/Makefile: Likewise.
4959 * nis/Makefile: Likewise.
4960 * resolv/Makefile: Likewise.
4961 * stdio-common/Makefile: Likewise.
4962 * wcsmbs/Makefile: Likewise.
4963 * dlfcn/Makefile: Likewise.
4964 * posix/Makefile: Likewise.
4965
3b7c4e74 4966 [BZ #6959]
482ff4da
UD
4967 * timezone/Makefile: Don't install timezone files, just the programs
4968 and scripts.
4969
f72ed77d
UD
49702012-03-06 Ulrich Drepper <drepper@gmail.com>
4971
a000466f
UD
4972 * nss/databases.def: Add missing gshadow entry.
4973
f72ed77d
UD
4974 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
4975
a53b7a4e
MP
49762012-03-06 Marek Polacek <polacek@redhat.com>
4977
4978 [BZ #13726]
4979 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
4980 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
4981 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
4982 * stdio-common/tst-long-dbl-fphex.c: New file.
4983
e9258400
DM
49842012-03-06 David S. Miller <davem@davemloft.net>
4985
4986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
4987 (set_obp_int): New function.
4988 (get_obp_int): New function.
4989 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
4990 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
4991 Avoid unused variable warnings on 'val' and use builtin_expect.
4992 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
4993 __builtin_expect.
e9258400
DM
4994 (INLINE_CLONE_SYSCALL): Likewise.
4995
3bd2c723
DM
49962012-03-05 David S. Miller <davem@davemloft.net>
4997
4998 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4999
bbb78d03
AS
50002012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5001
884c5db4
AS
5002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5003
bbb78d03
AS
5004 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5005 only for |x| >= 40.
5006 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5007
1c9f702a 50082012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5009
5010 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5011 Replace gettimeofday with __vdso_gettimeofday.
5012
7be16f82
RM
5013 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5014 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5015 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5016
5017 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5018 time with __vdso_time.
5019
ed58a00f
JM
50202012-03-05 Joseph Myers <joseph@codesourcery.com>
5021
5022 * manual/lang.texi (size_t): Note types to which size_t may be
5023 equivalent with the GNU C Library, but do not describe when
5024 differences between them are significant.
5025
30ee4ced
AJ
50262012-03-05 Andreas Jaeger <aj@suse.de>
5027
5028 * sysdeps/i386/fpu/libm-test-ulps: Update.
5029
b7cd39e8
JM
50302012-03-05 Joseph Myers <joseph@codesourcery.com>
5031
5032 [BZ #3976]
5033 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5034 (__ieee754_pow): Save and restore rounding mode and use
5035 round-to-nearest for main computations.
5036 * math/libm-test.inc (pow_test_tonearest): New function.
5037 (pow_test_towardzero): Likewise.
5038 (pow_test_downward): Likewise.
5039 (pow_test_upward): Likewise.
5040 (main): Call the new functions.
5041 * sysdeps/i386/fpu/libm-test-ulps: Update.
5042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5043
5044 [BZ #3976]
5045 * math/libm-test.inc (cosh_test_tonearest): New function.
5046 (cosh_test_towardzero): Likewise.
5047 (cosh_test_downward): Likewise.
5048 (cosh_test_upward): Likewise.
5049 (sinh_test_tonearest): Likewise.
5050 (sinh_test_towardzero): Likewise.
5051 (sinh_test_downward): Likewise.
5052 (sinh_test_upward): Likewise.
5053 (main): Call the new functions.
5054 * sysdeps/i386/fpu/libm-test-ulps: Update.
5055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5056
6c6a98c9
TV
50572012-03-05 Tom de Vries <tom@codesourcery.com>
5058
5059 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5060 default stack guard is set in last bytes.
5061 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5062
21bb2d2e 50632012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5064
21bb2d2e 5065 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5066
21bb2d2e
AJ
5067 [BZ #13656]
5068 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5069 possibly allocate from heap instead of stack.
5070 * stdio-common/bug-vfprintf-nargs.c: New file.
5071 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5072
c6922934
AS
50732012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5074
5075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5076
bc957d53
MP
50772012-03-03 Marek Polacek <polacek@redhat.com>
5078
5079 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5080 * math/math_private.h: Likewise.
5081 * stdlib/tst-strtod.c: Likewise.
5082 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5083 * sysdeps/x86_64/bits/atomic.h: Likewise.
5084
6358490d
DM
50852012-03-02 David S. Miller <davem@davemloft.net>
5086
5087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5090 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5091 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5092 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5093 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5094 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5095
01ae168d
RM
50962012-03-02 Roland McGrath <roland@hack.frob.com>
5097
d9a17c07
RM
5098 [BZ #13792]
5099 * manual/examples/README: New file, says the example source files
5100 can be used under GPL>=2.
5101 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5102 line containing just "*/".
5103 * manual/examples/add.c: Add copyright header (GPL>=2).
5104 * manual/examples/argp-ex1.c: Likewise.
5105 * manual/examples/argp-ex2.c: Likewise.
5106 * manual/examples/argp-ex3.c: Likewise.
5107 * manual/examples/argp-ex4.c: Likewise.
5108 * manual/examples/atexit.c: Likewise.
5109 * manual/examples/db.c: Likewise.
5110 * manual/examples/dir.c: Likewise.
5111 * manual/examples/dir2.c: Likewise.
5112 * manual/examples/execinfo.c: Likewise.
5113 * manual/examples/filecli.c: Likewise.
5114 * manual/examples/filesrv.c: Likewise.
5115 * manual/examples/fmtmsgexpl.c: Likewise.
5116 * manual/examples/genpass.c: Likewise.
5117 * manual/examples/inetcli.c: Likewise.
5118 * manual/examples/inetsrv.c: Likewise.
5119 * manual/examples/isockad.c: Likewise.
5120 * manual/examples/longopt.c: Likewise.
5121 * manual/examples/memopen.c: Likewise.
5122 * manual/examples/memstrm.c: Likewise.
5123 * manual/examples/mkfsock.c: Likewise.
5124 * manual/examples/mkisock.c: Likewise.
5125 * manual/examples/mygetpass.c: Likewise.
5126 * manual/examples/pipe.c: Likewise.
5127 * manual/examples/popen.c: Likewise.
5128 * manual/examples/rprintf.c: Likewise.
5129 * manual/examples/search.c: Likewise.
5130 * manual/examples/select.c: Likewise.
5131 * manual/examples/setjmp.c: Likewise.
5132 * manual/examples/sigh1.c: Likewise.
5133 * manual/examples/sigusr.c: Likewise.
5134 * manual/examples/stpcpy.c: Likewise.
5135 * manual/examples/strdupa.c: Likewise.
5136 * manual/examples/strftim.c: Likewise.
5137 * manual/examples/strncat.c: Likewise.
5138 * manual/examples/subopt.c: Likewise.
5139 * manual/examples/swapcontext.c: Likewise.
5140 * manual/examples/termios.c: Likewise.
5141 * manual/examples/testopt.c: Likewise.
5142 * manual/examples/testpass.c: Likewise.
5143 * manual/examples/timeval_subtract.c: Likewise.
5144
01ae168d
RM
5145 [BZ #13792]
5146 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5147 function to ...
5148 * manual/timeval_subtract.c.texi: ... here, new file.
5149
49efa33d
DM
51502012-03-02 David S. Miller <davem@davemloft.net>
5151
5152 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5153
28afd92d
JM
51542012-03-02 Joseph Myers <joseph@codesourcery.com>
5155
804360ed
JM
5156 [BZ #3976]
5157 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5158 (__sin): Save and restore rounding mode and use round-to-nearest
5159 for all computations.
5160 (__cos): Save and restore rounding mode and use round-to-nearest
5161 for all computations.
5162 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5163 <fenv.h>.
5164 (tan): Save and restore rounding mode and use round-to-nearest for
5165 all computations.
5166 * math/libm-test.inc (cos_test_tonearest): New function.
5167 (cos_test_towardzero): Likewise.
5168 (cos_test_downward): Likewise.
5169 (cos_test_upward): Likewise.
5170 (sin_test_tonearest): Likewise.
5171 (sin_test_towardzero): Likewise.
5172 (sin_test_downward): Likewise.
5173 (sin_test_upward): Likewise.
5174 (tan_test_tonearest): Likewise.
5175 (tan_test_towardzero): Likewise.
5176 (tan_test_downward): Likewise.
5177 (tan_test_upward): Likewise.
5178 (main): Call the new functions.
5179 * sysdeps/i386/fpu/libm-test-ulps: Update.
5180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5181
a6d06d7b
JM
5182 [BZ #10135]
5183 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5184 small n, then large n, before computing and testing k+n.
5185 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5186 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5187 Likewise.
5188 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5189 Likewise.
5190 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5191 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5192 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5193 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5194 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5195 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5196 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5197 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5198 * math/libm-test.inc (scalbn_test): Add more tests.
5199 (scalbln_test): Likewise.
5200
07e12bb3
JM
5201 * manual/filesys.texi (mode_t): Describe constraints on size and
5202 signedness, not exact equivalence to a particular type.
5203 (ino_t): Likewise.
5204 (ino64_t): Likewise.
5205 (dev_t): Likewise.
5206 (nlink_t): Likewise.
5207 (blkcnt_t): Likewise.
5208 (blkcnt64_t): Likewise.
5209 * manual/llio.texi (off_t): Likewise.
5210
28afd92d
JM
5211 [BZ #3976]
5212 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5213 (__ieee754_exp): Save and restore rounding mode and use
5214 round-to-nearest for all computations.
5215 * math/libm-test.inc (exp_test_tonearest): New function.
5216 (exp_test_towardzero): Likewise.
5217 (exp_test_downward): Likewise.
5218 (exp_test_upward): Likewise.
5219 (main): Call the new functions.
5220 * sysdeps/i386/fpu/libm-test-ulps: Update.
5221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5222
b1eeb65d
CD
52232012-03-01 Chris Demetriou <cgd@google.com>
5224
5225 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5226 have predictable order.
5227
53362a4b
DM
52282012-03-01 David S. Miller <davem@davemloft.net>
5229
3c969083
DM
5230 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5231
759707de
DM
5232 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5233 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5234 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5235 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5236
dfdb8ff2
DM
5237 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5238 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5239 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5241 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5242 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5243 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5244 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5245 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5246
ead89f96
DM
5247 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5248
7f66bd07
DM
5249 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5250 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5251 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5252
53362a4b
DM
5253 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5254 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5255 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5256 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5257 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5258 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5259 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5260 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5261 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5262 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5263 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5264 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5266 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5267 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5268 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5269 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5270 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5271 * sysdeps/sparc/elf/configure: Regenerated.
5272
7b1902cb
JM
52732012-03-01 Joseph Myers <joseph@codesourcery.com>
5274
bec039bc
JM
5275 * configure.in (AS, LD): Require binutils 2.20 or later.
5276 * configure: Regenerated.
5277 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5278 as required minimum version.
5279 * INSTALL: Regenerated.
5280
7b1902cb
JM
5281 [BZ #2541]
5282 [BZ #4108]
5283 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5284 before squaring exponent.
5285 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5286 bottom long double and 27 bits of top long double before squaring
5287 exponent.
5288 * math/libm-test.inc (erfc_test): Add more tests.
5289 * sysdeps/i386/fpu/libm-test-ulps: Update.
5290 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292
f775c276
KT
52932012-03-01 Kai Tietz <ktietz@redhat.com>
5294
5295 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5296 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5297 containing bit-fields.
5298 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5299 * soft-fp/single.h (_FP_UNION_S): Likewise.
5300 * soft-fp/double.h (_FP_UNION_D): Likewise.
5301
5b8a4d4a
JM
53022012-02-29 Joseph Myers <joseph@codesourcery.com>
5303
0bab47b6
JM
5304 [BZ #13786]
5305 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5306 not include ../strcmp.S.
5307 [USE_AS_STRNCASECMP_L]: Likewise.
5308 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5309 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5310 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5311 (__strncasecmp_l_ia32): Define as alias to
5312 __strncasecmp_l_nonascii.
5313
0fcad3e2
JM
5314 [BZ #5794]
5315 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5316 * sysdeps/i386/fpu/libm-test-ulps: Update.
5317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5318
5b8a4d4a
JM
5319 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5321
8fdceb2e
JL
53222012-02-29 Jeff Law <law@redhat.com>
5323
5324 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5325 out of bounds read.
5326
1f393a11
MP
53272012-02-29 Marek Polacek <polacek@redhat.com>
5328
5329 [BZ #13706]
5330 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5331 * elf/Makefile: Add rules to run tst-unused-dep.out.
5332
8847f037
DM
53332012-02-28 David S. Miller <davem@davemloft.net>
5334
5335 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5336 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5337 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5338 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5339 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5340 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5341
169d7f11
JM
53422012-02-29 Joseph Myers <joseph@codesourcery.com>
5343
5344 * math/libm-test.inc (llround_test): Move one test from
5345 lround_test. Use TEST_f_L in moved test.
5346 (lround_test): Move misplaced test to llround_test. Add testcase
5347 from bug 2561.
5348
39adf059
UD
53492012-02-28 Ulrich Drepper <drepper@gmail.com>
5350
5351 * sysdeps/x86_64/fpu/e_expf.S: New file.
5352 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5353
71b5d1c5
SB
53542012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5355
5356 [BZ #13637]
5357 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5358 of remain_len that may cause incomplete multi-byte character and
5359 false match.
5360 * posix/bug-regex33.c: New file.
5361 * posix/Makefile (tests): Add bug-regex33.
5362
1f77f049
JM
53632012-02-28 Joseph Myers <joseph@codesourcery.com>
5364
5365 * manual/macros.texi: New file.
5366 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5367 * manual/libc.texinfo: Include macros.texi.
5368 * manual/creatute.texi: Likewise.
5369 * manual/install.texi: Likewise.
5370 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5371 @glibcadj{} in references to the GNU C Library.
5372 * manual/charset.texi: Likewise.
5373 * manual/conf.texi: Likewise.
5374 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5375 when not using those macros.
5376 * manual/creature.texi: Likewise.
5377 * manual/crypt.texi: Likewise.
5378 * manual/errno.texi: Likewise.
5379 * manual/filesys.texi: Likewise.
5380 * manual/header.texi: Likewise.
5381 * manual/install.texi: Likewise.
5382 * manual/intro.texi: Likewise.
5383 * manual/io.texi: Likewise.
5384 * manual/job.texi: Likewise.
5385 * manual/lang.texi: Likewise.
5386 * manual/libc.texiinfo: Likewise.
5387 * manual/llio.texi: Likewise.
5388 * manual/locale.texi: Likewise.
5389 * manual/maint.texi: Likewise.
5390 * manual/math.texi: Likewise.
5391 * manual/memory.texi: Likewise.
5392 * manual/message.texi: Likewise.
5393 * manual/nss.texi: Likewise.
5394 * manual/pattern.texi: Likewise.
5395 * manual/process.texi: Likewise.
5396 * manual/resource.texi: Likewise.
5397 * manual/search.texi: Likewise.
5398 * manual/setjmp.texi: Likewise.
5399 * manual/signal.texi: Likewise.
5400 * manual/socket.texi: Likewise.
5401 * manual/startup.texi: Likewise.
5402 * manual/stdio.texi: Likewise.
5403 * manual/string.texi: Likewise.
5404 * manual/sysinfo.texi: Likewise.
5405 * manual/syslog.texi: Likewise.
5406 * manual/terminal.texi: Likewise.
5407 * manual/time.texi: Likewise.
5408 * manual/users.texi: Likewise.
5409 * INSTALL: Regenerated.
5410 * NOTES: Regenerated.
d40c5d54 5411 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5412
450bf206
AS
54132012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5414
5415 * include/dirent.h: Include <dirstream.h> before
5416 <dirent/dirent.h>.
5417
741a235b
DM
54182012-02-28 David S. Miller <davem@davemloft.net>
5419
5420 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5421 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5422 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5423 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5424
d6b5aa58
DM
54252012-02-27 David S. Miller <davem@davemloft.net>
5426
1aff59a3
DM
5427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5428 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5429 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5430 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5431
d6b5aa58
DM
5432 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5433 frame pointer instead of stack pointer relative arg slot.
5434 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5435 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5436 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5437
433f48bf
CD
54382012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5439
5440 [BZ #3992]
5441 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5442
d674b76d
DM
54432012-02-27 David S. Miller <davem@davemloft.net>
5444
5445 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5448 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5449 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5450 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5451 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5452 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5453
0e7727f7
JM
54542012-02-27 Joseph Myers <joseph@codesourcery.com>
5455
5456 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5457 later. Allow versions 5-9.
43be4ca2 5458 * configure: Regenerated.
0e7727f7
JM
5459 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5460 required minimum version and 4.6 as recommended version. Do not
5461 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5462 * INSTALL: Regenerated.
0e7727f7 5463
a78bc654
DM
54642012-02-27 David S. Miller <davem@davemloft.net>
5465
428d5830
DM
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5468 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5470 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5471 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5472 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5473 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5474
a78bc654
DM
5475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5476 manipulate bits before adding and subtracting TWO112[sx].
5477 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5478
4579f81c
RM
54792012-02-27 Roland McGrath <roland@hack.frob.com>
5480
36c8acb4
RM
5481 [BZ #13775]
5482 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5483 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5484 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5485 being in POSIX, because they are in 1003.1-2008.
5486
84ad622b
RM
5487 * rt/tst-aio.c: Include <fcntl.h>.
5488 * rt/tst-aio7.c: Likewise.
5489 * rt/tst-aio64.c: Likewise.
5490
4579f81c
RM
5491 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5492
abd923db
JM
54932012-02-27 Joseph Myers <joseph@codesourcery.com>
5494
5495 * manual/install.texi (--with-headers): Describe headers as
5496 interface headers, not private headers.
5497 (Specific advice for GNU/Linux systems): Describe use of headers
5498 from "make headers_install", not private headers from older
5499 kernels.
43be4ca2 5500 * INSTALL: Regenerated.
abd923db
JM
5501 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5502 Change to 2.6.19.
5503 * sysdeps/unix/sysv/linux/configure: Regenerated.
5504
6664049b
JM
5505 * manual/llio.texi (fclean): Remove documentation.
5506
bb8b6697
JM
5507 * manual/Makefile (libc-texi-generated): New variable. Include
5508 version.texi.
5509 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5510 $(libc-texi-generated), not duplicated list of files.
5511 (version.texi, stamp-version): New rules.
5512 (realclean): Remove $(libc-texi-generated), not individual files
5513 from that list. Do not remove dir-add.texinfo.
5514 * manual/libc.texinfo: Comment out uses of edition numbers and
5515 references to printed manual. Remove last-updated dates.
5516 (EDITION): Comment out.
5517 (ISBN): Likewise.
5518 (VERSION, UPDATED): Remove.
5519 (version.texi): Include.
5520
12e5c3b9
AS
55212012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5522
5523 * sysdeps/posix/spawni.c: Include <signal.h>.
5524 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5525 * sysdeps/pthread/aio_fsync.c: Likewise.
5526
4efeffc1 55272012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5528
ba63ba08
UD
5529 * conform/Makefile (tests): Run only when not cross-compiling and
5530 when fast-check is not defined.
5531
d94a4670
UD
5532 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5533 * conform/data/limits.h-data: Fixes for POSIX2008.
5534 * conform/run-conformtest.sh: Run all tests.
5535 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5536 headers.
5537 * include/bits/dlfcn.h: Likewise.
5538 * include/langinfo.h: Likewise.
5539 * include/monetary.h: Likewise.
5540 * include/sys/poll.h: Likewise.
5541
5542 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5543 for __USE_GNU.
5544 * posix/spawn.h: Define __need_sigset_t.
5545 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5546 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5547 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5548 to get sigevent_t only.
5549 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5550 only for __USE_GNU.
5551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5552 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5553 process_vm_writev only for __USE_GNU.
5554 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5555
5556 * conform/Makefile: For now ignore errors from run-conformtest.
5557 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5558 POSIX to avoid namespace pollution. Don't prepend headers.
5559 * conform/data/aio.h-data: Fixes for POSIX testing.
5560 * conform/data/fcntl.h-data: Likewise.
5561 * conform/data/glob.h-data: Likewise.
5562 * conform/data/grp.h-data: Likewise.
5563 * conform/data/pthread.h-data: Likewise.
5564 * conform/data/pwd.h-data: Likewise.
5565 * conform/data/signal.h-data: Likewise.
5566 * conform/data/spawn.h-data: Likewise.
5567 * conform/data/stdio.h-data: Likewise.
5568 * conform/data/stdlib.h-data: Likewise.
5569 * conform/data/stropts.h-data: Likewise.
5570 * conform/data/sys/mman.h-data: Likewise.
5571 * conform/data/sys/stat.h-data: Likewise.
5572 * conform/data/sys/types.h-data: Likewise.
5573 * conform/data/sys/wait.h-data: Likewise.
5574 * conform/data/time.h-data: Likewise.
5575 * conform/data/unistd.h-data: Likewise.
5576 * conform/data/utime.h-data: Likewise.
5577
5578 * io/sys/stat.h: fchmod was always in POSIX.
5579 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5580 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5581 * rt/aio.h: Define __need_timespec before including <time.h>.
5582 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5583 struct. Add forward declaration of pthread_attr_t and use it in
5584 sigevent.
5585 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5586 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5587 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5588 always remove CLK_TCK definition.
5589
c20105c3
AS
55902012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5591
5592 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5593
7a270350
UD
55942012-02-25 Ulrich Drepper <drepper@gmail.com>
5595
31341567
UD
5596 * conform/run-conformtest.sh: New file.
5597 * conform/Makefile: Run run-conformtest for tests.
5598 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5599 support.
5600
5601 * conform/data/uchar.h-data: New file.
5602 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5603 * conform/data/arpa/inet.h-data: Likewise.
5604 * conform/data/assert.h-data: Likewise.
5605 * conform/data/complex.h-data: Likewise.
5606 * conform/data/cpio.h-data: Likewise.
5607 * conform/data/ctype.h-data: Likewise.
5608 * conform/data/dirent.h-data: Likewise.
5609 * conform/data/dlfcn.h-data: Likewise.
5610 * conform/data/errno.h-data: Likewise.
5611 * conform/data/fcntl.h-data: Likewise.
5612 * conform/data/float.h-data: Likewise.
5613 * conform/data/fmtmsg.h-data: Likewise.
5614 * conform/data/fnmatch.h-data: Likewise.
5615 * conform/data/ftw.h-data: Likewise.
5616 * conform/data/glob.h-data: Likewise.
5617 * conform/data/grp.h-data: Likewise.
5618 * conform/data/iconv.h-data: Likewise.
5619 * conform/data/inttypes.h-data: Likewise.
5620 * conform/data/langinfo.h-data: Likewise.
5621 * conform/data/libgen.h-data: Likewise.
5622 * conform/data/limits.h-data: Likewise.
5623 * conform/data/locale.h-data: Likewise.
5624 * conform/data/math.h-data: Likewise.
5625 * conform/data/monetary.h-data: Likewise.
5626 * conform/data/mqueue.h-data: Likewise.
5627 * conform/data/ndbm.h-data: Likewise.
5628 * conform/data/net/if.h-data: Likewise.
5629 * conform/data/netdb.h-data: Likewise.
5630 * conform/data/netinet/in.h-data: Likewise.
5631 * conform/data/nl_types.h-data: Likewise.
5632 * conform/data/poll.h-data: Likewise.
5633 * conform/data/pthread.h-data: Likewise.
5634 * conform/data/pwd.h-data: Likewise.
5635 * conform/data/regex.h-data: Likewise.
5636 * conform/data/sched.h-data: Likewise.
5637 * conform/data/search.h-data: Likewise.
5638 * conform/data/semaphore.h-data: Likewise.
5639 * conform/data/setjmp.h-data: Likewise.
5640 * conform/data/signal.h-data: Likewise.
5641 * conform/data/spawn.h-data: Likewise.
5642 * conform/data/stdarg.h-data: Likewise.
5643 * conform/data/stdio.h-data: Likewise.
5644 * conform/data/stdlib.h-data: Likewise.
5645 * conform/data/string.h-data: Likewise.
5646 * conform/data/strings.h-data: Likewise.
5647 * conform/data/stropts.h-data: Likewise.
5648 * conform/data/sys/ipc.h-data: Likewise.
5649 * conform/data/sys/mman.h-data: Likewise.
5650 * conform/data/sys/msg.h-data: Likewise.
5651 * conform/data/sys/resource.h-data: Likewise.
5652 * conform/data/sys/select.h-data: Likewise.
5653 * conform/data/sys/sem.h-data: Likewise.
5654 * conform/data/sys/shm.h-data: Likewise.
5655 * conform/data/sys/socket.h-data: Likewise.
5656 * conform/data/sys/stat.h-data: Likewise.
5657 * conform/data/sys/statvfs.h-data: Likewise.
5658 * conform/data/sys/time.h-data: Likewise.
5659 * conform/data/sys/timeb.h-data: Likewise.
5660 * conform/data/sys/times.h-data: Likewise.
5661 * conform/data/sys/types.h-data: Likewise.
5662 * conform/data/sys/uio.h-data: Likewise.
5663 * conform/data/sys/un.h-data: Likewise.
5664 * conform/data/sys/utsname.h-data: Likewise.
5665 * conform/data/sys/wait.h-data: Likewise.
5666 * conform/data/syslog.h-data: Likewise.
5667 * conform/data/tar.h-data: Likewise.
5668 * conform/data/termios.h-data: Likewise.
5669 * conform/data/utime.h-data: Likewise.
5670 * conform/data/utmpx.h-data: Likewise.
5671 * conform/data/varargs.h-data: Likewise.
5672 * conform/data/wchar.h-data: Likewise.
5673 * conform/data/wctype.h-data: Likewise.
5674 * conform/data/wordexp.h-data: Likewise.
5675
5676 * include/stropts.h: New file.
5677 * include/uchar.h: New file.
5678 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5679 * include/assert.h: Likewise.
5680 * include/ctype.h: Likewise.
5681 * include/dirent.h: Likewise.
5682 * include/dlfcn.h: Likewise.
5683 * include/fcntl.h: Likewise.
5684 * include/fnmatch.h: Likewise.
5685 * include/glob.h: Likewise.
5686 * include/grp.h: Likewise.
5687 * include/libio.h: Likewise.
5688 * include/locale.h: Likewise.
5689 * include/math.h: Likewise.
5690 * include/net/if.h: Likewise.
5691 * include/netdb.h: Likewise.
5692 * include/netinet/in.h: Likewise.
5693 * include/pthread.h: Likewise.
5694 * include/pwd.h: Likewise.
5695 * include/regex.h: Likewise.
5696 * include/sched.h: Likewise.
5697 * include/search.h: Likewise.
5698 * include/setjmp.h: Likewise.
5699 * include/signal.h: Likewise.
5700 * include/stdio.h: Likewise.
5701 * include/stdlib.h: Likewise.
5702 * include/string.h: Likewise.
5703 * include/sys/cdefs.h: Likewise.
5704 * include/sys/mman.h: Likewise.
5705 * include/sys/msg.h: Likewise.
5706 * include/sys/resource.h: Likewise.
5707 * include/sys/select.h: Likewise.
5708 * include/sys/socket.h: Likewise.
5709 * include/sys/stat.h: Likewise.
5710 * include/sys/statvfs.h: Likewise.
5711 * include/sys/time.h: Likewise.
5712 * include/sys/times.h: Likewise.
5713 * include/sys/uio.h: Likewise.
5714 * include/sys/utsname.h: Likewise.
5715 * include/sys/wait.h: Likewise.
5716 * include/termios.h: Likewise.
5717 * include/time.h: Likewise.
5718 * include/ulimit.h: Likewise.
5719 * include/unistd.h: Likewise.
5720 * include/utime.h: Likewise.
5721 * include/wchar.h: Likewise.
5722 * include/wctype.h: Likewise.
5723 * include/wordexp.h: Likewise.
5724
5725 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5726
7a270350
UD
5727 * time/time.h: TIME_UTC must be a macro.
5728 Make timespec_get available for ISO C11 only as well.
5729
7724defc
UD
57302012-02-24 Ulrich Drepper <drepper@gmail.com>
5731
5732 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5733 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5734
6b1d1d46
JM
57352012-02-24 Joseph Myers <joseph@codesourcery.com>
5736
5737 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5738
0f8bbd69
JM
57392012-02-24 Joseph Myers <joseph@codesourcery.com>
5740
5741 * manual/texinfo.tex: Update to version 2012-01-19.16.
5742
66ab80bc
JM
57432012-02-24 Joseph Myers <joseph@codesourcery.com>
5744
5745 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5746
74981cc5
RM
57472012-02-24 Roland McGrath <roland@hack.frob.com>
5748
ee968201
RM
5749 [BZ #13738]
5750 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5751 * manual/fdl-1.3.texi: New file.
5752 * manual/fdl-1.1.texi: File removed.
5753
74981cc5
RM
5754 [BZ #13738]
5755 * manual/libc.texinfo (FDL_VERSION): New @set.
5756 Use it for mention of FDL in cover text.
5757 (Documentation License): Use it in @include file name.
5758
7bb764bc
JM
57592012-02-22 Joseph Myers <joseph@codesourcery.com>
5760 Roland McGrath <roland@hack.frob.com>
5761
5762 [BZ #5461]
5763 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5764 not LONG_LONG_MAX and LONG_LONG_MIN.
5765 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5766 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5767 name.
5768 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5769
6cbeae47
JM
57702012-02-22 Joseph Myers <joseph@codesourcery.com>
5771
5772 [BZ #2547]
5773 [BZ #11365]
5774 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5775 manipulate bits before adding and subtracting TWO23[sx].
5776 * math/libm-test.inc (nearbyint_test): Add more tests.
5777
fe45ce09
JM
57782012-02-22 Joseph Myers <joseph@codesourcery.com>
5779
5780 [BZ #2548]
5781 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5782 bits before adding and subtracting TWO23[sx].
5783 * math/libm-test.inc (rint_test): Add more tests.
5784 (rint_test_tonearest): Likewise.
5785 (rint_test_towardzero): Likewise.
5786 (rint_test_downward): Likewise.
5787 (rint_test_upward: Likewise.
5788
ff3b3d82
JM
57892012-02-22 Joseph Myers <joseph@codesourcery.com>
5790
5791 [BZ #10110]
5792 * include/stdc-predef.h: New file. Extracted from features.h.
5793 * include/features.h: Include stdc-predef.h.
5794 * Makefile (headers): Add stdc-predef.h.
5795 * CONFORMANCE (Compiler limitations): Update.
5796
ef0aab35
JM
57972012-02-22 Joseph Myers <joseph@codesourcery.com>
5798
5799 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5800
58639409
DM
58012012-02-21 David S. Miller <davem@davemloft.net>
5802
5803 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5804 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5805
c0e70b25
DM
58062012-02-20 David S. Miller <davem@davemloft.net>
5807
5808 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5809 using a normal save/restore sequence, rather than allocating a
5810 dummy stack frame just to store a frame pointer and restore.
5811 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5812
fb06851d
JM
58132012-02-21 Joseph Myers <joseph@codesourcery.com>
5814
5815 * manual/install.texi: Fix stray word in line-wrapped comment.
5816
7a8b71c3
DM
58172012-02-20 David S. Miller <davem@davemloft.net>
5818
d510c123
DM
5819 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5820 both binutils and gcc support GOTDATA.
5821
0722d7c2
DM
5822 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5823 "rd %pc" in the PIC register setup sequences.
5824
3d2b3019
DM
5825 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5826 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5827 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5828 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5829 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5830 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5831 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5833 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5834 (SYSCALL_ERROR_HANDLER): Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5836 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5837 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5838 (SYSCALL_ERROR_HANDLER): Likewise.
5839
c80098a9
DM
5840 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5841 (HAVE_GCC_GOTDATA): New.
5842 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5843 relocation support in both binutils and gcc.
5844 * sysdeps/sparc/elf/configure: Regenerate.
5845
3a2545a0
DM
5846 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5847 * sysdeps/sparc/sparc32/elf/configure: Delete.
5848 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5849 * sysdeps/sparc/sparc64/elf/configure: Delete.
5850 * sysdeps/sparc/elf/configure.in: New file.
5851 * sysdeps/sparc/elf/configure: Generate.
5852
7a8b71c3
DM
5853 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5854 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5855 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5856 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5857 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5858
f1e86fca
JM
58592012-02-21 Joseph Myers <joseph@codesourcery.com>
5860
5861 * manual/install.texi: Do not mention specific glibc version
5862 numbers.
5863 * manual/libc.texinfo (VERSION, UPDATED): Update.
5864 (@copying): Use @copyright{} and range of years.
5865
0e7dfaef
JM
58662012-02-21 Joseph Myers <joseph@codesourcery.com>
5867
5868 [BZ #13695]
5869 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5870 [crti.S not in sysdirs] (generated): Do not append.
5871 [crti.S not in sysdirs] (omit-deps): Likewise.
5872 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5873 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5874 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5875 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5876 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5877 Likewise.
5878 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5879 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5880 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5881 * csu/defs.awk: Remove file.
5882 * sysdeps/generic/initfini.c: Likewise.
5883 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5884 variable.
5885 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5886 Likewise.
5887
599af3ca
JM
58882012-02-20 Joseph Myers <joseph@codesourcery.com>
5889
5890 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5891 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5892 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5894 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5895 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5896 <bits/epoll.h>.
5897 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5898 (__EPOLL_PACKED): Define to empty if not defined by
5899 <bits/epoll.h>.
5900 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5901 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5902 bits/epoll.h.
5903
0e499750
JM
59042012-02-20 Joseph Myers <joseph@codesourcery.com>
5905
5906 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5907 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5908 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5909 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5910 <bits/timerfd.h>.
5911 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5912 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5913 bits/timerfd.h.
5914
5ad91f6e
JM
59152012-02-20 Joseph Myers <joseph@codesourcery.com>
5916
5917 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5918 in C locale.
5919 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5920 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5921 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5923
06b99b02
AJ
59242012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5925
5926 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5928
7638c0fd
AS
59292012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5930
5931 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5932 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5933 defined.
5934 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5935 Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5937 entry for 2.16.
5938
92221550
AJ
59392012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5940
5941 * math/w_acos.c: Use non-signaling floating-point comparisons.
5942 * math/w_acosf.c: Likewise.
5943 * math/w_acosh.c: Likewise.
5944 * math/w_acoshf.c: Likewise.
5945 * math/w_acoshl.c: Likewise.
5946 * math/w_acosl.c: Likewise.
5947 * math/w_asin.c: Likewise.
5948 * math/w_asinf.c: Likewise.
5949 * math/w_asinl.c: Likewise.
5950 * math/w_atanh.c: Likewise.
5951 * math/w_atanhf.c: Likewise.
5952 * math/w_atanhl.c: Likewise.
5953 * math/w_exp2.c: Likewise.
5954 * math/w_exp2f.c: Likewise.
5955 * math/w_exp2l.c: Likewise.
5956 * math/w_j0.c: Likewise.
5957 * math/w_j0f.c: Likewise.
5958 * math/w_j0l.c: Likewise.
5959 * math/w_j1.c: Likewise.
5960 * math/w_j1f.c: Likewise.
5961 * math/w_j1l.c: Likewise.
5962 * math/w_jn.c: Likewise.
5963 * math/w_jnf.c: Likewise.
5964 * math/w_log.c: Likewise.
5965 * math/w_log10.c: Likewise.
5966 * math/w_log10f.c: Likewise.
5967 * math/w_log10l.c: Likewise.
5968 * math/w_log2.c: Likewise.
5969 * math/w_log2f.c: Likewise.
5970 * math/w_log2l.c: Likewise.
5971 * math/w_logf.c: Likewise.
5972 * math/w_logl.c: Likewise.
5973 * math/w_sqrt.c: Likewise.
5974 * math/w_sqrtf.c: Likewise.
5975 * math/w_sqrtl.c: Likewise.
5976 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
5977 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
5978 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
5979 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
5980 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
5981
ebaf36eb
JM
59822012-02-19 Joseph Myers <joseph@codesourcery.com>
5983
5984 [BZ #9739]
5985 * manual/string.texi (strnlen): Use correct parameter name in
5986 equivalent expression.
5987
71c254a6
JM
59882012-02-19 Joseph Myers <joseph@codesourcery.com>
5989
5990 [BZ #11174]
5991 * manual/users.texi (seteuid): Consistently use neweuid for
5992 argument name.
5993
16d2c631
JM
59942012-02-19 Joseph Myers <joseph@codesourcery.com>
5995
5996 [BZ #13704]
5997 * manual/nss.texi (Services in the NSS configuration): Correct
5998 list of services in example configuration file.
5999
cd837b09
NB
60002012-02-19 Nick Bowler <nbowler@draconx.ca>
6001
6002 [BZ #11322]
6003 * manual/arith.texi: Remove statements about negative zero
6004 behaving identically to zero.
6005
02c4bbad
JM
60062012-02-18 Joseph Myers <joseph@codesourcery.com>
6007
6008 [BZ #5993]
6009 * manual/install.texi: Do not document upgrading from libc5.
6010
366842e7
JM
60112012-02-18 Joseph Myers <joseph@codesourcery.com>
6012
6013 [BZ #4596]
6014 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6015
dd54084d
DM
60162012-02-18 David S. Miller <davem@davemloft.net>
6017
6018 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6019 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6020 %o7 across the call.
6021 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6022 instead.
6023 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6024 SETUP_PIC_REG_LEAF.
6025 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6026 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6027 * sysdeps/sparc/crtn.S: Likewise.
6028
2bcc53a3
UD
60292012-02-17 Ulrich Drepper <drepper@gmail.com>
6030
6031 * aout/Makefile: Remove.
6032
09c093b5
RK
60332012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6034
6035 [BZ #13058]
6036 * manual/examples/argp-ex1.c (main): Format definition in GNU
6037 style.
6038 * manual/examples/argp-ex2.c (main): Likewise.
6039 * manual/examples/argp-ex3.c (main): Likewise.
6040 * manual/examples/argp-ex4.c (main): Likewise.
6041 * manual/examples/longopt.c (main): Use new-style prototype
6042 definition.
6043 * manual/examples/strncat.c (main): Specify return type and use
6044 (void) for arguments.
6045 * manual/examples/subopt.c (main): Use char **argv argument.
6046
2ee633a2
JM
60472012-02-17 Joseph Myers <joseph@codesourcery.com>
6048
6049 [BZ #5077]
6050 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6051 rounding modes.
6052
0520adde
FB
60532012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6054
6055 [BZ #6907]
6056 * manual/string.texi (strchr): Change when strchrnul is
6057 recommended.
6058
3f4081cd
DGM
60592012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6060
6061 [BZ #174]
6062 * manual/locale.texi (setlocale): Document LOCPATH.
6063
d1b10e78
JM
60642012-02-17 Joseph Myers <joseph@codesourcery.com>
6065
6066 [BZ #10210]
6067 * manual/process.texi (execle): Move @dots{} before last argument.
6068
79c6869c
PB
60692012-02-17 Paul Bolle <pebolle@tiscali.nl>
6070
6071 [BZ #12047]
6072 * manual/charset.texi (Generic Charset Conversion): Fix typo
6073 (LC_TYPE -> LC_CTYPE).
6074
cc6e48bc
NB
60752012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6076
6077 [BZ #5805]
6078 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6079 (scalbnf): Likewise.
6080 (scalbnl): Likewise.
6081 (scalbln): Likewise.
6082 (scalblnf): Likewise.
6083 (scalblnl): Likewise.
6084 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6085 (vwarnx): Likewise.
6086 (verr): Likewise.
6087 (verrx): Likewise.
6088 * manual/filesys.texi (telldir): Use braces around return type.
6089 * manual/llio.texi (mmap): Add space after comma.
6090 (mmap64): Likewise.
6091 * manual/math.texi (jn): Use @var{} on parameter names.
6092 (jnf): Likewise.
6093 (jnl): Likewise.
6094 (yn): Likewise.
6095 (ynf): Likewise.
6096 (ynl): Likewise.
6097 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6098 line.
6099 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6100 "...".
6101 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6102 (sched_get_priority_max): Likewise.
6103 * manual/signal.texi (sigvec): Add space after comma.
6104 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6105 names.
6106 (if_indextoname): Likewise.
6107 (if_freenameindex): Likewise.
6108 (sendto): Use ',' instead of '.' in prototype.
6109 * manual/startup.texi (syscall): Use @dots{} instead of literal
6110 "...".
6111 * manual/stdio.texi (__fpending): Separate initial words of
6112 paragraph from @deftypefun line.
6113 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6114 "...".
6115 (vsyslog): Use @var{} on parameter names.
6116 * manual/terminal.texi (stty): Use @var{} on parameter names.
6117 * manual/users.texi (getutmp): Use @var{} on parameter names.
6118 (getutmpx): Likewise.
6119
5b23062f
JM
61202012-02-17 Joseph Myers <joseph@codesourcery.com>
6121
6122 [BZ #6884]
6123 * manual/stdio.texi (fopen): Fix typos in description of
6124 ",ccs=STRING".
6125
8dee4833
AJ
61262012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6127
6128 [BZ #4026]
6129 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6130 get clock_id definition.
6131
9078ce93
TS
61322012-02-17 Thomas Schwinge <thomas@schwinge.name>
6133
6134 [BZ #4822]
6135 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6136 (madvise): Cast every argument to void on its own.
6137
3835c55f
JM
61382012-02-17 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #9902]
6141 * manual/startup.texi (Exit Status): Fix typo.
6142
35c47e37
JM
61432012-02-17 Joseph Myers <joseph@codesourcery.com>
6144
6145 [BZ #10140]
6146 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6147 * manual/examples/argp-ex2.c: Likewise.
6148 * manual/examples/argp-ex3.c: Likewise.
6149
e3b69ca7
RH
61502012-02-16 Richard Henderson <rth@redhat.com>
6151
6152 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6153 * sysdeps/s390/s390-32/initfini.c: Remove.
6154 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6155 * sysdeps/s390/s390-64/initfini.c: Remove.
6156
df83af67
KK
61572012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6158
6159 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6160 compiler output for sysdeps/generic/initfini.c.
6161 * sysdeps/sh/elf/initfini.c: Remove file.
6162
f63f3380
DM
61632012-02-16 David S. Miller <davem@davemloft.net>
6164
fb59b3a4
DM
6165 [BZ #11494]
6166 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6167
f63f3380
DM
6168 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6169 * sysdeps/sparc/crti.S: New file.
6170 * sysdeps/sparc/crtn.S: New file.
6171 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6172 * sysdeps/sparc/sparc64/Makefile: Likewise.
6173
df6a4a4a
MF
61742012-02-15 Mike Frysinger <vapier@gentoo.org>
6175
6dd8f3dc 6176 [BZ #3335]
df6a4a4a
MF
6177 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6178
1cac7236
RM
61792012-02-15 Roland McGrath <roland@hack.frob.com>
6180
d2c736f8
RM
6181 [BZ #4822]
6182 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6183
1cac7236
RM
6184 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6185 (write, read, close): Likewise.
6186 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6187
8e475601
JM
61882012-02-15 Joseph Myers <joseph@codesourcery.com>
6189
6190 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6191 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6192 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6193 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6194 <bits/signalfd.h>.
6195 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6196 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6197 bits/signalfd.h.
6198
ed656b40
MP
61992012-02-14 Marek Polacek <polacek@redhat.com>
6200
6201 * sysdeps/x86_64/crti.S: New file.
6202 * sysdeps/x86_64/crtn.S: New file.
6203 * sysdeps/x86_64/elf/initfini.c: Remove file.
6204
2a979d3a
JM
62052012-02-13 Joseph Myers <joseph@codesourcery.com>
6206
6207 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6208 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6209 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6210 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6211 <bits/inotify.h>.
6212 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6213 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6214 bits/inotify.h.
6215
2a418ac3
JM
62162012-02-13 Joseph Myers <joseph@codesourcery.com>
6217
6218 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6219 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6220 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6221 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6222 <bits/eventfd.h>.
6223 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6224 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6225 bits/eventfd.h.
6226
fb779be7
TS
62272012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6228
e19e83c5
RM
6229 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6230 __feraiseexcept instead of feraiseexcept.
7c35ffed 6231
fb779be7
TS
6232 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6233 nanosleep invocations.
6234 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6235 strings, and add error checking for a nanosleep invocations.
6236
59ba27a6
PE
62372012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6238
6239 Replace FSF snail mail address with URLs, as per GNU coding standards.
6240 Most of the snail mail addresses were wrong anyway, and omitting
6241 them makes the source code easier to maintain. Almost all of the
6242 changes are to license notices and to locale LC_IDENTIFICATION
6243 addresses, except for this one:
6244 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6245 not its snail mail address.
6246
57b957eb
RH
62472012-02-09 Richard Henderson <rth@twiddle.net>
6248
af850b1c
RH
6249 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6250 of kernel-features.h.
6251
57b957eb
RH
6252 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6253
6b73181a
MP
62542012-02-08 Marek Polacek <polacek@redhat.com>
6255
6256 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6257 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6258 * sysdeps/gnu/_G_config.h: Likewise.
6259 * sysdeps/generic/_G_config.h: Likewise.
6260
26ecc33a
AS
62612012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6262
6c6dbc63
AS
6263 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6264 tests.
6265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6266
e216c012
AS
6267 * sysdeps/powerpc/powerpc32/crti.S: New file.
6268 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6269 * sysdeps/powerpc/powerpc64/crti.S: New file.
6270 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6271
26ecc33a
AS
6272 * Makeconfig (have-initfini): Don't set.
6273 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6274 * configure.in (nopic_initfini): Don't substitute.
6275 * config.h.in (HAVE_INITFINI): Don't #undef.
6276 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6277 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6278
3add8e13
JM
62792012-02-08 Joseph Myers <joseph@codesourcery.com>
6280
6281 Support crti.S and crtn.S provided directly by architectures.
6282 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6283 [crti.S in sysdirs] (omit-deps): Likewise.
6284 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6285 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6286 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6287 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6288 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6289 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6290 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6291 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6292 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6293 compiler output for sysdeps/generic/initfini.c.
6294 * sysdeps/i386/elf/Makefile: Remove file.
6295 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6296
a22f12b4
MP
62972012-02-07 Marek Polacek <polacek@redhat.com>
6298
6299 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6300 * sysdeps/gnu/_G_config.h: Likewise.
6301 * sysdeps/mach/hurd/_G_config.h: Likewise.
6302
148cf100
MP
63032012-02-07 Marek Polacek <polacek@redhat.com>
6304
6305 * math/Makefile (tests): Add tst-CMPLX2.
6306 * math/tst-CMPLX2.c: New file.
6307
cfdc0dd7
AS
63082012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6309
84ba42c4
AS
6310 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6311
cfdc0dd7
AS
6312 * math/libm-test.inc (jn_test): Add missing L suffix.
6313
622c86f4
MP
63142012-02-06 Marek Polacek <polacek@redhat.com>
6315
6316 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6317 * sysdeps/i386/fpu/e_powf.S: Likewise.
6318 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6319 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6320 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6321 * sysdeps/i386/fpu/e_pow.S: Likewise.
6322 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6323 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6324 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6325 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6326 * sysdeps/i386/fpu/e_log2.S: Likewise.
6327 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6328 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6329 * sysdeps/i386/fpu/e_powl.S: Likewise.
6330 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6331 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6332 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6333 * sysdeps/i386/fpu/e_logl.S: Likewise.
6334 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6335 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6336 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6337 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6338 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6339 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6340 * sysdeps/i386/fpu/e_log.S: Likewise.
6341 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6342 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6343 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6344 * sysdeps/i386/fpu/e_logf.S: Likewise.
6345 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6346 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6347 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6348 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6349 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6350 * sysdeps/i386/fpu/e_log10.S: Likewise.
6351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6356 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6357 * sysdeps/i386/asm-syntax.h: Likewise.
6358 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6359 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6360 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6361 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6362 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6363 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6364 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6365 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6366 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6367 * sysdeps/powerpc/sysdep.h: Likewise.
6368 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6369 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6370
d4a54ac6
JM
63712012-02-06 Joseph Myers <joseph@codesourcery.com>
6372
6373 [BZ #411]
6374 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6375
314054ea
JM
63762012-02-06 Joseph Myers <joseph@codesourcery.com>
6377
6378 * sysdeps/i386/sysdep.h: Include <features.h>.
6379 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6380 version.
6381
d8e0ca50
JM
63822012-02-05 Joseph Myers <joseph@codesourcery.com>
6383
6384 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6385 Define.
6386 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6387 LOAD_PIC_REG_STR.
6388
b1da7dd9
JM
63892012-02-03 Joseph Myers <joseph@codesourcery.com>
6390
6391 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6392 (SETUP_PIC_REG): Use GET_PC_THUNK.
6393 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6394 macro.
6395
9a1d9254
JM
63962012-02-03 Joseph Myers <joseph@codesourcery.com>
6397
6398 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6399 for non-PIC compilation.
6400 (SETUP_PIC_REG): Add .p2align directive.
6401 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6402 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6403 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6404 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6405 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6406 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6407 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6408 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6409 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6410 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6411 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6412 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6413 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6414 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6415 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6416 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6417 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6418 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6419 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6420 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6421 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6422 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6423 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6424 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6425 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6426 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6427 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6428 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6429 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6430 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6431 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6432 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6433 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6434 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6435 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6436 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6437 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6438 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6439 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6440 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6442
65dc3b75
JM
64432012-02-03 Joseph Myers <joseph@codesourcery.com>
6444
6445 * math/tst-CMPLX.c: Include <stdio.h>.
6446
d55bf177
JM
64472012-01-31 Joseph Myers <joseph@codesourcery.com>
6448
6449 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6450 float.
6451 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6452 * sysdeps/sparc/bits/mathdef.h: Likewise.
6453
69db4f8f
MP
64542012-01-31 Marek Polacek <polacek@redhat.com>
6455
6456 * libio/libio.h: Don't define _PARAMS.
6457 * locale/programs/config.h: Don't define PARAMS.
6458 * stdlib/strtol_l.c: Likewise.
6459 (__strtol_l): Remove PARAMS from the prototype.
6460
41b81892
UD
64612012-01-31 Ulrich Drepper <drepper@gmail.com>
6462
3b49edc0
UD
6463 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6464 names. Just use the correct names. Remove unnecessary wrapper
6465 functions.
6466 * malloc/arena.c: Likewise.
6467 * malloc/hooks.c: Likewise.
6468
41b81892
UD
6469 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6470 ARENA_TEST says not to. Simplify test for creation of a new arena.
6471 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6472
27a25b6e
UD
64732012-01-30 Ulrich Drepper <drepper@gmail.com>
6474
6475 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6476 into tail calls.
6477 (update_get_addr): New function.
6478 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6479 GET_ADDR_MODULE parameter.
6480
c8a89e7d
JM
64812012-01-30 Joseph Myers <joseph@codesourcery.com>
6482
6483 * crypt/cert.c: Remove __STDC__ conditionals.
6484 * crypt/crypt-entry.c: Likewise.
6485 * crypt/crypt_util.c: Likewise.
6486 * libio/filedoalloc.c: Likewise.
6487 * libio/fileops.c: Likewise.
6488 * libio/genops.c: Likewise.
6489 * libio/iofclose.c: Likewise.
6490 * libio/iofdopen.c: Likewise.
6491 * libio/iofopen.c: Likewise.
6492 * libio/iofopen64.c: Likewise.
6493 * libio/iogetdelim.c: Likewise.
6494 * libio/iopopen.c: Likewise.
6495 * libio/obprintf.c: Likewise.
6496 * libio/oldfileops.c: Likewise.
6497 * libio/oldiofclose.c: Likewise.
6498 * libio/oldiofdopen.c: Likewise.
6499 * libio/oldiofopen.c: Likewise.
6500 * libio/oldiopopen.c: Likewise.
6501 * libio/wfiledoalloc.c: Likewise.
6502 * libio/wgenops.c: Likewise.
6503 * locale/programs/xmalloc.c: Likewise.
6504 * misc/syslog.c: Likewise.
6505 * stdio-common/xbug.c: Likewise.
6506 * string/memchr.c: Likewise.
6507 * string/memcmp.c: Likewise.
6508 * string/memrchr.c: Likewise.
6509 * string/rawmemchr.c: Likewise.
6510 * sysdeps/posix/getcwd.c: Likewise.
6511 * time/strftime_l.c: Likewise.
6512
3b100462
JM
65132012-01-30 Joseph Myers <joseph@codesourcery.com>
6514
6515 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6516 * config.make.in (config-cflags-sse2avx): Define.
6517 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6518 Fix typo.
6519
607998af
CM
65202012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6521
6522 * scripts/config.guess: Update from upstream config git repository.
6523 * scripts/config.sub: Likewise.
6524
3601428f
CM
65252012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6526
3ac8b282
CM
6527 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6528 (EM_NUM): Update.
6529 (R_TILEPRO_*, R_TILEGX_*): New macros.
6530
e034841e
CM
6531 * scripts/firstversions.awk: Fix bug in version range handling.
6532
540d7568
CM
6533 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6534
3601428f
CM
6535 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6536
463de862
CM
6537 * include/sys/epoll.h: New file.
6538 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6539 libc_hidden_def.
6540
73139a76
UD
65412012-01-28 Ulrich Drepper <drepper@gmail.com>
6542
96bc5b45
UD
6543 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6544 Avoid unnecessary __WORDSIZE == 64 test.
6545 (fmaxf): Use VEX format if possible.
6546 (fmax): Likewise.
6547 (fminf): Likewise.
6548 (fmin): Likewise.
6549
56f6f6a2
UD
6550 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6551 * math/math_private.h: Remove libc_fegetround* and
6552 libc_fesetround*.
6553 * sysdeps/i386/configure.in: Check for -msse2avx.
6554 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6555 also if SSE2AVX is defined.
6556 Remove libc_fegetround* and libc_fesetround*.
6557 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6558 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6559 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6560 of HAS_YMM_USABLE.
6561 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6562 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6563 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6564 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6565 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6566
73139a76
UD
6567 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6568
d73f93a4
AZ
65692012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6570
6571 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6572 size is not set.
6573 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6574
6ee65ed6
UD
65752012-01-27 Ulrich Drepper <drepper@gmail.com>
6576
6577 [BZ #13618]
6578 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6579 relocation.
6580 * Makeconfig (libm): Define.
6581 * elf/Makefile: Add rules to build and run tst-relsort1.
6582 * elf/tst-relsort1.c: New file.
6583 * elf/tst-relsort1mod1.c: New file.
6584 * elf/tst-relsort1mod2.c: New file.
6585
8db21882
JM
65862012-01-27 Joseph Myers <joseph@codesourcery.com>
6587
6588 * math/s_ldexp.c: Remove __STDC__ conditionals.
6589 * math/s_ldexpf.c: Likewise.
6590 * math/s_ldexpl.c: Likewise.
6591 * math/s_nextafter.c: Likewise.
6592 * math/s_nexttowardf.c: Likewise.
6593 * math/s_significand.c: Likewise.
6594 * math/s_significandf.c: Likewise.
6595 * math/s_significandl.c: Likewise.
6596 * math/w_jnl.c: Likewise.
6597 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6598 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6599 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6600 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6601 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6602 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6603 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6604 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6605 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6606 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6607 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6608 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6609 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6610 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6611 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6612 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6613 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6614 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6615 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6616 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6617 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6618 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6619 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6620 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6621 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6622 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6623 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6624 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6625 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6626 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6627 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6628 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6629 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6630 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6631 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6632 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6633 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6637 * sysdeps/ieee754/k_standard.c: Likewise.
6638 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6639 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6640 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6641 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6642 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6643 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6644 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6645 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6646 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6647 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6648 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6649 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6650 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6651 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6652 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6653 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6654 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6655 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6656 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6657 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6658 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6659 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6660 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6661 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6662 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6663 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6666 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6667 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6668 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6669 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6670 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6671 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6673 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6674 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6675 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6695 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6699 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6704 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6712 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6713 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6717 * sysdeps/ieee754/s_matherr.c: Likewise.
6718 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6719 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6720 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6721 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6722
965a54a4
JM
67232012-01-26 Joseph Myers <joseph@codesourcery.com>
6724
6725 * crypt/md5.h: Remove __STDC__ conditionals.
6726 * libio/libioP.h: Likewise.
6727 * locale/programs/config.h: Likewise.
6728 * sysdeps/generic/sysdep.h: Likewise.
6729 * sysdeps/i386/asm-syntax.h: Likewise.
6730 * sysdeps/s390/asm-syntax.h: Likewise.
6731 * sysdeps/unix/sysdep.h: Likewise.
6732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6734
7071ad79
JM
67352012-01-26 Joseph Myers <joseph@codesourcery.com>
6736
6737 * libio/libio.h: Remove __STDC__ conditionals.
6738 * malloc/obstack.h: Likewise.
6739 * math/complex.h: Likewise.
6740 * math/math.h: Likewise.
6741 * sysdeps/generic/_G_config.h: Likewise.
6742 * sysdeps/gnu/_G_config.h: Likewise.
6743 * sysdeps/mach/hurd/_G_config.h: Likewise.
6744 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6745 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6746 * sysdeps/sparc/bits/mathdef.h: Likewise.
6747
afc5ed09
UD
67482012-01-26 Ulrich Drepper <drepper@gmail.com>
6749
6750 [BZ #13583]
6751 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6752 Clean up HAS_* macros.
afc5ed09 6753 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6754 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6755 possible.
6756 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6757 HAS_AVX.
6758 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6759 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6760 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6761 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6762 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6763
bdb6de1d
JM
67642012-01-25 Joseph Myers <joseph@codesourcery.com>
6765
6766 * elf/tst-unique3.cc (gets): Remove declaration.
6767 * elf/tst-unique3lib.cc (gets): Likewise.
6768 * elf/tst-unique3lib2.cc (gets): Likewise.
6769 * elf/tst-unique4.cc (gets): Likewise.
6770
b15549e6
UD
67712012-01-24 Ulrich Drepper <drepper@gmail.com>
6772
6773 * include/stdio.h: Add C++ protection. Add gets declarations and
6774 definitions.
6775 * debug/tst-chk1.c: Don't declare gets here.
6776 * stdio-common/tst-gets.c: Likewise.
6777
a037381f
JM
67782012-01-24 Joseph Myers <joseph@codesourcery.com>
6779
6780 * posix/glob: Remove directory.
6781
f1d4aa75
JM
67822012-01-24 Joseph Myers <joseph@codesourcery.com>
6783
6784 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6785
81c0c964
PT
67862012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6787
6788 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6789 of the non-standard EPFNOSUPPORT.
6790
0ea698ae
ST
67912011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6792
6793 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6794 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6795 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6796
d220b117
UD
67972012-01-21 Ulrich Drepper <drepper@gmail.com>
6798
6799 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6800
3e1aa84e
UD
68012012-01-20 Ulrich Drepper <drepper@gmail.com>
6802
6803 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6804 transient errors.
6805 * nscd/grpcache.c (cache_addgr): Likewise.
6806 * nscd/hstcache.c (cache_addhst): Likewise.
6807 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6808 * nscd/pwdcache.c (cache_addpw): Likewise.
6809 * nscd/servicescache.c (cache_addserv): Likewise.
6810
400aa020
UD
68112012-01-16 Ulrich Drepper <drepper@gmail.com>
6812
d77e7869
UD
6813 * malloc/malloc.c: Various cleanups.
6814 * malloc/hooks.c: Likewise.
6815
400aa020
UD
6816 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6817 * stdlib/bug-fmtmsg1.c: New file.
6818
6819 * stdlib/fmtmsg.c (init): Add missing unlock.
6820 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6821
e0a309cf
MP
68222012-01-12 Marek Polacek <polacek@redhat.com>
6823
6824 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6825 and _GNU_SOURCE.
6826
929d11c7
WS
68272012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6828
6829 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6830 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6831 macro to ensure uniqueness of label name.
6832 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6833 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6834
41d0e869
UD
68352012-01-11 Ulrich Drepper <drepper@gmail.com>
6836
0cc5ed3b
UD
6837 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6838
41d0e869
UD
6839 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6840 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6842 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6843
a47a831a
UD
68442012-01-10 Ulrich Drepper <drepper@gmail.com>
6845
daa891c0
UD
6846 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6847
6848 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6849 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6850 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6851
e58ef0f2
UD
6852 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6853
a47a831a 6854 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6855 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6856 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6857 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6858
6859 * math/bits/math-finite.h: Add ldexp support.
6860
a0bfc9c7
MP
68612012-01-10 Marek Polacek <polacek@redhat.com>
6862
6863 * locale/programs/localedef.h (show_archive_content): Add noreturn
6864 attribute.
6865
d6e97a1d
UD
68662012-01-09 Ulrich Drepper <drepper@gmail.com>
6867
6868 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6869
d5835c26
UD
68702012-01-08 Ulrich Drepper <drepper@gmail.com>
6871
e5f484c6
UD
6872 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6873
d5835c26
UD
6874 * io/Makefile (headers): Add bits/poll2.h.
6875
d1f741e9
WS
68762011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6877
6878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6879 typo #include statement.
6880
ec09c1c4
UD
68812012-01-08 Ulrich Drepper <drepper@gmail.com>
6882
6883 * include/sys/cdefs.h: Define __attribute_alloc_size.
6884 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6885 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6886 * elf/pldd.c: Likewise.
6887 * iconv/iconv_charmap.c: Likewise.
6888 * iconv/iconvconfig.c: Likewise.
6889 * iconv/strtab.c: Likewise.
6890 * locale/programs/locale.c: Likewise.
6891 * locale/programs/localedef.h: Likewise.
6892 * locale/programs/simple-hash.c: Likewise.
6893 * nscd/nscd.h: Likewise.
6894 * nss/makedb.c: Likewise.
6895 * sysdeps/generic/ldconfig.h: Likewise.
6896 * locale/programs/localedef.c: Remove xmalloc prototype.
6897 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6898
20b38e03
PP
68992012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6900
6901 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6902 appropriate.
6903
a0da5fe1
UD
69042012-01-08 Ulrich Drepper <drepper@gmail.com>
6905
1d5a644a 6906 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6907 * math/tst-CMPLX.c: New file.
1d5a644a 6908
8784a6db
UD
6909 * math/complex.h (CMPLXL): Fix typo.
6910
d9a216c0
UD
6911 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6912 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6913 GLIBC_2.16.
6914 * debug/tst-chk1.c: Add poll and ppoll tests.
6915 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6916 * include/sys/poll.h: Add hidden proto for ppoll.
6917 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6918 * sysdeps/mach/hurd/ppoll.c: Likewise.
6919 * io/ppoll.c: Likewise.
6920 * debug/poll_chk.c: New file.
6921 * debug/ppoll_chk.c: New file.
6922 * include/bits/poll2.h: New file.
6923 * io/bits/poll2.h: New file.
6924
ac097f5c
UD
6925 [BZ #1350]
6926 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6927
2119dcfa
UD
6928 * configure.in: static is always set to yes. Remove.
6929 * config.make.in: Don't set build-static.
6930 * Makeconfig: Remove use of build-static.
6931 * dlfcn/Makefile: Likewise.
6932 * elf/Makefile: Likewise.
6933 * math/Makefile: Likewise.
6934 * misc/Makefile: Likewise.
6935 * nptl/Makefile: Likewise.
6936 * sysdeps/mach/hurd/Makefile: Likewise.
6937
121766a9
UD
6938 * configure.in: PWD_P is not used anymore.
6939 * config.make.in: Remove PWD_P entry.
6940
51a1d39c 6941 * configure.in: Remove last remnants of RANLIB.
8720d066 6942 No need to check for signed size_t anymore.
215f4bdc
UD
6943 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6944 and IA-64.
3857022a 6945 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6946 * aclocal.m4: Likewise.
6947
d3ed7225
UD
6948 * wcsmbs/mbrtoc16.c: Implement using towc function.
6949 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6950 * wcsmbs/wcsmbsload.c: Likewise.
6951 * iconv/gconv_simple.c: Likewise.
6952 * iconv/gconv_int.h: Likewise.
6953 * iconv/gconv_builtin.h: Likewise.
6954 * iconv/iconv_prog.c: Remove CHAR16 handling.
6955
6956 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6957
6958 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6959
a0da5fe1
UD
6960 * configure.in: Remove --with-elf and --enable-bounded options.
6961 Dont set base_machine for ia64. More non-ELF conditions removed.
6962 Remove testing and setting of leading underscore information.
6963 * config.make.in (build-bounded): Set to no.
6964 * config.h.in: Remove NO_UNDERSCORES entry.
6965 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
6966 them.
6967 * csu/start.c: Remove !NO_UNDERSCORE code.
6968 * locale/localeinfo.h: Likewise.
6969 * sysdeps/generic/machine-gmon.h: Likewise.
6970 * sysdeps/generic/sysdep.h: Likewise.
6971 * sysdeps/i386/sysdep.h: Likewise.
6972 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
6973 * sysdeps/mach/sysdep.h: Likewise.
6974 * sysdeps/s390/s390-32/sysdep.h: Likewise.
6975 * sysdeps/s390/s390-64/sysdep.h: Likewise.
6976 * sysdeps/sh/sysdep.h: Likewise.
6977 * sysdeps/sparc/sparc32/alloca.S: Likewise.
6978 * sysdeps/unix/i386/sysdep.S: Likewise.
6979 * sysdeps/unix/sparc/start.c: Likewise.
6980 * sysdeps/unix/sparc/sysdep.S: Likewise.
6981 * sysdeps/unix/sparc/sysdep.h: Likewise.
6982 * sysdeps/unix/start.c: Likewise.
6983 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6984 * sysdeps/x86_64/sysdep.h: Likewise.
6985
df78418a
UD
69862012-01-07 Ulrich Drepper <drepper@gmail.com>
6987
a784e502
UD
6988 [BZ #13553]
6989 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
6990 for non-gcc.
6991 * argp/argp-fmtstream.h: Use const instead __const.
6992 * argp/argp.h: Likewise.
6993 * assert/assert.h: Likewise.
6994 * bits/fenv.h: Likewise.
6995 * bits/sched.h: Likewise.
6996 * bits/sigset.h: Likewise.
6997 * bits/sigthread.h: Likewise.
6998 * catgets/nl_types.h: Likewise.
6999 * conform/data/pthread.h-data: Likewise.
7000 * crypt/crypt-private.h: Likewise.
7001 * crypt/crypt.h: Likewise.
7002 * crypt/crypt_util.c: Likewise.
7003 * ctype/ctype.h: Likewise.
7004 * debug/execinfo.h: Likewise.
7005 * debug/mbsnrtowcs_chk.c: Likewise.
7006 * debug/mbsrtowcs_chk.c: Likewise.
7007 * debug/wcsnrtombs_chk.c: Likewise.
7008 * debug/wcsrtombs_chk.c: Likewise.
7009 * debug/wcstombs_chk.c: Likewise.
7010 * dirent/dirent.h: Likewise.
7011 * dlfcn/dlfcn.h: Likewise.
7012 * elf/neededtest4.c: Likewise.
7013 * grp/grp.h: Likewise.
7014 * gshadow/gshadow.h: Likewise.
7015 * iconv/gconv.h: Likewise.
7016 * iconv/gconv_int.h: Likewise.
7017 * iconv/gconv_simple.c: Likewise.
7018 * iconv/iconv.h: Likewise.
7019 * iconv/loop.c: Likewise.
7020 * iconv/skeleton.c: Likewise.
7021 * include/aio.h: Likewise.
7022 * include/aliases.h: Likewise.
7023 * include/argz.h: Likewise.
7024 * include/arpa/inet.h: Likewise.
7025 * include/assert.h: Likewise.
7026 * include/dirent.h: Likewise.
7027 * include/dlfcn.h: Likewise.
7028 * include/execinfo.h: Likewise.
7029 * include/fcntl.h: Likewise.
7030 * include/fenv.h: Likewise.
7031 * include/glob.h: Likewise.
7032 * include/grp.h: Likewise.
7033 * include/libintl.h: Likewise.
7034 * include/mntent.h: Likewise.
7035 * include/netdb.h: Likewise.
7036 * include/pwd.h: Likewise.
7037 * include/rpc/netdb.h: Likewise.
7038 * include/sched.h: Likewise.
7039 * include/search.h: Likewise.
7040 * include/shadow.h: Likewise.
7041 * include/signal.h: Likewise.
7042 * include/stdio.h: Likewise.
7043 * include/stdlib.h: Likewise.
7044 * include/string.h: Likewise.
7045 * include/sys/socket.h: Likewise.
7046 * include/sys/stat.h: Likewise.
7047 * include/sys/statfs.h: Likewise.
7048 * include/sys/statvfs.h: Likewise.
7049 * include/sys/syslog.h: Likewise.
7050 * include/sys/time.h: Likewise.
7051 * include/sys/uio.h: Likewise.
7052 * include/time.h: Likewise.
7053 * include/unistd.h: Likewise.
7054 * include/utmp.h: Likewise.
7055 * include/wchar.h: Likewise.
7056 * include/wctype.h: Likewise.
7057 * inet/aliases.h: Likewise.
7058 * inet/arpa/inet.h: Likewise.
7059 * inet/netinet/ether.h: Likewise.
7060 * inet/netinet/in.h: Likewise.
7061 * intl/libintl.h: Likewise.
7062 * io/bits/fcntl2.h: Likewise.
7063 * io/fcntl.h: Likewise.
7064 * io/ftw.h: Likewise.
7065 * io/sys/poll.h: Likewise.
7066 * io/sys/stat.h: Likewise.
7067 * io/sys/statfs.h: Likewise.
7068 * io/sys/statvfs.h: Likewise.
7069 * io/utime.h: Likewise.
7070 * libio/bits/stdio.h: Likewise.
7071 * libio/bits/stdio2.h: Likewise.
7072 * libio/libio.h: Likewise.
7073 * libio/libioP.h: Likewise.
7074 * libio/stdio.h: Likewise.
7075 * locale/lc-ctype.c: Likewise.
7076 * locale/locale.h: Likewise.
7077 * login/utmp.h: Likewise.
7078 * malloc/arena.c: Likewise.
7079 * malloc/malloc.c: Likewise.
7080 * malloc/malloc.h: Likewise.
7081 * malloc/mcheck.c: Likewise.
7082 * malloc/mtrace.c: Likewise.
7083 * math/bits/mathcalls.h: Likewise.
7084 * math/fenv.h: Likewise.
7085 * math/math_private.h: Likewise.
7086 * misc/bits/error.h: Likewise.
7087 * misc/bits/syslog.h: Likewise.
7088 * misc/err.h: Likewise.
7089 * misc/error.h: Likewise.
7090 * misc/fstab.h: Likewise.
7091 * misc/mntent.h: Likewise.
7092 * misc/regexp.h: Likewise.
7093 * misc/search.h: Likewise.
7094 * misc/sgtty.h: Likewise.
7095 * misc/sys/mman.h: Likewise.
7096 * misc/sys/syslog.h: Likewise.
7097 * misc/sys/uio.h: Likewise.
7098 * misc/sys/xattr.h: Likewise.
7099 * misc/ttyent.h: Likewise.
7100 * nis/rpcsvc/ypclnt.h: Likewise.
7101 * nss/nss.h: Likewise.
7102 * posix/bits/unistd.h: Likewise.
7103 * posix/fnmatch.h: Likewise.
7104 * posix/glob.h: Likewise.
7105 * posix/sched.h: Likewise.
7106 * posix/spawn.h: Likewise.
7107 * posix/sys/wait.h: Likewise.
7108 * posix/unistd.h: Likewise.
7109 * posix/wordexp.h: Likewise.
7110 * pwd/pwd.h: Likewise.
7111 * resolv/netdb.h: Likewise.
7112 * resource/sys/resource.h: Likewise.
7113 * rt/aio.h: Likewise.
7114 * rt/bits/mqueue2.h: Likewise.
7115 * rt/mqueue.h: Likewise.
7116 * shadow/shadow.h: Likewise.
7117 * signal/signal.h: Likewise.
7118 * socket/send.c: Likewise.
7119 * socket/sendto.c: Likewise.
7120 * socket/sys/socket.h: Likewise.
7121 * stdio-common/printf.h: Likewise.
7122 * stdlib/bits/stdlib.h: Likewise.
7123 * stdlib/fmtmsg.h: Likewise.
7124 * stdlib/monetary.h: Likewise.
7125 * stdlib/stdlib.h: Likewise.
7126 * stdlib/ucontext.h: Likewise.
7127 * streams/stropts.h: Likewise.
7128 * string/argz.h: Likewise.
7129 * string/bits/string2.h: Likewise.
7130 * string/string.h: Likewise.
7131 * string/strings.h: Likewise.
7132 * sunrpc/rpc/auth.h: Likewise.
7133 * sunrpc/rpc/auth_des.h: Likewise.
7134 * sunrpc/rpc/clnt.h: Likewise.
7135 * sunrpc/rpc/netdb.h: Likewise.
7136 * sunrpc/rpc/pmap_clnt.h: Likewise.
7137 * sunrpc/rpc/xdr.h: Likewise.
7138 * sysdeps/generic/inttypes.h: Likewise.
7139 * sysdeps/generic/net/if.h: Likewise.
7140 * sysdeps/generic/sys/swap.h: Likewise.
7141 * sysdeps/gnu/net/if.h: Likewise.
7142 * sysdeps/gnu/utmpx.h: Likewise.
7143 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7144 * sysdeps/i386/i486/bits/string.h: Likewise.
7145 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7146 * sysdeps/s390/bits/string.h: Likewise.
7147 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7148 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7149 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7150 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7151 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7152 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7153 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7154 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7155 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7156 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7157 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7158 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7159 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7160 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7161 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7162 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7163 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7164 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7165 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7166 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7167 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7168 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7169 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7170 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7171 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7172 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7173 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7174 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7175 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7176 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7177 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7178 * sysvipc/sys/ipc.h: Likewise.
7179 * sysvipc/sys/msg.h: Likewise.
7180 * sysvipc/sys/sem.h: Likewise.
7181 * sysvipc/sys/shm.h: Likewise.
7182 * termios/termios.h: Likewise.
7183 * time/sys/time.h: Likewise.
7184 * time/time.h: Likewise.
7185 * wcsmbs/bits/wchar2.h: Likewise.
7186 * wcsmbs/uchar.h: Likewise.
7187 * wcsmbs/wchar.h: Likewise.
7188 * wctype/wctype.h: Likewise.
7189
0269750c
UD
7190 [BZ #13551]
7191 * Makeconfig: Remove all but ELF support including AIX support.
7192 * Makerules: Likewise.
7193 * config.h.in: Likewise.
7194 * config.make.in: Likewise.
7195 * configure: Likewise.
7196 * configure.in: Likewise.
7197 * csu/Makefile: Likewise.
7198 * csu/version.c: Likewise.
7199 * debug/Makefile: Likewise.
7200 * dlfcn/Makefile: Likewise.
7201 * elf/Makefile: Likewise.
7202 * extra-lib.mk: Likewise.
7203 * iconv/Makefile: Likewise.
7204 * include/libc-symbols.h: Likewise.
7205 * include/shlib-compat.h: Likewise.
7206 * resolv/Makefile: Likewise.
7207 * resolv/res_libc.c: Likewise.
7208 * rt/Makefile: Likewise.
7209 * sysdeps/i386/asm-syntax.h: Likewise.
7210 * sysdeps/i386/sysdep.h: Likewise.
7211 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7212 * sysdeps/mach/sysdep.h: Likewise.
7213 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7214 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7215 * sysdeps/s390/asm-syntax.h: Likewise.
7216 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7217 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7218 * sysdeps/sh/sysdep.h: Likewise.
7219 * sysdeps/unix/sparc/sysdep.h: Likewise.
7220 * sysdeps/wordsize-32/divdi3.c: Likewise.
7221 * sysdeps/x86_64/sysdep.h: Likewise.
7222
00bbd29b
UD
7223 * argp/Versions: Remove _argp_unlock_xxx.
7224
7225 [BZ #13559]
7226 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7227 * abilist/libBrokenLocale.abilist: Likewise.
7228 * abilist/libanl.abilist: Likewise.
7229 * abilist/libc.abilist: Likewise.
7230 * abilist/libcrypt.abilist: Likewise.
7231 * abilist/libdl.abilist: Likewise.
7232 * abilist/libm.abilist: Likewise.
7233 * abilist/libnsl.abilist: Likewise.
7234 * abilist/libpthread.abilist: Likewise.
7235 * abilist/libresolv.abilist: Likewise.
7236 * abilist/librt.abilist: Likewise.
7237 * abilist/libthread_db.abilist: Likewise.
7238 * abilist/libutil.abilist: Likewise.
7239 * abilist/libnss_db.abilist: New file.
7240
7241 * scripts/abilist.awk: Add support for indirect functions.
7242
a2693a0e
UD
7243 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7244
3f05895f
UD
7245 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7246
ecb6fb48
UD
7247 * shlib-versions: Remove entries for ports architectures.
7248
664f8cb9
UD
7249 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7250 files in ports.
7251 * elf/stackguard-macros.h: Remove support for IA-64.
7252 * elf/tst-auditmod1.c: Likewise.
7253 * sysdeps/generic/ldsodefs.h: Likewise.
7254
7ae81d88
UD
7255 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7256 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7257 configure files.
7258
bdeba135
UD
7259 [BZ #13552]
7260 * configure.in: Remove --enable-omitfp support.
7261 * FAQ.in: Adjust.
7262 * config.make.in: Likewise.
7263 * Makeconfig: Likewise.
7264 * manual/install.texi: Likewise.
7265
d75a0a62
UD
7266 In case anyone cares, the IA-64 architecture could move to ports.
7267 * sysdeps/ia64/*: Removed.
7268 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7269 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7270
dcc9756b
UD
7271 [BZ #13555]
7272 * configure.in: Remove entries for unsupported architectures.
7273
d3761ebc 7274 [BZ #13533]
9954432e
UD
7275 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7276 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7277 routines.
7278 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7279 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7280 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7281 fall back to using wcrtomb.
7282 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7283 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7284 renaming.
7285 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7286 * wcsmbs/tst-c16c32-1.c: New file.
7287
7288 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7289 local variable.
7290
c3a87236
UD
7291 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7292
28926a1b
UD
7293 * elf/tst-unique3.cc: Add explicit declaration of gets.
7294 * elf/tst-unique3lib.cc: Likewise.
7295 * elf/tst-unique3lib2.cc: Likewise.
7296 * elf/tst-unique4.cc: Likewise.
7297
df78418a
UD
7298 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7299
8ecd6b2a
JM
73002012-01-06 Joseph Myers <joseph@codesourcery.com>
7301
7302 [BZ #13566]
7303 * assert/assert.h (static_assert): Don't define for C++.
7304 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7305 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7306
9f115170
UD
73072012-01-03 Ulrich Drepper <drepper@gmail.com>
7308
5e0d0300
UD
7309 * iconv/loop.c (single loop): Fix assertion in storing of
7310 remaining bytes.
7311
9f115170
UD
7312 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7313
81fb02b0
UD
73142012-01-01 Ulrich Drepper <drepper@gmail.com>
7315
7316 * posix/getconf.c: Update copyright year.
7317 * nss/getent.c: Likewise.
a316c1f6 7318 * nss/makedb.c: Likewise.
81fb02b0
UD
7319 * iconv/iconvconfig.c: Likewise.
7320 * iconv/iconv_prog.c: Likewise.
7321 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7322 * elf/pldd.c: Likewise.
7323 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7324 * catgets/gencat.c: Likewise.
7325 * csu/version.c: Likewise.
7326 * elf/ldd.bash.in: Likewise.
7327 * elf/sprof.c (print_version): Likewise.
7328 * locale/programs/locale.c: Likewise.
7329 * locale/programs/localedef.c: Likewise.
a316c1f6 7330 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7331 * nscd/nscd.c (print_version): Likewise.
7332 * debug/xtrace.sh: Likewise.
7333 * malloc/memusage.sh: Likewise.
7334 * malloc/mtrace.pl: Likewise.
7335 * debug/catchsegv.sh: Likewise.
7336
2ba92745
JJ
73372011-12-30 Jakub Jelinek <jakub@redhat.com>
7338
7339 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7340 pure attribute.
7341
dadebdae
UD
73422011-12-24 Ulrich Drepper <drepper@gmail.com>
7343
d3761ebc 7344 [BZ #13533]
db6af3eb
UD
7345 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7346 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7347 transformations.
7348 * iconv/gconv_int.h: Likewise.
7349 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7350 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7351 from libc for GLIBC_2.16.
7352 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7353 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7354 * wcsmbs/uchar.h: Really define mbstate_t.
7355 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7356 * wcsmbs/c16rtomb.c: New file.
7357 * wcsmbs/mbrtoc16.c: New file.
7358 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7359 for C/POSIX locale.
7360 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7361 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7362
dadebdae
UD
7363 * wcsmbs/wchar.h: Add missing __restrict.
7364
67371b56
UD
73652011-12-23 Ulrich Drepper <drepper@gmail.com>
7366
74033a25
UD
7367 [BZ #13532]
7368 * time/Makefile (routines): Add timespec_get.
7369 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7370 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7371 timespec for ISO C11.
7372 * time/timespec_get.c: New file.
7373 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7374 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7375
380d7e87
UD
7376 [BZ #13531]
7377 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7378 * stdlib/stdlib.h: Declare aligned_alloc.
7379 * Versions.def: Add GLIBC_2.16 for libc.
7380 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7381
4e9e7a35
UD
7382 [BZ 13527]
7383 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7384 ISO C11.
7385
380d7e87 7386 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7387 code.
7388
03a71829
UD
7389 [BZ #13528]
7390 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7391
839e283e
UD
7392 [BZ #13529]
7393 * assert/assert.h (static_assert): Define.
7394
ce5294e2 7395 * version.h: Update for 2.16 development version.
90fa7312 7396
8d44e150 7397 [BZ #13526]
d7809905
UD
7398 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7399 _ISOC11_SOURCE.
7400
c0da14cd
UD
7401 * version.h (RELEASE): Bump for 2.15 release.
7402 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7403
530a3249
MP
7404 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7405 Patch by Marek Polacek <mpolacek@redhat.com>.
7406
67371b56
UD
7407 * bits/byteswap.h: Protect long long constants with __extension__.
7408 * sysdeps/i386/bits/byteswap.h: Likewise.
7409 * sysdeps/ia64/bits/byteswap.h: Likewise.
7410 * sysdeps/s390/bits/byteswap.h: Likewise.
7411 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7412
15db4de1
LD
74132011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7414
7415 [BZ #13540]
bbe315ea
LD
7416 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7417 destination buffer.
15db4de1
LD
7418 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7419
2b2596b1
MP
74202011-12-23 Marek Polacek <polacek@redhat.com>
7421
7422 * elf/dl-addr.c (determine_info): Add inline keyword.
7423 * elf/tst-auditmod4b.c (check_avx): Likewise.
7424 * elf/tst-auditmod6b.c (check_avx): Likewise.
7425 * elf/tst-auditmod6c.c (check_avx): Likewise.
7426 * elf/tst-auditmod7b.c (check_avx): Likewise.
7427
70c6c246
UD
74282011-12-23 Ulrich Drepper <drepper@gmail.com>
7429
7430 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7431 !__SSE_MATH__.
7432
c044cf14
LD
74332011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7434
15db4de1 7435 [BZ #13540]
c044cf14
LD
7436 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7437 processing for last bytes.
7438
6b13d9d9
BH
74392011-08-06 Bruno Haible <bruno@clisp.org>
7440
d455f537
BH
7441 [BZ #13061]
7442 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7443 U+0385, not to U+1FEE.
7444
6b13d9d9
BH
7445 [BZ #13062]
7446 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7447 entry for U+00A5 U+0301.
7448
db910efd
UD
74492011-12-22 Ulrich Drepper <drepper@gmail.com>
7450
27deeafc
UD
7451 [BZ #13166]
7452 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7453 buffer for the output is too small.
7454
aed9d171
UD
7455 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7456 optimization.
7457
db910efd
UD
7458 [BZ #13185]
7459 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7460 SSE flags if possible.
7461
2bd779ae
LD
74622011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7463
e7f9dac3 7464 [BZ #13540]
2bd779ae
LD
7465 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7466 processing for last bytes.
7467
154bfc16
JM
74682011-12-22 Joseph Myers <joseph@codesourcery.com>
7469
7470 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7471 (syscall-list-default-options, syscall-list-default-condition)
7472 (syscall-list-includes): Define.
7473 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7474 list of ABIs and options and #if conditions for each ABI. Do not
7475 handle common syscalls between ABIs specially.
7476 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7477 Remove.
7478 (syscall-list-variants, syscall-list-32bit-options)
7479 (syscall-list-32bit-condition, syscall-list-64bit-options)
7480 (syscall-list-64bit-condition): Define.
7481 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7482 (syscall-list-variants, syscall-list-32bit-options)
7483 (syscall-list-32bit-condition, syscall-list-64bit-options)
7484 (syscall-list-64bit-condition): Define.
7485 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7486 Remove.
7487 (syscall-list-variants, syscall-list-32bit-options)
7488 (syscall-list-32bit-condition, syscall-list-64bit-options)
7489 (syscall-list-64bit-condition): Define.
7490 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7491 Remove.
7492 (syscall-list-variants, syscall-list-32bit-options)
7493 (syscall-list-32bit-condition, syscall-list-64bit-options)
7494 (syscall-list-64bit-condition): Define.
7495
21eaf3a5
UD
74962011-12-22 Ulrich Drepper <drepper@gmail.com>
7497
16c6f992
UD
7498 * locale/iso-639.def: Add brx entry.
7499
41043168
UD
7500 [BZ #13328]
7501 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7502 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7503
21eaf3a5
UD
7504 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7505 __feraiseexcept_renamed.
7506
e3a851a2
UD
75072011-12-21 Ulrich Drepper <drepper@gmail.com>
7508
4920765e
UD
7509 [BZ #13538]
7510 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7511 EPOLLET with unsigned values.
7512 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7513 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7514
e3a851a2
UD
7515 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7516 to large cancellation.
7517 * math/s_cacoshf.c: Likewise.
7518 * math/s_cacoshl.c: Likewise.
7519
b27e24b8
RK
75202011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7521
7522 [BZ #13305]
aebefeee 7523 [BZ #12786]
b27e24b8
RK
7524 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7525 * math/s_cacoshf.c: Likewise.
7526 * math/s_cacoshl.c: Likewise.
7527
ee190f67
UD
75282011-12-21 Ulrich Drepper <drepper@gmail.com>
7529
7530 [BZ #13439]
7531 * iconv/gconv.h: Define __GCONV_SWAP.
7532 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7533 * iconvdata/utf-16.c: Likewise.
7534 * iconvdata/utf-32.c: Likewise.
7535
707f25df
AS
75362011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7537
7538 [BZ #13524]
7539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7540 numerator after shifting it by one limb.
7541
d2daaa1e
RÁE
75422011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7543
7544 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7545 under [__USE_EXTERN_INLINES].
7546
a4647e72
UD
75472011-12-17 Ulrich Drepper <drepper@gmail.com>
7548
7549 [BZ #13446]
7550 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7551
f0b264f1
AZ
75522011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7553
7554 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7555 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7556 optimized code.
7557 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7558 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7559 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7560 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7561 for strncasecmp/strncasecmp_l compilation.
7562 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7563 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7564
8ef4f244
MP
75652011-12-08 Marek Polacek <mpolacek@redhat.com>
7566
7567 [BZ #13484]
7568 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7569 of __asm__.
7570
97ac2654
UD
75712011-12-17 Ulrich Drepper <drepper@gmail.com>
7572
7573 [BZ #13506]
7574 * time/tzfile.c (__tzfile_read): Check values from file header.
7575
91d2a845
WS
75762011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7577
7578 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7579 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7580 * powerpc/powerpc32/dl-start.S: Likewise.
7581 * powerpc/powerpc32/elf/start.S: Likewise.
7582 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7583 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7584 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7585 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7586 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7587 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7588 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7589 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7590 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7591 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7592 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7593 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7594 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7595 * powerpc/powerpc32/memset.S: Likewise.
7596 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7597 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7598 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7599 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7600 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7601 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7602 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7603 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7604 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7605 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7606 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7607 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7608 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7609
a1267ba1
AZ
76102011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7611
7612 * math/libm-test.inc: Added more nearbyint tests.
7613 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7614 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7615 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7616 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7617
ad8ac1bd
RL
76182011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7619
7620 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7621 FD_CLOEXEC.
7622
1d3e4b61
UD
76232011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7624
7625 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7626 Add wcscpy-ssse3 wcscpy-c.
7627 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7628 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7629 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7630 * sysdeps/x86_64/wcschr.S: New file.
7631 * sysdeps/x86_64/wcsrchr.S: New file.
7632 * string/test-strcmp.c: Remove checking of wcscmp function for
7633 wrong alignments.
7634 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7635 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7636 wcsrchr-sse2 wcsrchr-c.
7637 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7638 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7639 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7640 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7641 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7642 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7643 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7644 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7645 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7646 * wcsmbc/wcschr.c (WCSCHR): New macro.
7647
5b330a2d
UD
76482011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7649
7650 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7651 * wcsmbs/test-wcsrchr.c: New file.
7652 * string/test-strrchr.c: Add wcsrchr support.
7653 (WIDE): New macro.
7654 * wcsmbs/test-wcscpy.c: New file.
7655 * string/test-strcpy.c: Add wcscpy support.
7656 (WIDE): New macro.
26428b7c 7657
f039c043
UD
76582011-12-10 Ulrich Drepper <drepper@gmail.com>
7659
7660 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7661 the inner loop.
7662
850fb039
AS
76632011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7664
7665 [BZ #13472]
7666 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7667
4efbd5cb
UD
76682011-12-04 Ulrich Drepper <drepper@gmail.com>
7669
52ff5dd0 7670 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7671 Minor optimizations.
52ff5dd0 7672
4efbd5cb
UD
7673 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7674 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7675 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7676
8a426e12
UD
76772011-12-03 Ulrich Drepper <drepper@gmail.com>
7678
aff2453d
UD
7679 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7680 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7681 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7682 for gcc to avoid warnings.
7683 * inet/Makefile (tests): Add tst-checks.
7684 * inet/tst-checks.c: New file.
7685
7686 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7687 warning.
7688
7689 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7690 __wmemcmp_sse2.
7691
7692 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7693 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7694
8a426e12
UD
7695 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7696
9bea3473
UD
76972011-12-02 Ulrich Drepper <drepper@gmail.com>
7698
3a965496
UD
7699 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7700 problem.
7701
9bea3473
UD
7702 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7703
f101631b
UD
77042011-11-29 Joseph Myers <joseph@codesourcery.com>
7705
7706 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7707 conditional on GCC version.
7708 (__arch_compare_and_exchange_val_8_acq)
7709 (__arch_compare_and_exchange_val_16_acq)
7710 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7711 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7712 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7713
a98275aa
UD
77142011-12-02 Joseph Myers <joseph@codesourcery.com>
7715
7716 * sysdeps/sh/backtrace.c: New file.
7717
d4cc29a2
AS
77182011-12-02 Andreas Schwab <schwab@redhat.com>
7719
7720 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7721 parenthesis.
7722
6257af2d
AS
77232011-12-01 Andreas Schwab <schwab@redhat.com>
7724
7725 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7726 falling back to utime.
7727
b5f44c1a
AS
77282011-11-30 Andreas Schwab <schwab@redhat.com>
7729
7730 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7731 expectations for float.
7732
f3a6cc0a
AS
77332011-11-29 Andreas Schwab <schwab@redhat.com>
7734
7735 * locale/weight.h (findidx): Add parameter len.
7736 * locale/weightwc.h (findidx): Likewise.
7737 * posix/fnmatch_loop.c (FCT): Adjust caller.
7738 * posix/regcomp.c (build_equiv_class): Likewise.
7739 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7740 * posix/regexec.c (check_node_accept_bytes): Likewise.
7741 * string/strcoll_l.c (STRCOLL): Likewise.
7742 * string/strxfrm_l.c (STRXFRM): Likewise.
7743
9d65ea3a
UD
77442011-11-17 Ulrich Drepper <drepper@gmail.com>
7745
7746 * Makefile.in: Remove CVSOPT handling.
7747 * configure.in: Remove use of AC_REVISION.
7748 * iconvdata/Makefile (distribute): No need to filter out CVS.
7749 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7750 handling.
7751
5583a086
AS
77522011-11-16 Andreas Schwab <schwab@redhat.com>
7753
7754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7755 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7756 [USE_AS_STRNCASECMP_L]: Likewise.
7757 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7758 NO_TLS_DIRECT_SEG_REFS.
7759 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7760 Fix argument offsets for non-PIC.
7761 [USE_AS_STRNCASECMP_L]: Likewise.
7762 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7763 NO_TLS_DIRECT_SEG_REFS.
7764
d62a8200
UD
77652011-11-15 Ulrich Drepper <drepper@gmail.com>
7766
9d65ea3a 7767 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7768 O_CLOEXEC.
7769 * locale/loadlocale.c (_nl_load_locale): Likewise.
7770
09f93bd3
AS
77712011-11-15 Andreas Schwab <schwab@redhat.com>
7772
446514f9
AS
7773 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7774 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7775 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7776 (SYSCALL_GETTIME): Set errno on error.
7777
09f93bd3
AS
7778 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7779 count references to noai6ai_cached.
7780
312be3f9
UD
77812011-11-15 Ulrich Drepper <drepper@gmail.com>
7782
7783 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7784
7785 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7786 FD_CLOEXEC for /proc/self/maps.
7787
7788 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7789 FD_CLOEXEC for /proc/meminfo.
7790
7791 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7792 gai.conf.
7793
7794 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7795 FD_CLOEXEC for given file.
7796
7797 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7798
7799 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7800 FD_CLOEXEC for /etc/hosts.
7801 (_gethtent): Likewise.
7802
7803 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7804
7805 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7806 cancellation and set FD_CLOEXEC for /etc/netgroup.
7807
7808 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7809 reading /etc/publickey.
7810
7811 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7812 allow cancellation when reading /etc/group.
7813
7814 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7815 cancellation.
7816 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7817
7818 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7819 when using data file.
7820
7821 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7822
7823 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7824 (write_nis_obj): Use "c" and "e" in fopen.
7825
7826 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7827
7828 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7829
7830 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7831
7832 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7833
7834 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7835 locale.alias.
7836
7837 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7838
7839 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7840
7841 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7842
7843 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7844 file parsing and set FD_CLOEXEC.
7845
82af0fa8
UD
78462011-11-14 Ulrich Drepper <drepper@gmail.com>
7847
7848 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7849
a5fb313c
AS
78502011-11-14 Andreas Schwab <schwab@redhat.com>
7851
7852 * malloc/arena.c (arena_get2): Don't call reused_arena when
7853 _int_new_arena failed.
7854
6abf3465
UD
78552011-11-14 Ulrich Drepper <drepper@gmail.com>
7856
7857 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7858 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7859 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7860 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7861 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7862 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7863 to compile strcasecmp and strncasecmp.
7864 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7865 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7866
7867 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7868
76e3966e
UD
78692011-11-13 Ulrich Drepper <drepper@gmail.com>
7870
7871 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7872 locale-defines.sym to gen-as-const-headers.
7873 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7874 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7875 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7876 to compile strcasecmp and strncasecmp.
7877 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7878 strcasecmp_l and strncasecmp_l.
7879 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7880 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7881 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7882 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7883 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7884 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7885 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7886 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7887 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7888 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7889 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7890
ab26144e
UD
78912011-11-12 Ulrich Drepper <drepper@gmail.com>
7892
7edb22ef
UD
7893 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7894 result of SYSDEP_GETTIME_CPU to retval.
7895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7896 parameter list to macro. Remove trailing semicolon. Adjust users.
7897
9694fc44
UD
7898 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7899 variable.
7900
8ad89ef8
UD
7901 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7902 mantissa words.
7903 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7904
0c822ef9
UD
7905 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7906 from unused variable.
7907
874e0564
UD
7908 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7909 DWARF definitions.
7910 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7911 for assembling.
7912
3a2edc79
UD
7913 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7914 over namespaces.
7915
f3c2577f
UD
7916 * sunrpc/rpc_prot.c (rejected): Fix case value.
7917
294ce126
UD
7918 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7919 unsigned long long int to avoid warnings in shift.
7920
5e2b63c6
UD
7921 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7922 of use of trans.
7923 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7924 variable tmp.
7925
e7f4b08e
UD
7926 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7927 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7928 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7929
ab26144e
UD
7930 * nis/nis_table.c (nis_list): Use variable of correct type for
7931 result of __follow_path call.
7932
8a6d5255
AZ
79332011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7934
7935 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7936 of math functions ceil, trunc, floor, round, and sqrt, when
7937 avaliable on the platform.
7938 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7939 name clash.
7940 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7941 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7942 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7943
aaddc98c
MP
79442011-10-30 Marek Polacek <mpolacek@redhat.com>
7945
7946 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7948
95b7042b
RM
79492011-11-11 Roland McGrath <roland@hack.frob.com>
7950
7951 * include/unistd.h: Fix __readlink return type.
7952 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7953
57769839
UD
79542011-11-11 Ulrich Drepper <drepper@gmail.com>
7955
7956 * stdlib/ucontext.h: Undo last change for makecontext.
7957
edc5984d
AS
79582011-11-11 Andreas Schwab <schwab@redhat.com>
7959
98591e58
AS
7960 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7961
edc5984d
AS
7962 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
7963 * setjmp/setjmp.h: Mark functions as non-leaf.
7964 * setjmp/bits/setjmp2.h: Likewise.
7965 * stdlib/ucontext.h: Likewise.
7966
77cdc054
AS
79672011-11-10 Andreas Schwab <schwab@redhat.com>
7968
7969 * malloc/arena.c (_int_new_arena): Don't increment narenas.
7970 (reused_arena): Don't check arena limit.
7971 (arena_get2): Atomically check arena limit.
7972
fe72eebd
UD
79732011-11-08 Ulrich Drepper <drepper@gmail.com>
7974
5f078c32
UD
7975 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
7976 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
7977
fe72eebd
UD
7978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
7979 instructions.
7980
ae1bc2fa
AS
79812011-11-07 Andreas Schwab <schwab@redhat.com>
7982
7583a88d
AS
7983 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
7984 handler when locking.
7985
ae1bc2fa
AS
7986 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
7987 Fix size of allocated buffer.
7988
10fb0bfa
AS
79892011-11-04 Andreas Schwab <schwab@redhat.com>
7990
998832a4
AS
7991 [BZ #10103]
7992 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
7993 declarations for long double functions.
7994 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
7995
10fb0bfa
AS
7996 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
7997
3d7ba52b
AS
79982011-11-03 Andreas Schwab <schwab@redhat.com>
7999
a9ae54a1
AS
8000 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8001 installed.
8002
3d7ba52b
AS
8003 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8004 is disabled.
8005
bc8db248
ST
80062011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8007
8008 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8009
45b96dd6
AS
80102011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8011
647776f6
AS
8012 * include/alloca.h (stackinfo_alloca_round): Define.
8013 (extend_alloca): Use it.
8014 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8015 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8016 here.
8017
d91a8b93
AS
8018 * scripts/check-local-headers.sh: Ignore libaudit.h.
8019
45b96dd6
AS
8020 * nscd/Makefile (extra-objs): Make recursively expanded.
8021
432d41ce
UD
80222011-11-01 Ulrich Drepper <drepper@gmail.com>
8023
34372fc6
UD
8024 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8025 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8026
fadb59f8
UD
8027 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8028 * posix/tst-rfc3484-2.c: Likewise.
8029 * posix/tst-rfc3484-3.c: Likewise.
8030
78239589
UD
8031 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8032 process_vm_writev.
8033 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8034 process_vm_writev.
8035 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8036 process_vm_writev from libc using GLIBC_2.15 version.
8037
432d41ce
UD
8038 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8039
02f9c6cf
PP
80402011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8041
8042 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8043 stack usage.
8044
3a2c0242
UD
80452011-10-31 Ulrich Drepper <drepper@gmail.com>
8046
f4ec4833
UD
8047 [BZ #13367]
8048 * nss/getent.c (initgroups_keys): Show error message in case no group
8049 names are given.
8050
3a2c0242
UD
8051 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8052 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8053 __bump_nl_timestamp.
8054 * nscd/connections (nscd_init): When host database is served open
8055 netlink socket and request notification about configuration changes.
8056 (main_loop_poll): Track netlink file descriptor and bump timestamp
8057 in case data becomes available.
8058 (main_loop_epoll): Likewise.
8059 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8060 (database_pers_head): Add extra_data fileds.
8061 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8062 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8063 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8064 Adjust caller.
8065 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8066 in6ai data, call __free_in6ai.
8067 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8068 Add -DHAVE_NETLINK.
8069 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8070 interface information. Reuse previous data if netlink timestamp
8071 is not changed.
8072 (__bump_nl_timestamp): New function.
8073 (__free_in6ai): New function.
8074
636064eb
UD
80752011-10-30 Ulrich Drepper <drepper@gmail.com>
8076
8077 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8078 close_not_cancel_no_status here.
8079 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8080
9beb2334
UD
80812011-10-29 Ulrich Drepper <drepper@gmail.com>
8082
6ef76f3b
UD
8083 [BZ #13276]
8084 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8085 return value.
8086
0ffc4f3e 8087 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8088 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8089 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8090
cb95113e
UD
80912011-07-03 Andreas Jaeger <aj@suse.de>
8092
8093 [BZ #10709]
8094 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8095 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8096 * math/libm-test.inc (sin_test): Add test case.
8097
a1b560ff
UD
80982011-10-29 Ulrich Drepper <drepper@gmail.com>
8099
c9aaface
UD
8100 [BZ #13337]
8101 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8102 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8103
d272e7f1
UD
8104 * elf/chroot_canon.c (chroot_canon): Cleanups.
8105
1bc33071
UD
8106 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8107
1760874d
TJ
8108 [BZ #13335]
8109 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8110 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8111
51d91b18
UD
8112 * string/test-strchr.c: Make usable for strchrnul testing.
8113 * string/test-strchrnul.c: New file.
8114 * string/Makefile (strop-tests): Add strchrnul.
8115
a1b560ff 8116 * po/it.po: Update from translation team.
b611fb81 8117 * po/es.po: Likewise.
a1b560ff 8118
a5b81e1f
UD
81192011-10-28 Ulrich Drepper <drepper@gmail.com>
8120
fd52bc6d
UD
8121 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8122 the three constants needed as parameters. Drop the others.
8123 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8124 __m128i_strloadu_tolower.
52e4b9eb
UD
8125 Create and initialize variable zero and use it in all the places
8126 where _mm_setzero_si128 was used.
fd52bc6d 8127
a5b81e1f
UD
8128 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8129 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8130 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8131 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8132 anymore.
8133 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8134 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8135 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8136 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8137 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8138 __mpranred, __mptan.
8139 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8140 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8141 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8142 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8143 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8144 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8145 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8146 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8147 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8148
b4343346
AS
81492011-10-28 Andreas Schwab <schwab@redhat.com>
8150
0c92d8a8
AS
8151 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8152 redefine if SHARED.
8153 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8154
b4343346
AS
8155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8156 wide char related routines to wcsmbs subdir.
8157
3871f58f
AS
81582011-10-27 Andreas Schwab <schwab@redhat.com>
8159
8160 [BZ #13344]
8161 * misc/sys/cdefs.h (__THROWNL): Define.
8162 * posix/unistd.h: Use __THREADNL instead of __THREAD
8163 for memory synchronization functions.
8164
94d44d9f
RM
81652011-10-26 Roland McGrath <roland@hack.frob.com>
8166
21b64b15 8167 [BZ #13349]
94d44d9f
RM
8168 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8169 doesn't exist.
8170 * manual/stdio.texi (Obstack Streams): Node removed.
8171
f6ce9294
AS
81722011-10-26 Andreas Schwab <schwab@redhat.com>
8173
80479147
AS
8174 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8175 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8176 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8177
f6ce9294
AS
8178 * math/math_private.h (math_force_eval): Allow non-addressable
8179 arguments.
8180 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8181
618280a1
UD
81822011-10-25 Ulrich Drepper <drepper@gmail.com>
8183
e0016b11
UD
8184 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8185 file is not needed.
8186
8187 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8188 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8189 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8190 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8191 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8192 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8193 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8194 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8195 Add AVX variants.
8196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8200 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8201 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8202 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8203 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8204 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8205 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8206 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8207 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8210 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8211 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8212 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8213 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8214 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8215
8216 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8217 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8218
618280a1
UD
8219 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8220 place. Use VEX encoding when compiling for AVX.
8221
37822576
AS
82222011-10-25 Andreas Schwab <schwab@redhat.com>
8223
1f1e1947
AS
8224 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8225 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8226
37822576
AS
8227 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8228
31ea014d
UD
82292011-10-25 Ulrich Drepper <drepper@gmail.com>
8230
d7826aa1 8231 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8232 useless if() expression.
d7826aa1
UD
8233 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8234 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8235 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8236 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8237 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8239 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8240 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8241 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8242 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8243 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8244 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8245 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8246 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8247 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8248 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8249 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8250 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8251 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8252
31ea014d
UD
8253 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8254
16437fec
AS
82552011-10-25 Andreas Schwab <schwab@redhat.com>
8256
8257 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8258 condition.
8259 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8260
31d3cc00
UD
82612011-10-25 Ulrich Drepper <drepper@gmail.com>
8262
8263 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8264 .text section. Avoid duplicate constants.
8265 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8266 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8267 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8268 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8269 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8270 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8271 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8275 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8277 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8280 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8281 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8282 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8283 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8284 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8285 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8286 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8287 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8288 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8289 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8290 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8291 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8292 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8293 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8294 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8295 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8296 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8297 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8298 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8299 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8300 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8301 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8302 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8303 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8304 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8305 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8306 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8307 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8308 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8309 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8310
58985aa9
UD
83112011-10-24 Ulrich Drepper <drepper@gmail.com>
8312
202c9deb
UD
8313 * sysdeps/x86_64/dla.h: Move to ...
8314 * sysdeps/x86_64/fpu/dla.h: ...here.
8315 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8316 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8317
af968f62
UD
8318 * config.make.in: Add have-mfma4 entry.
8319 * configure.in: Substitute libc_cv_cc_fma4.
8320 * math/Makefile (dbl-only-routines): Add sincostab.
8321 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8322 Use __sincostab not sincos.
8323 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8324 name is a macro.
8325 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8329 using __copysign.
8330 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8331 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8332 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8333 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8334 and __inv.
8335 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8336 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8337 __copysign.
8338 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8339 define aliases when function name is a macro.
8340 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8341 sysdeps/ieee754/dbl-64/sincos.tbl.
8342 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8343 fma4-enabled routines.
8344 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8345 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8346 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8347 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8350 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8352 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8353 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8354 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8355 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8356 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8357 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8358 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8359 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8360 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8361 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8362 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8363 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8364 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8365 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8366 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8367 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8368 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8371 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8372 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8373 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8374
58985aa9
UD
8375 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8376 rename.
8377 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8378 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8379 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8380 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8381 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8382 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8385
a201fbcf
AS
83862011-10-24 Andreas Schwab <schwab@redhat.com>
8387
8388 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8389
fc2ee42a
LD
83902011-10-23 Ulrich Drepper <drepper@gmail.com>
8391
bb3129bd
UD
8392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8393
0275fff8
UD
8394 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8395 prediction.
8396 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8397
2fa2ae85
UD
8398 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8399 Remove unused variable magic_bits.
8400 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8401
fc2ee42a
LD
8402 * string/strnlen.c: Define and use STRNLEN macro.
8403 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8404 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8406 * wcsmbs/wcslen.c: Define and use WCSLEN.
8407 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8408 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8409 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8410 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8411 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8412 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8413 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8414
ce7dd29f
LD
84152011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8416
8417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8418 strnlen-sse2-no-bsf.
8419 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8420 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8421 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8422 Add strnlen support.
8423 (USE_AS_STRNLEN): New macro.
8424 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8425 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8426 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8427 * sysdeps/x86_64/wcslen.S: New file.
8428
979c70a3
MZ
84292011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8430
8431 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8432 XMM-moves are used for copying on small sizes.
8433
2d09f82f
LD
84342011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8435
8436 * wcsmbs/Makefile (strop-tests): Add wcschr.
8437 * wcsmbs/test-wcschr.c: New file.
8438 * string/test-strchr.c: Update.
8439 Add wcschr support.
8440 (WIDE): New macro.
8441
619fccca
LD
84422011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8443
2d09f82f 8444 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8445 * wcsmbs/test-wcslen.c: New file.
8446 * string/test-strlen.c: Update.
8447 Add wcslen support.
8448 (WIDE): New macro.
8449
09f699ea
UD
84502011-10-23 Ulrich Drepper <drepper@gmail.com>
8451
8452 * po/it.po: Update from translation team.
8453
95584d3b
LD
84542011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8455
8456 * sysdeps/x86_64/wcscmp.S: Update.
8457 Fix wrong comparison semantics.
8458 wcscmp shall use signed comparison not unsigned.
8459 Don't use substraction to avoid overflow bug.
8460 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8461 * wcsmbc/wcscmp.c: Likewise.
8462 * string/test-strcmp.c: Likewise.
8463 Add new tests to check cases with negative values.
8464
c8b3296b
UD
84652011-10-23 Ulrich Drepper <drepper@gmail.com>
8466
8467 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8468 * sysdeps/x86_64/dla.h: ...here. New file.
8469 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8470 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8475 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8477 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8478
246ad57a
AS
84792011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8480
8481 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8482 __ynl_finite aliases.
8483
a1a87169
UD
84842011-10-22 Ulrich Drepper <drepper@gmail.com>
8485
0d355eb7
UD
8486 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8487
a1a87169
UD
8488 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8489 define DLA_FMA.
8490 [DLA_FMA] (EMULV): Use DLA_FMA.
8491 [DLA_FMA] (MUL12): Use EMULV.
8492 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8493 that are not needed.
8494 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8495 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8498 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8500 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8501
ee2aafe0
AS
85022011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8503
8504 * math/s_nan.c: Undef __nan.
8505 * math/s_nanf.c: Undef __nanf.
8506 * math/s_nanl.c: Undef __nanl.
8507 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8508 "math_private.h".
8509
bc62c2fb
UD
85102011-10-22 Ulrich Drepper <drepper@gmail.com>
8511
77425c63
UD
8512 * math/s_catan.c: Add branch predictions.
8513 * math/s_catanf.c: Likewise.
8514 * math/s_catanh.c: Likewise.
8515 * math/s_catanhf.c: Likewise.
8516 * math/s_catanhl.c: Likewise.
8517 * math/s_catanl.c: Likewise.
8518 * math/s_cexp.c: Likewise.
8519 * math/s_cexpf.c: Likewise.
8520 * math/s_cexpl.c: Likewise.
8521 * math/s_clog.c: Likewise.
8522 * math/s_clog10.c: Likewise.
8523 * math/s_clog10f.c: Likewise.
8524 * math/s_clog10l.c: Likewise.
8525 * math/s_clogf.c: Likewise.
8526 * math/s_clogl.c: Likewise.
8527 * math/s_csqrt.c: Likewise.
8528 * math/s_csqrtf.c: Likewise.
8529 * math/s_csqrtl.c: Likewise.
8530 * math/s_ctanf.c: Likewise.
8531 * math/s_ctanh.c: Likewise.
8532 * math/s_ctanhf.c: Likewise.
8533 * math/s_ctanhl.c: Likewise.
8534 * math/s_ctanl.c: Likewise.
8535
bc62c2fb
UD
8536 * math/math_private.h: Define __nan, __nanf, __nanl.
8537 * math/s_cacosh.c: Include <math_private.h>.
8538 * math/s_cacoshl.c: Likewise.
8539 * math/s_casinh.c: Likewise.
8540 * math/s_casinhf.c: Likewise.
8541 * math/s_casinhl.c: Likewise.
8542 * math/s_ccos.c: Rely entire on ccosh.
8543 * math/s_ccosf.c: Rely entire on ccoshf.
8544 * math/s_ccosl.c: Rely entirely on ccoshl.
8545 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8546 Remove tests for FE_INVALID.
8547 * math/s_ccoshf.c: Likewise.
8548 * math/s_ccoshl.c: Likewise.
8549 * math/s_csin.c: Likewise.
8550 * math/s_csinf.c: Likewise.
8551 * math/s_csinh.c Likewise.
8552 * math/s_csinhf.c: Likewise.
8553 * math/s_csinhl.c: Likewise.
8554 * math/s_csinl.c: Likewise.
8555 * math/s_ctan.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8557 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8558 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8559
8ec250a4
UD
85602011-10-21 Ulrich Drepper <drepper@gmail.com>
8561
c196fed8
UD
8562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8563 compilation problems.
8564
8ec250a4
UD
8565 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8566 __builtin_expect.
8567
8d4f46c6
UD
85682011-10-20 Ulrich Drepper <drepper@gmail.com>
8569
ed72b654
UD
8570 * sysdeps/i386/configure.in: Test for -mfma4 option.
8571 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8572 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8573 COMMON_CPUID_INDEX_80000001.
8574 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8575 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8576 use it if FMA3 is not supported.
8577 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8578
8d4f46c6
UD
8579 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8580 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8581
d45c60c2
AS
85822011-10-20 Andreas Schwab <schwab@redhat.com>
8583
8584 [BZ #12892]
8585 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8586 it would create a cycle with a link time dependency.
8587
d9a4d2ab
UD
85882011-10-19 Ulrich Drepper <drepper@gmail.com>
8589
855d1560
UD
8590 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8591 instruction.
8592 * string/Makefile (strop-tests): Add rawmemchr.
8593 * string/test-rawmemchr.c: New file.
8594
d9a4d2ab
UD
8595 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8596 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8597 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8598 when compiling str{,n}casecmp and when AVX is available. Hook up
8599 new optimized code in initializers.
8600
8f3b1ffe
AS
86012011-10-19 Andreas Schwab <schwab@redhat.com>
8602
8603 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8604 __feraiseexcept instead of feraiseexcept.
8605
d38f1dba
UD
86062011-10-18 Ulrich Drepper <drepper@gmail.com>
8607
d9a8d0ab
UD
8608 * math/math_private.h: Define defaults for libc_fetestexcept and
8609 libc_feupdateenv.
8610 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8611 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8612 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8613 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8614 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8615 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8616 libc_fetestexcept and libc_feupdateenv.
8617
4855e3dd
UD
8618 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8619 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8620 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8621 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8622 libc_feholdexcept_setround.
8623
581d30e3
UD
8624 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8625 Add s_nearbyint-c and s_nearbyintf-c.
8626 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8627 nearbyintf inlines.
8628 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8629 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8630 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8631 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8632
d38f1dba
UD
8633 * math/math_private.h: Define defaults for libc_fegetround,
8634 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8635 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8636 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8637 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8638 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8639 standard functions.
8640 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8641 Remove comments and hacks for old compiler versions.
8642 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8643 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8644 libc_feholdexceptl.
8645
caa6c9d8
AS
86462011-10-18 Andreas Schwab <schwab@redhat.com>
8647
8648 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8649 (__feraiseexcept_renamed): Add __NTH.
8650 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8651 namespace violations.
8652
97c066e6
UD
86532011-10-17 Ulrich Drepper <drepper@gmail.com>
8654
99ce7b04
UD
8655 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8656
1004d182
UD
8657 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8658
228a984d
UD
8659 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8660 recently added interfaces.
8661 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8662
c8553a6a
UD
8663 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8664 about macro parameter expansion.
8665
ed22dcf6
UD
8666 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8667 __NO_MATH_INLINES is defined. Cleanups.
8668
8669 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8670 and __floorf is target has SSE4.1.
8671 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8672 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8673 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8674 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8675
b171c137
UD
8676 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8677 name.
8678 (floorf): Likewise.
8679
97c066e6
UD
8680 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8681
629f62ef
AS
86822011-10-17 Andreas Schwab <schwab@redhat.com>
8683
49a43d80
AS
8684 * misc/sys/cdefs.h: Fix last change.
8685
629f62ef
AS
8686 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8687 database lookup.
8688
e453f6cd
UD
86892011-10-16 Ulrich Drepper <drepper@gmail.com>
8690
aa78043a
UD
8691 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8692
ad0f5cad
UD
8693 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8694 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8699 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8700 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8701 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8702 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8703 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8704 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8705 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8706 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8707 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8708 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8710 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8711 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8712 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8713 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8714 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8715
8716 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8717 ceil, ceilf, floor, floorf.
8718
8719 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8720 Perform IRELATIVE relocations last.
8721
e453f6cd
UD
8722 * elf/do-rel.h: Add another parameter nrelative, replacing the
8723 local variable with the same name. Change name of the function
8724 to end in Rel or Rela (uppercase).
8725 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8726 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8727 elf_dynamic_do_##reloc function.
8728
fd5bdc09
UD
87292011-10-15 Ulrich Drepper <drepper@gmail.com>
8730
79b195b5
UD
8731 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8732 is sufficient, at least on modern CPUs.
8733
d4a28569
UD
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8735
b61099b5
UD
8736 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8737 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8738
bcf01e6d
UD
8739 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8740 __expl_finite.
8741 * math/bits/math-finite.h: Add entries for exp.
8742 * math/e_expl.c: Add __*_finite alias.
8743 * sysdeps/i386/fpu/e_exp.S: Likewise.
8744 * sysdeps/i386/fpu/e_expf.S: Likewise.
8745 * sysdeps/i386/fpu/e_expl.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8747 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8748 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8751 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8753
ba1a0d59
UD
8754 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8755 is sufficient, at least on modern CPUs.
8756
fd5bdc09
UD
8757 * ctype/ctype-info.c (__ctype_init): Define.
8758 * include/ctype.h (__ctype_init): Declare.
8759 (__ctype_b_loc): The variable is always initialized.
8760 (__ctype_toupper_loc): Likewise.
8761 (__ctype_tolower_loc): Likewise.
8762 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8763 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8764
7872cfb0
AS
87652011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8766
b468825a
AS
8767 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8768
7872cfb0
AS
8769 * configure.in: Also look in $cxxmachine/include for C++ system
8770 headers.
8771
be13f7bf
LD
87722011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8773
8774 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8775 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8776 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8777 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8778 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8779 (USE_AS_WMEMCMP): New macro.
8780 Fixing indents.
8781 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8782 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8783 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8784 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8785 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8786 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8787 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8788 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8789 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8790 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8791 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8792 (USE_AS_WMEMCMP): New macro.
8793 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8794 * sysdeps/string/test-memcmp.c: Update.
8795 Fix simple_wmemcmp.
8796 Add new tests.
8797 * wcsmbs/wmemcmp.c: Update.
8798 (WMEMCMP): New macro.
8799 Fix overflow bug.
8800
556a2007
AJ
88012011-10-12 Andreas Jaeger <aj@suse.de>
8802
8803 [BZ #13268]
8804 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8805
538faaa7
UD
88062011-10-15 Ulrich Drepper <drepper@gmail.com>
8807
ab6737ff
UD
8808 * libio/iofwide.c (do_length): Avoid warning.
8809
538faaa7
UD
8810 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8811
396a21b1
UD
88122011-10-14 Ulrich Drepper <drepper@gmail.com>
8813
cdf2901f
UD
8814 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8815
38ad40ce
UD
8816 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8817 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8818 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8819 * sysdeps/i386/i686/fpu/e_log.S: New file.
8820 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8821 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8822
396a21b1
UD
8823 * ctype/ctype.h: Add support for inlined isXXX functions when
8824 compiling C++ code.
8825
6b1f68c9
AS
88262011-10-14 Andreas Schwab <schwab@redhat.com>
8827
349290c0
AS
8828 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8829
6b1f68c9
AS
8830 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8831
f2282d42
RM
88322011-10-13 Roland McGrath <roland@hack.frob.com>
8833
8834 [BZ #13291]
8835 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8836
5298ffa8
AS
88372011-10-13 Andreas Schwab <schwab@redhat.com>
8838
714fad23
AS
8839 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8840 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8841 feraiseexcept.
8842
81dcc7fb
AS
8843 * sysdeps/x86_64/memrchr.S: Check for zero size.
8844
5298ffa8
AS
8845 * string/stratcliff.c: Add memrchr tests.
8846
951fbcec
LD
88472011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8848
8849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8850 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8851 rawmemchr-sse2 rawmemchr-sse2-bsf.
8852 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8853 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8854 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8855 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8856 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8857 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8858 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8859 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8860 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8861 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8862 * string/memrchr.c (MEMRCHR): New macro.
8863
0ac5ae23
UD
88642011-10-12 Ulrich Drepper <drepper@gmail.com>
8865
8866 Add integration with gcc's -ffinite-math-only and optimize wrapper
8867 functions in libm.
8868 * Versions.def: Define GLIBC_2.15 version for libm.
8869 * math/Makefile (headers): Add bits/math-finite.h.
8870 * math/bits/math-finite.h: New file.
8871 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8872 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8873 * math/e_acoshl.c: Add __*_finite alias.
8874 * math/e_acosl.c: Likewise.
8875 * math/e_asinl.c: Likewise.
8876 * math/e_atan2l.c: Likewise.
8877 * math/e_atanhl.c: Likewise.
8878 * math/e_coshl.c: Likewise.
8879 * math/e_exp10.c: Likewise.
8880 * math/e_exp10f.c: Likewise.
8881 * math/e_exp10l.c: Likewise.
8882 * math/e_exp2l.c: Likewise.
8883 * math/e_fmodl.c: Likewise.
8884 * math/e_gammal_r.c: Likewise.
8885 * math/e_hypotl.c: Likewise.
8886 * math/e_j0l.c: Likewise.
8887 * math/e_j1l.c: Likewise.
8888 * math/e_jnl.c: Likewise.
8889 * math/e_lgammal_r.c: Likewise.
8890 * math/e_log10l.c: Likewise.
8891 * math/e_log2l.c: Likewise.
8892 * math/e_logl.c: Likewise.
8893 * math/e_powl.c: Likewise.
8894 * math/e_sinhl.c: Likewise.
8895 * math/e_sqrtl.c: Likewise.
8896 * math/e_scalb.c: Completely rewritten and optimized.
8897 * math/e_scalbf.c: Likewise.
8898 * math/e_scalbl.c: Likewise.
8899 * math/w_acos.c: Likewise.
8900 * math/w_acosf.c: Likewise.
8901 * math/w_acosl.c: Likewise.
8902 * math/w_acosh.c: Likewise.
8903 * math/w_acoshf.c: Likewise.
8904 * math/w_acoshl.c: Likewise.
8905 * math/w_asin.c: Likewise.
8906 * math/w_asinf.c: Likewise.
8907 * math/w_asinl.c: Likewise.
8908 * math/w_atan2.c: Likewise.
8909 * math/w_atan2f.c: Likewise.
8910 * math/w_atan2l.c: Likewise.
8911 * math/w_atanh.c: Likewise.
8912 * math/w_atanhf.c: Likewise.
8913 * math/w_atanhl.c: Likewise.
8914 * math/w_exp10.c: Likewise.
8915 * math/w_exp10f.c: Likewise.
8916 * math/w_exp10l.c: Likewise.
8917 * math/w_fmod.c: Likewise.
8918 * math/w_fmodf.c: Likewise.
8919 * math/w_fmodl.c: Likewise.
8920 * math/w_j0.c: Likewise.
8921 * math/w_j0f.c: Likewise.
8922 * math/w_j0l.c: Likewise.
8923 * math/w_j1.c: Likewise.
8924 * math/w_j1f.c: Likewise.
8925 * math/w_j1l.c: Likewise.
8926 * math/w_jn.c: Likewise.
8927 * math/w_jnf.c: Likewise.
8928 * math/w_log.c: Likewise.
8929 * math/w_logf.c: Likewise.
8930 * math/w_logl.c: Likewise.
8931 * math/w_log10.c: Likewise.
8932 * math/w_log10f.c: Likewise.
8933 * math/w_log10l.c: Likewise.
8934 * math/w_log2.c: Likewise.
8935 * math/w_log2f.c: Likewise.
8936 * math/w_log2l.c: Likewise.
8937 * math/w_pow.c: Likewise.
8938 * math/w_powf.c: Likewise.
8939 * math/w_powl.c: Likewise.
8940 * math/w_remainder.c: Likewise.
8941 * math/w_remainderf.c: Likewise.
8942 * math/w_remainderl.c: Likewise.
8943 * math/w_scalb.c: Likewise.
8944 * math/w_scalbf.c: Likewise.
8945 * math/w_scalbl.c: Likewise.
8946 * math/w_sqrt.c: Likewise.
8947 * math/w_sqrtf.c: Likewise.
8948 * math/w_sqrtl.c: Likewise.
8949 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8950 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8951 used.
8952 * math/math_private.h: Declare __kernel_standard_f.
8953 * math/w_cosh.c: Remove cruft and optimize a bit.
8954 * math/w_coshf.c: Likewise.
8955 * math/w_coshl.c: Likewise.
8956 * math/w_exp2.c: Likewise.
8957 * math/w_exp2f.c: Likewise.
8958 * math/w_exp2l.c: Likewise.
8959 * math/w_hypot.c: Likewise.
8960 * math/w_hypotf.c: Likewise.
8961 * math/w_hypotl.c: Likewise.
8962 * math/w_lgamma.c: Likewise.
8963 * math/w_lgamma_r.c: Likewise.
8964 * math/w_lgammaf.c: Likewise.
8965 * math/w_lgammaf_r.c: Likewise.
8966 * math/w_lgammal.c: Likewise.
8967 * math/w_lgammal_r.c: Likewise.
8968 * math/w_sinh.c: Likewise.
8969 * math/w_sinhf.c: Likewise.
8970 * math/w_sinhl.c: Likewise.
8971 * math/w_tgamma.c: Likewise.
8972 * math/w_tgammaf.c: Likewise.
8973 * math/w_tgammal.c: Likewise.
8974 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
8975 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8976 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
8977 Minor optimizations. Pretty printing. Remove cruft.
8978 * sysdeps/i386/fpu/e_acosf.S: Likewise.
8979 * sysdeps/i386/fpu/e_acosh.S: Likewise.
8980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
8981 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
8982 * sysdeps/i386/fpu/e_acosl.c: Likewise.
8983 * sysdeps/i386/fpu/e_asin.S: Likewise.
8984 * sysdeps/i386/fpu/e_asinf.S: Likewise.
8985 * sysdeps/i386/fpu/e_atan2.S: Likewise.
8986 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
8987 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
8988 * sysdeps/i386/fpu/e_atanh.S: Likewise.
8989 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
8990 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
8991 * sysdeps/i386/fpu/e_exp10.S: Likewise.
8992 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
8993 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
8994 * sysdeps/i386/fpu/e_exp2.S: Likewise.
8995 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
8996 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
8997 * sysdeps/i386/fpu/e_fmod.S: Likewise.
8998 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
8999 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9000 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9001 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9002 * sysdeps/i386/fpu/e_log.S: Likewise.
9003 * sysdeps/i386/fpu/e_log10.S: Likewise.
9004 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9005 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9006 * sysdeps/i386/fpu/e_log2.S: Likewise.
9007 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9008 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9009 * sysdeps/i386/fpu/e_logf.S: Likewise.
9010 * sysdeps/i386/fpu/e_logl.S: Likewise.
9011 * sysdeps/i386/fpu/e_pow.S: Likewise.
9012 * sysdeps/i386/fpu/e_powf.S: Likewise.
9013 * sysdeps/i386/fpu/e_powl.S: Likewise.
9014 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9015 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9016 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9017 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9019 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9020 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9021 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9022 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9023 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9024 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9025 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9026 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9027 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9028 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9029 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9030 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9032 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9033 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9034 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9035 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9036 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9037 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9038 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9039 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9040 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9041 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9042 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9043 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9044 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9045 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9046 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9047 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9048 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9049 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9050 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9051 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9052 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9053 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9054 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9055 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9056 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9057 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9058 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9059 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9060 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9061 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9062 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9063 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9064 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9065 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9066 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9067 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9068 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9069 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9070 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9071 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9072 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9073 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9074 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9075 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9076 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9077 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9078 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9080 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9081 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9087 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9088 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9089 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9093 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9094 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9095 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9096 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9098 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9099 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9100 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9101 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9102 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9103 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9106 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9107 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9108 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9109 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9111 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9113 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9114 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9115 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9116 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9118 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9119 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9120 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9121 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9122 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9123 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9124 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9125 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9126 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9128 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9129 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9130 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9131 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9132 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9133 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9134 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9135 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9136 (__isnanf): Likewise.
9137 (__isinf_ns): Likewise.
9138 (__isinf_nsf): Likewise.
9139 (__finite): Likewise.
9140 (__finitef): Likewise.
9141 (__ieee754_sqrt): Define as macro.
9142 (__ieee754_sqrtf): Define as macro.
9143 (__ieee754_sqrtl): Define as macro.
9144 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9145 inlined copy.
9146 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9147 __FINITE_MATH_ONLY__ consistent.
9148 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9149
12cc2fcd
AS
91502011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9151
a843a204
AS
9152 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9153 of rawmemchr.
9154
12cc2fcd
AS
9155 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9156
c853acd5
UD
91572011-10-09 Ulrich Drepper <drepper@gmail.com>
9158
9159 * po/ja.po: Update from translation team.
9160
c658d255
RM
91612011-10-08 Roland McGrath <roland@hack.frob.com>
9162
110946e4
RM
9163 * locale/programs/locarchive.c (prepare_address_space): New function.
9164 (create_archive, enlarge_archive, open_archive): Use it.
9165
50604220
RM
9166 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9167 inside [SHARED], where it is used.
9168
c658d255
RM
9169 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9170
9171 * nss/getent.c (netgroup_keys): Remove unused variable.
9172 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9173
6a621eb7
UD
91742011-10-08 Ulrich Drepper <drepper@gmail.com>
9175
7edb55ce
UD
9176 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9177 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9178 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9179 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9180 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9181 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9182 * math/Makefile (libm-calls): Add s_isinf_ns.
9183 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9184 * math/multc3.c: Likewise.
9185 * math/s_casin.c: Likewise.
9186 * math/s_casinf.c: Likewise.
9187 * math/s_casinl.c: Likewise.
9188 * math/s_ccos.c: Likewise.
9189 * math/s_ccosf.c: Likewise.
9190 * math/s_ccosl.c: Likewise.
9191 * math/s_ctan.c: Likewise.
9192 * math/s_ctanf.c: Likewise.
9193 * math/s_ctanh.c: Likewise.
9194 * math/s_ctanhf.c: Likewise.
9195 * math/s_ctanhl.c: Likewise.
9196 * math/s_ctanl.c: Likewise.
9197 * math/w_fmod.c: Likewise.
9198 * math/w_fmodf.c: Likewise.
9199 * math/w_fmodl.c: Likewise.
9200 * math/w_remainder.c: Likewise.
9201 * math/w_remainderf.c: Likewise.
9202 * math/w_remainderl.c: Likewise.
9203 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9204 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9205 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9206 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9207 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9208 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9209 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9210 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9211
187da0ae
UD
9212 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9213 of the number.
9214 * stdio-common/printf_fphex.c: Likewise.
9215 * stdio-common/printf_size.c: Likewise.
9216
9277c064
UD
9217 * math/e_exp10.c: Include math_private.h using <...> not "...".
9218 * math/e_exp10f.c: Likewise.
9219 * math/e_exp10l.c: Likewise.
9220 * math/e_exp2l.c: Likewise.
9221 * math/e_j0l.c: Likewise.
9222 * math/e_j1l.c: Likewise.
9223 * math/e_jnl.c: Likewise.
9224 * math/e_lgammal_r.c: Likewise.
9225 * math/e_rem_pio2l.c: Likewise.
9226 * math/e_scalb.c: Likewise.
9227 * math/e_scalbf.c: Likewise.
9228 * math/e_scalbl.c: Likewise.
9229 * math/k_cosl.c: Likewise.
9230 * math/k_sinl.c: Likewise.
9231 * math/k_tanl.c: Likewise.
9232 * math/s_cacoshf.c: Likewise.
9233 * math/s_catan.c: Likewise.
9234 * math/s_catanf.c: Likewise.
9235 * math/s_catanh.c: Likewise.
9236 * math/s_catanhf.c: Likewise.
9237 * math/s_catanhl.c: Likewise.
9238 * math/s_catanl.c: Likewise.
9239 * math/s_ccosh.c: Likewise.
9240 * math/s_ccoshf.c: Likewise.
9241 * math/s_ccoshl.c: Likewise.
9242 * math/s_cexp.c: Likewise.
9243 * math/s_cexpf.c: Likewise.
9244 * math/s_cexpl.c: Likewise.
9245 * math/s_clog.c: Likewise.
9246 * math/s_clog10.c: Likewise.
9247 * math/s_clog10f.c: Likewise.
9248 * math/s_clog10l.c: Likewise.
9249 * math/s_clogf.c: Likewise.
9250 * math/s_clogl.c: Likewise.
9251 * math/s_csin.c: Likewise.
9252 * math/s_csinf.c: Likewise.
9253 * math/s_csinh.c: Likewise.
9254 * math/s_csinhf.c: Likewise.
9255 * math/s_csinhl.c: Likewise.
9256 * math/s_csinl.c: Likewise.
9257 * math/s_csqrt.c: Likewise.
9258 * math/s_csqrtf.c: Likewise.
9259 * math/s_csqrtl.c: Likewise.
9260 * math/s_ctan.c: Likewise.
9261 * math/s_ctanf.c: Likewise.
9262 * math/s_ctanh.c: Likewise.
9263 * math/s_ctanhf.c: Likewise.
9264 * math/s_ctanhl.c: Likewise.
9265 * math/s_ctanl.c: Likewise.
9266 * math/s_ldexp.c: Likewise.
9267 * math/s_ldexpf.c: Likewise.
9268 * math/s_ldexpl.c: Likewise.
9269 * math/s_significand.c: Likewise.
9270 * math/s_significandf.c: Likewise.
9271 * math/s_significandl.c: Likewise.
9272 * math/w_acos.c: Likewise.
9273 * math/w_acosf.c: Likewise.
9274 * math/w_acosh.c: Likewise.
9275 * math/w_acoshf.c: Likewise.
9276 * math/w_acoshl.c: Likewise.
9277 * math/w_acosl.c: Likewise.
9278 * math/w_asin.c: Likewise.
9279 * math/w_asinf.c: Likewise.
9280 * math/w_asinl.c: Likewise.
9281 * math/w_atan2.c: Likewise.
9282 * math/w_atan2f.c: Likewise.
9283 * math/w_atan2l.c: Likewise.
9284 * math/w_atanh.c: Likewise.
9285 * math/w_atanhf.c: Likewise.
9286 * math/w_atanhl.c: Likewise.
9287 * math/w_cosh.c: Likewise.
9288 * math/w_coshf.c: Likewise.
9289 * math/w_coshl.c: Likewise.
9290 * math/w_dremf.c: Likewise.
9291 * math/w_exp10.c: Likewise.
9292 * math/w_exp10f.c: Likewise.
9293 * math/w_exp10l.c: Likewise.
9294 * math/w_exp2.c: Likewise.
9295 * math/w_exp2f.c: Likewise.
9296 * math/w_fmod.c: Likewise.
9297 * math/w_fmodf.c: Likewise.
9298 * math/w_fmodl.c: Likewise.
9299 * math/w_hypot.c: Likewise.
9300 * math/w_hypotf.c: Likewise.
9301 * math/w_hypotl.c: Likewise.
9302 * math/w_j0.c: Likewise.
9303 * math/w_j0f.c: Likewise.
9304 * math/w_j0l.c: Likewise.
9305 * math/w_j1.c: Likewise.
9306 * math/w_j1f.c: Likewise.
9307 * math/w_j1l.c: Likewise.
9308 * math/w_jn.c: Likewise.
9309 * math/w_jnf.c: Likewise.
9310 * math/w_jnl.c: Likewise.
9311 * math/w_lgamma.c: Likewise.
9312 * math/w_lgamma_r.c: Likewise.
9313 * math/w_lgammaf.c: Likewise.
9314 * math/w_lgammaf_r.c: Likewise.
9315 * math/w_lgammal.c: Likewise.
9316 * math/w_lgammal_r.c: Likewise.
9317 * math/w_log.c: Likewise.
9318 * math/w_log10.c: Likewise.
9319 * math/w_log10f.c: Likewise.
9320 * math/w_log10l.c: Likewise.
9321 * math/w_log2.c: Likewise.
9322 * math/w_log2f.c: Likewise.
9323 * math/w_log2l.c: Likewise.
9324 * math/w_logf.c: Likewise.
9325 * math/w_logl.c: Likewise.
9326 * math/w_pow.c: Likewise.
9327 * math/w_powf.c: Likewise.
9328 * math/w_powl.c: Likewise.
9329 * math/w_remainder.c: Likewise.
9330 * math/w_remainderf.c: Likewise.
9331 * math/w_remainderl.c: Likewise.
9332 * math/w_scalb.c: Likewise.
9333 * math/w_scalbf.c: Likewise.
9334 * math/w_scalbl.c: Likewise.
9335 * math/w_sinh.c: Likewise.
9336 * math/w_sinhf.c: Likewise.
9337 * math/w_sinhl.c: Likewise.
9338 * math/w_sqrt.c: Likewise.
9339 * math/w_sqrtf.c: Likewise.
9340 * math/w_sqrtl.c: Likewise.
9341 * math/w_tgamma.c: Likewise.
9342 * math/w_tgammaf.c: Likewise.
9343 * math/w_tgammal.c: Likewise.
9344
6a621eb7
UD
9345 * po/ja.po: Update from translation team.
9346
bf582445
AJ
93472011-09-29 Andreas Jaeger <aj@suse.de>
9348
f9efbf3a
AJ
9349 [BZ #13179]
9350 * sunrpc/netname.c (netname2host): Fix logic.
9351
bf582445
AJ
9352 [BZ #6779]
9353 [BZ #6783]
9354 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9355 correctly.
9356 * math/w_remainder.c (__remainder): Likewise.
9357 * math/w_remainderf.c (__remainderf): Likewise.
9358 * math/libm-test.inc (remainder_test): Add test cases.
9359
48693bea
AK
93602011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9361
9362 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9363 sdiv_qrnnd.
9364
42622229
LD
93652011-10-07 Ulrich Drepper <drepper@gmail.com>
9366
9367 * string/test-memcmp.c: Avoid unncessary #defines.
9368 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9369
093ecf92
LD
93702011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9371
9372 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9373 Use new sse2 version for core i3 - i7 as it's faster
9374 than sse42 version.
9375 (bit_Prefer_PMINUB_for_stringop): New.
9376 * sysdeps/x86_64/rawmemchr.S: Update.
9377 Replace with faster SSE2 version.
9378 * sysdeps/x86_64/memrchr.S: New file.
9379 * sysdeps/x86_64/memchr.S: Update.
9380 Replace with faster SSE2 version.
9381
fde56e5c
MP
93822011-09-12 Marek Polacek <mpolacek@redhat.com>
9383
9384 * elf/dl-load.c (lose): Add cast to avoid warning.
9385
21fd49a9
UD
93862011-10-07 Ulrich Drepper <drepper@gmail.com>
9387
5a06e643
UD
9388 * po/ca.po: Update from translation team.
9389
684ae515
UD
9390 * inet/getnetgrent_r.c: Hook up nscd.
9391 * nscd/Makefile (routines): Add nscd_netgroup.
9392 (nscd-modules): Add netgroupcache.
9393 (CFLAGS-netgroupcache.c): Define.
9394 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9395 (cache_search): Add const to second parameter.
9396 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9397 INNETGR.
9398 (dbs): Add netgrdb entry.
9399 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9400 (verify_persistent_db): Handle netgrdb.
9401 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9402 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9403 GETFDNETGR.
9404 (netgroup_response_header): Define.
9405 (innetgroup_response_header): Define.
9406 (datahead): Add netgroup_response_header and innetgroup_response_header
9407 elements.
9408 * nscd/nscd.conf: Add entries for netgroup cache.
9409 * nscd/nscd.h (dbtype): Add netgrdb.
9410 (_PATH_NSCD_NETGROUP_DB): Define.
9411 (netgroup_iov_disabled): Declare.
9412 (xmalloc, xcalloc, xrealloc): Move declarations here.
9413 (cache_search): Adjust prototype.
9414 Add netgroup-related prototypes.
9415 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9416 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9417 (__nscd_innetgr): Declare.
9418 * nscd/selinux.c (perms): Use access_vector_t as element type and
9419 add netgroup-related initializers.
9420 * nscd/netgroupcache.c: New file.
9421 * nscd/nscd_netgroup.c: New file.
9422 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9423 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9424 For four parameters use innetgr.
9425 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9426 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9427 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9428 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9429
21fd49a9
UD
9430 * nscd/connections.c (register_traced_file): Don't register file
9431 for disabled databases.
9432
054c0457
UD
94332011-10-06 Ulrich Drepper <drepper@gmail.com>
9434
32b63198
UD
9435 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9436
054c0457
UD
9437 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9438 from tree and freeing node.
9439
64031225
JO
94402011-09-25 Jiri Olsa <jolsa@redhat.com>
9441
9442 * nss/nsswitch.c (__nss_database_lookup): Handle
9443 nss_parse_service_list out of memory case.
9444
0490345c
JO
94452011-09-15 Jiri Olsa <jolsa@redhat.com>
9446
9447 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9448 out of memory case.
9449
3a62d00d
AS
94502011-10-04 Andreas Schwab <schwab@redhat.com>
9451
9452 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9453 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9454 pass it down.
9455 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9456 elf_machine_rela, elf_machine_lazy_rel.
9457 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9458 (ELF_DYNAMIC_DO_REL): Likewise.
9459 (ELF_DYNAMIC_DO_RELA): Likewise.
9460 (ELF_DYNAMIC_RELOCATE): Likewise.
9461 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9462 to ELF_DYNAMIC_DO_REL.
9463 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9464 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9465 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9466 elf_machine_rela.
9467 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9468 skip_ifunc, don't call ifunc function if non-zero.
9469 (elf_machine_rela): Likewise.
9470 (elf_machine_lazy_rel): Likewise.
9471 (elf_machine_lazy_rela): Likewise.
9472 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9473 (elf_machine_lazy_rel): Likewise.
9474 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9475 Likewise.
9476 (elf_machine_lazy_rel): Likewise.
9477 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9478 Likewise.
9479 (elf_machine_lazy_rel): Likewise.
9480 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9481 (elf_machine_lazy_rel): Likewise.
9482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9483 (elf_machine_lazy_rel): Likewise.
9484 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9485 (elf_machine_lazy_rel): Likewise.
9486 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9487 (elf_machine_lazy_rel): Likewise.
9488 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9489 (elf_machine_lazy_rel): Likewise.
9490 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9491 (elf_machine_lazy_rel): Likewise.
9492
68577918
UD
94932011-09-28 Ulrich Drepper <drepper@gmail.com>
9494
9495 * nss/nss_files/files-init.c (_nss_files_init): Use static
9496 initialization for all the *_traced_file variables.
9497
68822d74
AS
94982011-09-28 Andreas Schwab <schwab@redhat.com>
9499
9500 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9501
2056100b
RM
95022011-09-27 Roland McGrath <roland@hack.frob.com>
9503
9504 [BZ #13226]
9505 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9506
32c76b63
AS
95072011-09-27 Andreas Schwab <schwab@redhat.com>
9508
9509 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9510 Reread the line before reparsing it.
9511
bf972c9d
AS
95122011-09-26 Andreas Schwab <schwab@redhat.com>
9513
9514 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9515
e057a1b5
JM
95162011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9517 Maxim Kuvyrkov <maxim@codesourcery.com>
9518 Joseph Myers <joseph@codesourcery.com>
9519
9520 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9521 if needed for __stack_chk_guard.
9522
bc7e1c36
RM
95232011-09-19 Roland McGrath <roland@hack.frob.com>
9524
ecb1482f
RM
9525 * sysdeps/posix/spawni.c (script_execute): Always define it.
9526 It will be optimized away if unused.
9527 (maybe_script_execute): New function.
9528 (__spawni): Call it.
9529
bc7e1c36
RM
9530 * Makerules: Don't include tls.make.
9531 (config-tls): Always set to thread.
9532 * tls.make.c: File removed.
9533
1c3b002b
MF
95342011-09-19 Mike Frysinger <vapier@gentoo.org>
9535
9536 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9537 * config.make.in (CPPFLAGS-config): New substituted variable.
9538
2840865d
UD
95392011-09-15 Ulrich Drepper <drepper@gmail.com>
9540
88738eb6
UD
9541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9542
cbf645a6 9543 [BZ #13192]
2840865d
UD
9544 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9545 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9546
b402e91a
RM
95472011-09-15 Roland McGrath <roland@hack.frob.com>
9548
9549 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9550 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9551 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9552 (CALL_FAIL): Likewise.
9553 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9554 (CALL_FAIL): Macro removed.
9555 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9556
4c1a1f71
UD
95572011-09-15 Ulrich Drepper <drepper@gmail.com>
9558
9559 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9560 for __FINITE_MATH_ONLY__ == 1.
9561
edc121be
AS
95622011-09-15 Andreas Schwab <schwab@redhat.com>
9563
9564 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9565 __ieee754_sqrt instead of sqrt.
9566 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9567 __ieee754_sqrtf instead of sqrtf.
9568 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9569 __floorf instead of floorf.
9570 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9571 __floorf, __truncf instead of floorf, truncf.
9572
cd205654
UD
95732011-09-14 Ulrich Drepper <drepper@gmail.com>
9574
ee4d0315
UD
9575 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9576
cd205654
UD
9577 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9578 __extern_always_inline.
9579 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9580 32-bit.
9581
48b67d71
AS
95822011-09-14 Andreas Schwab <schwab@redhat.com>
9583
9584 * elf/rtld.c (dl_main): Also relocate in dependency order when
9585 doing symbol dependency testing.
9586
1ae12c75
AS
95872011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9588
9589 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9590 Always define `refsym'.
9591
995a80df
AS
95922011-09-13 Andreas Schwab <schwab@redhat.com>
9593
e529793b
AS
9594 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9595 (__FD_ELT): Renamed from __FDELT.
9596 * misc/bits/select2.h (__FD_ELT): Likewise.
9597 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9598 __FD_MASK instead of __FDELT, __FDMASK.
9599 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9600 Likewise.
9601 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9602 Likewise.
9603
52d4fef8
AS
9604 * elf/Makefile (gen-ldd): Fix pattern.
9605
995a80df
AS
9606 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9607 (init_tls): Likewise.
9608
8682f8b0
UD
96092011-09-12 Ulrich Drepper <drepper@gmail.com>
9610
9611 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9612
de82006d
AS
96132011-09-12 Andreas Schwab <schwab@redhat.com>
9614
a7c8e6a1
AS
9615 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9616 `struct cmsghdr *' instead of `void *'.
9617 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9618 Likewise.
9619
0f31fe77
AS
96202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9621
9622 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9623 if non-absolute.
9624 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9625 ldd_rewrite_script.
0f31fe77 9626
32b4c839
UD
96272011-09-11 Ulrich Drepper <drepper@gmail.com>
9628
83cd1420
UD
9629 * configure.in: Remove --with-tls option.
9630 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9631 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9632 out in case it is missing.
9633 * sysdeps/ia64/elf/configure.in: Likewise.
9634 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9635 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9636 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9637 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9638 * sysdeps/sh/elf/configure.in: Likewise.
9639 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9640 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9641 * sysdeps/x86_64/elf/configure.in: Likewise.
9642 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9643 * sysdeps/mach/hurd/tls.h: Likewise.
9644
633f745d
UD
9645 [BZ #13067]
9646 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9647
f318beb8
UD
9648 [BZ #13090]
9649 * configure.in: Fix use of AC_INIT.
9650
32b4c839
UD
9651 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9652
3ce1f295
UD
96532011-09-10 Ulrich Drepper <drepper@gmail.com>
9654
bb016596
UD
9655 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9656 __set_errno.
8e58439c
UD
9657 * malloc/hooks.c: Likewise.
9658
aebae053 9659 [BZ #11929]
02d46fc4
UD
9660 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9661 variables statically.
9662 (narenas): Initialize.
9663 (list_lock): Initialize.
bb016596
UD
9664 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9665 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9666 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9667 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9668 Add initializers to main_arena and mp_.
9669 (malloc_state): Remove pagesize member. Change all users to use
9670 GLRO(dl_pagesize).
9671
9672 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9673 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9674 is always initialized.
9675
22a89187
UD
9676 * malloc/malloc.c: Removed unused configurations and dead code.
9677 * malloc/arena.c: Likewise.
9678 * malloc/hooks.c: Likewise.
02d46fc4 9679 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9680
d063d164
UD
9681 * include/tls.h: Removed. USE___THREAD must always be defined.
9682 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9683 * elf/dl-libc.c: Likewise.
9684 * elf/dl-tsd.c: Likewise.
9685 * include/errno.h: Likewise.
9686 * include/netdb.h: Likewise.
9687 * include/resolv.h: Likewise.
9688 * inet/herrno-loc.c: Likewise.
9689 * inet/herrno.c: Likewise.
9690 * malloc/arena.c: Likewise.
9691 * malloc/hooks.c: Likewise.
9692 * malloc/malloc.c: Likewise.
9693 * resolv/res-state.c: Likewise.
9694 * resolv/res_libc.c: Likewise.
9695 * sysdeps/i386/dl-machine.h: Likewise.
9696 * sysdeps/ia64/dl-machine.h: Likewise.
9697 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9698 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9699 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9700 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9701 * sysdeps/sh/dl-machine.h: Likewise.
9702 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9704 * sysdeps/unix/i386/sysdep.S: Likewise.
9705 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9706 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9707 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9708 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9709 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9711 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9714 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9715 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9716 * sysdeps/x86_64/dl-machine.h: Likewise.
9717 * tls.make.c: Likewise.
9718
3ce1f295
UD
9719 * configure.in: Remove --with-__thread option. Make tests for
9720 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9721 tls_model attribute fail if no support is available. Remove
9722 USE_IN_LIBIO.
9723 * Makeconfig: Adjust for dropped configure option. All features are
9724 now mandatory.
9725 * Makerules: Likewise.
9726 * Versions.def: Likewise.
9727 * argp/argp-fmtstream.c: Likewise.
9728 * argp/argp-fmtstream.h: Likewise.
9729 * argp/argp-help.c: Likewise.
9730 * assert/assert.c: Likewise.
9731 * config.h.in: Likewise.
9732 * config.make.in: Likewise.
9733 * configure: Likewise.
9734 * configure.in: Likewise.
9735 * csu/Versions: Likewise.
9736 * csu/init.c: Likewise.
9737 * elf/tst-audit2.c: Likewise.
9738 * elf/tst-tls10.c: Likewise.
9739 * elf/tst-tls10.h: Likewise.
9740 * elf/tst-tls11.c: Likewise.
9741 * elf/tst-tls12.c: Likewise.
9742 * elf/tst-tls14.c: Likewise.
9743 * elf/tst-tlsmod11.c: Likewise.
9744 * elf/tst-tlsmod12.c: Likewise.
9745 * elf/tst-tlsmod13.c: Likewise.
9746 * elf/tst-tlsmod13a.c: Likewise.
9747 * elf/tst-tlsmod14a.c: Likewise.
9748 * elf/tst-tlsmod15b.c: Likewise.
9749 * elf/tst-tlsmod16a.c: Likewise.
9750 * elf/tst-tlsmod16b.c: Likewise.
9751 * elf/tst-tlsmod7.c: Likewise.
9752 * elf/tst-tlsmod8.c: Likewise.
9753 * elf/tst-tlsmod9.c: Likewise.
9754 * gmon/gmon.c: Likewise.
9755 * grp/fgetgrent_r.c: Likewise.
9756 * grp/putgrent.c: Likewise.
9757 * hurd/fopenport.c: Likewise.
9758 * include/libc-symbols.h: Likewise.
9759 * include/tls.h: Likewise.
9760 * intl/gettextP.h: Likewise.
9761 * intl/loadinfo.h: Likewise.
9762 * locale/global-locale.c: Likewise.
9763 * locale/localeinfo.h: Likewise.
9764 * mach/devstream.c: Likewise.
9765 * malloc/arena.c: Likewise.
9766 * malloc/set-freeres.c: Likewise.
9767 * misc/err.c: Likewise.
9768 * misc/getttyent.c: Likewise.
9769 * misc/mntent_r.c: Likewise.
9770 * posix/getopt.c: Likewise.
9771 * posix/wordexp.c: Likewise.
9772 * pwd/fgetpwent_r.c: Likewise.
9773 * resolv/Versions: Likewise.
9774 * resolv/res_hconf.c: Likewise.
9775 * shadow/fgetspent_r.c: Likewise.
9776 * shadow/putspent.c: Likewise.
9777 * stdio-common/printf_fphex.c: Likewise.
9778 * stdio-common/tmpfile.c: Likewise.
9779 * stdlib/abort.c: Likewise.
9780 * stdlib/fmtmsg.c: Likewise.
9781 * sunrpc/auth_unix.c: Likewise.
9782 * sunrpc/clnt_perr.c: Likewise.
9783 * sunrpc/clnt_tcp.c: Likewise.
9784 * sunrpc/clnt_udp.c: Likewise.
9785 * sunrpc/clnt_unix.c: Likewise.
9786 * sunrpc/openchild.c: Likewise.
9787 * sunrpc/svc_simple.c: Likewise.
9788 * sunrpc/svc_tcp.c: Likewise.
9789 * sunrpc/svc_udp.c: Likewise.
9790 * sunrpc/svc_unix.c: Likewise.
9791 * sunrpc/xdr.c: Likewise.
9792 * sunrpc/xdr_array.c: Likewise.
9793 * sunrpc/xdr_rec.c: Likewise.
9794 * sunrpc/xdr_ref.c: Likewise.
9795 * sunrpc/xdr_stdio.c: Likewise.
9796
1248c1c4
PB
97972011-09-09 Ulrich Drepper <drepper@gmail.com>
9798
9799 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9800
98012011-07-03 Andreas Jaeger <aj@suse.de>
9802
9803 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9804 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9805 regenerate with gen-libm-tests.pl.
9806
98072010-05-12 Petr Baudis <pasky@suse.cz>
9808
9809 [BZ #11589]
9810 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9811 around j0() zero points by switching to j1().
9812 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9813 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9816
f22e1074
UD
98172011-09-09 Ulrich Drepper <drepper@gmail.com>
9818
f19009c1
UD
9819 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9820 instead of 0.
9821 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9822 instead of 0. .
9823 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9824 Patch in part by Pavel Roskin <proski@gnu.org>.
9825
3f8cc204
UD
9826 [BZ #13138]
9827 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9828 realloc.
9829 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9830 Free memory block if necessary.
9831
f22e1074
UD
9832 [BZ #12847]
9833 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9834 be NULL. Don't lock in this case.
9835
0a2349f9
RM
98362011-09-09 Roland McGrath <roland@hack.frob.com>
9837
9838 * elf/elf.h (ELFOSABI_GNU): New macro.
9839 (ELFOSABI_LINUX): Define to that.
9840
f3cdd467
DZ
98412011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9842
9843 * string/strncat.c (strncat): Undef the symbol in case it has been
9844 defined in bits/string.h.
9845
74718d13
UD
98462011-09-09 Ulrich Drepper <drepper@gmail.com>
9847
633e9e0f
UD
9848 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9849
0a2349f9 9850 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9851 link map.
9852
f9924780
AJ
98532011-08-17 Andreas Jaeger <aj@suse.de>
9854
9855 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9856
7f5517aa
PP
98572011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9858 Ian Lance Taylor <iant@google.com>
9859
9860 * math/libm-test.inc (lround_test): New testcase.
9861 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9862
762011fe
UD
98632011-09-08 Ulrich Drepper <drepper@gmail.com>
9864
92963737
UD
9865 * Makefile: Remove support for automatic cvs check-ins.
9866 * Makerules: Likewise.
9867 * config.make.in: Likewise.
9868 * configure.in: Likewise.
9869 * intl/Makefile: Likewise.
9870 * locale/Makefile: Likewise.
9871 * po/Makefile: Likewise.
9872 * posix/Makefile: Likewise.
9873 * sysdeps/gnu/Makefile: Likewise.
9874 * sysdeps/mach/hurd/Makefile: Likewise.
9875 * sysdeps/sparc/sparc32/Makefile: Likewise.
9876
b0727fd8
JS
9877 [BZ #13118]
9878 * posix/Makefile (bug-regex32-ENV): Define.
9879 Patch by John Stanley <jpsinthemix@verizon.net>.
9880
a0f33f99
UD
9881 * misc/Makefile (headers): Add bits/select2.h.
9882 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9883 * misc/bits/select2.h: New file.
9884 * include/bits/select2.h: New file.
9885 * debug/Makefile (routines): Add fdelt_chk.
9886 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9887 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9888 FD_ISSET.
9889 * debug/fdelt_chk.c: New file.
9890
762011fe
UD
9891 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9892 * wcsmbs/test-wmemcmp.c: Likewise.
9893 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9894 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9895
98962011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9897
9898 * string/Makefile (strop-tests): Add memcmp.
9899 * string/test-wmemcmp.c: New file.
9900 * string/test-memcmp.c: Add wmemcmp support.
9901
7f513ec8
RM
99022011-09-08 Roland McGrath <roland@hack.frob.com>
9903
0442afb4
RM
9904 [BZ #13153]
9905 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9906 2011-07-19 change.
9907
7f513ec8
RM
9908 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9909 garbage value in a __mach_port_mod_refs call in the cases of the
9910 task-self and thread-self ports.
9911
a12b2239
ST
99122011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9913
9914 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9915
610f9ab4
AS
99162011-09-08 Andreas Schwab <schwab@redhat.com>
9917
7f513ec8 9918 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9919
48882a1a
LD
99202011-09-07 Ulrich Drepper <drepper@gmail.com>
9921
b49865be
UD
9922 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9923
fdc86bc9
UD
9924 * elf/dl-libc.c (dlerror_run): Pass back error code from
9925 dl_catch_error.
9926
c966526a
UD
9927 [BZ #13123]
9928 * elf/dl-load.c (lose): Free l_origin if it is valid.
9929
48882a1a
LD
9930 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9931 names.
9932 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9933 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9934 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9935 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9936 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9937 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9938
77a2a8b4
AZ
99392011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9940
9941 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9942 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9943 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9944 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9945 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9946 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9947 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9948 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9949 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9950 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9951
24f579d8
AM
99522011-08-15 Alan Modra <amodra@gmail.com>
9953
9954 [BZ #13092]
9955 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9956 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9957 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9958 ppc_mcount to static-only-routines.
9959 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9960 __mcount_internal.
9961 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
9962 __mcount_internal with usual JUMPTARGET. Remove useless nop.
9963
3d4837df
UD
99642011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
9965
9966 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
9967 for finite and infinity parameters.
9968
22700377
WS
99692011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
9970
9971 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
9972 and add nop instructions for throughput optimization.
9973 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9974
5025581e
WS
99752011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
9976
9977 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
9978 aligned copy for power7 with vector-scalar instructions.
9979 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9980
08a300c9
L
99812011-07-24 H.J. Lu <hongjiu.lu@intel.com>
9982
9983 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
9984 AVX check.
9985
59178ef9
AS
99862011-09-07 Andreas Schwab <schwab@redhat.com>
9987
9988 [BZ #13144]
9989 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
9990 last change.
9991
e38ba7ab
UD
99922011-09-07 Ulrich Drepper <drepper@gmail.com>
9993
9994 * sysdeps/unix/sysv/linux/x86_64/init-first.c
9995 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
9996 syscall wrapper around clock_gettime in __vdso_clock_gettime.
9997 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
9998 clock_gettime.
9999
d53a73ac
UD
100002011-09-06 Ulrich Drepper <drepper@gmail.com>
10001
fc8bffcc
UD
10002 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10003 Forgot to demangle the pointer.
10004
ceaa0c5d
UD
10005 * sysdeps/i386/sysdep.h: Define atom_text_section.
10006 * sysdeps/x86_64/sysdep.h: Likewise.
10007 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10008 section with atom_text_section.
10009 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10010 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10011 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10012 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10013 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10014
a77d3c17
UD
10015 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10016 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10017 already be defined. Change to take two parameters and don't assign
10018 result to variable. Adjust all users.
10019 Define INTERNAL_GETTIME if not already defined.
10020 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10021 call.
10022 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10023 HAVE_CLOCK_GETTIME_VSYSCALL.
10024 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10025
d53a73ac
UD
10026 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10027 gettimeofday vsyscall, just use time.
10028
a8f84144
AS
100292011-09-06 Andreas Schwab <schwab@redhat.com>
10030
10031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10032 <errno.h>.
10033
ef606249
UD
100342011-09-06 Ulrich Drepper <drepper@gmail.com>
10035
10036 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10037 syscall on x86-64.
10038 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10039 syscall.
10040 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10041 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10042 syscall if possible.
10043
6585cb60
UD
100442011-09-05 Ulrich Drepper <drepper@gmail.com>
10045
10046 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10047 e_ident. Don't pass to find_mapsXX.
10048 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10049
a5f524e4
LD
100502011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10051
10052 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10053 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10054 * sysdeps/x86_64/multiarch/strchr.S: Update.
10055 Check bit_slow_BSF bit.
10056 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10057 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10058 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10059
554881ef
UD
100602011-09-05 Ulrich Drepper <drepper@gmail.com>
10061
d96de963
UD
10062 [BZ #13134]
10063 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10064 before glibc 2.15.
10065 (tryshell): Define.
10066 (__spawni): Change last parameter to be flag. Test
10067 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10068 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10069 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10070 * posix/spawni.c: Likewise.
10071 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10072 * posix/spawnp.c: Likewise. Change normal version to use
10073 SPAWN_XFLAGS_USE_PATH.
10074 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10075 SPAWN_XFLAGS_TRY_SHELL.
10076
d48e5868
UD
10077 [BZ #13150]
10078 * posix/glob.h: Remove gcc 1.x support.
10079
554881ef
UD
10080 [BZ #13068]
10081 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10082
693fb948
LD
100832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10084
10085 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10086 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10087 strrchr-sse2-bsf
10088 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10089 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10090 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10091 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10092 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10093 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10094
1b48c537
UD
100952011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10096
49d42c37
UD
10097 * sysdeps/x86_64/wcscmp.S: New file.
10098
1b48c537
UD
10099 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10100 wcscmp-c wcscmp-sse2
10101 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10102 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10103 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10104 * wcsmbs/wcscmp.c: Allow renaming.
10105
15c95c5d
DM
101062011-09-05 David S. Miller <davem@davemloft.net>
10107
10108 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10109 stack slot, rather than the struct return pointer slot.
10110 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10111 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10112 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10113 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10114
2f0ad8f3
UD
101152011-09-05 Ulrich Drepper <drepper@gmail.com>
10116
d88ae418
UD
10117 * po/ja.po: Update from translation team.
10118
2f0ad8f3
UD
10119 [BZ #13144]
10120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10121 kernel in 64-bit binaries.
10122
5f4318d1
DM
101232011-09-01 David S. Miller <davem@davemloft.net>
10124
10125 * elf/elf.h (HWCAP_SPARC_*): Move to..
10126 * sysdeps/sparc/sysdep.h: this new file and add new values.
10127 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10128 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10129 _DL_HWCAP_COUNT to 24.
10130 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10131 entries.
10132 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10133 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10134 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10135 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10136 instead of magic constants.
10137 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10138
3ba57516
DM
101392011-08-31 David S. Miller <davem@davemloft.net>
10140
10141 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10142 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10143 Reimplement to do errno handling inline.
10144 (SYSCALL_ERROR_HANDLER): New macro.
10145 (__SYSCALL_STRING): Do not do errno handling in asm.
10146 (__CLONE_SYSCALL_STRING): Delete.
10147 (__INTERNAL_SYSCALL_STRING): Delete.
10148 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10149 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10150 (PSEUDO): Reimplement to do errno handling inline.
10151 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10152 (SYSCALL_ERROR_HANDLER): New macro.
10153 (__SYSCALL_STRING): Do not do errno handling in asm.
10154 (__CLONE_SYSCALL_STRING): Delete.
10155 (__INTERNAL_SYSCALL_STRING): Delete.
10156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10157 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10158 i386.
10159 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10160 (inline_syscall*): Add 'err' argument.
10161 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10162 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10163 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10164 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10165
10166 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10167 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10168
2bc17433
AS
101692011-08-30 Andreas Schwab <schwab@redhat.com>
10170
10171 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10172
fbeb5f4d
JO
101732011-08-29 Jiri Olsa <jolsa@redhat.com>
10174
10175 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10176 directive.
10177
ad69cc26
DM
101782011-08-24 David S. Miller <davem@davemloft.net>
10179
10180 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10181
39dd69df
AS
101822011-08-24 Andreas Schwab <schwab@redhat.com>
10183
10184 * elf/Makefile: Add rules to build and run unload8 test.
10185 * elf/unload8.c: New file.
10186 * elf/unload8mod1.c: New file.
10187 * elf/unload8mod1x.c: New file.
10188 * elf/unload8mod2.c: New file.
10189 * elf/unload8mod3.c: New file.
10190
10191 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10192 it wasn't used.
10193
2c0b250a
DM
101942011-08-23 David S. Miller <davem@davemloft.net>
10195
10196 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10197 subtract stack bias.
10198 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10199 %sp not %fp in calculations.
10200 (_JMPBUF_UNWINDS_ADJ): Likewise.
10201
22044b48
DM
10202 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10203 (aio_suspend): Call it to force an exception region around the
10204 AIO_MISC_WAIT() invocation.
10205
2cae4995
AS
102062011-08-23 Andreas Schwab <schwab@redhat.com>
10207
10208 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10209 backslash.
10210
873a772e
AJ
102112011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10212
10213 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10214 protection macro.
10215 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10216 and <dl-machine.h>.
10217 (Elf64_FuncDesc): Remove.
10218
25ad0df1
DM
102192011-08-22 David S. Miller <davem@davemloft.net>
10220
10221 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10222 sigaltstack check, add missing cfi directives.
10223 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10224 missing cfi directives, and sigaltstack handling.
10225
e888bcbe
AS
102262011-08-16 Andreas Schwab <schwab@redhat.com>
10227
10228 [BZ #11724]
10229 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10230 object is seen twice.
10231 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10232
10233 * elf/Makefile (distribute): Add tst-initorder2.c.
10234 (tests): Add tst-initorder2.
10235 (modules-names): Add tst-initorder2a tst-initorder2b
10236 tst-initorder2c tst-initorder2d. Add rules to build them.
10237 ($(objpfx)tst-initorder2.out): New rule.
10238 * elf/tst-initorder2.c: New file.
10239 * elf/tst-initorder2.exp: New file.
10240
87162f46
AS
102412011-08-22 Andreas Schwab <schwab@redhat.com>
10242
70538b7f
AS
10243 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10244
f55ffe58
AS
10245 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10246 dependencies back to end of function.
10247
87162f46
AS
10248 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10249 $(elfobjdir)/ld.so.
10250
91b392a4
UD
102512011-08-21 Ulrich Drepper <drepper@gmail.com>
10252
10253 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10254 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10255 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10256 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10257 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10258 of __vdso_gettimeofday.
10259 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10260 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10261 attribute_hidden.
10262 (_libc_vdso_platform_setup): Remove initialization of
10263 __vdso_gettimeofday and __vdso_time.
10264
5c43483f
UD
102652011-08-20 Ulrich Drepper <drepper@gmail.com>
10266
775a77e7
UD
10267 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10268 and fgetc_unlocked.
10269 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10270 getc_unlocked.
89f447ed 10271
49c74ba9
UD
10272 * elf/dl-open.c (add_to_global): Report additions to the global scope
10273 for LD_DEBUG=scopes.
10274 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10275 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10276
5c43483f
UD
10277 [BZ #13114]
10278 * stdio-common/Makefile (tests): Add bug24.
10279 * stdio-common/bug24.c: New file.
10280
a101b025
AJ
102812011-08-19 Andreas Jaeger <aj@suse.de>
10282
10283 [BZ #13114]
10284 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10285 non-existant file when using close-on-exec mode.
10286
c88f1766
UD
102872011-08-20 Ulrich Drepper <drepper@gmail.com>
10288
0276a718
UD
10289 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10290 the very first instruction.
10291
c88f1766
UD
10292 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10293 the CFI state in the end.
10294 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10295 inclusion of dl-trampoline.h.
10296 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10297
51ccffa0
AS
102982011-08-19 Andreas Schwab <schwab@redhat.com>
10299
94d7165f
AS
10300 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10301 expectations for long double.
10302
51ccffa0
AS
10303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10304 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10305
fd708658 103062011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10307
10308 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10309 artificual limit depends upon the system page size.
10310
44f0a71e
UD
103112011-08-17 Ulrich Drepper <drepper@gmail.com>
10312
10313 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10314 * resolv/Makefile: Define CFLAGS-libresolv.
10315
8de79a24
AS
103162011-08-17 Andreas Schwab <schwab@redhat.com>
10317
10318 * nss/makedb.c (compute_tables): Make variables used in nested
10319 function static.
10320
27724598
UD
103212011-08-17 Ulrich Drepper <drepper@gmail.com>
10322
c5305d88
UD
10323 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10324 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10325 if buffer was too small.
10326
27724598
UD
10327 * elf/pldd.c (main): Attach to all threads in the process.
10328 Rewrite /proc handling to use *at functions.
10329
076fe015
UD
103302011-08-16 Ulrich Drepper <drepper@gmail.com>
10331
174baab3
UD
10332 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10333 specifies first scope to show.
10334 (dl_open_worker): Update callers. Move printing scope of new
10335 object to before the relocation.
44f0a71e 10336 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10337 * sysdeps/generic/ldsodefs.h: Update declaration.
10338
076fe015
UD
10339 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10340 string for the scope number.
10341
a60df2c3
UD
103422011-08-14 Ulrich Drepper <drepper@gmail.com>
10343
10344 * nscd/servicescache.c (cache_addserv): Make sure written is always
10345 initialized.
10346
5e4287d1
RM
103472011-08-14 Roland McGrath <roland@hack.frob.com>
10348
85ae0589
RM
10349 * sysdeps/i386/i486/bits/atomic.h
10350 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10351 statement expression, so as to suppress "set but not used" warning.
10352 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10353
69f63097
RM
10354 * string/strncat.c (STRNCAT): Use prototype definition.
10355
675456ef
RM
10356 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10357 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10358 -Iprograms here.
10359 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10360 (localedef-modules): Add localedef.
10361 (locale-modules): Add locale.
10362
5e4287d1
RM
10363 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10364 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10365 to avoid a warning.
10366
9c96ff23
DM
103672011-08-14 David S. Miller <davem@davemloft.net>
10368
10369 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10370 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10371
f9ddf089
UD
103722011-08-13 Ulrich Drepper <drepper@gmail.com>
10373
44f0a71e 10374 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10375 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10376 * elf/rtld.c (dl_main): Set l_name of vDSO.
10377 Call _dl_show_scope when DL_DEBUG_SCOPES.
10378 (process_dl_debug): Recognize scopes flag and also set it for all.
10379 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10380 Declare _dl_show_scope.
10381
1dc27704
UD
10382 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10383 (do_dlopen): Pass caller_dlopen to dl_open.
10384 (__libc_dlopen_mode): Initialize caller_dlopen.
10385
f9ddf089
UD
10386 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10387 of libc. Make tolower call locale-independent. Optimize a bit by
10388 using isdigit instead of isalnum.
10389 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10390
9ac533d3
UD
103912011-08-12 Ulrich Drepper <drepper@gmail.com>
10392
10393 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10394 was a dependency or dynamically loaded.
10395
89edf2e9
UD
103962011-08-11 Ulrich Drepper <drepper@gmail.com>
10397
8e999d29
UD
10398 * intl/l10nflist.c: Allow architecture-specific pop function.
10399 * sysdeps/x86_64/l10nflist.c: New file.
10400
89edf2e9
UD
10401 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10402 classification.
10403
14d96785
AS
104042011-08-10 Andreas Schwab <schwab@redhat.com>
10405
10406 * include/dirent.h: Add libc_hidden_proto for scandirat and
10407 scandirat64. Don't declare __scandirat64.
10408 * dirent/scandirat.c: Add libc_hidden_def.
10409 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10410 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10411
6761ac04
DM
104122011-08-10 David S. Miller <davem@davemloft.net>
10413
10414 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10415 enum.
10416 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10417 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10419
c55fbd1e
UD
104202011-08-09 Ulrich Drepper <drepper@gmail.com>
10421
10422 * Versions.def [libc]: Add GLIBC_2.15.
10423 * dirent/Makefile (routines): Add scandirat and scandirat64.
10424 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10425 GLIBC_2.15.
10426 * dirent/dirent.h: Declare scandirat and scandirat64.
10427 * dirent/scandirat.c: New file.
10428 * dirent/scandirat64.c: New file.
10429 * sysdeps/wordsize-64/scandirat.c: New file.
10430 * sysdeps/wordsize-64/scandirat64.c: New file.
10431 * dirent/opendir.c: Define opendirat.
10432 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10433 using scandirat.
10434 * dirent/scandir64.c: Adjust for scandir.c change.
10435 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10436 __scandirat64, and __scandir_cancel_handler.
10437 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10438 additional parameter and use openat instead of open (outside of ld.so).
10439 Add new __opendir as wrapper around __opendirat.
10440 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10441 here without requiring old scandirat implementation.
10442
879165f2
UD
104432011-08-08 Ulrich Drepper <drepper@gmail.com>
10444
10445 * dirent/scandir.c (cancel_handler): Renamed to
10446 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10447 defined. Adjust users.
10448 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10449 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10450
cb7e923b
UD
104512011-08-04 Ulrich Drepper <drepper@gmail.com>
10452
16292edd
UD
10453 * string/test-string.h (IMPL): Use __STRING to expand name and then
10454 stringify it.
10455
cb7e923b
UD
10456 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10457 of cleanups.
10458
cff82933
LD
104592011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10460
10461 * string/Makefile: Update.
10462 (strop-tests): Append strncat.
10463 * string/test-wcscmp.c: New file.
10464 New comprehensive test for wcscmp.
10465 * string/test-strcmp.c: Update.
10466 (WIDE): New define.
10467
9be9bfcc
AS
104682011-07-22 Andreas Schwab <schwab@redhat.com>
10469
10470 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10471 line.
10472
2e96f1c7
AS
104732011-07-26 Andreas Schwab <schwab@redhat.com>
10474
10475 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10476 encoding to ACE if AI_IDN.
10477
85188888
JJ
104782011-08-01 Jakub Jelinek <jakub@redhat.com>
10479
10480 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10481 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10482
5fa16e9b
LD
104832011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10484
10485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10486 Fix overflow bug in strncat.
10487 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10488
10489 * string/test-strncat.c: Update.
10490 Add new tests for checking overflow bugs.
10491
104922011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10493
10494 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10495 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10496 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10497 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10498 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10499 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10500 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10501 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10502 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10503
10504 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10505 (USE_AS_STRCAT): Define.
10506 Add strcat and strncat support.
10507 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10508
8c1a459f
AS
105092011-07-25 Andreas Schwab <schwab@redhat.com>
10510
10511 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10512 __n bigger than INT_MAX+1.
10513 (__strncmp_g): Likewise.
10514
bba33c28
UD
105152011-07-23 Ulrich Drepper <drepper@gmail.com>
10516
798be72d
UD
10517 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10518 * libio/stido.h: Likewise.
10519
8accd4dc
UD
10520 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10521 (AF_NFC): Define.
10522 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10523 (AF_NFC): Define.
10524
cbff0d96
UD
10525 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10526 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10527 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10528 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10529 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10530
9191c04a
UD
10531 [BZ #13021]
10532 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10533 installed.
10534
bba33c28
UD
10535 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10536 typo.
10537 (_dl_x86_64_save_sse): Likewise.
10538
90f139dd
UD
105392011-07-22 Ulrich Drepper <drepper@gmail.com>
10540
1aae088a
UD
10541 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10542 OSXSAVE.
10543 (_dl_x86_64_save_sse): Likewise.
10544
8e2045f5
UD
10545 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10546
90f139dd
UD
10547 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10548
1d002f25
AS
105492011-07-21 Andreas Schwab <schwab@redhat.com>
10550
10551 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10552 change.
10553 (_dl_x86_64_save_sse): Use correct AVX check.
10554
21137f89
UD
105552011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10556
10557 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10558 bug in strncpy/strncat.
10559 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10560
a65c0b7a
UD
105612011-07-21 Ulrich Drepper <drepper@gmail.com>
10562
10563 * string/tester.c (test_strcat): Add tests for different alignments
10564 of source and destination.
10565 (test_strncat): Likewise.
10566
6986b98a
UD
105672011-07-20 Ulrich Drepper <drepper@gmail.com>
10568
90bb2039
UD
10569 [BZ #12852]
10570 * posix/glob.c (glob): Check passed in values before using them in
10571 expressions to avoid some overflows.
10572 (glob_in_dir): Likewise.
10573
5644ef54
UD
10574 [BZ #13007]
10575 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10576 check for AVX enablement so that we don't crash with old kernels and
10577 new hardware.
10578 * elf/tst-audit4.c: Add same checks here.
10579 * elf/tst-audit6.c: Likewise.
10580
10581 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10582
bfc9dc9b
AS
105832011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10584
10585 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10586
702e64bb
UD
105872011-07-20 Ulrich Drepper <drepper@gmail.com>
10588
10589 * po/cs.po: Update from translation team.
10590 * po/bg.po: Likewise.
10591
295e904f
MP
105922011-07-12 Marek Polacek <mpolacek@redhat.com>
10593
10594 * misc/sys/cdefs.h: Add support for const attribute.
10595 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10596 to gnu_dev_{major,minor,makedev} functions.
10597
3ff94596
MP
105982011-07-20 Marek Polacek <mpolacek@redhat.com>
10599
10600 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10601
28b59fca
AS
106022011-07-20 Andreas Schwab <schwab@redhat.com>
10603
10604 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10605 strlen results.
10606
19df733e
AK
106072011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10608
10609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10610 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10611 register in order to avoid conflicts with the soft frame pointer
10612 being held in r11 when necessary.
10613 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10614 (INTERNAL_VSYSCALL_NCS): Likewise.
10615
c8835729
MP
106162011-07-14 Marek Polacek <mpolacek@redhat.com>
10617
10618 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10619 * elf/dl-fini.c (_dl_fini): Adjust caller.
10620 * elf/dl-close.c (_dl_close_worker): Likewise.
10621 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10622
b902330c
MP
106232011-07-15 Marek Polacek <mpolacek@redhat.com>
10624
8991e135
MP
10625 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10626 "aux_cache->nlibs < 0".
10627
b902330c
MP
10628 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10629 in the reload-count case.
10630
99710781
LD
106312011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10632
10633 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10634 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10635 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10636 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10637 * sysdeps/x86_64/multiarch/strcat.S: New file.
10638 * sysdeps/x86_64/multiarch/strncat.S: New file.
10639 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10640 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10641 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10642 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10643 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10644 (USE_AS_STRCAT): Define.
10645 Add strcat and strncat support.
10646 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10648 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10649 * string/strncat.c: Update.
10650 (USE_AS_STRNCAT): Define.
10651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10652 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10653 and i7.
10654 * sysdeps/x86_64/multiarch/init-arch.h
10655 (bit_Prefer_PMINUB_for_stringop): New.
10656 (index_Prefer_PMINUB_for_stringop): Likewise.
10657 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10658 bit_Prefer_PMINUB_for_stringop.
10659
7dc6bd90
UD
106602011-07-19 Ulrich Drepper <drepper@gmail.com>
10661
10662 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10663 buffer64.
10664 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10665 of casting of buffer.
10666 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10667 buffer32 and buffer64.
10668 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10669 writes instead of casting of buffer.
10670 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10671 buffer32.
10672 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10673 casting of buffer.
10674
e0e72284
AS
106752011-07-19 Andreas Schwab <schwab@redhat.com>
10676
10677 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10678
feb1eb0b
UD
106792011-07-19 Ulrich Drepper <drepper@gmail.com>
10680
10681 * nscd/nscd.c (termination_handler): Don't do anything for a database
10682 if it has not yet been initialized.
10683
298711ff
UD
106842011-07-18 Ulrich Drepper <drepper@gmail.com>
10685
10686 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10687
106882011-07-15 Marek Polacek <mpolacek@redhat.com>
10689
10690 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10691
f9d68389
UD
106922011-07-18 Ulrich Drepper <drepper@gmail.com>
10693
10694 * po/nl.po: Update from translation team.
10695 * po/sv.po: Likewise.
10696
db290cf5
RM
106972011-07-16 Roland McGrath <roland@hack.frob.com>
10698
10699 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10700 now disallowed by GCC.
5c550700 10701
fd5e21c7
RM
10702 * configure.in (use-default-link): Default to yes if a test -shared
10703 link meets our qualifications.
10704 * configure: Regenerated.
10705
5c550700
RM
10706 * config.make.in (output-format): New variable.
10707 * configure.in: Check for ld --print-output-format support.
10708 * configure: Regenerated.
10709 * Makerules ($(common-objpfx)format.lds)
10710 [$(output-format) != unknown]: Just use $(output-format),
10711 instead of the linker-script munging.
10712
9fa2c032
RM
107132011-07-14 Roland McGrath <roland@hack.frob.com>
10714
a6928d51
RM
10715 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10716 of $(common-objpfx)shlib.lds.
10717 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10718
661607b3
RM
10719 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10720 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10721
9fa2c032
RM
10722 * configure.in (-z relro check): Adjust test code to add a large
10723 writable data section after it.
10724 * configure: Regenerated.
10725
defe9061
RM
107262011-07-11 Roland McGrath <roland@hack.frob.com>
10727
10728 * configure.in (-z relro check): Fix test code to make the variable
10729 truly const.
10730 * configure: Regenerated.
10731
319b9ad4
UD
107322011-07-11 Ulrich Drepper <drepper@gmail.com>
10733
10734 * nscd/nscd.h (struct traced_file): Define.
10735 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10736 elements. Add traced_files.
10737 (inotify_fd): Declare.
10738 (register_traced_file): Declare.
10739 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10740 (inotify_fd): Export.
10741 (resolv_conf_descr): Remove.
10742 (nscd_init): Move inotify descriptor creation to main.
10743 Don't register files for notification here.
10744 (register_traced_file): New function.
10745 (invalidate_cache): Don't use reset_res to determine whether to call
10746 res_init, go through the list of registered files.
10747 (main_loop_poll): The inotify descriptors are now stored in the
10748 structures for the traced files.
10749 (main_loop_epoll): Likewise
10750 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10751 to __nss_disable_nscd.
10752 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10753 for a database anymore. Check the records for all the registered
10754 files instead.
10755 * nss/Makefile (libnss_files-routines): Add files-init.
10756 (libnss_db-routines): Add db-init.
10757 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10758 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10759 * nss/nss_db/db-init.c: New file.
10760 * nss/nss_files/files-init.c: New file.
10761 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10762 __nss_lookup_function.
10763 (__nss_lookup_function): Call nss_load_library.
10764 (nss_load_all_libraries): New function.
10765 (__nss_disable_nscd): Take parameter with callback function for files
10766 to register. Set is_nscd. Load all the DSOs for the NSS modules
10767 used for the cached services.
10768 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10769 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10770 options for features to all the files in nscd.
10771
10772 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10773
23bee3e8
RM
107742011-07-10 Roland McGrath <roland@hack.frob.com>
10775
10776 * csu/elf-init.c (__libc_csu_init): Comment typo.
10777
46a5b7f0
UD
107782011-07-09 Ulrich Drepper <drepper@gmail.com>
10779
10780 * po/pl.po: Update from translation team.
10781 * po/ja.po: Likewise.
10782 * po/ru.po: Likewise.
10783 * po/ko.po: Likewise.
10784 * po/fr.po: Likewise.
10785
d30cf5bb
RM
107862011-07-09 Roland McGrath <roland@hack.frob.com>
10787
113ddea4
RM
10788 * configure.in (.ctors/.dtors header and trailer check):
10789 Use an empirical test on a built program.
10790 * configure: Regenerated.
10791
574920b4
RM
10792 * configure.in (-z relro check): Use an empirical test on a built DSO.
10793 Detect, but do not require, on ia64.
10794 * configure: Regenerated.
10795
d30cf5bb
RM
10796 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10797 Update tests that use readelf to use $READELF instead.
10798 * configure: Regenerated.
10799
8538fdb3
UD
108002011-07-08 Ulrich Drepper <drepper@gmail.com>
10801
10802 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10803 if the result is not used.
10804
04d08991
AJ
108052011-07-05 Andreas Jaeger <aj@suse.de>
10806
10807 [BZ#9696]
10808 * stdlib/tst-strtod.c: Add testcase.
10809
de283087
AD
108102011-07-07 Ulrich Drepper <drepper@gmail.com>
10811
4e5f31c8 10812 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10813 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10814 The latter has a higher limit. Take additional parameter to pass to
10815 the new function.
10816 (__pathconf): Pass file to __statfs_link_max.
10817 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10818 __statfs_link_max.
10819 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10820 __statfs_link_max.
10821
de283087
AD
10822 [BZ #12868]
10823 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10824 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10825 Handle Lustre.
10826 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10827 (__statfs_filesize_max): Likewise.
10828 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10829
c75fa153
AJ
108302011-07-05 Andreas Jaeger <aj@suse.de>
10831
10832 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10833
1a544854
UD
108342011-07-06 Marek Polacek <mpolacek@redhat.com>
10835
10836 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10837 `status' variable.
10838 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10839 Likewise.
10840
6f0eec67
UD
108412011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10842
10843 * Makefile (strop-tests): Add strncat.
10844 * string/test-strncat.c: New file.
10845
aae30307
UD
108462011-06-30 Marek Polacek <mpolacek@redhat.com>
10847
10848 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10849
c0cfb5eb
UD
108502011-06-21 Andreas Jaeger <aj@suse.de>
10851
10852 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10853 Copy rule from iconvdata/Makefile.
10854
01636b21
UD
108552011-07-06 Ulrich Drepper <drepper@gmail.com>
10856
10857 [BZ #12922]
10858 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10859 but no long options are defined, just return 'W'.
10860
9895c8bc
UD
108612011-06-22 Marek Polacek <mpolacek@redhat.com>
10862
10863 [BZ #9696]
10864 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10865
5d4cf042
UD
108662011-07-06 Ulrich Drepper <drepper@gmail.com>
10867
10868 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10869 netgroups to read.
960e5535 10870 (innetgr): Likewise.
5d4cf042 10871
751eb97e
RM
108722011-07-05 Roland McGrath <roland@hack.frob.com>
10873
10874 * config.make.in (install_root): Default to $(DESTDIR).
10875
f15f1e45
UD
108762011-07-05 Ulrich Drepper <drepper@gmail.com>
10877
10878 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10879
4e34ac6a
RM
108802011-07-02 Roland McGrath <roland@hack.frob.com>
10881
5e9b6af4
RM
10882 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10883
84f9ea0f
RM
10884 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10885 containing directory rather than embedding absolute directory names.
10886
ea5ee9f7
RM
10887 * scripts/check-local-headers.sh: Rewritten using awk.
10888 Match by word, not by line. Print error messages for matches.
10889 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10890
1b74661a
RM
10891 * Makerules [shlib-lds-flags empty]:
10892 ($(common-objpfx)libc_pic.opts): New target.
10893 ($(common-objpfx)libc_pic.os.clean): New target.
10894 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10895
10896 * config.make.in (OBJCOPY): New variable.
10897 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10898 * configure: Regenerated.
10899
f781ef40
RM
10900 * config.make.in (use-default-link): New variable.
10901 * configure.in (use_default_link): Grok --with-default-link to set it.
10902 * configure: Regenerated.
10903 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10904 (shlib-lds, shlib-lds-flags): Define to empty.
10905
2d4fa81e
RM
10906 * Makerules (shlib-lds): New variable.
10907 (shlib-lds-flags): New variable.
10908 (build-shlib, build-moduile, build-module-asneeded): Use it.
10909 ($(common-objpfx)libc.so): Use $(shlib-lds).
10910 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10911 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10912
31fffa6b
RM
10913 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10914 DT_FLAGS/DT_FLAGS_1 with zero flags.
10915
4e34ac6a
RM
10916 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10917 linker script munging.
10918
fcfc776b
UD
109192011-07-02 Ulrich Drepper <drepper@gmail.com>
10920
10921 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10922 as 128-bit value.
10923 * crypt/sha512.c (sha512_process_block): Perform total addition using
10924 128-bit if possible.
10925 (__sha512_finish_ctx): Likewise.
10926 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10927 as 64-bit value.
10928 * crypt/sha256.c (SWAP64): Define.
10929 (sha256_process_block): Perform total addition using 64-bit if
10930 possible.
10931 (__sha256_finish_ctx): Likewise.
10932
99231d9a
UD
109332011-07-01 Ulrich Drepper <drepper@gmail.com>
10934
10935 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10936 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10937 * nscd/hstcache.c (cache_addhst): Likewise.
10938 * nscd/grpcache.c (cache_addgr): Likewise.
10939 * nscd/aicache.c (addhstaiX): Likewise
10940 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10941
445b4a53
TK
109422011-07-01 Thorsten Kukuk <kukuk@suse.de>
10943
10944 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10945 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10946 * nscd/hstcache.c (cache_addhst): Likewise.
10947 * nscd/grpcache.c (cache_addgr): Likewise.
10948 * nscd/aicache.c (addhstaiX): Likewise
10949
6d4d8e8e
AS
109502011-07-01 Andreas Schwab <schwab@redhat.com>
10951
10952 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10953 domain only when needed.
10954
89f654c5
AS
109552011-06-30 Andreas Schwab <schwab@redhat.com>
10956
10957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10958 is always restored.
10959
cf3b23ff
UD
109602011-06-29 Ulrich Drepper <drepper@gmail.com>
10961
10962 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
10963 are re-adding the entry.
10964 * nscd/servicescache.c (cache_addserv): Likewise.
10965
751626f9
AJ
109662011-06-30 Aurelien Jarno <aurelien@aurel32.net>
10967
10968 * sysdeps/generic/dl-irel.h: fix protection against multiple
10969 inclusions.
10970 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
10971
9113ea1f
UD
109722011-06-28 Ulrich Drepper <drepper@gmail.com>
10973
5c0b8d90
UD
10974 [BZ #12935]
10975 * malloc/memusage.sh: Fix quoting in message.
10976 * debug/xtrace.sh: Likewise.
10977
9113ea1f
UD
10978 * configure.in: Remove support for --experimental-malloc option, make
10979 it the default.
10980 * config.make.in: Likewise.
10981 * malloc/Makefile: Likewise.
10982
a4172181
AS
109832011-06-27 Andreas Schwab <schwab@redhat.com>
10984
10985 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
10986 two-byte characters.
10987
78a7eee7
RM
109882011-06-27 Roland McGrath <roland@hack.frob.com>
10989
62bede13
RM
10990 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
10991 AC_CACHE_CHECK invocation.
10992 * configure: Regenerated.
10993
78a7eee7
RM
10994 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
10995
5ce33a62
UD
109962011-06-27 Ulrich Drepper <drepper@gmail.com>
10997
034807a9
UD
10998 [BZ #12350]
10999 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11000 bit from old_res_options.
11001
4902da17
UD
11002 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11003
5ce33a62
UD
11004 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11005 value type for setfct.
11006
c2344f56
L
110072011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11008
11009 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11010 __gettimeofday instead of gettimeofday.
11011
68468076
UD
110122011-06-26 Ulrich Drepper <drepper@gmail.com>
11013
11014 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11015
acb0d739
L
110162011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11017
11018 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11019
11020 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11021 info.
11022
8912479f
L
110232011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11024
11025 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11026 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11027 strcpy-sse2-unaligned strncpy-sse2-unaligned
11028 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11029 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11030 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11031 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11032 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11033 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11034 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11035 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11036 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11037 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11038 (STRCPY): Support SSE2 and SSSE3 versions.
11039
d5495a11
UD
110402011-06-24 Ulrich Drepper <drepper@gmail.com>
11041
11042 [BZ #12874]
11043 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11044 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11045 kernels which artificially limit size of requests.
11046
0b1cbaae
L
110472011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11048
11049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11050 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11051 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11052 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11053 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11054 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11055 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11056 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11057 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11059 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11060 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11061 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11062 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11063 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11065 Enable unaligned load optimization for Intel Core i3, i5 and i7
11066 processors.
11067 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11068 Define.
11069 (index_Fast_Unaligned_Load): Define.
11070 (HAS_FAST_UNALIGNED_LOAD): Define.
11071
07f494a0
MP
110722011-06-23 Marek Polacek <mpolacek@redhat.com>
11073
11074 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11075
fa3fc0fe
UD
110762011-06-22 Ulrich Drepper <drepper@gmail.com>
11077
11078 [BZ #12907]
11079 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11080 until it is clear that the information is realy needed.
11081 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11082
e12df166
AS
110832011-06-22 Andreas Schwab <schwab@redhat.com>
11084
11085 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11086
852eb34d
UD
110872011-06-22 Ulrich Drepper <drepper@gmail.com>
11088
84e2a551
UD
11089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11090 /sys/devices/system/cpu/online if it is usable.
11091
852eb34d
UD
11092 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11093 reading the information from the /proc filesystem to once a second.
11094
6e502e19
UD
110952011-06-21 Andreas Jaeger <aj@suse.de>
11096
11097 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11098 NULL after inclusion of kernel headers.
11099
75d39ff2
UD
111002011-06-21 Ulrich Drepper <drepper@gmail.com>
11101
51f9aa6a
UD
11102 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11103 calls to internal_setent.
11104
c0244a9d
UD
11105 [BZ #12885]
11106 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11107 addresses using gethostbyname4_r ignore IPv4 addresses.
11108
c5e3c2ae
UD
11109 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11110 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11111
75d39ff2
UD
11112 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11113
42675c6f
DM
111142011-06-20 David S. Miller <davem@davemloft.net>
11115
11116 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11117 inclusions.
11118 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11119
11120 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11121 (elf_irel): Use it.
11122 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11123 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11124 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11125 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11126 * sysdeps/x86_64/dl-irel.h: Likewise.
11127
11128 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11129 * elf/dl-sym.c: Likewise.
11130
57912a71
UD
111312011-06-15 Ulrich Drepper <drepper@gmail.com>
11132
11133 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11134 need to dereference resplen2.
11135
ee22793d
AS
111362011-06-14 Andreas Schwab <schwab@redhat.com>
11137
11138 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11139
a9e836b0
UD
111402011-06-15 Ulrich Drepper <drepper@gmail.com>
11141
77fb9117
UD
11142 * Makeconfig: Define vardbdir and inst_vardbdir.
11143 * nss/Makefile: Add rules to install db-Makefile.
11144
40c1b22c
UD
11145 * nss/nss_db/db-XXX.c: Cleanup.
11146
9f2da732
UD
11147 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11148 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11149 GLIBC_PRIVATE.
11150 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11151 * nss/makedb.c: Implement -g option to specify that value strings
11152 are generated and should not be added to table iterated over for
11153 get*ent calls.
11154 * nss/nss_db/db-initgroups.c: New file.
11155
82e9a1f7
UD
11156 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11157 interface.
11158
c41af17e
UD
11159 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11160 (internal_getgrouplist): Adjust to name change.
11161 Update use_initgroups_entry if this is not the first call.
11162 * nss/databases.def: Add initgroups entry.
11163
a9e836b0
UD
11164 * nss/makedb.c (compute_tables): Check result of multiple hash table
11165 sizes to minimize maximum chain length.
11166
2666d441
UD
111672011-06-14 Ulrich Drepper <drepper@gmail.com>
11168
11169 * Versions.def: Add entry for libnss_db.
11170 * shlib-versions: Likewise.
11171 * nss/Makefile: Add rules to build libnss_db.
11172 * nss/Versions: Add libnss_db information. Organize libnss_files
11173 entries better.
11174 * nss/db-Makefile: Add gshadow support. Change rules for the new
11175 makedb progra. Some minor improvements to generate smaller files.
11176 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11177 here from...
11178 * nss/makedb.c: ...here.
11179 Improve database format to be smaller and require less memory at
11180 runtime.
11181 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11182 db anymore.
11183 * nss/nss_db/db-netgrp.c: Likewise.
11184 * nss/nss_db/db-open.c: Likewise.
11185 * nss/nss_files/flies-XXX.x: Adjust comments.
11186 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11187 * nss/nss_files/files-grp.c: Likewise.
11188 * nss/nss_files/files-hosts.c: Likewise.
11189 * nss/nss_files/files-network.c: Likewise.
11190 * nss/nss_files/files-proto.c: Likewise.
11191 * nss/nss_files/files-pwd.c: Likewise.
11192 * nss/nss_files/files-rpc.c: Likewise.
11193 * nss/nss_files/files-service.c: Likewise.
11194 * nss/nss_files/files-sgrp.c: Likewise.
11195 * nss/nss_files/files-spwd.c: Likewise.
11196 * nss/nss_db/db-alias.c: Removed.
11197 * nss/nss_db/dummy-db.h: Removed.
11198
9ee76b5a
UD
111992011-06-02 Ulrich Drepper <drepper@gmail.com>
11200
11201 * nss/makedb.c: Rewritten to not use database library.
11202 * nss/Makefile: Update to build new makedb program.
11203
c71ca1f8
AJ
112042011-06-14 Andreas Jaeger <aj@suse.de>
11205
11206 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11207 memset declaration.
11208
3154bfb8
UD
112092011-06-10 Andreas Schwab <schwab@redhat.com>
11210
11211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11212 tmpbuf.
11213
b350afab
RM
112142011-06-10 Roland McGrath <roland@hack.frob.com>
11215
decd4e50
RM
11216 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11217 * elf/Makefile ($(objpfx)ld.so): Likewise.
11218
5615eaf2
RM
11219 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11220 Don't list ld.so twice in dependencies.
11221
11222 * posix/bug-regex31.c: Include <stdlib.h>.
11223
11224 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11225
11226 * nis/nss_compat/compat-spwd.c
11227 (getspent_next_nss_netgr): Remove unused variable.
11228 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11229
11230 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11231 nonmembers" output to use the right array.
11232
11233 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11234
11235 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11236
11237 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11238 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11239 * catgets/gencat.c (read_input_file): Likewise.
11240 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11241
11242 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11243 variable definition inside #if's controlling its use.
11244
11245 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11246
11247 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11248
11249 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11250
11251 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11252 unreachable code.
11253
11254 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11255
b68e08db
RM
11256 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11257 * configure: Regenerated.
11258
b350afab
RM
11259 * Makerules: Revert last change.
11260 * elf/Makefile: Likewise.
11261
28368601
RM
112622011-06-09 Roland McGrath <roland@hack.frob.com>
11263
11264 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11265 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11266 (reloc-link): Likewise.
11267
11988f8f
UD
112682011-06-09 Ulrich Drepper <drepper@gmail.com>
11269
11270 * elf/Makefile: Add rules to build pldd.
11271 * elf/pldd.c: New file.
11272 * elf/pldd-xx.c: New file.
11273
e80fab37
UD
112742011-06-07 Ulrich Drepper <drepper@gmail.com>
11275
11276 * version.h: Update for 2.15 development version.
11277
9b849836
DM
112782011-06-07 David S. Miller <davem@davemloft.net>
11279
11280 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11281 ifuncs.
11282 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11283 elf_machine_lazy_rel): Likewise.
11284 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11285 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11286 elf_machine_lazy_rel): Likewise.
11287 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11288 dl_hwcap via passed in argument.
11289 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11290 Likewise.
11291
5a31b283
AK
112922011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11293
11294 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11295
069e52f8
RM
112962011-06-06 Roland McGrath <roland@hack.frob.com>
11297
11298 [BZ #12849]
11299 * manual/fdl-1.1.texi: New file, verbatim from:
11300 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11301 * manual/lgpl-2.1.texi: New file, verbatim from:
11302 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11303 * manual/Makefile (licenses): New variable, list those new file names.
11304 (texis): Use it.
11305 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11306
11307 * manual/fdl.texi: File removed.
11308 * manual/lesser.texi: File removed.
11309 * manual/libc.texinfo (Copying, Documentation License):
11310 Use new @include file names, put @appendix directive before @include.
11311
f16846a5
JJ
113122011-06-04 Jakub Jelinek <jakub@redhat.com>
11313
11314 [BZ #12841]
11315 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11316 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11317 (mq_open): Add __NTH.
11318
3d29045b
L
113192011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11320
11321 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11322 Assume Intel Core i3/i5/i7 processor if AVX is available.
11323
8c297311
UD
113242011-05-31 Ulrich Drepper <drepper@gmail.com>
11325
11326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11327 typo.
11328
c8fc0c91
UD
113292011-05-31 Andreas Schwab <schwab@redhat.com>
11330
11331 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11332 memory. Use alloca_account. Fix memory leak when retrying.
11333
5b27a807
UD
113342011-05-31 Ulrich Drepper <drepper@gmail.com>
11335
356f8bc6
UD
11336 * version.h (RELEASE): Bump for 2.14 release.
11337 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11338
5b27a807
UD
11339 * config.make.in (RANLIB): Remove entry.
11340
01f16ab0
UD
113412011-05-30 Ulrich Drepper <drepper@gmail.com>
11342
41fce8bd
UD
11343 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11344 (libc.pot): Work around missing support for .ksh extension in xgettext.
11345
4769ae77
UD
11346 [BZ #12684]
11347 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11348 if both request failed.
11349 (send_dg): In case of server errors clear resplen or *resplen2.
11350
6b1e7d19
UD
11351 [BZ #12454]
11352 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11353 when there are multiple maps.
11354 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11355 (_dl_fini): Remove test here.
11356
01f16ab0
UD
11357 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11358
b1ebd700
UD
113592011-05-29 Ulrich Drepper <drepper@gmail.com>
11360
7ae22829
UD
11361 [BZ #12350]
11362 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11363 bit from old_res_options.
11364 (gaih_inet): Likewise.
11365
553149f6 11366 [BZ #11099]
18a84741 11367 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11368 as signed.
11369
652ffab1
UD
11370 * resolv/res_init.c (res_setoptions): Make the code more compact.
11371
16985fd0
UD
11372 [BZ #11558]
11373 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11374 set RES_USEVC.
11375
0464f746
UD
11376 [BZ #11634]
11377 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11378
7d17596c
UD
11379 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11380
cf6bbbd7
UD
11381 [BZ #11781]
11382 * malloc/malloc.h: Declare malloc hook variables as volatile.
11383
13f1ab36
UD
11384 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11385 in last patch.
11386
b1ebd700
UD
11387 [BZ #11799]
11388 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11389 raise in the comment.
80e2212d
UD
11390 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11391 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11392 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11393
ce67228d
UD
113942011-05-28 Ulrich Drepper <drepper@gmail.com>
11395
8887a920
UD
11396 [BZ #12811]
11397 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11398 grow the buffers more if it already has to be sufficient.
11399 (build_wcs_upper_buffer): Likewise.
11400 * posix/regexec.c (check_matching): Likewise.
11401 (clean_state_log_if_needed): Likewise.
11402 (extend_buffers): Don't enlarge buffers beyond size of the input
11403 buffer.
11404 Patches mostly by Emil Wojak <emil@wojak.eu>.
11405 * posix/bug-regex32.c: New file.
11406 * posix/Makefile (tests): Add bug-regex32.
11407
4f031072
UD
11408 * locale/findlocale.c (_nl_find_locale): Return right away if
11409 _nl_explode_name failed.
11410 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11411
d0478f0c
UD
11412 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11413
de81b246
UD
11414 * debug/xtrace.sh: Unify messages.
11415 * malloc/memusage.sh: Likewise.
11416
c738465a
UD
11417 [BZ #12813]
11418 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11419 time symbol from vDSO. Substitute with vsyscall if not available.
11420 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11421 __vdso_time.
11422
f1f929d7
UD
11423 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11424 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11425 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11426 Add sendmmsg and internal_sendmmsg.
11427 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11428 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11429 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11430
ce67228d
UD
11431 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11432 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11433 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11434
e57420c6
UD
114352011-05-27 Ulrich Drepper <drepper@gmail.com>
11436
a8509ca5
UD
11437 [BZ #12813]
11438 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11439 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11440 available.
11441 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11442 __vdso_getcpu.
11443
e57420c6
UD
11444 [BZ #12814]
11445 * iconvdata/Makefile (tests): Add bug-iconv9.
11446 * iconvdata/bug-iconv9.c: New file.
11447
4d07db15
AS
114482011-05-27 Andreas Schwab <schwab@redhat.com>
11449
11450 [BZ #12814]
11451 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11452
ea486f69
JJ
114532011-05-25 Jakub Jelinek <jakub@redhat.com>
11454
11455 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11456 (struct user_regs_struct): Change intcs field back to cs.
11457
6f038433
UD
114582011-05-25 Ulrich Drepper <drepper@gmail.com>
11459
11460 * po/ja.po: Update from translation team.
11461
67f86a25
UD
114622011-05-23 Ulrich Drepper <drepper@gmail.com>
11463
11464 [BZ #12795]
11465 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11466 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11467
def7fbd6
AS
114682011-05-20 Andreas Schwab <schwab@redhat.com>
11469
11470 * stdlib/longlong.h: Update from GCC.
11471
f50ef8f1
AS
114722011-05-23 Andreas Schwab <schwab@redhat.com>
11473
11474 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11475 parameter name.
11476 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11477 Add parameter name.
11478 (__sysconf): Pass it down.
11479
de7ce8f1
UD
114802011-05-22 Ulrich Drepper <drepper@gmail.com>
11481
f2962a71
UD
11482 [BZ #12671]
11483 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11484 some situations.
11485 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11486 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11487 add in in __libc_use_alloca calls. Adjust callers.
11488 (glob): Use malloc in some situations.
11489
de7ce8f1
UD
11490 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11491 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11492 pltexit.
11493
aec84f53
UD
114942011-05-21 Ulrich Drepper <drepper@gmail.com>
11495
05bb4a68
UD
11496 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11497 and CLOCK_BOOTTIME_ALARM.
11498
7ea72f99
UD
11499 [BZ #12782]
11500 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11501 is returned.
11502
7e4afad5
UD
11503 * string/_strerror.c (__strerror_r): Print negative errors as signed
11504 numbers.
11505
8e211fec
UD
11506 [BZ #12777]
11507 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11508 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11509 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11510
f7d82dc9
UD
11511 * configure.in: Fix typo in redirection and correct removal of test
11512 files in two cases.
11513
cc9e536d
UD
11514 [BZ #12788]
11515 * locale/setlocale.c (new_composite_name): Fix test to check for
11516 identical name of all categories.
11517
aec84f53
UD
11518 [BZ #12792]
11519 * libio/filedoalloc.c (local_isatty): New function.
11520 (_IO_file_doallocate): Use local_isatty.
11521 * stdio-common/perror.c (perror): In case a new stream is used
11522 forward the stream error.
11523 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11524 error flag.
11525
78e64fdc
RT
115262011-05-20 Ulrich Drepper <drepper@gmail.com>
11527
34a9094f
UD
11528 [BZ #11869]
11529 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11530 alloca.
11531 * include/alloca.h (extend_alloca_account): Define.
11532
78e64fdc
RT
11533 [BZ #11857]
11534 * posix/regex.h: Fix comments with documentation of user-accessible
11535 fields after compilation and describe correct free'ing of pattern
11536 after re_compile_pattern.
11537 Patch by Reuben Thomas <rrt@sc3d.org>.
11538
457bddfc
RA
115392011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11540
11541 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11542 and -mno-altivec to prevent the compiler from using Altivec and/or
11543 VSX instructions when the corresponding registers are not available.
11544
a4527b51
AS
115452011-05-19 Andreas Schwab <schwab@redhat.com>
11546
11547 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11548
ed690b2f
UD
115492011-05-19 Ulrich Drepper <drepper@gmail.com>
11550
11551 * libio/freopen.c (freopen): Use __dup2, not dup2.
11552 * libio/freopen64.c (freopen64): Likewise.
11553
8db73634
L
115542011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11555
11556 [BZ #12775]
11557 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11558 * math/Makefile (tests): Add test-powl.
11559 (CFLAGS-test-powl.c): Define.
11560 * math/test-powl.c: New file.
11561
0a197a9d
L
115622011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11563
11564 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11565
ee30c380
UD
115662011-05-17 Ulrich Drepper <drepper@gmail.com>
11567
11568 [BZ #11837]
11569 * iconvdata/gb18030.c: Update to GB18020-2005.
11570
6ce75379
UD
115712011-05-16 Ulrich Drepper <drepper@gmail.com>
11572
a4b89fd8
AR
11573 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11574 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11575 Patch by Aharon Robbins <arnold@skeeve.com>.
11576
ea389b12
UD
11577 [BZ #11892]
11578 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11579 on the stack.
11580
68a3f91f
UD
11581 [BZ #11895]
11582 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11583 through underflows.
11584
15cc7dd1
UD
11585 [BZ #12766]
11586 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11587 point to strings before performing equality test for error_one_per_line
11588 mode.
11589
f3799213
UD
11590 [BZ #11697]
11591 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11592
d79a9c94
UD
11593 [BZ #11820]
11594 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11595 (struct user_fpregs_struct): Avoid __uint*_t types.
11596
56e5eb46
UD
11597 [BZ #6420]
11598 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11599 symbol info. Use it instead of calling _dl_addr locally.
11600 (lock_and_info): New function.
11601 (tr_freehook): Call lock_and_info and pass symbol info as additional
11602 parameter to tr_where.
11603 (tr_mallochook): Likewise.
11604 (tr_reallochook): Likewise.
11605 (tr_memalignhook): Likewise.
11606
6ce75379
UD
11607 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11608 used and couldn't be at all thread-safe.
11609
f8a3b5bf
UD
116102011-05-15 Ulrich Drepper <drepper@gmail.com>
11611
94b7cc37
UD
11612 * libio/freopen.c (freopen): Don't close old file descriptor
11613 before the new one is opened. Instead dup the new file descriptor
11614 to the old one after the new stream is created.
11615 * libio/freopen64.c (freopen64): Likewise.
11616 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11617 * libio/fileops.c (_IO_new_file_close_it): Handle new
11618 _IO_FLAGS2_NOCLOSE flag.
11619 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11620 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11621 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11622 _IO_FLAGS2_NOCLOSE flag.
11623 * include/unistd.h: Add hidden_proto for dup3.
11624 Define __have_dup3.
11625 * io/dup3.c: Define hidden symbol.
11626 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11627
bd25564e
UD
11628 [BZ #7101]
11629 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11630 when an incomplete long option is used.
11631 * posix/tst-getopt_long1.c: New file.
11632 * posix/Makefile (tests): Add tst-getopt_long1.
11633
c84cfef4
UD
11634 [BZ #10138]
11635 * scripts/config.guess: Update from autoconf-2.68.
11636 * scripts/config.sub: Likewise.
11637
3b85df27
UD
11638 [BZ #10157]
11639 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11640 tests into ...
11641 (has_cpuclock): ...this. New function.
11642 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11643 macro here based on has_cpuclock code.
11644
15a856b1
UD
11645 [BZ #10149]
11646 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11647 First byte (not low byte) is now always NUL.
11648 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11649
05f399e6
UD
11650 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11651 Use non-cancelable interfaces.
11652
10a52685 11653 [BZ #9809]
94ecc67d
UD
11654 * locale/iso-639.def: Add entry for Sorani.
11655
f8a3b5bf
UD
11656 [BZ #11901]
11657 * include/stdlib.h: Move include protection to the right place.
11658 Define abort_msg_s. Declare __abort_msg with it.
11659 * stdlib/abort.c (__abort_msg): Adjust type.
11660 * assert/assert.c (__assert_fail_base): New function. Majority
11661 of code from __assert_fail. Allocate memory for __abort_msg with
11662 mmap.
11663 (__assert_fail): Now call __assert_fail_base.
11664 * assert/assert-perr.c: Remove bulk of implementation. Use
11665 __assert_fail_base.
11666 * include/assert.hL Declare __assert_fail_base.
11667 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11668 mmap.
11669 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11670
1af4e298
UD
116712011-05-14 Ulrich Drepper <drepper@gmail.com>
11672
f8a3b5bf 11673 [BZ #11952]
d26dfc60
MG
11674 [BZ #12453]
11675 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11676 until all modules are registered in the DTV.
11677 * elf/Makefile: Add rules to build and run tst-tls19.
11678 * elf/tst-tls19.c: New file.
11679 * elf/tst-tls19mod1.c: New file.
11680 * elf/tst-tls19mod2.c: New file.
11681 * elf/tst-tls19mod3.c: New file.
11682 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11683
2fc54d6f
UD
11684 [BZ #12083]
11685 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11686 correctly.
11687
98d76b46
UD
11688 [BZ #12601]
11689 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11690 two-byte sequence errors.
11691 * iconvdata/Makefile (tests): Add bug-iconv8.
11692 * iconvdata/bug-iconv8.c: New file.
11693
da3c19ef
UD
11694 [BZ #12626]
11695 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11696 buf2 definition.
11697
ca408c15
UD
11698 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11699
d6f67f7d
UD
11700 [BZ #12432]
11701 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11702 (dummy_getcfa): New function.
11703 (init): Get _Unwind_GetCFA address, use dummy if not found.
11704 (backtrace_helper): In recursion check, also check whether CFA changes.
11705 (__backtrace): Completely initialize arg.
11706
1af4e298 11707 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11708 storing incomplete byte sequence in state object. Avoid testing for
11709 guaranteed too small input if we know there is enough data available.
1af4e298 11710
da62f81b
AS
117112011-05-11 Andreas Schwab <schwab@redhat.com>
11712
11713 * Makeconfig (+link-pie): Indent.
11714 * Rules (binaries-pie): Define if $(have-fpie) and
11715 $(build-shared).
11716 (binaries-shared): Also filter out $(binaries-pie).
11717 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11718 * nscd/Makefile (others-pie): Add nscd.
11719 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11720 ($(objpfx)nscd): Remove command override.
11721 * login/Makefile (others-pie): Add pt_chown.
11722 ($(objpfx)pt_chown): Remove command override.
11723 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11724 remove command overrides.
11725
fcabc0f8
UD
117262011-05-13 Ulrich Drepper <drepper@gmail.com>
11727
20030ae6
UD
11728 * libio/tst_putwc.c: Fix error messages.
11729
fcabc0f8
UD
11730 [BZ #12724]
11731 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11732 currently writing and seek to current position when not.
11733 * libio/Makefile (tests): Add bug-fclose1.
11734 * libio/bug-fclose1.c: New file.
11735
320a5dc0
PB
117362011-05-12 Ulrich Drepper <drepper@gmail.com>
11737
11738 [BZ #12511]
11739 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11740 don't set DF_1_NODELETE here.
11741 (do_lookup_x): When entering new entry test for copy relocation
11742 and if necessary set DF_1_NODELETE flag.
11743 * elf/tst-unique4.cc: New file.
11744 * elf/tst-unique4.h: New file.
11745 * elf/tst-unique4lib.cc: New file.
11746 * elf/Makefile: Add rules to build and run tst-unique4.
11747 Patch by Piotr Bury <pbury@goahead.com>.
11748
22836f52
UD
117492011-05-11 Ulrich Drepper <drepper@gmail.com>
11750
f574184a
UD
11751 [BZ #12052]
11752 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11753
e1fb097f
UD
11754 [BZ #12625]
11755 * misc/mntent_r.c (addmntent): Flush the stream after the output
11756
22836f52
UD
11757 [BZ #12393]
11758 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11759 (is_trusted_path_normalize): Skip initial colon. Append slash
11760 to empty buffer. Duplicate is_trusted_path code but allow
11761 constructed patch to be prefix.
11762 (is_dst): Allow $ORIGIN followed by /.
11763 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11764 Correct testing of result of is_trusted_path_normalize
11765 (decompose_rpath): Fix warning.
11766
7b3b0b2a
UD
117672011-05-10 Ulrich Drepper <drepper@gmail.com>
11768
11769 [BZ #11257]
11770 * grp/initgroups.c (internal_getgrouplist): When we found the service
11771 list through the initgroups entry in nsswitch.conf do not always
11772 continue on a successful lookup. Don't always use the
eac80ce2 11773 __nss_group_database value if it is set.
7b3b0b2a
UD
11774 * nss/nsswitch.conf (initgroups): Change action for successful db
11775 lookup to continue for compatibility.
11776
2a81eaa5
UD
117772011-05-09 Ulrich Drepper <drepper@gmail.com>
11778
be97a69e
UD
11779 [BZ #11532]
11780 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11781 and CP774 modules.
11782 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11783 and CP774 modules.
11784 * iconvdata/tst-tables.sh: Likewise.
11785 * iconvdata/cp770.c: New file.
11786 * iconvdata/cp771.c: New file.
11787 * iconvdata/cp772.c: New file.
11788 * iconvdata/cp773.c: New file.
11789 * iconvdata/cp774.c: New file.
11790 * iconvdata/testdata/CP770: New file.
11791 * iconvdata/testdata/CP770..UTF8: New file.
11792 * iconvdata/testdata/CP771: New file.
11793 * iconvdata/testdata/CP771..UTF8: New file.
11794 * iconvdata/testdata/CP772: New file.
11795 * iconvdata/testdata/CP772..UTF8: New file.
11796 * iconvdata/testdata/CP773: New file.
11797 * iconvdata/testdata/CP773..UTF8: New file.
11798 * iconvdata/testdata/CP774: New file.
11799 * iconvdata/testdata/CP774..UTF8: New file.
11800
11801 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11802 END CHARMAP line.
11803 * iconvdata/gen-8bit-gap.sh: Likewise.
11804 * iconvdata/gen-8bit.sh: Likewise.
11805
c1e9e399
UD
11806 * locale/iso-639.def: Add ary entry.
11807
24c55fb3 11808 [BZ #11258]
96b4b1b0
UD
11809 * locale/C-translit.h.in: Add U20A1 transliteration.
11810
bdc2f971
KB
11811 [BZ #12178]
11812 * locale/iso-639.def: Add wae entry.
11813 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11814
2952b117
UD
11815 [BZ #12545]
11816 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11817 for n.
11818
2a81eaa5
UD
11819 [BZ #12711]
11820 * locale/C-translit.h.in: Add entry for U20B9.
11821 Patch by pravin.d.s@gmail.com.
11822
28377d1b
UD
118232011-05-08 Ulrich Drepper <drepper@gmail.com>
11824
7fb90fb8
UD
11825 [BZ #12713]
11826 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11827 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11828 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11829 in rtld. Use *stat64.
7fb90fb8 11830 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11831 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11832 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11833 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11834 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11835 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11836 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11837 __fstatat64 macros.
7fb90fb8
UD
11838 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11839 * dirent/rewinddir.c: Add libc_hidden_def.
11840 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11841 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11842
28377d1b
UD
11843 * include/dirent.h (__alloc_dir): Add flags parameter.
11844 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11845 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11846 __alloc_dir.
11847 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11848 from fdopendir if O_CLOEXEC is already set.
11849
66bdbaa4
AM
118502011-03-15 Alan Modra <amodra@gmail.com>
11851
11852 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11853 l_tls_firstbyte_offset non-zero. Save padding offset in
11854 l_tls_firstbyte_offset for later use.
11855 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11856 freeing static tls block.
11857
95721191
JN
118582011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11859
11860 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11861 where #ifdef was intended. The intent is to prevent ARG_MAX from
11862 being defined by the kernel headers.
11863
f87dfb1f
UD
118642011-05-07 Ulrich Drepper <drepper@gmail.com>
11865
11866 [BZ #12734]
11867 * resolv/resolv.h: Define RES_NOTLDQUERY.
11868 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11869 no-tld-query and set RES_NOTLDQUERY.
11870 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11871 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11872 modern BIND to search name as TLD unless forbidden.
11873
47c3cd7a
UD
118742011-05-07 Petr Baudis <pasky@suse.cz>
11875 Ulrich Drepper <drepper@gmail.com>
11876
11877 [BZ #12393]
11878 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11879 (is_trusted_path): ...to here.
c1e9ea35 11880 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11881 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11882 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11883
8a35c912
PP
118842011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11885
11886 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11887 __BEGIN/__END_DECLS.
11888
acd41f47
UD
118892011-05-06 Ulrich Drepper <drepper@gmail.com>
11890
11891 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11892 NSS_STATUS_NOTFOUND if no record was found.
11893
597df647
AS
118942011-05-05 Andreas Schwab <schwab@redhat.com>
11895
11896 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11897 (headers-not-in-tirpc): Remove rpc/netdb.h
11898 * resolv/netdb.h: Revert last change.
11899
b9af1301
PP
119002011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11901
11902 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11903 circular dependency between libgcc.a and libc.a.
11904
4e34d5f5
AS
119052011-05-05 Andreas Schwab <schwab@redhat.com>
11906
11907 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11908 * nis/Makefile: Don't install rpcsvc/*.
11909 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11910 instead of <rpc/types.h>.
11911 (MAXHOSTNAMELEN): Define.
11912
00ee369c
AS
119132011-05-03 Andreas Schwab <schwab@redhat.com>
11914
11915 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11916
0b592a30
MB
119172011-04-28 Maciej Babinski <mbabinski@google.com>
11918
11919 [BZ #12714]
11920 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11921 gethostbyname4_r when IPv6 results are possible.
11922
6e04cbbe
UD
119232011-05-02 Ulrich Drepper <drepper@gmail.com>
11924
11925 [BZ #12723]
11926 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11927 _PC_PIPE_BUF handling.
11928
e4ecafe0
BH
119292011-04-30 Bruno Haible <bruno@clisp.org>
11930
11931 [BZ #12717]
11932 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11933 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11934 to 'int'.
11935 * inet/getnameinfo.c (getnameinfo): Likewise.
11936
125ee683
UD
119372011-04-29 Ulrich Drepper <drepper@gmail.com>
11938
11939 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11940 to groups setting in database lookup.
11941 * nss/nsswitch.conf: Add initgroups entry.
11942
b722481a
EB
119432011-04-22 Ulrich Drepper <drepper@gmail.com>
11944
11945 [BZ #12685]
11946 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11947 mode string.
11948 Patch by Eric Blake <eblake@redhat.com>.
11949
4df46dbd
L
119502011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11951
11952 * sunrpc/Makefile (need-export-routines): Add svc_run.
11953 (routines): Remove svc_run.
11954 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11955 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11956 * sunrpc/svc_run.c (svc_run): Likewise.
11957 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11958
e84142d2
UD
119592011-04-21 Ulrich Drepper <drepper@gmail.com>
11960
11961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
11962 problem in reallocation in last patch.
11963
877175d8
UD
119642011-04-20 Ulrich Drepper <drepper@gmail.com>
11965
11966 * sunrpc/Makefile: Move inclusion of Rules.
11967
ab8eed78
UD
119682011-04-19 Ulrich Drepper <drepper@gmail.com>
11969
11970 * nss/nss_files/files-initgroups.c: New file.
11971 * nss/Makefile (libnss_files-routines): Add files-initgroups.
11972 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
11973 _nss_files_initgroups_dyn.
11974
e3d8f584
RS
119752011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
11976
11977 * elf/elf.h (R_ARM_IRELATIVE): Define.
11978
af190f45
UD
119792011-04-19 Ulrich Drepper <drepper@gmail.com>
11980
11981 * po/ru.po: Update from translation team.
11982
53cf59ef
UD
119832011-04-17 Ulrich Drepper <drepper@gmail.com>
11984
11985 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
11986 dependencies.
11987
4c559bcd
MF
119882011-02-06 Mike Frysinger <vapier@gentoo.org>
11989
11990 [BZ #12653]
11991 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
11992 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
11993 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
11994 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
11995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
11996
4420675c
AS
119972011-03-28 Andreas Schwab <schwab@linux-m68k.org>
11998
11999 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12000 differing bytes.
12001 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12002 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12003 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12004
75ea32ab
UD
120052011-04-17 Ulrich Drepper <drepper@gmail.com>
12006
12007 [BZ #12420]
12008 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12009 storing it.
12010 * stdlib/bug-getcontext.c: New file.
12011 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12012
27390476
AK
120132011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12014
12015 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12016 instructions into .machine "z9-109".
12017 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12018 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12019
10442705
AK
120202011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12021
12022 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12023 between environment variables and auxiliary vector.
12024
7b57bfe5
UD
120252011-04-16 Ulrich Drepper <drepper@gmail.com>
12026
12027 * Makefile: Add rules to build linkobj/libc.so.
12028 * include/libc-symbols.h: Define libc_hidden_nolink.
12029 * include/rpc/auth.h: Mark functions which are to be hidden.
12030 * include/rpc/auth_des.h: Likewise.
12031 * include/rpc/auth_unix.h: Likewise.
12032 * include/rpc/clnt.h: Likewise.
12033 * include/rpc/des_crypt.h: Likewise.
12034 * include/rpc/key_prot.h: Likewise.
12035 * include/rpc/pmap_clnt.h: Likewise.
12036 * include/rpc/pmap_prot.h: Likewise.
12037 * include/rpc/pmap_rmt.h: Likewise.
12038 * include/rpc/rpc_msg.h: Likewise.
12039 * include/rpc/svc.h: Likewise.
12040 * include/rpc/svc_auth.h: Likewise.
12041 * include/rpc/xdr.h: Likewise.
12042 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12043 * nss/Makefile: Likewise.
12044 * sunrpc/Makefile: Don't install headers. Build library with normal
12045 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12046 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12047 for the compat linking library. Remove use of INTDEF/INTUSE.
12048 * sunrpc/auth_none.c: Likewise.
12049 * sunrpc/auth_unix.c: Likewise.
12050 * sunrpc/authdes_prot.c: Likewise.
12051 * sunrpc/authuxprot.c: Likewise.
12052 * sunrpc/clnt_gen.c: Likewise.
12053 * sunrpc/clnt_perr.c: Likewise.
12054 * sunrpc/clnt_raw.c: Likewise.
12055 * sunrpc/clnt_simp.c: Likewise.
12056 * sunrpc/clnt_tcp.c: Likewise.
12057 * sunrpc/clnt_udp.c: Likewise.
12058 * sunrpc/clnt_unix.c: Likewise.
12059 * sunrpc/des_crypt.c: Likewise.
12060 * sunrpc/des_soft.c: Likewise.
12061 * sunrpc/get_myaddr.c: Likewise.
12062 * sunrpc/key_call.c: Likewise.
12063 * sunrpc/key_prot.c: Likewise.
12064 * sunrpc/netname.c: Likewise.
12065 * sunrpc/pm_getmaps.c: Likewise.
12066 * sunrpc/pm_getport.c: Likewise.
12067 * sunrpc/pmap_clnt.c: Likewise.
12068 * sunrpc/pmap_prot.c: Likewise.
12069 * sunrpc/pmap_prot2.c: Likewise.
12070 * sunrpc/pmap_rmt.c: Likewise.
12071 * sunrpc/publickey.c: Likewise.
12072 * sunrpc/rpc_cmsg.c: Likewise.
12073 * sunrpc/rpc_common.c: Likewise.
12074 * sunrpc/rpc_dtable.c: Likewise.
12075 * sunrpc/rpc_prot.c: Likewise.
12076 * sunrpc/rpc_thread.c: Likewise.
12077 * sunrpc/rtime.c: Likewise.
12078 * sunrpc/svc.c: Likewise.
12079 * sunrpc/svc_auth.c: Likewise.
12080 * sunrpc/svc_authux.c: Likewise.
12081 * sunrpc/svc_raw.c: Likewise.
12082 * sunrpc/svc_run.c: Likewise.
12083 * sunrpc/svc_simple.c: Likewise.
12084 * sunrpc/svc_tcp.c: Likewise.
12085 * sunrpc/svc_udp.c: Likewise.
12086 * sunrpc/svc_unix.c: Likewise.
12087 * sunrpc/svcauth_des.c: Likewise.
12088 * sunrpc/xcrypt.c: Likewise.
12089 * sunrpc/xdr.c: Likewise.
12090 * sunrpc/xdr_array.c: Likewise.
12091 * sunrpc/xdr_float.c: Likewise.
12092 * sunrpc/xdr_intXX_t.c: Likewise.
12093 * sunrpc/xdr_mem.c: Likewise.
12094 * sunrpc/xdr_rec.c: Likewise.
12095 * sunrpc/xdr_ref.c: Likewise.
12096 * sunrpc/xdr_sizeof.c: Likewise.
12097 * sunrpc/xdr_stdio.c: Likewise.
12098
e6c61494
UD
120992011-04-10 Ulrich Drepper <drepper@gmail.com>
12100
12101 [BZ #12650]
12102 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12103 * sysdeps/ia64/dl-tls.h: Likewise.
12104 * sysdeps/powerpc/dl-tls.h: Likewise.
12105 * sysdeps/s390/dl-tls.h: Likewise.
12106 * sysdeps/sh/dl-tls.h: Likewise.
12107 * sysdeps/sparc/dl-tls.h: Likewise.
12108 * sysdeps/x86_64/dl-tls.h: Likewise.
12109 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12110
34fe483e
AS
121112011-03-14 Andreas Schwab <schwab@redhat.com>
12112
12113 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12114 rpath element also skip the following colon.
12115 (expand_dynamic_string_token): Add is_path parameter and pass
12116 down to DL_DST_REQUIRED and _dl_dst_substitute.
12117 (decompose_rpath): Call expand_dynamic_string_token with
12118 non-zero is_path. Ignore empty rpaths.
12119 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12120 with zero is_path.
12121
f12a32e6
AS
121222011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12123
12124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12125 Make cancelable.
12126
38a7d692
UD
121272011-04-09 Ulrich Drepper <drepper@gmail.com>
12128
12129 [BZ #12655]
12130 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12131 Patch by Filipe David Manana <fdmanana@apache.org>.
12132
e451d22b
AS
121332011-04-07 Andreas Schwab <schwab@redhat.com>
12134
12135 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12136 Maintain aligned stack.
12137 (CHECK_RSP): Remove unused macro.
12138
dedc7c7b
UD
121392011-04-03 Ulrich Drepper <drepper@gmail.com>
12140
12141 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12142 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12143
94521213
UD
121442011-04-02 Ulrich Drepper <drepper@gmail.com>
12145
12146 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12147
8cb700c0 12148 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12149
0354e355
L
121502011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 [BZ #12518]
12153 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12154 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12155 * sysdeps/x86_64/memmove.c: New file.
12156 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12157 (memcpy): Renamed to ...
12158 (__new_memcpy): This.
12159 (memcpy): Provide GLIBC_2_14 memcpy.
12160 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12161 (memcpy): Provide GLIBC_2_2_5 memcpy.
12162
8593482f
UD
121632011-04-01 Ulrich Drepper <drepper@gmail.com>
12164
12165 [BZ #12631]
12166 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12167
81a5726b
AS
121682011-03-30 Andreas Schwab <schwab@redhat.com>
12169
12170 * misc/syncfs.c: New file.
12171 * misc/Makefile (routines): Add syncfs.
12172 * posix/unistd.h: Declare syncfs.
12173 * sysdeps/unix/syscalls.list: Add syncfs.
12174
00e5419f
AS
121752011-04-01 Andreas Schwab <schwab@redhat.com>
12176
12177 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12178 open_by_handle_at.
12179 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12180 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12181 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12182 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12183 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12184 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12185 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12186
748876bf
UD
121872011-04-01 Ulrich Drepper <drepper@gmail.com>
12188
658e451d
UD
12189 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12190 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12191 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12192 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12193 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12194 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12195 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12196
748876bf
UD
12197 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12198 sync_file_range.c with -fexceptions.
12199 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12200 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12201 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12202 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12203 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12204 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12205 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12206 sync_file_range as cancellation point
12207 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12208 now a wrapper around __call_sync_file_range with cancellation handling.
12209 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12210 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12211 function name to __call_sync_file_range.
12212 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12213 Add call_sync_file_range.
748876bf 12214
6e63d5e1
AS
122152011-04-01 Andreas Schwab <schwab@redhat.com>
12216
12217 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12218 bits/timex.h.
6e63d5e1 12219
46998f74
UD
122202011-04-01 Ulrich Drepper <drepper@gmail.com>
12221
4c1423ed
UD
12222 * iconv/iconv.h: Fix typo in comment.
12223 * io/fcntl.h: Likewise.
12224 * libio/stdio.h: Likewise.
12225 * posix/spawn.h: Likewise.
12226 * posix/unistd.h: Likewise.
12227 * stdlib/stdlib.h: Likewise.
12228 * time/time.h: Likewise.
12229 * wcsmbs/wchar.h: Likewise.
12230
158648c0
UD
12231 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12232 open_by_handle): Add.
12233 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12234 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12235 Augment a few comments.
12236 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12237 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12238 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12240 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12241 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12242 open_by_handle.
12243
46998f74
UD
12244 * io/fcntl.h (AT_EMPTY_PATH): Define.
12245
83fe108b
UD
122462011-03-30 Ulrich Drepper <drepper@gmail.com>
12247
12248 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12249 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12250 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12251 to...
12252 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12253 * Versions.def: Add GLIBC_2.14.
12254 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12255 Export.
83fe108b 12256
bb242059
UD
122572011-03-22 Ulrich Drepper <drepper@gmail.com>
12258
12259 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12260 round counter.
12261 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12262
c97a1282
L
122632011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12264
12265 [BZ #12597]
12266 * string/test-strncmp.c (do_page_test): New function.
12267 (check2): Likewise.
12268 (test_main): Call check2.
12269 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12270
2a115601
UD
122712011-03-20 Ulrich Drepper <drepper@gmail.com>
12272
12273 [BZ #12587]
12274 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12275 Handle cache information in CPU leaf 4.
12276 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12277
8126d904
UD
122782011-03-18 Ulrich Drepper <drepper@gmail.com>
12279
042c49c6 12280 [BZ #12583]
8126d904
UD
12281 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12282 character representation.
12283 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12284
ccfe366e
RA
122852011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12286
12287 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12288 END(__isnan) to END(__isnanf) to match function entry point/label
12289 EALIGN(__isnanf,...).
12290
c6e13027
JJ
122912011-03-10 Jakub Jelinek <jakub@redhat.com>
12292
12293 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12294
33f85a3f
UD
122952011-03-10 Ulrich Drepper <drepper@gmail.com>
12296
028478fa
UD
12297 [BZ #12510]
12298 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12299 copy from the symbol referenced in the relocation to initialize the
12300 used variable.
12301 Patch by Piotr Bury <pbury@goahead.com>.
12302 * elf/Makefile: Add rules to build and tst-unique3.
12303 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12304 * elf/tst-unique3.cc: New file.
12305 * elf/tst-unique3.h: New file.
12306 * elf/tst-unique3lib.cc: New file.
12307 * elf/tst-unique3lib2.cc: New file.
12308
33f85a3f
UD
12309 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12310
03592fc7
MF
123112011-03-10 Mike Frysinger <vapier@gentoo.org>
12312
12313 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12314 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12315 to _start.
03592fc7 12316
6a5ee102
UD
123172011-03-06 Ulrich Drepper <drepper@gmail.com>
12318
12319 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12320 to-be-loaded object along a path to loader is ld.so.
12321
7e4ba49c
HJ
123222011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12323 Ulrich Drepper <drepper@gmail.com>
12324
12325 * sysdeps/x86_64/memset.S: After aligning destination, code
12326 branches to different locations depending on the value of
12327 misalignment, when multiarch is enabled. Fix this.
12328
123292011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12330
12331 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12332 Set _x86_64_preferred_memory_instruction for AMD processsors.
12333 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12334 Set bit_Prefer_SSE_for_memop for AMD processors.
12335
13a804de
UD
123362011-03-04 Ulrich Drepper <drepper@gmail.com>
12337
12338 * libio/fmemopen.c (fmemopen): Optimize a bit.
12339
9d25c392
AS
123402011-03-03 Andreas Schwab <schwab@redhat.com>
12341
12342 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12343
a5543c6a
RM
123442011-03-03 Roland McGrath <roland@redhat.com>
12345
12346 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12347
012d35f7
DM
123482011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12349
7e4ba49c 12350 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12351 __bzero_ultra1 instead of __memset_ultra1.
12352
4bff6e01
AS
123532011-02-23 Andreas Schwab <schwab@redhat.com>
12354 Ulrich Drepper <drepper@gmail.com>
12355
12356 [BZ #12509]
12357 * include/link.h (struct link_map): Add l_orig_initfini.
12358 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12359 returning unsuccessfully.
12360 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12361 close of a file loaded at startup, restore the original l_initfini
12362 list.
12363 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12364 list, store the pointer.
12365 * elf/Makefile ($(objpfx)noload-mem): New rule.
12366 (noload-ENV): Define.
12367 (tests): Add $(objpfx)noload-mem.
12368 * elf/noload.c: Include <memcheck.h>.
12369 (main): Call mtrace. Close all opened handles.
12370
f2092faf
AS
123712011-02-17 Andreas Schwab <schwab@redhat.com>
12372
12373 [BZ #12454]
12374 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12375 dependencies are missing.
12376
6c8a2e88
ST
123772011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12378
f2092faf 12379 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12380 Hurd needs munmap.
12381 * sysdeps/mach/hurd/ifreq.h: New file.
12382
84a42118
PB
123832011-01-27 Petr Baudis <pasky@suse.cz>
12384 Ulrich Drepper <drepper@gmail.com>
12385
071f805e 12386 [BZ 12445]#
84a42118
PB
12387 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12388 to extend_alloca().
12389 * stdio-common/bug23.c: New file.
12390 * stdio-common/Makefile (tests): Add bug23.
12391
e23fe25b
AS
123922010-09-28 Andreas Schwab <schwab@redhat.com>
12393 Ulrich Drepper <drepper@gmail.com>
12394
12395 [BZ #12489]
12396 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12397 before performing relro protection. At old place add assertion
12398 to make sure nothing changed.
12399
d3f02e10
NS
124002011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12401 Glauber de Oliveira Costa <glommer@gmail.com>
12402
12403 * elf/elf.h: Add new ARM TLS relocs.
12404
d55fd7a5
RA
124052011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12406
12407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12408 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12409 cast from r3.
12410 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12411 'tests' variable.
12412 * sysdeps/wordsize-64/tst-writev.c: New file.
12413
2206397e
RA
124142011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12415
12416 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12417 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12418 insns in _dl_start to prevent a TOC reference before relocs are
12419 resolved.
12420
e9433893
UD
124212011-02-15 Ulrich Drepper <drepper@gmail.com>
12422
12423 [BZ #12469]
12424 * Makeconfig: Remove RANLIB definition.
12425 * Makerules: Don't use RANLIB.
12426 * aclocal.m4: Remove ranlib test.
12427 * configure.in: No need to check for ranlib.
12428 * elf/rtld-Rules: Don't use RANLIB.
12429
f75286c6
ST
124302011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12431
8e31c82d
ST
12432 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12433 protection macro.
12434 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12435 inclusion protection macro.
12436
f75286c6
ST
12437 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12438 SIGRTMIN and SIGRTMAX and print information in that case only when
12439 SIGRTMIN is defined.
12440
c1d0e639
JJ
124412011-02-11 Jakub Jelinek <jakub@redhat.com>
12442
12443 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12444 arginfo fn returning -1.
12445
12446 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12447 and thousands string is zero terminated.
12448
edf9294e
AS
124492011-02-03 Andreas Schwab <schwab@redhat.com>
12450
12451 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12452 sysdeps/unix/sysv/linux/bits/socket.h.
12453
2b7e92df
ST
124542011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12455
edf9294e
AS
12456 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12457 (__CPU_COUNT): Remove old macros.
12458 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12459 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12460 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12461 (__sched_cpualloc, __sched_cpufree): Add declarations.
12462
a4c7ea7b
UD
124632011-02-05 Ulrich Drepper <drepper@gmail.com>
12464
12465 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12466 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12467 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12468 (readdhstai): Return value of addhstaiX call.
12469 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12470 (addgrbyX): Return value returned by cache_addgr.
12471 (readdgrbyname): Return value returned by addgrbyX.
12472 (readdgrbygid): Likewise.
12473 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12474 (addpwbyX): Return value returned by cache_addpw.
12475 (readdpwbyname): Return value returned by addhstbyX.
12476 (readdpwbyuid): Likewise.
12477 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12478 (addservbyX): Return value returned by cache_addserv.
12479 (readdservbyname): Return value returned by addservbyX:
12480 (readdservbyport): Likewise.
12481 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12482 (addhstbyX): Return value returned by cache_addhst.
12483 (readdhstbyname): Return value returned by addhstbyX.
12484 (readdhstbyaddr): Likewise.
12485 (readdhstbynamev6): Likewise.
12486 (readdhstbyaddrv6): Likewise.
12487 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12488 (readdinitgroups): Return value returned by addinitgroupsX.
12489 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12490 (prune_cache): Keep track of timeout value of re-added entries.
12491 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12492 * nscd/nscd.h: Adjust prototypes of readd* functions.
12493
a0bf67cc
RM
124942011-02-04 Roland McGrath <roland@redhat.com>
12495
12496 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12497 (nis_stats): Likewise.
12498 * nis/nis_modify.c (nis_modify): Likewise.
12499 * nis/nis_remove.c (nis_remove): Likewise.
12500 * nis/nis_add.c (nis_add): Likewise.
12501
12502 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12503
12504 * posix/fnmatch_loop.c: Add some consts.
12505
12506 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12507
435b95eb
L
125082011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12509
12510 [BZ #12460]
12511 * config.make.in (config-cflags-novzeroupper): Define.
12512 * configure.in: Substitute libc_cv_cc_novzeroupper.
12513 * elf/Makefile (AVX-CFLAGS): Define.
12514 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12515 (CFLAGS-tst-auditmod4a.c): Likewise.
12516 (CFLAGS-tst-auditmod4b.c): Likewise.
12517 (CFLAGS-tst-auditmod6b.c): Likewise.
12518 (CFLAGS-tst-auditmod6c.c): Likewise.
12519 (CFLAGS-tst-auditmod7b.c): Likewise.
12520 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12521
8517b15e
UD
125222011-02-02 Ulrich Drepper <drepper@gmail.com>
12523
12524 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12525 function to the callback.
12526 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12527
10a656fe
AS
125282011-02-02 Andreas Schwab <schwab@redhat.com>
12529
12530 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12531 of errno.
12532
968dad0a
UD
125332011-01-19 Ulrich Drepper <drepper@gmail.com>
12534
9f94d2ea 12535 [BZ #11724]
968dad0a
UD
12536 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12537 of constructors.
12538 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12539 of destructors.
12540 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12541
12542 [BZ #11724]
12543 * elf/Makefile: Add rules to build and run new test.
12544 * elf/tst-initorder.c: New file.
12545 * elf/tst-initorder.exp: New file.
12546 * elf/tst-initordera1.c: New file.
12547 * elf/tst-initordera2.c: New file.
12548 * elf/tst-initordera3.c: New file.
12549 * elf/tst-initordera4.c: New file.
12550 * elf/tst-initorderb1.c: New file.
12551 * elf/tst-initorderb2.c: New file.
12552 * elf/tst-order-a1.c: New file.
12553 * elf/tst-order-a2.c: New file.
12554 * elf/tst-order-a3.c: New file.
12555 * elf/tst-order-a4.c: New file.
12556 * elf/tst-order-b1.c: New file.
12557 * elf/tst-order-b2.c: New file.
12558 * elf/tst-order-main.c: New file.
12559 New test case by George Gensure <werkt0@gmail.com>.
12560
86e92359
UD
125612010-10-01 Andreas Schwab <schwab@redhat.com>
12562
12563 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12564 decoding ACE if AI_CANONIDN.
12565
5d5732b0
UD
125662011-01-18 Ulrich Drepper <drepper@gmail.com>
12567
12568 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12569
a77e8cbc
UD
125702011-01-17 Ulrich Drepper <drepper@gmail.com>
12571
6392473f
UD
12572 * version.h (RELEASE): Bump for 2.13 release.
12573 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12574
620a0529
UD
12575 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12576
18ba70a5
UD
12577 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12578 MADV_NOHUGEPAGE.
32465c3e
UD
12579 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12580 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12581 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12582 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12583 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12584 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12585
c0dafcf1
UD
12586 * posix/getconf.c: Update copyright year.
12587 * catgets/gencat.c: Likewise.
12588 * csu/version.c: Likewise.
12589 * debug/catchsegv.sh: Likewise.
12590 * debug/xtrace.sh: Likewise.
12591 * elf/ldconfig.c: Likewise.
12592 * elf/ldd.bash.in: Likewise.
12593 * elf/sprof.c (print_version): Likewise.
12594 * iconv/iconv_prog.c: Likewise.
12595 * iconv/iconvconfig.c: Likewise.
12596 * locale/programs/locale.c: Likewise.
12597 * locale/programs/localedef.c: Likewise.
12598 * malloc/memusage.sh: Likewise.
12599 * malloc/mtrace.pl: Likewise.
12600 * nscd/nscd.c (print_version): Likewise.
12601 * nss/getent.c: Likewise.
12602
a77e8cbc
UD
12603 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12604 PF_CAIF, and PF_ALG.
12605 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12606
77e8bddf
AS
126072011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12608
1f20b93a
AS
12609 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12610 (modules-names): Use them.
12611 (ifunc-test-modules, ifunc-pie-tests): Define.
12612 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12613 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12614 (test-extras): Likewise.
12615 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12616 $(compile-command.c).
12617 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12618 (all-built-dso): Define.
12619 (check-textrel.out, check-execstack.out): Depend on it.
12620
77e8bddf
AS
12621 * configure.in: Don't override --enable-multi-arch.
12622
bc425b33
UD
126232011-01-15 Ulrich Drepper <drepper@gmail.com>
12624
12625 [BZ #6812]
12626 * nscd/hstcache.c (tryagain): Define.
12627 (cache_addhst): Return tryagain not notfound for temporary errors.
12628 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12629 failed.
12630
794c3ad3
UD
126312011-01-14 Ulrich Drepper <drepper@gmail.com>
12632
70181fdd
UD
12633 [BZ #10563]
12634 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12635 to make the syscall.
12636 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12637
794c3ad3
UD
12638 [BZ #12378]
12639 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12640 and fall back to matching as normal character if the string ends before
12641 the matching ']' is found. This is what POSIX requires.
12642 * posix/testfnm.c: Adjust test result.
12643 * posix/globtest.sh: Adjust test result. Add new test.
12644 * posix/tst-fnmatch.input: Likewise.
12645 * posix/tst-fnmatch2.c: Add new test.
12646
68dc9497
AS
126472010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12648
12649 * elf/Makefile (check-execstack): Revert last change. Depend on
12650 check-execstack.h.
12651 (check-execstack.h): New target.
12652 (generated): Add check-execstack.h.
12653 * elf/check-execstack.c: Include "check-execstack.h".
12654 (main): Revert last change.
12655 (handle_file): Return zero if GNU_STACK is absent and
12656 DEFAULT_STACK_PERMS doesn't include PF_X.
12657
451f001b
UD
126582011-01-13 Ulrich Drepper <drepper@gmail.com>
12659
cfa28e56
UD
12660 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12661 in child fails because the descriptor is already closed.
8cf8ce17
UD
12662 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12663 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12664 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12665
1086d70d
UD
12666 [BZ #12397]
12667 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12668 syscall.
12669
451f001b
UD
12670 [BZ #10484]
12671 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12672 temporary buffer used to handle multi lookups locally.
a85b5cb4 12673 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12674
08769175
UD
126752011-01-12 Ulrich Drepper <drepper@gmail.com>
12676
12677 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12678 loader is ld.so.
12679
5e49c52e
UD
126802011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12681
12682 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12683 alignment for SSE2.
12684
60522a5f
UD
126852011-01-12 Ulrich Drepper <drepper@gmail.com>
12686
12687 [BZ #12394]
12688 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12689 characters. When rounding increased number of integer digits recompute
12690 number of groups.
12691 * stdio-common/tst-grouping.c: New file.
12692 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12693
f257bbd7
UD
126942011-01-09 Ulrich Drepper <drepper@gmail.com>
12695
12696 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12697 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12698
12699 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12700 void.
12701 * bits/select.h: Likewise.
12702
fa9c15cb
UD
127032011-01-08 Ulrich Drepper <drepper@gmail.com>
12704
12705 * po/ja.po: Update from translation team.
12706
16c2895f
DM
127072011-01-04 David S. Miller <davem@sunset.davemloft.net>
12708
12709 [BZ #11155]
12710 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12711 implementation just like for lxstat, fxstatat, et al.
12712
2543fef2
JM
127132010-12-27 Jim Meyering <meyering@redhat.com>
12714
12715 [BZ #12348]
12716 * posix/regexec.c (build_trtable): Return failure indication upon
12717 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12718
98727dbe
UD
127192010-12-25 Ulrich Drepper <drepper@gmail.com>
12720
5bd6dc5c
UD
12721 [BZ #12201]
12722 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12723 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12724 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12725 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12726
97983464
UD
12727 [BZ #12207]
12728 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12729
98727dbe
UD
12730 [BZ #12204]
12731 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12732 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12733
4a531bb0
L
127342010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12735
12736 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12737 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12738 script has SORT_BY_INIT_PRIORITY.
12739 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12740 NO_CTORS_DTORS_SECTIONS is defined.
12741 * elf/soinit.c: Likewise.
12742 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12743 NO_CTORS_DTORS_SECTIONS is defined.
12744 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12745 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12746 * sysdeps/sh/init-first.c: Likewise.
12747 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12748
07eb4b71
UD
127492010-12-24 Ulrich Drepper <drepper@gmail.com>
12750
12751 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12752 always use the slow path.
12753
30950a5f
RA
127542010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12755
12756 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12757 similar rule which adds the sysdep directories to the header search in
12758 order to pick up the correct platform stackinfo.h.
12759 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12760 perform test if it is, otherwise return successfully without testing.
12761 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12762 DEFAULT_STACK_PERMS define in stackinfo.h.
12763 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12764 defined in stackinfo.h.
12765 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12766 DEFAULT_STACK_PERMS defined in stackinfo.h.
12767 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12768 * sysdeps/ia64/stackinfo.h: Likewise.
12769 * sysdeps/s390/stackinfo.h: Likewise.
12770 * sysdeps/sh/stackinfo.h: Likewise.
12771 * sysdeps/sparc/stackinfo.h: Likewise.
12772 * sysdeps/x86_64/stackinfo.h: Likewise.
12773 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12774 PF_X for powerpc64. Retain PF_X for powerpc32.
12775
db753e2c
UD
127762010-12-19 Ulrich Drepper <drepper@gmail.com>
12777
14b697f7
UD
12778 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12779 accurately.
db753e2c
UD
12780 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12781 GETDENTS_64BIT_ALIGNED.
12782
28300719
UD
127832010-12-14 Ulrich Drepper <dreper@gmail.com>
12784
14b697f7 12785 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12786
4f197237
AS
127872010-12-10 Andreas Schwab <schwab@redhat.com>
12788
dbb0472f
AS
12789 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12790 _GNU_SOURCE.
12791
4f197237
AS
12792 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12793 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12794 Remove __restrict.
12795 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12796 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12797
fb88ac72
UD
127982010-12-09 Ulrich Drepper <drepper@gmail.com>
12799
12800 [BZ #11655]
12801 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12802 are initialized.
12803
42acbb92
JJ
128042010-12-09 Jakub Jelinek <jakub@redhat.com>
12805
12806 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12807
c038d98d
UD
128082010-12-03 Ulrich Drepper <drepper@gmail.com>
12809
12810 * po/it.po: Update from translation team.
12811
3a4a2499
L
128122010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12813
12814 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12815 unused codes.
12816
1e24cf6e
UD
128172010-11-30 Ulrich Drepper <drepper@gmail.com>
12818
12819 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12820
a7690819
AS
128212010-11-24 Andreas Schwab <schwab@redhat.com>
12822
12823 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12824 specially.
12825 (gaih_getanswer_slice): Likewise.
12826
3bf8d1b1
JJ
128272010-10-20 Jakub Jelinek <jakub@redhat.com>
12828
12829 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12830
6db52fbb
PB
128312010-05-31 Petr Baudis <pasky@suse.cz>
12832
12833 [BZ #11149]
12834 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12835 silently even in the chroot mode.
12836
eaca7569
UD
128372010-11-22 Ulrich Drepper <drepper@gmail.com>
12838
12839 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12840 last patch a bit. Pretty printing
12841
3056dcdb
UD
128422010-05-31 Petr Baudis <pasky@suse.cz>
12843
12844 [BZ #10085]
12845 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12846 initialization of skip_initgroups_dyn.
12847
cf7c9078
UD
128482010-11-19 Ulrich Drepper <drepper@gmail.com>
12849
12850 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12851 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12852
a1fb5e3e
UD
128532010-11-16 Ulrich Drepper <drepper@gmail.com>
12854
12855 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12856
3540d66b
AS
128572010-11-11 Andreas Schwab <schwab@redhat.com>
12858
12859 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12860 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12861 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12862 ($(objpfx)tst-fnmatch-mem): New rule.
12863 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12864 * posix/tst-fnmatch.c (main): Call mtrace.
12865
13b69574
L
128662010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12867
12868 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12869 Support Intel processor model 6 and model 0x2c.
12870
da93d214
LM
128712010-11-10 Luis Machado <luisgpm@br.ibm.com>
12872
12873 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12874 signed comparison.
12875
8ca52c6e
L
128762010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12877
12878 [BZ #12205]
12879 * string/test-strncasecmp.c (check_result): New function.
12880 (do_one_test): Use it.
12881 (check1): New function.
12882 (test_main): Use it.
12883 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12884 Support strcasecmp and strncasecmp.
12885
69da074d
UD
128862010-11-08 Ulrich Drepper <drepper@gmail.com>
12887
12888 [BZ #12194]
12889 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12891
ff02d528
L
128922010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12895 IFUNC support.
12896 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12897 memset-x86-64.
12898 * sysdeps/x86_64/multiarch/bzero.S: New file.
12899 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12900 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12901 * sysdeps/x86_64/multiarch/memset.S: New file.
12902 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12903 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12904 Set bit_Prefer_SSE_for_memop for Intel processors.
12905 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12906 Define.
12907 (index_Prefer_SSE_for_memop): Define.
12908 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12909
344d0b54
LM
129102010-11-04 Luis Machado <luisgpm@br.ibm.com>
12911
12912 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12913 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12914
c0dde15b
UD
129152010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12916
12917 [BZ #12191]
12918 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12919 (__x86_64_raw_data_cache_size_half): Likewise.
12920 (__x86_64_raw_shared_cache_size): Likewise.
12921 (__x86_64_raw_shared_cache_size_half): Likewise.
12922
12923 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12924 (__x86_64_raw_data_cache_size_half): Likewise.
12925 (__x86_64_raw_shared_cache_size): Likewise.
12926 (__x86_64_raw_shared_cache_size_half): Likewise.
12927 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12928 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12929 and __x86_64_raw_shared_cache_size_half. Round
12930 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12931 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12932 to multiple of 256 bytes.
12933
0e516e0e
MS
129342010-11-03 Ulrich Drepper <drepper@gmail.com>
12935
12936 [BZ #12167]
12937 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12938 of inacessible symlinks. Verify result of symlink before returning it.
12939 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12940 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12941
0e012e87
ER
129422010-10-28 Erich Ritz <erichritz@gmail.com>
12943
12944 * math/math.h (isinf): Fix typo in comment.
12945
de0ff7bc
UD
129462010-11-01 Ulrich Drepper <drepper@gmail.com>
12947
12948 * po/da.po: Update from translation team.
12949
fa41c84d
UD
129502010-10-26 Ulrich Drepper <drepper@gmail.com>
12951
12952 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12953 is added to the list.
12954
f0967738
AK
129552010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12956 Ulrich Drepper <drepper@gmail.com>
12957
12958 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12959 the global list here. Move code to...
12960 (_dl_add_to_namespace_list): ...here. New function.
12961 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
12962 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
12963 * elf/dl-load.c (lose): Don't remove the element from the list.
12964 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
12965 (_dl_map_object): Likewise.
12966
129672010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
12968
12969 [BZ #12159]
12970 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
12971 into all bytes of SSE register.
12972 Patch by Richard Li <richardpku@gmail.com>.
12973
f0967738 129742010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
12975
12976 [BZ #12140]
12977 * malloc/malloc.c (_int_free): Fill correct number of bytes when
12978 perturbing.
12979
d0b9e94f
MB
129802010-10-20 Michael B. Brutman <brutman@us.ibm.com>
12981
12982 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
12983 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
12984 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
12985 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
12986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
12987 submachine.
12988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
12989
8e9f92e9
AS
129902010-10-22 Andreas Schwab <schwab@redhat.com>
12991
12992 * include/dlfcn.h (__RTLD_SECURE): Define.
12993 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
12994 mode & __RTLD_SECURE instead.
12995 (open_path): Rename preloaded parameter to secure.
12996 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
12997 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
12998 * elf/dl-deps.c (openaux): Likewise.
12999 * elf/rtld.c (struct map_args): Remove is_preloaded.
13000 (map_doit): Don't use it.
13001 (dl_main): Likewise.
13002 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13003 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13004
bc96fbda
AS
130052010-09-09 Andreas Schwab <schwab@redhat.com>
13006
13007 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13008 (sysd-rules-targets): Remove duplicates.
13009 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13010 rtld-%.$o dependency.
13011
22cd1c9b
AS
130122010-10-18 Andreas Schwab <schwab@redhat.com>
13013
13014 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13015 _dl_map_object do it.
13016
18edac48
UD
130172010-10-19 Ulrich Drepper <drepper@gmail.com>
13018
13019 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13020 fast fma builtins, define the macros in the C99 standard.
13021 (FP_FAST_FMAF): Likewise.
13022 (FP_FAST_FMAL): Likewise.
13023 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13024
13025 * bits/mathdef.h: Update copyright year.
13026 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13027
d2050124
MM
130282010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13029
13030 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13031 builtins, define the macros in the C99 standard.
13032 (FP_FAST_FMAF): Likewise.
13033 (FP_FAST_FMAL): Likewise.
13034 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13035 multiply/add.
13036 (FP_FAST_FMAF): Likewise.
13037
475facd1
JJ
130382010-10-15 Jakub Jelinek <jakub@redhat.com>
13039
13040 [BZ #3268]
13041 * math/libm-test.inc (fma_test): Some new testcases.
13042 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13043 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13044 y and infinite z. Do multiplication by C already in long double.
13045 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13046 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13047 y and infinite z. Do bitwise or of inexact bit into u.d.
13048 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13049 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13050 * sysdeps/i386/fpu/s_fma.S: Removed.
13051 * sysdeps/i386/fpu/s_fmal.S: Removed.
13052
7c08a05c
JJ
130532010-10-16 Jakub Jelinek <jakub@redhat.com>
13054
13055 [BZ #3268]
13056 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13057 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13058 computation is not scheduled after fetestexcept. Fix value
13059 of minimum denormal long double.
13060
f3f7372d
JJ
130612010-10-14 Jakub Jelinek <jakub@redhat.com>
13062
13063 [BZ #3268]
13064 * math/libm-test.inc (fma_test): Add some more tests.
13065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13066 correctly.
13067
14d43591
AS
130682010-10-15 Andreas Schwab <schwab@redhat.com>
13069
13070 * scripts/data/localplt-s390-linux-gnu.data: New file.
13071 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13072
5e908464
JJ
130732010-10-13 Jakub Jelinek <jakub@redhat.com>
13074
13075 [BZ #3268]
13076 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13077 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13078 instead of dbl-64.
13079 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13080 inlines.
13081 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13083 if one of x and y is very large and the other is subnormal.
13084 * sysdeps/s390/fpu/s_fmaf.c: New file.
13085 * sysdeps/s390/fpu/s_fma.c: New file.
13086 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13087 * sysdeps/powerpc/fpu/s_fma.S: New file.
13088 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13089 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13090 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13091
130922010-10-12 Jakub Jelinek <jakub@redhat.com>
13093
13094 [BZ #3268]
13095 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13096 fma tests.
13097 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13098 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13099 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13100 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13101 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13102 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13103 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13104
b833d51f
UD
131052010-10-12 Ulrich Drepper <drepper@redhat.com>
13106
13107 [BZ #12078]
13108 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13109 * posix/bug-regex31.input: Add test case.
13110
1751705d
UD
131112010-10-11 Ulrich Drepper <drepper@gmail.com>
13112
e9b9cbf5
UD
13113 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13114 * posix/bug-regex31.input: New file.
13115
13116 [BZ #12078]
13117 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13118 (parse_sub_exp): Fix last change, use postorder.
13119
ef06edbe
UD
13120 * posix/bug-regex31.c: New file.
13121 * posix/Makefile: Add rules to build and run bug-regex31.
13122
a129c80d
UD
13123 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13124
13125 [BZ #12078]
13126 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13127
b76b818e
UD
13128 [BZ #12108]
13129 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13130 to have entries in sys_siglist.
13131
1751705d
UD
13132 [BZ #12093]
13133 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13134 be NULL.
13135
9ff8d36f
JJ
131362010-10-07 Jakub Jelinek <jakub@redhat.com>
13137
13138 [BZ #3268]
13139 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13140 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13141 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13142 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13143 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13144 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13145 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13146 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13147 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13148 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13149 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13150 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13151 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13152 * math/ftestexcept.c (fetestexcept): Likewise.
13153 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13154 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13155 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13156 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13157 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13158 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13159 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13160
af325969
UD
131612010-10-11 Ulrich Drepper <drepper@gmail.com>
13162
c579b202 13163 [BZ #12107]
af325969
UD
13164 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13165 newline.
13166
67a67b95
UD
131672010-10-06 Ulrich Drepper <drepper@gmail.com>
13168
13169 * string/bug-strstr1.c: New file.
13170 * string/Makefile: Add rules to build and run bug-strstr1.
13171
5fb308bc
EB
131722010-10-05 Eric Blake <eblake@redhat.com>
13173
13174 [BZ #12092]
13175 * string/str-two-way.h (two_way_long_needle): Always clear memory
13176 when skipping input due to the shift table.
13177
45db99c7
UD
131782010-10-03 Ulrich Drepper <drepper@gmail.com>
13179
3b111893
UD
13180 [BZ #12005]
13181 * malloc/mcheck.c: Handle large requests.
13182
45db99c7
UD
13183 [BZ #12077]
13184 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13185 for strncmp and strncasecmp.
13186 * string/stratcliff.c: Add tests for strcmp and strncmp.
13187 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13188
cf7a1eb8
NI
131892010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13190
13191 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13192 __set_fpscr.
13193
6484ba5e
AJ
131942010-09-30 Andreas Jaeger <aj@suse.de>
13195
13196 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13197 (CGROUP_SUPER_MAGIC): Define.
13198 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13199 Handle btrfs and cgroup file systems.
13200 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13201 Likewise.
13202
91c42559
LM
132032010-09-27 Luis Machado <luisgpm@br.ibm.com>
13204
13205 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13206 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13207
87a97932
AK
132082010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13209
13210 [BZ #12067]
13211 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13212 trying to locate the ELF header.
13213
c21cc9bc
AS
132142010-09-27 Andreas Schwab <schwab@redhat.com>
13215
13216 [BZ #11611]
13217 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13218 Mask out sign-bit copies when constructing f_fsid.
13219
315970f6
PB
132202010-09-24 Petr Baudis <pasky@suse.cz>
13221
13222 * debug/stack_chk_fail_local.c: Add missing licence exception.
13223 * debug/warning-nop.c: Likewise.
13224
1ac7a2c7
JM
132252010-09-15 Joseph Myers <joseph@codesourcery.com>
13226
13227 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13228 implementing getdents64 using getdents syscall, set d_type if
13229 __ASSUME_GETDENTS32_D_TYPE.
13230
56801c50
AS
132312010-09-16 Andreas Schwab <schwab@redhat.com>
13232
13233 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13234 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13235
dda51327
UD
132362010-09-21 Ulrich Drepper <drepper@redhat.com>
13237
13238 [BZ #12037]
13239 * posix/unistd.h: Undo change of feature selection for ftruncate from
13240 2010-01-11.
13241
8ffcee4a
UD
132422010-09-20 Ulrich Drepper <drepper@redhat.com>
13243
a545ecd9 13244 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13245 detection.
13246
e24f0a8b
AS
132472010-09-20 Andreas Schwab <schwab@redhat.com>
13248
13249 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13250 fanotify_mark.
13251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13252
7291c56f
AS
132532010-09-14 Andreas Schwab <schwab@redhat.com>
13254
13255 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13256 variables after CHECK_SP call.
13257 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13258
bc5fb037
AS
132592010-09-13 Andreas Schwab <schwab@redhat.com>
13260 Ulrich Drepper <drepper@redhat.com>
13261
13262 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13263 re-relocationg ld.so.
13264 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13265 _dl_init_paths call.
13266 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13267 here anymore.
13268
e66e7419
UD
132692010-09-14 Ulrich Drepper <drepper@redhat.com>
13270
13271 * resolv/res_init.c (__res_vinit): Count the default server we added.
13272
c044aa75
CLT
132732010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13274 Ulrich Drepper <drepper@redhat.com>
13275
13276 [BZ #11968]
13277 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13278 (____longjmp_chk): Use %ebx for saving value across system call.
13279 Add unwind info.
13280
32cf4069
AS
132812010-09-06 Andreas Schwab <schwab@redhat.com>
13282
13283 * manual/Makefile: Don't mix pattern rules with normal rules.
13284
817328ee
AS
132852010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13286
13287 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13288 operation.
13289 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13290 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13291 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13292 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13293 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13294 Likewise.
13295
29fddf61
UD
132962010-09-04 Ulrich Drepper <drepper@redhat.com>
13297
13298 [BZ #11979]
13299 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13300 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13301
0959ffc9
UD
133022010-09-02 Ulrich Drepper <drepper@redhat.com>
13303
13304 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13305 * sysdeps/x86_64/addmul_1.S: Likewise.
13306 * sysdeps/x86_64/lshift.S: Likewise.
13307 * sysdeps/x86_64/mul_1.S: Likewise.
13308 * sysdeps/x86_64/rshift.S: Likewise.
13309 * sysdeps/x86_64/sub_n.S: Likewise.
13310 * sysdeps/x86_64/submul_1.S: Likewise.
13311
ece29840
ST
133122010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13313
0959ffc9
UD
13314 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13315 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13316 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13317 * bits/sched.h [__need_schedparam]
ece29840 13318 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13319 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13320 (__defined_schedparam): Define to 1.
ece29840
ST
13321 (__sched_param): New structure, identical to sched_param.
13322 (__need_schedparam): Undefine.
13323
e53a31fe
MF
133242010-08-31 Mike Frysinger <vapier@gentoo.org>
13325
fdc0c10d
MF
13326 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13327 (epoll_create1): Declare.
13328
e53a31fe
MF
13329 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13330
a726d796
AS
133312010-08-31 Andreas Schwab <schwab@redhat.com>
13332
13333 [BZ #7066]
13334 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13335 shifting retval into place.
13336
2f3e3dc7
UD
133372010-09-01 Ulrich Drepper <drepper@redhat.com>
13338
f2933da9
UD
13339 * nis/rpcsvc/nis.h: Update copyright notice.
13340 * nis/rpcsvc/nis.x: Likewise.
13341 * nis/rpcsvc/nis_callback.h: Likewise.
13342 * nis/rpcsvc/nis_callback.x: Likewise.
13343 * nis/rpcsvc/nis_object.x: Likewise.
13344 * nis/rpcsvc/nis_tags.h: Likewise.
13345 * nis/rpcsvc/yp.h: Likewise.
13346 * nis/rpcsvc/yp.x: Likewise.
13347 * nis/rpcsvc/ypupd.h: Likewise.
13348 * nis/yp_xdr.c: Likewise.
13349 * nis/ypupdate_xdr.c: Likewise.
13350
2f3e3dc7
UD
13351 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13352 mainly the body of pmap_getport. Add parameters to specify timeouts.
13353 (pmap_getport): Use __libc_rpc_getport.
13354 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13355 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13356 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13357
f3dcc2f9
AS
133582010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13359
13360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13361 fanotify_mark.
13362
6d34eb5b
RM
133632010-08-27 Roland McGrath <roland@redhat.com>
13364
13365 * sysdeps/i386/i686/multiarch/Makefile
13366 (CFLAGS-varshift.c): New variable.
13367
9ea3de11
UD
133682010-08-27 Ulrich Drepper <drepper@redhat.com>
13369
c96d23fc
UD
13370 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13371 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13372
9ea3de11
UD
13373 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13374
13375 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13376
623aac7f
L
133772010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13378
13379 * sysdeps/x86_64/strlen.S: Unroll the loop.
13380 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13381 strlen-sse2 strlen-sse2-bsf.
13382 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13383 __strlen_no_bsf if bit_Slow_BSF is set.
13384 (__strlen_sse42): Removed.
13385 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13386 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13387
8b2b7715
RM
133882010-08-25 Roland McGrath <roland@redhat.com>
13389
13390 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13391 * sysdeps/x86_64/multiarch/varshift.c: New file.
13392 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13393 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13394 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13395 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13396
e73015f2
L
133972010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13398
13399 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13400 strlen-sse2 strlen-sse2-bsf.
13401 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13402 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13403 (__strlen_sse2): Removed.
13404 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13405 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13406 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13407 bit_Slow_BSF for Atom.
13408 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13409 (index_Slow_BSF): Define.
13410 (HAS_SLOW_BSF): Define.
13411
df24a73e
UD
134122010-08-25 Ulrich Drepper <drepper@redhat.com>
13413
13414 [BZ #10851]
13415 * resolv/res_init.c (__res_vinit): When no server address at all
13416 is given default to loopback.
13417
f2ac4868
RM
134182010-08-24 Roland McGrath <roland@redhat.com>
13419
09055553
RM
13420 * configure.in: Remove config-name.h generation.
13421 * configure: Regenerated.
13422 * config-name.in: File removed.
13423 * scripts/config-uname.sh: New file.
13424 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13425 ($(objdir)config-name.h): New target.
13426
f2ac4868
RM
13427 * sunrpc/rpc_parse.h: Avoid nested comment.
13428
73f27d5e
RH
134292010-08-24 Richard Henderson <rth@redhat.com>
13430 Ulrich Drepper <drepper@redhat.com>
13431 H.J. Lu <hongjiu.lu@intel.com>
13432
13433 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13435 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13436 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13437 _mm_alignr_epi8 with _mm_loadu_si128.
13438 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13439 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13440 (__m128i_shift_right): Removed.
13441 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13442 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13443 * sysdeps/x86_64/multiarch/varshift.h: New file.
13444 * sysdeps/x86_64/multiarch/varshift.S: New file.
13445
84b9230c
MF
134462010-08-21 Mike Frysinger <vapier@gentoo.org>
13447
13448 * configure.in: Move assembler checks to before sysdep dir checking.
13449
9bbd0ddc
PB
134502010-08-20 Petr Baudis <pasky@suse.cz>
13451
13452 * LICENSES: Sync the sunrpc license.
13453
9da4bb31
UD
134542010-08-19 Ulrich Drepper <drepper@redhat.com>
13455
a7ab6ec8
UD
13456 * sunrpc/auth_des.c: Update copyright notice once again.
13457 * sunrpc/auth_none.c: Likewise.
13458 * sunrpc/auth_unix.c: Likewise.
13459 * sunrpc/authdes_prot.c: Likewise.
13460 * sunrpc/authuxprot.c: Likewise.
13461 * sunrpc/bindrsvprt.c: Likewise.
13462 * sunrpc/clnt_gen.c: Likewise.
13463 * sunrpc/clnt_perr.c: Likewise.
13464 * sunrpc/clnt_raw.c: Likewise.
13465 * sunrpc/clnt_simp.c: Likewise.
13466 * sunrpc/clnt_tcp.c: Likewise.
13467 * sunrpc/clnt_udp.c: Likewise.
13468 * sunrpc/clnt_unix.c: Likewise.
13469 * sunrpc/des_crypt.c: Likewise.
13470 * sunrpc/des_soft.c: Likewise.
13471 * sunrpc/get_myaddr.c: Likewise.
13472 * sunrpc/getrpcport.c: Likewise.
13473 * sunrpc/key_call.c: Likewise.
13474 * sunrpc/key_prot.c: Likewise.
13475 * sunrpc/openchild.c: Likewise.
13476 * sunrpc/pm_getmaps.c: Likewise.
13477 * sunrpc/pm_getport.c: Likewise.
13478 * sunrpc/pmap_clnt.c: Likewise.
13479 * sunrpc/pmap_prot.c: Likewise.
13480 * sunrpc/pmap_prot2.c: Likewise.
13481 * sunrpc/pmap_rmt.c: Likewise.
13482 * sunrpc/rpc/auth.h: Likewise.
13483 * sunrpc/rpc/auth_unix.h: Likewise.
13484 * sunrpc/rpc/clnt.h: Likewise.
13485 * sunrpc/rpc/des_crypt.h: Likewise.
13486 * sunrpc/rpc/key_prot.h: Likewise.
13487 * sunrpc/rpc/netdb.h: Likewise.
13488 * sunrpc/rpc/pmap_clnt.h: Likewise.
13489 * sunrpc/rpc/pmap_prot.h: Likewise.
13490 * sunrpc/rpc/pmap_rmt.h: Likewise.
13491 * sunrpc/rpc/rpc.h: Likewise.
13492 * sunrpc/rpc/rpc_des.h: Likewise.
13493 * sunrpc/rpc/rpc_msg.h: Likewise.
13494 * sunrpc/rpc/svc.h: Likewise.
13495 * sunrpc/rpc/svc_auth.h: Likewise.
13496 * sunrpc/rpc/types.h: Likewise.
13497 * sunrpc/rpc/xdr.h: Likewise.
13498 * sunrpc/rpc_clntout.c: Likewise.
13499 * sunrpc/rpc_cmsg.c: Likewise.
13500 * sunrpc/rpc_common.c: Likewise.
13501 * sunrpc/rpc_cout.c: Likewise.
13502 * sunrpc/rpc_dtable.c: Likewise.
13503 * sunrpc/rpc_hout.c: Likewise.
13504 * sunrpc/rpc_main.c: Likewise.
13505 * sunrpc/rpc_parse.c: Likewise.
13506 * sunrpc/rpc_parse.h: Likewise.
13507 * sunrpc/rpc_prot.c: Likewise.
13508 * sunrpc/rpc_sample.c: Likewise.
13509 * sunrpc/rpc_scan.c: Likewise.
13510 * sunrpc/rpc_scan.h: Likewise.
13511 * sunrpc/rpc_svcout.c: Likewise.
13512 * sunrpc/rpc_tblout.c: Likewise.
13513 * sunrpc/rpc_util.c: Likewise.
13514 * sunrpc/rpc_util.h: Likewise.
13515 * sunrpc/rpcinfo.c: Likewise.
13516 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13517 * sunrpc/rpcsvc/key_prot.x: Likewise.
13518 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13519 * sunrpc/rpcsvc/mount.x: Likewise.
13520 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13521 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13522 * sunrpc/rpcsvc/rex.x: Likewise.
13523 * sunrpc/rpcsvc/rstat.x: Likewise.
13524 * sunrpc/rpcsvc/rusers.x: Likewise.
13525 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13526 * sunrpc/rpcsvc/spray.x: Likewise.
13527 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13528 * sunrpc/rtime.c: Likewise.
13529 * sunrpc/svc.c: Likewise.
13530 * sunrpc/svc_auth.c: Likewise.
13531 * sunrpc/svc_authux.c: Likewise.
13532 * sunrpc/svc_raw.c: Likewise.
13533 * sunrpc/svc_run.c: Likewise.
13534 * sunrpc/svc_simple.c: Likewise.
13535 * sunrpc/svc_tcp.c: Likewise.
13536 * sunrpc/svc_udp.c: Likewise.
13537 * sunrpc/svc_unix.c: Likewise.
13538 * sunrpc/svcauth_des.c: Likewise.
13539 * sunrpc/xcrypt.c: Likewise.
13540 * sunrpc/xdr.c: Likewise.
13541 * sunrpc/xdr_array.c: Likewise.
13542 * sunrpc/xdr_float.c: Likewise.
13543 * sunrpc/xdr_mem.c: Likewise.
13544 * sunrpc/xdr_rec.c: Likewise.
13545 * sunrpc/xdr_ref.c: Likewise.
13546 * sunrpc/xdr_sizeof.c: Likewise.
13547 * sunrpc/xdr_stdio.c: Likewise.
13548
9da4bb31
UD
13549 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13550 handling.
13551
bdaa77bc
AS
135522010-08-19 Andreas Schwab <schwab@redhat.com>
13553
13554 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13555
fe2f79db
LM
135562010-08-19 Luis Machado <luisgpm@br.ibm.com>
13557
13558 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13559 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13560 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13561 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13562 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13563 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13564 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13565 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13567 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13568 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13569 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13570 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13571 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13572
b9b42ee0
AB
135732010-07-26 Anton Blanchard <anton@samba.org>
13574
13575 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13576 * malloc/arena.c (heap_trim): Likewise.
13577
1c06ba31
UD
135782010-08-16 Ulrich Drepper <drepper@redhat.com>
13579
13580 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13581 here. Not...
13582 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13583 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13584
f8392f40
L
135852010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13586
13587 * sysdeps/i386/elf/Makefile: New file.
13588
3162f12e
AS
135892010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13590
13591 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13592 from fanotify_init.
13593 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13595
28c90b2c
UD
135962010-08-15 Ulrich Drepper <drepper@redhat.com>
13597
13598 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13599 of strncasecmp_l.
1feccb6c 13600 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13601
ca6bb004
UD
136022010-08-14 Ulrich Drepper <drepper@redhat.com>
13603
e9f82e0d
UD
13604 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13605 strncase_l-nonascii.
13606 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13607 Add strncase_l-ssse3.
13608 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13609 * sysdeps/x86_64/strcmp.S: Likewise.
13610 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13611 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13612 * sysdeps/x86_64/strncase.S: New file.
13613 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13614 * sysdeps/x86_64/strncase_l.S: New file.
13615 * string/Makefile (strop-tests): Add strncasecmp.
13616 * string/test-strncasecmp.c: New file.
13617
13618 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13619 warning.
13620
ca6bb004
UD
13621 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13622 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13623
052fa7b3
AS
136242010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13625
13626 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13627
962dba78
UD
136282010-08-12 Ulrich Drepper <drepper@redhat.com>
13629
13630 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13631 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13632 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13633
bebff237
AM
136342010-05-01 Alan Modra <amodra@gmail.com>
13635
13636 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13637 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13638 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13639 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13640 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13641 tidying. Don't tail-call __sigjmp_save for static lib.
13642 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13643 save location.
13644 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13645 (CALL_MCOUNT): Add eh info, and nop after bl.
13646 (TAIL_CALL_SYSCALL_ERROR): New macro.
13647 (PSEUDO_RET): Use it.
13648 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13649 Correct save location of integer regs and cr.
13650 (_dl_profile_resolve): Correct cr save location. Delete nops
13651 after bl when SHARED. Reduce cfi size a little by better
13652 placement of cfi directives.
13653 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13654 make a stack frame. Instead use parm save area as a temp.
13655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13656 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13658 Don't make a stack frame for parent, use parm save area.
13659 Increase child stack frame to 112 bytes. Don't save unused reg,
13660 and adjust reg usage. Set up cfi on error recovery and
13661 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13663 (__makecontext): Add dummy nop after jump to exit.
13664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13665 Use correct parm save area and cr save, reduce stack frame.
13666 Correct cfi for possible PSEUDO_RET frame setup.
13667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13668 Branch to local label emitted by PSEUDO_RET rather than
13669 __syscall_error.
13670
02637374
AS
136712010-08-12 Andreas Schwab <schwab@redhat.com>
13672
13673 [BZ #11904]
13674 * locale/programs/locale.c (print_assignment): New function.
13675 (show_locale_vars): Use it.
13676
c3e2f19b
UD
136772010-08-11 Ulrich Drepper <drepper@redhat.com>
13678
3cdaa6ad
UD
13679 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13680 field.
13681 (struct statfs64): Likewise.
13682 (_STATFS_F_FLAGS): Define.
13683 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13684 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13685 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13686 (ST_VALID): Define locally.
13687 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13688 __statvfs_getflags, use the provided value.
13689 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13690 __ASSUME_STATFS_F_FLAGS.
13691
754f7da3
UD
13692 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13693
10b3bedc
UD
13694 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13695 Add sys/fanotify.h.
13696 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13697 fanotify_mask for GLIBC_2.13.
13698 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13699 fanotify_init and fanotify_mark.
13700 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13701 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13702
c08fb0d7
UD
13703 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13704 Add prlimit.
13705 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13706 prlimit64 for GLIBC_2.13.
13707 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13708 prlimit64.
13709 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13710 syscall.
13711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13712 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13713 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13714 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13716 add prlimit alias.
13717 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13718
15bac72b
UD
13719 [BZ #11903]
13720 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13721 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13722
c3e2f19b
UD
13723 * nss/Makefile: Add rules to build and run tst-nss-test1.
13724 * shlib-versions: Add entry for libnss_test1.
13725 * nss/nss_test1.c: New file.
13726 * nss/tst-nss-test1.c: New file.
13727
13728 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13729 (__nss_configure_lookup): Set appropriate entry in
13730 __nss_configure_lookup to true.
13731 * nss/nsswitch.h: Define enum with indeces of databases in
13732 databases and __nss_database_custom arrays. Declare
13733 __nss_database_custom.
13734 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13735 to avoid using nscd when custom rules are installed.
13736 * nss/getXXbyYY_r.c: Likewise.
13737 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13738
13739 * nss/nss_files/files-parse.c: Whitespace fixes.
13740
f15ce4d8
UD
137412010-08-09 Ulrich Drepper <drepper@redhat.com>
13742
13743 [BZ #11883]
13744 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13745 * posix/fnmatch_loop.c: Likewise.
13746
d22e4cc9
AK
137472010-07-17 Andi Kleen <ak@linux.intel.com>
13748
13749 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13750 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13751 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13752 * Versions.def [GLIBC_2.13]: Add.
13753
805bc17d
UD
137542010-08-06 Ulrich Drepper <drepper@redhat.com>
13755
13756 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13757 Also fail if tpwd after pwuid call is NULL.
13758
5a42321d
ST
137592010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13760
13761 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13762 when converting to ms.
13763
fd3ebeda
ST
137642010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13765
13766 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13767 EOPNOTSUPP errors with ENOTTY.
13768 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13769 EOPNOTSUPP errors with ENOTTY.
13770
73507d3a
UD
137712010-07-31 Ulrich Drepper <drepper@redhat.com>
13772
13773 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13774 Add strcasecmp_l-ssse3.
13775 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13776 strcasecmp.
13777 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13778 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13779 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13780
fe36dd02
UD
137812010-07-30 Ulrich Drepper <drepper@redhat.com>
13782
66f6765a
UD
13783 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13784
42e08a54
UD
13785 * string/Makefile (strop-tests): Add strcasecmp.
13786 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13787 strcasecmp_l-nonascii.
13788 (gen-as-const-headers): Add locale-defines.sym.
13789 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13790 * sysdeps/x86_64/strcasecmp.S: New file.
13791 * sysdeps/x86_64/strcasecmp_l.S: New file.
13792 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13793 * sysdeps/x86_64/locale-defines.sym: New file.
13794 * string/test-strcasecmp.c: New file.
13795
fe36dd02
UD
13796 * string/test-strcasestr.c: Test both ends of the range of characters.
13797 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13798
48cbc0d6
RM
137992010-07-29 Roland McGrath <roland@redhat.com>
13800
76e6d6bc 13801 [BZ #11856]
48cbc0d6
RM
13802 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13803
880113d9
UD
138042010-07-27 Ulrich Drepper <drepper@redhat.com>
13805
13806 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13807 for ld.so.
13808
deb9cabb
AS
138092010-07-27 Andreas Schwab <schwab@redhat.com>
13810
13811 * manual/memory.texi (Malloc Tunable Parameters): Document
13812 M_PERTURB.
13813
1c7570ff
RM
138142010-07-26 Roland McGrath <roland@redhat.com>
13815
13816 [BZ #11840]
13817 * configure.in (-fgnu89-inline check): Set and substitute
13818 gnu89_inline, not libc_cv_gnu89_inline.
13819 * configure: Regenerated.
13820 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13821
24fb0f88
UD
138222010-07-26 Ulrich Drepper <drepper@redhat.com>
13823
13824 * string/test-strnlen.c: New file.
13825 * string/Makefile (strop-tests): Add strnlen.
13826 * string/tester.c (test_strnlen): Add a few more test cases.
13827 * string/tst-strlen.c: Better error reporting.
13828
13829 * sysdeps/x86_64/strnlen.S: New file.
13830
8e96b93a
UD
138312010-07-24 Ulrich Drepper <drepper@redhat.com>
13832
13833 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13834 lower-latency instructions.
13835
dbc676d4
UD
138362010-07-23 Ulrich Drepper <drepper@redhat.com>
13837
13838 * string/test-strcasestr.c: New file.
13839 * string/test-strstr.c: New file.
13840 * string/Makefile (strop-tests): Add strstr and strcasestr.
13841 * string/str-two-way.h: Don't undefine MAX.
13842 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13843
f6a31e0e
AS
138442010-07-21 Andreas Schwab <schwab@redhat.com>
13845
13846 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13847 strcasestr-nonascii.
13848 (CFLAGS-strcasestr-nonascii.c): Define.
13849 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13850 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13851 Remove unused attribute.
13852
5dbc3b6c
RM
138532010-07-20 Roland McGrath <roland@redhat.com>
13854
13855 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13856 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13857 ld.so.cache was broken. With it, there is no way to disable dsocaps
13858 like LD_HWCAP_MASK can disable hwcaps.
13859
23d101d8
EPM
138602010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13861
13862 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13863
cc9f2e47
UD
138642010-07-16 Ulrich Drepper <drepper@redhat.com>
13865
13866 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13867 call in strcasestr.
13868 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13869 __strcasestr_sse42_nonascii.
13870 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13871 strcasestr-nonascii.c.
13872 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13873
77c1b069
LM
138742010-06-15 Luis Machado <luisgpm@br.ibm.com>
13875
13876 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13877 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13878 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13879 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13880
440566c3
UD
138812010-07-09 Ulrich Drepper <drepper@redhat.com>
13882
13883 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13884 fcntl.
13885
5be9d05d
AS
138862010-07-06 Andreas Schwab <schwab@redhat.com>
13887
c30b7ee2 13888 [BZ #11577]
5be9d05d
AS
13889 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13890 dl_signal_cerror.
13891
8a492a67
UD
138922010-07-06 Ulrich Drepper <drepper@redhat.com>
13893
13894 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13895 _PC_PIPE_BUF using F_GETPIPE_SZ.
13896
713df3d5
RM
138972010-07-05 Roland McGrath <roland@redhat.com>
13898
13899 * manual/arith.texi (Rounding Functions): Fix rint description
13900 implicit in round description.
13901
702e8f14
UD
139022010-07-02 Ulrich Drepper <drepper@redhat.com>
13903
13904 * elf/Makefile: Fix linking for a few tests to make recent linker
13905 happy.
13906
52ed8be9
AS
139072010-06-30 Andreas Schwab <schwab@redhat.com>
13908
13909 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13910 $(common-objpfx)libc_nonshared.a.
13911
f47c9a11
LM
139122010-06-21 Luis Machado <luisgpm@br.ibm.com>
13913
13914 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13915 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13916 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13917 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13918 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13919 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13920 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13921 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13936 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13937 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13938 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13939 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13940 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13941 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13942 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13943 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13944 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13945 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13946 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13947 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13954 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
13962
6fb8cbcb
L
139632010-06-25 H.J. Lu <hongjiu.lu@intel.com>
13964
13965 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
13966 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
13967 * string/memmove.c (memmove): Renamed to ...
13968 (MEMMOVE): ...this. Default to memmove.
13969 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
13970 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
13971 (END_CHK): Define.
13972 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13973 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
13974 mempcpy-ssse3-back memmove-ssse3-back.
13975 * sysdeps/x86_64/multiarch/bcopy.S: New file .
13976 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
13977 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
13978 * sysdeps/x86_64/multiarch/memcpy.S: New file.
13979 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
13980 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
13981 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
13982 * sysdeps/x86_64/multiarch/memmove.c: New file.
13983 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
13984 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
13985 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
13986 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
13987 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
13988 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
13989 Define.
13990 (index_Fast_Copy_Backward): Define.
13991 (HAS_ARCH_FEATURE): Define.
13992 (HAS_FAST_REP_STRING): Define.
13993 (HAS_FAST_COPY_BACKWARD): Define.
13994
4e733bac 139952010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
13996
13997 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13998 Restore proper fallback handling.
13999
63c4ed22
UD
140002010-06-19 Ulrich Drepper <drepper@redhat.com>
14001
ac2b484c
UD
14002 [BZ #11701]
14003 * posix/group_member.c (__group_member): Correct checking loop.
14004
63c4ed22
UD
14005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14006 OOM in getpwuid_r correctly. Return error number when the caller
14007 should return, otherwise -1.
14008 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14009 call returning > 0 value.
14010 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14011
765ade4b
AS
140122010-06-07 Andreas Schwab <schwab@redhat.com>
14013
14014 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14015 libc_nonshared.a from targets in modules-names.
14016
80da2e09
KS
140172010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14018
14019 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14020 requires it.
14021
158db122
LM
140222010-06-10 Luis Machado <luisgpm@br.ibm.com>
14023
14024 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14025 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14026 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14027 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14028
caa78cf8
AS
140292010-06-02 Andreas Schwab <schwab@redhat.com>
14030
14031 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14032
b2ef2c01
UD
140332010-06-14 Ulrich Drepper <drepper@redhat.com>
14034
14035 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14036 and F_GETPIPE_SZ.
14037 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14038 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14039 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14040 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14041 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14042 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14043
fbd643b6
RM
140442010-06-14 Roland McGrath <roland@redhat.com>
14045
14046 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14047
f32f2869
JJ
140482010-06-07 Jakub Jelinek <jakub@redhat.com>
14049
14050 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14051 __REDIRECT followed by __THROW.
14052 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14053 * posix/getopt.h (getopt): Likewise.
14054
2a50c078
EPM
140552010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14056
14057 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14058 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14059 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14060 in AT_FLAGS.
14061 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14062 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14063
eb5ad2eb
LM
140642010-05-28 Luis Machado <luisgpm@br.ibm.com>
14065
14066 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14067
3c88fe1e
L
140682010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 [BZ #11640]
14071 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14072 Properly check family and model.
14073
d2f73151
TY
140742010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14075
14076 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14077
ebd2e13d
LM
140782010-05-24 Luis Machado <luisgpm@br.ibm.com>
14079
14080 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14081
b32b8b45
UD
140822010-05-21 Ulrich Drepper <drepper@redhat.com>
14083
14084 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14085 symbol reference.
14086
9acbe24d
AS
140872010-05-19 Andreas Schwab <schwab@redhat.com>
14088
14089 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14090 symbol reference.
14091
f0ccf6ea
AS
140922010-05-21 Andreas Schwab <schwab@redhat.com>
14093
3d04ff3a
AS
14094 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14095 and internal_recvmmsg.
14096 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14097 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14098 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14099 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14100
f0ccf6ea
AS
14101 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14102 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14103 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14104
5b08ac57
AS
141052010-05-20 Andreas Schwab <schwab@redhat.com>
14106
14107 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14108
4828935d
LM
141092010-05-17 Luis Machado <luisgpm@br.ibm.com>
14110
14111 POWER7 optimizations.
14112 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14113 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14114
373d545e
UD
141152010-05-19 Ulrich Drepper <drepper@redhat.com>
14116
14117 * version.h: Update for 2.13 development version.
14118
21a2b1ae
AS
141192010-05-12 Andrew Stubbs <ams@codesourcery.com>
14120
14121 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14122 exceptions. Return 0.
14123
3f7dcb2b
RM
141242010-05-07 Roland McGrath <roland@redhat.com>
14125
14126 * elf/ldconfig.c (main): Add a const.
14127
5f24d53a 141282010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14129
a160f8d8
UD
14130 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14131 (args_options): Add no-idn option.
14132 (ahosts_keys_int): Add idn_flags to ai_flags.
14133 (parse_option): Handle 'i' option to clear idn_flags.
14134
5f24d53a
UD
14135 * malloc/malloc.c (_int_free): Possible race in the most recently
14136 added check. Only act on the data if no current modification
14137 happened.
265bb1ce
UD
14138
14139See ChangeLog.17 for earlier changes.