]> sourceware.org Git - glibc.git/blame - ChangeLog
Update elf_machine_load_address for x32
[glibc.git] / ChangeLog
CommitLineData
11de3a33
L
12012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
4 the `q' suffix from lea and replace .quad with ASM_ADDR.
5
e02f153a
L
62012-05-14 H.J. Lu <hongjiu.lu@intel.com>
7
8 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
9 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
10 instead of $17.
11 (PTR_DEMANGLE): Likewise.
12
520ae0fd
L
132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
14
15 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
16 (LP_OP): Likewise.
17 (ASM_ADDR): Likewise.
18 (RAX_LP): Likewise.
19 (RBP_LP): Likewise.
20 (RBX_LP): Likewise.
21 (RCX_LP): Likewise.
22 (RDI_LP): Likewise.
23 (RSI_LP): Likewise.
24 (RSP_LP): Likewise.
25 (R8_LP): Likewise.
26 (R9_LP): Likewise.
27 (R10_LP): Likewise.
28 (R10_LP): Likewise.
29 (R11_LP): Likewise.
30 (R12_LP): Likewise.
31 (R13_LP): Likewise.
32 (R14_LP): Likewise.
33 (R15_LP): Likewise.
34
b985be81
L
352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
36
37 * sysdeps/x86_64/x32/dl-machine.h: New file.
38
6a4888ff
AJ
392012-05-14 Andreas Jaeger <aj@suse.de>
40
41 * manual/Makefile (subdir): Remove export of subdir.
42 (all): Remove target.
43 (.PHONY): Remove all from list.
44 (mkinstalldirs): Remove.
45 (.PHONY): Remove installdirs from list.
46 ($(inst_infodir)/libc.info): Use make-target-directory.
47 (installdirs): Remove.
48 (subdir_%): Remove.
49 (glibc-targets): Remove.
50 (lib): Remove.
51 (stubs): Remove.
52 ($(objpfx)stubs ../po/manual.pot): Remove.
53 ($(objpfx)stamp%): Remove.
54 (make-target-directory): Remove.
55 (subdir_install): Remove.
56 (routines): Remove.
57 (aux): Remove.
58 (sources): Remove.
59 (objects): Remove.
60 (headers): Remove.
61
62 [BZ #13750]
63 * manual/.gitignore: Remove, it's not needed anymore.
64 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65 all files in it.
66 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67 directory.
68 (texis): Renamed to $(objpfx)texis.
69 (texis-path): New, contains path to generated files.
70 (chapters.%): Use texis-path for complete path, add extra argument
71 libc-texinfo.sh.
72 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
73 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
74 (summary,texi, stamp-summary): Use complete path of
75 files. Generate files in build dir.
76 (dir-add.texi): Build in build dir.
77 (libm-err.texi,stamp-libm-err): Likewise.
78 (version.texi, stamp-version): Likewise.
79 (.%c.texi): Likewise.
80 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81 (mostlyclean): Remove target.
82 (realclean): Remove target.
83 (generated): Add new variable with contents from mostlyclean and
84 realclean, remove entries duplicated in common-mostlyclean, add
85 stamp-libm-err and stamp-version.
86 (generated-dirs): Add libc directory.
87 ($(inst_infodir)/libc.info): Install files from build dir.
88
89 * manual/install.texi (Configuring and compiling): Adjust since
90 the info files are not part of the tar ball anymore.
91
7ac77294
AJ
922012-05-14 Andreas Jaeger <aj@suse.de>
93
94 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
95 variable.
96
ffb7875d
JM
972012-05-14 Joseph Myers <joseph@codesourcery.com>
98
99 [BZ #13717]
100 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
101 to 2.2.0 where earlier.
102 * sysdeps/unix/sysv/linux/configure: Regenerated.
103 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
104 Remove conditional code.
105 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
106 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
107 Remove conditional code.
108 [!__NR_lchown]: Likewise.
109 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
110 [__NR_lchown]: Likewise.
111 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
112 comment referencing __ASSUME_LCHOWN_SYSCALL.
113 * sysdeps/unix/sysv/linux/i386/sigaction.c
114 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
115 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
116 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
117 Remove conditional code.
118 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
119 (__protocol_available): Remove #if 0 code.
120 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
121 conditional code.
122 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
123 * sysdeps/unix/sysv/linux/kernel-features.h
124 (__ASSUME_GETCWD_SYSCALL): Don't define.
125 (__ASSUME_REALTIME_SIGNALS): Likewise.
126 (__ASSUME_PREAD_SYSCALL): Likewise.
127 (__ASSUME_PWRITE_SYSCALL): Likewise.
128 (__ASSUME_POLL_SYSCALL): Likewise.
129 (__ASSUME_LCHOWN_SYSCALL): Likewise.
130 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
131 non-SPARC.
132 (__ASSUME_SIOCGIFNAME): Don't define.
133 (__ASSUME_MSG_NOSIGNAL): Likewise.
134 (__ASSUME_SENDFILE): Define unconditionally.
135 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
136 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
137 conditional code.
138 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
139 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
140 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
141 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
142 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
143 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
144 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
146 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
147 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
149 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
150 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
152 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
153 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
155 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
156 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
158 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
159 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
161 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
162 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
164 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
165 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
167 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
168 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
170 Remove conditional code.
171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
172 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
173 Remove conditional code.
174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
175 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
176 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
177 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
178 Remove conditional code.
179 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
180 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
181 Remove conditional code.
182 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
183 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
184 Remove conditional code.
185 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
186 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
187 Remove conditional code.
188 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
189 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
190 Remove conditional code.
191 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
192 * sysdeps/unix/sysv/linux/sh/pwrite64.c
193 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
194 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
195 * sysdeps/unix/sysv/linux/sigaction.c
196 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
197 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
198 * sysdeps/unix/sysv/linux/sigpending.c
199 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
200 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
201 * sysdeps/unix/sysv/linux/sigprocmask.c
202 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
203 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
204 * sysdeps/unix/sysv/linux/sigsuspend.c
205 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
206 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
207 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
208 (__libc_missing_rt_sigs): Remove.
209 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
210 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
211 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
212 Remove conditional code.
213 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
214 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
215 return 1.
216 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
218 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
219 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
220
1bfb7291
AJ
2212012-05-14 Andreas Jaeger <aj@suse.de>
222
caae5a81
AJ
223 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
224 it's not used in glibc.
225 (__coshm1): Likewise.
226 (__acosh1p): Likewise.
227 (__sgn): Likewise.
228
1bfb7291
AJ
229 * manual/string.texi (Copying and Concatenation): Add missing
230 variable in concat example.
231 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
232
c044d724
L
2332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
234
235 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
236 __builtin_clzl with __builtin_clzll.
237
2523c62b
L
2382012-05-14 H.J. Lu <hongjiu.lu@intel.com>
239
240 [BZ #14104]
241 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
242 libc_freeres_ptr.
243
d7bb4c42
LD
2442012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
245
246 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
247 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
248 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
249 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
250
9dc4e1fb
MF
2512012-05-14 Mike Frysinger <vapier@gentoo.org>
252
253 * NEWS: Update ia64 info.
254
c7df0112
AS
2552012-05-12 Andreas Schwab <schwab@linux-m68k.org>
256
257 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
258 used as bcopy.
259
dc70356c
TS
2602012-05-12 Thomas Schwinge <thomas@codesourcery.com>
261
262 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
263 * sysdeps/unix/syscalls.list (dup3): Likewise.
264 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
265 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
266
9fb1a21f
L
2672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
268
269 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
270 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
271
4822a2a5
L
2722012-05-11 H.J. Lu <hongjiu.lu@intel.com>
273
274 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
275 thread pointer.
276 (TLS_IE): Use mov/add instead of movq/addq to load thread
277 pointer.
278 (TLS_GD_PREFIX): New.
279 (TLS_GD): Use it.
280
842b81d6
DM
2812012-05-11 David S. Miller <davem@davemloft.net>
282
283 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
284 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
285 (_FPU_SETCW): Likewise.
286
1cf463cd
L
2872012-05-10 H.J. Lu <hongjiu.lu@intel.com>
288
289 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
290 is 32-byte aligned.
291
60cc4a18
AS
2922012-05-11 Andreas Schwab <schwab@linux-m68k.org>
293
294 [BZ #11837]
295 * iconvdata/gb18030.c: Update tables.
296 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
297 characters specially.
298 (BODY for TO_LOOP): Add encoding of missing ranges.
299
febb44a4
TS
3002012-05-11 Thomas Schwinge <thomas@codesourcery.com>
301
302 [BZ #13673]
303 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
304 * sysdeps/mach/hurd/dup3.c: Likewise.
305 * sysdeps/mach/hurd/readlinkat.c: Likewise.
306 * sysdeps/powerpc/memmove.c:: Likewise.
307
0a10fb9e
L
3082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
309
310 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
311 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
312
df8a552f
L
3132012-05-10 H.J. Lu <hongjiu.lu@intel.com>
314
315 * elf/elf.h (R_X86_64_RELATIVE64): New.
316 (R_X86_64_NUM): Updated.
317 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
318 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
319 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
320 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
321 tst-quad1pie tst-quad2pie
322 (modules-names): Add tst-quadmod1 tst-quadmod2.
323 ($(objpfx)tst-quad1): New dependency.
324 ($(objpfx)tst-quad2): Likewise.
325 ($(objpfx)tst-quad1pie): Likewise.
326 ($(objpfx)tst-quad2pie): Likewise.
327 * sysdeps/x86_64/tst-quad1.c: New file.
328 * sysdeps/x86_64/tst-quad1pie.c: New file.
329 * sysdeps/x86_64/tst-quad2.c: Likewise.
330 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
331 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
332 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
333 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
334 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
335
f34d6f84
ST
3362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
337
f42d41d1
ST
338 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
339 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
340 * streams/stropts.h (t_scalar_t): Define type.
341
3c3571fc
ST
342 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
343 (_PATH_PRESERVE): Set to "/var/lib".
344 (_PATH_RWHODIR): Set to "/var/spool/rwho".
345
61f06bd3
ST
346 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
347 instead of int.
348
918d4d71
ST
349 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
350 if __dir_mkfile succeeded.
351
f34d6f84
ST
352 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
353 checking for _hurd_dtablesize. Unlock it right after having
354 finished _hurd_dtable allocation.
355
10589b4a
TS
3562012-05-10 Thomas Schwinge <thomas@schwinge.name>
357
674cdbc7
TS
358 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
359 * sysdeps/mach/hurd/configure: Regenerated.
360 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
361 special-casing to...
362 * sysdeps/gnu/configure.in: ... this new file.
363 * sysdeps/unix/sysv/linux/configure: Regenerated.
364 * sysdeps/gnu/configure: New generated file.
365
8e41b99f
TS
366 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
367 for Linux: use nsec instead of usec, as well as:
368 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
369 members of type struct timespec.
370 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
371 New macros.
372 (struct stat64): Likewise.
373 (_STATBUF_ST_NSEC): New macro.
374 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
375
10589b4a
TS
376 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
377 __strtoul_internal rather than strtoul.
378
63643c85
PT
3792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
380
381 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
382 and reject them.
383
3faebe6a
ST
3842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
385
386 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
387 which preserves existing values.
388 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
389
c6474b07
PT
3902012-05-10 Pino Toscano <toscano.pino@tiscali.it>
391
392 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
393 TIMEOUT values. Return EINVAL for NFDS values either negative or
394 greater than FD_SETSIZE.
395
1043890b
ST
3962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
397
398 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
399 allocated, call __vm_protect to finish enabling the existing space, and
400 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
401 allocate the remainder.
402
37ed8b9b
PT
4032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
404
405 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
406 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
407
db653660
ST
4082012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
409
37ed8b9b
PT
410 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
411 sysdeps/mach/hurd/readlink.c.
b29d4053 412
db653660
ST
413 * posix/tst-sysconf.c (posix_options): Only use
414 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
415 _POSIX_SYNCHRONIZED_IO when they are defined
416 * sysdeps/mach/hurd/bits/posix_opt.h:
417 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
418 (_XOPEN_REALTIME): Undefine macro.
419 (_XOPEN_REALTIME_THREADS): Undefine macro.
420 (_XOPEN_SHM): Undefine macro.
421 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
422 macro to -1.
423 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
424 macro to -1.
425 (_POSIX_ASYNC_IO): Undefine macro.
426 (_POSIX_PRIORITIZED_IO): Undefine macro.
427 (_POSIX_SPIN_LOCKS): Define macro to -1.
428
ee16e894
ST
429 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
430 SA_NODEFER, SA_RESETHAND.
431 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
432 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
433 F_DUPFD_CLOEXEC.
434
6103ae3b
TS
4352012-05-10 Thomas Schwinge <thomas@schwinge.name>
436
437 * elf/Makefile (pldd-modules): Define unconditionally.
438
80b4e5f3
TS
4392012-05-10 Thomas Schwinge <thomas@schwinge.name>
440
441 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
442
edadcbd6
ST
4432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
444
445 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
446 Return ENOENT when name is empty.
447 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
448
80694780
TS
4492012-05-10 Thomas Schwinge <thomas@schwinge.name>
450
1792c087
TS
451 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
452
80694780
TS
453 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
454
6b645f0d
ST
4552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
456
80694780
TS
457 Fix mlock in all cases except non-readable pages.
458 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
459 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 460
6b645f0d
ST
461 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
462 (__mkdir): When path is `/', just fail with EEXIST.
463 * sysdeps/mach/hurd/mkdirat.c: Likewise.
464
e468f8a3
TS
4652012-05-10 Thomas Schwinge <thomas@schwinge.name>
466
467 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
468 <sys/uio.h> (for writev).
469 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
470 and <sys/param.h> (for MIN).
471
a4186cff
PT
4722012-05-10 Pino Toscano <toscano.pino@tiscali.it>
473
474 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
475 REQUESTED_TIME. Properly set the remaining time and return EINTR
476 if interrupted.
477
510bbf14
TS
4782012-05-10 Thomas Schwinge <thomas@schwinge.name>
479
480 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
481 Depend on against $(link-rpcuserlibs).
482
5d5722e8
ST
4832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
484
a4186cff
PT
485 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
486 (__libc_stack_end): Do not use attribute_relro.
487 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
488 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 489 to libthread-provided value.
a4186cff
PT
490 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
491 attribute_relro.
5d5722e8 492
37233df9
TS
4932012-05-10 Thomas Schwinge <thomas@schwinge.name>
494
be971a2b
TS
495 [BZ #3748]
496 * bits/libc-lock.h (__libc_once_get): New macro.
497 * sysdeps/mach/bits/libc-lock.h: Likewise.
498 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
499 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
500 instead of using implementation details.
501
37233df9
TS
502 * libio/fileops.c: Unconditionally include <kernel-features.h>.
503 * libio/freopen.c: Likewise.
504 * libio/freopen64.c: Likewise.
505 * misc/syslog.c: Likewise.
506 * nscd/connections.c: Likewise.
507 * nscd/netgroupcache.c: Likewise.
508 * sysdeps/posix/getcwd.c: Likewise.
509
38de94a5
RM
5102012-05-10 Roland McGrath <roland@hack.frob.com>
511
512 * math/w_ilogbf.c: Add #include <limits.h>.
513
67530489
ST
5142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
515
a4186cff 516 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
517 path instead of returning without unlocking.
518
67530489
ST
519 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
520 immediate-write ioctls.
521 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
522
5aa3a74a
TS
5232012-05-10 Thomas Schwinge <thomas@schwinge.name>
524
18bad2ae
TS
525 * sysdeps/mach/hurd/i386/init-first.c (init): Use
526 __builtin_frame_address instead of making assumptions about the
527 location of the return address relative to DATA. Force early load of
528 the return address.
529 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
530 __builtin_frame_address.
531
5aa3a74a
TS
532 dup3 for GNU Hurd.
533 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
534 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
535 implement dup3 and do some further code clean-ups.
536 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
537 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
538
ecd0de9a
ST
5392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
540
cd9fa985
ST
541 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
542
a4186cff
PT
543 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
544 HURD_CRITICAL_END around holding _hurd_dtable_lock.
545 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
546 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
547 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
548 d->port.lock.
802ca5a5 549
a4186cff
PT
550 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
551 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
552 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 553
bcf55240
TS
5542012-05-10 Thomas Schwinge <thomas@schwinge.name>
555
6960eb42
TS
556 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
557 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
558 definitions.
559
eb43375f
TS
560 accept4 for GNU Hurd.
561 * include/sys/socket.h (__libc_accept4): New prototype.
562 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
563 to implement __libc_accept4.
564 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
565 __libc_accept4.
566 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
567
bcf55240
TS
568 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
569 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
570 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
571 signal-defines.sym.
572
6178c55b
ST
5732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
574
a4186cff 575 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 576
6f080c2f
TS
5772012-05-10 Thomas Schwinge <thomas@schwinge.name>
578
579 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
580 assertion on O_CLOEXEC flag.
581 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
582 * hurd/intern-fd.c: Likewise.
583 * hurd/port2fd.c: Likewise.
584
bcfe3a54
ST
5852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
586
587 [BZ #3906]
588 * bits/in.h (IPV6_PKTINFO): Define new macro.
589 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
590
89c9aa49
AZ
5912012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
592
593 [BZ #13954]
594 [BZ #13955]
595 [BZ #13956]
596 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
597 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
598 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
599 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
600 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
601 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
602 * math/libm-test.inc (logb_test) : Additional logb tests.
603
021db4be
AJ
6042012-05-09 Andreas Schwab <schwab@linux-m68k.org>
605 Andreas Jaeger <aj@suse.de>
606
607 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
608 * configure: Regenerated.
609 * config.h.in (LINK_OBSOLETE_RPC): New macro.
610 * config.make.in (link-obsolete-rpc): New substituted variable.
611 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
612 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
613 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
614 (shared-only-routines): Don't set it under [link-obsolete-rpc],
615 so that libc.a contains the symbols.
616 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
617 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
618 * sunrpc/auth_none.c: Likewise.
619 * sunrpc/auth_unix.c: Likewise.
620 * sunrpc/authdes_prot.c: Likewise.
621 * sunrpc/authuxprot.c: Likewise.
622 * sunrpc/clnt_gen.c: Likewise.
623 * sunrpc/clnt_perr.c: Likewise.
624 * sunrpc/clnt_raw.c: Likewise.
625 * sunrpc/clnt_simp.c: Likewise.
626 * sunrpc/clnt_tcp.c: Likewise.
627 * sunrpc/clnt_udp.c: Likewise.
628 * sunrpc/clnt_unix.c: Likewise.
629 * sunrpc/des_crypt.c: Likewise.
630 * sunrpc/des_soft.c: Likewise.
631 * sunrpc/get_myaddr.c: Likewise.
632 * sunrpc/key_call.c: Likewise.
633 * sunrpc/key_prot.c: Likewise.
634 * sunrpc/netname.c: Likewise.
635 * sunrpc/pm_getmaps.c: Likewise.
636 * sunrpc/pm_getport.c: Likewise.
637 * sunrpc/pmap_clnt.c: Likewise.
638 * sunrpc/pmap_prot.c: Likewise.
639 * sunrpc/pmap_prot2.c: Likewise.
640 * sunrpc/pmap_rmt.c: Likewise.
641 * sunrpc/publickey.c: Likewise.
642 * sunrpc/rpc_cmsg.c: Likewise.
643 * sunrpc/rpc_common.c: Likewise.
644 * sunrpc/rpc_dtable.c: Likewise.
645 * sunrpc/rpc_prot.c: Likewise.
646 * sunrpc/rpc_thread.c: Likewise.
647 * sunrpc/rtime.c: Likewise.
648 * sunrpc/svc.c: Likewise.
649 * sunrpc/svc_auth.c: Likewise.
650 * sunrpc/svc_raw.c: Likewise.
651 * sunrpc/svc_run.c: Likewise.
652 * sunrpc/svc_tcp.c: Likewise.
653 * sunrpc/svc_udp.c: Likewise.
654 * sunrpc/svc_unix.c: Likewise.
655 * sunrpc/svcauth_des.c: Likewise.
656 * sunrpc/xcrypt.c: Likewise.
657 * sunrpc/xdr.c: Likewise.
658 * sunrpc/xdr_array.c: Likewise.
659 * sunrpc/xdr_float.c: Likewise.
660 * sunrpc/xdr_intXX_t.c: Likewise.
661 * sunrpc/xdr_mem.c: Likewise.
662 * sunrpc/xdr_rec.c: Likewise.
663 * sunrpc/xdr_ref.c: Likewise.
664 * sunrpc/xdr_sizeof.c: Likewise.
665 * sunrpc/xdr_stdio.c: Likewise.
666
b5c086a2
RM
6672012-05-10 Roland McGrath <roland@hack.frob.com>
668
669 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
670 change. Update copyright years.
671
6d74dd09
JM
6722012-05-10 Joseph Myers <joseph@codesourcery.com>
673
674 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
675
28e72501
MK
6762012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
677 Joseph Myers <joseph@codesourcery.com>
678 Paul Pluzhnikov <ppluzhnikov@google.com>
679
680 [BZ #14012]
681 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
682 requiring rpcgen.
683 [cross-compiling] (extra-libs): Likewise.
684 [cross-compiling] (extra-libs-others): Likewise.
685 [cross-compiling] (librpcsvc-routines): Likewise.
686 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
687 [cross-compiling] (omit-deps): Likewise.
688 (sunrpc-CPPFLAGS): New variable.
689 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
690 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
691 (cross-rpcgen-objs): New variable.
692 (extra-objs): Append $(cross-rpcgen-objs).
693 ($(cross-rpcgen-objs)): New rule.
694 ($(objpfx)cross-rpcgen): Likewise.
695 (rpcgen-cmd): Define to use $(built-program-file). Expand
696 comment.
697 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
698 ($(objpfx)x%.stmp): Likewise.
699 * sunrpc/proto.h [IS_IN_build] (_): Define.
700 [IS_IN_build] (_libc_intl_domainname): Likewise.
701
c8c59454
L
7022012-05-10 H.J. Lu <hongjiu.lu@intel.com>
703
704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
705 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
706 and R_X86_64_TPOFF64.
707
6f27cd16
JM
7082012-05-10 Joseph Myers <joseph@codesourcery.com>
709
710 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
711 sysdeps/unix/sysv/syscalls.list.
712 (stime): Likewise.
713 (utime): Likewise.
714 * sysdeps/unix/sysv/syscalls.list: Remove file.
715
02467e1c
PE
7162012-05-10 Paul Eggert <eggert@cs.ucla.edu>
717
718 [BZ #3440]
719 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
720 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
721 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
722 (__LC_IDENTIFICATION): Make these macros useful in #if
723 expressions, as required by C99.
724
da392631
AS
7252012-05-10 Andreas Schwab <schwab@linux-m68k.org>
726
727 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
728 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
729 after this.
730
8115f29b
L
7312012-05-09 H.J. Lu <hongjiu.lu@intel.com>
732
733 * stdlib/longlong.h: Updated from GCC.
734
bdd74070
AJ
7352012-05-09 Andreas Jaeger <aj@suse.de>
736
edfe0dbe
AJ
737 * nscd/nscd.c (run_modes): Make named enum, reorder so that
738 default is first entry.
739 (run_mode): Set type.
740 (main): Remove informal message about syslog.
741 (options): Fix typo.
742
bcfe3a54
ST
743 [BZ #14053]
744 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 745 to asm.
bcfe3a54
ST
746 (lrint): Likewise.
747 (llrintf): Likewise.
748 (llrint): Likewise.
749 (rint): Likewise.
750 (rintf): Likewise.
751 (nearbyint): Likewise.
752 (nearbyintf): Likewise.
bdd74070 753
91d8d69e
AJ
7542012-05-09 Andreas Jaeger <aj@suse.de>
755 Pedro Alves <palves@redhat.com>
756
757 * nscd/nscd.c (run_mode): Use enum.
758 (main): Cleanup coding style issue.
759
bb90b80b
AJ
7602012-05-09 Alexandre Oliva <aoliva@redhat.com>
761 Andreas Jaeger <aj@suse.de>
762
bcfe3a54
ST
763 * nscd/nscd.c (go_background): Replaced with...
764 (run_mode): ... this.
bb90b80b 765 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
766 (options): Add -F --foreground.
767 (main): Implement it.
768 (parse_opt): Parse it.
bb90b80b 769
1a4b75a1
AJ
7702012-05-09 Andreas Jaeger <aj@suse.de>
771
772 [BZ #14083]
773 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
774 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
775 -Wconversion warning.
776 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
777 Likewise.
778
b1cc2472
JM
7792012-05-09 Joseph Myers <joseph@codesourcery.com>
780
781 * conform/data/locale.h-data (NULL): Use macro-constant. Require
782 == 0.
783 (LC_ALL): Use macro-int-constant.
784 (LC_COLLATE): Likewise.
785 (LC_CTYPE): Likewise.
786 (LC_MESSAGES): Likewise.
787 (LC_MONETARY): Likewise.
788 (LC_NUMERIC): Likewise.
789 (LC_TIME): Likewise.
790 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
791 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
792 [ISO || ISO99 || ISO11] (*_t): Do not allow.
793 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
794 Specify type.
795 [C99-based standards] (float_t): Expect type.
796 [C99-based standards] (double_t): Expect type.
797 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
798 type.
799 [C99-based standards] (HUGE_VALL): Likewise.
800 [C99-based standards] (INFINITY): Likewise.
801 [C99-based standards] (NAN): Likewise.
802 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
803 [C99-based standards] (FP_NAN): Likewise.
804 [C99-based standards] (FP_NORMAL): Likewise.
805 [C99-based standards] (FP_SUBNORMAL): Likewise.
806 [C99-based standards] (FP_ZERO): Likewise.
807 [C99-based standards] (FP_FAST_FMA): Use
808 optional-macro-int-constant. Specify type. Require == 1.
809 [C99-based standards] (FP_FAST_FMAF): Likewise.
810 [C99-based standards] (FP_FAST_FMAL): Likewise.
811 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
812 [C99-based standards] (FP_ILOGBNAN): Likewise.
813 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
814 Specify type.
815 [C99-based standards] (MATH_ERREXCEPT): Likewise.
816 [C99-based standards] (math_errhandling): Specify type.
817 [ISO99 || ISO11] (signgam): Do not allow.
818 [non-C99-based standards] (copysignf): Do not allow.
819 [non-C99-based standards] (exp2f): Likewise.
820 [non-C99-based standards] (log2f): Likewise.
821 [non-C99-based standards] (modff): Allow.
822 [non-C99-based standards] (erff): Do not allow.
823 [non-C99-based standards] (erfcf): Likewise.
824 [non-C99-based standards] (gammaf): Likewise.
825 [non-C99-based standards] (hypotf): Likewise.
826 [non-C99-based standards] (j0f): Likewise.
827 [non-C99-based standards] (j1f): Likewise.
828 [non-C99-based standards] (jnf): Likewise.
829 [non-C99-based standards] (lgammaf): Likewise.
830 [non-C99-based standards] (tgammaf): Likewise.
831 [non-C99-based standards] (y0f): Likewise.
832 [non-C99-based standards] (y1f): Likewise.
833 [non-C99-based standards] (ynf): Likewise.
834 [non-C99-based standards] (isnanf): Likewise.
835 [non-C99-based standards] (acoshf): Likewise.
836 [non-C99-based standards] (asinhf): Likewise.
837 [non-C99-based standards] (atanhf): Likewise.
838 [non-C99-based standards] (cbrtf): Likewise.
839 [non-C99-based standards] (expm1f): Likewise.
840 [non-C99-based standards] (ilogbf): Likewise.
841 [non-C99-based standards] (log1pf): Likewise.
842 [non-C99-based standards] (logbf): Likewise.
843 [non-C99-based standards] (nextafterf): Likewise.
844 [non-C99-based standards] (remainderf): Likewise.
845 [non-C99-based standards] (rintf): Likewise.
846 [non-C99-based standards] (scalbf): Likewise.
847 [non-C99-based standards] (copysignl): Likewise.
848 [non-C99-based standards] (exp2l): Likewise.
849 [non-C99-based standards] (log2l): Likewise.
850 [non-C99-based standards] (modfl): Allow.
851 [non-C99-based standards] (erfl): Do not allow.
852 [non-C99-based standards] (erfcl): Likewise.
853 [non-C99-based standards] (gammal): Likewise.
854 [non-C99-based standards] (hypotl): Likewise.
855 [non-C99-based standards] (j0l): Likewise.
856 [non-C99-based standards] (j1l): Likewise.
857 [non-C99-based standards] (jnl): Likewise.
858 [non-C99-based standards] (lgammal): Likewise.
859 [non-C99-based standards] (tgammal): Likewise.
860 [non-C99-based standards] (y0l): Likewise.
861 [non-C99-based standards] (y1l): Likewise.
862 [non-C99-based standards] (ynl): Likewise.
863 [non-C99-based standards] (isnanl): Likewise.
864 [non-C99-based standards] (acoshl): Likewise.
865 [non-C99-based standards] (asinhl): Likewise.
866 [non-C99-based standards] (atanhl): Likewise.
867 [non-C99-based standards] (cbrtl): Likewise.
868 [non-C99-based standards] (expm1l): Likewise.
869 [non-C99-based standards] (ilogbl): Likewise.
870 [non-C99-based standards] (log1pl): Likewise.
871 [non-C99-based standards] (logbl): Likewise.
872 [non-C99-based standards] (nextafterl): Likewise.
873 [non-C99-based standards] (remainderl): Likewise.
874 [non-C99-based standards] (rintl): Likewise.
875 [non-C99-based standards] (scalbl): Likewise.
876 [ISO || ISO99 || ISO11] (*_t): Do not allow.
877 [non-C99-based standards] (FP_*): Do not allow.
878 [C99-based standards] (FP_*): Change to
879 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
880 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
881 allow.
882 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
883 (SIG_ERR): Likewise.
884 [X/Open-based standards] (SIG_HOLD): Likewise.
885 (SIG_IGN): Likewise.
886 (SIGABRT): Use macro-int-constant. Specify type. Require
887 positive value.
888 (SIGFPE): Likewise.
889 (SIGILL): Likewise.
890 (SIGINT): Likewise.
891 (SIGSEGV): Likewise.
892 (SIGTER): Likewise.
893 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
894 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
895 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
896 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
897 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
898 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
899 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
900 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
901 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
902 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
903 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
904 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
905 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
906 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
907 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
908 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
909 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
910 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
911 [X/Open-based standards] (SIGTRAP): Likewise.
912 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
913 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
914 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
915 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
916 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
917 allow.
918
b9f1922d
IW
9192012-05-08 Ian Wienand <ianw@vmware.com>
920
921 [BZ #14080]
922 * time/tzset.c (__tzset_parse_tz): Update default rules for
923 daylight time changes in the Energy Policy Act of 2005.
924
1db86e88
AJ
9252012-05-09 Andreas Jaeger <aj@suse.de>
926
927 [BZ #13983]
928 * elf/ldconfig.c (parse_conf): Change string to make clear that
929 ldconfig only issued a warning if ld.so.conf does not exist.
930
dee4a4e3
DM
9312012-05-08 David S. Miller <davem@davemloft.net>
932
ee0db190
DM
933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
934 movxtod instead of popping the value on the stack.
935
dee4a4e3
DM
936 * sysdeps/sparc/fpu/libm-test-ulps: Update.
937
6a43ec98
CD
9382012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
939
940 * config.h.in: Add HAVE_ARM_PCS_VFP.
941
05c2c961
RMG
9422012-05-08 Roland Mc Grath <roland@hack.frob.com>
943
bcfe3a54
ST
944 [BZ #13979]
945 * include/features.h: Warn if user requests __FORTIFY_SOURCE
946 checking but the checks are disabled for any reason.
05c2c961 947
4b30f61a
L
9482012-05-08 H.J. Lu <hongjiu.lu@intel.com>
949
950 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
951 and ELF64_R_TYPE with ELFW(R_TYPE).
952
eee2bc67
JM
9532012-05-08 Joseph Myers <joseph@codesourcery.com>
954
7ea5391a
JM
955 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
956 (ulimit): Likewise.
957
eee2bc67
JM
958 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
959 (settimeofday): Likewise.
960
abb66a67
MF
9612012-05-08 Mike Frysinger <vapier@gentoo.org>
962
963 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
964 a struct th_u2 inside the union, and move tu_block/tu_code into
965 a new th_u3 union of tu_block/tu_code inside of that. Move
966 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
967 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
968 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
969 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
970 (th_stuff): Change to th_u1.tu_stuff.
971 (th_data): Define.
972 (th_msg): Change to th_u1.th_u2.tu_data.
973
7f18b530
DM
9742012-05-07 David S. Miller <davem@davemloft.net>
975
05760585
DM
976 * sysdeps/sparc/fpu/libm-test-ulps: Update.
977
7f18b530
DM
978 [BZ #14074]
979 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
980 (SETUP_PIC_REG): Use it.
981 (SETUP_PIC_REG_LEAF): Use it.
982
495fd99f
JM
9832012-05-07 Joseph Myers <joseph@codesourcery.com>
984
985 [BZ #13885]
986 [BZ #13923]
987 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
988 USE_AS_EXPM1L.
989 (EXPL_FINITE): Likewise.
990 (FLDLOG): Likewise.
991 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
992 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
993 e_expl.S.
994 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
995 USE_AS_EXPM1L.
996 (EXPL_FINITE): Likewise.
997 (FLDLOG): Likewise.
998 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
999 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1000 e_expl.S.
1001 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1002 test of -max_value argument for long double.
1003 * sysdeps/i386/fpu/libm-test-ulps: Update.
1004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1005
6693d694
DM
10062012-05-06 David S. Miller <davem@davemloft.net>
1007
1008 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1009 quad soft-float symbols whose references which are compiler
1010 generated.
1011 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1012
6c23e11c
JM
10132012-05-06 Joseph Myers <joseph@codesourcery.com>
1014
d8b82cad
JM
1015 [BZ #13884]
1016 [BZ #13914]
1017 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1018 USE_AS_EXP10L.
1019 (EXPL_FINITE): Likewise.
1020 (FLDLOG): Likewise.
1021 (c0): Likewise.
1022 (c1): Likewise.
1023 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1024 Adjust comments for base varying.
1025 (__expl_finite): Change alias to EXPL_FINITE.
1026 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1027 e_expl.S.
1028 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1029 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1030 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1031 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1032 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1033 USE_AS_EXP10L.
1034 (EXPL_FINITE): Likewise.
1035 (FLDLOG): Likewise.
1036 (c0): Likewise.
1037 (c1): Likewise.
1038 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1039 Adjust comments for base varying.
1040 (__expl_finite): Change alias to EXPL_FINITE.
1041 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1042 tests for bugs.
1043 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1044
6c23e11c
JM
1045 [BZ #14064]
1046 * math/libm-test.inc (check_float_internal): Correct ulp
1047 calculation for subnormal expected results.
1048
29ba805c
AJ
10492012-05-06 Andreas Jaeger <aj@suse.de>
1050
1051 * Makeconfig (+math-flags): New, set to -frounding-math.
1052 (+cflags): Add +math-flags so that all of glibc gets compiled with
1053 it.
1054
1055 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1056
7b17aeda
JM
10572012-05-05 Joseph Myers <joseph@codesourcery.com>
1058
5779f134
JM
1059 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1060 Disable one test.
1061
41498f4d
JM
1062 [BZ #13787]
1063 [BZ #13922]
1064 [BZ #14036]
1065 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1066 (__ieee754_expl): Allow for and saturate large arguments.
1067 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1068 (u_threshold): Likewise.
1069 (__exp): Call __ieee754_exp before checking for overflow and
1070 underflow.
1071 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1072 (u_threshold): Likewise.
1073 (__expf): Call __ieee754_expf before checking for overflow and
1074 underflow.
1075 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1076 (u_threshold): Likewise.
1077 (__expl): Call __ieee754_expl before checking for overflow and
1078 underflow.
1079 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1080 (__ieee754_expl): Allow for and saturate large arguments.
1081 * math/libm-test.inc (exp_test): Add another test. Do not allow
1082 missing overflow exception on overflow.
1083 (expm1_test): Do not allow missing overflow exception on overflow.
1084
6698b8bf
JM
1085 * sysdeps/i386/fpu/e_expl.c: Move to ...
1086 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1087 rather than using inline asm.
1088 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1089 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1090 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1091
7b17aeda
JM
1092 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1093 (nice): Likewise.
1094 (poll): Likewise.
1095 (signal): Likewise.
1096 (time): Likewise.
1097 (times): Likewise.
1098
f7c85819
JM
10992012-05-04 Joseph Myers <joseph@codesourcery.com>
1100
1101 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1102 sysdeps/unix/common/syscalls.list.
1103 (fchmod): Likewise.
1104 (fchown): Likewise.
1105 (ftruncate): Likewise.
1106 (getrusage): Likewise.
1107 (gettimeofday): Likewise.
1108 (setpgid): Likewise.
1109 (setregid): Likewise.
1110 (setreuid): Likewise.
1111 (sigaction): Likewise.
1112 (truncate): Likewise.
1113 (vhangup): Likewise.
1114 * sysdeps/unix/common/syscalls.list: Remove file.
1115 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1116 * sysdeps/unix/sysv/linux/Implies: Likewise.
1117
336270d0
L
11182012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1122 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1123 Moved to ...
1124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1125 Here.
1126 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1127 to ...
1128 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1129 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1130 to ...
1131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1132 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1133 to ...
1134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1135 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1136 to ...
1137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1138 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1139 to ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1141 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1142 to ...
1143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1144 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1145 to ...
1146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1147 Here.
1148 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1149 to ...
1150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1151 Here.
1152 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1153 to ...
1154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1155 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1156 Moved to ...
1157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1158 Here.
1159 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1160 to ...
1161 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1162
d128e450
JM
11632012-05-04 Joseph Myers <joseph@codesourcery.com>
1164
fa8ee516
JM
1165 * sysdeps/unix/common/bits/dirent.h: Remove file.
1166 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1167
d128e450
JM
1168 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1169 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1170 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1171 * sysdeps/unix/bsd/isatty.c: Likewise.
1172 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1173 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1174 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1175
ff8faaf0 11762012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1177
62881be4 1178 [BZ #13563]
31dc8730
AZ
1179 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1180 long double comparison inaccuracies.
1181 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1182 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1183
6fef930c
AS
11842012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1185
1186 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1188
8f203e6c
JM
11892012-05-04 Joseph Myers <joseph@codesourcery.com>
1190
1191 [BZ #14049]
1192 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1193 nonzero digits before rounding a hex value.
1194 * stdlib/tst-strtod.c (tests): Add another test.
1195
5197d9c2
AK
11962012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1197
1198 * sysdeps/s390/fpu/libm-test-ulps: Update.
1199
f0c1dedf
AJ
12002012-05-03 Andreas Jaeger <aj@suse.de>
1201
1202 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1203 does not get optimized out.
1204 (malloc_opt_barrier): New.
1205
a65ef2ae 12062012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1207 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1208
2b942cb7 1209 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1210 intermediate file deletion.
2b942cb7 1211 (generated): Add .symlist files.
a65ef2ae 1212
54b71e02
JM
12132012-05-03 Joseph Myers <joseph@codesourcery.com>
1214
1215 [BZ #13775]
1216 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1217 Redirect under this condition.
1218 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1219 [__USE_GNU] (__dprintf_chk): Not under this condition.
1220 [__USE_GNU] (__vdprintf_chk): Likewise.
1221 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1222 under this condition.
1223 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1224 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1225 [__USE_XOPEN2K8] (vdprintf): Likewise.
1226 [__USE_GNU] (__dprintf_chk): Not under this condition.
1227 [__USE_GNU] (__vdprintf_chk): Likewise.
1228 [__USE_GNU] (dprintf): Likewise.
1229 [__USE_GNU] (vdprintf): Likewise.
1230
d3dfcc41
RM
12312012-05-03 Roland McGrath <roland@hack.frob.com>
1232
1233 * elf/Makefile (common-generated): Set this instead of generated for
1234 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1235 $(all-built-dso)-derived lists.
1236
7ac30cc5
AJ
12372012-05-03 Andreas Jaeger <aj@suse.de>
1238
0c51e550
AJ
1239 * sysdeps/i386/fpu/libm-test-ulps: Update.
1240
7ac30cc5
AJ
1241 * FAQ: Removed.
1242 * FAQ.in: Likewise.
1243 * scripts/gen-FAQ.pl: Likewise.
1244 * manual/install.texi (Installation): Point to online location of
1245 FAQ.
1246 * Makefile (files-for-dist): Remove FAQ.
1247 (FAQ): Remove.
1248
d4c2917f
AM
12492012-05-02 Allan McRae <allan@archlinux.org>
1250
1251 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1252 (LDFLAGS-reldepmod5.so): Likewise.
1253 (LDFLAGS-reldep6mod1.so): Likewise.
1254 (LDFLAGS-reldep6mod4.so): Likewise.
1255 (LDFLAGS-reldep8mod3.so): Likewise.
1256 (LDFLAGS-unload4mod1.so): Likewise.
1257 (LDFLAGS-unload4mod2.so): Likewise.
1258 (LDFLAGS-tst-initorder): Likewise.
1259 (LDFLAGS-tst-initordera2.so): Likewise.
1260 (LDFLAGS-tst-initordera3.so): Likewise.
1261 (LDFLAGS-tst-initordera4.so): Likewise.
1262 (LDFLAGS-tst-initorderb2.so): Likewise.
1263 (LDFLAGS-noload): Likewise.
1264 (LDFLAGS-next): Likewise.
1265 (LDFLAGS-order2mod1.so): Likewise.
1266 (LDFLAGS-order2mod2.so): Likewise.
1267 (LDFLAGS-tst-initorder2): Likewise.
1268 (LDFLAGS-tst-initorder2a.so): Likewise.
1269 (LDFLAGS-tst-initorder2b.so): Likewise.
1270 (LDFLAGS-tst-initorder2c.so): Likewise.
1271 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1272
d77f993f
DM
12732012-05-02 David S. Miller <davem@davemloft.net>
1274
1275 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1276
171a70b4
PP
12772012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1278
1279 [BZ #14055]
1280 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1281
0be196ad
AJ
12822012-05-02 Andreas Jaeger <aj@suse.de>
1283
1284 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1285 since we manipulate rounding mode.
1286 (CPPFLAGS-test-idouble.c): Likewise.
1287 (CPPFLAGS-test-ifloat.c): Likewise.
1288 (CFLAGS-test-ldouble.c): Likewise.
1289 (CFLAGS-test-double.c): Likewise.
1290 (CFLAGS-test-float.c): Likewise.
1291 (CFLAGS-test-misc.c): Likewise.
1292 (CFLAGS-test-test-fenv.c): Likewise.
1293
4f9d04aa
AZ
12942012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
2b942cb7
RM
1296 [BZ #2550]
1297 [BZ #2570]
1298 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1299 comparisons to determine direction to adjust input.
4f9d04aa 1300
82a79e7d
RM
13012012-05-01 Roland McGrath <roland@hack.frob.com>
1302
f5a01ca9
RM
1303 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1304 output to the target.
1305
90fe4186
RM
1306 * scripts/localplt.awk: New file.
1307 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1308 (check-localplt-CFLAGS): Variable removed.
1309 ($(all-built-dso:=.jmprel)): New static pattern rule.
1310 (generated): Add those targets.
1311 (localplt-built-dso): New variable.
1312 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1313
1314 * elf/check-localplt.c: File removed.
1315
82397ed6
RM
1316 * scripts/check-execstack.awk: New file.
1317 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1318 (check-execstack-CFLAGS): Variable removed.
1319 ($(objpfx)check-execstack.h): Target removed.
1320 ($(objpfx)execstack-default): New target.
1321 (generated): Add that instead of check-execstack.h.
1322 ($(all-built-dso:=.phdr)): New static pattern rule.
1323 (generated): Add those targets.
1324 * elf/check-execstack.c: File removed.
1325
82a79e7d
RM
1326 * scripts/check-textrel.awk: New file.
1327 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1328 (check-textrel-CFLAGS): Variable removed.
1329 (all-built-dso): Use := to define.o
1330 ($(all-built-dso:=.dyn)): New static pattern rule.
1331 (generated): Add those targets.
1332 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1333 * config.make.in (READELF): New substituted variable.
1334 * elf/check-textrel.c: File removed.
1335
62fde54f 13362012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1337
615605c9
JM
1338 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1339 allow.
1340 * conform/data/ctype.h-data [C99-based standards] (isblank):
1341 Expect function.
1342 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1343 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1344 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1345 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1346 Specify type. Require positive value.
1347 (EILSEQ): Likewise.
1348 (ERANGE): Likewise.
1349 [ISO || POSIX] (EILSEQ): Do not expect.
1350 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1351 Specify type. Require positive value.
1352 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1353 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1354 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1355 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1356 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1357 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1358 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1359 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1360 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1361 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1362 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1363 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1364 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1365 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1366 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1367 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1368 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1369 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1370 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1371 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1426 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1427 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1428 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1429 Require >= 2.
1430 (FLT_ROUNDS): Expect as macro, not constant.
1431 (FLT_MANT_DIG): Use macro-int-constant.
1432 (DBL_MANT_DIG): Likewise.
1433 (LDBL_MANT_DIG): Likewise.
1434 (FLT_DIG): Likewise.
1435 (DBL_DIG): Likewise.
1436 (LDBL_DIG): Likewise.
1437 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1438 (DBL_MIN_EXP): Likewise.
1439 (LDBL_MIN_EXP): Likewise.
1440 (FLT_MAX_EXP): Use macro-int-constant.
1441 (DBL_MAX_EXP): Likewise.
1442 (LDBL_MAX_EXP): Likewise.
1443 (FLT_MAX_10_EXP): Likewise.
1444 (DBL_MAX_10_EXP): Likewise.
1445 (LDBL_MAX_10_EXP): Likewise.
1446 (FLT_MAX): Use macro-constant.
1447 (DBL_MAX): Likewise.
1448 (LDBL_MAX): Likewise.
1449 (FLT_EPSILON): Use macro-constant. Give upper bound.
1450 (DBL_EPSILON): Likewise.
1451 (LDBL_EPSILON): Likewise.
1452 (FLT_MIN): Likewise.
1453 (DBL_MIN): Likewise.
1454 (LDBL_MIN): Likewise.
1455 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1456 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1457 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1458 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1459 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1460 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1461 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1462 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1463 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1464 [ISO11] (FLT_TRUE_MIN): Likewise.
1465 [ISO11] (LDBL_TRUE_MIN): Likewise.
1466 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1467 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1468 (SCHAR_MIN): Use macro-int-constant. Specify type.
1469 (SCHAR_MAX): Likewise.
1470 (UCHAR_MAX): Likewise.
1471 (CHAR_MIN): Likewise.
1472 (CHAR_MAX): Likewise.
1473 (MB_LEN_MAX): Use macro-int-constant.
1474 (SHRT_MIN): Use macro-int-constant. Specify type.
1475 (SHRT_MAX): Likewise.
1476 (USHRT_MAX): Likewise.
1477 (INT_MAX): Likewise.
1478 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1479 bound negative.
1480 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1481 bound with "U".
1482 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1483 bound with "L".
1484 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1485 bound negative. Suffix upper bound with "L".
1486 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1487 bound with "UL".
1488 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1489 Specify type.
1490 [C99-based standards] (LLONG_MAX): Likewise.
1491 [C99-based standards] (ULLONG_MAX): Likewise.
1492 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1493 == 0.
1494 [ISO11] (max_align_t): Require type.
1495 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1496
c9140a62
JM
1497 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1498 from $CFLAGS, without defining away __attribute__ calls.
1499 (checknamespace): Use $CFLAGS_namespace.
1500
9af0bf29
JM
1501 * conform/conformtest.pl (@keywords): Only include C99 keywords
1502 for standards based on C99 or C11.
1503
343222a2
JM
1504 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1505 Disable tests.
1506 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1507 UNIX98]: Likewise.
1508
661f8cf0
JM
1509 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1510 usability of symbols in #if.
1511
ee74b9cb
JM
1512 * conform/conformtest.pl: If macro or constant types start
1513 "promoted:", expect the symbol to be of the following type
1514 promoted by the integer promotions.
62fde54f 1515
aafc49b3
JM
1516 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1517 in one place. Also handle "macro-constant".
1518
fefdf574
JM
1519 * conform/conformtest.pl: Only accept expected macro values with
1520 "==". Parse all "macro" lines in one place.
1521 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1522
f2d922fe
JM
1523 * conform/conformtest.pl: Handle braced types on "constant" lines
1524 instead of handling "typed-constant".
1525 * conform/data/signal.h-data: Use "constant" instead of
1526 "typed-constant".
1527
d22956c9
JM
1528 * conform/conformtest.pl: Handle "optional-" at start of lines in
1529 one place rather than duplicating several cases. Handle each
1530 format of "macro" line with initial "optional-".
1531
028e2e38
JM
1532 * conform/conformtest.pl: Only accept expected constant or
1533 optional-constant values with "==". Parse all "constant" lines in
1534 one place. Parse all "optional-constant" lines in one place.
1535 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1536 * conform/data/fmtmsg.h-data: Likewise.
1537 * conform/data/netinet/in.h-data: Likewise.
1538 * conform/data/tar.h-data: Likewise.
1539 * conform/data/limits.h-data: Use "==" form on "constant" and
1540 "optional-constant" lines.
1541
1b8f2850
JM
1542 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1543 Use -std=c99 for XOPEN2K.
1544 (@knownproblems): Remove.
1545 (newtoken): Don't check %isknown.
1546
a05a144b
JM
1547 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1548 Do not expect macro.
1549 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1550 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1551 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1552 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1553 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1554 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1555 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1556 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1557 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1558 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1559 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1560 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1561 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1562 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1563 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1564 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1565 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1566 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1567 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1568 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1579 [XPG3] (acosh): Likewise.
1580 [XPG3] (asinh): Likewise.
1581 [XPG3] (atanh): Likewise.
1582 [XPG3] (cbrt): Likewise.
1583 [XPG3] (expm1): Likewise.
1584 [XPG3] (ilogb): Likewise.
1585 [XPG3] (log1p): Likewise.
1586 [XPG3] (logb): Likewise.
1587 [XPG3] (nextafter): Likewise.
1588 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1589 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1590 [XPG3] (remainder): Likewise.
1591 [XPG3] (rint): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1598 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1599 [UNIX98 || XOPEN2K] (scalb): Expect.
1600 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1601 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1602 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1603 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1604 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1605 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1606 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1609 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1610 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1618 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1619 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1620 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1737
73c5ebe3
JM
1738 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1739 _XOPEN_SOURCE_EXTENDED for XPG4.
1740
39c33b6c
JM
1741 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1742
62fde54f
JM
1743 * Makeconfig (localtime): Remove variable.
1744 (inst_localtime-file): Likewise.
1745
0741d64c
AS
17462012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1747
1748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1749 Update.
1750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1751 Update.
1752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1753 Update.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1755 Update.
1756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1757 Update.
1758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1759 Update.
1760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1761 Update.
1762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1763 Update.
1764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1765 Update.
1766
7cb029ee
JM
17672012-05-01 Joseph Myers <joseph@codesourcery.com>
1768
1769 [BZ #2550]
1770 [BZ #2570]
1771 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1772 comparisons to determine direction to adjust input.
1773 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1774 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1775 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1776 Likewise.
1777 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1778 Likewise.
1779 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1780 Likewise.
1781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1783 Likewise.
1784 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1785 Likewise.
1786 * math/libm-test.inc (nexttoward_test): Add more tests.
1787
412bd966
AS
17882012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1789
1790 [BZ #14040]
1791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1792 in version GLIBC_2.1, not GLIBC_2.0.
1793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1794 Likewise.
1795
9568c0c2
JM
17962012-04-30 Joseph Myers <joseph@codesourcery.com>
1797
adfbc8ac
JM
1798 [BZ #13942]
1799 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1800 (1 - x) * (1 + x).
1801 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1802 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1803 * math/libm-test.inc (acos_test): Add more tests.
1804 (asin_test): Likewise.
1805 * sysdeps/i386/fpu/libm-test-ulps: Update.
1806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1807
5ba3cc69
JM
1808 [BZ #14034]
1809 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1810 of square root.
1811 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1812 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1813 * math/libm-test.inc (acos_test_tonearest): New function.
1814 (acos_test_towardzero): Likewise.
1815 (acos_test_downward): Likewise.
1816 (acos_test_upward): Likewise.
1817 (asin_test_tonearest): Likewise.
1818 (asin_test_towardzero): Likewise.
1819 (asin_test_downward): Likewise.
1820 (asin_test_upward): Likewise.
1821 (main): Call the new functions.
1822 * sysdeps/i386/fpu/libm-test-ulps: Update.
1823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1824
9568c0c2
JM
1825 [BZ #13884]
1826 [BZ #13924]
1827 * math/e_exp10.c: Include <float.h>.
1828 (__ieee754_exp10): Handle underflow here rather than multiplying
1829 large negative argument by M_LN10.
1830 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1831 of __ieee754_expf.
1832 * math/e_exp10l.c: Include <float.h>.
1833 (__ieee754_exp10l): Handle underflow here rather than multiplying
1834 large negative argument by M_LN10l.
1835 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1836 spurious overflow exception on underflow.
1837
5ac3ea17
MP
18382012-04-29 Marek Polacek <polacek@redhat.com>
1839
1840 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1841 (__fortify_function): New macro.
1842 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1843 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1844 __extern_always_inline.
1845 * libio/bits/stdio2.h: Likewise.
1846 * libio/bits/stdio.h: Likewise.
1847 * string/string.h: Likewise.
1848 * string/bits/string3.h: Likewise.
1849 * include/stdio.h: Likewise.
1850 * stdlib/bits/stdlib.h: Likewise.
1851 * stdlib/stdlib.h: Likewise.
1852 * rt/bits/mqueue2.h: Likewise.
1853 * rt/mqueue.h: Likewise.
1854 * posix/bits/unistd.h: Likewise.
1855 * posix/unistd.h: Likewise.
1856 * io/bits/poll2.h: Likewise.
1857 * io/bits/fcntl2.h: Likewise.
1858 * io/fcntl.h: Likewise.
1859 * io/sys/poll.h: Likewise.
1860 * misc/bits/syslog.h: Likewise.
1861 * misc/bits/syslog-ldbl.h: Likewise.
1862 * misc/sys/syslog.h: Likewise.
1863 * socket/bits/socket2.h: Likewise.
1864 * socket/sys/socket.h: Likewise.
1865 * debug/tst-chk1.c: Likewise.
1866 * wcsmbs/bits/wchar2.h: Likewise.
1867 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1868 * wcsmbs/wchar.h: Likewise.
1869
ecf0ebfb
AJ
18702012-04-29 Andreas Jaeger <aj@suse.de>
1871
1872 * Makerules (tests): Remove enable-check-abi protection.
1873 (check-abi-warn): Remove.
1874 (check-abi-%): Remove check-abi-warn usage.
1875
1876 * configure.in: Remove check-abi configure option.
1877 * configure: Regenerated.
1878 * config.make.in (enable-check-abi): Remove.
1879
6d5c57fa
AS
18802012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1881
24c5d07e 1882 [BZ #14033]
ded5180a
AS
1883 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1884 double functions to double *_finite functions.
1885
7e0d315d
AS
1886 [BZ #13941]
1887 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1888 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1889 LDBL_MIN_EXP.
1890 * stdio-common/Makefile (tests): Add tst-sprintf3.
1891 * stdio-common/tst-sprintf3.c: New file.
1892
6d5c57fa
AS
1893 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1894 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1895
0749ff8b
JM
18962012-04-28 Joseph Myers <joseph@codesourcery.com>
1897
1898 * conform/conformtest.pl: Remove duplicate typed-constant
1899 handling.
1900
8dbd5d7b
DM
19012012-04-28 David S. Miller <davem@davemloft.net>
1902
1903 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1904 (check-abi-%): Remove AWK script prerequisite and explicit
1905 abilist directory.
1906 (check-abi): Rewrite to just diff the symlist with the abilist.
1907 (config-tls, config-abi-config): Delete, no longer used.
1908 (update-abi-%): Remove AWK script and explicit abilist directory.
1909 (update-abi): Rewrite to simply compare and conditionally copy the
1910 symlist and the sysdep abilist file. Remove update-abi-config
1911 checks.
1912 * abilist/ld.abilist: Remove.
1913 * abilist/libBrokenLocale.abilist: Remove.
1914 * abilist/libanl.abilist: Remove.
1915 * abilist/libcrypt.abilist: Remove.
1916 * abilist/libdl.abilist: Remove.
1917 * abilist/librt.abilist: Remove.
1918 * abilist/libthread_db.abilist: Remove.
1919 * abilist/libutil.abilist: Remove.
1920 * scripts/extract-abilist.awk: Remove.
1921 * scripts/merge-abilist.awk: Remove.
1922 * sysdeps/generic/libcidn.abilist: New file.
1923 * sysdeps/generic/libnss_compat.abilist: New file.
1924 * sysdeps/generic/libnss_db.abilist: New file.
1925 * sysdeps/generic/libnss_dns.abilist: New file.
1926 * sysdeps/generic/libnss_files.abilist: New file.
1927 * sysdeps/generic/libnss_hesiod.abilist: New file.
1928 * sysdeps/generic/libnss_nis.abilist: New file.
1929 * sysdeps/generic/libnss_nisplus.abilist: New file.
1930 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1931 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1932 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1933 file.
1934 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1935 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1936 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1937 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1938 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1939 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1940 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1941 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1942 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1943 file.
1944 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1945 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1946 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1947 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1948 file.
1949 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1950 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1951 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1952 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1953 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1954 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1955 file.
1956 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1957 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1958 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1959 file.
1960 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1961 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1962 New file.
1963 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1964 New file.
1965 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1966 New file.
1967 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1968 New file.
1969 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1970 New file.
1971 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1972 New file.
1973 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1974 New file.
1975 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1976 New file.
1977 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1978 New file.
1979 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1980 New file.
1981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
1982 New file.
1983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
1984 New file.
1985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
1986 New file.
1987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
1988 file.
1989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1990 New file.
1991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1992 New file.
1993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
1994 file.
1995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1996 New file.
1997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1998 New file.
1999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2000 file.
2001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2002 New file.
2003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2004 New file.
2005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2006 New file.
2007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2008 New file.
2009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2010 New file.
2011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2012 New file.
2013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2015 file.
2016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2017 New file.
2018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2019 file.
2020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2021 file.
2022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2023 file.
2024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2025 file.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2027 file.
2028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2029 New file.
2030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2031 file.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2033 file.
2034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2035 New file.
2036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2037 file.
2038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2039 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2040 file.
2041 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2042 New file.
2043 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2044 file.
2045 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2046 file.
2047 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2048 file.
2049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2050 file.
2051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2052 file.
2053 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2054 New file.
2055 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2056 file.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2058 file.
2059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2060 New file.
2061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2062 file.
2063 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2064 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2065 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2066 file.
2067 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2068 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2069 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2070 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2071 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2072 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2073 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2074 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2075 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2076 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2079 file.
2080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2081 New file.
2082 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2083 file.
2084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2087 file.
2088 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2091 file.
2092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2093 New file.
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2095 New file.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2097 file.
2098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2099 New file.
2100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2101 file.
2102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2103 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2104 file.
2105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2106 New file.
2107 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2108 file.
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2112 file.
2113 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2114 file.
2115 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2116 file.
2117 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2120 New file.
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2122 file.
2123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2126 file.
2127
41d73a1b
JM
21282012-04-28 Joseph Myers <joseph@codesourcery.com>
2129
2130 * conform/conformtest.pl: Fix typo in handling typed-constant from
2131 allow-header.
2132
28aeeda4
JM
21332012-04-27 Joseph Myers <joseph@codesourcery.com>
2134
adae8f5e
JM
2135 * README: Cut down references to pre-2.6 Linux kernels and
2136 Linuxthreads. Update lists of configurations in libc and ports
2137 and sort alphabetically. Say "or newer" with Linux kernel version
2138 requirements.
2139
28aeeda4
JM
2140 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2141
a462cb63
RA
21422012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2143
2144 [BZ #887]
2145 * math/libm-test.inc (logb_test_downward): New test to expose
2146 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2147 rounding mode.
2148
6ad3493e
JM
21492012-04-27 Joseph Myers <joseph@codesourcery.com>
2150
2151 [BZ #14027]
2152 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2153 to be done.
2154 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2155 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2156
2ce4f015
JM
21572012-04-26 Joseph Myers <joseph@codesourcery.com>
2158
5aeb141a
JM
2159 * sysdeps/unix/i386/brk.S: Remove file.
2160 * sysdeps/unix/i386/dl-brk.S: Likewise.
2161 * sysdeps/unix/i386/pipe.S: Likewise.
2162 * sysdeps/unix/i386/sigreturn.S: Likewise.
2163 * sysdeps/unix/i386/syscall.S: Likewise.
2164 * sysdeps/unix/i386/vfork.S: Likewise.
2165 * sysdeps/unix/i386/wait.S: Likewise.
2166
7143acae
JM
2167 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2168 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2169
2ce4f015
JM
2170 * configure.in (arm*-none*): Do not allow without
2171 --enable-hacker-mode.
2172 (netbsd*): Remove case setting base_os.
2173 (386bsd*): Likewise.
2174 (freebsd*): Likewise.
2175 (bsdi*): Likewise.
2176 (osf*): Likewise.
2177 (sunos*): Likewise.
2178 (ultrix*): Likewise.
2179 (newsos*): Likewise.
2180 (dynix*): Likewise.
2181 (*bsd*): Likewise.
2182 (sysv*): Likewise.
2183 (isc*): Likewise.
2184 (esix*): Likewise.
2185 (sco*): Likewise.
2186 (minix*): Likewise.
2187 (irix4*): Likewise.
2188 (irix6*): Likewise.
2189 (solaris[2-9]*): Likewise.
2190 (none): Likewise.
2191 * configure: Regenerated.
2192
0ac229c8
AZ
21932012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2194
2195 [BZ #11521]
2196 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2197 overflow or cancellation in calculating denominator.
2198 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2200 down expression to avoid unexpected rounding in newer GCCs.
2201 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2202
33f244f4
DM
22032012-04-26 David S. Miller <davem@davemloft.net>
2204
2205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2206 long-double compat symbols.
2207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2219 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2220
cfa1f3e8
DM
22212012-04-25 David S. Miller <davem@davemloft.net>
2222
2223 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2224 HWCAP_* values only after the memory barriers have been defined.
2225 (atomic_full_barrier): Define.
2226 (atomic_read_barrier): Define.
2227 (atomic_write_barrier): Define.
2228
6e236b92
SP
22292012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2230
2231 * shlib-versions: Add libgcc_s version information.
2232 * sysdeps/generic/libgcc_s.h: Remove.
2233 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2234 libgcc_s.h.
2235 * sysdeps/gnu/unwind-resume.c: Likewise.
2236 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2237
aab39a09
DM
22382012-04-25 David S. Miller <davem@davemloft.net>
2239
2240 * sysdeps/unix/sparc/brk.S: Delete.
2241 * sysdeps/unix/sparc/dl-brk.S: Delete.
2242 * sysdeps/unix/sparc/pipe.S: Delete.
2243 * sysdeps/unix/sparc/sysdep.S: Delete.
2244 * sysdeps/unix/sparc/sysdep.h: Delete.
2245 * sysdeps/unix/sparc/vfork.S: Delete.
2246 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2247 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2248 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2249 ret_ERRVAL, r0, r1, MOVE): Define.
2250 (JUMPTARGET): Remove.
2251 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2252 sysdeps/unix/sparc/sysdep.h
2253 (ENTRY, END): Remove.
2254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2255
a3cc4f48
JM
22562012-04-25 Joseph Myers <joseph@codesourcery.com>
2257
2ed8cda2
JM
2258 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2259 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2260 -DIS_IN_build.
2261
35d76d59
JM
2262 * timezone/README: Update upstream location and email address for
2263 tzcode and tzdata.
2264 * timezone/zdump.c: Update from tzcode 2012b.
2265 * timezone/zic.c: Likewise.
2266
a3cc4f48
JM
2267 * configure.in (libc_cv_as_needed): Remove test.
2268 * configure: Regenerated.
2269 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2270 conditional definition.
2271 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2272 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2273 * config.make.in (have-as-needed): Remove variable.
2274
ceab42c3
SP
22752012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2276 Paul Pluzhnikov <ppluzhnikov@google.com>
2277
2278 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2279 strings correctly.
2280
3ce2865f
CLT
22812012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2282
2283 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2284 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2285 * sysdeps/sh/strlen.S: Likewise.
2286
f37e0d68
JM
22872012-04-24 Joseph Myers <joseph@codesourcery.com>
2288
ae186e9a
JM
2289 * sysdeps/unix/fork.S: Remove file.
2290 * sysdeps/unix/i386/fork.S: Likewise.
2291 * sysdeps/unix/sparc/fork.S: Likewise.
2292
b96914af
JM
2293 * sysdeps/unix/system.c: Remove file.
2294 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2295
f37e0d68
JM
2296 * sysdeps/unix/getegid.S: Remove file.
2297 * sysdeps/unix/geteuid.S: Likewise.
2298
87ef29ca
RM
22992012-04-24 Roland McGrath <roland@hack.frob.com>
2300
83bcd236
RM
2301 * scripts/check-localplt.awk: New file.
2302 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2303 of diff.
2304 * scripts/data/localplt-generic.data: Add a comment.
2305
87ef29ca
RM
2306 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2307 NODE when __dir_mkfile failed.
2308 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2309 Reported by Ludovic Courtès <ludo@gnu.org>.
2310
e5a6e567
AJ
23112012-04-24 Andreas Jaeger <aj@suse.de>
2312
2313 * Makerules (common-clean): Also remove gen-as-const-headers
2314 files.
2315
c1820385
JM
23162012-04-24 Joseph Myers <joseph@codesourcery.com>
2317
2318 * Makerules (native-compile): Do not change working directory for
2319 build. Use $(OUTPUT_OPTION) in command.
2320 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2321
94e02fc4
AZ
23222012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2323
2324 [BZ #13886]
2325 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2326 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2327 * math/libm-test.inc (floor_test): Add more tests.
2328 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2329
3a533ca3
JM
23302012-04-24 Joseph Myers <joseph@codesourcery.com>
2331
940ab4b3
JM
2332 * sysdeps/unix/getdents.c: Remove file.
2333 * sysdeps/unix/sysv/getdents.c: Likewise.
2334 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2335
90e037bd
JM
2336 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2337 sysdeps/unix/mman/syscalls.list.
2338 (mmap): Likewise.
2339 (mprotect): Likewise.
2340 (msync): Likewise.
2341 (munmap): Likewise.
2342 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2343 * sysdeps/unix/mman/syscalls.list: Remove.
2344 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2345
3a533ca3
JM
2346 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2347 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2348 * configure: Regenerated.
2349 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2350 $(libgcc_s_suffix).
2351 * config.make.in (libgcc_s_suffix): Remove variable.
2352
1ad743de
JM
23532012-04-23 Joseph Myers <joseph@codesourcery.com>
2354
4ad451e2
JM
2355 * sysdeps/unix/sysv/gethostname.c: Move to ...
2356 * sysdeps/posix/gethostname.c: ... here.
2357
5e37ce39
JM
2358 * sysdeps/unix/execve.S: Remove file.
2359
1ad743de
JM
2360 * sysdeps/unix/_exit.S: Remove file.
2361
4e681b5b
AJ
23622012-04-23 Andreas Jaeger <aj@suse.de>
2363
2364 [BZ #13739]
2365 * manual/Makefile: Remove make dist support, there's no
2366 need for a stand-alone documentation tar ball.
2367 (TEXI2DVI): Define always, it's not in Makeconfig.
2368 (dist): Removed.
2369 (tar-it): Removed.
2370 (edition): Removed.
2371 (glibc-doc-$(edition).tar): Removed
2372 (%.Z): Removed.
2373 (%.gz): Removed.
2374 (%.uu): Removed.
2375 (ETAGS): Remove, it's in Makeconfig.
2376 (move-if-change): Remove, it's in Makeconfig.
2377
c0baea34
PE
23782013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2379
2380 [BZ #13970]
2381 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2382 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2383 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2384 (strtod_l, strtof_l, strtold_l): Remove __wur.
2385 It is not necessarily an error to ignore strtol's return value.
2386 One can reliably look at the stored endptr to decide whether
2387 the number had valid syntax.
2388
7c0616fa
AJ
23892012-04-21 Andreas Jaeger <aj@suse.de>
2390
803cb6b7 2391 [BZ #13739]
7c0616fa
AJ
2392 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2393
b0fe253f
JM
23942012-04-21 Joseph Myers <joseph@codesourcery.com>
2395
2396 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2397 * sysdeps/unix/sysv/Versions: Remove file.
2398
8280f22d
MT
23992012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2400
2401 [BZ #13927]
2402 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2403
75ce411f 24042012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2405
2406 [BZ #7064]
2407 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2408 version from __vm86.
2409
097d59fa
JM
24102012-04-20 Joseph Myers <joseph@codesourcery.com>
2411
a90f3bcb
JM
2412 * sysdeps/unix/common/lxstat.c: Remove file.
2413 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2414
edc7ea78
JM
2415 * sysdeps/unix/sysv/Makefile: Remove file.
2416
cb78c221
JM
2417 * sysdeps/unix/sysv/direct.h: Remove file.
2418
efa6a45f
JM
2419 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2420 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2421 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2422 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2423 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2424 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2425 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2426
9c9f2d0c
JM
2427 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2428
4541c83b
JM
2429 * sysdeps/unix/xmknod.c: Remove file.
2430 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2431
f5d153a0
JM
2432 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2433
aa746595
JM
2434 * sysdeps/unix/sysv/i386/time.S: Remove file.
2435
cce5905e
JM
2436 * sysdeps/unix/fxstat.c: Remove file.
2437 * sysdeps/unix/xstat.c: Likewise.
2438 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2439
37fa3841
JM
2440 * sysdeps/unix/sysv/sigaction.c: Remove file.
2441
ff1962a3
JM
2442 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2443 (sysdep_headers): Remove variable.
2444 [termio.h not in sysdep_headers] (generated): Likewise.
2445 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2446 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2447 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2448 * sysdeps/unix/sysv/tcflow.c: Likewise.
2449 * sysdeps/unix/sysv/tcflush.c: Likewise.
2450 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2451 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2452 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2453 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2454 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2455
e7740d31
JM
2456 * sysdeps/unix/siglist.c: Remove file.
2457
ee06f18b
JM
2458 * sysdeps/unix/getppid.S: Remove file.
2459
097d59fa
JM
2460 * sysdeps/unix/mkdir.c: Remove file.
2461 * sysdeps/unix/rmdir.c: Likewise.
2462
ff3d51ec
AS
24632012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2464
2465 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2466 ERR_MAX value.
2467 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2468 errlist-compat value.
2469
50f81fd7
DM
24702012-04-18 David S. Miller <davem@davemloft.net>
2471
2472 * sysdeps/generic/memcopy.h (reg_char): Delete.
2473 * debug/strcat_chk.c: Use char, not reg_char.
2474 * debug/strcpy_chk.c: Likewise.
2475 * debug/strncat_chk.c: Likewise.
2476 * debug/strncpy_chk.c: Likewise.
2477 * string/memchr.c: Likewise.
2478 * string/memrchr.c: Likewise.
2479 * string/rawmemchr.c: Likewise.
2480 * string/strcat.c: Likewise.
2481 * string/strchr.c: Likewise.
2482 * string/strchrnul.c: Likewise.
2483 * string/strcmp.c: Likewise.
2484 * string/strcpy.c: Likewise.
2485 * string/strncat.c: Likewise.
2486 * string/strncmp.c: Likewise.
2487 * string/strncpy.c: Likewise.
2488
8ff41c46
WS
24892012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2490
2491 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2492 __builtin_memcopy is called when src and dest ranges are known to not
2493 overlap.
2494
6b652f46
WS
24952012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2496
2497 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2498 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2499 fwd_align_merge macro call.
2500 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2501 bwd_align_merge macro call.
2502 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2503
b282631e
WS
25042012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2505
2506 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2507 bwd_align_merge macros.
2508 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2509 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2510 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2511
95aa737c
DM
25122012-04-18 David S. Miller <davem@davemloft.net>
2513
2514 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2515
7a99a614
AJ
25162012-04-18 Andreas Jaeger <aj@suse.de>
2517
2518 [BZ# 6794]
2519 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2520 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2521 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2522
2523 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2524 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2525 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2526
2527 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2528 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2529 Adjust for changed ldbl-128 files.
2530
2531 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2532 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2533 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2534
e5270c23
DM
25352012-04-17 David S. Miller <davem@davemloft.net>
2536
2537 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2538
fb5e92c9
AS
25392012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2540
2541 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2542 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2543 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2544 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2545 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2546 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2547
76da7265
AZ
25482012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2549
2550 [BZ #6794]
2551 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2552 * math/libm-test.inc: Add ilogb errno and exception tests.
2553 * math/w_ilogb.c: New file: ilogb wrapper.
2554 * math/w_ilogbf.c: New file: ilogbf wrapper.
2555 * math/w_ilogbl.c: New file: ilogbl wrapper.
2556 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2557 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2558 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2559 exception being thrown with 0.0 as argument.
2560 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2561 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2562 exception being thrown with 0.0 as argument.
2563 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2564 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2565 exception being thrown with 0.0 as argument.
2566 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2567 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2568 exception being thrown with 0.0 as argument.
2569 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2570 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2571 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2572 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2573 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2574 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2575 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2576 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2577 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2578
0396e69d
PB
25792012-04-17 Petr Baudis <pasky@ucw.cz>
2580
2581 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2582 with altivec.
2583
750b5926
MP
25842012-04-16 Marek Polacek <polacek@redhat.com>
2585
2586 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2587
751728a1
MP
25882012-04-16 Marek Polacek <polacek@redhat.com>
2589
2590 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2591 operands of fdivp instruction.
2592
34a27407
L
25932012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2594
2595 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2596 * elf/tst-auditmod3b.c: Likewise.
2597 * elf/tst-auditmod4b.c: Likewise.
2598 * elf/tst-auditmod5b.c: Likewise.
2599 * elf/tst-auditmod6b.c: Likewise.
2600 * elf/tst-auditmod6c.c: Likewise.
2601 * elf/tst-auditmod7b.c: Likewise.
2602 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2603 * sysdeps/x86_64/preconfigure.in: Likewise.
2604 * sysdeps/x86_64/preconfigure: Regenerated.
2605
7e73e17d
L
26062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2607
2608 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2609 __ILP32__.
2610
c7a6ab72
AB
26112012-04-13 Antoine Balestrat <merkil33@gmail.com>
2612
2613 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2614 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2615
a9e8e0e0
CL
26162012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2617
2618 [BZ #13973]
2619 * locale/iso-639.def: Fix gl language name. Spotted by
2620 Yaron Shahrabani.
2621
ec98af7d
RM
26222012-04-12 Roland McGrath <roland@hack.frob.com>
2623
2624 [BZ #2074]
2625 * libio/libio.h (__io_write_fn): Update comment.
2626
247c3ede
PB
26272012-04-12 Petr Baudis <pasky@ucw.cz>
2628
2629 [BZ #2074]
2630 * stdio.texi (Hook Functions): The user provided writer function
2631 is not allowed to return -1.
2632
55939d6d
DM
26332012-04-11 David S. Miller <davem@davemloft.net>
2634
2635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2636
90020f5a
MF
26372012-04-11 Mike Frysinger <vapier@gentoo.org>
2638
2639 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2640 Add a leading slash to rtkaio.
2641
288f9098
JM
26422012-04-11 Jim Meyering <meyering@redhat.com>
2643
90020f5a
MF
2644 [BZ #11959]
2645 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2646 It is not necessarily an error to ignore fwrite's return
2647 value. One can reliably use ferror to test for errors after
2648 the fact.
288f9098 2649
4be2b570
L
26502012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2651
2652 * bits/types.h (__snseconds_t): New type.
2653 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2654
2655 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2656 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2657 (__SNSECONDS_T_TYPE): Likewise.
2658 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2659 (__SNSECONDS_T_TYPE): Likewise.
2660 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2661 (__SNSECONDS_T_TYPE): Likewise.
2662
288f9098 26632012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2664
2665 [BZ #2636]
2666 * manual/time.texi (Processor Time): Return type of times is
2667 elapsed real time since an arbitrary point in the past.
2668 (CPU Time): Move CLK_TCK from here...
2669 (Processor Time): ...to here. Correct description.
2670 * manual/conf.texi (Constants for Sysconf): Correct description of
2671 _SC_CLK_TCK.
2672
d7dd4413
DM
26732012-04-10 David S. Miller <davem@davemloft.net>
2674
2675 [BZ #13967]
2676 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2677 where the is a gap between DT_REL(A) and DT_JMPREL.
2678
b46068fc
L
26792012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2680
2681 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2682 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2683 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2684
73d65cc3
SP
26852012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2686
2687 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2688 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2689 (dl_main): Handle --inhibit-cache.
2690 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2691 _dl_inhibit_cache.
2692 * elf/dl-load.c (_dl_map_object): Use it.
2693 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2694
bcc8d661
JM
26952012-04-09 Joseph Myers <joseph@codesourcery.com>
2696
8f9a2fae
JM
2697 [BZ #13872]
2698 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2699 (__ieee754_powl): Saturate large exponents rather than testing for
2700 overflow of y*log2(x).
2701 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2702 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2703 exceptions.
2704
bcc8d661
JM
2705 [BZ #11521]
2706 * math/s_ctan.c: Include <float.h>.
2707 (__ctan): Avoid internal overflow or cancellation in calculating
2708 denominator.
2709 * math/s_ctanf.c: Likewise.
2710 * math/s_ctanl.c: Likewise.
2711 * math/s_ctanh.c: Likewise.
2712 * math/s_ctanhf.c: Likewise.
2713 * math/s_ctanhl.c: Likewise.
2714 * math/libm-test.inc (ctan_test): Add more tests.
2715 (ctanh_test): Likewise.
2716 * sysdeps/i386/fpu/libm-test-ulps: Update.
2717 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2718
823fbbb4
AJ
27192012-04-09 Andreas Jaeger <aj@suse.de>
2720
03879793
AJ
2721 [BZ #6894]
2722 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2723 is an optional BSD extension.
2724
823fbbb4
AJ
2725 [BZ #10254]
2726 * manual/stdio.texi (Opening Streams): Document additional fopen
2727 parameters.
2728
8de131cb
RM
27292012-04-09 Roland McGrath <roland@hack.frob.com>
2730
2731 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2732 %eax without telling the compiler.
2733
c0ed9d7d
CD
27342012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2735
2736 [BZ # 13963]
2737 * manual/install.texi: Use sourceware.org.
2738
c483f6b4
JM
27392012-04-09 Joseph Myers <joseph@codesourcery.com>
2740
d7dd9453
JM
2741 [BZ #13873]
2742 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2743 (__ieee754_pow): Generate overflow and underflow using huge*huge
2744 and tiny*tiny rather than just returning constant infinity or zero
2745 for large exponents.
2746 * math/libm-test.inc (pow_test): Require overflow exceptions for
2747 applicable cases of large exponents.
2748
c483f6b4
JM
2749 [BZ #706]
2750 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2751 (__ieee754_pow): Use iterative multiplication algorithm only for
2752 integer exponents with absolute value below 1024. Check for odd
2753 integer exponents when using algorithm for real exponents.
2754 * math/libm-test.inc (pow_test): Add more tests.
2755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2756
d2de7579
JM
27572012-04-08 Joseph Myers <joseph@codesourcery.com>
2758
2759 [BZ #13705]
2760 * math/libm-test.inc (exp_test): Do not allow overflow exception
2761 on underflow test.
2762
f77f1232
AJ
27632012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2764
2765 [BZ #13705]
2766 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2767 instead of __kernel_standard_f.
2768
3884932b
MF
27692012-04-08 Mike Frysinger <vapier@gentoo.org>
2770
2771 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2772 * sysdeps/x86_64/memset_chk.S: Likewise.
2773
54472e9c
AJ
27742012-04-08 Andreas Jaeger <aj@suse.de>
2775
6ab0fbfc
AJ
2776 [BZ #10153]
2777 * manual/startup.texi (Environment Access): Describe return value
2778 for putenv and setenv.
2779
61efba8c
AJ
2780 [BZ #6895]
2781 * manual/filesys.texi (Directory Entries): Add description for
2782 DT_LNK.
2783
95c3f29a
AJ
2784 [BZ #6890]
2785 * manual/filesys.texi (Directory Entries): Clarify that it's file
2786 system not operating system in the description of DT_UNKNOWN.
2787
54472e9c
AJ
2788 [BZ #6578]
2789 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2790
624254b1
SC
27912012-04-08 Stephen Compall <s11@member.fsf.org>
2792
2793 [BZ #6649]
2794 * manual/llio.texi (Opening and Closing Files): Add cross
2795 reference to explain mode argument.
2796
1e4920e0
MF
27972012-04-07 Mike Frysinger <vapier@gentoo.org>
2798
2799 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2800 * sysdeps/x86_64/memset_chk.S: Likewise.
2801
5ed848f3
DM
28022012-04-07 David S. Miller <davem@davemloft.net>
2803
2804 * elf/elf.h (R_SPARC_WDISP10): Define.
2805 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2806 R_SPARC_SIZE32.
2807 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2808 R_SPARC_SIZE64 and R_SPARC_H34.
2809
96154cd8
CD
28102012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2811
2812 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2813 conditions and remove no longer applicable assertion.
2814
9904dc47
L
28152012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2816
2817 * bits/byteswap.h: Include <features.h>.
2818 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2819 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2820
f8887d0a
L
28212012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2822
2823 * bits/byteswap.h (__bswap_16): Removed.
2824 Include <bits/byteswap-16.h> to get __bswap_16.
2825 * sysdeps/i386/bits/byteswap.h: Likewise.
2826 * sysdeps/s390/bits/byteswap.h: Likewise.
2827 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2828 * bits/byteswap-16.h: New file.
2829 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2830 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2831 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2832 * string/Makefile (headers): Add bits/byteswap-16.h.
2833
62470f60
PP
28342012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2835
2836 [BZ #13895]
2837 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2838 extra indirection.
2839 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2840 * nss/tst-nss-static.c: New.
2841
4dad7bab
RM
28422012-04-06 Robert Millan <rmh@gnu.org>
2843
2844 [BZ #6486]
2845 * manual/llio.texi (File Position Primitive): lseek
2846 refers to WHENCE when it really means OFFSET.
2847
e9142a17
AJ
28482012-04-06 Andreas Jaeger <aj@suse.de>
2849
2c040eff
AJ
2850 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2851 strncmp declarations.
2852
e9142a17
AJ
2853 * abilist/libc.abilist: Add __poll and __ppoll.
2854
ff9f1c5f
DM
28552012-04-05 David S. Miller <davem@davemloft.net>
2856
dcd2ae90
DM
2857 * scripts/check-local-headers.sh: Accept a host triplet in the
2858 path matched by the exclude regexp.
2859
993eb054
DM
2860 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2861 definition.
2862 * sysdeps/powerpc/powerpc32/dl-machine.h
2863 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2864 * sysdeps/s390/s390-32/dl-machine.h
2865 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2866 * sysdeps/sparc/sparc32/dl-machine.h
2867 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2868 * sysdeps/sparc/sparc64/dl-machine.h
2869 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2870
ff9f1c5f
DM
2871 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2872 lazy binding.
48e2e132 2873 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2874 undefined symbol errors.
2875
48e2e132 2876 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2877 DT_NEEDED entries.
2878
e80d6f94
MM
28792012-04-05 Michael Matz <matz@suse.de>
2880
2881 [BZ #13592]
2882 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2883
349fa79f
AJ
28842012-04-05 Andreas Jaeger <aj@suse.de>
2885
2886 [BZ #13908]
2887 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2888 comment.
2889
f402708f
KK
28902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2891
2892 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2893 which ROUND is no valid rounding mode.
2894
2ecccfc9
KK
28952012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2896
2897 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2898 read again.
2899 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2900
8a53f50f
KK
29012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2902
2903 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2904 an exception using FPU order intentionally.
2905
29062012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2907
2908 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2909 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2910 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2911 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2912
d653abb7
SJ
29132012-04-05 Simon Josefsson <simon@josefsson.org>
2914
2915 [BZ #12340]
2916 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2917 EINVAL when BUFLEN is too smal.
2918
c3b1bf7d
TS
29192012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2920
2921 [BZ #13553]
2922 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2923 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2924
b1aa60f3
AJ
29252012-04-03 Andreas Jaeger <aj@suse.de>
2926
c3b1bf7d 2927 [BZ #13938]
67f60a26
AJ
2928 * manual/setjmp.texi (System V contexts): Fix sentence.
2929
b1aa60f3
AJ
2930 [BZ #13926]
2931 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2932 New macro for this case.
2933 [!__GNUC__] (__bswap_64): New inline function for this case.
2934 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2935 * bits/byteswap.h: Likewise.
2936 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2937 ull, guard with __GLIBC_HAVE_LONG_LONG.
2938
2939 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2940 __GLIBC_HAVE_LONG_LONG.
2941
2942 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2943 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2944
39c59c35
TMQMF
29452012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2946
2947 [BZ #13691]
2948 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2949 inptr and inend, rather than using last_ch.
2950
135ffda8
DM
29512012-04-02 David S. Miller <davem@davemloft.net>
2952
2953 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2954 * stdio-common/printf-parse.h (read_int): Change return type to
2955 'int', return -1 on INT_MAX overflow.
2956 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2957 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2958 overflows INT_MAX. Check for overflow of in-format-string precision
2959 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2960 SIZE_MAX not INT_MAX for integer overflow test.
2961 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2962 skip the construct in the format string but do not record anything.
2963 * stdio-common/bug22.c: Adjust to test both width/prevision
2964 INT_MAX overflow as well as total length INT_MAX overflow. Check
2965 explicitly for proper errno values.
2966
228c019e
TS
29672012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2968
302cadd3
TS
2969 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2970 CHAR_MAX.
2971 * string/test-strcmp.c [! WIDE]: Likewise.
2972 * time/tst-mktime2.c: Likewise for INT_MAX.
2973 * string/test-string.h: #include <sys/param.h> for MIN.
2974
228c019e
TS
2975 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2976 * sysdeps/i386/init-first.c (init): Likewise.
2977 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2978 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2979 * sysdeps/sh/init-first.c (init): Likewise.
2980
cfa633f5
UD
29812012-04-01 Ulrich Drepper <drepper@gmail.com>
2982
2983 * po/ru.po: Update from translation team.
d1635ef8 2984 * po/vi.po: Likewise.
cfa633f5 2985
6cd0a5ea
SP
29862012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
2987
2988 * resolv/nss_dns/dns-host.c: Merge copyright years.
2989
4b43400f
LD
29902012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
2991
2992 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
2993 Optimize memcpy with prefetch if
2994 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
2995 src, dst pointers have unequal 16 byte alignments.
2996
48c41d04
SP
29972012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
2998
2999 [BZ #13928]
3000 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3001 from a CNAME entry and return the minimum ttl for the query.
3002 (gaih_getanswer_slice): Likewise.
3003
b8dc394d
JL
30042012-03-30 Jeff Law <law@redhat.com>
3005
3006 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3007 due to long keys.
3008 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3009 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3010
2f5a5ed0
JL
3011 * resolv/nss_dns/dns-host.c: Update copyright year.
3012
1d39e359
UD
30132012-03-30 Ulrich Drepper <drepper@gmail.com>
3014
c030f70c 3015 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3016 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3017
1d39e359
UD
3018 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3019 comments for sendmmsg.
3020
30212012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3022
3023 [BZ #13691]
3024 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3025 with only 1 character between 0x0041 and 0x01b0.
3026 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3027 * wcsmbs/tst-mbsnrtowcs.c: New file.
3028
20fde227
DM
30292012-03-29 David S. Miller <davem@davemloft.net>
3030
3031 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3032 small copies by hand.
3033
984a4237
JL
30342012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3035
3036 [BZ #13761]
3037 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3038 _nss_compat_initgroups_dyn): Fall back to malloc/free
3039 for large group memberships.
3040
18c9d62b
DM
30412012-03-28 David S. Miller <davem@davemloft.net>
3042
88d85d4f
DM
3043 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3044 that branches into memcpy.
3045 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3047 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3048 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3049 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3050 bits.
3051 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3052 implementation too.
3053 * sysdeps/sparc/mempcpy.S: New file.
3054
e5aa83e1
DM
3055 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3056 the IFUNC routine in the libc case.
3057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3058
88570753
DM
3059 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3060 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3061 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3062 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3063 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3064 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3065 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3066 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3067
249d7567
DM
3068 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3069 loop to 256 bytes instead of 64 bytes and fix test signedness.
3070
18c9d62b
DM
3071 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3072 * sysdeps/sparc/sparc32/Makefile: rather than here...
3073 * sysdeps/sparc/sparc64/Makefile: and here.
3074
05f3d1f6
UD
30752012-03-28 Ulrich Drepper <drepper@gmail.com>
3076
3077 * malloc/mallocbug.c: Avoid warnings about unused variables.
3078
86ae07a8
JL
30792012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3080
3081 [BZ #13760]
3082 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3083 in the right place. Discard and retry query if response is
3084 larger than input buffer size.
3085
41bf21a1
JM
30862012-03-28 Joseph Myers <joseph@codesourcery.com>
3087
d6270972
JM
3088 [BZ #369]
3089 [BZ #2678]
3090 [BZ #3866]
3091 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3092 x for large integer exponent.
3093 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3094 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3095 sign of result as needed afterwards.
3096 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3097 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3098 result for underflowing pow the same as for overflow.
3099 (__kernel_standard_l): Handle powl overflow and underflow here
3100 rather than calling __kernel_standard.
3101 * math/libm-test.inc (pow_test): Add more tests.
3102
414fca03 3103 [BZ #3868]
41bf21a1
JM
3104 [BZ #13879]
3105 [BZ #13910]
3106 [BZ #13911]
3107 [BZ #13912]
3108 [BZ #13913]
3109 [BZ #13915]
3110 [BZ #13916]
3111 [BZ #13917]
3112 [BZ #13918]
3113 [BZ #13919]
3114 [BZ #13920]
3115 [BZ #13921]
3116 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3117 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3118 (__kernel_standard_l): New function.
3119 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3120 __kernel_standard.
3121 * math/w_acosl.c (__acosl): Likewise.
3122 * math/w_asinl.c (__asinl): Likewise.
3123 * math/w_atan2l.c (__atan2l): Likewise.
3124 * math/w_atanhl.c (__atanhl): Likewise.
3125 * math/w_coshl.c (__coshl): Likewise.
3126 * math/w_exp10l.c (__exp10l): Likewise.
3127 * math/w_exp2l.c (__exp2l): Likewise.
3128 * math/w_fmodl.c (__fmodl): Likewise.
3129 * math/w_hypotl.c (__hypotl): Likewise.
3130 * math/w_j0l.c (__j0l, __y0l): Likewise.
3131 * math/w_j1l.c (__j1l, __y1l): Likewise.
3132 * math/w_jnl.c (__jnl, __ynl): Likewise.
3133 * math/w_lgammal.c (__lgammal): Likewise.
3134 * math/w_log10l.c (__log10l): Likewise.
3135 * math/w_log2l.c (__log2l): Likewise.
3136 * math/w_logl.c (__logl): Likewise.
3137 * math/w_powl.c (__powl): Likewise.
3138 * math/w_remainderl.c (__remainderl): Likewise.
3139 * math/w_scalbl.c (sysv_scalbl): Likewise.
3140 * math/w_sinhl.c (__sinhl): Likewise.
3141 * math/w_sqrtl.c (__sqrtl): Likewise.
3142 * math/w_tgammal.c (__tgammal): Likewise.
3143 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3144 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3145 * math/libm-test.inc (acos_test): Add more tests.
3146 (acosh_test): Likewise.
3147 (asin_test): Likewise.
3148 (atanh_test): Likewise.
3149 (exp_test): Likewise.
3150 (exp10_test): Likewise.
3151 (exp2_test): Likewise.
3152 (expm1_test): Likewise.
3153 (lgamma_test): Likewise.
3154 (log_test): Likewise.
3155 (log10_test): Likewise.
3156 (log1p_test): Likewise.
3157 (log2_test): Likewise.
3158 (pow_test): Do not allow some spurious overflow exceptions.
3159 (sqrt_test): Add more tests.
3160 (tgamma_test): Likewise.
3161 (y0_test): Likewise.
3162 (y1_test): Likewise.
3163 (yn_test): Likewise.
3164
dd62fda6
AB
31652012-03-27 Anton Blanchard <anton@samba.org>
3166
3167 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3168 MAP_HUGETLB.
3169 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3170 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3171 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3172
1e3cdfda
AJ
31732012-03-27 David S. Miller <davem@davemloft.net>
3174
b855ab85
DM
3175 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3176
1e3cdfda
AJ
3177 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3178 have-as-vis3 check.
3179
31802012-03-27 Andreas Jaeger <aj@suse.de>
3181
3182 * sysdeps/x86_64/elf/configure.in: Moved to ...
3183 * sysdeps/x86_64/configure.in: ... here.
3184 * sysdeps/x86_64/elf/start.S: Moved to ...
3185 * sysdeps/x86_64/start.S: ... here.
3186 * sysdeps/x86_64/elf/configure: Delete.
3187
3188 * sysdeps/x86_64/configure.in: Merge contents from
3189 sysdeps/i386/configure.in (without i686 check).
3190
3191 * sysdeps/i386/elf/Versions: Merge into ...
3192 * sysdeps/i386/Versions: ... this.
3193 * sysdeps/i386/elf/Versions: Delete file.
3194 * sysdeps/i386/elf/start.S: Moved to ...
3195 * sysdeps/i386/start.S: ...here.
3196 * sysdeps/i386/elf/configure.in: Merge into...
3197 * sysdeps/i386/configure.in: ...here.
3198 * sysdeps/i386/elf/configure.in: Delete file.
3199 * sysdeps/i386/elf/configure: Delete file.
3200
3201 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3202 * debug/backtracesyms.c: ... here.
3203 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3204 * debug/backtracesymsfd.c: ... here.
3205 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3206 * sysdeps/generic/ifunc-sel.h: ... here.
3207
3208 * sysdeps/unix/i386/start.c: Delete file.
3209 * sysdeps/unix/sparc/start.c: Delete file.
3210 * sysdeps/unix/start.c: Delete file.
3211
3212 * sysdeps/sh/elf/configure.in: Moved to ...
3213 * sysdeps/sh/configure.in: ... here.
3214 * sysdeps/sh/elf/start.S: Moved to ...
3215 * sysdeps/sh/start.S: ... here.
3216 * sysdeps/sh/elf/configure: Delete file.
3217
3218 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3219 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3220 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3221 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3222 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3223 * sysdeps/powerpc/powerpc64/start.S: here.
3224 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3225 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3226 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3227 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3228 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3229
3230 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3231 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3232 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3233 * sysdeps/powerpc/powerpc32/start.S: ... here.
3234 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3235 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3236 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3237
3238 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3239 * sysdeps/powerpc/ifunc-sel.h: ... here.
3240 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3241 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3242
3243 * sysdeps/sparc/elf/configure.in: Moved to ...
3244 * sysdeps/sparc/configure.in: ... here.
3245 * sysdeps/sparc/elf/configure: Delete file.
3246 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3247 * sysdeps/sparc/sparc32/start.S: ... here.
3248 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3249 * sysdeps/sparc/sparc64/start.S: ... here.
3250 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3251 * sysdeps/sparc/sparc32/Makefile: ... this.
3252 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3253 * sysdeps/sparc/sparc64/Makefile: ... this.
3254
3255 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3256 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3257 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3258 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3259 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3260 * sysdeps/s390/s390-32/setjmp.S: ... here.
3261 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3262 * sysdeps/s390/s390-32/configure.in: ... here.
3263 * sysdeps/s390/s390-32/elf/configure: Delete file.
3264 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3265 * sysdeps/s390/s390-32/start.S: ... here.
3266
3267 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3268 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3269 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3270 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3271 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3272 * sysdeps/s390/s390-64/setjmp.S: ... here.
3273 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3274 * sysdeps/s390/s390-64/configure.in: ... here
3275 * sysdeps/s390/s390-64/elf/configure: Delete file.
3276 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3277 * sysdeps/s390/s390-64/start.S: ... here.
3278 * sysdeps/s390/s390-64/elf/configure: Delete.
3279
3280 * configure.in: Remove support for elf directories in sysdeps.
3281
3282 * configure: Regenerated.
3283 * sysdeps/i386/configure: Regenerated.
3284 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3285 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3286 * sysdeps/s390/s390-32/configure: Regenerated.
3287 * sysdeps/s390/s390-64/configure: Regenerated.
3288 * sysdeps/sh/configure: Regenerated.
3289 * sysdeps/sparc/configure: Regenerated.
3290 * sysdeps/x86_64/configure: Regenerated.
3291
a3f61311
AS
32922012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3293
c876e002
AS
3294 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3295
a3f61311
AS
3296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3297 denormal result into account.
3298
ac4c54f0
RM
32992012-03-25 Roland McGrath <roland@hack.frob.com>
3300
3301 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3302 Reported by Allan McRae <allan@archlinux.org>.
3303
6a9b9c02
JL
33042012-03-23 Jeff Law <law@redhat.com>
3305
3306 * nss/getnssent.c (__nss_getent): Fix typo.
3307
4c42a0c1
DM
33082012-03-23 David S. Miller <davem@davemloft.net>
3309
3310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3311
1532c7ac
L
33122012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3313
3314 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3315 to pad to uint64_t for each field.
3316 (dl_tls_index): Replace unsigned long with uint64_t.
3317
3ff42526
PP
33182012-03-23 Daniel Jacobowitz <dmj@google.com>
3319 Paul Pluzhnikov <ppluzhnikov@google.com>
3320
3321 [BZ #6528]
3322 * grp/Makefile (otherlibs): Don't set it.
3323 * inet/Makefile (otherlibs): Likewise.
3324 * login/Makefile (otherlibs): Likewise.
3325 * nscd/Makefile (otherlibs): Likewise.
3326 * posix/Makefile (otherlibs): Likewise.
3327 * pwd/Makefile (otherlibs): Likewise.
3328 * rt/Makefile (otherlibs): Likewise.
3329 * sunrpc/Makefile (otherlibs): Likewise.
3330 * nss/Makefile (otherlibs): Likewise.
3331 Add libnss_files to routines and static-only-routines.
3332 ($(objpfx)getent): Remove rule.
3333 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3334 static-only-routines.
3335
7c69cd14
JM
33362012-03-22 Joseph Myers <joseph@codesourcery.com>
3337
3338 [BZ #13892]
3339 * math/s_cexp.c: Include <float.h>.
3340 (__cexp): Handle exp result overflowing not necessarily
3341 overflowing both real and imaginary parts of result.
3342 * math/s_cexpf.c: Likewise.
3343 * math/s_cexpl.c: Likewise.
3344 * math/libm-test.inc (cexp_test): Add more tests.
3345 * sysdeps/i386/fpu/libm-test-ulps: Update.
3346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3347
81b035fe
L
33482012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3349
3350 * include/link.h (ELFW): New macro.
3351 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3352 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3353
1da7940c
L
33542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3357 with uint64_t.
3358
b749dbb9
L
33592012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3360
3361 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3362 declaration.
3363 (struct La_x32_retval): Likewise.
3364
2ff87f3f
L
33652012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 * sysdeps/x86_64/preconfigure.in: New file.
3368 * sysdeps/x86_64/preconfigure: New generated file.
3369
c0df8e69
JM
33702012-03-22 Joseph Myers <joseph@codesourcery.com>
3371
48e44791
JM
3372 [BZ #13824]
3373 * math/e_exp2l.c: Include <float.h>.
3374 (__ieee754_exp2l): Handle overflow and underflow cases
3375 separately. Only pass fractional part of argument to
3376 __ieee754_expl.
3377 * math/libm-test.inc (exp2_test): Add more tests.
3378
c0df8e69
JM
3379 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3380 negating x to take absolute value.
3381 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3382 Likewise.
3383 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3384 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3385 Likewise.
3386 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3387 computing low part if x was negated.
3388 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3389
c8e43ba7
L
33902012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3391
3392 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3393 la_x32_gnu_pltexit.
3394 (pltexit): Cast int_retval to ptrdiff_t.
3395 * elf/tst-auditmod3b.c: Likewise.
3396 * elf/tst-auditmod4b.c: Likewise.
3397 * elf/tst-auditmod5b.c: Likewise.
3398 * elf/tst-auditmod6b.c: Likewise.
3399 * elf/tst-auditmod6c.c: Likewise.
3400 * elf/tst-auditmod7b.c: Likewise.
3401
3402 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3403 and x32_gnu_pltexit.
3404
3405 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3406 __ELF_NATIVE_CLASS.
3407 (La_x32_regs): New macro.
3408 (La_x32_retval): Likewise.
3409 (la_x32_gnu_pltenter): New function prototype.
3410 (la_x32_gnu_pltexit): Likewise.
3411
7998fa78
AS
34122012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3413
dcb33988
AS
3414 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3415 exponent.
3416
233fc563
AS
3417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3418
7998fa78
AS
3419 * configure.in (libc_cv_cc_nofma): Check for option to disable
3420 generation of FMA instructions.
3421 * configure: Regenerate.
3422 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3423 * sysdeps/ieee754/dbl-64/Makefile: New file.
3424 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3425 Remove brandred-fma4.
3426 (CFLAGS-brandred-fma4.c): Remove.
3427 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3428 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3429 define.
3430 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3431 define.
3432
8e95c99a
L
34332012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3434
3435 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3436 LLONG_MAX != LONG_MAX.
3437 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3438 (_fitoa_word): Likewise.
3439 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3440 LLONG_MAX != LONG_MAX.
3441 * stdio-common/_itowa.h: Include <_itoa.h>.
3442 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3443 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3444 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3445 only if not defined.
3446 (_ITOA_WORD_TYPE): Likewise.
3447 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3448 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3449
6f4db457
DM
34502012-03-21 David S. Miller <davem@davemloft.net>
3451
3452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3453
7785fe5a
L
34542012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3457 of x86_64 when setting libc_cv_slibdir, libdir and
3458 libc_cv_localedir.
3459 * sysdeps/unix/sysv/linux/configure: Regenerated.
3460
4535cd55
JM
34612012-03-21 Joseph Myers <joseph@codesourcery.com>
3462
3463 * manual/lang.texi (Old Varargs): Remove section.
3464 (How Variadic): Update menu.
3465 (va_start): Do not mention varargs.h.
3466
17228132
TS
34672012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3468 Joseph Myers <joseph@codesourcery.com>
3469
3470 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3471 link test.
3472 * configure: Regenerated.
3473
8149f976
TS
34742012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3475
05f3d1f6
UD
3476 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3477 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3478 conformtest.pl
8149f976 3479
1a4ac776
JM
34802012-03-21 Joseph Myers <joseph@codesourcery.com>
3481
be22ce65
JM
3482 * NOTES: Remove.
3483 * Makefile (files-for-dist): Remove NOTES.
3484 (NOTES): Remove rule.
3485 * README: Don't refer to NOTES.
3486 * manual/creature.texi: Don't include macros.texi.
3487 * manual/intro.texi (creature.texi): Remove comment referring to
3488 NOTES.
3489
40b601fb
JM
3490 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3491 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3492 * configure: Regenerated.
3493 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3494 LIBC_TRY_CC_OPTION.
3495 (libc_cv_as_i686): Likewise.
3496 (libc_cv_cc_avx): Likewise.
3497 (libc_cv_cc_sse2avx): Likewise.
3498 (libc_cv_cc_fma4): Likewise.
3499 (libc_cv_cc_novzeroupper): Likewise.
3500 * sysdeps/i386/configure: Regenerated.
3501
1a4ac776
JM
3502 [BZ #13883]
3503 * sysdeps/i386/fpu/s_cexp.S: Remove.
3504 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3505 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3506 * math/libm-test.inc (cexp_test): Add more tests.
3507 * sysdeps/i386/fpu/libm-test-ulps: Update.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
a458e7fe
AM
35102012-03-21 Allan McRae <allan@archlinux.org>
3511
3512 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3513
0cb7efc5
JM
35142012-03-21 Joseph Myers <joseph@codesourcery.com>
3515
3516 [BZ #13871]
3517 * math/w_exp2.c: Do not include <float.h>.
3518 (o_threshold, u_threshold): Remove.
3519 (__exp2): Calculate result before checking finiteness and calling
3520 __kernel_standard.
3521 * math/w_exp2f.c: Likewise.
3522 * math/w_exp2l.c: Likewise.
3523 * math/libm-test.inc (exp2_test): Require overflow exception for
3524 1e6 input.
2460d3aa
JM
3525
3526 [BZ #3866]
3527 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3528 range of signed 64-bit integers before using fistpll. Remove
3529 checks for whether integers fit in mantissa bits.
3530 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3531 the range of signed 32-bit integers before using fistpl. Remove
3532 checks for whether integers fit in mantissa bits.
3533 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3534 (__ieee754_powl): Test for y outside the range of signed 64-bit
3535 integers before using fistpll. Reduce 64-bit values to 63-bit
3536 ones as needed.
3537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3538 divide-by-zero is raised for zero to large negative powers.
3539 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3540 (__ieee754_powl): Test for y outside the range of signed 64-bit
3541 integers before using fistpll. Reduce 64-bit values to 63-bit
3542 ones as needed.
3543 * math/libm-test.inc (pow_test): Add more tests.
3544
eb96ffb0
L
35452012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3546
3547 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3548 <stdio-common/_itoa.h>.
3549 * debug/segfault.c: Likewise.
3550 * elf/dl-cache.c: Likewise.
3551 * elf/dl-minimal.c: Likewise.
3552 * elf/dl-misc.c: Likewise.
3553 * elf/dl-sysdep.c: Likewise.
3554 * elf/dl-version.c: Likewise.
3555 * elf/rtld.c: Likewise.
3556 * hurd/hurdsock.c: Likewise.
3557 * hurd/lookup-retry.c: Likewise.
3558 * malloc/malloc.c: Likewise.
3559 * malloc/mtrace.c: Likewise.
3560 * nscd/nscd_getgr_r.c: Likewise.
3561 * nscd/nscd_getpw_r.c: Likewise.
3562 * nscd/nscd_getserv_r.c: Likewise.
3563 * posix/getopt_init.c: Likewise.
3564 * posix/wordexp.c: Likewise.
3565 * stdio-common/_itoa.c: Likewise.
3566 * stdio-common/printf_fphex.c: Likewise.
3567 * stdio-common/vfprintf.c: Likewise.
3568 * string/_strerror.c: Likewise.
3569 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3570 * sysdeps/i386/i686/hp-timing.h: Likewise.
3571 * sysdeps/mach/_strerror.c: Likewise.
3572 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3573 * sysdeps/mach/hurd/sethostid.c: Likewise.
3574 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3575 * sysdeps/mach/xpg-strerror.c: Likewise.
3576 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3577 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3578 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3579 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3580 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3581 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3582 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3583 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3584 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3585 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3586 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3587 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3588 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3589 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3590 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3591 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3592 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3593 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3594 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3595 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3596 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3597
3598 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3599
3600 * stdio-common/_itoa.h: Moved to ...
3601 * sysdeps/generic/_itoa.h: Here.
3602
3603 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3604
3605 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3606 instead of "_itoa.h" and "_itowa.h".
3607 * stdio-common/vfprintf.: Likewise.
3608
d1af992d
L
36092012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3612 <bits/wordsize.h>.
3613 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3614 (__signbit): Likwise.
3615 (llrintf): Likwise.
3616 (llrint): Likwise.
3617
114883e0
L
36182012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3619
3620 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3621 __WORDSIZE != 64.
3622
c135cc1b
JM
36232012-03-20 Joseph Myers <joseph@codesourcery.com>
3624
3625 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3626 OVERFLOW_EXCEPTION_OK.
3627 * math/libm-test.inc ("Philosophy"): Update comment about
3628 exception testing.
3629 (OVERFLOW_EXCEPTION): Define.
3630 (OVERFLOW_EXCEPTION_OK): Likewise.
3631 (INVALID_EXCEPTION_OK): Renumber.
3632 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3633 (IGNORE_ZERO_INF_SIGN): Likewise.
3634 (test_exceptions): Handle FE_OVERFLOW.
3635 (exp10_test): Expect overflow exceptions.
3636 (exp2_test): Likewise.
3637 (expm1_test): Likewise.
3638 (nextafter_test): Likewise.
3639 (pow_test): Likewise.
3640 (scalbn_test): Likewise.
3641 (scalbln_test): Likewise.
3642
95443d88
L
36432012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3644
3645 * sysdeps/x86_64/bits/atomic.h
3646 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3647 64bit integer.
3648 (atomic_exchange_acq): Likewise.
3649 (__arch_exchange_and_add_body): Likewise.
3650 (__arch_add_body): Likewise.
3651 (atomic_add_negative): Likewise.
3652 (atomic_add_zero): Likewise.
3653
490df6c4
L
36542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3655
c2722551 3656 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3657 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3658
5e52b189
L
36592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3660
3661 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3662 Check __x86_64__ instead of __WORDSIZE.
3663
a9879d4c
L
36642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3665
3666 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3667
5df98260
DM
36682012-03-19 David S. Miller <davem@davemloft.net>
3669
e1497744
DM
3670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3671
5df98260
DM
3672 * sysdeps/sparc/fpu/fenv_private.h: New file.
3673 * sysdeps/sparc/fpu/math_private.h: Use it.
3674 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3675 Remove.
3676 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3677 (libc_feholdexcept_setroundl): Remove.
3678 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3679 Remove.
3680 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3681 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3682
b4c35121
L
36832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3686 int64_t instead of long int.
3687 (INSERT_WORDS64): Likwise.
3688
56965fd7
L
36892012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3690
3691 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3692 _Unwind_GetCFA return to _Unwind_Ptr first.
3693
83d1aec8
JM
36942012-03-19 Joseph Myers <joseph@codesourcery.com>
3695
1897ad44
JM
3696 [BZ #13629]
3697 * math/s_clog.c: Include <float.h>.
3698 (__clog): Scale large or subnormal inputs.
3699 * math/s_clogf.c: Likewise.
3700 * math/s_clogl.c: Likewise.
3701 * math/s_clog10.c: Include <float.h>.
3702 (M_LOG10_2): Define.
3703 (__clog10): Scale large or subnormal inputs.
3704 * math/s_clog10f.c: Likewise.
3705 * math/s_clog10l.c: Likewise.
3706 * math/libm-test.inc (clog_test): Add more tests.
3707 (clog10_test): Likewise.
3708 * sysdeps/i386/fpu/libm-test-ulps: Update.
3709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3710
7726d6a9
JM
3711 [BZ #11451]
3712 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3713 x and y.
3714 * math/libm-test.inc (atan2_test): Add another test.
3715
83d1aec8
JM
3716 * Makerules (common-objdir-compile): Remove.
3717 * sysdeps/unix/Makefile (config-generated): Do not add
3718 $(unix-generated) to variable.
3719 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3720 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3721 Remove rule.
3722 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3723 Likewise.
3724 [generic bits/local_lim.h] (before-compile): Do not append to
3725 variable.
3726 [generic bits/local_lim.h] (common-generated): Likewise.
3727 [generic sys/param.h] (before-compile): Do not append to variable.
3728 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3729 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3730 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3731 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3732 include.
3733 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3734 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3735 [generic sys/param.h] ($(addprefix
3736 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3737 [generic sys/param.h] (common-generated): Do not append to
3738 variable.
3739 [generic sys/param.h] (sysdep_headers): Likewise.
3740 [generic bits/errno.h] (before-compile): Do not append to
3741 variable.
3742 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3743 rule.
3744 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3745 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3746 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3747 [generic bits/errno.h] (common-generated): Do not append to
3748 variable.
3749 [generic bits/ioctls.h] (before-compile): Do not append to
3750 variable.
3751 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3752 rule.
3753 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3754 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3755 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3756 rule.
3757 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3758 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3759 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3760 [generic bits/ioctls.h] (common-generated): Do not append to
3761 variable.
3762 [generic sys/syscall.h] (syscall.h): Remove variable.
3763 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3764 rule.
3765 [generic sys/syscall.h] (before-compile): Do not append to
3766 variable.
3767 [generic sys/syscall.h] (common-generated): Likewise.
3768 * sysdeps/unix/errnos-tmpl.c: Remove file.
3769 * sysdeps/unix/errnos.awk: Likewise.
3770 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3771 * sysdeps/unix/ioctls.awk: Likewise.
3772 * sysdeps/unix/mk-local_lim.c: Likewise.
3773 * sysdeps/unix/snarf-ioctls: Likewise.
3774
4851a949
RH
37752012-03-19 Richard Henderson <rth@twiddle.net>
3776
bd37f2ee
RH
3777 * sysdeps/i386/fpu/fenv_private.h: New file.
3778 * sysdeps/i386/fpu/math_private.h: Use it.
3779 (math_opt_barrier, math_force_eval): Remove.
3780 (libc_feholdexcept_setround_53bit): Remove.
3781 (libc_feupdateenv_53bit): Remove.
3782 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3783 (math_opt_barrier, math_force_eval): Remove.
3784 (libc_feholdexcept): Remove.
3785 (libc_feholdexcept_setround): Remove.
3786 (libc_fetestexcept, libc_fesetenv): Remove.
3787 (libc_feupdateenv_test): Remove.
3788 (libc_feupdateenv, libc_feholdsetround): Remove.
3789 (libc_feresetround): Remove.
3790
d0adc922
RH
3791 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3792 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3793
0fe0f1f8
RH
3794 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3795 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3796 (libc_feupdateenv_testl): New.
3797 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3798 (libc_feupdateenv_testf): New.
3799 (libc_feupdateenv): Use libc_feupdateenv_test.
3800 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3801 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3802
eb92c487
RH
3803 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3804 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3805 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3806 (libc_feresetround_noex): New.
3807 (libc_feresetround_noexf): New.
3808 (libc_feresetround_noexl): New.
3809 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3810 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3811 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3812 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3813 SET_RESTORE_ROUND.
3814 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3815 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3816 (__cos): Likewise.
3817 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3818 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3819 SET_RESTORE_ROUND_NOEX.
3820 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3821 SET_RESTORE_ROUND_NOEXF.
3822 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3823 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3824 (libc_feholdsetroundf): New.
3825 (libc_feresetround, libc_feresetroundf): New.
3826
7d2e8012
RH
3827 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3828 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3829 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3830
b4dabbb4
RH
3831 * sysdeps/generic/math_private.h: Include <fenv.h>.
3832 (default_libc_feholdexcept): New.
3833 (default_libc_feholdexcept_setround): New.
3834 (default_libc_fesetenv, default_libc_feupdateenv): New.
3835 (libc_feholdexcept): Only define if undefined.
3836 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3837 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3838 (libc_feholdexcept_setroundl): Likewise.
3839 (libc_feholdexcept_setround_53bit): Likewise.
3840 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3841 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3842 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3843 (libc_feupdateenv_53bit): Likewise.
3844 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3845 (libc_feholdexcept): Convert from macro to inline function.
3846 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3847 (libc_fesetenv, libc_feupdateenv): Likewise.
3848
4851a949
RH
3849 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3850 not previously defined.
3851 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3852 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3853 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3854 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3855 * sysdeps/ieee754/flt-32/math_private.h: New file.
3856 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3857 math_private.h below SET_FLOAT_WORD.
3858 (__isnan, __isinf_ns, __finite): Remove.
3859 (__isnanf, __isinf_nsf, __finitef): Remove.
3860
e79d442e
AS
38612012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3862
3863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3864
90b80344
DM
38652012-03-17 David S. Miller <davem@davemloft.net>
3866
3867 [BZ #6471]
3868 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3869 for 2.16.
3870
edc21804
DM
38712012-03-16 David S. Miller <davem@davemloft.net>
3872
77e927af
DM
3873 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3874 warnings.
3875
374976dd
DM
3876 [BZ #6471]
3877 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3878 properly.
3879 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3880 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3881 sysdep_routines when subdir is sysvipc.
3882 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3883 __getshmlba helper.
3884
edc21804
DM
3885 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3886
473c3ef3
L
38872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3888
3889 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3890 [__LP64__].
3891
eb0f39b6
L
38922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3893
3894 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3895 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3896 (__lround): Renamed to ...
3897 (__llround): This. Replace long int with long long int.
3898 Define lround functions as aliases of llround functions.
3899 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3900
6b6cd74b
L
39012012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3902
3903 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3904 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3905 adresses to uintptr_t. Replace "long int" and "unsigned long
3906 int" with "greg_t" on va_arg.
3907
f1a77b01
L
39082012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3909
3910 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3911 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3912
3913 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3914 Move e_machine check before EI_CLASS check. Handle x32
3915 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3916 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3917 SKIP_EM_IA_64 and include
3918 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3919
3920 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3921 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3922 (add_system_dir): New macro.
3923
3924 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3925 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3926
11b90b9f
JM
39272012-03-16 Joseph Myers <joseph@codesourcery.com>
3928
c36e1d23
JM
3929 [BZ #2551]
3930 [BZ #2552]
3931 [BZ #2553]
3932 [BZ #2554]
3933 [BZ #2562]
3934 [BZ #2563]
3935 [BZ #2565]
3936 [BZ #2566]
3937 [BZ #2576]
3938 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3939 (y0): Likewise.
3940 * math/w_j0f.c (j0f): Likewise.
3941 (y0f): Likewise.
3942 * math/w_j0l.c (__j0l): Likewise.
3943 (__y0l): Likewise.
3944 * math/w_j1.c (j1): Likewise.
3945 (y1): Likewise.
3946 * math/w_j1f.c (j1f): Likewise.
3947 (y1f): Likewise.
3948 * math/w_j1l.c (__j1l): Likewise.
3949 (__y1l): Likewise.
3950 * math/w_jn.c (jn): Likewise.
3951 (yn): Likewise.
3952 * math/w_jnf.c (jnf): Likewise.
3953 (ynf): Likewise.
3954 * math/w_jnl.c (__jnl): Likewise.
3955 (__ynl): Likewise.
3956 * math/libm-test.inc (j0_test): Add more tests.
3957 (j1_test): Likewise.
3958 (jn_test): Likewise. Add trailing semicolon to existing test.
3959 (y0_test): Likewise.
3960 (y1_test): Likewise.
3961 * sysdeps/i386/fpu/libm-test-ulps: Update.
3962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3963
11b90b9f
JM
3964 [BZ #13851]
3965 [BZ #13854]
3966 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3967 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3968 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3969 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3970 (__tanl): Set errno for infinite argument.
3971 * sysdeps/i386/fpu/mptan.c: Remove.
3972 * sysdeps/i386/fpu/s_tan.S: Likewise.
3973 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3974 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3975 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3976 * math/libm-test.inc (tan_test): Add more tests and enable more
3977 tests for double and long double.
3978 * sysdeps/i386/fpu/libm-test-ulps: Update.
3979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3980
6a1bd2a1
JK
39812012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3982
3983 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
3984 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
3985
10a803e0
RM
39862012-03-16 Roland McGrath <roland@hack.frob.com>
3987
3988 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
3989 * configure.in: Use it for both main tree and add-ons.
3990 * configure: Regenerated.
3991
f196c7f7
L
39922012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3993
3994 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
3995
8848d99d
JM
39962012-03-16 Joseph Myers <joseph@codesourcery.com>
3997
96cbe7f4
JM
3998 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
3999 in comment.
4000
8848d99d
JM
4001 [BZ #13851]
4002 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4003 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4004 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4005 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4006 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4007 infinite argument.
4008 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4009 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4010 != 0 for prec == 2.
4011 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4012 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4013 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4014 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4015 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4016 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4017 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4018 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4019 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4020 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4021 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4022 * math/libm-test.inc (cos_test): Add more tests and enable more
4023 tests for long double.
4024 (sin_test): Likewise.
4025 (sincos_test): Likewise.
4026 * sysdeps/i386/fpu/libm-test-ulps: Update.
4027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4028
dd7f4703
DM
40292012-03-16 David S. Miller <davem@davemloft.net>
4030
4031 * sysdeps/sparc/fpu/math_private.h: New file.
4032
006f1daa
DM
40332012-03-15 David S. Miller <davem@davemloft.net>
4034
c0c83bc8
DM
4035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4036 file.
e6a62e18 4037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4039 file.
e6a62e18
DM
4040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4044 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4045 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4046 sysdep routines.
4047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4048
88cb87d9
DM
4049 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4050 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4051
006f1daa 4052 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4054 sparc-ifunc.h
006f1daa 4055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4057 Likewise.
4058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4059 Likewise.
006f1daa
DM
4060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4064 Likewise.
006f1daa
DM
4065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4070 Likewise.
4071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4072 Likewise.
006f1daa
DM
4073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4078 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4080 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4082 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4086 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4090 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4097
11e0098e
AS
40982012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4099
4100 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4101 scaling.
4102 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4103
e85b09d0
AJ
41042012-03-15 Andreas Jaeger <aj@suse.de>
4105
4106 [BZ #13852]
4107 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4108 ieee754/flt-32 implementation for sin, cos and sincos.
4109 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4110 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4111 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4112 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4113 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4114 ieee754/flt-32 implementation for tan.
4115
4116 * math/libm-test.inc (cos_test): Enable some large input tests for
4117 float as well
4118 (sin_test): Likewise.
4119 (sincos_test): Likewise.
4120 (tan_test): Add tests for large input.
4121
4122 * sysdeps/i386/fpu/libm-test-ulps: Update.
4123
81c64153
AJ
41242012-03-15 Andreas Jaeger <aj@suse.de>
4125
4126 [BZ #13658]
4127 * math/libm-test.inc (cos_test): Add more test cases.
4128 (sin_test): Likewise.
4129 (sincos_test): Likewise.
4130
7bbfa5c6
AJ
41312012-03-15 Andreas Jaeger <aj@suse.de>
4132
4133 [BZ #13837]
4134 * math/libm-test.inc (cos_test): Add a test case for large input
4135 value.
4136 (sin_test): Likewise.
4137 (sincos_test): Likewise.
4138
41392012-03-15 Andreas Jaeger <aj@suse.de>,
4140 Joseph Myers <joseph@codesourcery.com>
4141
4142 [BZ #13658]
0671f479 4143 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4144 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4145 * sysdeps/i386/fpu/branred.c: Likewise.
4146 * sysdeps/i386/fpu/dosincos.c: Likewise.
4147 * sysdeps/i386/fpu/mpa.c: Likewise.
4148 * sysdeps/i386/fpu/s_cos.S: Likewise.
4149 * sysdeps/i386/fpu/s_sin.S: Likewise.
4150 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4151 * sysdeps/i386/fpu/sincos32.c: Likewise.
4152
4153 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4154 Define.
4155 (libc_feupdateenv_53bit): Define.
4156 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4157 Define.
4158 (libc_feupdateenv_53bit): Define.
4159
4160 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4161 53 bit (without extend i386 double precision).
4162
4163 * math/libm-test.inc (sincos_test): Add tests for large input.
4164 (sin): Likewise.
4165 (cos): Likewise.
4166
4167 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4168
9cad04ea
AS
41692012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4170
4171 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4172
f7062b9a
DM
41732012-03-15 David S. Miller <davem@davemloft.net>
4174
4175 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4176 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4177 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4178 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4189 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4191 file.
f7062b9a 4192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4194 file.
f7062b9a 4195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4197 file.
f7062b9a 4198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4200 file.
f7062b9a
DM
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4202 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4203 fmin/fmax sysdep routines.
4204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4205
7bd951ff
DM
42062012-03-14 David S. Miller <davem@davemloft.net>
4207
559398ab
DM
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4211 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4215 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4219 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4236 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4237 routines.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4239 file.
559398ab 4240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4242 file.
559398ab 4243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4245 file.
559398ab 4246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4248 file.
559398ab 4249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4251 file.
559398ab 4252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4254 file.
4255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4256 file.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4258 file.
4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4260 file.
4261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4262 New file.
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4264 file.
4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4266 file.
559398ab 4267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4269 file.
559398ab 4270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4272 file.
559398ab 4273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4275 file.
559398ab 4276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4278 VIS3 routines.
559398ab
DM
4279
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4281 New file.
4282
5a1c1e32
DM
4283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4284
eae47a36
DM
4285 * sysdeps/sparc/configure.in: New file.
4286 * sysdeps/sparc/configure: Generate.
4287 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4288 * configure: Regenerate.
4289 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4290 * config.make.in (have-as-vis3): New.
4291 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4292 available use -Av9d instead of -Av9a.
4293 * sysdeps/sparc/sparc64/Makefile: Likewise.
4294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4296 New file.
4297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4298 file.
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4300 New file.
4301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4302 file.
eae47a36
DM
4303 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4307 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4308
c0c83bc8
DM
4309 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4310 fzeros/fnegs to load 0x80000000 into a float register instead of
4311 using the stack.
7bd951ff
DM
4312 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4313
bd951ccb
JM
43142012-03-14 Joseph Myers <joseph@codesourcery.com>
4315
4316 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4317 bits/syscall.h.
4318 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4319 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4320 ($(inst_includedir)/bits/syscall.h): Remove rule.
4321 ($(objpfx)bits/syscall.d): Include instead of
4322 $(objpfx)syscall-list.d.
4323 (generated): Change syscall-list.h and syscall-list.d to
4324 bits/syscall.h and bits/syscall.d.
4325
bb4e6db2
RM
43262012-03-14 Roland McGrath <roland@hack.frob.com>
4327
4328 [BZ #13846]
4329 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4330
aa4a2ae1
JM
43312012-03-14 Joseph Myers <joseph@codesourcery.com>
4332
e456826d
JM
4333 [BZ #13841]
4334 * math/s_csqrt.c: Include <float.h>.
4335 (__csqrt): Scale large or subnormal inputs.
4336 * math/s_csqrtf.c: Likewise.
4337 * math/s_csqrtl.c: Likewise.
4338 * math/libm-test.inc (csqrt_test): Add more tests.
4339 * sysdeps/i386/fpu/libm-test-ulps: Update.
4340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4341
aa4a2ae1
JM
4342 [BZ #13840]
4343 * math/libm-test.inc (hypot_test): Add more tests.
4344
7c10fd35
DM
43452012-03-13 David S. Miller <davem@davemloft.net>
4346
4347 [BZ #13840]
4348 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4349 double-precision for the calculation instead of scaling.
4350
f453b98b
JM
43512012-03-13 Joseph Myers <joseph@codesourcery.com>
4352
4353 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4354 manipulate bits before adding and subtracting TWO52[sx].
4355 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4356 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4357 Likewise.
4358 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4359
09a3453f
DM
43602012-03-13 David S. Miller <davem@davemloft.net>
4361
8e59da90
DM
4362 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4363 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4364 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4365 rtld-global-offsets.h
4366 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4367
2a8ab7f2
DM
4368 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4369 large parameters.
4370
10f62770
DM
4371 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4372
5f0bdb18
DM
4373 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4374 'err' in the ifdef scope in which it is actually used.
4375
09a3453f
DM
4376 * nss/nss_db/db-init.c: Include string.h
4377
b4b2eb5e
DM
43782012-03-12 David S. Miller <davem@davemloft.net>
4379
98bb2f1c
DM
4380 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4381 masking out of the most significant byte of random value used.
4382 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4383 Fix coding style in previous change.
4384
b4b2eb5e
DM
4385 * sysdeps/unix/sysv/linux/kernel-features.h
4386 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4387 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4388 expression.
4389 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4390 later.
4391
6e226b09
DM
43922012-03-11 David S. Miller <davem@davemloft.net>
4393
a1bcbd40
DM
4394 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4395 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4396 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4397 for 'resultvar' otherwise things get truncated on 64-bit.
4398
cb9d6174
DM
4399 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4400 Fix masking out of the most significant byte of random value used.
4401
6e226b09
DM
4402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4403
058c132d
AS
44042012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4405
4406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4407
2d2cd515
DM
44082012-03-09 David S. Miller <davem@davemloft.net>
4409
4410 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4411 variables with appropriate CPP guards.
4412 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4413 frame pointer, not the stack pointer. Correct layout comments. Fix test
4414 on resulting framesize and the management of the outregs buffer for pltexit.
4415 Preserve floating point return values across _dl_call_pltexit call.
4416 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4417 framesize and the management of the outregs buffer for pltexit.
4418 Preserve floating point return values across _dl_call_pltexit
4419 call.
4420 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4421 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4422 (print_exit): Fix format string for return register value.
4423
9a07f9d0
JM
44242012-03-10 Joseph Myers <joseph@codesourcery.com>
4425
4426 * sunrpc/Makefile (others): Add rpcgen.
4427 ($(objpfx)rpcgen): Remove special build rule and dependency on
4428 libc.
4429 * sunrpc/rpcgen.c: New file.
4430
547b5e30
PE
44312012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4432
c524201a
PE
4433 [BZ #13673]
4434 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4435 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4436 * sysdeps/i386/crti.S: Likewise.
4437 * sysdeps/i386/crtn.S: Likewise.
4438 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4439 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4440 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4441 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4442 * sysdeps/sh/crti.S: Likewise.
4443 * sysdeps/sh/crtn.S: Likewise.
4444 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4445
7b6235f2
PE
4446 [BZ #13673]
4447 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4448 with URL.
4449 * locale/programs/locfile-kw.gperf: Likewise.
4450 * locale/programs/charmap-kw.h: Regenerated.
4451 * locale/programs/locfile-kw.h: Likewise.
4452
547b5e30
PE
4453 [BZ #13673]
4454 * intl/plural.y: Replace FSF snail mail address with URL.
4455 * intl/plural.c: Regenerated.
4456
5f0a5dae
RH
44572012-03-09 Richard Henderson <rth@twiddle.net>
4458
4459 * include/math_private.h: Remove file.
4460 * math/math_private.h: Move file ...
4461 * sysdeps/generic/math_private.h: ... here.
4462
b8c03620
RH
4463 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4464 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4465 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4466
4e234f5d 4467 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4468 and <math_private.h>.
4469 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4470 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4471 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4472 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4473 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4474 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4475 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4476 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4477 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4478 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4480 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4481 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4483 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4484 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4485 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4486 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4487 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4488 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4489 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4490 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4491 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4557 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4558 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4559 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4560 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4561 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4562 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4563 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4564 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4565 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4566 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4567 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4568 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4569 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4570 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4571 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4572 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4573 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4574 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4575 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4577 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4579 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4580 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4585 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4586 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4588 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4589 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4590 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4591 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4593 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4594 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4595 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4596 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4597 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4598 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4607 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4608 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4609 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4610 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4611 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4612 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4613 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4614 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4615 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4616 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4617 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4618 * sysdeps/ieee754/k_standard.c: Likewise.
4619 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4620 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4621 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4622 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4623 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4624 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4625 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4626 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4627 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4628 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4629 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4630 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4631 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4632 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4633 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4634 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4635 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4636 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4637 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4731 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4734 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4738 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4739 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4741 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4746 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4767 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4779 * sysdeps/ieee754/s_lib_version.c: Likewise.
4780 * sysdeps/ieee754/s_matherr.c: Likewise.
4781 * sysdeps/ieee754/s_signgam.c: Likewise.
4782 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4783 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4784 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4785 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4786 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4787 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4788 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4789 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4790 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4791 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4792 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4793 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4794 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4795 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4796 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4797 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4798 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4799 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4800 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4802 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4803
1991fa03
JM
48042012-03-09 Joseph Myers <joseph@codesourcery.com>
4805
4806 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4807 * sunrpc/rpc_main.c: Likewise.
4808 * sunrpc/rpc_svcout.c: Likewise.
4809
60d6f5a6
DM
48102012-03-09 David S. Miller <davem@davemloft.net>
4811
4812 * include/math_private.h: New file.
4813
4962050e
JM
48142012-03-09 Joseph Myers <joseph@codesourcery.com>
4815
02a6f887
JM
4816 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4817 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4818 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4819 from <bits/socket_type.h>.
4820 (enum __socket_type): Don't define here.
4821 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4822 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4823 bits/socket_type.h.
4824
c6e013c1
JM
4825 [BZ #13566]
4826 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4827 checking __USE_GNU.
4828
4962050e
JM
4829 * Makerules ($(inst_includedir)/%.h): New rule.
4830 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4831 (install-others): Remove variable setting.
4832 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4833
38842f45
RH
48342012-03-08 Richard Henderson <rth@twiddle.net>
4835
67bb6da6
RH
4836 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4837 from macro to inline function; merge with the
4838 !__LIBC_INTERNAL_MATH_INLINES version.
4839 (__ieee754_sqrtf): Likewise.
4840
15194b4b
RH
4841 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4842 to inline function.
4843 (__rintf, __floor, __floorf): Likewise.
4844
64e21ede
RH
4845 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4846 macro to inline function.
4847 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4848
38842f45
RH
4849 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4850 not <math/math_private.h>.
4851
c64bf5fe
DM
48522012-03-08 David S. Miller <davem@davemloft.net>
4853
4854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4855 copyright year.
4856 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4857
82d86f28
TS
48582012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4859
4860 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4861 normalization.
4862 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4863 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4864
aea5d727
UD
48652012-03-08 Ulrich Drepper <drepper@gmail.com>
4866
4867 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4868 be defined individually, they must be defined as a block. Define
4869 S for printing a string instead of hidint the different by using a
4870 macro for adding the 'l'.
4871 * stdio-common/tst-fphex-wide.c: Adjust.
4872
70bca0a3
MP
48732012-03-07 Marek Polacek <polacek@redhat.com>
4874
4875 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4876
65b81130
MP
48772012-03-08 Marek Polacek <polacek@redhat.com>
4878
4879 [BZ #13806]
4880 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4881 * stdio-common/tst-fphex.c: Define a few macros to make the
4882 test reusable. Use them.
4883 * stdio-common/tst-fphex-wide.c: New file.
4884
07037eeb
JM
48852012-03-08 Joseph Myers <joseph@codesourcery.com>
4886
a7a93d50
JM
4887 [BZ #6911]
4888 * manual/macros.texi (gnusystems): New macro.
4889 (nongnusystems): Likewise.
4890 (gnulinuxhurdsystems): Likewise.
4891 (gnuhurdsystems): Likewise..
4892 (gnulinuxsystems): Likewise.
4893 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4894 variants of the GNU system, not "GNU system".
4895 * manual/conf.texi: Likewise.
4896 * manual/errno.texi: Likewise. Update example of errno macro
4897 expansion.
4898 * manual/filesys.texi: Likewise.
4899 (getumask): Document as specific to GNU/Hurd.
4900 * manual/install.texi: Likewise. Reword some references to
4901 GNU/Linux.
4902 * manual/intro.texi: Likewise.
4903 * manual/io.texi: Likewise.
4904 (File Name Portability): Detail which constraints are inapplicable
4905 to all GNU systems and which are only inapplicable to GNU/Hurd.
4906 * manual/job.texi: Likewise.
4907 * manual/llio.texi: Likewise.
4908 (O_NOCTTY): Document as present on GNU/Linux.
4909 * manual/maint.texi: Likewise.
4910 * manual/memory.texi: Likewise.
4911 * manual/pattern.texi: Likewise.
4912 * manual/pipe.texi: Likewise.
4913 * manual/process.texi: Likewise.
4914 * manual/resource.texi: Likewise.
4915 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4916 child on GNU/Hurd.
4917 * manual/setjmp.texi: Likewise.
4918 * manual/signal.texi: Likewise.
4919 * manual/startup.texi: Likewise.
4920 * manual/stdio.texi: Likewise.
4921 * manual/terminal.texi: Likewise.
4922 (ONLCR): Document as POSIX.
4923 (OXTABS): Document availability on GNU/Linux as XTABS.
4924 (ONOEOT): Document availability separately from other bits.
4925 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4926 * manual/time.texi: Likewise.
4927 * manual/users.texi: Likewise.
4928 * INSTALL: Regenerated.
4929 * sysdeps/gnu/errlist.c: Regenerated.
4930
07037eeb
JM
4931 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4932 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4933 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4934 puts.
4935 * configure: Regenerated.
4936
d1d3431a
JM
49372012-03-07 Joseph Myers <joseph@codesourcery.com>
4938
af6a1e37
JM
4939 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4940 default includes instead of AC_HEADER_CHECK.
4941 * sysdeps/i386/configure: Regenerated.
4942
d1d3431a
JM
4943 [BZ #10716]
4944 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4945 * math/s_cacoshf.c (__cacoshf): Likewise.
4946 * math/s_cacoshl.c (__cacoshl): Likewise.
4947 * math/s_casinh.c (__casinh): Set signs of result from argument.
4948 * math/s_casinhf.c (__casinhf): Likewise.
4949 * math/s_casinhl.c (__casinhl): Likewise.
4950 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4951 (casinh_test): Add more tests.
4952 * sysdeps/i386/fpu/libm-test-ulps: Update.
4953 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4954
482ff4da
UD
49552012-03-07 Ulrich Drepper <drepper@gmail.com>
4956
872fda05
UD
4957 * po/zh_TW.po: Update from translation team.
4958
a4300c7a
UD
4959 * login/Makefile (distribute): Remove variable.
4960 * catgets/Makefile: Likewise.
4961 * mach/Makefile: Likewise.
4962 * malloc/Makefile: Likewise.
4963 * misc/Makefile: Likewise.
4964 * iconv/Makefile: Likewise.
4965 * nscd/Makefile: Likewise.
4966 * hurd/Makefile: Likewise.
4967 * manual/Makefile: Likewise.
4968 * locale/Makefile: Likewise.
4969 * intl/Makefile: Likewise.
4970 * conform/Makefile: Likewise.
4971 * nss/Makefile: Likewise.
4972 * time/Makefile: Likewise.
4973 * soft-fp/Makefile: Likewise.
4974 * dirent/Makefile: Likewise.
4975 * gmon/Makefile: Likewise.
4976 * po/Makefile: Likewise.
4977 * rt/Makefile: Likewise.
4978 * socket/Makefile: Likewise.
4979 * math/Makefile: Likewise.
4980 * signal/Makefile: Likewise.
4981 * debug/Makefile: Likewise.
4982 * elf/Makefile: Likewise.
4983 * timezone/Makefile: Likewise.
4984 * stdlib/Makefile: Likewise.
4985 * iconvdata/Makefile: Likewise.
4986 * sunrpc/Makefile: Likewise.
4987 * io/Makefile: Likewise.
4988 * argp/Makefile: Likewise.
4989 * inet/Makefile: Likewise.
4990 * hesiod/Makefile: Likewise.
4991 * grp/Makefile: Likewise.
4992 * csu/Makefile: Likewise.
4993 * wctype/Makefile: Likewise.
4994 * crypt/Makefile: Likewise.
4995 * libio/Makefile: Likewise.
4996 * string/Makefile: Likewise.
4997 * nis/Makefile: Likewise.
4998 * resolv/Makefile: Likewise.
4999 * stdio-common/Makefile: Likewise.
5000 * wcsmbs/Makefile: Likewise.
5001 * dlfcn/Makefile: Likewise.
5002 * posix/Makefile: Likewise.
5003
3b7c4e74 5004 [BZ #6959]
482ff4da
UD
5005 * timezone/Makefile: Don't install timezone files, just the programs
5006 and scripts.
5007
f72ed77d
UD
50082012-03-06 Ulrich Drepper <drepper@gmail.com>
5009
a000466f
UD
5010 * nss/databases.def: Add missing gshadow entry.
5011
f72ed77d
UD
5012 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5013
a53b7a4e
MP
50142012-03-06 Marek Polacek <polacek@redhat.com>
5015
5016 [BZ #13726]
5017 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5018 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5019 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5020 * stdio-common/tst-long-dbl-fphex.c: New file.
5021
e9258400
DM
50222012-03-06 David S. Miller <davem@davemloft.net>
5023
5024 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5025 (set_obp_int): New function.
5026 (get_obp_int): New function.
5027 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5028 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5029 Avoid unused variable warnings on 'val' and use builtin_expect.
5030 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5031 __builtin_expect.
e9258400
DM
5032 (INLINE_CLONE_SYSCALL): Likewise.
5033
3bd2c723
DM
50342012-03-05 David S. Miller <davem@davemloft.net>
5035
5036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5037
bbb78d03
AS
50382012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5039
884c5db4
AS
5040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5041
bbb78d03
AS
5042 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5043 only for |x| >= 40.
5044 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5045
1c9f702a 50462012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5047
5048 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5049 Replace gettimeofday with __vdso_gettimeofday.
5050
7be16f82
RM
5051 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5052 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5053 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5054
5055 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5056 time with __vdso_time.
5057
ed58a00f
JM
50582012-03-05 Joseph Myers <joseph@codesourcery.com>
5059
5060 * manual/lang.texi (size_t): Note types to which size_t may be
5061 equivalent with the GNU C Library, but do not describe when
5062 differences between them are significant.
5063
30ee4ced
AJ
50642012-03-05 Andreas Jaeger <aj@suse.de>
5065
5066 * sysdeps/i386/fpu/libm-test-ulps: Update.
5067
b7cd39e8
JM
50682012-03-05 Joseph Myers <joseph@codesourcery.com>
5069
5070 [BZ #3976]
5071 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5072 (__ieee754_pow): Save and restore rounding mode and use
5073 round-to-nearest for main computations.
5074 * math/libm-test.inc (pow_test_tonearest): New function.
5075 (pow_test_towardzero): Likewise.
5076 (pow_test_downward): Likewise.
5077 (pow_test_upward): Likewise.
5078 (main): Call the new functions.
5079 * sysdeps/i386/fpu/libm-test-ulps: Update.
5080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5081
5082 [BZ #3976]
5083 * math/libm-test.inc (cosh_test_tonearest): New function.
5084 (cosh_test_towardzero): Likewise.
5085 (cosh_test_downward): Likewise.
5086 (cosh_test_upward): Likewise.
5087 (sinh_test_tonearest): Likewise.
5088 (sinh_test_towardzero): Likewise.
5089 (sinh_test_downward): Likewise.
5090 (sinh_test_upward): Likewise.
5091 (main): Call the new functions.
5092 * sysdeps/i386/fpu/libm-test-ulps: Update.
5093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5094
6c6a98c9
TV
50952012-03-05 Tom de Vries <tom@codesourcery.com>
5096
5097 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5098 default stack guard is set in last bytes.
5099 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5100
21bb2d2e 51012012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5102
21bb2d2e 5103 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5104
21bb2d2e
AJ
5105 [BZ #13656]
5106 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5107 possibly allocate from heap instead of stack.
5108 * stdio-common/bug-vfprintf-nargs.c: New file.
5109 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5110
c6922934
AS
51112012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5112
5113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5114
bc957d53
MP
51152012-03-03 Marek Polacek <polacek@redhat.com>
5116
5117 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5118 * math/math_private.h: Likewise.
5119 * stdlib/tst-strtod.c: Likewise.
5120 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5121 * sysdeps/x86_64/bits/atomic.h: Likewise.
5122
6358490d
DM
51232012-03-02 David S. Miller <davem@davemloft.net>
5124
5125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5128 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5129 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5130 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5131 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5132 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5133
01ae168d
RM
51342012-03-02 Roland McGrath <roland@hack.frob.com>
5135
d9a17c07
RM
5136 [BZ #13792]
5137 * manual/examples/README: New file, says the example source files
5138 can be used under GPL>=2.
5139 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5140 line containing just "*/".
5141 * manual/examples/add.c: Add copyright header (GPL>=2).
5142 * manual/examples/argp-ex1.c: Likewise.
5143 * manual/examples/argp-ex2.c: Likewise.
5144 * manual/examples/argp-ex3.c: Likewise.
5145 * manual/examples/argp-ex4.c: Likewise.
5146 * manual/examples/atexit.c: Likewise.
5147 * manual/examples/db.c: Likewise.
5148 * manual/examples/dir.c: Likewise.
5149 * manual/examples/dir2.c: Likewise.
5150 * manual/examples/execinfo.c: Likewise.
5151 * manual/examples/filecli.c: Likewise.
5152 * manual/examples/filesrv.c: Likewise.
5153 * manual/examples/fmtmsgexpl.c: Likewise.
5154 * manual/examples/genpass.c: Likewise.
5155 * manual/examples/inetcli.c: Likewise.
5156 * manual/examples/inetsrv.c: Likewise.
5157 * manual/examples/isockad.c: Likewise.
5158 * manual/examples/longopt.c: Likewise.
5159 * manual/examples/memopen.c: Likewise.
5160 * manual/examples/memstrm.c: Likewise.
5161 * manual/examples/mkfsock.c: Likewise.
5162 * manual/examples/mkisock.c: Likewise.
5163 * manual/examples/mygetpass.c: Likewise.
5164 * manual/examples/pipe.c: Likewise.
5165 * manual/examples/popen.c: Likewise.
5166 * manual/examples/rprintf.c: Likewise.
5167 * manual/examples/search.c: Likewise.
5168 * manual/examples/select.c: Likewise.
5169 * manual/examples/setjmp.c: Likewise.
5170 * manual/examples/sigh1.c: Likewise.
5171 * manual/examples/sigusr.c: Likewise.
5172 * manual/examples/stpcpy.c: Likewise.
5173 * manual/examples/strdupa.c: Likewise.
5174 * manual/examples/strftim.c: Likewise.
5175 * manual/examples/strncat.c: Likewise.
5176 * manual/examples/subopt.c: Likewise.
5177 * manual/examples/swapcontext.c: Likewise.
5178 * manual/examples/termios.c: Likewise.
5179 * manual/examples/testopt.c: Likewise.
5180 * manual/examples/testpass.c: Likewise.
5181 * manual/examples/timeval_subtract.c: Likewise.
5182
01ae168d
RM
5183 [BZ #13792]
5184 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5185 function to ...
5186 * manual/timeval_subtract.c.texi: ... here, new file.
5187
49efa33d
DM
51882012-03-02 David S. Miller <davem@davemloft.net>
5189
5190 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5191
28afd92d
JM
51922012-03-02 Joseph Myers <joseph@codesourcery.com>
5193
804360ed
JM
5194 [BZ #3976]
5195 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5196 (__sin): Save and restore rounding mode and use round-to-nearest
5197 for all computations.
5198 (__cos): Save and restore rounding mode and use round-to-nearest
5199 for all computations.
5200 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5201 <fenv.h>.
5202 (tan): Save and restore rounding mode and use round-to-nearest for
5203 all computations.
5204 * math/libm-test.inc (cos_test_tonearest): New function.
5205 (cos_test_towardzero): Likewise.
5206 (cos_test_downward): Likewise.
5207 (cos_test_upward): Likewise.
5208 (sin_test_tonearest): Likewise.
5209 (sin_test_towardzero): Likewise.
5210 (sin_test_downward): Likewise.
5211 (sin_test_upward): Likewise.
5212 (tan_test_tonearest): Likewise.
5213 (tan_test_towardzero): Likewise.
5214 (tan_test_downward): Likewise.
5215 (tan_test_upward): Likewise.
5216 (main): Call the new functions.
5217 * sysdeps/i386/fpu/libm-test-ulps: Update.
5218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5219
a6d06d7b
JM
5220 [BZ #10135]
5221 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5222 small n, then large n, before computing and testing k+n.
5223 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5224 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5225 Likewise.
5226 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5227 Likewise.
5228 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5229 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5230 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5231 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5232 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5233 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5234 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5235 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5236 * math/libm-test.inc (scalbn_test): Add more tests.
5237 (scalbln_test): Likewise.
5238
07e12bb3
JM
5239 * manual/filesys.texi (mode_t): Describe constraints on size and
5240 signedness, not exact equivalence to a particular type.
5241 (ino_t): Likewise.
5242 (ino64_t): Likewise.
5243 (dev_t): Likewise.
5244 (nlink_t): Likewise.
5245 (blkcnt_t): Likewise.
5246 (blkcnt64_t): Likewise.
5247 * manual/llio.texi (off_t): Likewise.
5248
28afd92d
JM
5249 [BZ #3976]
5250 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5251 (__ieee754_exp): Save and restore rounding mode and use
5252 round-to-nearest for all computations.
5253 * math/libm-test.inc (exp_test_tonearest): New function.
5254 (exp_test_towardzero): Likewise.
5255 (exp_test_downward): Likewise.
5256 (exp_test_upward): Likewise.
5257 (main): Call the new functions.
5258 * sysdeps/i386/fpu/libm-test-ulps: Update.
5259 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5260
b1eeb65d
CD
52612012-03-01 Chris Demetriou <cgd@google.com>
5262
5263 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5264 have predictable order.
5265
53362a4b
DM
52662012-03-01 David S. Miller <davem@davemloft.net>
5267
3c969083
DM
5268 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5269
759707de
DM
5270 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5271 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5272 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5273 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5274
dfdb8ff2
DM
5275 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5276 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5277 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5279 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5280 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5281 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5282 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5283 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5284
ead89f96
DM
5285 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5286
7f66bd07
DM
5287 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5288 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5289 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5290
53362a4b
DM
5291 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5292 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5293 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5294 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5295 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5297 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5298 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5299 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5300 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5301 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5302 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5303 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5304 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5305 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5306 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5307 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5308 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5309 * sysdeps/sparc/elf/configure: Regenerated.
5310
7b1902cb
JM
53112012-03-01 Joseph Myers <joseph@codesourcery.com>
5312
bec039bc
JM
5313 * configure.in (AS, LD): Require binutils 2.20 or later.
5314 * configure: Regenerated.
5315 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5316 as required minimum version.
5317 * INSTALL: Regenerated.
5318
7b1902cb
JM
5319 [BZ #2541]
5320 [BZ #4108]
5321 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5322 before squaring exponent.
5323 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5324 bottom long double and 27 bits of top long double before squaring
5325 exponent.
5326 * math/libm-test.inc (erfc_test): Add more tests.
5327 * sysdeps/i386/fpu/libm-test-ulps: Update.
5328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5330
f775c276
KT
53312012-03-01 Kai Tietz <ktietz@redhat.com>
5332
5333 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5334 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5335 containing bit-fields.
5336 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5337 * soft-fp/single.h (_FP_UNION_S): Likewise.
5338 * soft-fp/double.h (_FP_UNION_D): Likewise.
5339
5b8a4d4a
JM
53402012-02-29 Joseph Myers <joseph@codesourcery.com>
5341
0bab47b6
JM
5342 [BZ #13786]
5343 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5344 not include ../strcmp.S.
5345 [USE_AS_STRNCASECMP_L]: Likewise.
5346 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5347 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5348 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5349 (__strncasecmp_l_ia32): Define as alias to
5350 __strncasecmp_l_nonascii.
5351
0fcad3e2
JM
5352 [BZ #5794]
5353 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5354 * sysdeps/i386/fpu/libm-test-ulps: Update.
5355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5356
5b8a4d4a
JM
5357 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5359
8fdceb2e
JL
53602012-02-29 Jeff Law <law@redhat.com>
5361
5362 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5363 out of bounds read.
5364
1f393a11
MP
53652012-02-29 Marek Polacek <polacek@redhat.com>
5366
5367 [BZ #13706]
5368 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5369 * elf/Makefile: Add rules to run tst-unused-dep.out.
5370
8847f037
DM
53712012-02-28 David S. Miller <davem@davemloft.net>
5372
5373 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5374 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5376 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5377 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5378 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5379
169d7f11
JM
53802012-02-29 Joseph Myers <joseph@codesourcery.com>
5381
5382 * math/libm-test.inc (llround_test): Move one test from
5383 lround_test. Use TEST_f_L in moved test.
5384 (lround_test): Move misplaced test to llround_test. Add testcase
5385 from bug 2561.
5386
39adf059
UD
53872012-02-28 Ulrich Drepper <drepper@gmail.com>
5388
5389 * sysdeps/x86_64/fpu/e_expf.S: New file.
5390 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5391
71b5d1c5
SB
53922012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5393
5394 [BZ #13637]
5395 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5396 of remain_len that may cause incomplete multi-byte character and
5397 false match.
5398 * posix/bug-regex33.c: New file.
5399 * posix/Makefile (tests): Add bug-regex33.
5400
1f77f049
JM
54012012-02-28 Joseph Myers <joseph@codesourcery.com>
5402
5403 * manual/macros.texi: New file.
5404 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5405 * manual/libc.texinfo: Include macros.texi.
5406 * manual/creatute.texi: Likewise.
5407 * manual/install.texi: Likewise.
5408 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5409 @glibcadj{} in references to the GNU C Library.
5410 * manual/charset.texi: Likewise.
5411 * manual/conf.texi: Likewise.
5412 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5413 when not using those macros.
5414 * manual/creature.texi: Likewise.
5415 * manual/crypt.texi: Likewise.
5416 * manual/errno.texi: Likewise.
5417 * manual/filesys.texi: Likewise.
5418 * manual/header.texi: Likewise.
5419 * manual/install.texi: Likewise.
5420 * manual/intro.texi: Likewise.
5421 * manual/io.texi: Likewise.
5422 * manual/job.texi: Likewise.
5423 * manual/lang.texi: Likewise.
5424 * manual/libc.texiinfo: Likewise.
5425 * manual/llio.texi: Likewise.
5426 * manual/locale.texi: Likewise.
5427 * manual/maint.texi: Likewise.
5428 * manual/math.texi: Likewise.
5429 * manual/memory.texi: Likewise.
5430 * manual/message.texi: Likewise.
5431 * manual/nss.texi: Likewise.
5432 * manual/pattern.texi: Likewise.
5433 * manual/process.texi: Likewise.
5434 * manual/resource.texi: Likewise.
5435 * manual/search.texi: Likewise.
5436 * manual/setjmp.texi: Likewise.
5437 * manual/signal.texi: Likewise.
5438 * manual/socket.texi: Likewise.
5439 * manual/startup.texi: Likewise.
5440 * manual/stdio.texi: Likewise.
5441 * manual/string.texi: Likewise.
5442 * manual/sysinfo.texi: Likewise.
5443 * manual/syslog.texi: Likewise.
5444 * manual/terminal.texi: Likewise.
5445 * manual/time.texi: Likewise.
5446 * manual/users.texi: Likewise.
5447 * INSTALL: Regenerated.
5448 * NOTES: Regenerated.
d40c5d54 5449 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5450
450bf206
AS
54512012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5452
5453 * include/dirent.h: Include <dirstream.h> before
5454 <dirent/dirent.h>.
5455
741a235b
DM
54562012-02-28 David S. Miller <davem@davemloft.net>
5457
5458 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5459 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5460 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5461 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5462
d6b5aa58
DM
54632012-02-27 David S. Miller <davem@davemloft.net>
5464
1aff59a3
DM
5465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5467 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5468 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5469
d6b5aa58
DM
5470 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5471 frame pointer instead of stack pointer relative arg slot.
5472 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5473 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5474 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5475
433f48bf
CD
54762012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5477
5478 [BZ #3992]
5479 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5480
d674b76d
DM
54812012-02-27 David S. Miller <davem@davemloft.net>
5482
5483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5487 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5488 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5489 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5490 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5491
0e7727f7
JM
54922012-02-27 Joseph Myers <joseph@codesourcery.com>
5493
5494 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5495 later. Allow versions 5-9.
43be4ca2 5496 * configure: Regenerated.
0e7727f7
JM
5497 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5498 required minimum version and 4.6 as recommended version. Do not
5499 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5500 * INSTALL: Regenerated.
0e7727f7 5501
a78bc654
DM
55022012-02-27 David S. Miller <davem@davemloft.net>
5503
428d5830
DM
5504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5507 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5508 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5509 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5510 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5511 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5512
a78bc654
DM
5513 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5514 manipulate bits before adding and subtracting TWO112[sx].
5515 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5516
4579f81c
RM
55172012-02-27 Roland McGrath <roland@hack.frob.com>
5518
36c8acb4
RM
5519 [BZ #13775]
5520 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5521 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5522 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5523 being in POSIX, because they are in 1003.1-2008.
5524
84ad622b
RM
5525 * rt/tst-aio.c: Include <fcntl.h>.
5526 * rt/tst-aio7.c: Likewise.
5527 * rt/tst-aio64.c: Likewise.
5528
4579f81c
RM
5529 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5530
abd923db
JM
55312012-02-27 Joseph Myers <joseph@codesourcery.com>
5532
5533 * manual/install.texi (--with-headers): Describe headers as
5534 interface headers, not private headers.
5535 (Specific advice for GNU/Linux systems): Describe use of headers
5536 from "make headers_install", not private headers from older
5537 kernels.
43be4ca2 5538 * INSTALL: Regenerated.
abd923db
JM
5539 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5540 Change to 2.6.19.
5541 * sysdeps/unix/sysv/linux/configure: Regenerated.
5542
6664049b
JM
5543 * manual/llio.texi (fclean): Remove documentation.
5544
bb8b6697
JM
5545 * manual/Makefile (libc-texi-generated): New variable. Include
5546 version.texi.
5547 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5548 $(libc-texi-generated), not duplicated list of files.
5549 (version.texi, stamp-version): New rules.
5550 (realclean): Remove $(libc-texi-generated), not individual files
5551 from that list. Do not remove dir-add.texinfo.
5552 * manual/libc.texinfo: Comment out uses of edition numbers and
5553 references to printed manual. Remove last-updated dates.
5554 (EDITION): Comment out.
5555 (ISBN): Likewise.
5556 (VERSION, UPDATED): Remove.
5557 (version.texi): Include.
5558
12e5c3b9
AS
55592012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5560
5561 * sysdeps/posix/spawni.c: Include <signal.h>.
5562 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5563 * sysdeps/pthread/aio_fsync.c: Likewise.
5564
4efeffc1 55652012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5566
ba63ba08
UD
5567 * conform/Makefile (tests): Run only when not cross-compiling and
5568 when fast-check is not defined.
5569
d94a4670
UD
5570 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5571 * conform/data/limits.h-data: Fixes for POSIX2008.
5572 * conform/run-conformtest.sh: Run all tests.
5573 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5574 headers.
5575 * include/bits/dlfcn.h: Likewise.
5576 * include/langinfo.h: Likewise.
5577 * include/monetary.h: Likewise.
5578 * include/sys/poll.h: Likewise.
5579
5580 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5581 for __USE_GNU.
5582 * posix/spawn.h: Define __need_sigset_t.
5583 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5584 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5585 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5586 to get sigevent_t only.
5587 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5588 only for __USE_GNU.
5589 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5590 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5591 process_vm_writev only for __USE_GNU.
5592 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5593
5594 * conform/Makefile: For now ignore errors from run-conformtest.
5595 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5596 POSIX to avoid namespace pollution. Don't prepend headers.
5597 * conform/data/aio.h-data: Fixes for POSIX testing.
5598 * conform/data/fcntl.h-data: Likewise.
5599 * conform/data/glob.h-data: Likewise.
5600 * conform/data/grp.h-data: Likewise.
5601 * conform/data/pthread.h-data: Likewise.
5602 * conform/data/pwd.h-data: Likewise.
5603 * conform/data/signal.h-data: Likewise.
5604 * conform/data/spawn.h-data: Likewise.
5605 * conform/data/stdio.h-data: Likewise.
5606 * conform/data/stdlib.h-data: Likewise.
5607 * conform/data/stropts.h-data: Likewise.
5608 * conform/data/sys/mman.h-data: Likewise.
5609 * conform/data/sys/stat.h-data: Likewise.
5610 * conform/data/sys/types.h-data: Likewise.
5611 * conform/data/sys/wait.h-data: Likewise.
5612 * conform/data/time.h-data: Likewise.
5613 * conform/data/unistd.h-data: Likewise.
5614 * conform/data/utime.h-data: Likewise.
5615
5616 * io/sys/stat.h: fchmod was always in POSIX.
5617 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5618 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5619 * rt/aio.h: Define __need_timespec before including <time.h>.
5620 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5621 struct. Add forward declaration of pthread_attr_t and use it in
5622 sigevent.
5623 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5624 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5625 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5626 always remove CLK_TCK definition.
5627
c20105c3
AS
56282012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5629
5630 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5631
7a270350
UD
56322012-02-25 Ulrich Drepper <drepper@gmail.com>
5633
31341567
UD
5634 * conform/run-conformtest.sh: New file.
5635 * conform/Makefile: Run run-conformtest for tests.
5636 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5637 support.
5638
5639 * conform/data/uchar.h-data: New file.
5640 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5641 * conform/data/arpa/inet.h-data: Likewise.
5642 * conform/data/assert.h-data: Likewise.
5643 * conform/data/complex.h-data: Likewise.
5644 * conform/data/cpio.h-data: Likewise.
5645 * conform/data/ctype.h-data: Likewise.
5646 * conform/data/dirent.h-data: Likewise.
5647 * conform/data/dlfcn.h-data: Likewise.
5648 * conform/data/errno.h-data: Likewise.
5649 * conform/data/fcntl.h-data: Likewise.
5650 * conform/data/float.h-data: Likewise.
5651 * conform/data/fmtmsg.h-data: Likewise.
5652 * conform/data/fnmatch.h-data: Likewise.
5653 * conform/data/ftw.h-data: Likewise.
5654 * conform/data/glob.h-data: Likewise.
5655 * conform/data/grp.h-data: Likewise.
5656 * conform/data/iconv.h-data: Likewise.
5657 * conform/data/inttypes.h-data: Likewise.
5658 * conform/data/langinfo.h-data: Likewise.
5659 * conform/data/libgen.h-data: Likewise.
5660 * conform/data/limits.h-data: Likewise.
5661 * conform/data/locale.h-data: Likewise.
5662 * conform/data/math.h-data: Likewise.
5663 * conform/data/monetary.h-data: Likewise.
5664 * conform/data/mqueue.h-data: Likewise.
5665 * conform/data/ndbm.h-data: Likewise.
5666 * conform/data/net/if.h-data: Likewise.
5667 * conform/data/netdb.h-data: Likewise.
5668 * conform/data/netinet/in.h-data: Likewise.
5669 * conform/data/nl_types.h-data: Likewise.
5670 * conform/data/poll.h-data: Likewise.
5671 * conform/data/pthread.h-data: Likewise.
5672 * conform/data/pwd.h-data: Likewise.
5673 * conform/data/regex.h-data: Likewise.
5674 * conform/data/sched.h-data: Likewise.
5675 * conform/data/search.h-data: Likewise.
5676 * conform/data/semaphore.h-data: Likewise.
5677 * conform/data/setjmp.h-data: Likewise.
5678 * conform/data/signal.h-data: Likewise.
5679 * conform/data/spawn.h-data: Likewise.
5680 * conform/data/stdarg.h-data: Likewise.
5681 * conform/data/stdio.h-data: Likewise.
5682 * conform/data/stdlib.h-data: Likewise.
5683 * conform/data/string.h-data: Likewise.
5684 * conform/data/strings.h-data: Likewise.
5685 * conform/data/stropts.h-data: Likewise.
5686 * conform/data/sys/ipc.h-data: Likewise.
5687 * conform/data/sys/mman.h-data: Likewise.
5688 * conform/data/sys/msg.h-data: Likewise.
5689 * conform/data/sys/resource.h-data: Likewise.
5690 * conform/data/sys/select.h-data: Likewise.
5691 * conform/data/sys/sem.h-data: Likewise.
5692 * conform/data/sys/shm.h-data: Likewise.
5693 * conform/data/sys/socket.h-data: Likewise.
5694 * conform/data/sys/stat.h-data: Likewise.
5695 * conform/data/sys/statvfs.h-data: Likewise.
5696 * conform/data/sys/time.h-data: Likewise.
5697 * conform/data/sys/timeb.h-data: Likewise.
5698 * conform/data/sys/times.h-data: Likewise.
5699 * conform/data/sys/types.h-data: Likewise.
5700 * conform/data/sys/uio.h-data: Likewise.
5701 * conform/data/sys/un.h-data: Likewise.
5702 * conform/data/sys/utsname.h-data: Likewise.
5703 * conform/data/sys/wait.h-data: Likewise.
5704 * conform/data/syslog.h-data: Likewise.
5705 * conform/data/tar.h-data: Likewise.
5706 * conform/data/termios.h-data: Likewise.
5707 * conform/data/utime.h-data: Likewise.
5708 * conform/data/utmpx.h-data: Likewise.
5709 * conform/data/varargs.h-data: Likewise.
5710 * conform/data/wchar.h-data: Likewise.
5711 * conform/data/wctype.h-data: Likewise.
5712 * conform/data/wordexp.h-data: Likewise.
5713
5714 * include/stropts.h: New file.
5715 * include/uchar.h: New file.
5716 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5717 * include/assert.h: Likewise.
5718 * include/ctype.h: Likewise.
5719 * include/dirent.h: Likewise.
5720 * include/dlfcn.h: Likewise.
5721 * include/fcntl.h: Likewise.
5722 * include/fnmatch.h: Likewise.
5723 * include/glob.h: Likewise.
5724 * include/grp.h: Likewise.
5725 * include/libio.h: Likewise.
5726 * include/locale.h: Likewise.
5727 * include/math.h: Likewise.
5728 * include/net/if.h: Likewise.
5729 * include/netdb.h: Likewise.
5730 * include/netinet/in.h: Likewise.
5731 * include/pthread.h: Likewise.
5732 * include/pwd.h: Likewise.
5733 * include/regex.h: Likewise.
5734 * include/sched.h: Likewise.
5735 * include/search.h: Likewise.
5736 * include/setjmp.h: Likewise.
5737 * include/signal.h: Likewise.
5738 * include/stdio.h: Likewise.
5739 * include/stdlib.h: Likewise.
5740 * include/string.h: Likewise.
5741 * include/sys/cdefs.h: Likewise.
5742 * include/sys/mman.h: Likewise.
5743 * include/sys/msg.h: Likewise.
5744 * include/sys/resource.h: Likewise.
5745 * include/sys/select.h: Likewise.
5746 * include/sys/socket.h: Likewise.
5747 * include/sys/stat.h: Likewise.
5748 * include/sys/statvfs.h: Likewise.
5749 * include/sys/time.h: Likewise.
5750 * include/sys/times.h: Likewise.
5751 * include/sys/uio.h: Likewise.
5752 * include/sys/utsname.h: Likewise.
5753 * include/sys/wait.h: Likewise.
5754 * include/termios.h: Likewise.
5755 * include/time.h: Likewise.
5756 * include/ulimit.h: Likewise.
5757 * include/unistd.h: Likewise.
5758 * include/utime.h: Likewise.
5759 * include/wchar.h: Likewise.
5760 * include/wctype.h: Likewise.
5761 * include/wordexp.h: Likewise.
5762
5763 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5764
7a270350
UD
5765 * time/time.h: TIME_UTC must be a macro.
5766 Make timespec_get available for ISO C11 only as well.
5767
7724defc
UD
57682012-02-24 Ulrich Drepper <drepper@gmail.com>
5769
5770 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5771 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5772
6b1d1d46
JM
57732012-02-24 Joseph Myers <joseph@codesourcery.com>
5774
5775 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5776
0f8bbd69
JM
57772012-02-24 Joseph Myers <joseph@codesourcery.com>
5778
5779 * manual/texinfo.tex: Update to version 2012-01-19.16.
5780
66ab80bc
JM
57812012-02-24 Joseph Myers <joseph@codesourcery.com>
5782
5783 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5784
74981cc5
RM
57852012-02-24 Roland McGrath <roland@hack.frob.com>
5786
ee968201
RM
5787 [BZ #13738]
5788 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5789 * manual/fdl-1.3.texi: New file.
5790 * manual/fdl-1.1.texi: File removed.
5791
74981cc5
RM
5792 [BZ #13738]
5793 * manual/libc.texinfo (FDL_VERSION): New @set.
5794 Use it for mention of FDL in cover text.
5795 (Documentation License): Use it in @include file name.
5796
7bb764bc
JM
57972012-02-22 Joseph Myers <joseph@codesourcery.com>
5798 Roland McGrath <roland@hack.frob.com>
5799
5800 [BZ #5461]
5801 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5802 not LONG_LONG_MAX and LONG_LONG_MIN.
5803 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5804 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5805 name.
5806 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5807
6cbeae47
JM
58082012-02-22 Joseph Myers <joseph@codesourcery.com>
5809
5810 [BZ #2547]
5811 [BZ #11365]
5812 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5813 manipulate bits before adding and subtracting TWO23[sx].
5814 * math/libm-test.inc (nearbyint_test): Add more tests.
5815
fe45ce09
JM
58162012-02-22 Joseph Myers <joseph@codesourcery.com>
5817
5818 [BZ #2548]
5819 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5820 bits before adding and subtracting TWO23[sx].
5821 * math/libm-test.inc (rint_test): Add more tests.
5822 (rint_test_tonearest): Likewise.
5823 (rint_test_towardzero): Likewise.
5824 (rint_test_downward): Likewise.
5825 (rint_test_upward: Likewise.
5826
ff3b3d82
JM
58272012-02-22 Joseph Myers <joseph@codesourcery.com>
5828
5829 [BZ #10110]
5830 * include/stdc-predef.h: New file. Extracted from features.h.
5831 * include/features.h: Include stdc-predef.h.
5832 * Makefile (headers): Add stdc-predef.h.
5833 * CONFORMANCE (Compiler limitations): Update.
5834
ef0aab35
JM
58352012-02-22 Joseph Myers <joseph@codesourcery.com>
5836
5837 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5838
58639409
DM
58392012-02-21 David S. Miller <davem@davemloft.net>
5840
5841 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5842 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5843
c0e70b25
DM
58442012-02-20 David S. Miller <davem@davemloft.net>
5845
5846 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5847 using a normal save/restore sequence, rather than allocating a
5848 dummy stack frame just to store a frame pointer and restore.
5849 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5850
fb06851d
JM
58512012-02-21 Joseph Myers <joseph@codesourcery.com>
5852
5853 * manual/install.texi: Fix stray word in line-wrapped comment.
5854
7a8b71c3
DM
58552012-02-20 David S. Miller <davem@davemloft.net>
5856
d510c123
DM
5857 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5858 both binutils and gcc support GOTDATA.
5859
0722d7c2
DM
5860 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5861 "rd %pc" in the PIC register setup sequences.
5862
3d2b3019
DM
5863 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5864 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5865 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5866 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5867 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5868 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5869 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5870 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5871 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5872 (SYSCALL_ERROR_HANDLER): Likewise.
5873 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5874 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5875 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5876 (SYSCALL_ERROR_HANDLER): Likewise.
5877
c80098a9
DM
5878 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5879 (HAVE_GCC_GOTDATA): New.
5880 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5881 relocation support in both binutils and gcc.
5882 * sysdeps/sparc/elf/configure: Regenerate.
5883
3a2545a0
DM
5884 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5885 * sysdeps/sparc/sparc32/elf/configure: Delete.
5886 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5887 * sysdeps/sparc/sparc64/elf/configure: Delete.
5888 * sysdeps/sparc/elf/configure.in: New file.
5889 * sysdeps/sparc/elf/configure: Generate.
5890
7a8b71c3
DM
5891 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5892 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5893 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5894 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5895 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5896
f1e86fca
JM
58972012-02-21 Joseph Myers <joseph@codesourcery.com>
5898
5899 * manual/install.texi: Do not mention specific glibc version
5900 numbers.
5901 * manual/libc.texinfo (VERSION, UPDATED): Update.
5902 (@copying): Use @copyright{} and range of years.
5903
0e7dfaef
JM
59042012-02-21 Joseph Myers <joseph@codesourcery.com>
5905
5906 [BZ #13695]
5907 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5908 [crti.S not in sysdirs] (generated): Do not append.
5909 [crti.S not in sysdirs] (omit-deps): Likewise.
5910 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5911 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5912 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5913 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5914 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5915 Likewise.
5916 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5917 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5918 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5919 * csu/defs.awk: Remove file.
5920 * sysdeps/generic/initfini.c: Likewise.
5921 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5922 variable.
5923 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5924 Likewise.
5925
599af3ca
JM
59262012-02-20 Joseph Myers <joseph@codesourcery.com>
5927
5928 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5929 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5930 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5931 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5932 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5933 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5934 <bits/epoll.h>.
5935 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5936 (__EPOLL_PACKED): Define to empty if not defined by
5937 <bits/epoll.h>.
5938 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5939 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5940 bits/epoll.h.
5941
0e499750
JM
59422012-02-20 Joseph Myers <joseph@codesourcery.com>
5943
5944 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5945 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5946 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5947 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5948 <bits/timerfd.h>.
5949 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5950 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5951 bits/timerfd.h.
5952
5ad91f6e
JM
59532012-02-20 Joseph Myers <joseph@codesourcery.com>
5954
5955 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5956 in C locale.
5957 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5958 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5959 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5961
06b99b02
AJ
59622012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5963
5964 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5965 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5966
7638c0fd
AS
59672012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5968
5969 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5970 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5971 defined.
5972 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5973 Likewise.
5974 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5975 entry for 2.16.
5976
92221550
AJ
59772012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5978
5979 * math/w_acos.c: Use non-signaling floating-point comparisons.
5980 * math/w_acosf.c: Likewise.
5981 * math/w_acosh.c: Likewise.
5982 * math/w_acoshf.c: Likewise.
5983 * math/w_acoshl.c: Likewise.
5984 * math/w_acosl.c: Likewise.
5985 * math/w_asin.c: Likewise.
5986 * math/w_asinf.c: Likewise.
5987 * math/w_asinl.c: Likewise.
5988 * math/w_atanh.c: Likewise.
5989 * math/w_atanhf.c: Likewise.
5990 * math/w_atanhl.c: Likewise.
5991 * math/w_exp2.c: Likewise.
5992 * math/w_exp2f.c: Likewise.
5993 * math/w_exp2l.c: Likewise.
5994 * math/w_j0.c: Likewise.
5995 * math/w_j0f.c: Likewise.
5996 * math/w_j0l.c: Likewise.
5997 * math/w_j1.c: Likewise.
5998 * math/w_j1f.c: Likewise.
5999 * math/w_j1l.c: Likewise.
6000 * math/w_jn.c: Likewise.
6001 * math/w_jnf.c: Likewise.
6002 * math/w_log.c: Likewise.
6003 * math/w_log10.c: Likewise.
6004 * math/w_log10f.c: Likewise.
6005 * math/w_log10l.c: Likewise.
6006 * math/w_log2.c: Likewise.
6007 * math/w_log2f.c: Likewise.
6008 * math/w_log2l.c: Likewise.
6009 * math/w_logf.c: Likewise.
6010 * math/w_logl.c: Likewise.
6011 * math/w_sqrt.c: Likewise.
6012 * math/w_sqrtf.c: Likewise.
6013 * math/w_sqrtl.c: Likewise.
6014 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6015 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6016 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6017 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6018 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6019
ebaf36eb
JM
60202012-02-19 Joseph Myers <joseph@codesourcery.com>
6021
6022 [BZ #9739]
6023 * manual/string.texi (strnlen): Use correct parameter name in
6024 equivalent expression.
6025
71c254a6
JM
60262012-02-19 Joseph Myers <joseph@codesourcery.com>
6027
6028 [BZ #11174]
6029 * manual/users.texi (seteuid): Consistently use neweuid for
6030 argument name.
6031
16d2c631
JM
60322012-02-19 Joseph Myers <joseph@codesourcery.com>
6033
6034 [BZ #13704]
6035 * manual/nss.texi (Services in the NSS configuration): Correct
6036 list of services in example configuration file.
6037
cd837b09
NB
60382012-02-19 Nick Bowler <nbowler@draconx.ca>
6039
6040 [BZ #11322]
6041 * manual/arith.texi: Remove statements about negative zero
6042 behaving identically to zero.
6043
02c4bbad
JM
60442012-02-18 Joseph Myers <joseph@codesourcery.com>
6045
6046 [BZ #5993]
6047 * manual/install.texi: Do not document upgrading from libc5.
6048
366842e7
JM
60492012-02-18 Joseph Myers <joseph@codesourcery.com>
6050
6051 [BZ #4596]
6052 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6053
dd54084d
DM
60542012-02-18 David S. Miller <davem@davemloft.net>
6055
6056 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6057 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6058 %o7 across the call.
6059 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6060 instead.
6061 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6062 SETUP_PIC_REG_LEAF.
6063 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6064 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6065 * sysdeps/sparc/crtn.S: Likewise.
6066
2bcc53a3
UD
60672012-02-17 Ulrich Drepper <drepper@gmail.com>
6068
6069 * aout/Makefile: Remove.
6070
09c093b5
RK
60712012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6072
6073 [BZ #13058]
6074 * manual/examples/argp-ex1.c (main): Format definition in GNU
6075 style.
6076 * manual/examples/argp-ex2.c (main): Likewise.
6077 * manual/examples/argp-ex3.c (main): Likewise.
6078 * manual/examples/argp-ex4.c (main): Likewise.
6079 * manual/examples/longopt.c (main): Use new-style prototype
6080 definition.
6081 * manual/examples/strncat.c (main): Specify return type and use
6082 (void) for arguments.
6083 * manual/examples/subopt.c (main): Use char **argv argument.
6084
2ee633a2
JM
60852012-02-17 Joseph Myers <joseph@codesourcery.com>
6086
6087 [BZ #5077]
6088 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6089 rounding modes.
6090
0520adde
FB
60912012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6092
6093 [BZ #6907]
6094 * manual/string.texi (strchr): Change when strchrnul is
6095 recommended.
6096
3f4081cd
DGM
60972012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6098
6099 [BZ #174]
6100 * manual/locale.texi (setlocale): Document LOCPATH.
6101
d1b10e78
JM
61022012-02-17 Joseph Myers <joseph@codesourcery.com>
6103
6104 [BZ #10210]
6105 * manual/process.texi (execle): Move @dots{} before last argument.
6106
79c6869c
PB
61072012-02-17 Paul Bolle <pebolle@tiscali.nl>
6108
6109 [BZ #12047]
6110 * manual/charset.texi (Generic Charset Conversion): Fix typo
6111 (LC_TYPE -> LC_CTYPE).
6112
cc6e48bc
NB
61132012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6114
6115 [BZ #5805]
6116 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6117 (scalbnf): Likewise.
6118 (scalbnl): Likewise.
6119 (scalbln): Likewise.
6120 (scalblnf): Likewise.
6121 (scalblnl): Likewise.
6122 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6123 (vwarnx): Likewise.
6124 (verr): Likewise.
6125 (verrx): Likewise.
6126 * manual/filesys.texi (telldir): Use braces around return type.
6127 * manual/llio.texi (mmap): Add space after comma.
6128 (mmap64): Likewise.
6129 * manual/math.texi (jn): Use @var{} on parameter names.
6130 (jnf): Likewise.
6131 (jnl): Likewise.
6132 (yn): Likewise.
6133 (ynf): Likewise.
6134 (ynl): Likewise.
6135 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6136 line.
6137 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6138 "...".
6139 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6140 (sched_get_priority_max): Likewise.
6141 * manual/signal.texi (sigvec): Add space after comma.
6142 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6143 names.
6144 (if_indextoname): Likewise.
6145 (if_freenameindex): Likewise.
6146 (sendto): Use ',' instead of '.' in prototype.
6147 * manual/startup.texi (syscall): Use @dots{} instead of literal
6148 "...".
6149 * manual/stdio.texi (__fpending): Separate initial words of
6150 paragraph from @deftypefun line.
6151 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6152 "...".
6153 (vsyslog): Use @var{} on parameter names.
6154 * manual/terminal.texi (stty): Use @var{} on parameter names.
6155 * manual/users.texi (getutmp): Use @var{} on parameter names.
6156 (getutmpx): Likewise.
6157
5b23062f
JM
61582012-02-17 Joseph Myers <joseph@codesourcery.com>
6159
6160 [BZ #6884]
6161 * manual/stdio.texi (fopen): Fix typos in description of
6162 ",ccs=STRING".
6163
8dee4833
AJ
61642012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6165
6166 [BZ #4026]
6167 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6168 get clock_id definition.
6169
9078ce93
TS
61702012-02-17 Thomas Schwinge <thomas@schwinge.name>
6171
6172 [BZ #4822]
6173 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6174 (madvise): Cast every argument to void on its own.
6175
3835c55f
JM
61762012-02-17 Joseph Myers <joseph@codesourcery.com>
6177
6178 [BZ #9902]
6179 * manual/startup.texi (Exit Status): Fix typo.
6180
35c47e37
JM
61812012-02-17 Joseph Myers <joseph@codesourcery.com>
6182
6183 [BZ #10140]
6184 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6185 * manual/examples/argp-ex2.c: Likewise.
6186 * manual/examples/argp-ex3.c: Likewise.
6187
e3b69ca7
RH
61882012-02-16 Richard Henderson <rth@redhat.com>
6189
6190 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6191 * sysdeps/s390/s390-32/initfini.c: Remove.
6192 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6193 * sysdeps/s390/s390-64/initfini.c: Remove.
6194
df83af67
KK
61952012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6196
6197 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6198 compiler output for sysdeps/generic/initfini.c.
6199 * sysdeps/sh/elf/initfini.c: Remove file.
6200
f63f3380
DM
62012012-02-16 David S. Miller <davem@davemloft.net>
6202
fb59b3a4
DM
6203 [BZ #11494]
6204 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6205
f63f3380
DM
6206 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6207 * sysdeps/sparc/crti.S: New file.
6208 * sysdeps/sparc/crtn.S: New file.
6209 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6210 * sysdeps/sparc/sparc64/Makefile: Likewise.
6211
df6a4a4a
MF
62122012-02-15 Mike Frysinger <vapier@gentoo.org>
6213
6dd8f3dc 6214 [BZ #3335]
df6a4a4a
MF
6215 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6216
1cac7236
RM
62172012-02-15 Roland McGrath <roland@hack.frob.com>
6218
d2c736f8
RM
6219 [BZ #4822]
6220 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6221
1cac7236
RM
6222 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6223 (write, read, close): Likewise.
6224 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6225
8e475601
JM
62262012-02-15 Joseph Myers <joseph@codesourcery.com>
6227
6228 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6229 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6230 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6231 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6232 <bits/signalfd.h>.
6233 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6234 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6235 bits/signalfd.h.
6236
ed656b40
MP
62372012-02-14 Marek Polacek <polacek@redhat.com>
6238
6239 * sysdeps/x86_64/crti.S: New file.
6240 * sysdeps/x86_64/crtn.S: New file.
6241 * sysdeps/x86_64/elf/initfini.c: Remove file.
6242
2a979d3a
JM
62432012-02-13 Joseph Myers <joseph@codesourcery.com>
6244
6245 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6246 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6247 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6248 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6249 <bits/inotify.h>.
6250 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6252 bits/inotify.h.
6253
2a418ac3
JM
62542012-02-13 Joseph Myers <joseph@codesourcery.com>
6255
6256 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6257 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6258 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6259 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6260 <bits/eventfd.h>.
6261 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6262 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6263 bits/eventfd.h.
6264
fb779be7
TS
62652012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6266
e19e83c5
RM
6267 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6268 __feraiseexcept instead of feraiseexcept.
7c35ffed 6269
fb779be7
TS
6270 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6271 nanosleep invocations.
6272 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6273 strings, and add error checking for a nanosleep invocations.
6274
59ba27a6
PE
62752012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6276
6277 Replace FSF snail mail address with URLs, as per GNU coding standards.
6278 Most of the snail mail addresses were wrong anyway, and omitting
6279 them makes the source code easier to maintain. Almost all of the
6280 changes are to license notices and to locale LC_IDENTIFICATION
6281 addresses, except for this one:
6282 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6283 not its snail mail address.
6284
57b957eb
RH
62852012-02-09 Richard Henderson <rth@twiddle.net>
6286
af850b1c
RH
6287 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6288 of kernel-features.h.
6289
57b957eb
RH
6290 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6291
6b73181a
MP
62922012-02-08 Marek Polacek <polacek@redhat.com>
6293
6294 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6295 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6296 * sysdeps/gnu/_G_config.h: Likewise.
6297 * sysdeps/generic/_G_config.h: Likewise.
6298
26ecc33a
AS
62992012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6300
6c6dbc63
AS
6301 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6302 tests.
6303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6304
e216c012
AS
6305 * sysdeps/powerpc/powerpc32/crti.S: New file.
6306 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6307 * sysdeps/powerpc/powerpc64/crti.S: New file.
6308 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6309
26ecc33a
AS
6310 * Makeconfig (have-initfini): Don't set.
6311 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6312 * configure.in (nopic_initfini): Don't substitute.
6313 * config.h.in (HAVE_INITFINI): Don't #undef.
6314 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6315 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6316
3add8e13
JM
63172012-02-08 Joseph Myers <joseph@codesourcery.com>
6318
6319 Support crti.S and crtn.S provided directly by architectures.
6320 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6321 [crti.S in sysdirs] (omit-deps): Likewise.
6322 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6323 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6324 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6325 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6326 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6327 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6328 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6329 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6330 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6331 compiler output for sysdeps/generic/initfini.c.
6332 * sysdeps/i386/elf/Makefile: Remove file.
6333 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6334
a22f12b4
MP
63352012-02-07 Marek Polacek <polacek@redhat.com>
6336
6337 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6338 * sysdeps/gnu/_G_config.h: Likewise.
6339 * sysdeps/mach/hurd/_G_config.h: Likewise.
6340
148cf100
MP
63412012-02-07 Marek Polacek <polacek@redhat.com>
6342
6343 * math/Makefile (tests): Add tst-CMPLX2.
6344 * math/tst-CMPLX2.c: New file.
6345
cfdc0dd7
AS
63462012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6347
84ba42c4
AS
6348 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6349
cfdc0dd7
AS
6350 * math/libm-test.inc (jn_test): Add missing L suffix.
6351
622c86f4
MP
63522012-02-06 Marek Polacek <polacek@redhat.com>
6353
6354 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6355 * sysdeps/i386/fpu/e_powf.S: Likewise.
6356 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6357 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6358 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6359 * sysdeps/i386/fpu/e_pow.S: Likewise.
6360 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6361 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6362 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6363 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6364 * sysdeps/i386/fpu/e_log2.S: Likewise.
6365 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6366 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6367 * sysdeps/i386/fpu/e_powl.S: Likewise.
6368 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6369 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6370 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6371 * sysdeps/i386/fpu/e_logl.S: Likewise.
6372 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6373 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6374 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6375 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6376 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6377 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6378 * sysdeps/i386/fpu/e_log.S: Likewise.
6379 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6380 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6381 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6382 * sysdeps/i386/fpu/e_logf.S: Likewise.
6383 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6384 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6385 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6386 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6387 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6388 * sysdeps/i386/fpu/e_log10.S: Likewise.
6389 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6390 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6391 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6392 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6393 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6394 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6395 * sysdeps/i386/asm-syntax.h: Likewise.
6396 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6397 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6398 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6399 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6400 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6401 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6402 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6403 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6404 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6405 * sysdeps/powerpc/sysdep.h: Likewise.
6406 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6407 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6408
d4a54ac6
JM
64092012-02-06 Joseph Myers <joseph@codesourcery.com>
6410
6411 [BZ #411]
6412 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6413
314054ea
JM
64142012-02-06 Joseph Myers <joseph@codesourcery.com>
6415
6416 * sysdeps/i386/sysdep.h: Include <features.h>.
6417 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6418 version.
6419
d8e0ca50
JM
64202012-02-05 Joseph Myers <joseph@codesourcery.com>
6421
6422 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6423 Define.
6424 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6425 LOAD_PIC_REG_STR.
6426
b1da7dd9
JM
64272012-02-03 Joseph Myers <joseph@codesourcery.com>
6428
6429 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6430 (SETUP_PIC_REG): Use GET_PC_THUNK.
6431 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6432 macro.
6433
9a1d9254
JM
64342012-02-03 Joseph Myers <joseph@codesourcery.com>
6435
6436 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6437 for non-PIC compilation.
6438 (SETUP_PIC_REG): Add .p2align directive.
6439 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6440 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6441 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6442 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6443 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6444 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6445 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6446 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6447 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6448 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6449 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6450 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6451 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6452 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6453 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6454 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6455 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6456 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6457 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6458 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6459 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6477 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6480
65dc3b75
JM
64812012-02-03 Joseph Myers <joseph@codesourcery.com>
6482
6483 * math/tst-CMPLX.c: Include <stdio.h>.
6484
d55bf177
JM
64852012-01-31 Joseph Myers <joseph@codesourcery.com>
6486
6487 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6488 float.
6489 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6490 * sysdeps/sparc/bits/mathdef.h: Likewise.
6491
69db4f8f
MP
64922012-01-31 Marek Polacek <polacek@redhat.com>
6493
6494 * libio/libio.h: Don't define _PARAMS.
6495 * locale/programs/config.h: Don't define PARAMS.
6496 * stdlib/strtol_l.c: Likewise.
6497 (__strtol_l): Remove PARAMS from the prototype.
6498
41b81892
UD
64992012-01-31 Ulrich Drepper <drepper@gmail.com>
6500
3b49edc0
UD
6501 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6502 names. Just use the correct names. Remove unnecessary wrapper
6503 functions.
6504 * malloc/arena.c: Likewise.
6505 * malloc/hooks.c: Likewise.
6506
41b81892
UD
6507 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6508 ARENA_TEST says not to. Simplify test for creation of a new arena.
6509 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6510
27a25b6e
UD
65112012-01-30 Ulrich Drepper <drepper@gmail.com>
6512
6513 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6514 into tail calls.
6515 (update_get_addr): New function.
6516 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6517 GET_ADDR_MODULE parameter.
6518
c8a89e7d
JM
65192012-01-30 Joseph Myers <joseph@codesourcery.com>
6520
6521 * crypt/cert.c: Remove __STDC__ conditionals.
6522 * crypt/crypt-entry.c: Likewise.
6523 * crypt/crypt_util.c: Likewise.
6524 * libio/filedoalloc.c: Likewise.
6525 * libio/fileops.c: Likewise.
6526 * libio/genops.c: Likewise.
6527 * libio/iofclose.c: Likewise.
6528 * libio/iofdopen.c: Likewise.
6529 * libio/iofopen.c: Likewise.
6530 * libio/iofopen64.c: Likewise.
6531 * libio/iogetdelim.c: Likewise.
6532 * libio/iopopen.c: Likewise.
6533 * libio/obprintf.c: Likewise.
6534 * libio/oldfileops.c: Likewise.
6535 * libio/oldiofclose.c: Likewise.
6536 * libio/oldiofdopen.c: Likewise.
6537 * libio/oldiofopen.c: Likewise.
6538 * libio/oldiopopen.c: Likewise.
6539 * libio/wfiledoalloc.c: Likewise.
6540 * libio/wgenops.c: Likewise.
6541 * locale/programs/xmalloc.c: Likewise.
6542 * misc/syslog.c: Likewise.
6543 * stdio-common/xbug.c: Likewise.
6544 * string/memchr.c: Likewise.
6545 * string/memcmp.c: Likewise.
6546 * string/memrchr.c: Likewise.
6547 * string/rawmemchr.c: Likewise.
6548 * sysdeps/posix/getcwd.c: Likewise.
6549 * time/strftime_l.c: Likewise.
6550
3b100462
JM
65512012-01-30 Joseph Myers <joseph@codesourcery.com>
6552
6553 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6554 * config.make.in (config-cflags-sse2avx): Define.
6555 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6556 Fix typo.
6557
607998af
CM
65582012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6559
6560 * scripts/config.guess: Update from upstream config git repository.
6561 * scripts/config.sub: Likewise.
6562
3601428f
CM
65632012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6564
3ac8b282
CM
6565 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6566 (EM_NUM): Update.
6567 (R_TILEPRO_*, R_TILEGX_*): New macros.
6568
e034841e
CM
6569 * scripts/firstversions.awk: Fix bug in version range handling.
6570
540d7568
CM
6571 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6572
3601428f
CM
6573 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6574
463de862
CM
6575 * include/sys/epoll.h: New file.
6576 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6577 libc_hidden_def.
6578
73139a76
UD
65792012-01-28 Ulrich Drepper <drepper@gmail.com>
6580
96bc5b45
UD
6581 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6582 Avoid unnecessary __WORDSIZE == 64 test.
6583 (fmaxf): Use VEX format if possible.
6584 (fmax): Likewise.
6585 (fminf): Likewise.
6586 (fmin): Likewise.
6587
56f6f6a2
UD
6588 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6589 * math/math_private.h: Remove libc_fegetround* and
6590 libc_fesetround*.
6591 * sysdeps/i386/configure.in: Check for -msse2avx.
6592 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6593 also if SSE2AVX is defined.
6594 Remove libc_fegetround* and libc_fesetround*.
6595 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6596 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6597 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6598 of HAS_YMM_USABLE.
6599 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6600 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6601 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6602 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6603 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6604
73139a76
UD
6605 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6606
d73f93a4
AZ
66072012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608
6609 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6610 size is not set.
6611 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6612
6ee65ed6
UD
66132012-01-27 Ulrich Drepper <drepper@gmail.com>
6614
6615 [BZ #13618]
6616 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6617 relocation.
6618 * Makeconfig (libm): Define.
6619 * elf/Makefile: Add rules to build and run tst-relsort1.
6620 * elf/tst-relsort1.c: New file.
6621 * elf/tst-relsort1mod1.c: New file.
6622 * elf/tst-relsort1mod2.c: New file.
6623
8db21882
JM
66242012-01-27 Joseph Myers <joseph@codesourcery.com>
6625
6626 * math/s_ldexp.c: Remove __STDC__ conditionals.
6627 * math/s_ldexpf.c: Likewise.
6628 * math/s_ldexpl.c: Likewise.
6629 * math/s_nextafter.c: Likewise.
6630 * math/s_nexttowardf.c: Likewise.
6631 * math/s_significand.c: Likewise.
6632 * math/s_significandf.c: Likewise.
6633 * math/s_significandl.c: Likewise.
6634 * math/w_jnl.c: Likewise.
6635 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6636 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6637 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6638 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6639 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6640 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6641 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6644 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6645 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6646 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6647 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6648 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6649 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6650 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6651 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6652 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6653 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6654 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6655 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6656 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6657 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6658 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6659 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6660 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6661 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6662 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6663 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6664 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6665 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6666 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6667 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6668 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6669 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6670 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6671 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6672 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6673 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6674 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6675 * sysdeps/ieee754/k_standard.c: Likewise.
6676 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6677 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6678 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6679 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6680 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6681 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6682 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6683 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6684 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6685 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6686 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6687 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6688 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6689 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6737 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6742 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6743 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6744 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6750 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6751 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6755 * sysdeps/ieee754/s_matherr.c: Likewise.
6756 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6757 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6759 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6760
965a54a4
JM
67612012-01-26 Joseph Myers <joseph@codesourcery.com>
6762
6763 * crypt/md5.h: Remove __STDC__ conditionals.
6764 * libio/libioP.h: Likewise.
6765 * locale/programs/config.h: Likewise.
6766 * sysdeps/generic/sysdep.h: Likewise.
6767 * sysdeps/i386/asm-syntax.h: Likewise.
6768 * sysdeps/s390/asm-syntax.h: Likewise.
6769 * sysdeps/unix/sysdep.h: Likewise.
6770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6772
7071ad79
JM
67732012-01-26 Joseph Myers <joseph@codesourcery.com>
6774
6775 * libio/libio.h: Remove __STDC__ conditionals.
6776 * malloc/obstack.h: Likewise.
6777 * math/complex.h: Likewise.
6778 * math/math.h: Likewise.
6779 * sysdeps/generic/_G_config.h: Likewise.
6780 * sysdeps/gnu/_G_config.h: Likewise.
6781 * sysdeps/mach/hurd/_G_config.h: Likewise.
6782 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6783 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6784 * sysdeps/sparc/bits/mathdef.h: Likewise.
6785
afc5ed09
UD
67862012-01-26 Ulrich Drepper <drepper@gmail.com>
6787
6788 [BZ #13583]
6789 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6790 Clean up HAS_* macros.
afc5ed09 6791 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6792 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6793 possible.
6794 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6795 HAS_AVX.
6796 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6797 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6798 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6799 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6800 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6801
bdb6de1d
JM
68022012-01-25 Joseph Myers <joseph@codesourcery.com>
6803
6804 * elf/tst-unique3.cc (gets): Remove declaration.
6805 * elf/tst-unique3lib.cc (gets): Likewise.
6806 * elf/tst-unique3lib2.cc (gets): Likewise.
6807 * elf/tst-unique4.cc (gets): Likewise.
6808
b15549e6
UD
68092012-01-24 Ulrich Drepper <drepper@gmail.com>
6810
6811 * include/stdio.h: Add C++ protection. Add gets declarations and
6812 definitions.
6813 * debug/tst-chk1.c: Don't declare gets here.
6814 * stdio-common/tst-gets.c: Likewise.
6815
a037381f
JM
68162012-01-24 Joseph Myers <joseph@codesourcery.com>
6817
6818 * posix/glob: Remove directory.
6819
f1d4aa75
JM
68202012-01-24 Joseph Myers <joseph@codesourcery.com>
6821
6822 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6823
81c0c964
PT
68242012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6825
6826 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6827 of the non-standard EPFNOSUPPORT.
6828
0ea698ae
ST
68292011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6830
6831 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6832 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6833 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6834
d220b117
UD
68352012-01-21 Ulrich Drepper <drepper@gmail.com>
6836
6837 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6838
3e1aa84e
UD
68392012-01-20 Ulrich Drepper <drepper@gmail.com>
6840
6841 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6842 transient errors.
6843 * nscd/grpcache.c (cache_addgr): Likewise.
6844 * nscd/hstcache.c (cache_addhst): Likewise.
6845 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6846 * nscd/pwdcache.c (cache_addpw): Likewise.
6847 * nscd/servicescache.c (cache_addserv): Likewise.
6848
400aa020
UD
68492012-01-16 Ulrich Drepper <drepper@gmail.com>
6850
d77e7869
UD
6851 * malloc/malloc.c: Various cleanups.
6852 * malloc/hooks.c: Likewise.
6853
400aa020
UD
6854 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6855 * stdlib/bug-fmtmsg1.c: New file.
6856
6857 * stdlib/fmtmsg.c (init): Add missing unlock.
6858 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6859
e0a309cf
MP
68602012-01-12 Marek Polacek <polacek@redhat.com>
6861
6862 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6863 and _GNU_SOURCE.
6864
929d11c7
WS
68652012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6866
6867 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6868 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6869 macro to ensure uniqueness of label name.
6870 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6871 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6872
41d0e869
UD
68732012-01-11 Ulrich Drepper <drepper@gmail.com>
6874
0cc5ed3b
UD
6875 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6876
41d0e869
UD
6877 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6878 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6879 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6880 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6881
a47a831a
UD
68822012-01-10 Ulrich Drepper <drepper@gmail.com>
6883
daa891c0
UD
6884 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6885
6886 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6887 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6888 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6889
e58ef0f2
UD
6890 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6891
a47a831a 6892 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6893 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6894 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6895 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6896
6897 * math/bits/math-finite.h: Add ldexp support.
6898
a0bfc9c7
MP
68992012-01-10 Marek Polacek <polacek@redhat.com>
6900
6901 * locale/programs/localedef.h (show_archive_content): Add noreturn
6902 attribute.
6903
d6e97a1d
UD
69042012-01-09 Ulrich Drepper <drepper@gmail.com>
6905
6906 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6907
d5835c26
UD
69082012-01-08 Ulrich Drepper <drepper@gmail.com>
6909
e5f484c6
UD
6910 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6911
d5835c26
UD
6912 * io/Makefile (headers): Add bits/poll2.h.
6913
d1f741e9
WS
69142011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6915
6916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6917 typo #include statement.
6918
ec09c1c4
UD
69192012-01-08 Ulrich Drepper <drepper@gmail.com>
6920
6921 * include/sys/cdefs.h: Define __attribute_alloc_size.
6922 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6923 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6924 * elf/pldd.c: Likewise.
6925 * iconv/iconv_charmap.c: Likewise.
6926 * iconv/iconvconfig.c: Likewise.
6927 * iconv/strtab.c: Likewise.
6928 * locale/programs/locale.c: Likewise.
6929 * locale/programs/localedef.h: Likewise.
6930 * locale/programs/simple-hash.c: Likewise.
6931 * nscd/nscd.h: Likewise.
6932 * nss/makedb.c: Likewise.
6933 * sysdeps/generic/ldconfig.h: Likewise.
6934 * locale/programs/localedef.c: Remove xmalloc prototype.
6935 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6936
20b38e03
PP
69372012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6938
6939 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6940 appropriate.
6941
a0da5fe1
UD
69422012-01-08 Ulrich Drepper <drepper@gmail.com>
6943
1d5a644a 6944 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6945 * math/tst-CMPLX.c: New file.
1d5a644a 6946
8784a6db
UD
6947 * math/complex.h (CMPLXL): Fix typo.
6948
d9a216c0
UD
6949 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6950 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6951 GLIBC_2.16.
6952 * debug/tst-chk1.c: Add poll and ppoll tests.
6953 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6954 * include/sys/poll.h: Add hidden proto for ppoll.
6955 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6956 * sysdeps/mach/hurd/ppoll.c: Likewise.
6957 * io/ppoll.c: Likewise.
6958 * debug/poll_chk.c: New file.
6959 * debug/ppoll_chk.c: New file.
6960 * include/bits/poll2.h: New file.
6961 * io/bits/poll2.h: New file.
6962
ac097f5c
UD
6963 [BZ #1350]
6964 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6965
2119dcfa
UD
6966 * configure.in: static is always set to yes. Remove.
6967 * config.make.in: Don't set build-static.
6968 * Makeconfig: Remove use of build-static.
6969 * dlfcn/Makefile: Likewise.
6970 * elf/Makefile: Likewise.
6971 * math/Makefile: Likewise.
6972 * misc/Makefile: Likewise.
6973 * nptl/Makefile: Likewise.
6974 * sysdeps/mach/hurd/Makefile: Likewise.
6975
121766a9
UD
6976 * configure.in: PWD_P is not used anymore.
6977 * config.make.in: Remove PWD_P entry.
6978
51a1d39c 6979 * configure.in: Remove last remnants of RANLIB.
8720d066 6980 No need to check for signed size_t anymore.
215f4bdc
UD
6981 Don't set libc_commonpagesize and libc_relro_required here for Alpha
6982 and IA-64.
3857022a 6983 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
6984 * aclocal.m4: Likewise.
6985
d3ed7225
UD
6986 * wcsmbs/mbrtoc16.c: Implement using towc function.
6987 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
6988 * wcsmbs/wcsmbsload.c: Likewise.
6989 * iconv/gconv_simple.c: Likewise.
6990 * iconv/gconv_int.h: Likewise.
6991 * iconv/gconv_builtin.h: Likewise.
6992 * iconv/iconv_prog.c: Remove CHAR16 handling.
6993
6994 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
6995
6996 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
6997
a0da5fe1
UD
6998 * configure.in: Remove --with-elf and --enable-bounded options.
6999 Dont set base_machine for ia64. More non-ELF conditions removed.
7000 Remove testing and setting of leading underscore information.
7001 * config.make.in (build-bounded): Set to no.
7002 * config.h.in: Remove NO_UNDERSCORES entry.
7003 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7004 them.
7005 * csu/start.c: Remove !NO_UNDERSCORE code.
7006 * locale/localeinfo.h: Likewise.
7007 * sysdeps/generic/machine-gmon.h: Likewise.
7008 * sysdeps/generic/sysdep.h: Likewise.
7009 * sysdeps/i386/sysdep.h: Likewise.
7010 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7011 * sysdeps/mach/sysdep.h: Likewise.
7012 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7013 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7014 * sysdeps/sh/sysdep.h: Likewise.
7015 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7016 * sysdeps/unix/i386/sysdep.S: Likewise.
7017 * sysdeps/unix/sparc/start.c: Likewise.
7018 * sysdeps/unix/sparc/sysdep.S: Likewise.
7019 * sysdeps/unix/sparc/sysdep.h: Likewise.
7020 * sysdeps/unix/start.c: Likewise.
7021 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7022 * sysdeps/x86_64/sysdep.h: Likewise.
7023
df78418a
UD
70242012-01-07 Ulrich Drepper <drepper@gmail.com>
7025
a784e502
UD
7026 [BZ #13553]
7027 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7028 for non-gcc.
7029 * argp/argp-fmtstream.h: Use const instead __const.
7030 * argp/argp.h: Likewise.
7031 * assert/assert.h: Likewise.
7032 * bits/fenv.h: Likewise.
7033 * bits/sched.h: Likewise.
7034 * bits/sigset.h: Likewise.
7035 * bits/sigthread.h: Likewise.
7036 * catgets/nl_types.h: Likewise.
7037 * conform/data/pthread.h-data: Likewise.
7038 * crypt/crypt-private.h: Likewise.
7039 * crypt/crypt.h: Likewise.
7040 * crypt/crypt_util.c: Likewise.
7041 * ctype/ctype.h: Likewise.
7042 * debug/execinfo.h: Likewise.
7043 * debug/mbsnrtowcs_chk.c: Likewise.
7044 * debug/mbsrtowcs_chk.c: Likewise.
7045 * debug/wcsnrtombs_chk.c: Likewise.
7046 * debug/wcsrtombs_chk.c: Likewise.
7047 * debug/wcstombs_chk.c: Likewise.
7048 * dirent/dirent.h: Likewise.
7049 * dlfcn/dlfcn.h: Likewise.
7050 * elf/neededtest4.c: Likewise.
7051 * grp/grp.h: Likewise.
7052 * gshadow/gshadow.h: Likewise.
7053 * iconv/gconv.h: Likewise.
7054 * iconv/gconv_int.h: Likewise.
7055 * iconv/gconv_simple.c: Likewise.
7056 * iconv/iconv.h: Likewise.
7057 * iconv/loop.c: Likewise.
7058 * iconv/skeleton.c: Likewise.
7059 * include/aio.h: Likewise.
7060 * include/aliases.h: Likewise.
7061 * include/argz.h: Likewise.
7062 * include/arpa/inet.h: Likewise.
7063 * include/assert.h: Likewise.
7064 * include/dirent.h: Likewise.
7065 * include/dlfcn.h: Likewise.
7066 * include/execinfo.h: Likewise.
7067 * include/fcntl.h: Likewise.
7068 * include/fenv.h: Likewise.
7069 * include/glob.h: Likewise.
7070 * include/grp.h: Likewise.
7071 * include/libintl.h: Likewise.
7072 * include/mntent.h: Likewise.
7073 * include/netdb.h: Likewise.
7074 * include/pwd.h: Likewise.
7075 * include/rpc/netdb.h: Likewise.
7076 * include/sched.h: Likewise.
7077 * include/search.h: Likewise.
7078 * include/shadow.h: Likewise.
7079 * include/signal.h: Likewise.
7080 * include/stdio.h: Likewise.
7081 * include/stdlib.h: Likewise.
7082 * include/string.h: Likewise.
7083 * include/sys/socket.h: Likewise.
7084 * include/sys/stat.h: Likewise.
7085 * include/sys/statfs.h: Likewise.
7086 * include/sys/statvfs.h: Likewise.
7087 * include/sys/syslog.h: Likewise.
7088 * include/sys/time.h: Likewise.
7089 * include/sys/uio.h: Likewise.
7090 * include/time.h: Likewise.
7091 * include/unistd.h: Likewise.
7092 * include/utmp.h: Likewise.
7093 * include/wchar.h: Likewise.
7094 * include/wctype.h: Likewise.
7095 * inet/aliases.h: Likewise.
7096 * inet/arpa/inet.h: Likewise.
7097 * inet/netinet/ether.h: Likewise.
7098 * inet/netinet/in.h: Likewise.
7099 * intl/libintl.h: Likewise.
7100 * io/bits/fcntl2.h: Likewise.
7101 * io/fcntl.h: Likewise.
7102 * io/ftw.h: Likewise.
7103 * io/sys/poll.h: Likewise.
7104 * io/sys/stat.h: Likewise.
7105 * io/sys/statfs.h: Likewise.
7106 * io/sys/statvfs.h: Likewise.
7107 * io/utime.h: Likewise.
7108 * libio/bits/stdio.h: Likewise.
7109 * libio/bits/stdio2.h: Likewise.
7110 * libio/libio.h: Likewise.
7111 * libio/libioP.h: Likewise.
7112 * libio/stdio.h: Likewise.
7113 * locale/lc-ctype.c: Likewise.
7114 * locale/locale.h: Likewise.
7115 * login/utmp.h: Likewise.
7116 * malloc/arena.c: Likewise.
7117 * malloc/malloc.c: Likewise.
7118 * malloc/malloc.h: Likewise.
7119 * malloc/mcheck.c: Likewise.
7120 * malloc/mtrace.c: Likewise.
7121 * math/bits/mathcalls.h: Likewise.
7122 * math/fenv.h: Likewise.
7123 * math/math_private.h: Likewise.
7124 * misc/bits/error.h: Likewise.
7125 * misc/bits/syslog.h: Likewise.
7126 * misc/err.h: Likewise.
7127 * misc/error.h: Likewise.
7128 * misc/fstab.h: Likewise.
7129 * misc/mntent.h: Likewise.
7130 * misc/regexp.h: Likewise.
7131 * misc/search.h: Likewise.
7132 * misc/sgtty.h: Likewise.
7133 * misc/sys/mman.h: Likewise.
7134 * misc/sys/syslog.h: Likewise.
7135 * misc/sys/uio.h: Likewise.
7136 * misc/sys/xattr.h: Likewise.
7137 * misc/ttyent.h: Likewise.
7138 * nis/rpcsvc/ypclnt.h: Likewise.
7139 * nss/nss.h: Likewise.
7140 * posix/bits/unistd.h: Likewise.
7141 * posix/fnmatch.h: Likewise.
7142 * posix/glob.h: Likewise.
7143 * posix/sched.h: Likewise.
7144 * posix/spawn.h: Likewise.
7145 * posix/sys/wait.h: Likewise.
7146 * posix/unistd.h: Likewise.
7147 * posix/wordexp.h: Likewise.
7148 * pwd/pwd.h: Likewise.
7149 * resolv/netdb.h: Likewise.
7150 * resource/sys/resource.h: Likewise.
7151 * rt/aio.h: Likewise.
7152 * rt/bits/mqueue2.h: Likewise.
7153 * rt/mqueue.h: Likewise.
7154 * shadow/shadow.h: Likewise.
7155 * signal/signal.h: Likewise.
7156 * socket/send.c: Likewise.
7157 * socket/sendto.c: Likewise.
7158 * socket/sys/socket.h: Likewise.
7159 * stdio-common/printf.h: Likewise.
7160 * stdlib/bits/stdlib.h: Likewise.
7161 * stdlib/fmtmsg.h: Likewise.
7162 * stdlib/monetary.h: Likewise.
7163 * stdlib/stdlib.h: Likewise.
7164 * stdlib/ucontext.h: Likewise.
7165 * streams/stropts.h: Likewise.
7166 * string/argz.h: Likewise.
7167 * string/bits/string2.h: Likewise.
7168 * string/string.h: Likewise.
7169 * string/strings.h: Likewise.
7170 * sunrpc/rpc/auth.h: Likewise.
7171 * sunrpc/rpc/auth_des.h: Likewise.
7172 * sunrpc/rpc/clnt.h: Likewise.
7173 * sunrpc/rpc/netdb.h: Likewise.
7174 * sunrpc/rpc/pmap_clnt.h: Likewise.
7175 * sunrpc/rpc/xdr.h: Likewise.
7176 * sysdeps/generic/inttypes.h: Likewise.
7177 * sysdeps/generic/net/if.h: Likewise.
7178 * sysdeps/generic/sys/swap.h: Likewise.
7179 * sysdeps/gnu/net/if.h: Likewise.
7180 * sysdeps/gnu/utmpx.h: Likewise.
7181 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7182 * sysdeps/i386/i486/bits/string.h: Likewise.
7183 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7184 * sysdeps/s390/bits/string.h: Likewise.
7185 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7186 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7187 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7188 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7189 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7190 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7191 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7192 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7193 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7194 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7195 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7196 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7197 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7198 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7199 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7200 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7201 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7202 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7203 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7204 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7206 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7207 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7208 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7209 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7210 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7211 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7212 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7213 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7214 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7215 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7216 * sysvipc/sys/ipc.h: Likewise.
7217 * sysvipc/sys/msg.h: Likewise.
7218 * sysvipc/sys/sem.h: Likewise.
7219 * sysvipc/sys/shm.h: Likewise.
7220 * termios/termios.h: Likewise.
7221 * time/sys/time.h: Likewise.
7222 * time/time.h: Likewise.
7223 * wcsmbs/bits/wchar2.h: Likewise.
7224 * wcsmbs/uchar.h: Likewise.
7225 * wcsmbs/wchar.h: Likewise.
7226 * wctype/wctype.h: Likewise.
7227
0269750c
UD
7228 [BZ #13551]
7229 * Makeconfig: Remove all but ELF support including AIX support.
7230 * Makerules: Likewise.
7231 * config.h.in: Likewise.
7232 * config.make.in: Likewise.
7233 * configure: Likewise.
7234 * configure.in: Likewise.
7235 * csu/Makefile: Likewise.
7236 * csu/version.c: Likewise.
7237 * debug/Makefile: Likewise.
7238 * dlfcn/Makefile: Likewise.
7239 * elf/Makefile: Likewise.
7240 * extra-lib.mk: Likewise.
7241 * iconv/Makefile: Likewise.
7242 * include/libc-symbols.h: Likewise.
7243 * include/shlib-compat.h: Likewise.
7244 * resolv/Makefile: Likewise.
7245 * resolv/res_libc.c: Likewise.
7246 * rt/Makefile: Likewise.
7247 * sysdeps/i386/asm-syntax.h: Likewise.
7248 * sysdeps/i386/sysdep.h: Likewise.
7249 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7250 * sysdeps/mach/sysdep.h: Likewise.
7251 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7252 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7253 * sysdeps/s390/asm-syntax.h: Likewise.
7254 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7255 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7256 * sysdeps/sh/sysdep.h: Likewise.
7257 * sysdeps/unix/sparc/sysdep.h: Likewise.
7258 * sysdeps/wordsize-32/divdi3.c: Likewise.
7259 * sysdeps/x86_64/sysdep.h: Likewise.
7260
00bbd29b
UD
7261 * argp/Versions: Remove _argp_unlock_xxx.
7262
7263 [BZ #13559]
7264 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7265 * abilist/libBrokenLocale.abilist: Likewise.
7266 * abilist/libanl.abilist: Likewise.
7267 * abilist/libc.abilist: Likewise.
7268 * abilist/libcrypt.abilist: Likewise.
7269 * abilist/libdl.abilist: Likewise.
7270 * abilist/libm.abilist: Likewise.
7271 * abilist/libnsl.abilist: Likewise.
7272 * abilist/libpthread.abilist: Likewise.
7273 * abilist/libresolv.abilist: Likewise.
7274 * abilist/librt.abilist: Likewise.
7275 * abilist/libthread_db.abilist: Likewise.
7276 * abilist/libutil.abilist: Likewise.
7277 * abilist/libnss_db.abilist: New file.
7278
7279 * scripts/abilist.awk: Add support for indirect functions.
7280
a2693a0e
UD
7281 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7282
3f05895f
UD
7283 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7284
ecb6fb48
UD
7285 * shlib-versions: Remove entries for ports architectures.
7286
664f8cb9
UD
7287 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7288 files in ports.
7289 * elf/stackguard-macros.h: Remove support for IA-64.
7290 * elf/tst-auditmod1.c: Likewise.
7291 * sysdeps/generic/ldsodefs.h: Likewise.
7292
7ae81d88
UD
7293 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7294 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7295 configure files.
7296
bdeba135
UD
7297 [BZ #13552]
7298 * configure.in: Remove --enable-omitfp support.
7299 * FAQ.in: Adjust.
7300 * config.make.in: Likewise.
7301 * Makeconfig: Likewise.
7302 * manual/install.texi: Likewise.
7303
d75a0a62
UD
7304 In case anyone cares, the IA-64 architecture could move to ports.
7305 * sysdeps/ia64/*: Removed.
7306 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7307 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7308
dcc9756b
UD
7309 [BZ #13555]
7310 * configure.in: Remove entries for unsupported architectures.
7311
d3761ebc 7312 [BZ #13533]
9954432e
UD
7313 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7314 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7315 routines.
7316 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7317 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7318 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7319 fall back to using wcrtomb.
7320 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7321 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7322 renaming.
7323 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7324 * wcsmbs/tst-c16c32-1.c: New file.
7325
7326 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7327 local variable.
7328
c3a87236
UD
7329 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7330
28926a1b
UD
7331 * elf/tst-unique3.cc: Add explicit declaration of gets.
7332 * elf/tst-unique3lib.cc: Likewise.
7333 * elf/tst-unique3lib2.cc: Likewise.
7334 * elf/tst-unique4.cc: Likewise.
7335
df78418a
UD
7336 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7337
8ecd6b2a
JM
73382012-01-06 Joseph Myers <joseph@codesourcery.com>
7339
7340 [BZ #13566]
7341 * assert/assert.h (static_assert): Don't define for C++.
7342 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7343 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7344
9f115170
UD
73452012-01-03 Ulrich Drepper <drepper@gmail.com>
7346
5e0d0300
UD
7347 * iconv/loop.c (single loop): Fix assertion in storing of
7348 remaining bytes.
7349
9f115170
UD
7350 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7351
81fb02b0
UD
73522012-01-01 Ulrich Drepper <drepper@gmail.com>
7353
7354 * posix/getconf.c: Update copyright year.
7355 * nss/getent.c: Likewise.
a316c1f6 7356 * nss/makedb.c: Likewise.
81fb02b0
UD
7357 * iconv/iconvconfig.c: Likewise.
7358 * iconv/iconv_prog.c: Likewise.
7359 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7360 * elf/pldd.c: Likewise.
7361 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7362 * catgets/gencat.c: Likewise.
7363 * csu/version.c: Likewise.
7364 * elf/ldd.bash.in: Likewise.
7365 * elf/sprof.c (print_version): Likewise.
7366 * locale/programs/locale.c: Likewise.
7367 * locale/programs/localedef.c: Likewise.
a316c1f6 7368 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7369 * nscd/nscd.c (print_version): Likewise.
7370 * debug/xtrace.sh: Likewise.
7371 * malloc/memusage.sh: Likewise.
7372 * malloc/mtrace.pl: Likewise.
7373 * debug/catchsegv.sh: Likewise.
7374
2ba92745
JJ
73752011-12-30 Jakub Jelinek <jakub@redhat.com>
7376
7377 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7378 pure attribute.
7379
dadebdae
UD
73802011-12-24 Ulrich Drepper <drepper@gmail.com>
7381
d3761ebc 7382 [BZ #13533]
db6af3eb
UD
7383 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7384 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7385 transformations.
7386 * iconv/gconv_int.h: Likewise.
7387 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7388 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7389 from libc for GLIBC_2.16.
7390 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7391 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7392 * wcsmbs/uchar.h: Really define mbstate_t.
7393 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7394 * wcsmbs/c16rtomb.c: New file.
7395 * wcsmbs/mbrtoc16.c: New file.
7396 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7397 for C/POSIX locale.
7398 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7399 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7400
dadebdae
UD
7401 * wcsmbs/wchar.h: Add missing __restrict.
7402
67371b56
UD
74032011-12-23 Ulrich Drepper <drepper@gmail.com>
7404
74033a25
UD
7405 [BZ #13532]
7406 * time/Makefile (routines): Add timespec_get.
7407 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7408 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7409 timespec for ISO C11.
7410 * time/timespec_get.c: New file.
7411 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7412 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7413
380d7e87
UD
7414 [BZ #13531]
7415 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7416 * stdlib/stdlib.h: Declare aligned_alloc.
7417 * Versions.def: Add GLIBC_2.16 for libc.
7418 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7419
4e9e7a35
UD
7420 [BZ 13527]
7421 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7422 ISO C11.
7423
380d7e87 7424 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7425 code.
7426
03a71829
UD
7427 [BZ #13528]
7428 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7429
839e283e
UD
7430 [BZ #13529]
7431 * assert/assert.h (static_assert): Define.
7432
ce5294e2 7433 * version.h: Update for 2.16 development version.
90fa7312 7434
8d44e150 7435 [BZ #13526]
d7809905
UD
7436 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7437 _ISOC11_SOURCE.
7438
c0da14cd
UD
7439 * version.h (RELEASE): Bump for 2.15 release.
7440 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7441
530a3249
MP
7442 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7443 Patch by Marek Polacek <mpolacek@redhat.com>.
7444
67371b56
UD
7445 * bits/byteswap.h: Protect long long constants with __extension__.
7446 * sysdeps/i386/bits/byteswap.h: Likewise.
7447 * sysdeps/ia64/bits/byteswap.h: Likewise.
7448 * sysdeps/s390/bits/byteswap.h: Likewise.
7449 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7450
15db4de1
LD
74512011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7452
7453 [BZ #13540]
bbe315ea
LD
7454 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7455 destination buffer.
15db4de1
LD
7456 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7457
2b2596b1
MP
74582011-12-23 Marek Polacek <polacek@redhat.com>
7459
7460 * elf/dl-addr.c (determine_info): Add inline keyword.
7461 * elf/tst-auditmod4b.c (check_avx): Likewise.
7462 * elf/tst-auditmod6b.c (check_avx): Likewise.
7463 * elf/tst-auditmod6c.c (check_avx): Likewise.
7464 * elf/tst-auditmod7b.c (check_avx): Likewise.
7465
70c6c246
UD
74662011-12-23 Ulrich Drepper <drepper@gmail.com>
7467
7468 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7469 !__SSE_MATH__.
7470
c044cf14
LD
74712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7472
15db4de1 7473 [BZ #13540]
c044cf14
LD
7474 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7475 processing for last bytes.
7476
6b13d9d9
BH
74772011-08-06 Bruno Haible <bruno@clisp.org>
7478
d455f537
BH
7479 [BZ #13061]
7480 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7481 U+0385, not to U+1FEE.
7482
6b13d9d9
BH
7483 [BZ #13062]
7484 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7485 entry for U+00A5 U+0301.
7486
db910efd
UD
74872011-12-22 Ulrich Drepper <drepper@gmail.com>
7488
27deeafc
UD
7489 [BZ #13166]
7490 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7491 buffer for the output is too small.
7492
aed9d171
UD
7493 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7494 optimization.
7495
db910efd
UD
7496 [BZ #13185]
7497 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7498 SSE flags if possible.
7499
2bd779ae
LD
75002011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7501
e7f9dac3 7502 [BZ #13540]
2bd779ae
LD
7503 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7504 processing for last bytes.
7505
154bfc16
JM
75062011-12-22 Joseph Myers <joseph@codesourcery.com>
7507
7508 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7509 (syscall-list-default-options, syscall-list-default-condition)
7510 (syscall-list-includes): Define.
7511 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7512 list of ABIs and options and #if conditions for each ABI. Do not
7513 handle common syscalls between ABIs specially.
7514 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7515 Remove.
7516 (syscall-list-variants, syscall-list-32bit-options)
7517 (syscall-list-32bit-condition, syscall-list-64bit-options)
7518 (syscall-list-64bit-condition): Define.
7519 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7520 (syscall-list-variants, syscall-list-32bit-options)
7521 (syscall-list-32bit-condition, syscall-list-64bit-options)
7522 (syscall-list-64bit-condition): Define.
7523 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7524 Remove.
7525 (syscall-list-variants, syscall-list-32bit-options)
7526 (syscall-list-32bit-condition, syscall-list-64bit-options)
7527 (syscall-list-64bit-condition): Define.
7528 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7529 Remove.
7530 (syscall-list-variants, syscall-list-32bit-options)
7531 (syscall-list-32bit-condition, syscall-list-64bit-options)
7532 (syscall-list-64bit-condition): Define.
7533
21eaf3a5
UD
75342011-12-22 Ulrich Drepper <drepper@gmail.com>
7535
16c6f992
UD
7536 * locale/iso-639.def: Add brx entry.
7537
41043168
UD
7538 [BZ #13328]
7539 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7540 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7541
21eaf3a5
UD
7542 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7543 __feraiseexcept_renamed.
7544
e3a851a2
UD
75452011-12-21 Ulrich Drepper <drepper@gmail.com>
7546
4920765e
UD
7547 [BZ #13538]
7548 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7549 EPOLLET with unsigned values.
7550 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7551 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7552
e3a851a2
UD
7553 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7554 to large cancellation.
7555 * math/s_cacoshf.c: Likewise.
7556 * math/s_cacoshl.c: Likewise.
7557
b27e24b8
RK
75582011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7559
7560 [BZ #13305]
aebefeee 7561 [BZ #12786]
b27e24b8
RK
7562 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7563 * math/s_cacoshf.c: Likewise.
7564 * math/s_cacoshl.c: Likewise.
7565
ee190f67
UD
75662011-12-21 Ulrich Drepper <drepper@gmail.com>
7567
7568 [BZ #13439]
7569 * iconv/gconv.h: Define __GCONV_SWAP.
7570 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7571 * iconvdata/utf-16.c: Likewise.
7572 * iconvdata/utf-32.c: Likewise.
7573
707f25df
AS
75742011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7575
7576 [BZ #13524]
7577 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7578 numerator after shifting it by one limb.
7579
d2daaa1e
RÁE
75802011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7581
7582 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7583 under [__USE_EXTERN_INLINES].
7584
a4647e72
UD
75852011-12-17 Ulrich Drepper <drepper@gmail.com>
7586
7587 [BZ #13446]
7588 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7589
f0b264f1
AZ
75902011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7591
7592 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7593 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7594 optimized code.
7595 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7596 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7597 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7598 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7599 for strncasecmp/strncasecmp_l compilation.
7600 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7601 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7602
8ef4f244
MP
76032011-12-08 Marek Polacek <mpolacek@redhat.com>
7604
7605 [BZ #13484]
7606 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7607 of __asm__.
7608
97ac2654
UD
76092011-12-17 Ulrich Drepper <drepper@gmail.com>
7610
7611 [BZ #13506]
7612 * time/tzfile.c (__tzfile_read): Check values from file header.
7613
91d2a845
WS
76142011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7615
7616 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7617 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7618 * powerpc/powerpc32/dl-start.S: Likewise.
7619 * powerpc/powerpc32/elf/start.S: Likewise.
7620 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7621 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7622 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7623 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7624 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7625 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7626 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7627 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7628 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7629 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7630 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7631 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7632 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7633 * powerpc/powerpc32/memset.S: Likewise.
7634 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7635 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7636 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7637 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7638 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7639 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7640 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7641 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7642 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7643 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7644 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7645 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7646 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7647
a1267ba1
AZ
76482011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7649
7650 * math/libm-test.inc: Added more nearbyint tests.
7651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7652 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7654 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7655
ad8ac1bd
RL
76562011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7657
7658 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7659 FD_CLOEXEC.
7660
1d3e4b61
UD
76612011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7662
7663 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7664 Add wcscpy-ssse3 wcscpy-c.
7665 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7666 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7667 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7668 * sysdeps/x86_64/wcschr.S: New file.
7669 * sysdeps/x86_64/wcsrchr.S: New file.
7670 * string/test-strcmp.c: Remove checking of wcscmp function for
7671 wrong alignments.
7672 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7673 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7674 wcsrchr-sse2 wcsrchr-c.
7675 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7676 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7677 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7678 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7679 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7680 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7681 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7682 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7683 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7684 * wcsmbc/wcschr.c (WCSCHR): New macro.
7685
5b330a2d
UD
76862011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7687
7688 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7689 * wcsmbs/test-wcsrchr.c: New file.
7690 * string/test-strrchr.c: Add wcsrchr support.
7691 (WIDE): New macro.
7692 * wcsmbs/test-wcscpy.c: New file.
7693 * string/test-strcpy.c: Add wcscpy support.
7694 (WIDE): New macro.
26428b7c 7695
f039c043
UD
76962011-12-10 Ulrich Drepper <drepper@gmail.com>
7697
7698 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7699 the inner loop.
7700
850fb039
AS
77012011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7702
7703 [BZ #13472]
7704 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7705
4efbd5cb
UD
77062011-12-04 Ulrich Drepper <drepper@gmail.com>
7707
52ff5dd0 7708 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7709 Minor optimizations.
52ff5dd0 7710
4efbd5cb
UD
7711 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7712 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7713 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7714
8a426e12
UD
77152011-12-03 Ulrich Drepper <drepper@gmail.com>
7716
aff2453d
UD
7717 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7718 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7719 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7720 for gcc to avoid warnings.
7721 * inet/Makefile (tests): Add tst-checks.
7722 * inet/tst-checks.c: New file.
7723
7724 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7725 warning.
7726
7727 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7728 __wmemcmp_sse2.
7729
7730 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7731 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7732
8a426e12
UD
7733 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7734
9bea3473
UD
77352011-12-02 Ulrich Drepper <drepper@gmail.com>
7736
3a965496
UD
7737 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7738 problem.
7739
9bea3473
UD
7740 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7741
f101631b
UD
77422011-11-29 Joseph Myers <joseph@codesourcery.com>
7743
7744 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7745 conditional on GCC version.
7746 (__arch_compare_and_exchange_val_8_acq)
7747 (__arch_compare_and_exchange_val_16_acq)
7748 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7749 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7750 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7751
a98275aa
UD
77522011-12-02 Joseph Myers <joseph@codesourcery.com>
7753
7754 * sysdeps/sh/backtrace.c: New file.
7755
d4cc29a2
AS
77562011-12-02 Andreas Schwab <schwab@redhat.com>
7757
7758 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7759 parenthesis.
7760
6257af2d
AS
77612011-12-01 Andreas Schwab <schwab@redhat.com>
7762
7763 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7764 falling back to utime.
7765
b5f44c1a
AS
77662011-11-30 Andreas Schwab <schwab@redhat.com>
7767
7768 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7769 expectations for float.
7770
f3a6cc0a
AS
77712011-11-29 Andreas Schwab <schwab@redhat.com>
7772
7773 * locale/weight.h (findidx): Add parameter len.
7774 * locale/weightwc.h (findidx): Likewise.
7775 * posix/fnmatch_loop.c (FCT): Adjust caller.
7776 * posix/regcomp.c (build_equiv_class): Likewise.
7777 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7778 * posix/regexec.c (check_node_accept_bytes): Likewise.
7779 * string/strcoll_l.c (STRCOLL): Likewise.
7780 * string/strxfrm_l.c (STRXFRM): Likewise.
7781
9d65ea3a
UD
77822011-11-17 Ulrich Drepper <drepper@gmail.com>
7783
7784 * Makefile.in: Remove CVSOPT handling.
7785 * configure.in: Remove use of AC_REVISION.
7786 * iconvdata/Makefile (distribute): No need to filter out CVS.
7787 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7788 handling.
7789
5583a086
AS
77902011-11-16 Andreas Schwab <schwab@redhat.com>
7791
7792 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7793 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7794 [USE_AS_STRNCASECMP_L]: Likewise.
7795 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7796 NO_TLS_DIRECT_SEG_REFS.
7797 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7798 Fix argument offsets for non-PIC.
7799 [USE_AS_STRNCASECMP_L]: Likewise.
7800 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7801 NO_TLS_DIRECT_SEG_REFS.
7802
d62a8200
UD
78032011-11-15 Ulrich Drepper <drepper@gmail.com>
7804
9d65ea3a 7805 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7806 O_CLOEXEC.
7807 * locale/loadlocale.c (_nl_load_locale): Likewise.
7808
09f93bd3
AS
78092011-11-15 Andreas Schwab <schwab@redhat.com>
7810
446514f9
AS
7811 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7812 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7813 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7814 (SYSCALL_GETTIME): Set errno on error.
7815
09f93bd3
AS
7816 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7817 count references to noai6ai_cached.
7818
312be3f9
UD
78192011-11-15 Ulrich Drepper <drepper@gmail.com>
7820
7821 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7822
7823 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7824 FD_CLOEXEC for /proc/self/maps.
7825
7826 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7827 FD_CLOEXEC for /proc/meminfo.
7828
7829 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7830 gai.conf.
7831
7832 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7833 FD_CLOEXEC for given file.
7834
7835 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7836
7837 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7838 FD_CLOEXEC for /etc/hosts.
7839 (_gethtent): Likewise.
7840
7841 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7842
7843 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7844 cancellation and set FD_CLOEXEC for /etc/netgroup.
7845
7846 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7847 reading /etc/publickey.
7848
7849 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7850 allow cancellation when reading /etc/group.
7851
7852 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7853 cancellation.
7854 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7855
7856 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7857 when using data file.
7858
7859 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7860
7861 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7862 (write_nis_obj): Use "c" and "e" in fopen.
7863
7864 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7865
7866 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7867
7868 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7869
7870 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7871
7872 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7873 locale.alias.
7874
7875 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7876
7877 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7878
7879 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7880
7881 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7882 file parsing and set FD_CLOEXEC.
7883
82af0fa8
UD
78842011-11-14 Ulrich Drepper <drepper@gmail.com>
7885
7886 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7887
a5fb313c
AS
78882011-11-14 Andreas Schwab <schwab@redhat.com>
7889
7890 * malloc/arena.c (arena_get2): Don't call reused_arena when
7891 _int_new_arena failed.
7892
6abf3465
UD
78932011-11-14 Ulrich Drepper <drepper@gmail.com>
7894
7895 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7896 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7897 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7898 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7899 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7900 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7901 to compile strcasecmp and strncasecmp.
7902 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7903 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7904
7905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7906
76e3966e
UD
79072011-11-13 Ulrich Drepper <drepper@gmail.com>
7908
7909 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7910 locale-defines.sym to gen-as-const-headers.
7911 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7912 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7913 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7914 to compile strcasecmp and strncasecmp.
7915 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7916 strcasecmp_l and strncasecmp_l.
7917 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7918 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7919 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7920 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7921 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7922 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7923 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7924 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7925 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7926 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7927 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7928
ab26144e
UD
79292011-11-12 Ulrich Drepper <drepper@gmail.com>
7930
7edb22ef
UD
7931 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7932 result of SYSDEP_GETTIME_CPU to retval.
7933 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7934 parameter list to macro. Remove trailing semicolon. Adjust users.
7935
9694fc44
UD
7936 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7937 variable.
7938
8ad89ef8
UD
7939 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7940 mantissa words.
7941 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7942
0c822ef9
UD
7943 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7944 from unused variable.
7945
874e0564
UD
7946 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7947 DWARF definitions.
7948 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7949 for assembling.
7950
3a2edc79
UD
7951 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7952 over namespaces.
7953
f3c2577f
UD
7954 * sunrpc/rpc_prot.c (rejected): Fix case value.
7955
294ce126
UD
7956 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7957 unsigned long long int to avoid warnings in shift.
7958
5e2b63c6
UD
7959 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7960 of use of trans.
7961 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7962 variable tmp.
7963
e7f4b08e
UD
7964 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7965 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7966 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7967
ab26144e
UD
7968 * nis/nis_table.c (nis_list): Use variable of correct type for
7969 result of __follow_path call.
7970
8a6d5255
AZ
79712011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972
7973 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7974 of math functions ceil, trunc, floor, round, and sqrt, when
7975 avaliable on the platform.
7976 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7977 name clash.
7978 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7979 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7980 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
7981
aaddc98c
MP
79822011-10-30 Marek Polacek <mpolacek@redhat.com>
7983
7984 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
7985 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
7986
95b7042b
RM
79872011-11-11 Roland McGrath <roland@hack.frob.com>
7988
7989 * include/unistd.h: Fix __readlink return type.
7990 Reported by Chris Metcalf <cmetcalf@tilera.com>.
7991
57769839
UD
79922011-11-11 Ulrich Drepper <drepper@gmail.com>
7993
7994 * stdlib/ucontext.h: Undo last change for makecontext.
7995
edc5984d
AS
79962011-11-11 Andreas Schwab <schwab@redhat.com>
7997
98591e58
AS
7998 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
7999
edc5984d
AS
8000 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8001 * setjmp/setjmp.h: Mark functions as non-leaf.
8002 * setjmp/bits/setjmp2.h: Likewise.
8003 * stdlib/ucontext.h: Likewise.
8004
77cdc054
AS
80052011-11-10 Andreas Schwab <schwab@redhat.com>
8006
8007 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8008 (reused_arena): Don't check arena limit.
8009 (arena_get2): Atomically check arena limit.
8010
fe72eebd
UD
80112011-11-08 Ulrich Drepper <drepper@gmail.com>
8012
5f078c32
UD
8013 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8014 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8015
fe72eebd
UD
8016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8017 instructions.
8018
ae1bc2fa
AS
80192011-11-07 Andreas Schwab <schwab@redhat.com>
8020
7583a88d
AS
8021 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8022 handler when locking.
8023
ae1bc2fa
AS
8024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8025 Fix size of allocated buffer.
8026
10fb0bfa
AS
80272011-11-04 Andreas Schwab <schwab@redhat.com>
8028
998832a4
AS
8029 [BZ #10103]
8030 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8031 declarations for long double functions.
8032 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8033
10fb0bfa
AS
8034 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8035
3d7ba52b
AS
80362011-11-03 Andreas Schwab <schwab@redhat.com>
8037
a9ae54a1
AS
8038 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8039 installed.
8040
3d7ba52b
AS
8041 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8042 is disabled.
8043
bc8db248
ST
80442011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8045
8046 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8047
45b96dd6
AS
80482011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8049
647776f6
AS
8050 * include/alloca.h (stackinfo_alloca_round): Define.
8051 (extend_alloca): Use it.
8052 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8053 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8054 here.
8055
d91a8b93
AS
8056 * scripts/check-local-headers.sh: Ignore libaudit.h.
8057
45b96dd6
AS
8058 * nscd/Makefile (extra-objs): Make recursively expanded.
8059
432d41ce
UD
80602011-11-01 Ulrich Drepper <drepper@gmail.com>
8061
34372fc6
UD
8062 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8063 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8064
fadb59f8
UD
8065 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8066 * posix/tst-rfc3484-2.c: Likewise.
8067 * posix/tst-rfc3484-3.c: Likewise.
8068
78239589
UD
8069 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8070 process_vm_writev.
8071 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8072 process_vm_writev.
8073 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8074 process_vm_writev from libc using GLIBC_2.15 version.
8075
432d41ce
UD
8076 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8077
02f9c6cf
PP
80782011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8079
8080 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8081 stack usage.
8082
3a2c0242
UD
80832011-10-31 Ulrich Drepper <drepper@gmail.com>
8084
f4ec4833
UD
8085 [BZ #13367]
8086 * nss/getent.c (initgroups_keys): Show error message in case no group
8087 names are given.
8088
3a2c0242
UD
8089 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8090 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8091 __bump_nl_timestamp.
8092 * nscd/connections (nscd_init): When host database is served open
8093 netlink socket and request notification about configuration changes.
8094 (main_loop_poll): Track netlink file descriptor and bump timestamp
8095 in case data becomes available.
8096 (main_loop_epoll): Likewise.
8097 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8098 (database_pers_head): Add extra_data fileds.
8099 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8100 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8101 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8102 Adjust caller.
8103 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8104 in6ai data, call __free_in6ai.
8105 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8106 Add -DHAVE_NETLINK.
8107 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8108 interface information. Reuse previous data if netlink timestamp
8109 is not changed.
8110 (__bump_nl_timestamp): New function.
8111 (__free_in6ai): New function.
8112
636064eb
UD
81132011-10-30 Ulrich Drepper <drepper@gmail.com>
8114
8115 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8116 close_not_cancel_no_status here.
8117 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8118
9beb2334
UD
81192011-10-29 Ulrich Drepper <drepper@gmail.com>
8120
6ef76f3b
UD
8121 [BZ #13276]
8122 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8123 return value.
8124
0ffc4f3e 8125 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8126 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8127 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8128
cb95113e
UD
81292011-07-03 Andreas Jaeger <aj@suse.de>
8130
8131 [BZ #10709]
8132 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8133 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8134 * math/libm-test.inc (sin_test): Add test case.
8135
a1b560ff
UD
81362011-10-29 Ulrich Drepper <drepper@gmail.com>
8137
c9aaface
UD
8138 [BZ #13337]
8139 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8140 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8141
d272e7f1
UD
8142 * elf/chroot_canon.c (chroot_canon): Cleanups.
8143
1bc33071
UD
8144 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8145
1760874d
TJ
8146 [BZ #13335]
8147 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8148 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8149
51d91b18
UD
8150 * string/test-strchr.c: Make usable for strchrnul testing.
8151 * string/test-strchrnul.c: New file.
8152 * string/Makefile (strop-tests): Add strchrnul.
8153
a1b560ff 8154 * po/it.po: Update from translation team.
b611fb81 8155 * po/es.po: Likewise.
a1b560ff 8156
a5b81e1f
UD
81572011-10-28 Ulrich Drepper <drepper@gmail.com>
8158
fd52bc6d
UD
8159 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8160 the three constants needed as parameters. Drop the others.
8161 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8162 __m128i_strloadu_tolower.
52e4b9eb
UD
8163 Create and initialize variable zero and use it in all the places
8164 where _mm_setzero_si128 was used.
fd52bc6d 8165
a5b81e1f
UD
8166 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8167 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8168 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8169 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8170 anymore.
8171 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8172 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8173 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8174 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8175 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8176 __mpranred, __mptan.
8177 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8178 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8179 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8180 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8181 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8182 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8183 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8184 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8185 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8186
b4343346
AS
81872011-10-28 Andreas Schwab <schwab@redhat.com>
8188
0c92d8a8
AS
8189 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8190 redefine if SHARED.
8191 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8192
b4343346
AS
8193 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8194 wide char related routines to wcsmbs subdir.
8195
3871f58f
AS
81962011-10-27 Andreas Schwab <schwab@redhat.com>
8197
8198 [BZ #13344]
8199 * misc/sys/cdefs.h (__THROWNL): Define.
8200 * posix/unistd.h: Use __THREADNL instead of __THREAD
8201 for memory synchronization functions.
8202
94d44d9f
RM
82032011-10-26 Roland McGrath <roland@hack.frob.com>
8204
21b64b15 8205 [BZ #13349]
94d44d9f
RM
8206 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8207 doesn't exist.
8208 * manual/stdio.texi (Obstack Streams): Node removed.
8209
f6ce9294
AS
82102011-10-26 Andreas Schwab <schwab@redhat.com>
8211
80479147
AS
8212 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8213 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8214 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8215
f6ce9294
AS
8216 * math/math_private.h (math_force_eval): Allow non-addressable
8217 arguments.
8218 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8219
618280a1
UD
82202011-10-25 Ulrich Drepper <drepper@gmail.com>
8221
e0016b11
UD
8222 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8223 file is not needed.
8224
8225 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8226 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8227 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8228 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8229 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8230 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8231 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8232 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8233 Add AVX variants.
8234 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8235 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8236 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8237 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8238 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8239 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8240 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8241 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8242 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8243 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8244 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8245 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8247 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8248 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8249 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8250 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8251 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8252 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8253
8254 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8255 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8256
618280a1
UD
8257 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8258 place. Use VEX encoding when compiling for AVX.
8259
37822576
AS
82602011-10-25 Andreas Schwab <schwab@redhat.com>
8261
1f1e1947
AS
8262 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8263 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8264
37822576
AS
8265 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8266
31ea014d
UD
82672011-10-25 Ulrich Drepper <drepper@gmail.com>
8268
d7826aa1 8269 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8270 useless if() expression.
d7826aa1
UD
8271 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8272 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8273 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8274 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8275 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8277 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8278 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8279 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8280 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8281 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8282 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8283 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8284 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8285 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8286 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8287 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8288 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8289 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8290
31ea014d
UD
8291 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8292
16437fec
AS
82932011-10-25 Andreas Schwab <schwab@redhat.com>
8294
8295 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8296 condition.
8297 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8298
31d3cc00
UD
82992011-10-25 Ulrich Drepper <drepper@gmail.com>
8300
8301 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8302 .text section. Avoid duplicate constants.
8303 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8304 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8305 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8306 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8307 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8308 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8309 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8310 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8311 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8312 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8313 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8314 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8315 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8316 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8317 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8318 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8319 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8320 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8321 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8322 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8326 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8327 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8328 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8329 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8330 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8331 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8332 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8333 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8334 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8335 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8336 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8337 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8338 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8339 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8340 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8341 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8342 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8343 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8344 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8346 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8347 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8348
58985aa9
UD
83492011-10-24 Ulrich Drepper <drepper@gmail.com>
8350
202c9deb
UD
8351 * sysdeps/x86_64/dla.h: Move to ...
8352 * sysdeps/x86_64/fpu/dla.h: ...here.
8353 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8354 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8355
af968f62
UD
8356 * config.make.in: Add have-mfma4 entry.
8357 * configure.in: Substitute libc_cv_cc_fma4.
8358 * math/Makefile (dbl-only-routines): Add sincostab.
8359 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8360 Use __sincostab not sincos.
8361 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8362 name is a macro.
8363 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8364 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8365 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8366 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8367 using __copysign.
8368 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8369 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8370 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8371 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8372 and __inv.
8373 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8374 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8375 __copysign.
8376 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8377 define aliases when function name is a macro.
8378 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8379 sysdeps/ieee754/dbl-64/sincos.tbl.
8380 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8381 fma4-enabled routines.
8382 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8383 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8384 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8385 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8386 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8387 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8388 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8389 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8390 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8391 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8392 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8393 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8394 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8395 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8396 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8400 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8401 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8412
58985aa9
UD
8413 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8414 rename.
8415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8421 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8422 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8423
a201fbcf
AS
84242011-10-24 Andreas Schwab <schwab@redhat.com>
8425
8426 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8427
fc2ee42a
LD
84282011-10-23 Ulrich Drepper <drepper@gmail.com>
8429
bb3129bd
UD
8430 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8431
0275fff8
UD
8432 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8433 prediction.
8434 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8435
2fa2ae85
UD
8436 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8437 Remove unused variable magic_bits.
8438 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8439
fc2ee42a
LD
8440 * string/strnlen.c: Define and use STRNLEN macro.
8441 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8442 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8444 * wcsmbs/wcslen.c: Define and use WCSLEN.
8445 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8446 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8447 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8448 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8449 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8450 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8451 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8452
ce7dd29f
LD
84532011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8454
8455 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8456 strnlen-sse2-no-bsf.
8457 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8458 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8459 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8460 Add strnlen support.
8461 (USE_AS_STRNLEN): New macro.
8462 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8463 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8464 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8465 * sysdeps/x86_64/wcslen.S: New file.
8466
979c70a3
MZ
84672011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8468
8469 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8470 XMM-moves are used for copying on small sizes.
8471
2d09f82f
LD
84722011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8473
8474 * wcsmbs/Makefile (strop-tests): Add wcschr.
8475 * wcsmbs/test-wcschr.c: New file.
8476 * string/test-strchr.c: Update.
8477 Add wcschr support.
8478 (WIDE): New macro.
8479
619fccca
LD
84802011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8481
2d09f82f 8482 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8483 * wcsmbs/test-wcslen.c: New file.
8484 * string/test-strlen.c: Update.
8485 Add wcslen support.
8486 (WIDE): New macro.
8487
09f699ea
UD
84882011-10-23 Ulrich Drepper <drepper@gmail.com>
8489
8490 * po/it.po: Update from translation team.
8491
95584d3b
LD
84922011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8493
8494 * sysdeps/x86_64/wcscmp.S: Update.
8495 Fix wrong comparison semantics.
8496 wcscmp shall use signed comparison not unsigned.
8497 Don't use substraction to avoid overflow bug.
8498 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8499 * wcsmbc/wcscmp.c: Likewise.
8500 * string/test-strcmp.c: Likewise.
8501 Add new tests to check cases with negative values.
8502
c8b3296b
UD
85032011-10-23 Ulrich Drepper <drepper@gmail.com>
8504
8505 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8506 * sysdeps/x86_64/dla.h: ...here. New file.
8507 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8509 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8510 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8516
246ad57a
AS
85172011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8518
8519 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8520 __ynl_finite aliases.
8521
a1a87169
UD
85222011-10-22 Ulrich Drepper <drepper@gmail.com>
8523
0d355eb7
UD
8524 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8525
a1a87169
UD
8526 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8527 define DLA_FMA.
8528 [DLA_FMA] (EMULV): Use DLA_FMA.
8529 [DLA_FMA] (MUL12): Use EMULV.
8530 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8531 that are not needed.
8532 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8535 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8536 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8539
ee2aafe0
AS
85402011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8541
8542 * math/s_nan.c: Undef __nan.
8543 * math/s_nanf.c: Undef __nanf.
8544 * math/s_nanl.c: Undef __nanl.
8545 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8546 "math_private.h".
8547
bc62c2fb
UD
85482011-10-22 Ulrich Drepper <drepper@gmail.com>
8549
77425c63
UD
8550 * math/s_catan.c: Add branch predictions.
8551 * math/s_catanf.c: Likewise.
8552 * math/s_catanh.c: Likewise.
8553 * math/s_catanhf.c: Likewise.
8554 * math/s_catanhl.c: Likewise.
8555 * math/s_catanl.c: Likewise.
8556 * math/s_cexp.c: Likewise.
8557 * math/s_cexpf.c: Likewise.
8558 * math/s_cexpl.c: Likewise.
8559 * math/s_clog.c: Likewise.
8560 * math/s_clog10.c: Likewise.
8561 * math/s_clog10f.c: Likewise.
8562 * math/s_clog10l.c: Likewise.
8563 * math/s_clogf.c: Likewise.
8564 * math/s_clogl.c: Likewise.
8565 * math/s_csqrt.c: Likewise.
8566 * math/s_csqrtf.c: Likewise.
8567 * math/s_csqrtl.c: Likewise.
8568 * math/s_ctanf.c: Likewise.
8569 * math/s_ctanh.c: Likewise.
8570 * math/s_ctanhf.c: Likewise.
8571 * math/s_ctanhl.c: Likewise.
8572 * math/s_ctanl.c: Likewise.
8573
bc62c2fb
UD
8574 * math/math_private.h: Define __nan, __nanf, __nanl.
8575 * math/s_cacosh.c: Include <math_private.h>.
8576 * math/s_cacoshl.c: Likewise.
8577 * math/s_casinh.c: Likewise.
8578 * math/s_casinhf.c: Likewise.
8579 * math/s_casinhl.c: Likewise.
8580 * math/s_ccos.c: Rely entire on ccosh.
8581 * math/s_ccosf.c: Rely entire on ccoshf.
8582 * math/s_ccosl.c: Rely entirely on ccoshl.
8583 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8584 Remove tests for FE_INVALID.
8585 * math/s_ccoshf.c: Likewise.
8586 * math/s_ccoshl.c: Likewise.
8587 * math/s_csin.c: Likewise.
8588 * math/s_csinf.c: Likewise.
8589 * math/s_csinh.c Likewise.
8590 * math/s_csinhf.c: Likewise.
8591 * math/s_csinhl.c: Likewise.
8592 * math/s_csinl.c: Likewise.
8593 * math/s_ctan.c: Likewise.
8594 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8595 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8596 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8597
8ec250a4
UD
85982011-10-21 Ulrich Drepper <drepper@gmail.com>
8599
c196fed8
UD
8600 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8601 compilation problems.
8602
8ec250a4
UD
8603 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8604 __builtin_expect.
8605
8d4f46c6
UD
86062011-10-20 Ulrich Drepper <drepper@gmail.com>
8607
ed72b654
UD
8608 * sysdeps/i386/configure.in: Test for -mfma4 option.
8609 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8610 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8611 COMMON_CPUID_INDEX_80000001.
8612 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8613 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8614 use it if FMA3 is not supported.
8615 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8616
8d4f46c6
UD
8617 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8618 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8619
d45c60c2
AS
86202011-10-20 Andreas Schwab <schwab@redhat.com>
8621
8622 [BZ #12892]
8623 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8624 it would create a cycle with a link time dependency.
8625
d9a4d2ab
UD
86262011-10-19 Ulrich Drepper <drepper@gmail.com>
8627
855d1560
UD
8628 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8629 instruction.
8630 * string/Makefile (strop-tests): Add rawmemchr.
8631 * string/test-rawmemchr.c: New file.
8632
d9a4d2ab
UD
8633 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8634 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8635 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8636 when compiling str{,n}casecmp and when AVX is available. Hook up
8637 new optimized code in initializers.
8638
8f3b1ffe
AS
86392011-10-19 Andreas Schwab <schwab@redhat.com>
8640
8641 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8642 __feraiseexcept instead of feraiseexcept.
8643
d38f1dba
UD
86442011-10-18 Ulrich Drepper <drepper@gmail.com>
8645
d9a8d0ab
UD
8646 * math/math_private.h: Define defaults for libc_fetestexcept and
8647 libc_feupdateenv.
8648 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8649 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8650 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8651 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8652 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8653 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8654 libc_fetestexcept and libc_feupdateenv.
8655
4855e3dd
UD
8656 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8657 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8658 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8659 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8660 libc_feholdexcept_setround.
8661
581d30e3
UD
8662 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8663 Add s_nearbyint-c and s_nearbyintf-c.
8664 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8665 nearbyintf inlines.
8666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8667 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8669 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8670
d38f1dba
UD
8671 * math/math_private.h: Define defaults for libc_fegetround,
8672 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8673 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8674 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8675 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8676 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8677 standard functions.
8678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8679 Remove comments and hacks for old compiler versions.
8680 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8681 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8682 libc_feholdexceptl.
8683
caa6c9d8
AS
86842011-10-18 Andreas Schwab <schwab@redhat.com>
8685
8686 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8687 (__feraiseexcept_renamed): Add __NTH.
8688 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8689 namespace violations.
8690
97c066e6
UD
86912011-10-17 Ulrich Drepper <drepper@gmail.com>
8692
99ce7b04
UD
8693 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8694
1004d182
UD
8695 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8696
228a984d
UD
8697 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8698 recently added interfaces.
8699 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8700
c8553a6a
UD
8701 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8702 about macro parameter expansion.
8703
ed22dcf6
UD
8704 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8705 __NO_MATH_INLINES is defined. Cleanups.
8706
8707 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8708 and __floorf is target has SSE4.1.
8709 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8710 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8711 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8712 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8713
b171c137
UD
8714 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8715 name.
8716 (floorf): Likewise.
8717
97c066e6
UD
8718 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8719
629f62ef
AS
87202011-10-17 Andreas Schwab <schwab@redhat.com>
8721
49a43d80
AS
8722 * misc/sys/cdefs.h: Fix last change.
8723
629f62ef
AS
8724 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8725 database lookup.
8726
e453f6cd
UD
87272011-10-16 Ulrich Drepper <drepper@gmail.com>
8728
aa78043a
UD
8729 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8730
ad0f5cad
UD
8731 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8732 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8737 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8738 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8739 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8740 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8741 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8742 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8743 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8744 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8745 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8746 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8747 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8748 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8749 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8750 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8751 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8752 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8753
8754 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8755 ceil, ceilf, floor, floorf.
8756
8757 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8758 Perform IRELATIVE relocations last.
8759
e453f6cd
UD
8760 * elf/do-rel.h: Add another parameter nrelative, replacing the
8761 local variable with the same name. Change name of the function
8762 to end in Rel or Rela (uppercase).
8763 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8764 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8765 elf_dynamic_do_##reloc function.
8766
fd5bdc09
UD
87672011-10-15 Ulrich Drepper <drepper@gmail.com>
8768
79b195b5
UD
8769 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8770 is sufficient, at least on modern CPUs.
8771
d4a28569
UD
8772 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8773
b61099b5
UD
8774 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8775 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8776
bcf01e6d
UD
8777 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8778 __expl_finite.
8779 * math/bits/math-finite.h: Add entries for exp.
8780 * math/e_expl.c: Add __*_finite alias.
8781 * sysdeps/i386/fpu/e_exp.S: Likewise.
8782 * sysdeps/i386/fpu/e_expf.S: Likewise.
8783 * sysdeps/i386/fpu/e_expl.c: Likewise.
8784 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8785 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8786 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8787 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8788 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8789 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8790 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8791
ba1a0d59
UD
8792 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8793 is sufficient, at least on modern CPUs.
8794
fd5bdc09
UD
8795 * ctype/ctype-info.c (__ctype_init): Define.
8796 * include/ctype.h (__ctype_init): Declare.
8797 (__ctype_b_loc): The variable is always initialized.
8798 (__ctype_toupper_loc): Likewise.
8799 (__ctype_tolower_loc): Likewise.
8800 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8801 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8802
7872cfb0
AS
88032011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8804
b468825a
AS
8805 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8806
7872cfb0
AS
8807 * configure.in: Also look in $cxxmachine/include for C++ system
8808 headers.
8809
be13f7bf
LD
88102011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8811
8812 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8813 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8814 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8815 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8816 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8817 (USE_AS_WMEMCMP): New macro.
8818 Fixing indents.
8819 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8820 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8821 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8822 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8823 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8824 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8825 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8826 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8827 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8828 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8829 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8830 (USE_AS_WMEMCMP): New macro.
8831 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8832 * sysdeps/string/test-memcmp.c: Update.
8833 Fix simple_wmemcmp.
8834 Add new tests.
8835 * wcsmbs/wmemcmp.c: Update.
8836 (WMEMCMP): New macro.
8837 Fix overflow bug.
8838
556a2007
AJ
88392011-10-12 Andreas Jaeger <aj@suse.de>
8840
8841 [BZ #13268]
8842 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8843
538faaa7
UD
88442011-10-15 Ulrich Drepper <drepper@gmail.com>
8845
ab6737ff
UD
8846 * libio/iofwide.c (do_length): Avoid warning.
8847
538faaa7
UD
8848 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8849
396a21b1
UD
88502011-10-14 Ulrich Drepper <drepper@gmail.com>
8851
cdf2901f
UD
8852 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8853
38ad40ce
UD
8854 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8855 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8856 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8857 * sysdeps/i386/i686/fpu/e_log.S: New file.
8858 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8859 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8860
396a21b1
UD
8861 * ctype/ctype.h: Add support for inlined isXXX functions when
8862 compiling C++ code.
8863
6b1f68c9
AS
88642011-10-14 Andreas Schwab <schwab@redhat.com>
8865
349290c0
AS
8866 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8867
6b1f68c9
AS
8868 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8869
f2282d42
RM
88702011-10-13 Roland McGrath <roland@hack.frob.com>
8871
8872 [BZ #13291]
8873 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8874
5298ffa8
AS
88752011-10-13 Andreas Schwab <schwab@redhat.com>
8876
714fad23
AS
8877 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8878 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8879 feraiseexcept.
8880
81dcc7fb
AS
8881 * sysdeps/x86_64/memrchr.S: Check for zero size.
8882
5298ffa8
AS
8883 * string/stratcliff.c: Add memrchr tests.
8884
951fbcec
LD
88852011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8886
8887 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8888 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8889 rawmemchr-sse2 rawmemchr-sse2-bsf.
8890 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8891 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8892 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8893 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8894 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8895 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8896 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8897 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8898 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8899 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8900 * string/memrchr.c (MEMRCHR): New macro.
8901
0ac5ae23
UD
89022011-10-12 Ulrich Drepper <drepper@gmail.com>
8903
8904 Add integration with gcc's -ffinite-math-only and optimize wrapper
8905 functions in libm.
8906 * Versions.def: Define GLIBC_2.15 version for libm.
8907 * math/Makefile (headers): Add bits/math-finite.h.
8908 * math/bits/math-finite.h: New file.
8909 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8910 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8911 * math/e_acoshl.c: Add __*_finite alias.
8912 * math/e_acosl.c: Likewise.
8913 * math/e_asinl.c: Likewise.
8914 * math/e_atan2l.c: Likewise.
8915 * math/e_atanhl.c: Likewise.
8916 * math/e_coshl.c: Likewise.
8917 * math/e_exp10.c: Likewise.
8918 * math/e_exp10f.c: Likewise.
8919 * math/e_exp10l.c: Likewise.
8920 * math/e_exp2l.c: Likewise.
8921 * math/e_fmodl.c: Likewise.
8922 * math/e_gammal_r.c: Likewise.
8923 * math/e_hypotl.c: Likewise.
8924 * math/e_j0l.c: Likewise.
8925 * math/e_j1l.c: Likewise.
8926 * math/e_jnl.c: Likewise.
8927 * math/e_lgammal_r.c: Likewise.
8928 * math/e_log10l.c: Likewise.
8929 * math/e_log2l.c: Likewise.
8930 * math/e_logl.c: Likewise.
8931 * math/e_powl.c: Likewise.
8932 * math/e_sinhl.c: Likewise.
8933 * math/e_sqrtl.c: Likewise.
8934 * math/e_scalb.c: Completely rewritten and optimized.
8935 * math/e_scalbf.c: Likewise.
8936 * math/e_scalbl.c: Likewise.
8937 * math/w_acos.c: Likewise.
8938 * math/w_acosf.c: Likewise.
8939 * math/w_acosl.c: Likewise.
8940 * math/w_acosh.c: Likewise.
8941 * math/w_acoshf.c: Likewise.
8942 * math/w_acoshl.c: Likewise.
8943 * math/w_asin.c: Likewise.
8944 * math/w_asinf.c: Likewise.
8945 * math/w_asinl.c: Likewise.
8946 * math/w_atan2.c: Likewise.
8947 * math/w_atan2f.c: Likewise.
8948 * math/w_atan2l.c: Likewise.
8949 * math/w_atanh.c: Likewise.
8950 * math/w_atanhf.c: Likewise.
8951 * math/w_atanhl.c: Likewise.
8952 * math/w_exp10.c: Likewise.
8953 * math/w_exp10f.c: Likewise.
8954 * math/w_exp10l.c: Likewise.
8955 * math/w_fmod.c: Likewise.
8956 * math/w_fmodf.c: Likewise.
8957 * math/w_fmodl.c: Likewise.
8958 * math/w_j0.c: Likewise.
8959 * math/w_j0f.c: Likewise.
8960 * math/w_j0l.c: Likewise.
8961 * math/w_j1.c: Likewise.
8962 * math/w_j1f.c: Likewise.
8963 * math/w_j1l.c: Likewise.
8964 * math/w_jn.c: Likewise.
8965 * math/w_jnf.c: Likewise.
8966 * math/w_log.c: Likewise.
8967 * math/w_logf.c: Likewise.
8968 * math/w_logl.c: Likewise.
8969 * math/w_log10.c: Likewise.
8970 * math/w_log10f.c: Likewise.
8971 * math/w_log10l.c: Likewise.
8972 * math/w_log2.c: Likewise.
8973 * math/w_log2f.c: Likewise.
8974 * math/w_log2l.c: Likewise.
8975 * math/w_pow.c: Likewise.
8976 * math/w_powf.c: Likewise.
8977 * math/w_powl.c: Likewise.
8978 * math/w_remainder.c: Likewise.
8979 * math/w_remainderf.c: Likewise.
8980 * math/w_remainderl.c: Likewise.
8981 * math/w_scalb.c: Likewise.
8982 * math/w_scalbf.c: Likewise.
8983 * math/w_scalbl.c: Likewise.
8984 * math/w_sqrt.c: Likewise.
8985 * math/w_sqrtf.c: Likewise.
8986 * math/w_sqrtl.c: Likewise.
8987 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
8988 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
8989 used.
8990 * math/math_private.h: Declare __kernel_standard_f.
8991 * math/w_cosh.c: Remove cruft and optimize a bit.
8992 * math/w_coshf.c: Likewise.
8993 * math/w_coshl.c: Likewise.
8994 * math/w_exp2.c: Likewise.
8995 * math/w_exp2f.c: Likewise.
8996 * math/w_exp2l.c: Likewise.
8997 * math/w_hypot.c: Likewise.
8998 * math/w_hypotf.c: Likewise.
8999 * math/w_hypotl.c: Likewise.
9000 * math/w_lgamma.c: Likewise.
9001 * math/w_lgamma_r.c: Likewise.
9002 * math/w_lgammaf.c: Likewise.
9003 * math/w_lgammaf_r.c: Likewise.
9004 * math/w_lgammal.c: Likewise.
9005 * math/w_lgammal_r.c: Likewise.
9006 * math/w_sinh.c: Likewise.
9007 * math/w_sinhf.c: Likewise.
9008 * math/w_sinhl.c: Likewise.
9009 * math/w_tgamma.c: Likewise.
9010 * math/w_tgammaf.c: Likewise.
9011 * math/w_tgammal.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9013 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9014 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9015 Minor optimizations. Pretty printing. Remove cruft.
9016 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9017 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9018 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9019 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9020 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9021 * sysdeps/i386/fpu/e_asin.S: Likewise.
9022 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9023 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9024 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9025 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9026 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9027 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9029 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9030 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9031 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9032 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9033 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9034 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9035 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9036 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9037 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9038 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9039 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9040 * sysdeps/i386/fpu/e_log.S: Likewise.
9041 * sysdeps/i386/fpu/e_log10.S: Likewise.
9042 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9043 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9044 * sysdeps/i386/fpu/e_log2.S: Likewise.
9045 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9046 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9047 * sysdeps/i386/fpu/e_logf.S: Likewise.
9048 * sysdeps/i386/fpu/e_logl.S: Likewise.
9049 * sysdeps/i386/fpu/e_pow.S: Likewise.
9050 * sysdeps/i386/fpu/e_powf.S: Likewise.
9051 * sysdeps/i386/fpu/e_powl.S: Likewise.
9052 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9053 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9054 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9055 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9056 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9057 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9058 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9059 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9060 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9061 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9062 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9063 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9064 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9065 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9066 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9067 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9068 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9069 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9070 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9071 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9076 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9078 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9079 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9082 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9083 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9084 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9085 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9086 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9087 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9088 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9089 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9090 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9091 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9092 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9093 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9094 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9095 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9096 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9097 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9098 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9099 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9100 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9101 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9102 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9107 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9108 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9109 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9110 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9111 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9112 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9113 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9114 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9115 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9116 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9117 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9118 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9119 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9120 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9121 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9141 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9144 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9145 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9146 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9147 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9149 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9151 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9152 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9153 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9154 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9155 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9156 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9157 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9158 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9159 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9160 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9161 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9162 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9163 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9164 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9165 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9166 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9167 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9168 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9169 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9170 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9171 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9172 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9173 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9174 (__isnanf): Likewise.
9175 (__isinf_ns): Likewise.
9176 (__isinf_nsf): Likewise.
9177 (__finite): Likewise.
9178 (__finitef): Likewise.
9179 (__ieee754_sqrt): Define as macro.
9180 (__ieee754_sqrtf): Define as macro.
9181 (__ieee754_sqrtl): Define as macro.
9182 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9183 inlined copy.
9184 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9185 __FINITE_MATH_ONLY__ consistent.
9186 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9187
12cc2fcd
AS
91882011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9189
a843a204
AS
9190 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9191 of rawmemchr.
9192
12cc2fcd
AS
9193 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9194
c853acd5
UD
91952011-10-09 Ulrich Drepper <drepper@gmail.com>
9196
9197 * po/ja.po: Update from translation team.
9198
c658d255
RM
91992011-10-08 Roland McGrath <roland@hack.frob.com>
9200
110946e4
RM
9201 * locale/programs/locarchive.c (prepare_address_space): New function.
9202 (create_archive, enlarge_archive, open_archive): Use it.
9203
50604220
RM
9204 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9205 inside [SHARED], where it is used.
9206
c658d255
RM
9207 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9208
9209 * nss/getent.c (netgroup_keys): Remove unused variable.
9210 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9211
6a621eb7
UD
92122011-10-08 Ulrich Drepper <drepper@gmail.com>
9213
7edb55ce
UD
9214 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9215 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9216 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9217 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9218 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9219 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9220 * math/Makefile (libm-calls): Add s_isinf_ns.
9221 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9222 * math/multc3.c: Likewise.
9223 * math/s_casin.c: Likewise.
9224 * math/s_casinf.c: Likewise.
9225 * math/s_casinl.c: Likewise.
9226 * math/s_ccos.c: Likewise.
9227 * math/s_ccosf.c: Likewise.
9228 * math/s_ccosl.c: Likewise.
9229 * math/s_ctan.c: Likewise.
9230 * math/s_ctanf.c: Likewise.
9231 * math/s_ctanh.c: Likewise.
9232 * math/s_ctanhf.c: Likewise.
9233 * math/s_ctanhl.c: Likewise.
9234 * math/s_ctanl.c: Likewise.
9235 * math/w_fmod.c: Likewise.
9236 * math/w_fmodf.c: Likewise.
9237 * math/w_fmodl.c: Likewise.
9238 * math/w_remainder.c: Likewise.
9239 * math/w_remainderf.c: Likewise.
9240 * math/w_remainderl.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9242 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9243 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9245 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9246 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9247 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9248 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9249
187da0ae
UD
9250 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9251 of the number.
9252 * stdio-common/printf_fphex.c: Likewise.
9253 * stdio-common/printf_size.c: Likewise.
9254
9277c064
UD
9255 * math/e_exp10.c: Include math_private.h using <...> not "...".
9256 * math/e_exp10f.c: Likewise.
9257 * math/e_exp10l.c: Likewise.
9258 * math/e_exp2l.c: Likewise.
9259 * math/e_j0l.c: Likewise.
9260 * math/e_j1l.c: Likewise.
9261 * math/e_jnl.c: Likewise.
9262 * math/e_lgammal_r.c: Likewise.
9263 * math/e_rem_pio2l.c: Likewise.
9264 * math/e_scalb.c: Likewise.
9265 * math/e_scalbf.c: Likewise.
9266 * math/e_scalbl.c: Likewise.
9267 * math/k_cosl.c: Likewise.
9268 * math/k_sinl.c: Likewise.
9269 * math/k_tanl.c: Likewise.
9270 * math/s_cacoshf.c: Likewise.
9271 * math/s_catan.c: Likewise.
9272 * math/s_catanf.c: Likewise.
9273 * math/s_catanh.c: Likewise.
9274 * math/s_catanhf.c: Likewise.
9275 * math/s_catanhl.c: Likewise.
9276 * math/s_catanl.c: Likewise.
9277 * math/s_ccosh.c: Likewise.
9278 * math/s_ccoshf.c: Likewise.
9279 * math/s_ccoshl.c: Likewise.
9280 * math/s_cexp.c: Likewise.
9281 * math/s_cexpf.c: Likewise.
9282 * math/s_cexpl.c: Likewise.
9283 * math/s_clog.c: Likewise.
9284 * math/s_clog10.c: Likewise.
9285 * math/s_clog10f.c: Likewise.
9286 * math/s_clog10l.c: Likewise.
9287 * math/s_clogf.c: Likewise.
9288 * math/s_clogl.c: Likewise.
9289 * math/s_csin.c: Likewise.
9290 * math/s_csinf.c: Likewise.
9291 * math/s_csinh.c: Likewise.
9292 * math/s_csinhf.c: Likewise.
9293 * math/s_csinhl.c: Likewise.
9294 * math/s_csinl.c: Likewise.
9295 * math/s_csqrt.c: Likewise.
9296 * math/s_csqrtf.c: Likewise.
9297 * math/s_csqrtl.c: Likewise.
9298 * math/s_ctan.c: Likewise.
9299 * math/s_ctanf.c: Likewise.
9300 * math/s_ctanh.c: Likewise.
9301 * math/s_ctanhf.c: Likewise.
9302 * math/s_ctanhl.c: Likewise.
9303 * math/s_ctanl.c: Likewise.
9304 * math/s_ldexp.c: Likewise.
9305 * math/s_ldexpf.c: Likewise.
9306 * math/s_ldexpl.c: Likewise.
9307 * math/s_significand.c: Likewise.
9308 * math/s_significandf.c: Likewise.
9309 * math/s_significandl.c: Likewise.
9310 * math/w_acos.c: Likewise.
9311 * math/w_acosf.c: Likewise.
9312 * math/w_acosh.c: Likewise.
9313 * math/w_acoshf.c: Likewise.
9314 * math/w_acoshl.c: Likewise.
9315 * math/w_acosl.c: Likewise.
9316 * math/w_asin.c: Likewise.
9317 * math/w_asinf.c: Likewise.
9318 * math/w_asinl.c: Likewise.
9319 * math/w_atan2.c: Likewise.
9320 * math/w_atan2f.c: Likewise.
9321 * math/w_atan2l.c: Likewise.
9322 * math/w_atanh.c: Likewise.
9323 * math/w_atanhf.c: Likewise.
9324 * math/w_atanhl.c: Likewise.
9325 * math/w_cosh.c: Likewise.
9326 * math/w_coshf.c: Likewise.
9327 * math/w_coshl.c: Likewise.
9328 * math/w_dremf.c: Likewise.
9329 * math/w_exp10.c: Likewise.
9330 * math/w_exp10f.c: Likewise.
9331 * math/w_exp10l.c: Likewise.
9332 * math/w_exp2.c: Likewise.
9333 * math/w_exp2f.c: Likewise.
9334 * math/w_fmod.c: Likewise.
9335 * math/w_fmodf.c: Likewise.
9336 * math/w_fmodl.c: Likewise.
9337 * math/w_hypot.c: Likewise.
9338 * math/w_hypotf.c: Likewise.
9339 * math/w_hypotl.c: Likewise.
9340 * math/w_j0.c: Likewise.
9341 * math/w_j0f.c: Likewise.
9342 * math/w_j0l.c: Likewise.
9343 * math/w_j1.c: Likewise.
9344 * math/w_j1f.c: Likewise.
9345 * math/w_j1l.c: Likewise.
9346 * math/w_jn.c: Likewise.
9347 * math/w_jnf.c: Likewise.
9348 * math/w_jnl.c: Likewise.
9349 * math/w_lgamma.c: Likewise.
9350 * math/w_lgamma_r.c: Likewise.
9351 * math/w_lgammaf.c: Likewise.
9352 * math/w_lgammaf_r.c: Likewise.
9353 * math/w_lgammal.c: Likewise.
9354 * math/w_lgammal_r.c: Likewise.
9355 * math/w_log.c: Likewise.
9356 * math/w_log10.c: Likewise.
9357 * math/w_log10f.c: Likewise.
9358 * math/w_log10l.c: Likewise.
9359 * math/w_log2.c: Likewise.
9360 * math/w_log2f.c: Likewise.
9361 * math/w_log2l.c: Likewise.
9362 * math/w_logf.c: Likewise.
9363 * math/w_logl.c: Likewise.
9364 * math/w_pow.c: Likewise.
9365 * math/w_powf.c: Likewise.
9366 * math/w_powl.c: Likewise.
9367 * math/w_remainder.c: Likewise.
9368 * math/w_remainderf.c: Likewise.
9369 * math/w_remainderl.c: Likewise.
9370 * math/w_scalb.c: Likewise.
9371 * math/w_scalbf.c: Likewise.
9372 * math/w_scalbl.c: Likewise.
9373 * math/w_sinh.c: Likewise.
9374 * math/w_sinhf.c: Likewise.
9375 * math/w_sinhl.c: Likewise.
9376 * math/w_sqrt.c: Likewise.
9377 * math/w_sqrtf.c: Likewise.
9378 * math/w_sqrtl.c: Likewise.
9379 * math/w_tgamma.c: Likewise.
9380 * math/w_tgammaf.c: Likewise.
9381 * math/w_tgammal.c: Likewise.
9382
6a621eb7
UD
9383 * po/ja.po: Update from translation team.
9384
bf582445
AJ
93852011-09-29 Andreas Jaeger <aj@suse.de>
9386
f9efbf3a
AJ
9387 [BZ #13179]
9388 * sunrpc/netname.c (netname2host): Fix logic.
9389
bf582445
AJ
9390 [BZ #6779]
9391 [BZ #6783]
9392 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9393 correctly.
9394 * math/w_remainder.c (__remainder): Likewise.
9395 * math/w_remainderf.c (__remainderf): Likewise.
9396 * math/libm-test.inc (remainder_test): Add test cases.
9397
48693bea
AK
93982011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9399
9400 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9401 sdiv_qrnnd.
9402
42622229
LD
94032011-10-07 Ulrich Drepper <drepper@gmail.com>
9404
9405 * string/test-memcmp.c: Avoid unncessary #defines.
9406 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9407
093ecf92
LD
94082011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9409
9410 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9411 Use new sse2 version for core i3 - i7 as it's faster
9412 than sse42 version.
9413 (bit_Prefer_PMINUB_for_stringop): New.
9414 * sysdeps/x86_64/rawmemchr.S: Update.
9415 Replace with faster SSE2 version.
9416 * sysdeps/x86_64/memrchr.S: New file.
9417 * sysdeps/x86_64/memchr.S: Update.
9418 Replace with faster SSE2 version.
9419
fde56e5c
MP
94202011-09-12 Marek Polacek <mpolacek@redhat.com>
9421
9422 * elf/dl-load.c (lose): Add cast to avoid warning.
9423
21fd49a9
UD
94242011-10-07 Ulrich Drepper <drepper@gmail.com>
9425
5a06e643
UD
9426 * po/ca.po: Update from translation team.
9427
684ae515
UD
9428 * inet/getnetgrent_r.c: Hook up nscd.
9429 * nscd/Makefile (routines): Add nscd_netgroup.
9430 (nscd-modules): Add netgroupcache.
9431 (CFLAGS-netgroupcache.c): Define.
9432 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9433 (cache_search): Add const to second parameter.
9434 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9435 INNETGR.
9436 (dbs): Add netgrdb entry.
9437 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9438 (verify_persistent_db): Handle netgrdb.
9439 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9440 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9441 GETFDNETGR.
9442 (netgroup_response_header): Define.
9443 (innetgroup_response_header): Define.
9444 (datahead): Add netgroup_response_header and innetgroup_response_header
9445 elements.
9446 * nscd/nscd.conf: Add entries for netgroup cache.
9447 * nscd/nscd.h (dbtype): Add netgrdb.
9448 (_PATH_NSCD_NETGROUP_DB): Define.
9449 (netgroup_iov_disabled): Declare.
9450 (xmalloc, xcalloc, xrealloc): Move declarations here.
9451 (cache_search): Adjust prototype.
9452 Add netgroup-related prototypes.
9453 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9454 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9455 (__nscd_innetgr): Declare.
9456 * nscd/selinux.c (perms): Use access_vector_t as element type and
9457 add netgroup-related initializers.
9458 * nscd/netgroupcache.c: New file.
9459 * nscd/nscd_netgroup.c: New file.
9460 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9461 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9462 For four parameters use innetgr.
9463 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9464 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9465 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9466 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9467
21fd49a9
UD
9468 * nscd/connections.c (register_traced_file): Don't register file
9469 for disabled databases.
9470
054c0457
UD
94712011-10-06 Ulrich Drepper <drepper@gmail.com>
9472
32b63198
UD
9473 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9474
054c0457
UD
9475 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9476 from tree and freeing node.
9477
64031225
JO
94782011-09-25 Jiri Olsa <jolsa@redhat.com>
9479
9480 * nss/nsswitch.c (__nss_database_lookup): Handle
9481 nss_parse_service_list out of memory case.
9482
0490345c
JO
94832011-09-15 Jiri Olsa <jolsa@redhat.com>
9484
9485 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9486 out of memory case.
9487
3a62d00d
AS
94882011-10-04 Andreas Schwab <schwab@redhat.com>
9489
9490 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9491 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9492 pass it down.
9493 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9494 elf_machine_rela, elf_machine_lazy_rel.
9495 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9496 (ELF_DYNAMIC_DO_REL): Likewise.
9497 (ELF_DYNAMIC_DO_RELA): Likewise.
9498 (ELF_DYNAMIC_RELOCATE): Likewise.
9499 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9500 to ELF_DYNAMIC_DO_REL.
9501 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9502 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9503 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9504 elf_machine_rela.
9505 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9506 skip_ifunc, don't call ifunc function if non-zero.
9507 (elf_machine_rela): Likewise.
9508 (elf_machine_lazy_rel): Likewise.
9509 (elf_machine_lazy_rela): Likewise.
9510 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9511 (elf_machine_lazy_rel): Likewise.
9512 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9513 Likewise.
9514 (elf_machine_lazy_rel): Likewise.
9515 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9516 Likewise.
9517 (elf_machine_lazy_rel): Likewise.
9518 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9519 (elf_machine_lazy_rel): Likewise.
9520 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9521 (elf_machine_lazy_rel): Likewise.
9522 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9523 (elf_machine_lazy_rel): Likewise.
9524 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9525 (elf_machine_lazy_rel): Likewise.
9526 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9527 (elf_machine_lazy_rel): Likewise.
9528 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9529 (elf_machine_lazy_rel): Likewise.
9530
68577918
UD
95312011-09-28 Ulrich Drepper <drepper@gmail.com>
9532
9533 * nss/nss_files/files-init.c (_nss_files_init): Use static
9534 initialization for all the *_traced_file variables.
9535
68822d74
AS
95362011-09-28 Andreas Schwab <schwab@redhat.com>
9537
9538 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9539
2056100b
RM
95402011-09-27 Roland McGrath <roland@hack.frob.com>
9541
9542 [BZ #13226]
9543 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9544
32c76b63
AS
95452011-09-27 Andreas Schwab <schwab@redhat.com>
9546
9547 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9548 Reread the line before reparsing it.
9549
bf972c9d
AS
95502011-09-26 Andreas Schwab <schwab@redhat.com>
9551
9552 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9553
e057a1b5
JM
95542011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9555 Maxim Kuvyrkov <maxim@codesourcery.com>
9556 Joseph Myers <joseph@codesourcery.com>
9557
9558 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9559 if needed for __stack_chk_guard.
9560
bc7e1c36
RM
95612011-09-19 Roland McGrath <roland@hack.frob.com>
9562
ecb1482f
RM
9563 * sysdeps/posix/spawni.c (script_execute): Always define it.
9564 It will be optimized away if unused.
9565 (maybe_script_execute): New function.
9566 (__spawni): Call it.
9567
bc7e1c36
RM
9568 * Makerules: Don't include tls.make.
9569 (config-tls): Always set to thread.
9570 * tls.make.c: File removed.
9571
1c3b002b
MF
95722011-09-19 Mike Frysinger <vapier@gentoo.org>
9573
9574 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9575 * config.make.in (CPPFLAGS-config): New substituted variable.
9576
2840865d
UD
95772011-09-15 Ulrich Drepper <drepper@gmail.com>
9578
88738eb6
UD
9579 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9580
cbf645a6 9581 [BZ #13192]
2840865d
UD
9582 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9583 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9584
b402e91a
RM
95852011-09-15 Roland McGrath <roland@hack.frob.com>
9586
9587 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9588 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9589 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9590 (CALL_FAIL): Likewise.
9591 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9592 (CALL_FAIL): Macro removed.
9593 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9594
4c1a1f71
UD
95952011-09-15 Ulrich Drepper <drepper@gmail.com>
9596
9597 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9598 for __FINITE_MATH_ONLY__ == 1.
9599
edc121be
AS
96002011-09-15 Andreas Schwab <schwab@redhat.com>
9601
9602 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9603 __ieee754_sqrt instead of sqrt.
9604 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9605 __ieee754_sqrtf instead of sqrtf.
9606 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9607 __floorf instead of floorf.
9608 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9609 __floorf, __truncf instead of floorf, truncf.
9610
cd205654
UD
96112011-09-14 Ulrich Drepper <drepper@gmail.com>
9612
ee4d0315
UD
9613 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9614
cd205654
UD
9615 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9616 __extern_always_inline.
9617 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9618 32-bit.
9619
48b67d71
AS
96202011-09-14 Andreas Schwab <schwab@redhat.com>
9621
9622 * elf/rtld.c (dl_main): Also relocate in dependency order when
9623 doing symbol dependency testing.
9624
1ae12c75
AS
96252011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9626
9627 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9628 Always define `refsym'.
9629
995a80df
AS
96302011-09-13 Andreas Schwab <schwab@redhat.com>
9631
e529793b
AS
9632 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9633 (__FD_ELT): Renamed from __FDELT.
9634 * misc/bits/select2.h (__FD_ELT): Likewise.
9635 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9636 __FD_MASK instead of __FDELT, __FDMASK.
9637 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9638 Likewise.
9639 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9640 Likewise.
9641
52d4fef8
AS
9642 * elf/Makefile (gen-ldd): Fix pattern.
9643
995a80df
AS
9644 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9645 (init_tls): Likewise.
9646
8682f8b0
UD
96472011-09-12 Ulrich Drepper <drepper@gmail.com>
9648
9649 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9650
de82006d
AS
96512011-09-12 Andreas Schwab <schwab@redhat.com>
9652
a7c8e6a1
AS
9653 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9654 `struct cmsghdr *' instead of `void *'.
9655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9656 Likewise.
9657
0f31fe77
AS
96582011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9659
9660 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9661 if non-absolute.
9662 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9663 ldd_rewrite_script.
0f31fe77 9664
32b4c839
UD
96652011-09-11 Ulrich Drepper <drepper@gmail.com>
9666
83cd1420
UD
9667 * configure.in: Remove --with-tls option.
9668 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9669 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9670 out in case it is missing.
9671 * sysdeps/ia64/elf/configure.in: Likewise.
9672 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9673 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9674 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9675 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9676 * sysdeps/sh/elf/configure.in: Likewise.
9677 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9678 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9679 * sysdeps/x86_64/elf/configure.in: Likewise.
9680 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9681 * sysdeps/mach/hurd/tls.h: Likewise.
9682
633f745d
UD
9683 [BZ #13067]
9684 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9685
f318beb8
UD
9686 [BZ #13090]
9687 * configure.in: Fix use of AC_INIT.
9688
32b4c839
UD
9689 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9690
3ce1f295
UD
96912011-09-10 Ulrich Drepper <drepper@gmail.com>
9692
bb016596
UD
9693 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9694 __set_errno.
8e58439c
UD
9695 * malloc/hooks.c: Likewise.
9696
aebae053 9697 [BZ #11929]
02d46fc4
UD
9698 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9699 variables statically.
9700 (narenas): Initialize.
9701 (list_lock): Initialize.
bb016596
UD
9702 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9703 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9704 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9705 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9706 Add initializers to main_arena and mp_.
9707 (malloc_state): Remove pagesize member. Change all users to use
9708 GLRO(dl_pagesize).
9709
9710 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9711 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9712 is always initialized.
9713
22a89187
UD
9714 * malloc/malloc.c: Removed unused configurations and dead code.
9715 * malloc/arena.c: Likewise.
9716 * malloc/hooks.c: Likewise.
02d46fc4 9717 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9718
d063d164
UD
9719 * include/tls.h: Removed. USE___THREAD must always be defined.
9720 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9721 * elf/dl-libc.c: Likewise.
9722 * elf/dl-tsd.c: Likewise.
9723 * include/errno.h: Likewise.
9724 * include/netdb.h: Likewise.
9725 * include/resolv.h: Likewise.
9726 * inet/herrno-loc.c: Likewise.
9727 * inet/herrno.c: Likewise.
9728 * malloc/arena.c: Likewise.
9729 * malloc/hooks.c: Likewise.
9730 * malloc/malloc.c: Likewise.
9731 * resolv/res-state.c: Likewise.
9732 * resolv/res_libc.c: Likewise.
9733 * sysdeps/i386/dl-machine.h: Likewise.
9734 * sysdeps/ia64/dl-machine.h: Likewise.
9735 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9736 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9737 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9738 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9739 * sysdeps/sh/dl-machine.h: Likewise.
9740 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9741 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9742 * sysdeps/unix/i386/sysdep.S: Likewise.
9743 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9744 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9746 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9748 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9749 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9750 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9751 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9752 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9753 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9754 * sysdeps/x86_64/dl-machine.h: Likewise.
9755 * tls.make.c: Likewise.
9756
3ce1f295
UD
9757 * configure.in: Remove --with-__thread option. Make tests for
9758 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9759 tls_model attribute fail if no support is available. Remove
9760 USE_IN_LIBIO.
9761 * Makeconfig: Adjust for dropped configure option. All features are
9762 now mandatory.
9763 * Makerules: Likewise.
9764 * Versions.def: Likewise.
9765 * argp/argp-fmtstream.c: Likewise.
9766 * argp/argp-fmtstream.h: Likewise.
9767 * argp/argp-help.c: Likewise.
9768 * assert/assert.c: Likewise.
9769 * config.h.in: Likewise.
9770 * config.make.in: Likewise.
9771 * configure: Likewise.
9772 * configure.in: Likewise.
9773 * csu/Versions: Likewise.
9774 * csu/init.c: Likewise.
9775 * elf/tst-audit2.c: Likewise.
9776 * elf/tst-tls10.c: Likewise.
9777 * elf/tst-tls10.h: Likewise.
9778 * elf/tst-tls11.c: Likewise.
9779 * elf/tst-tls12.c: Likewise.
9780 * elf/tst-tls14.c: Likewise.
9781 * elf/tst-tlsmod11.c: Likewise.
9782 * elf/tst-tlsmod12.c: Likewise.
9783 * elf/tst-tlsmod13.c: Likewise.
9784 * elf/tst-tlsmod13a.c: Likewise.
9785 * elf/tst-tlsmod14a.c: Likewise.
9786 * elf/tst-tlsmod15b.c: Likewise.
9787 * elf/tst-tlsmod16a.c: Likewise.
9788 * elf/tst-tlsmod16b.c: Likewise.
9789 * elf/tst-tlsmod7.c: Likewise.
9790 * elf/tst-tlsmod8.c: Likewise.
9791 * elf/tst-tlsmod9.c: Likewise.
9792 * gmon/gmon.c: Likewise.
9793 * grp/fgetgrent_r.c: Likewise.
9794 * grp/putgrent.c: Likewise.
9795 * hurd/fopenport.c: Likewise.
9796 * include/libc-symbols.h: Likewise.
9797 * include/tls.h: Likewise.
9798 * intl/gettextP.h: Likewise.
9799 * intl/loadinfo.h: Likewise.
9800 * locale/global-locale.c: Likewise.
9801 * locale/localeinfo.h: Likewise.
9802 * mach/devstream.c: Likewise.
9803 * malloc/arena.c: Likewise.
9804 * malloc/set-freeres.c: Likewise.
9805 * misc/err.c: Likewise.
9806 * misc/getttyent.c: Likewise.
9807 * misc/mntent_r.c: Likewise.
9808 * posix/getopt.c: Likewise.
9809 * posix/wordexp.c: Likewise.
9810 * pwd/fgetpwent_r.c: Likewise.
9811 * resolv/Versions: Likewise.
9812 * resolv/res_hconf.c: Likewise.
9813 * shadow/fgetspent_r.c: Likewise.
9814 * shadow/putspent.c: Likewise.
9815 * stdio-common/printf_fphex.c: Likewise.
9816 * stdio-common/tmpfile.c: Likewise.
9817 * stdlib/abort.c: Likewise.
9818 * stdlib/fmtmsg.c: Likewise.
9819 * sunrpc/auth_unix.c: Likewise.
9820 * sunrpc/clnt_perr.c: Likewise.
9821 * sunrpc/clnt_tcp.c: Likewise.
9822 * sunrpc/clnt_udp.c: Likewise.
9823 * sunrpc/clnt_unix.c: Likewise.
9824 * sunrpc/openchild.c: Likewise.
9825 * sunrpc/svc_simple.c: Likewise.
9826 * sunrpc/svc_tcp.c: Likewise.
9827 * sunrpc/svc_udp.c: Likewise.
9828 * sunrpc/svc_unix.c: Likewise.
9829 * sunrpc/xdr.c: Likewise.
9830 * sunrpc/xdr_array.c: Likewise.
9831 * sunrpc/xdr_rec.c: Likewise.
9832 * sunrpc/xdr_ref.c: Likewise.
9833 * sunrpc/xdr_stdio.c: Likewise.
9834
1248c1c4
PB
98352011-09-09 Ulrich Drepper <drepper@gmail.com>
9836
9837 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9838
98392011-07-03 Andreas Jaeger <aj@suse.de>
9840
9841 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9842 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9843 regenerate with gen-libm-tests.pl.
9844
98452010-05-12 Petr Baudis <pasky@suse.cz>
9846
9847 [BZ #11589]
9848 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9849 around j0() zero points by switching to j1().
9850 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9854
f22e1074
UD
98552011-09-09 Ulrich Drepper <drepper@gmail.com>
9856
f19009c1
UD
9857 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9858 instead of 0.
9859 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9860 instead of 0. .
9861 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9862 Patch in part by Pavel Roskin <proski@gnu.org>.
9863
3f8cc204
UD
9864 [BZ #13138]
9865 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9866 realloc.
9867 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9868 Free memory block if necessary.
9869
f22e1074
UD
9870 [BZ #12847]
9871 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9872 be NULL. Don't lock in this case.
9873
0a2349f9
RM
98742011-09-09 Roland McGrath <roland@hack.frob.com>
9875
9876 * elf/elf.h (ELFOSABI_GNU): New macro.
9877 (ELFOSABI_LINUX): Define to that.
9878
f3cdd467
DZ
98792011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9880
9881 * string/strncat.c (strncat): Undef the symbol in case it has been
9882 defined in bits/string.h.
9883
74718d13
UD
98842011-09-09 Ulrich Drepper <drepper@gmail.com>
9885
633e9e0f
UD
9886 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9887
0a2349f9 9888 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9889 link map.
9890
f9924780
AJ
98912011-08-17 Andreas Jaeger <aj@suse.de>
9892
9893 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9894
7f5517aa
PP
98952011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9896 Ian Lance Taylor <iant@google.com>
9897
9898 * math/libm-test.inc (lround_test): New testcase.
9899 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9900
762011fe
UD
99012011-09-08 Ulrich Drepper <drepper@gmail.com>
9902
92963737
UD
9903 * Makefile: Remove support for automatic cvs check-ins.
9904 * Makerules: Likewise.
9905 * config.make.in: Likewise.
9906 * configure.in: Likewise.
9907 * intl/Makefile: Likewise.
9908 * locale/Makefile: Likewise.
9909 * po/Makefile: Likewise.
9910 * posix/Makefile: Likewise.
9911 * sysdeps/gnu/Makefile: Likewise.
9912 * sysdeps/mach/hurd/Makefile: Likewise.
9913 * sysdeps/sparc/sparc32/Makefile: Likewise.
9914
b0727fd8
JS
9915 [BZ #13118]
9916 * posix/Makefile (bug-regex32-ENV): Define.
9917 Patch by John Stanley <jpsinthemix@verizon.net>.
9918
a0f33f99
UD
9919 * misc/Makefile (headers): Add bits/select2.h.
9920 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9921 * misc/bits/select2.h: New file.
9922 * include/bits/select2.h: New file.
9923 * debug/Makefile (routines): Add fdelt_chk.
9924 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9925 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9926 FD_ISSET.
9927 * debug/fdelt_chk.c: New file.
9928
762011fe
UD
9929 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9930 * wcsmbs/test-wmemcmp.c: Likewise.
9931 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9932 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9933
99342011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9935
9936 * string/Makefile (strop-tests): Add memcmp.
9937 * string/test-wmemcmp.c: New file.
9938 * string/test-memcmp.c: Add wmemcmp support.
9939
7f513ec8
RM
99402011-09-08 Roland McGrath <roland@hack.frob.com>
9941
0442afb4
RM
9942 [BZ #13153]
9943 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9944 2011-07-19 change.
9945
7f513ec8
RM
9946 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9947 garbage value in a __mach_port_mod_refs call in the cases of the
9948 task-self and thread-self ports.
9949
a12b2239
ST
99502011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9951
9952 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9953
610f9ab4
AS
99542011-09-08 Andreas Schwab <schwab@redhat.com>
9955
7f513ec8 9956 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9957
48882a1a
LD
99582011-09-07 Ulrich Drepper <drepper@gmail.com>
9959
b49865be
UD
9960 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9961
fdc86bc9
UD
9962 * elf/dl-libc.c (dlerror_run): Pass back error code from
9963 dl_catch_error.
9964
c966526a
UD
9965 [BZ #13123]
9966 * elf/dl-load.c (lose): Free l_origin if it is valid.
9967
48882a1a
LD
9968 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9969 names.
9970 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9971 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9972 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9973 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9974 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9975 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9976
77a2a8b4
AZ
99772011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9978
9979 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9980 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
9981 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
9982 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
9983 * sysdeps/powerpc/fpu/k_cosf.c: New file.
9984 * sysdeps/powerpc/fpu/k_sinf.c: New file.
9985 * sysdeps/powerpc/fpu/s_cosf.c: New file.
9986 * sysdeps/powerpc/fpu/s_sinf.c: New file.
9987 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
9988 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
9989
24f579d8
AM
99902011-08-15 Alan Modra <amodra@gmail.com>
9991
9992 [BZ #13092]
9993 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
9994 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
9995 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
9996 ppc_mcount to static-only-routines.
9997 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
9998 __mcount_internal.
9999 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10000 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10001
3d4837df
UD
100022011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10003
10004 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10005 for finite and infinity parameters.
10006
22700377
WS
100072011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10008
10009 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10010 and add nop instructions for throughput optimization.
10011 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10012
5025581e
WS
100132011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10014
10015 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10016 aligned copy for power7 with vector-scalar instructions.
10017 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10018
08a300c9
L
100192011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10020
10021 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10022 AVX check.
10023
59178ef9
AS
100242011-09-07 Andreas Schwab <schwab@redhat.com>
10025
10026 [BZ #13144]
10027 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10028 last change.
10029
e38ba7ab
UD
100302011-09-07 Ulrich Drepper <drepper@gmail.com>
10031
10032 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10033 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10034 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10035 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10036 clock_gettime.
10037
d53a73ac
UD
100382011-09-06 Ulrich Drepper <drepper@gmail.com>
10039
fc8bffcc
UD
10040 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10041 Forgot to demangle the pointer.
10042
ceaa0c5d
UD
10043 * sysdeps/i386/sysdep.h: Define atom_text_section.
10044 * sysdeps/x86_64/sysdep.h: Likewise.
10045 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10046 section with atom_text_section.
10047 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10048 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10049 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10050 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10051 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10052
a77d3c17
UD
10053 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10054 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10055 already be defined. Change to take two parameters and don't assign
10056 result to variable. Adjust all users.
10057 Define INTERNAL_GETTIME if not already defined.
10058 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10059 call.
10060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10061 HAVE_CLOCK_GETTIME_VSYSCALL.
10062 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10063
d53a73ac
UD
10064 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10065 gettimeofday vsyscall, just use time.
10066
a8f84144
AS
100672011-09-06 Andreas Schwab <schwab@redhat.com>
10068
10069 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10070 <errno.h>.
10071
ef606249
UD
100722011-09-06 Ulrich Drepper <drepper@gmail.com>
10073
10074 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10075 syscall on x86-64.
10076 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10077 syscall.
10078 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10079 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10080 syscall if possible.
10081
6585cb60
UD
100822011-09-05 Ulrich Drepper <drepper@gmail.com>
10083
10084 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10085 e_ident. Don't pass to find_mapsXX.
10086 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10087
a5f524e4
LD
100882011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10089
10090 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10091 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10092 * sysdeps/x86_64/multiarch/strchr.S: Update.
10093 Check bit_slow_BSF bit.
10094 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10095 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10096 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10097
554881ef
UD
100982011-09-05 Ulrich Drepper <drepper@gmail.com>
10099
d96de963
UD
10100 [BZ #13134]
10101 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10102 before glibc 2.15.
10103 (tryshell): Define.
10104 (__spawni): Change last parameter to be flag. Test
10105 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10106 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10107 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10108 * posix/spawni.c: Likewise.
10109 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10110 * posix/spawnp.c: Likewise. Change normal version to use
10111 SPAWN_XFLAGS_USE_PATH.
10112 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10113 SPAWN_XFLAGS_TRY_SHELL.
10114
d48e5868
UD
10115 [BZ #13150]
10116 * posix/glob.h: Remove gcc 1.x support.
10117
554881ef
UD
10118 [BZ #13068]
10119 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10120
693fb948
LD
101212011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10122
10123 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10124 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10125 strrchr-sse2-bsf
10126 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10127 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10128 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10129 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10130 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10131 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10132
1b48c537
UD
101332011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10134
49d42c37
UD
10135 * sysdeps/x86_64/wcscmp.S: New file.
10136
1b48c537
UD
10137 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10138 wcscmp-c wcscmp-sse2
10139 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10140 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10141 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10142 * wcsmbs/wcscmp.c: Allow renaming.
10143
15c95c5d
DM
101442011-09-05 David S. Miller <davem@davemloft.net>
10145
10146 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10147 stack slot, rather than the struct return pointer slot.
10148 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10149 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10151 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10152
2f0ad8f3
UD
101532011-09-05 Ulrich Drepper <drepper@gmail.com>
10154
d88ae418
UD
10155 * po/ja.po: Update from translation team.
10156
2f0ad8f3
UD
10157 [BZ #13144]
10158 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10159 kernel in 64-bit binaries.
10160
5f4318d1
DM
101612011-09-01 David S. Miller <davem@davemloft.net>
10162
10163 * elf/elf.h (HWCAP_SPARC_*): Move to..
10164 * sysdeps/sparc/sysdep.h: this new file and add new values.
10165 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10166 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10167 _DL_HWCAP_COUNT to 24.
10168 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10169 entries.
10170 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10171 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10172 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10173 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10174 instead of magic constants.
10175 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10176
3ba57516
DM
101772011-08-31 David S. Miller <davem@davemloft.net>
10178
10179 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10181 Reimplement to do errno handling inline.
10182 (SYSCALL_ERROR_HANDLER): New macro.
10183 (__SYSCALL_STRING): Do not do errno handling in asm.
10184 (__CLONE_SYSCALL_STRING): Delete.
10185 (__INTERNAL_SYSCALL_STRING): Delete.
10186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10187 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10188 (PSEUDO): Reimplement to do errno handling inline.
10189 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10190 (SYSCALL_ERROR_HANDLER): New macro.
10191 (__SYSCALL_STRING): Do not do errno handling in asm.
10192 (__CLONE_SYSCALL_STRING): Delete.
10193 (__INTERNAL_SYSCALL_STRING): Delete.
10194 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10195 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10196 i386.
10197 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10198 (inline_syscall*): Add 'err' argument.
10199 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10200 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10201 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10202 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10203
10204 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10205 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10206
2bc17433
AS
102072011-08-30 Andreas Schwab <schwab@redhat.com>
10208
10209 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10210
fbeb5f4d
JO
102112011-08-29 Jiri Olsa <jolsa@redhat.com>
10212
10213 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10214 directive.
10215
ad69cc26
DM
102162011-08-24 David S. Miller <davem@davemloft.net>
10217
10218 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10219
39dd69df
AS
102202011-08-24 Andreas Schwab <schwab@redhat.com>
10221
10222 * elf/Makefile: Add rules to build and run unload8 test.
10223 * elf/unload8.c: New file.
10224 * elf/unload8mod1.c: New file.
10225 * elf/unload8mod1x.c: New file.
10226 * elf/unload8mod2.c: New file.
10227 * elf/unload8mod3.c: New file.
10228
10229 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10230 it wasn't used.
10231
2c0b250a
DM
102322011-08-23 David S. Miller <davem@davemloft.net>
10233
10234 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10235 subtract stack bias.
10236 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10237 %sp not %fp in calculations.
10238 (_JMPBUF_UNWINDS_ADJ): Likewise.
10239
22044b48
DM
10240 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10241 (aio_suspend): Call it to force an exception region around the
10242 AIO_MISC_WAIT() invocation.
10243
2cae4995
AS
102442011-08-23 Andreas Schwab <schwab@redhat.com>
10245
10246 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10247 backslash.
10248
873a772e
AJ
102492011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10250
10251 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10252 protection macro.
10253 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10254 and <dl-machine.h>.
10255 (Elf64_FuncDesc): Remove.
10256
25ad0df1
DM
102572011-08-22 David S. Miller <davem@davemloft.net>
10258
10259 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10260 sigaltstack check, add missing cfi directives.
10261 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10262 missing cfi directives, and sigaltstack handling.
10263
e888bcbe
AS
102642011-08-16 Andreas Schwab <schwab@redhat.com>
10265
10266 [BZ #11724]
10267 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10268 object is seen twice.
10269 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10270
10271 * elf/Makefile (distribute): Add tst-initorder2.c.
10272 (tests): Add tst-initorder2.
10273 (modules-names): Add tst-initorder2a tst-initorder2b
10274 tst-initorder2c tst-initorder2d. Add rules to build them.
10275 ($(objpfx)tst-initorder2.out): New rule.
10276 * elf/tst-initorder2.c: New file.
10277 * elf/tst-initorder2.exp: New file.
10278
87162f46
AS
102792011-08-22 Andreas Schwab <schwab@redhat.com>
10280
70538b7f
AS
10281 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10282
f55ffe58
AS
10283 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10284 dependencies back to end of function.
10285
87162f46
AS
10286 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10287 $(elfobjdir)/ld.so.
10288
91b392a4
UD
102892011-08-21 Ulrich Drepper <drepper@gmail.com>
10290
10291 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10292 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10293 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10294 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10295 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10296 of __vdso_gettimeofday.
10297 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10298 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10299 attribute_hidden.
10300 (_libc_vdso_platform_setup): Remove initialization of
10301 __vdso_gettimeofday and __vdso_time.
10302
5c43483f
UD
103032011-08-20 Ulrich Drepper <drepper@gmail.com>
10304
775a77e7
UD
10305 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10306 and fgetc_unlocked.
10307 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10308 getc_unlocked.
89f447ed 10309
49c74ba9
UD
10310 * elf/dl-open.c (add_to_global): Report additions to the global scope
10311 for LD_DEBUG=scopes.
10312 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10313 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10314
5c43483f
UD
10315 [BZ #13114]
10316 * stdio-common/Makefile (tests): Add bug24.
10317 * stdio-common/bug24.c: New file.
10318
a101b025
AJ
103192011-08-19 Andreas Jaeger <aj@suse.de>
10320
10321 [BZ #13114]
10322 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10323 non-existant file when using close-on-exec mode.
10324
c88f1766
UD
103252011-08-20 Ulrich Drepper <drepper@gmail.com>
10326
0276a718
UD
10327 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10328 the very first instruction.
10329
c88f1766
UD
10330 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10331 the CFI state in the end.
10332 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10333 inclusion of dl-trampoline.h.
10334 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10335
51ccffa0
AS
103362011-08-19 Andreas Schwab <schwab@redhat.com>
10337
94d7165f
AS
10338 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10339 expectations for long double.
10340
51ccffa0
AS
10341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10342 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10343
fd708658 103442011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10345
10346 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10347 artificual limit depends upon the system page size.
10348
44f0a71e
UD
103492011-08-17 Ulrich Drepper <drepper@gmail.com>
10350
10351 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10352 * resolv/Makefile: Define CFLAGS-libresolv.
10353
8de79a24
AS
103542011-08-17 Andreas Schwab <schwab@redhat.com>
10355
10356 * nss/makedb.c (compute_tables): Make variables used in nested
10357 function static.
10358
27724598
UD
103592011-08-17 Ulrich Drepper <drepper@gmail.com>
10360
c5305d88
UD
10361 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10362 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10363 if buffer was too small.
10364
27724598
UD
10365 * elf/pldd.c (main): Attach to all threads in the process.
10366 Rewrite /proc handling to use *at functions.
10367
076fe015
UD
103682011-08-16 Ulrich Drepper <drepper@gmail.com>
10369
174baab3
UD
10370 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10371 specifies first scope to show.
10372 (dl_open_worker): Update callers. Move printing scope of new
10373 object to before the relocation.
44f0a71e 10374 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10375 * sysdeps/generic/ldsodefs.h: Update declaration.
10376
076fe015
UD
10377 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10378 string for the scope number.
10379
a60df2c3
UD
103802011-08-14 Ulrich Drepper <drepper@gmail.com>
10381
10382 * nscd/servicescache.c (cache_addserv): Make sure written is always
10383 initialized.
10384
5e4287d1
RM
103852011-08-14 Roland McGrath <roland@hack.frob.com>
10386
85ae0589
RM
10387 * sysdeps/i386/i486/bits/atomic.h
10388 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10389 statement expression, so as to suppress "set but not used" warning.
10390 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10391
69f63097
RM
10392 * string/strncat.c (STRNCAT): Use prototype definition.
10393
675456ef
RM
10394 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10395 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10396 -Iprograms here.
10397 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10398 (localedef-modules): Add localedef.
10399 (locale-modules): Add locale.
10400
5e4287d1
RM
10401 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10402 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10403 to avoid a warning.
10404
9c96ff23
DM
104052011-08-14 David S. Miller <davem@davemloft.net>
10406
10407 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10408 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10409
f9ddf089
UD
104102011-08-13 Ulrich Drepper <drepper@gmail.com>
10411
44f0a71e 10412 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10413 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10414 * elf/rtld.c (dl_main): Set l_name of vDSO.
10415 Call _dl_show_scope when DL_DEBUG_SCOPES.
10416 (process_dl_debug): Recognize scopes flag and also set it for all.
10417 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10418 Declare _dl_show_scope.
10419
1dc27704
UD
10420 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10421 (do_dlopen): Pass caller_dlopen to dl_open.
10422 (__libc_dlopen_mode): Initialize caller_dlopen.
10423
f9ddf089
UD
10424 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10425 of libc. Make tolower call locale-independent. Optimize a bit by
10426 using isdigit instead of isalnum.
10427 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10428
9ac533d3
UD
104292011-08-12 Ulrich Drepper <drepper@gmail.com>
10430
10431 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10432 was a dependency or dynamically loaded.
10433
89edf2e9
UD
104342011-08-11 Ulrich Drepper <drepper@gmail.com>
10435
8e999d29
UD
10436 * intl/l10nflist.c: Allow architecture-specific pop function.
10437 * sysdeps/x86_64/l10nflist.c: New file.
10438
89edf2e9
UD
10439 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10440 classification.
10441
14d96785
AS
104422011-08-10 Andreas Schwab <schwab@redhat.com>
10443
10444 * include/dirent.h: Add libc_hidden_proto for scandirat and
10445 scandirat64. Don't declare __scandirat64.
10446 * dirent/scandirat.c: Add libc_hidden_def.
10447 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10448 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10449
6761ac04
DM
104502011-08-10 David S. Miller <davem@davemloft.net>
10451
10452 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10453 enum.
10454 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10455 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10456 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10457
c55fbd1e
UD
104582011-08-09 Ulrich Drepper <drepper@gmail.com>
10459
10460 * Versions.def [libc]: Add GLIBC_2.15.
10461 * dirent/Makefile (routines): Add scandirat and scandirat64.
10462 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10463 GLIBC_2.15.
10464 * dirent/dirent.h: Declare scandirat and scandirat64.
10465 * dirent/scandirat.c: New file.
10466 * dirent/scandirat64.c: New file.
10467 * sysdeps/wordsize-64/scandirat.c: New file.
10468 * sysdeps/wordsize-64/scandirat64.c: New file.
10469 * dirent/opendir.c: Define opendirat.
10470 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10471 using scandirat.
10472 * dirent/scandir64.c: Adjust for scandir.c change.
10473 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10474 __scandirat64, and __scandir_cancel_handler.
10475 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10476 additional parameter and use openat instead of open (outside of ld.so).
10477 Add new __opendir as wrapper around __opendirat.
10478 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10479 here without requiring old scandirat implementation.
10480
879165f2
UD
104812011-08-08 Ulrich Drepper <drepper@gmail.com>
10482
10483 * dirent/scandir.c (cancel_handler): Renamed to
10484 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10485 defined. Adjust users.
10486 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10487 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10488
cb7e923b
UD
104892011-08-04 Ulrich Drepper <drepper@gmail.com>
10490
16292edd
UD
10491 * string/test-string.h (IMPL): Use __STRING to expand name and then
10492 stringify it.
10493
cb7e923b
UD
10494 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10495 of cleanups.
10496
cff82933
LD
104972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10498
10499 * string/Makefile: Update.
10500 (strop-tests): Append strncat.
10501 * string/test-wcscmp.c: New file.
10502 New comprehensive test for wcscmp.
10503 * string/test-strcmp.c: Update.
10504 (WIDE): New define.
10505
9be9bfcc
AS
105062011-07-22 Andreas Schwab <schwab@redhat.com>
10507
10508 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10509 line.
10510
2e96f1c7
AS
105112011-07-26 Andreas Schwab <schwab@redhat.com>
10512
10513 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10514 encoding to ACE if AI_IDN.
10515
85188888
JJ
105162011-08-01 Jakub Jelinek <jakub@redhat.com>
10517
10518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10519 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10520
5fa16e9b
LD
105212011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10522
10523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10524 Fix overflow bug in strncat.
10525 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10526
10527 * string/test-strncat.c: Update.
10528 Add new tests for checking overflow bugs.
10529
105302011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10531
10532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10533 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10534 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10535 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10536 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10537 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10538 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10539 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10540 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10541
10542 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10543 (USE_AS_STRCAT): Define.
10544 Add strcat and strncat support.
10545 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10546
8c1a459f
AS
105472011-07-25 Andreas Schwab <schwab@redhat.com>
10548
10549 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10550 __n bigger than INT_MAX+1.
10551 (__strncmp_g): Likewise.
10552
bba33c28
UD
105532011-07-23 Ulrich Drepper <drepper@gmail.com>
10554
798be72d
UD
10555 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10556 * libio/stido.h: Likewise.
10557
8accd4dc
UD
10558 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10559 (AF_NFC): Define.
10560 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10561 (AF_NFC): Define.
10562
cbff0d96
UD
10563 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10564 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10565 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10566 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10567 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10568
9191c04a
UD
10569 [BZ #13021]
10570 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10571 installed.
10572
bba33c28
UD
10573 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10574 typo.
10575 (_dl_x86_64_save_sse): Likewise.
10576
90f139dd
UD
105772011-07-22 Ulrich Drepper <drepper@gmail.com>
10578
1aae088a
UD
10579 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10580 OSXSAVE.
10581 (_dl_x86_64_save_sse): Likewise.
10582
8e2045f5
UD
10583 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10584
90f139dd
UD
10585 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10586
1d002f25
AS
105872011-07-21 Andreas Schwab <schwab@redhat.com>
10588
10589 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10590 change.
10591 (_dl_x86_64_save_sse): Use correct AVX check.
10592
21137f89
UD
105932011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10594
10595 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10596 bug in strncpy/strncat.
10597 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10598
a65c0b7a
UD
105992011-07-21 Ulrich Drepper <drepper@gmail.com>
10600
10601 * string/tester.c (test_strcat): Add tests for different alignments
10602 of source and destination.
10603 (test_strncat): Likewise.
10604
6986b98a
UD
106052011-07-20 Ulrich Drepper <drepper@gmail.com>
10606
90bb2039
UD
10607 [BZ #12852]
10608 * posix/glob.c (glob): Check passed in values before using them in
10609 expressions to avoid some overflows.
10610 (glob_in_dir): Likewise.
10611
5644ef54
UD
10612 [BZ #13007]
10613 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10614 check for AVX enablement so that we don't crash with old kernels and
10615 new hardware.
10616 * elf/tst-audit4.c: Add same checks here.
10617 * elf/tst-audit6.c: Likewise.
10618
10619 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10620
bfc9dc9b
AS
106212011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10622
10623 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10624
702e64bb
UD
106252011-07-20 Ulrich Drepper <drepper@gmail.com>
10626
10627 * po/cs.po: Update from translation team.
10628 * po/bg.po: Likewise.
10629
295e904f
MP
106302011-07-12 Marek Polacek <mpolacek@redhat.com>
10631
10632 * misc/sys/cdefs.h: Add support for const attribute.
10633 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10634 to gnu_dev_{major,minor,makedev} functions.
10635
3ff94596
MP
106362011-07-20 Marek Polacek <mpolacek@redhat.com>
10637
10638 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10639
28b59fca
AS
106402011-07-20 Andreas Schwab <schwab@redhat.com>
10641
10642 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10643 strlen results.
10644
19df733e
AK
106452011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10646
10647 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10648 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10649 register in order to avoid conflicts with the soft frame pointer
10650 being held in r11 when necessary.
10651 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10652 (INTERNAL_VSYSCALL_NCS): Likewise.
10653
c8835729
MP
106542011-07-14 Marek Polacek <mpolacek@redhat.com>
10655
10656 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10657 * elf/dl-fini.c (_dl_fini): Adjust caller.
10658 * elf/dl-close.c (_dl_close_worker): Likewise.
10659 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10660
b902330c
MP
106612011-07-15 Marek Polacek <mpolacek@redhat.com>
10662
8991e135
MP
10663 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10664 "aux_cache->nlibs < 0".
10665
b902330c
MP
10666 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10667 in the reload-count case.
10668
99710781
LD
106692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10670
10671 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10672 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10673 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10674 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10675 * sysdeps/x86_64/multiarch/strcat.S: New file.
10676 * sysdeps/x86_64/multiarch/strncat.S: New file.
10677 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10678 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10679 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10680 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10681 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10682 (USE_AS_STRCAT): Define.
10683 Add strcat and strncat support.
10684 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10685 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10686 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10687 * string/strncat.c: Update.
10688 (USE_AS_STRNCAT): Define.
10689 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10690 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10691 and i7.
10692 * sysdeps/x86_64/multiarch/init-arch.h
10693 (bit_Prefer_PMINUB_for_stringop): New.
10694 (index_Prefer_PMINUB_for_stringop): Likewise.
10695 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10696 bit_Prefer_PMINUB_for_stringop.
10697
7dc6bd90
UD
106982011-07-19 Ulrich Drepper <drepper@gmail.com>
10699
10700 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10701 buffer64.
10702 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10703 of casting of buffer.
10704 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10705 buffer32 and buffer64.
10706 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10707 writes instead of casting of buffer.
10708 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10709 buffer32.
10710 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10711 casting of buffer.
10712
e0e72284
AS
107132011-07-19 Andreas Schwab <schwab@redhat.com>
10714
10715 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10716
feb1eb0b
UD
107172011-07-19 Ulrich Drepper <drepper@gmail.com>
10718
10719 * nscd/nscd.c (termination_handler): Don't do anything for a database
10720 if it has not yet been initialized.
10721
298711ff
UD
107222011-07-18 Ulrich Drepper <drepper@gmail.com>
10723
10724 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10725
107262011-07-15 Marek Polacek <mpolacek@redhat.com>
10727
10728 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10729
f9d68389
UD
107302011-07-18 Ulrich Drepper <drepper@gmail.com>
10731
10732 * po/nl.po: Update from translation team.
10733 * po/sv.po: Likewise.
10734
db290cf5
RM
107352011-07-16 Roland McGrath <roland@hack.frob.com>
10736
10737 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10738 now disallowed by GCC.
5c550700 10739
fd5e21c7
RM
10740 * configure.in (use-default-link): Default to yes if a test -shared
10741 link meets our qualifications.
10742 * configure: Regenerated.
10743
5c550700
RM
10744 * config.make.in (output-format): New variable.
10745 * configure.in: Check for ld --print-output-format support.
10746 * configure: Regenerated.
10747 * Makerules ($(common-objpfx)format.lds)
10748 [$(output-format) != unknown]: Just use $(output-format),
10749 instead of the linker-script munging.
10750
9fa2c032
RM
107512011-07-14 Roland McGrath <roland@hack.frob.com>
10752
a6928d51
RM
10753 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10754 of $(common-objpfx)shlib.lds.
10755 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10756
661607b3
RM
10757 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10758 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10759
9fa2c032
RM
10760 * configure.in (-z relro check): Adjust test code to add a large
10761 writable data section after it.
10762 * configure: Regenerated.
10763
defe9061
RM
107642011-07-11 Roland McGrath <roland@hack.frob.com>
10765
10766 * configure.in (-z relro check): Fix test code to make the variable
10767 truly const.
10768 * configure: Regenerated.
10769
319b9ad4
UD
107702011-07-11 Ulrich Drepper <drepper@gmail.com>
10771
10772 * nscd/nscd.h (struct traced_file): Define.
10773 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10774 elements. Add traced_files.
10775 (inotify_fd): Declare.
10776 (register_traced_file): Declare.
10777 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10778 (inotify_fd): Export.
10779 (resolv_conf_descr): Remove.
10780 (nscd_init): Move inotify descriptor creation to main.
10781 Don't register files for notification here.
10782 (register_traced_file): New function.
10783 (invalidate_cache): Don't use reset_res to determine whether to call
10784 res_init, go through the list of registered files.
10785 (main_loop_poll): The inotify descriptors are now stored in the
10786 structures for the traced files.
10787 (main_loop_epoll): Likewise
10788 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10789 to __nss_disable_nscd.
10790 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10791 for a database anymore. Check the records for all the registered
10792 files instead.
10793 * nss/Makefile (libnss_files-routines): Add files-init.
10794 (libnss_db-routines): Add db-init.
10795 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10796 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10797 * nss/nss_db/db-init.c: New file.
10798 * nss/nss_files/files-init.c: New file.
10799 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10800 __nss_lookup_function.
10801 (__nss_lookup_function): Call nss_load_library.
10802 (nss_load_all_libraries): New function.
10803 (__nss_disable_nscd): Take parameter with callback function for files
10804 to register. Set is_nscd. Load all the DSOs for the NSS modules
10805 used for the cached services.
10806 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10807 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10808 options for features to all the files in nscd.
10809
10810 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10811
23bee3e8
RM
108122011-07-10 Roland McGrath <roland@hack.frob.com>
10813
10814 * csu/elf-init.c (__libc_csu_init): Comment typo.
10815
46a5b7f0
UD
108162011-07-09 Ulrich Drepper <drepper@gmail.com>
10817
10818 * po/pl.po: Update from translation team.
10819 * po/ja.po: Likewise.
10820 * po/ru.po: Likewise.
10821 * po/ko.po: Likewise.
10822 * po/fr.po: Likewise.
10823
d30cf5bb
RM
108242011-07-09 Roland McGrath <roland@hack.frob.com>
10825
113ddea4
RM
10826 * configure.in (.ctors/.dtors header and trailer check):
10827 Use an empirical test on a built program.
10828 * configure: Regenerated.
10829
574920b4
RM
10830 * configure.in (-z relro check): Use an empirical test on a built DSO.
10831 Detect, but do not require, on ia64.
10832 * configure: Regenerated.
10833
d30cf5bb
RM
10834 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10835 Update tests that use readelf to use $READELF instead.
10836 * configure: Regenerated.
10837
8538fdb3
UD
108382011-07-08 Ulrich Drepper <drepper@gmail.com>
10839
10840 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10841 if the result is not used.
10842
04d08991
AJ
108432011-07-05 Andreas Jaeger <aj@suse.de>
10844
10845 [BZ#9696]
10846 * stdlib/tst-strtod.c: Add testcase.
10847
de283087
AD
108482011-07-07 Ulrich Drepper <drepper@gmail.com>
10849
4e5f31c8 10850 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10851 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10852 The latter has a higher limit. Take additional parameter to pass to
10853 the new function.
10854 (__pathconf): Pass file to __statfs_link_max.
10855 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10856 __statfs_link_max.
10857 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10858 __statfs_link_max.
10859
de283087
AD
10860 [BZ #12868]
10861 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10862 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10863 Handle Lustre.
10864 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10865 (__statfs_filesize_max): Likewise.
10866 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10867
c75fa153
AJ
108682011-07-05 Andreas Jaeger <aj@suse.de>
10869
10870 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10871
1a544854
UD
108722011-07-06 Marek Polacek <mpolacek@redhat.com>
10873
10874 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10875 `status' variable.
10876 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10877 Likewise.
10878
6f0eec67
UD
108792011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10880
10881 * Makefile (strop-tests): Add strncat.
10882 * string/test-strncat.c: New file.
10883
aae30307
UD
108842011-06-30 Marek Polacek <mpolacek@redhat.com>
10885
10886 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10887
c0cfb5eb
UD
108882011-06-21 Andreas Jaeger <aj@suse.de>
10889
10890 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10891 Copy rule from iconvdata/Makefile.
10892
01636b21
UD
108932011-07-06 Ulrich Drepper <drepper@gmail.com>
10894
10895 [BZ #12922]
10896 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10897 but no long options are defined, just return 'W'.
10898
9895c8bc
UD
108992011-06-22 Marek Polacek <mpolacek@redhat.com>
10900
10901 [BZ #9696]
10902 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10903
5d4cf042
UD
109042011-07-06 Ulrich Drepper <drepper@gmail.com>
10905
10906 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10907 netgroups to read.
960e5535 10908 (innetgr): Likewise.
5d4cf042 10909
751eb97e
RM
109102011-07-05 Roland McGrath <roland@hack.frob.com>
10911
10912 * config.make.in (install_root): Default to $(DESTDIR).
10913
f15f1e45
UD
109142011-07-05 Ulrich Drepper <drepper@gmail.com>
10915
10916 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10917
4e34ac6a
RM
109182011-07-02 Roland McGrath <roland@hack.frob.com>
10919
5e9b6af4
RM
10920 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10921
84f9ea0f
RM
10922 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10923 containing directory rather than embedding absolute directory names.
10924
ea5ee9f7
RM
10925 * scripts/check-local-headers.sh: Rewritten using awk.
10926 Match by word, not by line. Print error messages for matches.
10927 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10928
1b74661a
RM
10929 * Makerules [shlib-lds-flags empty]:
10930 ($(common-objpfx)libc_pic.opts): New target.
10931 ($(common-objpfx)libc_pic.os.clean): New target.
10932 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10933
10934 * config.make.in (OBJCOPY): New variable.
10935 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10936 * configure: Regenerated.
10937
f781ef40
RM
10938 * config.make.in (use-default-link): New variable.
10939 * configure.in (use_default_link): Grok --with-default-link to set it.
10940 * configure: Regenerated.
10941 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10942 (shlib-lds, shlib-lds-flags): Define to empty.
10943
2d4fa81e
RM
10944 * Makerules (shlib-lds): New variable.
10945 (shlib-lds-flags): New variable.
10946 (build-shlib, build-moduile, build-module-asneeded): Use it.
10947 ($(common-objpfx)libc.so): Use $(shlib-lds).
10948 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10949 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10950
31fffa6b
RM
10951 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10952 DT_FLAGS/DT_FLAGS_1 with zero flags.
10953
4e34ac6a
RM
10954 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10955 linker script munging.
10956
fcfc776b
UD
109572011-07-02 Ulrich Drepper <drepper@gmail.com>
10958
10959 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10960 as 128-bit value.
10961 * crypt/sha512.c (sha512_process_block): Perform total addition using
10962 128-bit if possible.
10963 (__sha512_finish_ctx): Likewise.
10964 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10965 as 64-bit value.
10966 * crypt/sha256.c (SWAP64): Define.
10967 (sha256_process_block): Perform total addition using 64-bit if
10968 possible.
10969 (__sha256_finish_ctx): Likewise.
10970
99231d9a
UD
109712011-07-01 Ulrich Drepper <drepper@gmail.com>
10972
10973 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10974 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10975 * nscd/hstcache.c (cache_addhst): Likewise.
10976 * nscd/grpcache.c (cache_addgr): Likewise.
10977 * nscd/aicache.c (addhstaiX): Likewise
10978 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10979
445b4a53
TK
109802011-07-01 Thorsten Kukuk <kukuk@suse.de>
10981
10982 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
10983 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10984 * nscd/hstcache.c (cache_addhst): Likewise.
10985 * nscd/grpcache.c (cache_addgr): Likewise.
10986 * nscd/aicache.c (addhstaiX): Likewise
10987
6d4d8e8e
AS
109882011-07-01 Andreas Schwab <schwab@redhat.com>
10989
10990 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
10991 domain only when needed.
10992
89f654c5
AS
109932011-06-30 Andreas Schwab <schwab@redhat.com>
10994
10995 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
10996 is always restored.
10997
cf3b23ff
UD
109982011-06-29 Ulrich Drepper <drepper@gmail.com>
10999
11000 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11001 are re-adding the entry.
11002 * nscd/servicescache.c (cache_addserv): Likewise.
11003
751626f9
AJ
110042011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11005
11006 * sysdeps/generic/dl-irel.h: fix protection against multiple
11007 inclusions.
11008 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11009
9113ea1f
UD
110102011-06-28 Ulrich Drepper <drepper@gmail.com>
11011
5c0b8d90
UD
11012 [BZ #12935]
11013 * malloc/memusage.sh: Fix quoting in message.
11014 * debug/xtrace.sh: Likewise.
11015
9113ea1f
UD
11016 * configure.in: Remove support for --experimental-malloc option, make
11017 it the default.
11018 * config.make.in: Likewise.
11019 * malloc/Makefile: Likewise.
11020
a4172181
AS
110212011-06-27 Andreas Schwab <schwab@redhat.com>
11022
11023 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11024 two-byte characters.
11025
78a7eee7
RM
110262011-06-27 Roland McGrath <roland@hack.frob.com>
11027
62bede13
RM
11028 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11029 AC_CACHE_CHECK invocation.
11030 * configure: Regenerated.
11031
78a7eee7
RM
11032 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11033
5ce33a62
UD
110342011-06-27 Ulrich Drepper <drepper@gmail.com>
11035
034807a9
UD
11036 [BZ #12350]
11037 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11038 bit from old_res_options.
11039
4902da17
UD
11040 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11041
5ce33a62
UD
11042 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11043 value type for setfct.
11044
c2344f56
L
110452011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11046
11047 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11048 __gettimeofday instead of gettimeofday.
11049
68468076
UD
110502011-06-26 Ulrich Drepper <drepper@gmail.com>
11051
11052 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11053
acb0d739
L
110542011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11055
11056 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11057
11058 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11059 info.
11060
8912479f
L
110612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11062
11063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11064 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11065 strcpy-sse2-unaligned strncpy-sse2-unaligned
11066 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11067 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11068 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11069 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11070 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11071 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11072 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11073 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11074 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11075 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11076 (STRCPY): Support SSE2 and SSSE3 versions.
11077
d5495a11
UD
110782011-06-24 Ulrich Drepper <drepper@gmail.com>
11079
11080 [BZ #12874]
11081 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11082 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11083 kernels which artificially limit size of requests.
11084
0b1cbaae
L
110852011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11086
11087 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11088 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11089 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11090 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11091 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11092 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11093 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11094 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11095 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11096 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11097 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11098 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11099 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11100 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11101 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11102 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11103 Enable unaligned load optimization for Intel Core i3, i5 and i7
11104 processors.
11105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11106 Define.
11107 (index_Fast_Unaligned_Load): Define.
11108 (HAS_FAST_UNALIGNED_LOAD): Define.
11109
07f494a0
MP
111102011-06-23 Marek Polacek <mpolacek@redhat.com>
11111
11112 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11113
fa3fc0fe
UD
111142011-06-22 Ulrich Drepper <drepper@gmail.com>
11115
11116 [BZ #12907]
11117 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11118 until it is clear that the information is realy needed.
11119 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11120
e12df166
AS
111212011-06-22 Andreas Schwab <schwab@redhat.com>
11122
11123 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11124
852eb34d
UD
111252011-06-22 Ulrich Drepper <drepper@gmail.com>
11126
84e2a551
UD
11127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11128 /sys/devices/system/cpu/online if it is usable.
11129
852eb34d
UD
11130 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11131 reading the information from the /proc filesystem to once a second.
11132
6e502e19
UD
111332011-06-21 Andreas Jaeger <aj@suse.de>
11134
11135 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11136 NULL after inclusion of kernel headers.
11137
75d39ff2
UD
111382011-06-21 Ulrich Drepper <drepper@gmail.com>
11139
51f9aa6a
UD
11140 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11141 calls to internal_setent.
11142
c0244a9d
UD
11143 [BZ #12885]
11144 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11145 addresses using gethostbyname4_r ignore IPv4 addresses.
11146
c5e3c2ae
UD
11147 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11148 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11149
75d39ff2
UD
11150 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11151
42675c6f
DM
111522011-06-20 David S. Miller <davem@davemloft.net>
11153
11154 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11155 inclusions.
11156 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11157
11158 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11159 (elf_irel): Use it.
11160 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11161 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11162 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11163 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11164 * sysdeps/x86_64/dl-irel.h: Likewise.
11165
11166 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11167 * elf/dl-sym.c: Likewise.
11168
57912a71
UD
111692011-06-15 Ulrich Drepper <drepper@gmail.com>
11170
11171 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11172 need to dereference resplen2.
11173
ee22793d
AS
111742011-06-14 Andreas Schwab <schwab@redhat.com>
11175
11176 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11177
a9e836b0
UD
111782011-06-15 Ulrich Drepper <drepper@gmail.com>
11179
77fb9117
UD
11180 * Makeconfig: Define vardbdir and inst_vardbdir.
11181 * nss/Makefile: Add rules to install db-Makefile.
11182
40c1b22c
UD
11183 * nss/nss_db/db-XXX.c: Cleanup.
11184
9f2da732
UD
11185 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11186 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11187 GLIBC_PRIVATE.
11188 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11189 * nss/makedb.c: Implement -g option to specify that value strings
11190 are generated and should not be added to table iterated over for
11191 get*ent calls.
11192 * nss/nss_db/db-initgroups.c: New file.
11193
82e9a1f7
UD
11194 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11195 interface.
11196
c41af17e
UD
11197 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11198 (internal_getgrouplist): Adjust to name change.
11199 Update use_initgroups_entry if this is not the first call.
11200 * nss/databases.def: Add initgroups entry.
11201
a9e836b0
UD
11202 * nss/makedb.c (compute_tables): Check result of multiple hash table
11203 sizes to minimize maximum chain length.
11204
2666d441
UD
112052011-06-14 Ulrich Drepper <drepper@gmail.com>
11206
11207 * Versions.def: Add entry for libnss_db.
11208 * shlib-versions: Likewise.
11209 * nss/Makefile: Add rules to build libnss_db.
11210 * nss/Versions: Add libnss_db information. Organize libnss_files
11211 entries better.
11212 * nss/db-Makefile: Add gshadow support. Change rules for the new
11213 makedb progra. Some minor improvements to generate smaller files.
11214 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11215 here from...
11216 * nss/makedb.c: ...here.
11217 Improve database format to be smaller and require less memory at
11218 runtime.
11219 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11220 db anymore.
11221 * nss/nss_db/db-netgrp.c: Likewise.
11222 * nss/nss_db/db-open.c: Likewise.
11223 * nss/nss_files/flies-XXX.x: Adjust comments.
11224 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11225 * nss/nss_files/files-grp.c: Likewise.
11226 * nss/nss_files/files-hosts.c: Likewise.
11227 * nss/nss_files/files-network.c: Likewise.
11228 * nss/nss_files/files-proto.c: Likewise.
11229 * nss/nss_files/files-pwd.c: Likewise.
11230 * nss/nss_files/files-rpc.c: Likewise.
11231 * nss/nss_files/files-service.c: Likewise.
11232 * nss/nss_files/files-sgrp.c: Likewise.
11233 * nss/nss_files/files-spwd.c: Likewise.
11234 * nss/nss_db/db-alias.c: Removed.
11235 * nss/nss_db/dummy-db.h: Removed.
11236
9ee76b5a
UD
112372011-06-02 Ulrich Drepper <drepper@gmail.com>
11238
11239 * nss/makedb.c: Rewritten to not use database library.
11240 * nss/Makefile: Update to build new makedb program.
11241
c71ca1f8
AJ
112422011-06-14 Andreas Jaeger <aj@suse.de>
11243
11244 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11245 memset declaration.
11246
3154bfb8
UD
112472011-06-10 Andreas Schwab <schwab@redhat.com>
11248
11249 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11250 tmpbuf.
11251
b350afab
RM
112522011-06-10 Roland McGrath <roland@hack.frob.com>
11253
decd4e50
RM
11254 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11255 * elf/Makefile ($(objpfx)ld.so): Likewise.
11256
5615eaf2
RM
11257 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11258 Don't list ld.so twice in dependencies.
11259
11260 * posix/bug-regex31.c: Include <stdlib.h>.
11261
11262 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11263
11264 * nis/nss_compat/compat-spwd.c
11265 (getspent_next_nss_netgr): Remove unused variable.
11266 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11267
11268 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11269 nonmembers" output to use the right array.
11270
11271 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11272
11273 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11274
11275 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11276 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11277 * catgets/gencat.c (read_input_file): Likewise.
11278 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11279
11280 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11281 variable definition inside #if's controlling its use.
11282
11283 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11284
11285 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11286
11287 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11288
11289 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11290 unreachable code.
11291
11292 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11293
b68e08db
RM
11294 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11295 * configure: Regenerated.
11296
b350afab
RM
11297 * Makerules: Revert last change.
11298 * elf/Makefile: Likewise.
11299
28368601
RM
113002011-06-09 Roland McGrath <roland@hack.frob.com>
11301
11302 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11303 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11304 (reloc-link): Likewise.
11305
11988f8f
UD
113062011-06-09 Ulrich Drepper <drepper@gmail.com>
11307
11308 * elf/Makefile: Add rules to build pldd.
11309 * elf/pldd.c: New file.
11310 * elf/pldd-xx.c: New file.
11311
e80fab37
UD
113122011-06-07 Ulrich Drepper <drepper@gmail.com>
11313
11314 * version.h: Update for 2.15 development version.
11315
9b849836
DM
113162011-06-07 David S. Miller <davem@davemloft.net>
11317
11318 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11319 ifuncs.
11320 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11321 elf_machine_lazy_rel): Likewise.
11322 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11323 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11324 elf_machine_lazy_rel): Likewise.
11325 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11326 dl_hwcap via passed in argument.
11327 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11328 Likewise.
11329
5a31b283
AK
113302011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11331
11332 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11333
069e52f8
RM
113342011-06-06 Roland McGrath <roland@hack.frob.com>
11335
11336 [BZ #12849]
11337 * manual/fdl-1.1.texi: New file, verbatim from:
11338 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11339 * manual/lgpl-2.1.texi: New file, verbatim from:
11340 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11341 * manual/Makefile (licenses): New variable, list those new file names.
11342 (texis): Use it.
11343 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11344
11345 * manual/fdl.texi: File removed.
11346 * manual/lesser.texi: File removed.
11347 * manual/libc.texinfo (Copying, Documentation License):
11348 Use new @include file names, put @appendix directive before @include.
11349
f16846a5
JJ
113502011-06-04 Jakub Jelinek <jakub@redhat.com>
11351
11352 [BZ #12841]
11353 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11354 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11355 (mq_open): Add __NTH.
11356
3d29045b
L
113572011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11358
11359 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11360 Assume Intel Core i3/i5/i7 processor if AVX is available.
11361
8c297311
UD
113622011-05-31 Ulrich Drepper <drepper@gmail.com>
11363
11364 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11365 typo.
11366
c8fc0c91
UD
113672011-05-31 Andreas Schwab <schwab@redhat.com>
11368
11369 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11370 memory. Use alloca_account. Fix memory leak when retrying.
11371
5b27a807
UD
113722011-05-31 Ulrich Drepper <drepper@gmail.com>
11373
356f8bc6
UD
11374 * version.h (RELEASE): Bump for 2.14 release.
11375 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11376
5b27a807
UD
11377 * config.make.in (RANLIB): Remove entry.
11378
01f16ab0
UD
113792011-05-30 Ulrich Drepper <drepper@gmail.com>
11380
41fce8bd
UD
11381 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11382 (libc.pot): Work around missing support for .ksh extension in xgettext.
11383
4769ae77
UD
11384 [BZ #12684]
11385 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11386 if both request failed.
11387 (send_dg): In case of server errors clear resplen or *resplen2.
11388
6b1e7d19
UD
11389 [BZ #12454]
11390 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11391 when there are multiple maps.
11392 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11393 (_dl_fini): Remove test here.
11394
01f16ab0
UD
11395 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11396
b1ebd700
UD
113972011-05-29 Ulrich Drepper <drepper@gmail.com>
11398
7ae22829
UD
11399 [BZ #12350]
11400 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11401 bit from old_res_options.
11402 (gaih_inet): Likewise.
11403
553149f6 11404 [BZ #11099]
18a84741 11405 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11406 as signed.
11407
652ffab1
UD
11408 * resolv/res_init.c (res_setoptions): Make the code more compact.
11409
16985fd0
UD
11410 [BZ #11558]
11411 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11412 set RES_USEVC.
11413
0464f746
UD
11414 [BZ #11634]
11415 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11416
7d17596c
UD
11417 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11418
cf6bbbd7
UD
11419 [BZ #11781]
11420 * malloc/malloc.h: Declare malloc hook variables as volatile.
11421
13f1ab36
UD
11422 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11423 in last patch.
11424
b1ebd700
UD
11425 [BZ #11799]
11426 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11427 raise in the comment.
80e2212d
UD
11428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11429 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11430 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11431
ce67228d
UD
114322011-05-28 Ulrich Drepper <drepper@gmail.com>
11433
8887a920
UD
11434 [BZ #12811]
11435 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11436 grow the buffers more if it already has to be sufficient.
11437 (build_wcs_upper_buffer): Likewise.
11438 * posix/regexec.c (check_matching): Likewise.
11439 (clean_state_log_if_needed): Likewise.
11440 (extend_buffers): Don't enlarge buffers beyond size of the input
11441 buffer.
11442 Patches mostly by Emil Wojak <emil@wojak.eu>.
11443 * posix/bug-regex32.c: New file.
11444 * posix/Makefile (tests): Add bug-regex32.
11445
4f031072
UD
11446 * locale/findlocale.c (_nl_find_locale): Return right away if
11447 _nl_explode_name failed.
11448 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11449
d0478f0c
UD
11450 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11451
de81b246
UD
11452 * debug/xtrace.sh: Unify messages.
11453 * malloc/memusage.sh: Likewise.
11454
c738465a
UD
11455 [BZ #12813]
11456 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11457 time symbol from vDSO. Substitute with vsyscall if not available.
11458 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11459 __vdso_time.
11460
f1f929d7
UD
11461 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11462 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11463 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11464 Add sendmmsg and internal_sendmmsg.
11465 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11466 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11467 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11468
ce67228d
UD
11469 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11470 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11471 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11472
e57420c6
UD
114732011-05-27 Ulrich Drepper <drepper@gmail.com>
11474
a8509ca5
UD
11475 [BZ #12813]
11476 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11477 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11478 available.
11479 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11480 __vdso_getcpu.
11481
e57420c6
UD
11482 [BZ #12814]
11483 * iconvdata/Makefile (tests): Add bug-iconv9.
11484 * iconvdata/bug-iconv9.c: New file.
11485
4d07db15
AS
114862011-05-27 Andreas Schwab <schwab@redhat.com>
11487
11488 [BZ #12814]
11489 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11490
ea486f69
JJ
114912011-05-25 Jakub Jelinek <jakub@redhat.com>
11492
11493 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11494 (struct user_regs_struct): Change intcs field back to cs.
11495
6f038433
UD
114962011-05-25 Ulrich Drepper <drepper@gmail.com>
11497
11498 * po/ja.po: Update from translation team.
11499
67f86a25
UD
115002011-05-23 Ulrich Drepper <drepper@gmail.com>
11501
11502 [BZ #12795]
11503 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11504 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11505
def7fbd6
AS
115062011-05-20 Andreas Schwab <schwab@redhat.com>
11507
11508 * stdlib/longlong.h: Update from GCC.
11509
f50ef8f1
AS
115102011-05-23 Andreas Schwab <schwab@redhat.com>
11511
11512 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11513 parameter name.
11514 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11515 Add parameter name.
11516 (__sysconf): Pass it down.
11517
de7ce8f1
UD
115182011-05-22 Ulrich Drepper <drepper@gmail.com>
11519
f2962a71
UD
11520 [BZ #12671]
11521 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11522 some situations.
11523 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11524 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11525 add in in __libc_use_alloca calls. Adjust callers.
11526 (glob): Use malloc in some situations.
11527
de7ce8f1
UD
11528 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11529 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11530 pltexit.
11531
aec84f53
UD
115322011-05-21 Ulrich Drepper <drepper@gmail.com>
11533
05bb4a68
UD
11534 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11535 and CLOCK_BOOTTIME_ALARM.
11536
7ea72f99
UD
11537 [BZ #12782]
11538 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11539 is returned.
11540
7e4afad5
UD
11541 * string/_strerror.c (__strerror_r): Print negative errors as signed
11542 numbers.
11543
8e211fec
UD
11544 [BZ #12777]
11545 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11546 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11547 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11548
f7d82dc9
UD
11549 * configure.in: Fix typo in redirection and correct removal of test
11550 files in two cases.
11551
cc9e536d
UD
11552 [BZ #12788]
11553 * locale/setlocale.c (new_composite_name): Fix test to check for
11554 identical name of all categories.
11555
aec84f53
UD
11556 [BZ #12792]
11557 * libio/filedoalloc.c (local_isatty): New function.
11558 (_IO_file_doallocate): Use local_isatty.
11559 * stdio-common/perror.c (perror): In case a new stream is used
11560 forward the stream error.
11561 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11562 error flag.
11563
78e64fdc
RT
115642011-05-20 Ulrich Drepper <drepper@gmail.com>
11565
34a9094f
UD
11566 [BZ #11869]
11567 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11568 alloca.
11569 * include/alloca.h (extend_alloca_account): Define.
11570
78e64fdc
RT
11571 [BZ #11857]
11572 * posix/regex.h: Fix comments with documentation of user-accessible
11573 fields after compilation and describe correct free'ing of pattern
11574 after re_compile_pattern.
11575 Patch by Reuben Thomas <rrt@sc3d.org>.
11576
457bddfc
RA
115772011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11578
11579 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11580 and -mno-altivec to prevent the compiler from using Altivec and/or
11581 VSX instructions when the corresponding registers are not available.
11582
a4527b51
AS
115832011-05-19 Andreas Schwab <schwab@redhat.com>
11584
11585 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11586
ed690b2f
UD
115872011-05-19 Ulrich Drepper <drepper@gmail.com>
11588
11589 * libio/freopen.c (freopen): Use __dup2, not dup2.
11590 * libio/freopen64.c (freopen64): Likewise.
11591
8db73634
L
115922011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11593
11594 [BZ #12775]
11595 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11596 * math/Makefile (tests): Add test-powl.
11597 (CFLAGS-test-powl.c): Define.
11598 * math/test-powl.c: New file.
11599
0a197a9d
L
116002011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11601
11602 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11603
ee30c380
UD
116042011-05-17 Ulrich Drepper <drepper@gmail.com>
11605
11606 [BZ #11837]
11607 * iconvdata/gb18030.c: Update to GB18020-2005.
11608
6ce75379
UD
116092011-05-16 Ulrich Drepper <drepper@gmail.com>
11610
a4b89fd8
AR
11611 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11612 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11613 Patch by Aharon Robbins <arnold@skeeve.com>.
11614
ea389b12
UD
11615 [BZ #11892]
11616 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11617 on the stack.
11618
68a3f91f
UD
11619 [BZ #11895]
11620 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11621 through underflows.
11622
15cc7dd1
UD
11623 [BZ #12766]
11624 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11625 point to strings before performing equality test for error_one_per_line
11626 mode.
11627
f3799213
UD
11628 [BZ #11697]
11629 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11630
d79a9c94
UD
11631 [BZ #11820]
11632 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11633 (struct user_fpregs_struct): Avoid __uint*_t types.
11634
56e5eb46
UD
11635 [BZ #6420]
11636 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11637 symbol info. Use it instead of calling _dl_addr locally.
11638 (lock_and_info): New function.
11639 (tr_freehook): Call lock_and_info and pass symbol info as additional
11640 parameter to tr_where.
11641 (tr_mallochook): Likewise.
11642 (tr_reallochook): Likewise.
11643 (tr_memalignhook): Likewise.
11644
6ce75379
UD
11645 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11646 used and couldn't be at all thread-safe.
11647
f8a3b5bf
UD
116482011-05-15 Ulrich Drepper <drepper@gmail.com>
11649
94b7cc37
UD
11650 * libio/freopen.c (freopen): Don't close old file descriptor
11651 before the new one is opened. Instead dup the new file descriptor
11652 to the old one after the new stream is created.
11653 * libio/freopen64.c (freopen64): Likewise.
11654 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11655 * libio/fileops.c (_IO_new_file_close_it): Handle new
11656 _IO_FLAGS2_NOCLOSE flag.
11657 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11658 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11659 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11660 _IO_FLAGS2_NOCLOSE flag.
11661 * include/unistd.h: Add hidden_proto for dup3.
11662 Define __have_dup3.
11663 * io/dup3.c: Define hidden symbol.
11664 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11665
bd25564e
UD
11666 [BZ #7101]
11667 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11668 when an incomplete long option is used.
11669 * posix/tst-getopt_long1.c: New file.
11670 * posix/Makefile (tests): Add tst-getopt_long1.
11671
c84cfef4
UD
11672 [BZ #10138]
11673 * scripts/config.guess: Update from autoconf-2.68.
11674 * scripts/config.sub: Likewise.
11675
3b85df27
UD
11676 [BZ #10157]
11677 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11678 tests into ...
11679 (has_cpuclock): ...this. New function.
11680 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11681 macro here based on has_cpuclock code.
11682
15a856b1
UD
11683 [BZ #10149]
11684 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11685 First byte (not low byte) is now always NUL.
11686 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11687
05f399e6
UD
11688 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11689 Use non-cancelable interfaces.
11690
10a52685 11691 [BZ #9809]
94ecc67d
UD
11692 * locale/iso-639.def: Add entry for Sorani.
11693
f8a3b5bf
UD
11694 [BZ #11901]
11695 * include/stdlib.h: Move include protection to the right place.
11696 Define abort_msg_s. Declare __abort_msg with it.
11697 * stdlib/abort.c (__abort_msg): Adjust type.
11698 * assert/assert.c (__assert_fail_base): New function. Majority
11699 of code from __assert_fail. Allocate memory for __abort_msg with
11700 mmap.
11701 (__assert_fail): Now call __assert_fail_base.
11702 * assert/assert-perr.c: Remove bulk of implementation. Use
11703 __assert_fail_base.
11704 * include/assert.hL Declare __assert_fail_base.
11705 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11706 mmap.
11707 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11708
1af4e298
UD
117092011-05-14 Ulrich Drepper <drepper@gmail.com>
11710
f8a3b5bf 11711 [BZ #11952]
d26dfc60
MG
11712 [BZ #12453]
11713 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11714 until all modules are registered in the DTV.
11715 * elf/Makefile: Add rules to build and run tst-tls19.
11716 * elf/tst-tls19.c: New file.
11717 * elf/tst-tls19mod1.c: New file.
11718 * elf/tst-tls19mod2.c: New file.
11719 * elf/tst-tls19mod3.c: New file.
11720 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11721
2fc54d6f
UD
11722 [BZ #12083]
11723 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11724 correctly.
11725
98d76b46
UD
11726 [BZ #12601]
11727 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11728 two-byte sequence errors.
11729 * iconvdata/Makefile (tests): Add bug-iconv8.
11730 * iconvdata/bug-iconv8.c: New file.
11731
da3c19ef
UD
11732 [BZ #12626]
11733 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11734 buf2 definition.
11735
ca408c15
UD
11736 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11737
d6f67f7d
UD
11738 [BZ #12432]
11739 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11740 (dummy_getcfa): New function.
11741 (init): Get _Unwind_GetCFA address, use dummy if not found.
11742 (backtrace_helper): In recursion check, also check whether CFA changes.
11743 (__backtrace): Completely initialize arg.
11744
1af4e298 11745 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11746 storing incomplete byte sequence in state object. Avoid testing for
11747 guaranteed too small input if we know there is enough data available.
1af4e298 11748
da62f81b
AS
117492011-05-11 Andreas Schwab <schwab@redhat.com>
11750
11751 * Makeconfig (+link-pie): Indent.
11752 * Rules (binaries-pie): Define if $(have-fpie) and
11753 $(build-shared).
11754 (binaries-shared): Also filter out $(binaries-pie).
11755 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11756 * nscd/Makefile (others-pie): Add nscd.
11757 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11758 ($(objpfx)nscd): Remove command override.
11759 * login/Makefile (others-pie): Add pt_chown.
11760 ($(objpfx)pt_chown): Remove command override.
11761 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11762 remove command overrides.
11763
fcabc0f8
UD
117642011-05-13 Ulrich Drepper <drepper@gmail.com>
11765
20030ae6
UD
11766 * libio/tst_putwc.c: Fix error messages.
11767
fcabc0f8
UD
11768 [BZ #12724]
11769 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11770 currently writing and seek to current position when not.
11771 * libio/Makefile (tests): Add bug-fclose1.
11772 * libio/bug-fclose1.c: New file.
11773
320a5dc0
PB
117742011-05-12 Ulrich Drepper <drepper@gmail.com>
11775
11776 [BZ #12511]
11777 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11778 don't set DF_1_NODELETE here.
11779 (do_lookup_x): When entering new entry test for copy relocation
11780 and if necessary set DF_1_NODELETE flag.
11781 * elf/tst-unique4.cc: New file.
11782 * elf/tst-unique4.h: New file.
11783 * elf/tst-unique4lib.cc: New file.
11784 * elf/Makefile: Add rules to build and run tst-unique4.
11785 Patch by Piotr Bury <pbury@goahead.com>.
11786
22836f52
UD
117872011-05-11 Ulrich Drepper <drepper@gmail.com>
11788
f574184a
UD
11789 [BZ #12052]
11790 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11791
e1fb097f
UD
11792 [BZ #12625]
11793 * misc/mntent_r.c (addmntent): Flush the stream after the output
11794
22836f52
UD
11795 [BZ #12393]
11796 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11797 (is_trusted_path_normalize): Skip initial colon. Append slash
11798 to empty buffer. Duplicate is_trusted_path code but allow
11799 constructed patch to be prefix.
11800 (is_dst): Allow $ORIGIN followed by /.
11801 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11802 Correct testing of result of is_trusted_path_normalize
11803 (decompose_rpath): Fix warning.
11804
7b3b0b2a
UD
118052011-05-10 Ulrich Drepper <drepper@gmail.com>
11806
11807 [BZ #11257]
11808 * grp/initgroups.c (internal_getgrouplist): When we found the service
11809 list through the initgroups entry in nsswitch.conf do not always
11810 continue on a successful lookup. Don't always use the
eac80ce2 11811 __nss_group_database value if it is set.
7b3b0b2a
UD
11812 * nss/nsswitch.conf (initgroups): Change action for successful db
11813 lookup to continue for compatibility.
11814
2a81eaa5
UD
118152011-05-09 Ulrich Drepper <drepper@gmail.com>
11816
be97a69e
UD
11817 [BZ #11532]
11818 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11819 and CP774 modules.
11820 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11821 and CP774 modules.
11822 * iconvdata/tst-tables.sh: Likewise.
11823 * iconvdata/cp770.c: New file.
11824 * iconvdata/cp771.c: New file.
11825 * iconvdata/cp772.c: New file.
11826 * iconvdata/cp773.c: New file.
11827 * iconvdata/cp774.c: New file.
11828 * iconvdata/testdata/CP770: New file.
11829 * iconvdata/testdata/CP770..UTF8: New file.
11830 * iconvdata/testdata/CP771: New file.
11831 * iconvdata/testdata/CP771..UTF8: New file.
11832 * iconvdata/testdata/CP772: New file.
11833 * iconvdata/testdata/CP772..UTF8: New file.
11834 * iconvdata/testdata/CP773: New file.
11835 * iconvdata/testdata/CP773..UTF8: New file.
11836 * iconvdata/testdata/CP774: New file.
11837 * iconvdata/testdata/CP774..UTF8: New file.
11838
11839 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11840 END CHARMAP line.
11841 * iconvdata/gen-8bit-gap.sh: Likewise.
11842 * iconvdata/gen-8bit.sh: Likewise.
11843
c1e9e399
UD
11844 * locale/iso-639.def: Add ary entry.
11845
24c55fb3 11846 [BZ #11258]
96b4b1b0
UD
11847 * locale/C-translit.h.in: Add U20A1 transliteration.
11848
bdc2f971
KB
11849 [BZ #12178]
11850 * locale/iso-639.def: Add wae entry.
11851 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11852
2952b117
UD
11853 [BZ #12545]
11854 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11855 for n.
11856
2a81eaa5
UD
11857 [BZ #12711]
11858 * locale/C-translit.h.in: Add entry for U20B9.
11859 Patch by pravin.d.s@gmail.com.
11860
28377d1b
UD
118612011-05-08 Ulrich Drepper <drepper@gmail.com>
11862
7fb90fb8
UD
11863 [BZ #12713]
11864 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11865 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11866 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11867 in rtld. Use *stat64.
7fb90fb8 11868 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11869 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11870 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11871 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11872 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11873 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11874 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11875 __fstatat64 macros.
7fb90fb8
UD
11876 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11877 * dirent/rewinddir.c: Add libc_hidden_def.
11878 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11879 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11880
28377d1b
UD
11881 * include/dirent.h (__alloc_dir): Add flags parameter.
11882 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11883 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11884 __alloc_dir.
11885 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11886 from fdopendir if O_CLOEXEC is already set.
11887
66bdbaa4
AM
118882011-03-15 Alan Modra <amodra@gmail.com>
11889
11890 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11891 l_tls_firstbyte_offset non-zero. Save padding offset in
11892 l_tls_firstbyte_offset for later use.
11893 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11894 freeing static tls block.
11895
95721191
JN
118962011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11897
11898 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11899 where #ifdef was intended. The intent is to prevent ARG_MAX from
11900 being defined by the kernel headers.
11901
f87dfb1f
UD
119022011-05-07 Ulrich Drepper <drepper@gmail.com>
11903
11904 [BZ #12734]
11905 * resolv/resolv.h: Define RES_NOTLDQUERY.
11906 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11907 no-tld-query and set RES_NOTLDQUERY.
11908 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11909 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11910 modern BIND to search name as TLD unless forbidden.
11911
47c3cd7a
UD
119122011-05-07 Petr Baudis <pasky@suse.cz>
11913 Ulrich Drepper <drepper@gmail.com>
11914
11915 [BZ #12393]
11916 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11917 (is_trusted_path): ...to here.
c1e9ea35 11918 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11919 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11920 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11921
8a35c912
PP
119222011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11923
11924 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11925 __BEGIN/__END_DECLS.
11926
acd41f47
UD
119272011-05-06 Ulrich Drepper <drepper@gmail.com>
11928
11929 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11930 NSS_STATUS_NOTFOUND if no record was found.
11931
597df647
AS
119322011-05-05 Andreas Schwab <schwab@redhat.com>
11933
11934 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11935 (headers-not-in-tirpc): Remove rpc/netdb.h
11936 * resolv/netdb.h: Revert last change.
11937
b9af1301
PP
119382011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11939
11940 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11941 circular dependency between libgcc.a and libc.a.
11942
4e34d5f5
AS
119432011-05-05 Andreas Schwab <schwab@redhat.com>
11944
11945 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11946 * nis/Makefile: Don't install rpcsvc/*.
11947 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11948 instead of <rpc/types.h>.
11949 (MAXHOSTNAMELEN): Define.
11950
00ee369c
AS
119512011-05-03 Andreas Schwab <schwab@redhat.com>
11952
11953 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11954
0b592a30
MB
119552011-04-28 Maciej Babinski <mbabinski@google.com>
11956
11957 [BZ #12714]
11958 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11959 gethostbyname4_r when IPv6 results are possible.
11960
6e04cbbe
UD
119612011-05-02 Ulrich Drepper <drepper@gmail.com>
11962
11963 [BZ #12723]
11964 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11965 _PC_PIPE_BUF handling.
11966
e4ecafe0
BH
119672011-04-30 Bruno Haible <bruno@clisp.org>
11968
11969 [BZ #12717]
11970 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11971 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11972 to 'int'.
11973 * inet/getnameinfo.c (getnameinfo): Likewise.
11974
125ee683
UD
119752011-04-29 Ulrich Drepper <drepper@gmail.com>
11976
11977 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11978 to groups setting in database lookup.
11979 * nss/nsswitch.conf: Add initgroups entry.
11980
b722481a
EB
119812011-04-22 Ulrich Drepper <drepper@gmail.com>
11982
11983 [BZ #12685]
11984 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
11985 mode string.
11986 Patch by Eric Blake <eblake@redhat.com>.
11987
4df46dbd
L
119882011-04-20 H.J. Lu <hongjiu.lu@intel.com>
11989
11990 * sunrpc/Makefile (need-export-routines): Add svc_run.
11991 (routines): Remove svc_run.
11992 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
11993 * sunrpc/clnt_perr.c (clnt_perrno): Export.
11994 * sunrpc/svc_run.c (svc_run): Likewise.
11995 * sunrpc/svc_udp.c (svcudp_create): Likewise.
11996
e84142d2
UD
119972011-04-21 Ulrich Drepper <drepper@gmail.com>
11998
11999 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12000 problem in reallocation in last patch.
12001
877175d8
UD
120022011-04-20 Ulrich Drepper <drepper@gmail.com>
12003
12004 * sunrpc/Makefile: Move inclusion of Rules.
12005
ab8eed78
UD
120062011-04-19 Ulrich Drepper <drepper@gmail.com>
12007
12008 * nss/nss_files/files-initgroups.c: New file.
12009 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12010 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12011 _nss_files_initgroups_dyn.
12012
e3d8f584
RS
120132011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12014
12015 * elf/elf.h (R_ARM_IRELATIVE): Define.
12016
af190f45
UD
120172011-04-19 Ulrich Drepper <drepper@gmail.com>
12018
12019 * po/ru.po: Update from translation team.
12020
53cf59ef
UD
120212011-04-17 Ulrich Drepper <drepper@gmail.com>
12022
12023 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12024 dependencies.
12025
4c559bcd
MF
120262011-02-06 Mike Frysinger <vapier@gentoo.org>
12027
12028 [BZ #12653]
12029 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12030 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12031 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12034
4420675c
AS
120352011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12036
12037 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12038 differing bytes.
12039 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12040 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12041 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12042
75ea32ab
UD
120432011-04-17 Ulrich Drepper <drepper@gmail.com>
12044
12045 [BZ #12420]
12046 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12047 storing it.
12048 * stdlib/bug-getcontext.c: New file.
12049 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12050
27390476
AK
120512011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12052
12053 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12054 instructions into .machine "z9-109".
12055 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12056 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12057
10442705
AK
120582011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12059
12060 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12061 between environment variables and auxiliary vector.
12062
7b57bfe5
UD
120632011-04-16 Ulrich Drepper <drepper@gmail.com>
12064
12065 * Makefile: Add rules to build linkobj/libc.so.
12066 * include/libc-symbols.h: Define libc_hidden_nolink.
12067 * include/rpc/auth.h: Mark functions which are to be hidden.
12068 * include/rpc/auth_des.h: Likewise.
12069 * include/rpc/auth_unix.h: Likewise.
12070 * include/rpc/clnt.h: Likewise.
12071 * include/rpc/des_crypt.h: Likewise.
12072 * include/rpc/key_prot.h: Likewise.
12073 * include/rpc/pmap_clnt.h: Likewise.
12074 * include/rpc/pmap_prot.h: Likewise.
12075 * include/rpc/pmap_rmt.h: Likewise.
12076 * include/rpc/rpc_msg.h: Likewise.
12077 * include/rpc/svc.h: Likewise.
12078 * include/rpc/svc_auth.h: Likewise.
12079 * include/rpc/xdr.h: Likewise.
12080 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12081 * nss/Makefile: Likewise.
12082 * sunrpc/Makefile: Don't install headers. Build library with normal
12083 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12084 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12085 for the compat linking library. Remove use of INTDEF/INTUSE.
12086 * sunrpc/auth_none.c: Likewise.
12087 * sunrpc/auth_unix.c: Likewise.
12088 * sunrpc/authdes_prot.c: Likewise.
12089 * sunrpc/authuxprot.c: Likewise.
12090 * sunrpc/clnt_gen.c: Likewise.
12091 * sunrpc/clnt_perr.c: Likewise.
12092 * sunrpc/clnt_raw.c: Likewise.
12093 * sunrpc/clnt_simp.c: Likewise.
12094 * sunrpc/clnt_tcp.c: Likewise.
12095 * sunrpc/clnt_udp.c: Likewise.
12096 * sunrpc/clnt_unix.c: Likewise.
12097 * sunrpc/des_crypt.c: Likewise.
12098 * sunrpc/des_soft.c: Likewise.
12099 * sunrpc/get_myaddr.c: Likewise.
12100 * sunrpc/key_call.c: Likewise.
12101 * sunrpc/key_prot.c: Likewise.
12102 * sunrpc/netname.c: Likewise.
12103 * sunrpc/pm_getmaps.c: Likewise.
12104 * sunrpc/pm_getport.c: Likewise.
12105 * sunrpc/pmap_clnt.c: Likewise.
12106 * sunrpc/pmap_prot.c: Likewise.
12107 * sunrpc/pmap_prot2.c: Likewise.
12108 * sunrpc/pmap_rmt.c: Likewise.
12109 * sunrpc/publickey.c: Likewise.
12110 * sunrpc/rpc_cmsg.c: Likewise.
12111 * sunrpc/rpc_common.c: Likewise.
12112 * sunrpc/rpc_dtable.c: Likewise.
12113 * sunrpc/rpc_prot.c: Likewise.
12114 * sunrpc/rpc_thread.c: Likewise.
12115 * sunrpc/rtime.c: Likewise.
12116 * sunrpc/svc.c: Likewise.
12117 * sunrpc/svc_auth.c: Likewise.
12118 * sunrpc/svc_authux.c: Likewise.
12119 * sunrpc/svc_raw.c: Likewise.
12120 * sunrpc/svc_run.c: Likewise.
12121 * sunrpc/svc_simple.c: Likewise.
12122 * sunrpc/svc_tcp.c: Likewise.
12123 * sunrpc/svc_udp.c: Likewise.
12124 * sunrpc/svc_unix.c: Likewise.
12125 * sunrpc/svcauth_des.c: Likewise.
12126 * sunrpc/xcrypt.c: Likewise.
12127 * sunrpc/xdr.c: Likewise.
12128 * sunrpc/xdr_array.c: Likewise.
12129 * sunrpc/xdr_float.c: Likewise.
12130 * sunrpc/xdr_intXX_t.c: Likewise.
12131 * sunrpc/xdr_mem.c: Likewise.
12132 * sunrpc/xdr_rec.c: Likewise.
12133 * sunrpc/xdr_ref.c: Likewise.
12134 * sunrpc/xdr_sizeof.c: Likewise.
12135 * sunrpc/xdr_stdio.c: Likewise.
12136
e6c61494
UD
121372011-04-10 Ulrich Drepper <drepper@gmail.com>
12138
12139 [BZ #12650]
12140 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12141 * sysdeps/ia64/dl-tls.h: Likewise.
12142 * sysdeps/powerpc/dl-tls.h: Likewise.
12143 * sysdeps/s390/dl-tls.h: Likewise.
12144 * sysdeps/sh/dl-tls.h: Likewise.
12145 * sysdeps/sparc/dl-tls.h: Likewise.
12146 * sysdeps/x86_64/dl-tls.h: Likewise.
12147 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12148
34fe483e
AS
121492011-03-14 Andreas Schwab <schwab@redhat.com>
12150
12151 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12152 rpath element also skip the following colon.
12153 (expand_dynamic_string_token): Add is_path parameter and pass
12154 down to DL_DST_REQUIRED and _dl_dst_substitute.
12155 (decompose_rpath): Call expand_dynamic_string_token with
12156 non-zero is_path. Ignore empty rpaths.
12157 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12158 with zero is_path.
12159
f12a32e6
AS
121602011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12161
12162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12163 Make cancelable.
12164
38a7d692
UD
121652011-04-09 Ulrich Drepper <drepper@gmail.com>
12166
12167 [BZ #12655]
12168 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12169 Patch by Filipe David Manana <fdmanana@apache.org>.
12170
e451d22b
AS
121712011-04-07 Andreas Schwab <schwab@redhat.com>
12172
12173 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12174 Maintain aligned stack.
12175 (CHECK_RSP): Remove unused macro.
12176
dedc7c7b
UD
121772011-04-03 Ulrich Drepper <drepper@gmail.com>
12178
12179 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12180 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12181
94521213
UD
121822011-04-02 Ulrich Drepper <drepper@gmail.com>
12183
12184 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12185
8cb700c0 12186 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12187
0354e355
L
121882011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12189
12190 [BZ #12518]
12191 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12192 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12193 * sysdeps/x86_64/memmove.c: New file.
12194 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12195 (memcpy): Renamed to ...
12196 (__new_memcpy): This.
12197 (memcpy): Provide GLIBC_2_14 memcpy.
12198 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12199 (memcpy): Provide GLIBC_2_2_5 memcpy.
12200
8593482f
UD
122012011-04-01 Ulrich Drepper <drepper@gmail.com>
12202
12203 [BZ #12631]
12204 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12205
81a5726b
AS
122062011-03-30 Andreas Schwab <schwab@redhat.com>
12207
12208 * misc/syncfs.c: New file.
12209 * misc/Makefile (routines): Add syncfs.
12210 * posix/unistd.h: Declare syncfs.
12211 * sysdeps/unix/syscalls.list: Add syncfs.
12212
00e5419f
AS
122132011-04-01 Andreas Schwab <schwab@redhat.com>
12214
12215 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12216 open_by_handle_at.
12217 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12218 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12219 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12220 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12221 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12222 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12223 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12224
748876bf
UD
122252011-04-01 Ulrich Drepper <drepper@gmail.com>
12226
658e451d
UD
12227 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12228 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12229 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12230 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12231 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12233 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12234
748876bf
UD
12235 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12236 sync_file_range.c with -fexceptions.
12237 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12238 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12239 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12240 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12241 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12242 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12243 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12244 sync_file_range as cancellation point
12245 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12246 now a wrapper around __call_sync_file_range with cancellation handling.
12247 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12248 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12249 function name to __call_sync_file_range.
12250 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12251 Add call_sync_file_range.
748876bf 12252
6e63d5e1
AS
122532011-04-01 Andreas Schwab <schwab@redhat.com>
12254
12255 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12256 bits/timex.h.
6e63d5e1 12257
46998f74
UD
122582011-04-01 Ulrich Drepper <drepper@gmail.com>
12259
4c1423ed
UD
12260 * iconv/iconv.h: Fix typo in comment.
12261 * io/fcntl.h: Likewise.
12262 * libio/stdio.h: Likewise.
12263 * posix/spawn.h: Likewise.
12264 * posix/unistd.h: Likewise.
12265 * stdlib/stdlib.h: Likewise.
12266 * time/time.h: Likewise.
12267 * wcsmbs/wchar.h: Likewise.
12268
158648c0
UD
12269 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12270 open_by_handle): Add.
12271 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12272 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12273 Augment a few comments.
12274 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12275 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12276 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12277 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12278 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12279 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12280 open_by_handle.
12281
46998f74
UD
12282 * io/fcntl.h (AT_EMPTY_PATH): Define.
12283
83fe108b
UD
122842011-03-30 Ulrich Drepper <drepper@gmail.com>
12285
12286 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12287 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12288 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12289 to...
12290 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12291 * Versions.def: Add GLIBC_2.14.
12292 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12293 Export.
83fe108b 12294
bb242059
UD
122952011-03-22 Ulrich Drepper <drepper@gmail.com>
12296
12297 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12298 round counter.
12299 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12300
c97a1282
L
123012011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12302
12303 [BZ #12597]
12304 * string/test-strncmp.c (do_page_test): New function.
12305 (check2): Likewise.
12306 (test_main): Call check2.
12307 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12308
2a115601
UD
123092011-03-20 Ulrich Drepper <drepper@gmail.com>
12310
12311 [BZ #12587]
12312 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12313 Handle cache information in CPU leaf 4.
12314 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12315
8126d904
UD
123162011-03-18 Ulrich Drepper <drepper@gmail.com>
12317
042c49c6 12318 [BZ #12583]
8126d904
UD
12319 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12320 character representation.
12321 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12322
ccfe366e
RA
123232011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12324
12325 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12326 END(__isnan) to END(__isnanf) to match function entry point/label
12327 EALIGN(__isnanf,...).
12328
c6e13027
JJ
123292011-03-10 Jakub Jelinek <jakub@redhat.com>
12330
12331 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12332
33f85a3f
UD
123332011-03-10 Ulrich Drepper <drepper@gmail.com>
12334
028478fa
UD
12335 [BZ #12510]
12336 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12337 copy from the symbol referenced in the relocation to initialize the
12338 used variable.
12339 Patch by Piotr Bury <pbury@goahead.com>.
12340 * elf/Makefile: Add rules to build and tst-unique3.
12341 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12342 * elf/tst-unique3.cc: New file.
12343 * elf/tst-unique3.h: New file.
12344 * elf/tst-unique3lib.cc: New file.
12345 * elf/tst-unique3lib2.cc: New file.
12346
33f85a3f
UD
12347 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12348
03592fc7
MF
123492011-03-10 Mike Frysinger <vapier@gentoo.org>
12350
12351 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12352 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12353 to _start.
03592fc7 12354
6a5ee102
UD
123552011-03-06 Ulrich Drepper <drepper@gmail.com>
12356
12357 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12358 to-be-loaded object along a path to loader is ld.so.
12359
7e4ba49c
HJ
123602011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12361 Ulrich Drepper <drepper@gmail.com>
12362
12363 * sysdeps/x86_64/memset.S: After aligning destination, code
12364 branches to different locations depending on the value of
12365 misalignment, when multiarch is enabled. Fix this.
12366
123672011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12368
12369 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12370 Set _x86_64_preferred_memory_instruction for AMD processsors.
12371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12372 Set bit_Prefer_SSE_for_memop for AMD processors.
12373
13a804de
UD
123742011-03-04 Ulrich Drepper <drepper@gmail.com>
12375
12376 * libio/fmemopen.c (fmemopen): Optimize a bit.
12377
9d25c392
AS
123782011-03-03 Andreas Schwab <schwab@redhat.com>
12379
12380 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12381
a5543c6a
RM
123822011-03-03 Roland McGrath <roland@redhat.com>
12383
12384 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12385
012d35f7
DM
123862011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12387
7e4ba49c 12388 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12389 __bzero_ultra1 instead of __memset_ultra1.
12390
4bff6e01
AS
123912011-02-23 Andreas Schwab <schwab@redhat.com>
12392 Ulrich Drepper <drepper@gmail.com>
12393
12394 [BZ #12509]
12395 * include/link.h (struct link_map): Add l_orig_initfini.
12396 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12397 returning unsuccessfully.
12398 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12399 close of a file loaded at startup, restore the original l_initfini
12400 list.
12401 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12402 list, store the pointer.
12403 * elf/Makefile ($(objpfx)noload-mem): New rule.
12404 (noload-ENV): Define.
12405 (tests): Add $(objpfx)noload-mem.
12406 * elf/noload.c: Include <memcheck.h>.
12407 (main): Call mtrace. Close all opened handles.
12408
f2092faf
AS
124092011-02-17 Andreas Schwab <schwab@redhat.com>
12410
12411 [BZ #12454]
12412 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12413 dependencies are missing.
12414
6c8a2e88
ST
124152011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12416
f2092faf 12417 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12418 Hurd needs munmap.
12419 * sysdeps/mach/hurd/ifreq.h: New file.
12420
84a42118
PB
124212011-01-27 Petr Baudis <pasky@suse.cz>
12422 Ulrich Drepper <drepper@gmail.com>
12423
071f805e 12424 [BZ 12445]#
84a42118
PB
12425 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12426 to extend_alloca().
12427 * stdio-common/bug23.c: New file.
12428 * stdio-common/Makefile (tests): Add bug23.
12429
e23fe25b
AS
124302010-09-28 Andreas Schwab <schwab@redhat.com>
12431 Ulrich Drepper <drepper@gmail.com>
12432
12433 [BZ #12489]
12434 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12435 before performing relro protection. At old place add assertion
12436 to make sure nothing changed.
12437
d3f02e10
NS
124382011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12439 Glauber de Oliveira Costa <glommer@gmail.com>
12440
12441 * elf/elf.h: Add new ARM TLS relocs.
12442
d55fd7a5
RA
124432011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12444
12445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12446 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12447 cast from r3.
12448 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12449 'tests' variable.
12450 * sysdeps/wordsize-64/tst-writev.c: New file.
12451
2206397e
RA
124522011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12453
12454 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12455 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12456 insns in _dl_start to prevent a TOC reference before relocs are
12457 resolved.
12458
e9433893
UD
124592011-02-15 Ulrich Drepper <drepper@gmail.com>
12460
12461 [BZ #12469]
12462 * Makeconfig: Remove RANLIB definition.
12463 * Makerules: Don't use RANLIB.
12464 * aclocal.m4: Remove ranlib test.
12465 * configure.in: No need to check for ranlib.
12466 * elf/rtld-Rules: Don't use RANLIB.
12467
f75286c6
ST
124682011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12469
8e31c82d
ST
12470 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12471 protection macro.
12472 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12473 inclusion protection macro.
12474
f75286c6
ST
12475 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12476 SIGRTMIN and SIGRTMAX and print information in that case only when
12477 SIGRTMIN is defined.
12478
c1d0e639
JJ
124792011-02-11 Jakub Jelinek <jakub@redhat.com>
12480
12481 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12482 arginfo fn returning -1.
12483
12484 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12485 and thousands string is zero terminated.
12486
edf9294e
AS
124872011-02-03 Andreas Schwab <schwab@redhat.com>
12488
12489 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12490 sysdeps/unix/sysv/linux/bits/socket.h.
12491
2b7e92df
ST
124922011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12493
edf9294e
AS
12494 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12495 (__CPU_COUNT): Remove old macros.
12496 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12497 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12498 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12499 (__sched_cpualloc, __sched_cpufree): Add declarations.
12500
a4c7ea7b
UD
125012011-02-05 Ulrich Drepper <drepper@gmail.com>
12502
12503 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12504 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12505 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12506 (readdhstai): Return value of addhstaiX call.
12507 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12508 (addgrbyX): Return value returned by cache_addgr.
12509 (readdgrbyname): Return value returned by addgrbyX.
12510 (readdgrbygid): Likewise.
12511 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12512 (addpwbyX): Return value returned by cache_addpw.
12513 (readdpwbyname): Return value returned by addhstbyX.
12514 (readdpwbyuid): Likewise.
12515 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12516 (addservbyX): Return value returned by cache_addserv.
12517 (readdservbyname): Return value returned by addservbyX:
12518 (readdservbyport): Likewise.
12519 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12520 (addhstbyX): Return value returned by cache_addhst.
12521 (readdhstbyname): Return value returned by addhstbyX.
12522 (readdhstbyaddr): Likewise.
12523 (readdhstbynamev6): Likewise.
12524 (readdhstbyaddrv6): Likewise.
12525 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12526 (readdinitgroups): Return value returned by addinitgroupsX.
12527 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12528 (prune_cache): Keep track of timeout value of re-added entries.
12529 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12530 * nscd/nscd.h: Adjust prototypes of readd* functions.
12531
a0bf67cc
RM
125322011-02-04 Roland McGrath <roland@redhat.com>
12533
12534 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12535 (nis_stats): Likewise.
12536 * nis/nis_modify.c (nis_modify): Likewise.
12537 * nis/nis_remove.c (nis_remove): Likewise.
12538 * nis/nis_add.c (nis_add): Likewise.
12539
12540 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12541
12542 * posix/fnmatch_loop.c: Add some consts.
12543
12544 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12545
435b95eb
L
125462011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12547
12548 [BZ #12460]
12549 * config.make.in (config-cflags-novzeroupper): Define.
12550 * configure.in: Substitute libc_cv_cc_novzeroupper.
12551 * elf/Makefile (AVX-CFLAGS): Define.
12552 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12553 (CFLAGS-tst-auditmod4a.c): Likewise.
12554 (CFLAGS-tst-auditmod4b.c): Likewise.
12555 (CFLAGS-tst-auditmod6b.c): Likewise.
12556 (CFLAGS-tst-auditmod6c.c): Likewise.
12557 (CFLAGS-tst-auditmod7b.c): Likewise.
12558 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12559
8517b15e
UD
125602011-02-02 Ulrich Drepper <drepper@gmail.com>
12561
12562 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12563 function to the callback.
12564 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12565
10a656fe
AS
125662011-02-02 Andreas Schwab <schwab@redhat.com>
12567
12568 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12569 of errno.
12570
968dad0a
UD
125712011-01-19 Ulrich Drepper <drepper@gmail.com>
12572
9f94d2ea 12573 [BZ #11724]
968dad0a
UD
12574 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12575 of constructors.
12576 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12577 of destructors.
12578 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12579
12580 [BZ #11724]
12581 * elf/Makefile: Add rules to build and run new test.
12582 * elf/tst-initorder.c: New file.
12583 * elf/tst-initorder.exp: New file.
12584 * elf/tst-initordera1.c: New file.
12585 * elf/tst-initordera2.c: New file.
12586 * elf/tst-initordera3.c: New file.
12587 * elf/tst-initordera4.c: New file.
12588 * elf/tst-initorderb1.c: New file.
12589 * elf/tst-initorderb2.c: New file.
12590 * elf/tst-order-a1.c: New file.
12591 * elf/tst-order-a2.c: New file.
12592 * elf/tst-order-a3.c: New file.
12593 * elf/tst-order-a4.c: New file.
12594 * elf/tst-order-b1.c: New file.
12595 * elf/tst-order-b2.c: New file.
12596 * elf/tst-order-main.c: New file.
12597 New test case by George Gensure <werkt0@gmail.com>.
12598
86e92359
UD
125992010-10-01 Andreas Schwab <schwab@redhat.com>
12600
12601 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12602 decoding ACE if AI_CANONIDN.
12603
5d5732b0
UD
126042011-01-18 Ulrich Drepper <drepper@gmail.com>
12605
12606 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12607
a77e8cbc
UD
126082011-01-17 Ulrich Drepper <drepper@gmail.com>
12609
6392473f
UD
12610 * version.h (RELEASE): Bump for 2.13 release.
12611 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12612
620a0529
UD
12613 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12614
18ba70a5
UD
12615 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12616 MADV_NOHUGEPAGE.
32465c3e
UD
12617 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12618 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12619 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12620 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12621 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12622 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12623
c0dafcf1
UD
12624 * posix/getconf.c: Update copyright year.
12625 * catgets/gencat.c: Likewise.
12626 * csu/version.c: Likewise.
12627 * debug/catchsegv.sh: Likewise.
12628 * debug/xtrace.sh: Likewise.
12629 * elf/ldconfig.c: Likewise.
12630 * elf/ldd.bash.in: Likewise.
12631 * elf/sprof.c (print_version): Likewise.
12632 * iconv/iconv_prog.c: Likewise.
12633 * iconv/iconvconfig.c: Likewise.
12634 * locale/programs/locale.c: Likewise.
12635 * locale/programs/localedef.c: Likewise.
12636 * malloc/memusage.sh: Likewise.
12637 * malloc/mtrace.pl: Likewise.
12638 * nscd/nscd.c (print_version): Likewise.
12639 * nss/getent.c: Likewise.
12640
a77e8cbc
UD
12641 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12642 PF_CAIF, and PF_ALG.
12643 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12644
77e8bddf
AS
126452011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12646
1f20b93a
AS
12647 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12648 (modules-names): Use them.
12649 (ifunc-test-modules, ifunc-pie-tests): Define.
12650 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12651 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12652 (test-extras): Likewise.
12653 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12654 $(compile-command.c).
12655 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12656 (all-built-dso): Define.
12657 (check-textrel.out, check-execstack.out): Depend on it.
12658
77e8bddf
AS
12659 * configure.in: Don't override --enable-multi-arch.
12660
bc425b33
UD
126612011-01-15 Ulrich Drepper <drepper@gmail.com>
12662
12663 [BZ #6812]
12664 * nscd/hstcache.c (tryagain): Define.
12665 (cache_addhst): Return tryagain not notfound for temporary errors.
12666 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12667 failed.
12668
794c3ad3
UD
126692011-01-14 Ulrich Drepper <drepper@gmail.com>
12670
70181fdd
UD
12671 [BZ #10563]
12672 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12673 to make the syscall.
12674 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12675
794c3ad3
UD
12676 [BZ #12378]
12677 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12678 and fall back to matching as normal character if the string ends before
12679 the matching ']' is found. This is what POSIX requires.
12680 * posix/testfnm.c: Adjust test result.
12681 * posix/globtest.sh: Adjust test result. Add new test.
12682 * posix/tst-fnmatch.input: Likewise.
12683 * posix/tst-fnmatch2.c: Add new test.
12684
68dc9497
AS
126852010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12686
12687 * elf/Makefile (check-execstack): Revert last change. Depend on
12688 check-execstack.h.
12689 (check-execstack.h): New target.
12690 (generated): Add check-execstack.h.
12691 * elf/check-execstack.c: Include "check-execstack.h".
12692 (main): Revert last change.
12693 (handle_file): Return zero if GNU_STACK is absent and
12694 DEFAULT_STACK_PERMS doesn't include PF_X.
12695
451f001b
UD
126962011-01-13 Ulrich Drepper <drepper@gmail.com>
12697
cfa28e56
UD
12698 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12699 in child fails because the descriptor is already closed.
8cf8ce17
UD
12700 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12701 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12702 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12703
1086d70d
UD
12704 [BZ #12397]
12705 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12706 syscall.
12707
451f001b
UD
12708 [BZ #10484]
12709 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12710 temporary buffer used to handle multi lookups locally.
a85b5cb4 12711 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12712
08769175
UD
127132011-01-12 Ulrich Drepper <drepper@gmail.com>
12714
12715 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12716 loader is ld.so.
12717
5e49c52e
UD
127182011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12719
12720 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12721 alignment for SSE2.
12722
60522a5f
UD
127232011-01-12 Ulrich Drepper <drepper@gmail.com>
12724
12725 [BZ #12394]
12726 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12727 characters. When rounding increased number of integer digits recompute
12728 number of groups.
12729 * stdio-common/tst-grouping.c: New file.
12730 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12731
f257bbd7
UD
127322011-01-09 Ulrich Drepper <drepper@gmail.com>
12733
12734 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12735 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12736
12737 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12738 void.
12739 * bits/select.h: Likewise.
12740
fa9c15cb
UD
127412011-01-08 Ulrich Drepper <drepper@gmail.com>
12742
12743 * po/ja.po: Update from translation team.
12744
16c2895f
DM
127452011-01-04 David S. Miller <davem@sunset.davemloft.net>
12746
12747 [BZ #11155]
12748 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12749 implementation just like for lxstat, fxstatat, et al.
12750
2543fef2
JM
127512010-12-27 Jim Meyering <meyering@redhat.com>
12752
12753 [BZ #12348]
12754 * posix/regexec.c (build_trtable): Return failure indication upon
12755 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12756
98727dbe
UD
127572010-12-25 Ulrich Drepper <drepper@gmail.com>
12758
5bd6dc5c
UD
12759 [BZ #12201]
12760 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12761 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12762 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12763 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12764
97983464
UD
12765 [BZ #12207]
12766 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12767
98727dbe
UD
12768 [BZ #12204]
12769 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12770 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12771
4a531bb0
L
127722010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12773
12774 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12775 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12776 script has SORT_BY_INIT_PRIORITY.
12777 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12778 NO_CTORS_DTORS_SECTIONS is defined.
12779 * elf/soinit.c: Likewise.
12780 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12781 NO_CTORS_DTORS_SECTIONS is defined.
12782 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12783 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12784 * sysdeps/sh/init-first.c: Likewise.
12785 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12786
07eb4b71
UD
127872010-12-24 Ulrich Drepper <drepper@gmail.com>
12788
12789 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12790 always use the slow path.
12791
30950a5f
RA
127922010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12793
12794 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12795 similar rule which adds the sysdep directories to the header search in
12796 order to pick up the correct platform stackinfo.h.
12797 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12798 perform test if it is, otherwise return successfully without testing.
12799 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12800 DEFAULT_STACK_PERMS define in stackinfo.h.
12801 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12802 defined in stackinfo.h.
12803 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12804 DEFAULT_STACK_PERMS defined in stackinfo.h.
12805 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12806 * sysdeps/ia64/stackinfo.h: Likewise.
12807 * sysdeps/s390/stackinfo.h: Likewise.
12808 * sysdeps/sh/stackinfo.h: Likewise.
12809 * sysdeps/sparc/stackinfo.h: Likewise.
12810 * sysdeps/x86_64/stackinfo.h: Likewise.
12811 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12812 PF_X for powerpc64. Retain PF_X for powerpc32.
12813
db753e2c
UD
128142010-12-19 Ulrich Drepper <drepper@gmail.com>
12815
14b697f7
UD
12816 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12817 accurately.
db753e2c
UD
12818 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12819 GETDENTS_64BIT_ALIGNED.
12820
28300719
UD
128212010-12-14 Ulrich Drepper <dreper@gmail.com>
12822
14b697f7 12823 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12824
4f197237
AS
128252010-12-10 Andreas Schwab <schwab@redhat.com>
12826
dbb0472f
AS
12827 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12828 _GNU_SOURCE.
12829
4f197237
AS
12830 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12831 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12832 Remove __restrict.
12833 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12834 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12835
fb88ac72
UD
128362010-12-09 Ulrich Drepper <drepper@gmail.com>
12837
12838 [BZ #11655]
12839 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12840 are initialized.
12841
42acbb92
JJ
128422010-12-09 Jakub Jelinek <jakub@redhat.com>
12843
12844 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12845
c038d98d
UD
128462010-12-03 Ulrich Drepper <drepper@gmail.com>
12847
12848 * po/it.po: Update from translation team.
12849
3a4a2499
L
128502010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12851
12852 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12853 unused codes.
12854
1e24cf6e
UD
128552010-11-30 Ulrich Drepper <drepper@gmail.com>
12856
12857 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12858
a7690819
AS
128592010-11-24 Andreas Schwab <schwab@redhat.com>
12860
12861 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12862 specially.
12863 (gaih_getanswer_slice): Likewise.
12864
3bf8d1b1
JJ
128652010-10-20 Jakub Jelinek <jakub@redhat.com>
12866
12867 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12868
6db52fbb
PB
128692010-05-31 Petr Baudis <pasky@suse.cz>
12870
12871 [BZ #11149]
12872 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12873 silently even in the chroot mode.
12874
eaca7569
UD
128752010-11-22 Ulrich Drepper <drepper@gmail.com>
12876
12877 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12878 last patch a bit. Pretty printing
12879
3056dcdb
UD
128802010-05-31 Petr Baudis <pasky@suse.cz>
12881
12882 [BZ #10085]
12883 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12884 initialization of skip_initgroups_dyn.
12885
cf7c9078
UD
128862010-11-19 Ulrich Drepper <drepper@gmail.com>
12887
12888 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12889 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12890
a1fb5e3e
UD
128912010-11-16 Ulrich Drepper <drepper@gmail.com>
12892
12893 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12894
3540d66b
AS
128952010-11-11 Andreas Schwab <schwab@redhat.com>
12896
12897 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12898 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12899 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12900 ($(objpfx)tst-fnmatch-mem): New rule.
12901 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12902 * posix/tst-fnmatch.c (main): Call mtrace.
12903
13b69574
L
129042010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12905
12906 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12907 Support Intel processor model 6 and model 0x2c.
12908
da93d214
LM
129092010-11-10 Luis Machado <luisgpm@br.ibm.com>
12910
12911 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12912 signed comparison.
12913
8ca52c6e
L
129142010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12915
12916 [BZ #12205]
12917 * string/test-strncasecmp.c (check_result): New function.
12918 (do_one_test): Use it.
12919 (check1): New function.
12920 (test_main): Use it.
12921 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12922 Support strcasecmp and strncasecmp.
12923
69da074d
UD
129242010-11-08 Ulrich Drepper <drepper@gmail.com>
12925
12926 [BZ #12194]
12927 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12928 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12929
ff02d528
L
129302010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12931
12932 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12933 IFUNC support.
12934 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12935 memset-x86-64.
12936 * sysdeps/x86_64/multiarch/bzero.S: New file.
12937 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12938 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12939 * sysdeps/x86_64/multiarch/memset.S: New file.
12940 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12942 Set bit_Prefer_SSE_for_memop for Intel processors.
12943 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12944 Define.
12945 (index_Prefer_SSE_for_memop): Define.
12946 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12947
344d0b54
LM
129482010-11-04 Luis Machado <luisgpm@br.ibm.com>
12949
12950 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12951 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12952
c0dde15b
UD
129532010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12954
12955 [BZ #12191]
12956 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12957 (__x86_64_raw_data_cache_size_half): Likewise.
12958 (__x86_64_raw_shared_cache_size): Likewise.
12959 (__x86_64_raw_shared_cache_size_half): Likewise.
12960
12961 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12962 (__x86_64_raw_data_cache_size_half): Likewise.
12963 (__x86_64_raw_shared_cache_size): Likewise.
12964 (__x86_64_raw_shared_cache_size_half): Likewise.
12965 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12966 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12967 and __x86_64_raw_shared_cache_size_half. Round
12968 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12969 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12970 to multiple of 256 bytes.
12971
0e516e0e
MS
129722010-11-03 Ulrich Drepper <drepper@gmail.com>
12973
12974 [BZ #12167]
12975 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12976 of inacessible symlinks. Verify result of symlink before returning it.
12977 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12978 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12979
0e012e87
ER
129802010-10-28 Erich Ritz <erichritz@gmail.com>
12981
12982 * math/math.h (isinf): Fix typo in comment.
12983
de0ff7bc
UD
129842010-11-01 Ulrich Drepper <drepper@gmail.com>
12985
12986 * po/da.po: Update from translation team.
12987
fa41c84d
UD
129882010-10-26 Ulrich Drepper <drepper@gmail.com>
12989
12990 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
12991 is added to the list.
12992
f0967738
AK
129932010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12994 Ulrich Drepper <drepper@gmail.com>
12995
12996 * elf/dl-object.c (_dl_new_object): Don't append the new object to
12997 the global list here. Move code to...
12998 (_dl_add_to_namespace_list): ...here. New function.
12999 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13000 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13001 * elf/dl-load.c (lose): Don't remove the element from the list.
13002 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13003 (_dl_map_object): Likewise.
13004
130052010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13006
13007 [BZ #12159]
13008 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13009 into all bytes of SSE register.
13010 Patch by Richard Li <richardpku@gmail.com>.
13011
f0967738 130122010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13013
13014 [BZ #12140]
13015 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13016 perturbing.
13017
d0b9e94f
MB
130182010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13019
13020 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13021 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13022 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13023 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13025 submachine.
13026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13027
8e9f92e9
AS
130282010-10-22 Andreas Schwab <schwab@redhat.com>
13029
13030 * include/dlfcn.h (__RTLD_SECURE): Define.
13031 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13032 mode & __RTLD_SECURE instead.
13033 (open_path): Rename preloaded parameter to secure.
13034 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13035 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13036 * elf/dl-deps.c (openaux): Likewise.
13037 * elf/rtld.c (struct map_args): Remove is_preloaded.
13038 (map_doit): Don't use it.
13039 (dl_main): Likewise.
13040 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13041 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13042
bc96fbda
AS
130432010-09-09 Andreas Schwab <schwab@redhat.com>
13044
13045 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13046 (sysd-rules-targets): Remove duplicates.
13047 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13048 rtld-%.$o dependency.
13049
22cd1c9b
AS
130502010-10-18 Andreas Schwab <schwab@redhat.com>
13051
13052 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13053 _dl_map_object do it.
13054
18edac48
UD
130552010-10-19 Ulrich Drepper <drepper@gmail.com>
13056
13057 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13058 fast fma builtins, define the macros in the C99 standard.
13059 (FP_FAST_FMAF): Likewise.
13060 (FP_FAST_FMAL): Likewise.
13061 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13062
13063 * bits/mathdef.h: Update copyright year.
13064 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13065
d2050124
MM
130662010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13067
13068 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13069 builtins, define the macros in the C99 standard.
13070 (FP_FAST_FMAF): Likewise.
13071 (FP_FAST_FMAL): Likewise.
13072 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13073 multiply/add.
13074 (FP_FAST_FMAF): Likewise.
13075
475facd1
JJ
130762010-10-15 Jakub Jelinek <jakub@redhat.com>
13077
13078 [BZ #3268]
13079 * math/libm-test.inc (fma_test): Some new testcases.
13080 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13081 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13082 y and infinite z. Do multiplication by C already in long double.
13083 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13085 y and infinite z. Do bitwise or of inexact bit into u.d.
13086 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13087 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13088 * sysdeps/i386/fpu/s_fma.S: Removed.
13089 * sysdeps/i386/fpu/s_fmal.S: Removed.
13090
7c08a05c
JJ
130912010-10-16 Jakub Jelinek <jakub@redhat.com>
13092
13093 [BZ #3268]
13094 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13095 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13096 computation is not scheduled after fetestexcept. Fix value
13097 of minimum denormal long double.
13098
f3f7372d
JJ
130992010-10-14 Jakub Jelinek <jakub@redhat.com>
13100
13101 [BZ #3268]
13102 * math/libm-test.inc (fma_test): Add some more tests.
13103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13104 correctly.
13105
14d43591
AS
131062010-10-15 Andreas Schwab <schwab@redhat.com>
13107
13108 * scripts/data/localplt-s390-linux-gnu.data: New file.
13109 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13110
5e908464
JJ
131112010-10-13 Jakub Jelinek <jakub@redhat.com>
13112
13113 [BZ #3268]
13114 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13115 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13116 instead of dbl-64.
13117 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13118 inlines.
13119 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13120 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13121 if one of x and y is very large and the other is subnormal.
13122 * sysdeps/s390/fpu/s_fmaf.c: New file.
13123 * sysdeps/s390/fpu/s_fma.c: New file.
13124 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13125 * sysdeps/powerpc/fpu/s_fma.S: New file.
13126 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13127 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13128 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13129
131302010-10-12 Jakub Jelinek <jakub@redhat.com>
13131
13132 [BZ #3268]
13133 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13134 fma tests.
13135 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13136 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13137 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13138 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13139 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13140 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13141 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13142
b833d51f
UD
131432010-10-12 Ulrich Drepper <drepper@redhat.com>
13144
13145 [BZ #12078]
13146 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13147 * posix/bug-regex31.input: Add test case.
13148
1751705d
UD
131492010-10-11 Ulrich Drepper <drepper@gmail.com>
13150
e9b9cbf5
UD
13151 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13152 * posix/bug-regex31.input: New file.
13153
13154 [BZ #12078]
13155 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13156 (parse_sub_exp): Fix last change, use postorder.
13157
ef06edbe
UD
13158 * posix/bug-regex31.c: New file.
13159 * posix/Makefile: Add rules to build and run bug-regex31.
13160
a129c80d
UD
13161 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13162
13163 [BZ #12078]
13164 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13165
b76b818e
UD
13166 [BZ #12108]
13167 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13168 to have entries in sys_siglist.
13169
1751705d
UD
13170 [BZ #12093]
13171 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13172 be NULL.
13173
9ff8d36f
JJ
131742010-10-07 Jakub Jelinek <jakub@redhat.com>
13175
13176 [BZ #3268]
13177 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13178 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13179 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13180 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13181 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13182 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13183 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13184 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13185 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13186 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13187 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13188 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13189 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13190 * math/ftestexcept.c (fetestexcept): Likewise.
13191 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13192 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13193 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13194 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13195 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13196 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13197 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13198
af325969
UD
131992010-10-11 Ulrich Drepper <drepper@gmail.com>
13200
c579b202 13201 [BZ #12107]
af325969
UD
13202 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13203 newline.
13204
67a67b95
UD
132052010-10-06 Ulrich Drepper <drepper@gmail.com>
13206
13207 * string/bug-strstr1.c: New file.
13208 * string/Makefile: Add rules to build and run bug-strstr1.
13209
5fb308bc
EB
132102010-10-05 Eric Blake <eblake@redhat.com>
13211
13212 [BZ #12092]
13213 * string/str-two-way.h (two_way_long_needle): Always clear memory
13214 when skipping input due to the shift table.
13215
45db99c7
UD
132162010-10-03 Ulrich Drepper <drepper@gmail.com>
13217
3b111893
UD
13218 [BZ #12005]
13219 * malloc/mcheck.c: Handle large requests.
13220
45db99c7
UD
13221 [BZ #12077]
13222 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13223 for strncmp and strncasecmp.
13224 * string/stratcliff.c: Add tests for strcmp and strncmp.
13225 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13226
cf7a1eb8
NI
132272010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13228
13229 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13230 __set_fpscr.
13231
6484ba5e
AJ
132322010-09-30 Andreas Jaeger <aj@suse.de>
13233
13234 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13235 (CGROUP_SUPER_MAGIC): Define.
13236 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13237 Handle btrfs and cgroup file systems.
13238 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13239 Likewise.
13240
91c42559
LM
132412010-09-27 Luis Machado <luisgpm@br.ibm.com>
13242
13243 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13244 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13245
87a97932
AK
132462010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13247
13248 [BZ #12067]
13249 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13250 trying to locate the ELF header.
13251
c21cc9bc
AS
132522010-09-27 Andreas Schwab <schwab@redhat.com>
13253
13254 [BZ #11611]
13255 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13256 Mask out sign-bit copies when constructing f_fsid.
13257
315970f6
PB
132582010-09-24 Petr Baudis <pasky@suse.cz>
13259
13260 * debug/stack_chk_fail_local.c: Add missing licence exception.
13261 * debug/warning-nop.c: Likewise.
13262
1ac7a2c7
JM
132632010-09-15 Joseph Myers <joseph@codesourcery.com>
13264
13265 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13266 implementing getdents64 using getdents syscall, set d_type if
13267 __ASSUME_GETDENTS32_D_TYPE.
13268
56801c50
AS
132692010-09-16 Andreas Schwab <schwab@redhat.com>
13270
13271 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13272 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13273
dda51327
UD
132742010-09-21 Ulrich Drepper <drepper@redhat.com>
13275
13276 [BZ #12037]
13277 * posix/unistd.h: Undo change of feature selection for ftruncate from
13278 2010-01-11.
13279
8ffcee4a
UD
132802010-09-20 Ulrich Drepper <drepper@redhat.com>
13281
a545ecd9 13282 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13283 detection.
13284
e24f0a8b
AS
132852010-09-20 Andreas Schwab <schwab@redhat.com>
13286
13287 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13288 fanotify_mark.
13289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13290
7291c56f
AS
132912010-09-14 Andreas Schwab <schwab@redhat.com>
13292
13293 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13294 variables after CHECK_SP call.
13295 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13296
bc5fb037
AS
132972010-09-13 Andreas Schwab <schwab@redhat.com>
13298 Ulrich Drepper <drepper@redhat.com>
13299
13300 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13301 re-relocationg ld.so.
13302 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13303 _dl_init_paths call.
13304 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13305 here anymore.
13306
e66e7419
UD
133072010-09-14 Ulrich Drepper <drepper@redhat.com>
13308
13309 * resolv/res_init.c (__res_vinit): Count the default server we added.
13310
c044aa75
CLT
133112010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13312 Ulrich Drepper <drepper@redhat.com>
13313
13314 [BZ #11968]
13315 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13316 (____longjmp_chk): Use %ebx for saving value across system call.
13317 Add unwind info.
13318
32cf4069
AS
133192010-09-06 Andreas Schwab <schwab@redhat.com>
13320
13321 * manual/Makefile: Don't mix pattern rules with normal rules.
13322
817328ee
AS
133232010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13324
13325 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13326 operation.
13327 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13328 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13329 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13330 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13331 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13332 Likewise.
13333
29fddf61
UD
133342010-09-04 Ulrich Drepper <drepper@redhat.com>
13335
13336 [BZ #11979]
13337 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13338 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13339
0959ffc9
UD
133402010-09-02 Ulrich Drepper <drepper@redhat.com>
13341
13342 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13343 * sysdeps/x86_64/addmul_1.S: Likewise.
13344 * sysdeps/x86_64/lshift.S: Likewise.
13345 * sysdeps/x86_64/mul_1.S: Likewise.
13346 * sysdeps/x86_64/rshift.S: Likewise.
13347 * sysdeps/x86_64/sub_n.S: Likewise.
13348 * sysdeps/x86_64/submul_1.S: Likewise.
13349
ece29840
ST
133502010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13351
0959ffc9
UD
13352 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13353 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13354 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13355 * bits/sched.h [__need_schedparam]
ece29840 13356 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13357 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13358 (__defined_schedparam): Define to 1.
ece29840
ST
13359 (__sched_param): New structure, identical to sched_param.
13360 (__need_schedparam): Undefine.
13361
e53a31fe
MF
133622010-08-31 Mike Frysinger <vapier@gentoo.org>
13363
fdc0c10d
MF
13364 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13365 (epoll_create1): Declare.
13366
e53a31fe
MF
13367 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13368
a726d796
AS
133692010-08-31 Andreas Schwab <schwab@redhat.com>
13370
13371 [BZ #7066]
13372 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13373 shifting retval into place.
13374
2f3e3dc7
UD
133752010-09-01 Ulrich Drepper <drepper@redhat.com>
13376
f2933da9
UD
13377 * nis/rpcsvc/nis.h: Update copyright notice.
13378 * nis/rpcsvc/nis.x: Likewise.
13379 * nis/rpcsvc/nis_callback.h: Likewise.
13380 * nis/rpcsvc/nis_callback.x: Likewise.
13381 * nis/rpcsvc/nis_object.x: Likewise.
13382 * nis/rpcsvc/nis_tags.h: Likewise.
13383 * nis/rpcsvc/yp.h: Likewise.
13384 * nis/rpcsvc/yp.x: Likewise.
13385 * nis/rpcsvc/ypupd.h: Likewise.
13386 * nis/yp_xdr.c: Likewise.
13387 * nis/ypupdate_xdr.c: Likewise.
13388
2f3e3dc7
UD
13389 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13390 mainly the body of pmap_getport. Add parameters to specify timeouts.
13391 (pmap_getport): Use __libc_rpc_getport.
13392 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13393 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13394 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13395
f3dcc2f9
AS
133962010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13397
13398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13399 fanotify_mark.
13400
6d34eb5b
RM
134012010-08-27 Roland McGrath <roland@redhat.com>
13402
13403 * sysdeps/i386/i686/multiarch/Makefile
13404 (CFLAGS-varshift.c): New variable.
13405
9ea3de11
UD
134062010-08-27 Ulrich Drepper <drepper@redhat.com>
13407
c96d23fc
UD
13408 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13409 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13410
9ea3de11
UD
13411 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13412
13413 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13414
623aac7f
L
134152010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13416
13417 * sysdeps/x86_64/strlen.S: Unroll the loop.
13418 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13419 strlen-sse2 strlen-sse2-bsf.
13420 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13421 __strlen_no_bsf if bit_Slow_BSF is set.
13422 (__strlen_sse42): Removed.
13423 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13424 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13425
8b2b7715
RM
134262010-08-25 Roland McGrath <roland@redhat.com>
13427
13428 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13429 * sysdeps/x86_64/multiarch/varshift.c: New file.
13430 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13431 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13432 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13433 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13434
e73015f2
L
134352010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13436
13437 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13438 strlen-sse2 strlen-sse2-bsf.
13439 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13440 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13441 (__strlen_sse2): Removed.
13442 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13443 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13444 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13445 bit_Slow_BSF for Atom.
13446 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13447 (index_Slow_BSF): Define.
13448 (HAS_SLOW_BSF): Define.
13449
df24a73e
UD
134502010-08-25 Ulrich Drepper <drepper@redhat.com>
13451
13452 [BZ #10851]
13453 * resolv/res_init.c (__res_vinit): When no server address at all
13454 is given default to loopback.
13455
f2ac4868
RM
134562010-08-24 Roland McGrath <roland@redhat.com>
13457
09055553
RM
13458 * configure.in: Remove config-name.h generation.
13459 * configure: Regenerated.
13460 * config-name.in: File removed.
13461 * scripts/config-uname.sh: New file.
13462 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13463 ($(objdir)config-name.h): New target.
13464
f2ac4868
RM
13465 * sunrpc/rpc_parse.h: Avoid nested comment.
13466
73f27d5e
RH
134672010-08-24 Richard Henderson <rth@redhat.com>
13468 Ulrich Drepper <drepper@redhat.com>
13469 H.J. Lu <hongjiu.lu@intel.com>
13470
13471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13472 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13473 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13474 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13475 _mm_alignr_epi8 with _mm_loadu_si128.
13476 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13477 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13478 (__m128i_shift_right): Removed.
13479 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13480 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13481 * sysdeps/x86_64/multiarch/varshift.h: New file.
13482 * sysdeps/x86_64/multiarch/varshift.S: New file.
13483
84b9230c
MF
134842010-08-21 Mike Frysinger <vapier@gentoo.org>
13485
13486 * configure.in: Move assembler checks to before sysdep dir checking.
13487
9bbd0ddc
PB
134882010-08-20 Petr Baudis <pasky@suse.cz>
13489
13490 * LICENSES: Sync the sunrpc license.
13491
9da4bb31
UD
134922010-08-19 Ulrich Drepper <drepper@redhat.com>
13493
a7ab6ec8
UD
13494 * sunrpc/auth_des.c: Update copyright notice once again.
13495 * sunrpc/auth_none.c: Likewise.
13496 * sunrpc/auth_unix.c: Likewise.
13497 * sunrpc/authdes_prot.c: Likewise.
13498 * sunrpc/authuxprot.c: Likewise.
13499 * sunrpc/bindrsvprt.c: Likewise.
13500 * sunrpc/clnt_gen.c: Likewise.
13501 * sunrpc/clnt_perr.c: Likewise.
13502 * sunrpc/clnt_raw.c: Likewise.
13503 * sunrpc/clnt_simp.c: Likewise.
13504 * sunrpc/clnt_tcp.c: Likewise.
13505 * sunrpc/clnt_udp.c: Likewise.
13506 * sunrpc/clnt_unix.c: Likewise.
13507 * sunrpc/des_crypt.c: Likewise.
13508 * sunrpc/des_soft.c: Likewise.
13509 * sunrpc/get_myaddr.c: Likewise.
13510 * sunrpc/getrpcport.c: Likewise.
13511 * sunrpc/key_call.c: Likewise.
13512 * sunrpc/key_prot.c: Likewise.
13513 * sunrpc/openchild.c: Likewise.
13514 * sunrpc/pm_getmaps.c: Likewise.
13515 * sunrpc/pm_getport.c: Likewise.
13516 * sunrpc/pmap_clnt.c: Likewise.
13517 * sunrpc/pmap_prot.c: Likewise.
13518 * sunrpc/pmap_prot2.c: Likewise.
13519 * sunrpc/pmap_rmt.c: Likewise.
13520 * sunrpc/rpc/auth.h: Likewise.
13521 * sunrpc/rpc/auth_unix.h: Likewise.
13522 * sunrpc/rpc/clnt.h: Likewise.
13523 * sunrpc/rpc/des_crypt.h: Likewise.
13524 * sunrpc/rpc/key_prot.h: Likewise.
13525 * sunrpc/rpc/netdb.h: Likewise.
13526 * sunrpc/rpc/pmap_clnt.h: Likewise.
13527 * sunrpc/rpc/pmap_prot.h: Likewise.
13528 * sunrpc/rpc/pmap_rmt.h: Likewise.
13529 * sunrpc/rpc/rpc.h: Likewise.
13530 * sunrpc/rpc/rpc_des.h: Likewise.
13531 * sunrpc/rpc/rpc_msg.h: Likewise.
13532 * sunrpc/rpc/svc.h: Likewise.
13533 * sunrpc/rpc/svc_auth.h: Likewise.
13534 * sunrpc/rpc/types.h: Likewise.
13535 * sunrpc/rpc/xdr.h: Likewise.
13536 * sunrpc/rpc_clntout.c: Likewise.
13537 * sunrpc/rpc_cmsg.c: Likewise.
13538 * sunrpc/rpc_common.c: Likewise.
13539 * sunrpc/rpc_cout.c: Likewise.
13540 * sunrpc/rpc_dtable.c: Likewise.
13541 * sunrpc/rpc_hout.c: Likewise.
13542 * sunrpc/rpc_main.c: Likewise.
13543 * sunrpc/rpc_parse.c: Likewise.
13544 * sunrpc/rpc_parse.h: Likewise.
13545 * sunrpc/rpc_prot.c: Likewise.
13546 * sunrpc/rpc_sample.c: Likewise.
13547 * sunrpc/rpc_scan.c: Likewise.
13548 * sunrpc/rpc_scan.h: Likewise.
13549 * sunrpc/rpc_svcout.c: Likewise.
13550 * sunrpc/rpc_tblout.c: Likewise.
13551 * sunrpc/rpc_util.c: Likewise.
13552 * sunrpc/rpc_util.h: Likewise.
13553 * sunrpc/rpcinfo.c: Likewise.
13554 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13555 * sunrpc/rpcsvc/key_prot.x: Likewise.
13556 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13557 * sunrpc/rpcsvc/mount.x: Likewise.
13558 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13559 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13560 * sunrpc/rpcsvc/rex.x: Likewise.
13561 * sunrpc/rpcsvc/rstat.x: Likewise.
13562 * sunrpc/rpcsvc/rusers.x: Likewise.
13563 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13564 * sunrpc/rpcsvc/spray.x: Likewise.
13565 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13566 * sunrpc/rtime.c: Likewise.
13567 * sunrpc/svc.c: Likewise.
13568 * sunrpc/svc_auth.c: Likewise.
13569 * sunrpc/svc_authux.c: Likewise.
13570 * sunrpc/svc_raw.c: Likewise.
13571 * sunrpc/svc_run.c: Likewise.
13572 * sunrpc/svc_simple.c: Likewise.
13573 * sunrpc/svc_tcp.c: Likewise.
13574 * sunrpc/svc_udp.c: Likewise.
13575 * sunrpc/svc_unix.c: Likewise.
13576 * sunrpc/svcauth_des.c: Likewise.
13577 * sunrpc/xcrypt.c: Likewise.
13578 * sunrpc/xdr.c: Likewise.
13579 * sunrpc/xdr_array.c: Likewise.
13580 * sunrpc/xdr_float.c: Likewise.
13581 * sunrpc/xdr_mem.c: Likewise.
13582 * sunrpc/xdr_rec.c: Likewise.
13583 * sunrpc/xdr_ref.c: Likewise.
13584 * sunrpc/xdr_sizeof.c: Likewise.
13585 * sunrpc/xdr_stdio.c: Likewise.
13586
9da4bb31
UD
13587 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13588 handling.
13589
bdaa77bc
AS
135902010-08-19 Andreas Schwab <schwab@redhat.com>
13591
13592 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13593
fe2f79db
LM
135942010-08-19 Luis Machado <luisgpm@br.ibm.com>
13595
13596 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13597 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13598 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13599 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13600 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13601 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13602 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13603 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13604 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13605 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13606 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13607 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13608 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13609 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13610
b9b42ee0
AB
136112010-07-26 Anton Blanchard <anton@samba.org>
13612
13613 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13614 * malloc/arena.c (heap_trim): Likewise.
13615
1c06ba31
UD
136162010-08-16 Ulrich Drepper <drepper@redhat.com>
13617
13618 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13619 here. Not...
13620 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13621 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13622
f8392f40
L
136232010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13624
13625 * sysdeps/i386/elf/Makefile: New file.
13626
3162f12e
AS
136272010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13628
13629 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13630 from fanotify_init.
13631 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13632 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13633
28c90b2c
UD
136342010-08-15 Ulrich Drepper <drepper@redhat.com>
13635
13636 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13637 of strncasecmp_l.
1feccb6c 13638 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13639
ca6bb004
UD
136402010-08-14 Ulrich Drepper <drepper@redhat.com>
13641
e9f82e0d
UD
13642 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13643 strncase_l-nonascii.
13644 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13645 Add strncase_l-ssse3.
13646 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13647 * sysdeps/x86_64/strcmp.S: Likewise.
13648 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13649 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13650 * sysdeps/x86_64/strncase.S: New file.
13651 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13652 * sysdeps/x86_64/strncase_l.S: New file.
13653 * string/Makefile (strop-tests): Add strncasecmp.
13654 * string/test-strncasecmp.c: New file.
13655
13656 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13657 warning.
13658
ca6bb004
UD
13659 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13660 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13661
052fa7b3
AS
136622010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13663
13664 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13665
962dba78
UD
136662010-08-12 Ulrich Drepper <drepper@redhat.com>
13667
13668 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13669 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13670 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13671
bebff237
AM
136722010-05-01 Alan Modra <amodra@gmail.com>
13673
13674 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13675 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13676 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13677 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13678 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13679 tidying. Don't tail-call __sigjmp_save for static lib.
13680 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13681 save location.
13682 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13683 (CALL_MCOUNT): Add eh info, and nop after bl.
13684 (TAIL_CALL_SYSCALL_ERROR): New macro.
13685 (PSEUDO_RET): Use it.
13686 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13687 Correct save location of integer regs and cr.
13688 (_dl_profile_resolve): Correct cr save location. Delete nops
13689 after bl when SHARED. Reduce cfi size a little by better
13690 placement of cfi directives.
13691 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13692 make a stack frame. Instead use parm save area as a temp.
13693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13694 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13696 Don't make a stack frame for parent, use parm save area.
13697 Increase child stack frame to 112 bytes. Don't save unused reg,
13698 and adjust reg usage. Set up cfi on error recovery and
13699 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13700 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13701 (__makecontext): Add dummy nop after jump to exit.
13702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13703 Use correct parm save area and cr save, reduce stack frame.
13704 Correct cfi for possible PSEUDO_RET frame setup.
13705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13706 Branch to local label emitted by PSEUDO_RET rather than
13707 __syscall_error.
13708
02637374
AS
137092010-08-12 Andreas Schwab <schwab@redhat.com>
13710
13711 [BZ #11904]
13712 * locale/programs/locale.c (print_assignment): New function.
13713 (show_locale_vars): Use it.
13714
c3e2f19b
UD
137152010-08-11 Ulrich Drepper <drepper@redhat.com>
13716
3cdaa6ad
UD
13717 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13718 field.
13719 (struct statfs64): Likewise.
13720 (_STATFS_F_FLAGS): Define.
13721 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13722 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13723 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13724 (ST_VALID): Define locally.
13725 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13726 __statvfs_getflags, use the provided value.
13727 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13728 __ASSUME_STATFS_F_FLAGS.
13729
754f7da3
UD
13730 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13731
10b3bedc
UD
13732 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13733 Add sys/fanotify.h.
13734 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13735 fanotify_mask for GLIBC_2.13.
13736 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13737 fanotify_init and fanotify_mark.
13738 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13739 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13740
c08fb0d7
UD
13741 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13742 Add prlimit.
13743 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13744 prlimit64 for GLIBC_2.13.
13745 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13746 prlimit64.
13747 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13748 syscall.
13749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13750 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13751 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13752 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13753 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13754 add prlimit alias.
13755 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13756
15bac72b
UD
13757 [BZ #11903]
13758 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13759 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13760
c3e2f19b
UD
13761 * nss/Makefile: Add rules to build and run tst-nss-test1.
13762 * shlib-versions: Add entry for libnss_test1.
13763 * nss/nss_test1.c: New file.
13764 * nss/tst-nss-test1.c: New file.
13765
13766 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13767 (__nss_configure_lookup): Set appropriate entry in
13768 __nss_configure_lookup to true.
13769 * nss/nsswitch.h: Define enum with indeces of databases in
13770 databases and __nss_database_custom arrays. Declare
13771 __nss_database_custom.
13772 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13773 to avoid using nscd when custom rules are installed.
13774 * nss/getXXbyYY_r.c: Likewise.
13775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13776
13777 * nss/nss_files/files-parse.c: Whitespace fixes.
13778
f15ce4d8
UD
137792010-08-09 Ulrich Drepper <drepper@redhat.com>
13780
13781 [BZ #11883]
13782 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13783 * posix/fnmatch_loop.c: Likewise.
13784
d22e4cc9
AK
137852010-07-17 Andi Kleen <ak@linux.intel.com>
13786
13787 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13788 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13789 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13790 * Versions.def [GLIBC_2.13]: Add.
13791
805bc17d
UD
137922010-08-06 Ulrich Drepper <drepper@redhat.com>
13793
13794 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13795 Also fail if tpwd after pwuid call is NULL.
13796
5a42321d
ST
137972010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13798
13799 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13800 when converting to ms.
13801
fd3ebeda
ST
138022010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13803
13804 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13805 EOPNOTSUPP errors with ENOTTY.
13806 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13807 EOPNOTSUPP errors with ENOTTY.
13808
73507d3a
UD
138092010-07-31 Ulrich Drepper <drepper@redhat.com>
13810
13811 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13812 Add strcasecmp_l-ssse3.
13813 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13814 strcasecmp.
13815 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13816 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13817 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13818
fe36dd02
UD
138192010-07-30 Ulrich Drepper <drepper@redhat.com>
13820
66f6765a
UD
13821 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13822
42e08a54
UD
13823 * string/Makefile (strop-tests): Add strcasecmp.
13824 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13825 strcasecmp_l-nonascii.
13826 (gen-as-const-headers): Add locale-defines.sym.
13827 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13828 * sysdeps/x86_64/strcasecmp.S: New file.
13829 * sysdeps/x86_64/strcasecmp_l.S: New file.
13830 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13831 * sysdeps/x86_64/locale-defines.sym: New file.
13832 * string/test-strcasecmp.c: New file.
13833
fe36dd02
UD
13834 * string/test-strcasestr.c: Test both ends of the range of characters.
13835 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13836
48cbc0d6
RM
138372010-07-29 Roland McGrath <roland@redhat.com>
13838
76e6d6bc 13839 [BZ #11856]
48cbc0d6
RM
13840 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13841
880113d9
UD
138422010-07-27 Ulrich Drepper <drepper@redhat.com>
13843
13844 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13845 for ld.so.
13846
deb9cabb
AS
138472010-07-27 Andreas Schwab <schwab@redhat.com>
13848
13849 * manual/memory.texi (Malloc Tunable Parameters): Document
13850 M_PERTURB.
13851
1c7570ff
RM
138522010-07-26 Roland McGrath <roland@redhat.com>
13853
13854 [BZ #11840]
13855 * configure.in (-fgnu89-inline check): Set and substitute
13856 gnu89_inline, not libc_cv_gnu89_inline.
13857 * configure: Regenerated.
13858 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13859
24fb0f88
UD
138602010-07-26 Ulrich Drepper <drepper@redhat.com>
13861
13862 * string/test-strnlen.c: New file.
13863 * string/Makefile (strop-tests): Add strnlen.
13864 * string/tester.c (test_strnlen): Add a few more test cases.
13865 * string/tst-strlen.c: Better error reporting.
13866
13867 * sysdeps/x86_64/strnlen.S: New file.
13868
8e96b93a
UD
138692010-07-24 Ulrich Drepper <drepper@redhat.com>
13870
13871 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13872 lower-latency instructions.
13873
dbc676d4
UD
138742010-07-23 Ulrich Drepper <drepper@redhat.com>
13875
13876 * string/test-strcasestr.c: New file.
13877 * string/test-strstr.c: New file.
13878 * string/Makefile (strop-tests): Add strstr and strcasestr.
13879 * string/str-two-way.h: Don't undefine MAX.
13880 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13881
f6a31e0e
AS
138822010-07-21 Andreas Schwab <schwab@redhat.com>
13883
13884 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13885 strcasestr-nonascii.
13886 (CFLAGS-strcasestr-nonascii.c): Define.
13887 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13888 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13889 Remove unused attribute.
13890
5dbc3b6c
RM
138912010-07-20 Roland McGrath <roland@redhat.com>
13892
13893 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13894 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13895 ld.so.cache was broken. With it, there is no way to disable dsocaps
13896 like LD_HWCAP_MASK can disable hwcaps.
13897
23d101d8
EPM
138982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13899
13900 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13901
cc9f2e47
UD
139022010-07-16 Ulrich Drepper <drepper@redhat.com>
13903
13904 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13905 call in strcasestr.
13906 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13907 __strcasestr_sse42_nonascii.
13908 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13909 strcasestr-nonascii.c.
13910 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13911
77c1b069
LM
139122010-06-15 Luis Machado <luisgpm@br.ibm.com>
13913
13914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13915 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13917 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13918
440566c3
UD
139192010-07-09 Ulrich Drepper <drepper@redhat.com>
13920
13921 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13922 fcntl.
13923
5be9d05d
AS
139242010-07-06 Andreas Schwab <schwab@redhat.com>
13925
c30b7ee2 13926 [BZ #11577]
5be9d05d
AS
13927 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13928 dl_signal_cerror.
13929
8a492a67
UD
139302010-07-06 Ulrich Drepper <drepper@redhat.com>
13931
13932 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13933 _PC_PIPE_BUF using F_GETPIPE_SZ.
13934
713df3d5
RM
139352010-07-05 Roland McGrath <roland@redhat.com>
13936
13937 * manual/arith.texi (Rounding Functions): Fix rint description
13938 implicit in round description.
13939
702e8f14
UD
139402010-07-02 Ulrich Drepper <drepper@redhat.com>
13941
13942 * elf/Makefile: Fix linking for a few tests to make recent linker
13943 happy.
13944
52ed8be9
AS
139452010-06-30 Andreas Schwab <schwab@redhat.com>
13946
13947 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13948 $(common-objpfx)libc_nonshared.a.
13949
f47c9a11
LM
139502010-06-21 Luis Machado <luisgpm@br.ibm.com>
13951
13952 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13953 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13954 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13955 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13956 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13957 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13958 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13959 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13974 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13975 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13976 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13977 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13978 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13979 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13980 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
13981 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
13982 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
13983 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
13984 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
13985 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
13993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
13994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
13995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
13996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
13997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
13998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
13999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14000
6fb8cbcb
L
140012010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14002
14003 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14004 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14005 * string/memmove.c (memmove): Renamed to ...
14006 (MEMMOVE): ...this. Default to memmove.
14007 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14008 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14009 (END_CHK): Define.
14010 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14011 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14012 mempcpy-ssse3-back memmove-ssse3-back.
14013 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14015 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14016 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14017 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14018 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14019 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14020 * sysdeps/x86_64/multiarch/memmove.c: New file.
14021 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14022 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14023 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14024 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14025 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14026 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14027 Define.
14028 (index_Fast_Copy_Backward): Define.
14029 (HAS_ARCH_FEATURE): Define.
14030 (HAS_FAST_REP_STRING): Define.
14031 (HAS_FAST_COPY_BACKWARD): Define.
14032
4e733bac 140332010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14034
14035 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14036 Restore proper fallback handling.
14037
63c4ed22
UD
140382010-06-19 Ulrich Drepper <drepper@redhat.com>
14039
ac2b484c
UD
14040 [BZ #11701]
14041 * posix/group_member.c (__group_member): Correct checking loop.
14042
63c4ed22
UD
14043 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14044 OOM in getpwuid_r correctly. Return error number when the caller
14045 should return, otherwise -1.
14046 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14047 call returning > 0 value.
14048 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14049
765ade4b
AS
140502010-06-07 Andreas Schwab <schwab@redhat.com>
14051
14052 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14053 libc_nonshared.a from targets in modules-names.
14054
80da2e09
KS
140552010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14056
14057 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14058 requires it.
14059
158db122
LM
140602010-06-10 Luis Machado <luisgpm@br.ibm.com>
14061
14062 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14065 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14066
caa78cf8
AS
140672010-06-02 Andreas Schwab <schwab@redhat.com>
14068
14069 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14070
b2ef2c01
UD
140712010-06-14 Ulrich Drepper <drepper@redhat.com>
14072
14073 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14074 and F_GETPIPE_SZ.
14075 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14076 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14077 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14078 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14079 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14080 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14081
fbd643b6
RM
140822010-06-14 Roland McGrath <roland@redhat.com>
14083
14084 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14085
f32f2869
JJ
140862010-06-07 Jakub Jelinek <jakub@redhat.com>
14087
14088 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14089 __REDIRECT followed by __THROW.
14090 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14091 * posix/getopt.h (getopt): Likewise.
14092
2a50c078
EPM
140932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14094
14095 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14096 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14097 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14098 in AT_FLAGS.
14099 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14100 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14101
eb5ad2eb
LM
141022010-05-28 Luis Machado <luisgpm@br.ibm.com>
14103
14104 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14105
3c88fe1e
L
141062010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14107
14108 [BZ #11640]
14109 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14110 Properly check family and model.
14111
d2f73151
TY
141122010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14113
14114 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14115
ebd2e13d
LM
141162010-05-24 Luis Machado <luisgpm@br.ibm.com>
14117
14118 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14119
b32b8b45
UD
141202010-05-21 Ulrich Drepper <drepper@redhat.com>
14121
14122 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14123 symbol reference.
14124
9acbe24d
AS
141252010-05-19 Andreas Schwab <schwab@redhat.com>
14126
14127 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14128 symbol reference.
14129
f0ccf6ea
AS
141302010-05-21 Andreas Schwab <schwab@redhat.com>
14131
3d04ff3a
AS
14132 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14133 and internal_recvmmsg.
14134 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14135 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14136 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14137 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14138
f0ccf6ea
AS
14139 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14140 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14141 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14142
5b08ac57
AS
141432010-05-20 Andreas Schwab <schwab@redhat.com>
14144
14145 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14146
4828935d
LM
141472010-05-17 Luis Machado <luisgpm@br.ibm.com>
14148
14149 POWER7 optimizations.
14150 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14151 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14152
373d545e
UD
141532010-05-19 Ulrich Drepper <drepper@redhat.com>
14154
14155 * version.h: Update for 2.13 development version.
14156
21a2b1ae
AS
141572010-05-12 Andrew Stubbs <ams@codesourcery.com>
14158
14159 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14160 exceptions. Return 0.
14161
3f7dcb2b
RM
141622010-05-07 Roland McGrath <roland@redhat.com>
14163
14164 * elf/ldconfig.c (main): Add a const.
14165
5f24d53a 141662010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14167
a160f8d8
UD
14168 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14169 (args_options): Add no-idn option.
14170 (ahosts_keys_int): Add idn_flags to ai_flags.
14171 (parse_option): Handle 'i' option to clear idn_flags.
14172
5f24d53a
UD
14173 * malloc/malloc.c (_int_free): Possible race in the most recently
14174 added check. Only act on the data if no current modification
14175 happened.
265bb1ce
UD
14176
14177See ChangeLog.17 for earlier changes.
This page took 1.683909 seconds and 5 git commands to generate.