]> sourceware.org Git - glibc.git/blame - ChangeLog
Add __PTHREAD_RWLOCK_INT_FLAGS_SHARED
[glibc.git] / ChangeLog
CommitLineData
0b254d8f
L
12012-05-14 H.J. Lu <hongjiu.lu@intel.com>
2
3 * shlib-versions: Move x86_64-.*-linux.* entries to ...
4 * sysdeps/x86_64/64/shlib-versions: Here. New file.
5 * sysdeps/x86_64/x32/shlib-versions: New file.
6
ceb809dc
RM
72012-05-14 Roland McGrath <roland@hack.frob.com>
8
9 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
10 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
11 Use _dl_fatal_printf instead.
12
37f1abd4
JM
132012-05-14 Joseph Myers <joseph@codesourcery.com>
14
15 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
16 set if not set by the user. Do not allow for being unset.
17 * sysdeps/unix/sysv/linux/configure: Regenerated.
18
11de3a33
L
192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
20
21 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22 the `q' suffix from lea and replace .quad with ASM_ADDR.
23
e02f153a
L
242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
25
26 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
27 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
28 instead of $17.
29 (PTR_DEMANGLE): Likewise.
30
520ae0fd
L
312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
32
33 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
34 (LP_OP): Likewise.
35 (ASM_ADDR): Likewise.
36 (RAX_LP): Likewise.
37 (RBP_LP): Likewise.
38 (RBX_LP): Likewise.
39 (RCX_LP): Likewise.
40 (RDI_LP): Likewise.
41 (RSI_LP): Likewise.
42 (RSP_LP): Likewise.
43 (R8_LP): Likewise.
44 (R9_LP): Likewise.
45 (R10_LP): Likewise.
46 (R10_LP): Likewise.
47 (R11_LP): Likewise.
48 (R12_LP): Likewise.
49 (R13_LP): Likewise.
50 (R14_LP): Likewise.
51 (R15_LP): Likewise.
52
b985be81
L
532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
54
55 * sysdeps/x86_64/x32/dl-machine.h: New file.
56
6a4888ff
AJ
572012-05-14 Andreas Jaeger <aj@suse.de>
58
59 * manual/Makefile (subdir): Remove export of subdir.
60 (all): Remove target.
61 (.PHONY): Remove all from list.
62 (mkinstalldirs): Remove.
63 (.PHONY): Remove installdirs from list.
64 ($(inst_infodir)/libc.info): Use make-target-directory.
65 (installdirs): Remove.
66 (subdir_%): Remove.
67 (glibc-targets): Remove.
68 (lib): Remove.
69 (stubs): Remove.
70 ($(objpfx)stubs ../po/manual.pot): Remove.
71 ($(objpfx)stamp%): Remove.
72 (make-target-directory): Remove.
73 (subdir_install): Remove.
74 (routines): Remove.
75 (aux): Remove.
76 (sources): Remove.
77 (objects): Remove.
78 (headers): Remove.
79
80 [BZ #13750]
81 * manual/.gitignore: Remove, it's not needed anymore.
82 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
83 all files in it.
84 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
85 directory.
86 (texis): Renamed to $(objpfx)texis.
87 (texis-path): New, contains path to generated files.
88 (chapters.%): Use texis-path for complete path, add extra argument
89 libc-texinfo.sh.
90 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
91 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
92 (summary,texi, stamp-summary): Use complete path of
93 files. Generate files in build dir.
94 (dir-add.texi): Build in build dir.
95 (libm-err.texi,stamp-libm-err): Likewise.
96 (version.texi, stamp-version): Likewise.
97 (.%c.texi): Likewise.
98 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
99 (mostlyclean): Remove target.
100 (realclean): Remove target.
101 (generated): Add new variable with contents from mostlyclean and
102 realclean, remove entries duplicated in common-mostlyclean, add
103 stamp-libm-err and stamp-version.
104 (generated-dirs): Add libc directory.
105 ($(inst_infodir)/libc.info): Install files from build dir.
106
107 * manual/install.texi (Configuring and compiling): Adjust since
108 the info files are not part of the tar ball anymore.
109
7ac77294
AJ
1102012-05-14 Andreas Jaeger <aj@suse.de>
111
112 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
113 variable.
114
ffb7875d
JM
1152012-05-14 Joseph Myers <joseph@codesourcery.com>
116
117 [BZ #13717]
118 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
119 to 2.2.0 where earlier.
120 * sysdeps/unix/sysv/linux/configure: Regenerated.
121 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
122 Remove conditional code.
123 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
124 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
125 Remove conditional code.
126 [!__NR_lchown]: Likewise.
127 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
128 [__NR_lchown]: Likewise.
129 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
130 comment referencing __ASSUME_LCHOWN_SYSCALL.
131 * sysdeps/unix/sysv/linux/i386/sigaction.c
132 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
133 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
134 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
135 Remove conditional code.
136 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
137 (__protocol_available): Remove #if 0 code.
138 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
139 conditional code.
140 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
141 * sysdeps/unix/sysv/linux/kernel-features.h
142 (__ASSUME_GETCWD_SYSCALL): Don't define.
143 (__ASSUME_REALTIME_SIGNALS): Likewise.
144 (__ASSUME_PREAD_SYSCALL): Likewise.
145 (__ASSUME_PWRITE_SYSCALL): Likewise.
146 (__ASSUME_POLL_SYSCALL): Likewise.
147 (__ASSUME_LCHOWN_SYSCALL): Likewise.
148 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
149 non-SPARC.
150 (__ASSUME_SIOCGIFNAME): Don't define.
151 (__ASSUME_MSG_NOSIGNAL): Likewise.
152 (__ASSUME_SENDFILE): Define unconditionally.
153 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
154 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
155 conditional code.
156 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
157 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
158 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
159 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
160 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
161 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
162 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
164 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
167 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
170 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
176 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
177 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
179 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
180 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
182 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
183 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
185 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
186 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
187 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
188 Remove conditional code.
189 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
190 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
191 Remove conditional code.
192 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
193 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
194 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
195 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
196 Remove conditional code.
197 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
198 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
199 Remove conditional code.
200 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
201 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
202 Remove conditional code.
203 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
204 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
205 Remove conditional code.
206 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
207 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
208 Remove conditional code.
209 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
210 * sysdeps/unix/sysv/linux/sh/pwrite64.c
211 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
212 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
213 * sysdeps/unix/sysv/linux/sigaction.c
214 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
215 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
216 * sysdeps/unix/sysv/linux/sigpending.c
217 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
218 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
219 * sysdeps/unix/sysv/linux/sigprocmask.c
220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
222 * sysdeps/unix/sysv/linux/sigsuspend.c
223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
225 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
226 (__libc_missing_rt_sigs): Remove.
227 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
228 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
229 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
230 Remove conditional code.
231 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
232 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
233 return 1.
234 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
235 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
236 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
237 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
238
1bfb7291
AJ
2392012-05-14 Andreas Jaeger <aj@suse.de>
240
caae5a81
AJ
241 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
242 it's not used in glibc.
243 (__coshm1): Likewise.
244 (__acosh1p): Likewise.
245 (__sgn): Likewise.
246
1bfb7291
AJ
247 * manual/string.texi (Copying and Concatenation): Add missing
248 variable in concat example.
249 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
250
c044d724
L
2512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
252
144c5467 253 [BZ #14103]
c044d724
L
254 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
255 __builtin_clzl with __builtin_clzll.
256
2523c62b
L
2572012-05-14 H.J. Lu <hongjiu.lu@intel.com>
258
259 [BZ #14104]
260 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
261 libc_freeres_ptr.
262
d7bb4c42
LD
2632012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
264
265 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
266 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
267 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
268 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
269
9dc4e1fb
MF
2702012-05-14 Mike Frysinger <vapier@gentoo.org>
271
272 * NEWS: Update ia64 info.
273
c7df0112
AS
2742012-05-12 Andreas Schwab <schwab@linux-m68k.org>
275
276 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
277 used as bcopy.
278
dc70356c
TS
2792012-05-12 Thomas Schwinge <thomas@codesourcery.com>
280
281 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
282 * sysdeps/unix/syscalls.list (dup3): Likewise.
283 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
284 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
285
9fb1a21f
L
2862012-05-11 H.J. Lu <hongjiu.lu@intel.com>
287
288 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
289 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
290
4822a2a5
L
2912012-05-11 H.J. Lu <hongjiu.lu@intel.com>
292
293 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
294 thread pointer.
295 (TLS_IE): Use mov/add instead of movq/addq to load thread
296 pointer.
297 (TLS_GD_PREFIX): New.
298 (TLS_GD): Use it.
299
842b81d6
DM
3002012-05-11 David S. Miller <davem@davemloft.net>
301
302 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
303 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
304 (_FPU_SETCW): Likewise.
305
1cf463cd
L
3062012-05-10 H.J. Lu <hongjiu.lu@intel.com>
307
308 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
309 is 32-byte aligned.
310
60cc4a18
AS
3112012-05-11 Andreas Schwab <schwab@linux-m68k.org>
312
313 [BZ #11837]
314 * iconvdata/gb18030.c: Update tables.
315 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
316 characters specially.
317 (BODY for TO_LOOP): Add encoding of missing ranges.
318
febb44a4
TS
3192012-05-11 Thomas Schwinge <thomas@codesourcery.com>
320
321 [BZ #13673]
322 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
323 * sysdeps/mach/hurd/dup3.c: Likewise.
324 * sysdeps/mach/hurd/readlinkat.c: Likewise.
325 * sysdeps/powerpc/memmove.c:: Likewise.
326
0a10fb9e
L
3272012-05-10 H.J. Lu <hongjiu.lu@intel.com>
328
329 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
330 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
331
df8a552f
L
3322012-05-10 H.J. Lu <hongjiu.lu@intel.com>
333
334 * elf/elf.h (R_X86_64_RELATIVE64): New.
335 (R_X86_64_NUM): Updated.
336 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
337 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
338 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
339 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
340 tst-quad1pie tst-quad2pie
341 (modules-names): Add tst-quadmod1 tst-quadmod2.
342 ($(objpfx)tst-quad1): New dependency.
343 ($(objpfx)tst-quad2): Likewise.
344 ($(objpfx)tst-quad1pie): Likewise.
345 ($(objpfx)tst-quad2pie): Likewise.
346 * sysdeps/x86_64/tst-quad1.c: New file.
347 * sysdeps/x86_64/tst-quad1pie.c: New file.
348 * sysdeps/x86_64/tst-quad2.c: Likewise.
349 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
350 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
351 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
352 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
353 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
354
f34d6f84
ST
3552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
356
f42d41d1
ST
357 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
358 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
359 * streams/stropts.h (t_scalar_t): Define type.
360
3c3571fc
ST
361 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
362 (_PATH_PRESERVE): Set to "/var/lib".
363 (_PATH_RWHODIR): Set to "/var/spool/rwho".
364
61f06bd3
ST
365 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
366 instead of int.
367
918d4d71
ST
368 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
369 if __dir_mkfile succeeded.
370
f34d6f84
ST
371 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
372 checking for _hurd_dtablesize. Unlock it right after having
373 finished _hurd_dtable allocation.
374
10589b4a
TS
3752012-05-10 Thomas Schwinge <thomas@schwinge.name>
376
674cdbc7
TS
377 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
378 * sysdeps/mach/hurd/configure: Regenerated.
379 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
380 special-casing to...
381 * sysdeps/gnu/configure.in: ... this new file.
382 * sysdeps/unix/sysv/linux/configure: Regenerated.
383 * sysdeps/gnu/configure: New generated file.
384
8e41b99f
TS
385 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
386 for Linux: use nsec instead of usec, as well as:
387 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
388 members of type struct timespec.
389 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
390 New macros.
391 (struct stat64): Likewise.
392 (_STATBUF_ST_NSEC): New macro.
393 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
394
10589b4a
TS
395 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
396 __strtoul_internal rather than strtoul.
397
63643c85
PT
3982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
399
400 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
401 and reject them.
402
3faebe6a
ST
4032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
404
405 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
406 which preserves existing values.
407 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
408
c6474b07
PT
4092012-05-10 Pino Toscano <toscano.pino@tiscali.it>
410
411 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
412 TIMEOUT values. Return EINVAL for NFDS values either negative or
413 greater than FD_SETSIZE.
414
1043890b
ST
4152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
416
417 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
418 allocated, call __vm_protect to finish enabling the existing space, and
419 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
420 allocate the remainder.
421
37ed8b9b
PT
4222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
423
424 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
425 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
426
db653660
ST
4272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
428
37ed8b9b
PT
429 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
430 sysdeps/mach/hurd/readlink.c.
b29d4053 431
db653660
ST
432 * posix/tst-sysconf.c (posix_options): Only use
433 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
434 _POSIX_SYNCHRONIZED_IO when they are defined
435 * sysdeps/mach/hurd/bits/posix_opt.h:
436 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
437 (_XOPEN_REALTIME): Undefine macro.
438 (_XOPEN_REALTIME_THREADS): Undefine macro.
439 (_XOPEN_SHM): Undefine macro.
440 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
441 macro to -1.
442 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
443 macro to -1.
444 (_POSIX_ASYNC_IO): Undefine macro.
445 (_POSIX_PRIORITIZED_IO): Undefine macro.
446 (_POSIX_SPIN_LOCKS): Define macro to -1.
447
ee16e894
ST
448 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
449 SA_NODEFER, SA_RESETHAND.
450 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
451 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
452 F_DUPFD_CLOEXEC.
453
6103ae3b
TS
4542012-05-10 Thomas Schwinge <thomas@schwinge.name>
455
456 * elf/Makefile (pldd-modules): Define unconditionally.
457
80b4e5f3
TS
4582012-05-10 Thomas Schwinge <thomas@schwinge.name>
459
460 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
461
edadcbd6
ST
4622012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
463
464 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
465 Return ENOENT when name is empty.
466 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
467
80694780
TS
4682012-05-10 Thomas Schwinge <thomas@schwinge.name>
469
1792c087
TS
470 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
471
80694780
TS
472 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
473
6b645f0d
ST
4742012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
475
80694780
TS
476 Fix mlock in all cases except non-readable pages.
477 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
478 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 479
6b645f0d
ST
480 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
481 (__mkdir): When path is `/', just fail with EEXIST.
482 * sysdeps/mach/hurd/mkdirat.c: Likewise.
483
e468f8a3
TS
4842012-05-10 Thomas Schwinge <thomas@schwinge.name>
485
486 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
487 <sys/uio.h> (for writev).
488 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
489 and <sys/param.h> (for MIN).
490
a4186cff
PT
4912012-05-10 Pino Toscano <toscano.pino@tiscali.it>
492
493 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
494 REQUESTED_TIME. Properly set the remaining time and return EINTR
495 if interrupted.
496
510bbf14
TS
4972012-05-10 Thomas Schwinge <thomas@schwinge.name>
498
499 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
500 Depend on against $(link-rpcuserlibs).
501
5d5722e8
ST
5022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
503
a4186cff
PT
504 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
505 (__libc_stack_end): Do not use attribute_relro.
506 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
507 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 508 to libthread-provided value.
a4186cff
PT
509 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
510 attribute_relro.
5d5722e8 511
37233df9
TS
5122012-05-10 Thomas Schwinge <thomas@schwinge.name>
513
be971a2b
TS
514 [BZ #3748]
515 * bits/libc-lock.h (__libc_once_get): New macro.
516 * sysdeps/mach/bits/libc-lock.h: Likewise.
517 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
519 instead of using implementation details.
520
37233df9
TS
521 * libio/fileops.c: Unconditionally include <kernel-features.h>.
522 * libio/freopen.c: Likewise.
523 * libio/freopen64.c: Likewise.
524 * misc/syslog.c: Likewise.
525 * nscd/connections.c: Likewise.
526 * nscd/netgroupcache.c: Likewise.
527 * sysdeps/posix/getcwd.c: Likewise.
528
38de94a5
RM
5292012-05-10 Roland McGrath <roland@hack.frob.com>
530
531 * math/w_ilogbf.c: Add #include <limits.h>.
532
67530489
ST
5332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
534
a4186cff 535 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
536 path instead of returning without unlocking.
537
67530489
ST
538 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
539 immediate-write ioctls.
540 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
541
5aa3a74a
TS
5422012-05-10 Thomas Schwinge <thomas@schwinge.name>
543
18bad2ae
TS
544 * sysdeps/mach/hurd/i386/init-first.c (init): Use
545 __builtin_frame_address instead of making assumptions about the
546 location of the return address relative to DATA. Force early load of
547 the return address.
548 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
549 __builtin_frame_address.
550
5aa3a74a
TS
551 dup3 for GNU Hurd.
552 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
553 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
554 implement dup3 and do some further code clean-ups.
555 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
556 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
557
ecd0de9a
ST
5582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
559
cd9fa985
ST
560 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
561
a4186cff
PT
562 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
563 HURD_CRITICAL_END around holding _hurd_dtable_lock.
564 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
565 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
566 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
567 d->port.lock.
802ca5a5 568
a4186cff
PT
569 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
570 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
571 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 572
bcf55240
TS
5732012-05-10 Thomas Schwinge <thomas@schwinge.name>
574
6960eb42
TS
575 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
576 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
577 definitions.
578
eb43375f
TS
579 accept4 for GNU Hurd.
580 * include/sys/socket.h (__libc_accept4): New prototype.
581 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
582 to implement __libc_accept4.
583 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
584 __libc_accept4.
585 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
586
bcf55240
TS
587 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
588 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
589 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
590 signal-defines.sym.
591
6178c55b
ST
5922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
593
a4186cff 594 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 595
6f080c2f
TS
5962012-05-10 Thomas Schwinge <thomas@schwinge.name>
597
598 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
599 assertion on O_CLOEXEC flag.
600 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
601 * hurd/intern-fd.c: Likewise.
602 * hurd/port2fd.c: Likewise.
603
bcfe3a54
ST
6042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
605
606 [BZ #3906]
607 * bits/in.h (IPV6_PKTINFO): Define new macro.
608 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
609
89c9aa49
AZ
6102012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
611
612 [BZ #13954]
613 [BZ #13955]
614 [BZ #13956]
615 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
616 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
617 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
618 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
619 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
620 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
621 * math/libm-test.inc (logb_test) : Additional logb tests.
622
021db4be
AJ
6232012-05-09 Andreas Schwab <schwab@linux-m68k.org>
624 Andreas Jaeger <aj@suse.de>
625
626 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
627 * configure: Regenerated.
628 * config.h.in (LINK_OBSOLETE_RPC): New macro.
629 * config.make.in (link-obsolete-rpc): New substituted variable.
630 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
631 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
632 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
633 (shared-only-routines): Don't set it under [link-obsolete-rpc],
634 so that libc.a contains the symbols.
635 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
636 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
637 * sunrpc/auth_none.c: Likewise.
638 * sunrpc/auth_unix.c: Likewise.
639 * sunrpc/authdes_prot.c: Likewise.
640 * sunrpc/authuxprot.c: Likewise.
641 * sunrpc/clnt_gen.c: Likewise.
642 * sunrpc/clnt_perr.c: Likewise.
643 * sunrpc/clnt_raw.c: Likewise.
644 * sunrpc/clnt_simp.c: Likewise.
645 * sunrpc/clnt_tcp.c: Likewise.
646 * sunrpc/clnt_udp.c: Likewise.
647 * sunrpc/clnt_unix.c: Likewise.
648 * sunrpc/des_crypt.c: Likewise.
649 * sunrpc/des_soft.c: Likewise.
650 * sunrpc/get_myaddr.c: Likewise.
651 * sunrpc/key_call.c: Likewise.
652 * sunrpc/key_prot.c: Likewise.
653 * sunrpc/netname.c: Likewise.
654 * sunrpc/pm_getmaps.c: Likewise.
655 * sunrpc/pm_getport.c: Likewise.
656 * sunrpc/pmap_clnt.c: Likewise.
657 * sunrpc/pmap_prot.c: Likewise.
658 * sunrpc/pmap_prot2.c: Likewise.
659 * sunrpc/pmap_rmt.c: Likewise.
660 * sunrpc/publickey.c: Likewise.
661 * sunrpc/rpc_cmsg.c: Likewise.
662 * sunrpc/rpc_common.c: Likewise.
663 * sunrpc/rpc_dtable.c: Likewise.
664 * sunrpc/rpc_prot.c: Likewise.
665 * sunrpc/rpc_thread.c: Likewise.
666 * sunrpc/rtime.c: Likewise.
667 * sunrpc/svc.c: Likewise.
668 * sunrpc/svc_auth.c: Likewise.
669 * sunrpc/svc_raw.c: Likewise.
670 * sunrpc/svc_run.c: Likewise.
671 * sunrpc/svc_tcp.c: Likewise.
672 * sunrpc/svc_udp.c: Likewise.
673 * sunrpc/svc_unix.c: Likewise.
674 * sunrpc/svcauth_des.c: Likewise.
675 * sunrpc/xcrypt.c: Likewise.
676 * sunrpc/xdr.c: Likewise.
677 * sunrpc/xdr_array.c: Likewise.
678 * sunrpc/xdr_float.c: Likewise.
679 * sunrpc/xdr_intXX_t.c: Likewise.
680 * sunrpc/xdr_mem.c: Likewise.
681 * sunrpc/xdr_rec.c: Likewise.
682 * sunrpc/xdr_ref.c: Likewise.
683 * sunrpc/xdr_sizeof.c: Likewise.
684 * sunrpc/xdr_stdio.c: Likewise.
685
b5c086a2
RM
6862012-05-10 Roland McGrath <roland@hack.frob.com>
687
688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
689 change. Update copyright years.
690
6d74dd09
JM
6912012-05-10 Joseph Myers <joseph@codesourcery.com>
692
693 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
694
28e72501
MK
6952012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
696 Joseph Myers <joseph@codesourcery.com>
697 Paul Pluzhnikov <ppluzhnikov@google.com>
698
699 [BZ #14012]
700 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
701 requiring rpcgen.
702 [cross-compiling] (extra-libs): Likewise.
703 [cross-compiling] (extra-libs-others): Likewise.
704 [cross-compiling] (librpcsvc-routines): Likewise.
705 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
706 [cross-compiling] (omit-deps): Likewise.
707 (sunrpc-CPPFLAGS): New variable.
708 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
709 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
710 (cross-rpcgen-objs): New variable.
711 (extra-objs): Append $(cross-rpcgen-objs).
712 ($(cross-rpcgen-objs)): New rule.
713 ($(objpfx)cross-rpcgen): Likewise.
714 (rpcgen-cmd): Define to use $(built-program-file). Expand
715 comment.
716 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
717 ($(objpfx)x%.stmp): Likewise.
718 * sunrpc/proto.h [IS_IN_build] (_): Define.
719 [IS_IN_build] (_libc_intl_domainname): Likewise.
720
c8c59454
L
7212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
722
723 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
724 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
725 and R_X86_64_TPOFF64.
726
6f27cd16
JM
7272012-05-10 Joseph Myers <joseph@codesourcery.com>
728
729 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
730 sysdeps/unix/sysv/syscalls.list.
731 (stime): Likewise.
732 (utime): Likewise.
733 * sysdeps/unix/sysv/syscalls.list: Remove file.
734
02467e1c
PE
7352012-05-10 Paul Eggert <eggert@cs.ucla.edu>
736
737 [BZ #3440]
738 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
739 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
740 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
741 (__LC_IDENTIFICATION): Make these macros useful in #if
742 expressions, as required by C99.
743
da392631
AS
7442012-05-10 Andreas Schwab <schwab@linux-m68k.org>
745
746 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
747 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
748 after this.
749
8115f29b
L
7502012-05-09 H.J. Lu <hongjiu.lu@intel.com>
751
752 * stdlib/longlong.h: Updated from GCC.
753
bdd74070
AJ
7542012-05-09 Andreas Jaeger <aj@suse.de>
755
edfe0dbe
AJ
756 * nscd/nscd.c (run_modes): Make named enum, reorder so that
757 default is first entry.
758 (run_mode): Set type.
759 (main): Remove informal message about syslog.
760 (options): Fix typo.
761
bcfe3a54
ST
762 [BZ #14053]
763 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 764 to asm.
bcfe3a54
ST
765 (lrint): Likewise.
766 (llrintf): Likewise.
767 (llrint): Likewise.
768 (rint): Likewise.
769 (rintf): Likewise.
770 (nearbyint): Likewise.
771 (nearbyintf): Likewise.
bdd74070 772
91d8d69e
AJ
7732012-05-09 Andreas Jaeger <aj@suse.de>
774 Pedro Alves <palves@redhat.com>
775
776 * nscd/nscd.c (run_mode): Use enum.
777 (main): Cleanup coding style issue.
778
bb90b80b
AJ
7792012-05-09 Alexandre Oliva <aoliva@redhat.com>
780 Andreas Jaeger <aj@suse.de>
781
bcfe3a54
ST
782 * nscd/nscd.c (go_background): Replaced with...
783 (run_mode): ... this.
bb90b80b 784 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
785 (options): Add -F --foreground.
786 (main): Implement it.
787 (parse_opt): Parse it.
bb90b80b 788
1a4b75a1
AJ
7892012-05-09 Andreas Jaeger <aj@suse.de>
790
791 [BZ #14083]
792 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
793 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
794 -Wconversion warning.
795 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
796 Likewise.
797
b1cc2472
JM
7982012-05-09 Joseph Myers <joseph@codesourcery.com>
799
800 * conform/data/locale.h-data (NULL): Use macro-constant. Require
801 == 0.
802 (LC_ALL): Use macro-int-constant.
803 (LC_COLLATE): Likewise.
804 (LC_CTYPE): Likewise.
805 (LC_MESSAGES): Likewise.
806 (LC_MONETARY): Likewise.
807 (LC_NUMERIC): Likewise.
808 (LC_TIME): Likewise.
809 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
810 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
811 [ISO || ISO99 || ISO11] (*_t): Do not allow.
812 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
813 Specify type.
814 [C99-based standards] (float_t): Expect type.
815 [C99-based standards] (double_t): Expect type.
816 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
817 type.
818 [C99-based standards] (HUGE_VALL): Likewise.
819 [C99-based standards] (INFINITY): Likewise.
820 [C99-based standards] (NAN): Likewise.
821 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
822 [C99-based standards] (FP_NAN): Likewise.
823 [C99-based standards] (FP_NORMAL): Likewise.
824 [C99-based standards] (FP_SUBNORMAL): Likewise.
825 [C99-based standards] (FP_ZERO): Likewise.
826 [C99-based standards] (FP_FAST_FMA): Use
827 optional-macro-int-constant. Specify type. Require == 1.
828 [C99-based standards] (FP_FAST_FMAF): Likewise.
829 [C99-based standards] (FP_FAST_FMAL): Likewise.
830 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
831 [C99-based standards] (FP_ILOGBNAN): Likewise.
832 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
833 Specify type.
834 [C99-based standards] (MATH_ERREXCEPT): Likewise.
835 [C99-based standards] (math_errhandling): Specify type.
836 [ISO99 || ISO11] (signgam): Do not allow.
837 [non-C99-based standards] (copysignf): Do not allow.
838 [non-C99-based standards] (exp2f): Likewise.
839 [non-C99-based standards] (log2f): Likewise.
840 [non-C99-based standards] (modff): Allow.
841 [non-C99-based standards] (erff): Do not allow.
842 [non-C99-based standards] (erfcf): Likewise.
843 [non-C99-based standards] (gammaf): Likewise.
844 [non-C99-based standards] (hypotf): Likewise.
845 [non-C99-based standards] (j0f): Likewise.
846 [non-C99-based standards] (j1f): Likewise.
847 [non-C99-based standards] (jnf): Likewise.
848 [non-C99-based standards] (lgammaf): Likewise.
849 [non-C99-based standards] (tgammaf): Likewise.
850 [non-C99-based standards] (y0f): Likewise.
851 [non-C99-based standards] (y1f): Likewise.
852 [non-C99-based standards] (ynf): Likewise.
853 [non-C99-based standards] (isnanf): Likewise.
854 [non-C99-based standards] (acoshf): Likewise.
855 [non-C99-based standards] (asinhf): Likewise.
856 [non-C99-based standards] (atanhf): Likewise.
857 [non-C99-based standards] (cbrtf): Likewise.
858 [non-C99-based standards] (expm1f): Likewise.
859 [non-C99-based standards] (ilogbf): Likewise.
860 [non-C99-based standards] (log1pf): Likewise.
861 [non-C99-based standards] (logbf): Likewise.
862 [non-C99-based standards] (nextafterf): Likewise.
863 [non-C99-based standards] (remainderf): Likewise.
864 [non-C99-based standards] (rintf): Likewise.
865 [non-C99-based standards] (scalbf): Likewise.
866 [non-C99-based standards] (copysignl): Likewise.
867 [non-C99-based standards] (exp2l): Likewise.
868 [non-C99-based standards] (log2l): Likewise.
869 [non-C99-based standards] (modfl): Allow.
870 [non-C99-based standards] (erfl): Do not allow.
871 [non-C99-based standards] (erfcl): Likewise.
872 [non-C99-based standards] (gammal): Likewise.
873 [non-C99-based standards] (hypotl): Likewise.
874 [non-C99-based standards] (j0l): Likewise.
875 [non-C99-based standards] (j1l): Likewise.
876 [non-C99-based standards] (jnl): Likewise.
877 [non-C99-based standards] (lgammal): Likewise.
878 [non-C99-based standards] (tgammal): Likewise.
879 [non-C99-based standards] (y0l): Likewise.
880 [non-C99-based standards] (y1l): Likewise.
881 [non-C99-based standards] (ynl): Likewise.
882 [non-C99-based standards] (isnanl): Likewise.
883 [non-C99-based standards] (acoshl): Likewise.
884 [non-C99-based standards] (asinhl): Likewise.
885 [non-C99-based standards] (atanhl): Likewise.
886 [non-C99-based standards] (cbrtl): Likewise.
887 [non-C99-based standards] (expm1l): Likewise.
888 [non-C99-based standards] (ilogbl): Likewise.
889 [non-C99-based standards] (log1pl): Likewise.
890 [non-C99-based standards] (logbl): Likewise.
891 [non-C99-based standards] (nextafterl): Likewise.
892 [non-C99-based standards] (remainderl): Likewise.
893 [non-C99-based standards] (rintl): Likewise.
894 [non-C99-based standards] (scalbl): Likewise.
895 [ISO || ISO99 || ISO11] (*_t): Do not allow.
896 [non-C99-based standards] (FP_*): Do not allow.
897 [C99-based standards] (FP_*): Change to
898 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
899 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
900 allow.
901 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
902 (SIG_ERR): Likewise.
903 [X/Open-based standards] (SIG_HOLD): Likewise.
904 (SIG_IGN): Likewise.
905 (SIGABRT): Use macro-int-constant. Specify type. Require
906 positive value.
907 (SIGFPE): Likewise.
908 (SIGILL): Likewise.
909 (SIGINT): Likewise.
910 (SIGSEGV): Likewise.
911 (SIGTER): Likewise.
912 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
913 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
914 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
915 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
916 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
917 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
918 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
919 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
920 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
921 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
922 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
923 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
924 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
925 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
926 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
927 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
928 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
929 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
930 [X/Open-based standards] (SIGTRAP): Likewise.
931 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
932 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
933 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
934 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
935 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
936 allow.
937
b9f1922d
IW
9382012-05-08 Ian Wienand <ianw@vmware.com>
939
940 [BZ #14080]
941 * time/tzset.c (__tzset_parse_tz): Update default rules for
942 daylight time changes in the Energy Policy Act of 2005.
943
1db86e88
AJ
9442012-05-09 Andreas Jaeger <aj@suse.de>
945
946 [BZ #13983]
947 * elf/ldconfig.c (parse_conf): Change string to make clear that
948 ldconfig only issued a warning if ld.so.conf does not exist.
949
dee4a4e3
DM
9502012-05-08 David S. Miller <davem@davemloft.net>
951
ee0db190
DM
952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
953 movxtod instead of popping the value on the stack.
954
dee4a4e3
DM
955 * sysdeps/sparc/fpu/libm-test-ulps: Update.
956
6a43ec98
CD
9572012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
958
959 * config.h.in: Add HAVE_ARM_PCS_VFP.
960
05c2c961
RMG
9612012-05-08 Roland Mc Grath <roland@hack.frob.com>
962
bcfe3a54
ST
963 [BZ #13979]
964 * include/features.h: Warn if user requests __FORTIFY_SOURCE
965 checking but the checks are disabled for any reason.
05c2c961 966
4b30f61a
L
9672012-05-08 H.J. Lu <hongjiu.lu@intel.com>
968
969 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
970 and ELF64_R_TYPE with ELFW(R_TYPE).
971
eee2bc67
JM
9722012-05-08 Joseph Myers <joseph@codesourcery.com>
973
7ea5391a
JM
974 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
975 (ulimit): Likewise.
976
eee2bc67
JM
977 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
978 (settimeofday): Likewise.
979
abb66a67
MF
9802012-05-08 Mike Frysinger <vapier@gentoo.org>
981
982 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
983 a struct th_u2 inside the union, and move tu_block/tu_code into
984 a new th_u3 union of tu_block/tu_code inside of that. Move
985 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
986 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
987 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
988 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
989 (th_stuff): Change to th_u1.tu_stuff.
990 (th_data): Define.
991 (th_msg): Change to th_u1.th_u2.tu_data.
992
7f18b530
DM
9932012-05-07 David S. Miller <davem@davemloft.net>
994
05760585
DM
995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
996
7f18b530
DM
997 [BZ #14074]
998 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
999 (SETUP_PIC_REG): Use it.
1000 (SETUP_PIC_REG_LEAF): Use it.
1001
495fd99f
JM
10022012-05-07 Joseph Myers <joseph@codesourcery.com>
1003
1004 [BZ #13885]
1005 [BZ #13923]
1006 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1007 USE_AS_EXPM1L.
1008 (EXPL_FINITE): Likewise.
1009 (FLDLOG): Likewise.
1010 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1011 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1012 e_expl.S.
1013 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1014 USE_AS_EXPM1L.
1015 (EXPL_FINITE): Likewise.
1016 (FLDLOG): Likewise.
1017 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1018 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1019 e_expl.S.
1020 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1021 test of -max_value argument for long double.
1022 * sysdeps/i386/fpu/libm-test-ulps: Update.
1023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1024
6693d694
DM
10252012-05-06 David S. Miller <davem@davemloft.net>
1026
1027 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1028 quad soft-float symbols whose references which are compiler
1029 generated.
1030 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1031
6c23e11c
JM
10322012-05-06 Joseph Myers <joseph@codesourcery.com>
1033
d8b82cad
JM
1034 [BZ #13884]
1035 [BZ #13914]
1036 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1037 USE_AS_EXP10L.
1038 (EXPL_FINITE): Likewise.
1039 (FLDLOG): Likewise.
1040 (c0): Likewise.
1041 (c1): Likewise.
1042 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1043 Adjust comments for base varying.
1044 (__expl_finite): Change alias to EXPL_FINITE.
1045 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1046 e_expl.S.
1047 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1048 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1049 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1050 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1051 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1052 USE_AS_EXP10L.
1053 (EXPL_FINITE): Likewise.
1054 (FLDLOG): Likewise.
1055 (c0): Likewise.
1056 (c1): Likewise.
1057 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1058 Adjust comments for base varying.
1059 (__expl_finite): Change alias to EXPL_FINITE.
1060 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1061 tests for bugs.
1062 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1063
6c23e11c
JM
1064 [BZ #14064]
1065 * math/libm-test.inc (check_float_internal): Correct ulp
1066 calculation for subnormal expected results.
1067
29ba805c
AJ
10682012-05-06 Andreas Jaeger <aj@suse.de>
1069
1070 * Makeconfig (+math-flags): New, set to -frounding-math.
1071 (+cflags): Add +math-flags so that all of glibc gets compiled with
1072 it.
1073
1074 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1075
7b17aeda
JM
10762012-05-05 Joseph Myers <joseph@codesourcery.com>
1077
5779f134
JM
1078 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1079 Disable one test.
1080
41498f4d
JM
1081 [BZ #13787]
1082 [BZ #13922]
1083 [BZ #14036]
1084 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1085 (__ieee754_expl): Allow for and saturate large arguments.
1086 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1087 (u_threshold): Likewise.
1088 (__exp): Call __ieee754_exp before checking for overflow and
1089 underflow.
1090 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1091 (u_threshold): Likewise.
1092 (__expf): Call __ieee754_expf before checking for overflow and
1093 underflow.
1094 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1095 (u_threshold): Likewise.
1096 (__expl): Call __ieee754_expl before checking for overflow and
1097 underflow.
1098 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1099 (__ieee754_expl): Allow for and saturate large arguments.
1100 * math/libm-test.inc (exp_test): Add another test. Do not allow
1101 missing overflow exception on overflow.
1102 (expm1_test): Do not allow missing overflow exception on overflow.
1103
6698b8bf
JM
1104 * sysdeps/i386/fpu/e_expl.c: Move to ...
1105 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1106 rather than using inline asm.
1107 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1108 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1109 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1110
7b17aeda
JM
1111 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1112 (nice): Likewise.
1113 (poll): Likewise.
1114 (signal): Likewise.
1115 (time): Likewise.
1116 (times): Likewise.
1117
f7c85819
JM
11182012-05-04 Joseph Myers <joseph@codesourcery.com>
1119
1120 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1121 sysdeps/unix/common/syscalls.list.
1122 (fchmod): Likewise.
1123 (fchown): Likewise.
1124 (ftruncate): Likewise.
1125 (getrusage): Likewise.
1126 (gettimeofday): Likewise.
1127 (setpgid): Likewise.
1128 (setregid): Likewise.
1129 (setreuid): Likewise.
1130 (sigaction): Likewise.
1131 (truncate): Likewise.
1132 (vhangup): Likewise.
1133 * sysdeps/unix/common/syscalls.list: Remove file.
1134 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1135 * sysdeps/unix/sysv/linux/Implies: Likewise.
1136
336270d0
L
11372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1138
1139 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1140 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1141 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1142 Moved to ...
1143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1144 Here.
1145 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1146 to ...
1147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1148 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1149 to ...
1150 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1151 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1152 to ...
1153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1154 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1155 to ...
1156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1157 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1158 to ...
1159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1160 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1161 to ...
1162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1163 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1164 to ...
1165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1166 Here.
1167 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1168 to ...
1169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1170 Here.
1171 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1172 to ...
1173 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1174 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1175 Moved to ...
1176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1177 Here.
1178 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1179 to ...
1180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1181
d128e450
JM
11822012-05-04 Joseph Myers <joseph@codesourcery.com>
1183
fa8ee516
JM
1184 * sysdeps/unix/common/bits/dirent.h: Remove file.
1185 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1186
d128e450
JM
1187 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1188 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1189 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1190 * sysdeps/unix/bsd/isatty.c: Likewise.
1191 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1192 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1193 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1194
ff8faaf0 11952012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1196
62881be4 1197 [BZ #13563]
31dc8730
AZ
1198 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1199 long double comparison inaccuracies.
1200 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1202
6fef930c
AS
12032012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1204
1205 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1206 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1207
8f203e6c
JM
12082012-05-04 Joseph Myers <joseph@codesourcery.com>
1209
1210 [BZ #14049]
1211 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1212 nonzero digits before rounding a hex value.
1213 * stdlib/tst-strtod.c (tests): Add another test.
1214
5197d9c2
AK
12152012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1216
1217 * sysdeps/s390/fpu/libm-test-ulps: Update.
1218
f0c1dedf
AJ
12192012-05-03 Andreas Jaeger <aj@suse.de>
1220
1221 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1222 does not get optimized out.
1223 (malloc_opt_barrier): New.
1224
a65ef2ae 12252012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1226 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1227
2b942cb7 1228 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1229 intermediate file deletion.
2b942cb7 1230 (generated): Add .symlist files.
a65ef2ae 1231
54b71e02
JM
12322012-05-03 Joseph Myers <joseph@codesourcery.com>
1233
1234 [BZ #13775]
1235 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1236 Redirect under this condition.
1237 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1238 [__USE_GNU] (__dprintf_chk): Not under this condition.
1239 [__USE_GNU] (__vdprintf_chk): Likewise.
1240 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1241 under this condition.
1242 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1243 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1244 [__USE_XOPEN2K8] (vdprintf): Likewise.
1245 [__USE_GNU] (__dprintf_chk): Not under this condition.
1246 [__USE_GNU] (__vdprintf_chk): Likewise.
1247 [__USE_GNU] (dprintf): Likewise.
1248 [__USE_GNU] (vdprintf): Likewise.
1249
d3dfcc41
RM
12502012-05-03 Roland McGrath <roland@hack.frob.com>
1251
1252 * elf/Makefile (common-generated): Set this instead of generated for
1253 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1254 $(all-built-dso)-derived lists.
1255
7ac30cc5
AJ
12562012-05-03 Andreas Jaeger <aj@suse.de>
1257
0c51e550
AJ
1258 * sysdeps/i386/fpu/libm-test-ulps: Update.
1259
7ac30cc5
AJ
1260 * FAQ: Removed.
1261 * FAQ.in: Likewise.
1262 * scripts/gen-FAQ.pl: Likewise.
1263 * manual/install.texi (Installation): Point to online location of
1264 FAQ.
1265 * Makefile (files-for-dist): Remove FAQ.
1266 (FAQ): Remove.
1267
d4c2917f
AM
12682012-05-02 Allan McRae <allan@archlinux.org>
1269
1270 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1271 (LDFLAGS-reldepmod5.so): Likewise.
1272 (LDFLAGS-reldep6mod1.so): Likewise.
1273 (LDFLAGS-reldep6mod4.so): Likewise.
1274 (LDFLAGS-reldep8mod3.so): Likewise.
1275 (LDFLAGS-unload4mod1.so): Likewise.
1276 (LDFLAGS-unload4mod2.so): Likewise.
1277 (LDFLAGS-tst-initorder): Likewise.
1278 (LDFLAGS-tst-initordera2.so): Likewise.
1279 (LDFLAGS-tst-initordera3.so): Likewise.
1280 (LDFLAGS-tst-initordera4.so): Likewise.
1281 (LDFLAGS-tst-initorderb2.so): Likewise.
1282 (LDFLAGS-noload): Likewise.
1283 (LDFLAGS-next): Likewise.
1284 (LDFLAGS-order2mod1.so): Likewise.
1285 (LDFLAGS-order2mod2.so): Likewise.
1286 (LDFLAGS-tst-initorder2): Likewise.
1287 (LDFLAGS-tst-initorder2a.so): Likewise.
1288 (LDFLAGS-tst-initorder2b.so): Likewise.
1289 (LDFLAGS-tst-initorder2c.so): Likewise.
1290 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1291
d77f993f
DM
12922012-05-02 David S. Miller <davem@davemloft.net>
1293
1294 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1295
171a70b4
PP
12962012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1297
1298 [BZ #14055]
1299 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1300
0be196ad
AJ
13012012-05-02 Andreas Jaeger <aj@suse.de>
1302
1303 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1304 since we manipulate rounding mode.
1305 (CPPFLAGS-test-idouble.c): Likewise.
1306 (CPPFLAGS-test-ifloat.c): Likewise.
1307 (CFLAGS-test-ldouble.c): Likewise.
1308 (CFLAGS-test-double.c): Likewise.
1309 (CFLAGS-test-float.c): Likewise.
1310 (CFLAGS-test-misc.c): Likewise.
1311 (CFLAGS-test-test-fenv.c): Likewise.
1312
4f9d04aa
AZ
13132012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
2b942cb7
RM
1315 [BZ #2550]
1316 [BZ #2570]
1317 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1318 comparisons to determine direction to adjust input.
4f9d04aa 1319
82a79e7d
RM
13202012-05-01 Roland McGrath <roland@hack.frob.com>
1321
f5a01ca9
RM
1322 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1323 output to the target.
1324
90fe4186
RM
1325 * scripts/localplt.awk: New file.
1326 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1327 (check-localplt-CFLAGS): Variable removed.
1328 ($(all-built-dso:=.jmprel)): New static pattern rule.
1329 (generated): Add those targets.
1330 (localplt-built-dso): New variable.
1331 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1332
1333 * elf/check-localplt.c: File removed.
1334
82397ed6
RM
1335 * scripts/check-execstack.awk: New file.
1336 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1337 (check-execstack-CFLAGS): Variable removed.
1338 ($(objpfx)check-execstack.h): Target removed.
1339 ($(objpfx)execstack-default): New target.
1340 (generated): Add that instead of check-execstack.h.
1341 ($(all-built-dso:=.phdr)): New static pattern rule.
1342 (generated): Add those targets.
1343 * elf/check-execstack.c: File removed.
1344
82a79e7d
RM
1345 * scripts/check-textrel.awk: New file.
1346 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1347 (check-textrel-CFLAGS): Variable removed.
1348 (all-built-dso): Use := to define.o
1349 ($(all-built-dso:=.dyn)): New static pattern rule.
1350 (generated): Add those targets.
1351 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1352 * config.make.in (READELF): New substituted variable.
1353 * elf/check-textrel.c: File removed.
1354
62fde54f 13552012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1356
615605c9
JM
1357 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1358 allow.
1359 * conform/data/ctype.h-data [C99-based standards] (isblank):
1360 Expect function.
1361 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1362 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1363 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1364 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1365 Specify type. Require positive value.
1366 (EILSEQ): Likewise.
1367 (ERANGE): Likewise.
1368 [ISO || POSIX] (EILSEQ): Do not expect.
1369 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1370 Specify type. Require positive value.
1371 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1372 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1373 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1374 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1375 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1376 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1377 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1378 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1379 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1380 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1381 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1382 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1383 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1384 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1385 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1386 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1387 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1388 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1389 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1390 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1391 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1392 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1393 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1394 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1395 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1396 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1397 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1398 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1399 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1400 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1401 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1402 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1403 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1404 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1405 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1406 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1407 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1408 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1409 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1410 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1411 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1412 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1413 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1414 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1415 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1416 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1417 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1418 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1419 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1420 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1421 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1422 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1423 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1424 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1425 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1426 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1427 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1428 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1429 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1430 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1431 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1432 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1433 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1434 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1435 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1436 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1437 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1438 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1439 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1440 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1441 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1442 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1443 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1444 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1445 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1446 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1447 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1448 Require >= 2.
1449 (FLT_ROUNDS): Expect as macro, not constant.
1450 (FLT_MANT_DIG): Use macro-int-constant.
1451 (DBL_MANT_DIG): Likewise.
1452 (LDBL_MANT_DIG): Likewise.
1453 (FLT_DIG): Likewise.
1454 (DBL_DIG): Likewise.
1455 (LDBL_DIG): Likewise.
1456 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1457 (DBL_MIN_EXP): Likewise.
1458 (LDBL_MIN_EXP): Likewise.
1459 (FLT_MAX_EXP): Use macro-int-constant.
1460 (DBL_MAX_EXP): Likewise.
1461 (LDBL_MAX_EXP): Likewise.
1462 (FLT_MAX_10_EXP): Likewise.
1463 (DBL_MAX_10_EXP): Likewise.
1464 (LDBL_MAX_10_EXP): Likewise.
1465 (FLT_MAX): Use macro-constant.
1466 (DBL_MAX): Likewise.
1467 (LDBL_MAX): Likewise.
1468 (FLT_EPSILON): Use macro-constant. Give upper bound.
1469 (DBL_EPSILON): Likewise.
1470 (LDBL_EPSILON): Likewise.
1471 (FLT_MIN): Likewise.
1472 (DBL_MIN): Likewise.
1473 (LDBL_MIN): Likewise.
1474 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1475 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1476 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1477 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1478 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1479 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1480 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1481 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1482 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1483 [ISO11] (FLT_TRUE_MIN): Likewise.
1484 [ISO11] (LDBL_TRUE_MIN): Likewise.
1485 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1486 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1487 (SCHAR_MIN): Use macro-int-constant. Specify type.
1488 (SCHAR_MAX): Likewise.
1489 (UCHAR_MAX): Likewise.
1490 (CHAR_MIN): Likewise.
1491 (CHAR_MAX): Likewise.
1492 (MB_LEN_MAX): Use macro-int-constant.
1493 (SHRT_MIN): Use macro-int-constant. Specify type.
1494 (SHRT_MAX): Likewise.
1495 (USHRT_MAX): Likewise.
1496 (INT_MAX): Likewise.
1497 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1498 bound negative.
1499 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1500 bound with "U".
1501 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1502 bound with "L".
1503 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1504 bound negative. Suffix upper bound with "L".
1505 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1506 bound with "UL".
1507 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1508 Specify type.
1509 [C99-based standards] (LLONG_MAX): Likewise.
1510 [C99-based standards] (ULLONG_MAX): Likewise.
1511 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1512 == 0.
1513 [ISO11] (max_align_t): Require type.
1514 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1515
c9140a62
JM
1516 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1517 from $CFLAGS, without defining away __attribute__ calls.
1518 (checknamespace): Use $CFLAGS_namespace.
1519
9af0bf29
JM
1520 * conform/conformtest.pl (@keywords): Only include C99 keywords
1521 for standards based on C99 or C11.
1522
343222a2
JM
1523 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1524 Disable tests.
1525 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1526 UNIX98]: Likewise.
1527
661f8cf0
JM
1528 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1529 usability of symbols in #if.
1530
ee74b9cb
JM
1531 * conform/conformtest.pl: If macro or constant types start
1532 "promoted:", expect the symbol to be of the following type
1533 promoted by the integer promotions.
62fde54f 1534
aafc49b3
JM
1535 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1536 in one place. Also handle "macro-constant".
1537
fefdf574
JM
1538 * conform/conformtest.pl: Only accept expected macro values with
1539 "==". Parse all "macro" lines in one place.
1540 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1541
f2d922fe
JM
1542 * conform/conformtest.pl: Handle braced types on "constant" lines
1543 instead of handling "typed-constant".
1544 * conform/data/signal.h-data: Use "constant" instead of
1545 "typed-constant".
1546
d22956c9
JM
1547 * conform/conformtest.pl: Handle "optional-" at start of lines in
1548 one place rather than duplicating several cases. Handle each
1549 format of "macro" line with initial "optional-".
1550
028e2e38
JM
1551 * conform/conformtest.pl: Only accept expected constant or
1552 optional-constant values with "==". Parse all "constant" lines in
1553 one place. Parse all "optional-constant" lines in one place.
1554 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1555 * conform/data/fmtmsg.h-data: Likewise.
1556 * conform/data/netinet/in.h-data: Likewise.
1557 * conform/data/tar.h-data: Likewise.
1558 * conform/data/limits.h-data: Use "==" form on "constant" and
1559 "optional-constant" lines.
1560
1b8f2850
JM
1561 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1562 Use -std=c99 for XOPEN2K.
1563 (@knownproblems): Remove.
1564 (newtoken): Don't check %isknown.
1565
a05a144b
JM
1566 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1567 Do not expect macro.
1568 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1569 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1570 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1571 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1572 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1573 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1574 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1575 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1576 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1577 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1578 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1579 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1580 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1581 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1582 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1583 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1584 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1585 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1586 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1587 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1588 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1589 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1592 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1593 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1594 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1595 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1596 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1597 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1598 [XPG3] (acosh): Likewise.
1599 [XPG3] (asinh): Likewise.
1600 [XPG3] (atanh): Likewise.
1601 [XPG3] (cbrt): Likewise.
1602 [XPG3] (expm1): Likewise.
1603 [XPG3] (ilogb): Likewise.
1604 [XPG3] (log1p): Likewise.
1605 [XPG3] (logb): Likewise.
1606 [XPG3] (nextafter): Likewise.
1607 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1608 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1609 [XPG3] (remainder): Likewise.
1610 [XPG3] (rint): Likewise.
1611 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1612 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1613 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1614 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1615 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1616 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1617 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1618 [UNIX98 || XOPEN2K] (scalb): Expect.
1619 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1620 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1621 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1622 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1623 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1624 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1625 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1626 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1627 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1628 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1629 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1630 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1631 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1632 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1633 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1634 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1635 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1636 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1637 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1638 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1639 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1640 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1641 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1642 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1643 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1644 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1656 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1657 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1674 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1675 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1676 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1677 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1678 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1679 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1680 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1681 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1682 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1685 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1686 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1694 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1695 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1696 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1756
73c5ebe3
JM
1757 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1758 _XOPEN_SOURCE_EXTENDED for XPG4.
1759
39c33b6c
JM
1760 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1761
62fde54f
JM
1762 * Makeconfig (localtime): Remove variable.
1763 (inst_localtime-file): Likewise.
1764
0741d64c
AS
17652012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1766
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1768 Update.
1769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1770 Update.
1771 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1772 Update.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1774 Update.
1775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1776 Update.
1777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1778 Update.
1779 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1780 Update.
1781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1782 Update.
1783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1784 Update.
1785
7cb029ee
JM
17862012-05-01 Joseph Myers <joseph@codesourcery.com>
1787
1788 [BZ #2550]
1789 [BZ #2570]
1790 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1791 comparisons to determine direction to adjust input.
1792 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1793 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1795 Likewise.
1796 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1797 Likewise.
1798 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1799 Likewise.
1800 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1801 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1802 Likewise.
1803 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1804 Likewise.
1805 * math/libm-test.inc (nexttoward_test): Add more tests.
1806
412bd966
AS
18072012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1808
1809 [BZ #14040]
1810 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1811 in version GLIBC_2.1, not GLIBC_2.0.
1812 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1813 Likewise.
1814
9568c0c2
JM
18152012-04-30 Joseph Myers <joseph@codesourcery.com>
1816
adfbc8ac
JM
1817 [BZ #13942]
1818 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1819 (1 - x) * (1 + x).
1820 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1821 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1822 * math/libm-test.inc (acos_test): Add more tests.
1823 (asin_test): Likewise.
1824 * sysdeps/i386/fpu/libm-test-ulps: Update.
1825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1826
5ba3cc69
JM
1827 [BZ #14034]
1828 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1829 of square root.
1830 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1831 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1832 * math/libm-test.inc (acos_test_tonearest): New function.
1833 (acos_test_towardzero): Likewise.
1834 (acos_test_downward): Likewise.
1835 (acos_test_upward): Likewise.
1836 (asin_test_tonearest): Likewise.
1837 (asin_test_towardzero): Likewise.
1838 (asin_test_downward): Likewise.
1839 (asin_test_upward): Likewise.
1840 (main): Call the new functions.
1841 * sysdeps/i386/fpu/libm-test-ulps: Update.
1842 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1843
9568c0c2
JM
1844 [BZ #13884]
1845 [BZ #13924]
1846 * math/e_exp10.c: Include <float.h>.
1847 (__ieee754_exp10): Handle underflow here rather than multiplying
1848 large negative argument by M_LN10.
1849 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1850 of __ieee754_expf.
1851 * math/e_exp10l.c: Include <float.h>.
1852 (__ieee754_exp10l): Handle underflow here rather than multiplying
1853 large negative argument by M_LN10l.
1854 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1855 spurious overflow exception on underflow.
1856
5ac3ea17
MP
18572012-04-29 Marek Polacek <polacek@redhat.com>
1858
1859 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1860 (__fortify_function): New macro.
1861 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1862 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1863 __extern_always_inline.
1864 * libio/bits/stdio2.h: Likewise.
1865 * libio/bits/stdio.h: Likewise.
1866 * string/string.h: Likewise.
1867 * string/bits/string3.h: Likewise.
1868 * include/stdio.h: Likewise.
1869 * stdlib/bits/stdlib.h: Likewise.
1870 * stdlib/stdlib.h: Likewise.
1871 * rt/bits/mqueue2.h: Likewise.
1872 * rt/mqueue.h: Likewise.
1873 * posix/bits/unistd.h: Likewise.
1874 * posix/unistd.h: Likewise.
1875 * io/bits/poll2.h: Likewise.
1876 * io/bits/fcntl2.h: Likewise.
1877 * io/fcntl.h: Likewise.
1878 * io/sys/poll.h: Likewise.
1879 * misc/bits/syslog.h: Likewise.
1880 * misc/bits/syslog-ldbl.h: Likewise.
1881 * misc/sys/syslog.h: Likewise.
1882 * socket/bits/socket2.h: Likewise.
1883 * socket/sys/socket.h: Likewise.
1884 * debug/tst-chk1.c: Likewise.
1885 * wcsmbs/bits/wchar2.h: Likewise.
1886 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1887 * wcsmbs/wchar.h: Likewise.
1888
ecf0ebfb
AJ
18892012-04-29 Andreas Jaeger <aj@suse.de>
1890
1891 * Makerules (tests): Remove enable-check-abi protection.
1892 (check-abi-warn): Remove.
1893 (check-abi-%): Remove check-abi-warn usage.
1894
1895 * configure.in: Remove check-abi configure option.
1896 * configure: Regenerated.
1897 * config.make.in (enable-check-abi): Remove.
1898
6d5c57fa
AS
18992012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1900
24c5d07e 1901 [BZ #14033]
ded5180a
AS
1902 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1903 double functions to double *_finite functions.
1904
7e0d315d
AS
1905 [BZ #13941]
1906 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1907 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1908 LDBL_MIN_EXP.
1909 * stdio-common/Makefile (tests): Add tst-sprintf3.
1910 * stdio-common/tst-sprintf3.c: New file.
1911
6d5c57fa
AS
1912 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1913 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1914
0749ff8b
JM
19152012-04-28 Joseph Myers <joseph@codesourcery.com>
1916
1917 * conform/conformtest.pl: Remove duplicate typed-constant
1918 handling.
1919
8dbd5d7b
DM
19202012-04-28 David S. Miller <davem@davemloft.net>
1921
1922 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1923 (check-abi-%): Remove AWK script prerequisite and explicit
1924 abilist directory.
1925 (check-abi): Rewrite to just diff the symlist with the abilist.
1926 (config-tls, config-abi-config): Delete, no longer used.
1927 (update-abi-%): Remove AWK script and explicit abilist directory.
1928 (update-abi): Rewrite to simply compare and conditionally copy the
1929 symlist and the sysdep abilist file. Remove update-abi-config
1930 checks.
1931 * abilist/ld.abilist: Remove.
1932 * abilist/libBrokenLocale.abilist: Remove.
1933 * abilist/libanl.abilist: Remove.
1934 * abilist/libcrypt.abilist: Remove.
1935 * abilist/libdl.abilist: Remove.
1936 * abilist/librt.abilist: Remove.
1937 * abilist/libthread_db.abilist: Remove.
1938 * abilist/libutil.abilist: Remove.
1939 * scripts/extract-abilist.awk: Remove.
1940 * scripts/merge-abilist.awk: Remove.
1941 * sysdeps/generic/libcidn.abilist: New file.
1942 * sysdeps/generic/libnss_compat.abilist: New file.
1943 * sysdeps/generic/libnss_db.abilist: New file.
1944 * sysdeps/generic/libnss_dns.abilist: New file.
1945 * sysdeps/generic/libnss_files.abilist: New file.
1946 * sysdeps/generic/libnss_hesiod.abilist: New file.
1947 * sysdeps/generic/libnss_nis.abilist: New file.
1948 * sysdeps/generic/libnss_nisplus.abilist: New file.
1949 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
1950 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
1951 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
1952 file.
1953 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
1954 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
1955 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
1956 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
1957 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
1958 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
1959 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
1960 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
1961 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
1962 file.
1963 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
1964 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
1965 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
1966 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
1967 file.
1968 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
1969 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
1970 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
1971 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
1972 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
1973 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
1974 file.
1975 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
1976 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
1977 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
1978 file.
1979 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
1980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
1981 New file.
1982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
1983 New file.
1984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
1985 New file.
1986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
1987 New file.
1988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
1989 New file.
1990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
1991 New file.
1992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
1993 New file.
1994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
1995 New file.
1996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
1997 New file.
1998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
1999 New file.
2000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2001 New file.
2002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2003 New file.
2004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2005 New file.
2006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2007 file.
2008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2009 New file.
2010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2011 New file.
2012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2013 file.
2014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2015 New file.
2016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2017 New file.
2018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2019 file.
2020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2021 New file.
2022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2023 New file.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2025 New file.
2026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2027 New file.
2028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2029 New file.
2030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2031 New file.
2032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2034 file.
2035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2036 New file.
2037 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2038 file.
2039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2040 file.
2041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2042 file.
2043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2044 file.
2045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2046 file.
2047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2048 New file.
2049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2050 file.
2051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2052 file.
2053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2054 New file.
2055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2056 file.
2057 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2059 file.
2060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2061 New file.
2062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2063 file.
2064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2065 file.
2066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2067 file.
2068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2069 file.
2070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2071 file.
2072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2073 New file.
2074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2075 file.
2076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2077 file.
2078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2079 New file.
2080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2081 file.
2082 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2083 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2084 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2085 file.
2086 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2087 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2088 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2089 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2090 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2091 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2092 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2093 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2094 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2095 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2096 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2098 file.
2099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2100 New file.
2101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2102 file.
2103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2104 file.
2105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2106 file.
2107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2108 file.
2109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2114 New file.
2115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2116 file.
2117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2118 New file.
2119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2120 file.
2121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2123 file.
2124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2125 New file.
2126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2127 file.
2128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2129 file.
2130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2131 file.
2132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2133 file.
2134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2135 file.
2136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2137 New file.
2138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2139 New file.
2140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2141 file.
2142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2143 New file.
2144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2145 file.
2146
41d73a1b
JM
21472012-04-28 Joseph Myers <joseph@codesourcery.com>
2148
2149 * conform/conformtest.pl: Fix typo in handling typed-constant from
2150 allow-header.
2151
28aeeda4
JM
21522012-04-27 Joseph Myers <joseph@codesourcery.com>
2153
adae8f5e
JM
2154 * README: Cut down references to pre-2.6 Linux kernels and
2155 Linuxthreads. Update lists of configurations in libc and ports
2156 and sort alphabetically. Say "or newer" with Linux kernel version
2157 requirements.
2158
28aeeda4
JM
2159 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2160
a462cb63
RA
21612012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2162
2163 [BZ #887]
2164 * math/libm-test.inc (logb_test_downward): New test to expose
2165 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2166 rounding mode.
2167
6ad3493e
JM
21682012-04-27 Joseph Myers <joseph@codesourcery.com>
2169
2170 [BZ #14027]
2171 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2172 to be done.
2173 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2174 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2175
2ce4f015
JM
21762012-04-26 Joseph Myers <joseph@codesourcery.com>
2177
5aeb141a
JM
2178 * sysdeps/unix/i386/brk.S: Remove file.
2179 * sysdeps/unix/i386/dl-brk.S: Likewise.
2180 * sysdeps/unix/i386/pipe.S: Likewise.
2181 * sysdeps/unix/i386/sigreturn.S: Likewise.
2182 * sysdeps/unix/i386/syscall.S: Likewise.
2183 * sysdeps/unix/i386/vfork.S: Likewise.
2184 * sysdeps/unix/i386/wait.S: Likewise.
2185
7143acae
JM
2186 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2187 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2188
2ce4f015
JM
2189 * configure.in (arm*-none*): Do not allow without
2190 --enable-hacker-mode.
2191 (netbsd*): Remove case setting base_os.
2192 (386bsd*): Likewise.
2193 (freebsd*): Likewise.
2194 (bsdi*): Likewise.
2195 (osf*): Likewise.
2196 (sunos*): Likewise.
2197 (ultrix*): Likewise.
2198 (newsos*): Likewise.
2199 (dynix*): Likewise.
2200 (*bsd*): Likewise.
2201 (sysv*): Likewise.
2202 (isc*): Likewise.
2203 (esix*): Likewise.
2204 (sco*): Likewise.
2205 (minix*): Likewise.
2206 (irix4*): Likewise.
2207 (irix6*): Likewise.
2208 (solaris[2-9]*): Likewise.
2209 (none): Likewise.
2210 * configure: Regenerated.
2211
0ac229c8
AZ
22122012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2213
2214 [BZ #11521]
2215 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2216 overflow or cancellation in calculating denominator.
2217 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2218 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2219 down expression to avoid unexpected rounding in newer GCCs.
2220 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2221
33f244f4
DM
22222012-04-26 David S. Miller <davem@davemloft.net>
2223
2224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2225 long-double compat symbols.
2226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2231 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2239
cfa1f3e8
DM
22402012-04-25 David S. Miller <davem@davemloft.net>
2241
2242 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2243 HWCAP_* values only after the memory barriers have been defined.
2244 (atomic_full_barrier): Define.
2245 (atomic_read_barrier): Define.
2246 (atomic_write_barrier): Define.
2247
6e236b92
SP
22482012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2249
2250 * shlib-versions: Add libgcc_s version information.
2251 * sysdeps/generic/libgcc_s.h: Remove.
2252 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2253 libgcc_s.h.
2254 * sysdeps/gnu/unwind-resume.c: Likewise.
2255 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2256
aab39a09
DM
22572012-04-25 David S. Miller <davem@davemloft.net>
2258
2259 * sysdeps/unix/sparc/brk.S: Delete.
2260 * sysdeps/unix/sparc/dl-brk.S: Delete.
2261 * sysdeps/unix/sparc/pipe.S: Delete.
2262 * sysdeps/unix/sparc/sysdep.S: Delete.
2263 * sysdeps/unix/sparc/sysdep.h: Delete.
2264 * sysdeps/unix/sparc/vfork.S: Delete.
2265 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2266 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2267 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2268 ret_ERRVAL, r0, r1, MOVE): Define.
2269 (JUMPTARGET): Remove.
2270 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2271 sysdeps/unix/sparc/sysdep.h
2272 (ENTRY, END): Remove.
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2274
a3cc4f48
JM
22752012-04-25 Joseph Myers <joseph@codesourcery.com>
2276
2ed8cda2
JM
2277 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2278 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2279 -DIS_IN_build.
2280
35d76d59
JM
2281 * timezone/README: Update upstream location and email address for
2282 tzcode and tzdata.
2283 * timezone/zdump.c: Update from tzcode 2012b.
2284 * timezone/zic.c: Likewise.
2285
a3cc4f48
JM
2286 * configure.in (libc_cv_as_needed): Remove test.
2287 * configure: Regenerated.
2288 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2289 conditional definition.
2290 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2291 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2292 * config.make.in (have-as-needed): Remove variable.
2293
ceab42c3
SP
22942012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2295 Paul Pluzhnikov <ppluzhnikov@google.com>
2296
2297 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2298 strings correctly.
2299
3ce2865f
CLT
23002012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2301
2302 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2303 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2304 * sysdeps/sh/strlen.S: Likewise.
2305
f37e0d68
JM
23062012-04-24 Joseph Myers <joseph@codesourcery.com>
2307
ae186e9a
JM
2308 * sysdeps/unix/fork.S: Remove file.
2309 * sysdeps/unix/i386/fork.S: Likewise.
2310 * sysdeps/unix/sparc/fork.S: Likewise.
2311
b96914af
JM
2312 * sysdeps/unix/system.c: Remove file.
2313 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2314
f37e0d68
JM
2315 * sysdeps/unix/getegid.S: Remove file.
2316 * sysdeps/unix/geteuid.S: Likewise.
2317
87ef29ca
RM
23182012-04-24 Roland McGrath <roland@hack.frob.com>
2319
83bcd236
RM
2320 * scripts/check-localplt.awk: New file.
2321 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2322 of diff.
2323 * scripts/data/localplt-generic.data: Add a comment.
2324
87ef29ca
RM
2325 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2326 NODE when __dir_mkfile failed.
2327 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2328 Reported by Ludovic Courtès <ludo@gnu.org>.
2329
e5a6e567
AJ
23302012-04-24 Andreas Jaeger <aj@suse.de>
2331
2332 * Makerules (common-clean): Also remove gen-as-const-headers
2333 files.
2334
c1820385
JM
23352012-04-24 Joseph Myers <joseph@codesourcery.com>
2336
2337 * Makerules (native-compile): Do not change working directory for
2338 build. Use $(OUTPUT_OPTION) in command.
2339 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2340
94e02fc4
AZ
23412012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2342
2343 [BZ #13886]
2344 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2345 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2346 * math/libm-test.inc (floor_test): Add more tests.
2347 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2348
3a533ca3
JM
23492012-04-24 Joseph Myers <joseph@codesourcery.com>
2350
940ab4b3
JM
2351 * sysdeps/unix/getdents.c: Remove file.
2352 * sysdeps/unix/sysv/getdents.c: Likewise.
2353 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2354
90e037bd
JM
2355 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2356 sysdeps/unix/mman/syscalls.list.
2357 (mmap): Likewise.
2358 (mprotect): Likewise.
2359 (msync): Likewise.
2360 (munmap): Likewise.
2361 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2362 * sysdeps/unix/mman/syscalls.list: Remove.
2363 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2364
3a533ca3
JM
2365 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2366 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2367 * configure: Regenerated.
2368 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2369 $(libgcc_s_suffix).
2370 * config.make.in (libgcc_s_suffix): Remove variable.
2371
1ad743de
JM
23722012-04-23 Joseph Myers <joseph@codesourcery.com>
2373
4ad451e2
JM
2374 * sysdeps/unix/sysv/gethostname.c: Move to ...
2375 * sysdeps/posix/gethostname.c: ... here.
2376
5e37ce39
JM
2377 * sysdeps/unix/execve.S: Remove file.
2378
1ad743de
JM
2379 * sysdeps/unix/_exit.S: Remove file.
2380
4e681b5b
AJ
23812012-04-23 Andreas Jaeger <aj@suse.de>
2382
2383 [BZ #13739]
2384 * manual/Makefile: Remove make dist support, there's no
2385 need for a stand-alone documentation tar ball.
2386 (TEXI2DVI): Define always, it's not in Makeconfig.
2387 (dist): Removed.
2388 (tar-it): Removed.
2389 (edition): Removed.
2390 (glibc-doc-$(edition).tar): Removed
2391 (%.Z): Removed.
2392 (%.gz): Removed.
2393 (%.uu): Removed.
2394 (ETAGS): Remove, it's in Makeconfig.
2395 (move-if-change): Remove, it's in Makeconfig.
2396
c0baea34
PE
23972013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2398
2399 [BZ #13970]
2400 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2401 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2402 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2403 (strtod_l, strtof_l, strtold_l): Remove __wur.
2404 It is not necessarily an error to ignore strtol's return value.
2405 One can reliably look at the stored endptr to decide whether
2406 the number had valid syntax.
2407
7c0616fa
AJ
24082012-04-21 Andreas Jaeger <aj@suse.de>
2409
803cb6b7 2410 [BZ #13739]
7c0616fa
AJ
2411 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2412
b0fe253f
JM
24132012-04-21 Joseph Myers <joseph@codesourcery.com>
2414
2415 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2416 * sysdeps/unix/sysv/Versions: Remove file.
2417
8280f22d
MT
24182012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2419
2420 [BZ #13927]
2421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2422
75ce411f 24232012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2424
2425 [BZ #7064]
2426 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2427 version from __vm86.
2428
097d59fa
JM
24292012-04-20 Joseph Myers <joseph@codesourcery.com>
2430
a90f3bcb
JM
2431 * sysdeps/unix/common/lxstat.c: Remove file.
2432 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2433
edc7ea78
JM
2434 * sysdeps/unix/sysv/Makefile: Remove file.
2435
cb78c221
JM
2436 * sysdeps/unix/sysv/direct.h: Remove file.
2437
efa6a45f
JM
2438 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2439 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2440 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2441 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2442 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2443 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2444 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2445
9c9f2d0c
JM
2446 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2447
4541c83b
JM
2448 * sysdeps/unix/xmknod.c: Remove file.
2449 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2450
f5d153a0
JM
2451 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2452
aa746595
JM
2453 * sysdeps/unix/sysv/i386/time.S: Remove file.
2454
cce5905e
JM
2455 * sysdeps/unix/fxstat.c: Remove file.
2456 * sysdeps/unix/xstat.c: Likewise.
2457 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2458
37fa3841
JM
2459 * sysdeps/unix/sysv/sigaction.c: Remove file.
2460
ff1962a3
JM
2461 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2462 (sysdep_headers): Remove variable.
2463 [termio.h not in sysdep_headers] (generated): Likewise.
2464 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2465 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2466 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2467 * sysdeps/unix/sysv/tcflow.c: Likewise.
2468 * sysdeps/unix/sysv/tcflush.c: Likewise.
2469 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2470 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2471 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2472 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2473 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2474
e7740d31
JM
2475 * sysdeps/unix/siglist.c: Remove file.
2476
ee06f18b
JM
2477 * sysdeps/unix/getppid.S: Remove file.
2478
097d59fa
JM
2479 * sysdeps/unix/mkdir.c: Remove file.
2480 * sysdeps/unix/rmdir.c: Likewise.
2481
ff3d51ec
AS
24822012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2483
2484 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2485 ERR_MAX value.
2486 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2487 errlist-compat value.
2488
50f81fd7
DM
24892012-04-18 David S. Miller <davem@davemloft.net>
2490
2491 * sysdeps/generic/memcopy.h (reg_char): Delete.
2492 * debug/strcat_chk.c: Use char, not reg_char.
2493 * debug/strcpy_chk.c: Likewise.
2494 * debug/strncat_chk.c: Likewise.
2495 * debug/strncpy_chk.c: Likewise.
2496 * string/memchr.c: Likewise.
2497 * string/memrchr.c: Likewise.
2498 * string/rawmemchr.c: Likewise.
2499 * string/strcat.c: Likewise.
2500 * string/strchr.c: Likewise.
2501 * string/strchrnul.c: Likewise.
2502 * string/strcmp.c: Likewise.
2503 * string/strcpy.c: Likewise.
2504 * string/strncat.c: Likewise.
2505 * string/strncmp.c: Likewise.
2506 * string/strncpy.c: Likewise.
2507
8ff41c46
WS
25082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2509
2510 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2511 __builtin_memcopy is called when src and dest ranges are known to not
2512 overlap.
2513
6b652f46
WS
25142012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2515
2516 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2517 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2518 fwd_align_merge macro call.
2519 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2520 bwd_align_merge macro call.
2521 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2522
b282631e
WS
25232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2524
2525 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2526 bwd_align_merge macros.
2527 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2528 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2530
95aa737c
DM
25312012-04-18 David S. Miller <davem@davemloft.net>
2532
2533 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2534
7a99a614
AJ
25352012-04-18 Andreas Jaeger <aj@suse.de>
2536
2537 [BZ# 6794]
2538 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2539 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2540 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2541
2542 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2543 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2544 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2545
2546 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2547 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2548 Adjust for changed ldbl-128 files.
2549
2550 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2551 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2552 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2553
e5270c23
DM
25542012-04-17 David S. Miller <davem@davemloft.net>
2555
2556 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2557
fb5e92c9
AS
25582012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2559
2560 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2561 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2562 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2563 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2564 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2565 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2566
76da7265
AZ
25672012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2568
2569 [BZ #6794]
2570 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2571 * math/libm-test.inc: Add ilogb errno and exception tests.
2572 * math/w_ilogb.c: New file: ilogb wrapper.
2573 * math/w_ilogbf.c: New file: ilogbf wrapper.
2574 * math/w_ilogbl.c: New file: ilogbl wrapper.
2575 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2576 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2577 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2578 exception being thrown with 0.0 as argument.
2579 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2580 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2581 exception being thrown with 0.0 as argument.
2582 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2583 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2584 exception being thrown with 0.0 as argument.
2585 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2586 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2587 exception being thrown with 0.0 as argument.
2588 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2589 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2590 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2591 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2592 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2593 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2594 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2595 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2596 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2597
0396e69d
PB
25982012-04-17 Petr Baudis <pasky@ucw.cz>
2599
2600 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2601 with altivec.
2602
750b5926
MP
26032012-04-16 Marek Polacek <polacek@redhat.com>
2604
2605 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2606
751728a1
MP
26072012-04-16 Marek Polacek <polacek@redhat.com>
2608
2609 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2610 operands of fdivp instruction.
2611
34a27407
L
26122012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2613
2614 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2615 * elf/tst-auditmod3b.c: Likewise.
2616 * elf/tst-auditmod4b.c: Likewise.
2617 * elf/tst-auditmod5b.c: Likewise.
2618 * elf/tst-auditmod6b.c: Likewise.
2619 * elf/tst-auditmod6c.c: Likewise.
2620 * elf/tst-auditmod7b.c: Likewise.
2621 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2622 * sysdeps/x86_64/preconfigure.in: Likewise.
2623 * sysdeps/x86_64/preconfigure: Regenerated.
2624
7e73e17d
L
26252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2628 __ILP32__.
2629
c7a6ab72
AB
26302012-04-13 Antoine Balestrat <merkil33@gmail.com>
2631
2632 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2633 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2634
a9e8e0e0
CL
26352012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2636
2637 [BZ #13973]
2638 * locale/iso-639.def: Fix gl language name. Spotted by
2639 Yaron Shahrabani.
2640
ec98af7d
RM
26412012-04-12 Roland McGrath <roland@hack.frob.com>
2642
2643 [BZ #2074]
2644 * libio/libio.h (__io_write_fn): Update comment.
2645
247c3ede
PB
26462012-04-12 Petr Baudis <pasky@ucw.cz>
2647
2648 [BZ #2074]
2649 * stdio.texi (Hook Functions): The user provided writer function
2650 is not allowed to return -1.
2651
55939d6d
DM
26522012-04-11 David S. Miller <davem@davemloft.net>
2653
2654 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2655
90020f5a
MF
26562012-04-11 Mike Frysinger <vapier@gentoo.org>
2657
2658 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2659 Add a leading slash to rtkaio.
2660
288f9098
JM
26612012-04-11 Jim Meyering <meyering@redhat.com>
2662
90020f5a
MF
2663 [BZ #11959]
2664 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2665 It is not necessarily an error to ignore fwrite's return
2666 value. One can reliably use ferror to test for errors after
2667 the fact.
288f9098 2668
4be2b570
L
26692012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2670
2671 * bits/types.h (__snseconds_t): New type.
2672 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2673
2674 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2675 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2676 (__SNSECONDS_T_TYPE): Likewise.
2677 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2678 (__SNSECONDS_T_TYPE): Likewise.
2679 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2680 (__SNSECONDS_T_TYPE): Likewise.
2681
288f9098 26822012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2683
2684 [BZ #2636]
2685 * manual/time.texi (Processor Time): Return type of times is
2686 elapsed real time since an arbitrary point in the past.
2687 (CPU Time): Move CLK_TCK from here...
2688 (Processor Time): ...to here. Correct description.
2689 * manual/conf.texi (Constants for Sysconf): Correct description of
2690 _SC_CLK_TCK.
2691
d7dd4413
DM
26922012-04-10 David S. Miller <davem@davemloft.net>
2693
2694 [BZ #13967]
2695 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2696 where the is a gap between DT_REL(A) and DT_JMPREL.
2697
b46068fc
L
26982012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2699
2700 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2701 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2702 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2703
73d65cc3
SP
27042012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2705
2706 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2707 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2708 (dl_main): Handle --inhibit-cache.
2709 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2710 _dl_inhibit_cache.
2711 * elf/dl-load.c (_dl_map_object): Use it.
2712 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2713
bcc8d661
JM
27142012-04-09 Joseph Myers <joseph@codesourcery.com>
2715
8f9a2fae
JM
2716 [BZ #13872]
2717 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2718 (__ieee754_powl): Saturate large exponents rather than testing for
2719 overflow of y*log2(x).
2720 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2721 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2722 exceptions.
2723
bcc8d661
JM
2724 [BZ #11521]
2725 * math/s_ctan.c: Include <float.h>.
2726 (__ctan): Avoid internal overflow or cancellation in calculating
2727 denominator.
2728 * math/s_ctanf.c: Likewise.
2729 * math/s_ctanl.c: Likewise.
2730 * math/s_ctanh.c: Likewise.
2731 * math/s_ctanhf.c: Likewise.
2732 * math/s_ctanhl.c: Likewise.
2733 * math/libm-test.inc (ctan_test): Add more tests.
2734 (ctanh_test): Likewise.
2735 * sysdeps/i386/fpu/libm-test-ulps: Update.
2736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2737
823fbbb4
AJ
27382012-04-09 Andreas Jaeger <aj@suse.de>
2739
03879793
AJ
2740 [BZ #6894]
2741 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2742 is an optional BSD extension.
2743
823fbbb4
AJ
2744 [BZ #10254]
2745 * manual/stdio.texi (Opening Streams): Document additional fopen
2746 parameters.
2747
8de131cb
RM
27482012-04-09 Roland McGrath <roland@hack.frob.com>
2749
2750 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2751 %eax without telling the compiler.
2752
c0ed9d7d
CD
27532012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2754
2755 [BZ # 13963]
2756 * manual/install.texi: Use sourceware.org.
2757
c483f6b4
JM
27582012-04-09 Joseph Myers <joseph@codesourcery.com>
2759
d7dd9453
JM
2760 [BZ #13873]
2761 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2762 (__ieee754_pow): Generate overflow and underflow using huge*huge
2763 and tiny*tiny rather than just returning constant infinity or zero
2764 for large exponents.
2765 * math/libm-test.inc (pow_test): Require overflow exceptions for
2766 applicable cases of large exponents.
2767
c483f6b4
JM
2768 [BZ #706]
2769 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2770 (__ieee754_pow): Use iterative multiplication algorithm only for
2771 integer exponents with absolute value below 1024. Check for odd
2772 integer exponents when using algorithm for real exponents.
2773 * math/libm-test.inc (pow_test): Add more tests.
2774 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2775
d2de7579
JM
27762012-04-08 Joseph Myers <joseph@codesourcery.com>
2777
2778 [BZ #13705]
2779 * math/libm-test.inc (exp_test): Do not allow overflow exception
2780 on underflow test.
2781
f77f1232
AJ
27822012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2783
2784 [BZ #13705]
2785 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2786 instead of __kernel_standard_f.
2787
3884932b
MF
27882012-04-08 Mike Frysinger <vapier@gentoo.org>
2789
2790 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2791 * sysdeps/x86_64/memset_chk.S: Likewise.
2792
54472e9c
AJ
27932012-04-08 Andreas Jaeger <aj@suse.de>
2794
6ab0fbfc
AJ
2795 [BZ #10153]
2796 * manual/startup.texi (Environment Access): Describe return value
2797 for putenv and setenv.
2798
61efba8c
AJ
2799 [BZ #6895]
2800 * manual/filesys.texi (Directory Entries): Add description for
2801 DT_LNK.
2802
95c3f29a
AJ
2803 [BZ #6890]
2804 * manual/filesys.texi (Directory Entries): Clarify that it's file
2805 system not operating system in the description of DT_UNKNOWN.
2806
54472e9c
AJ
2807 [BZ #6578]
2808 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2809
624254b1
SC
28102012-04-08 Stephen Compall <s11@member.fsf.org>
2811
2812 [BZ #6649]
2813 * manual/llio.texi (Opening and Closing Files): Add cross
2814 reference to explain mode argument.
2815
1e4920e0
MF
28162012-04-07 Mike Frysinger <vapier@gentoo.org>
2817
2818 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2819 * sysdeps/x86_64/memset_chk.S: Likewise.
2820
5ed848f3
DM
28212012-04-07 David S. Miller <davem@davemloft.net>
2822
2823 * elf/elf.h (R_SPARC_WDISP10): Define.
2824 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2825 R_SPARC_SIZE32.
2826 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2827 R_SPARC_SIZE64 and R_SPARC_H34.
2828
96154cd8
CD
28292012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2830
2831 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2832 conditions and remove no longer applicable assertion.
2833
9904dc47
L
28342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2835
2836 * bits/byteswap.h: Include <features.h>.
2837 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2838 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2839
f8887d0a
L
28402012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2841
2842 * bits/byteswap.h (__bswap_16): Removed.
2843 Include <bits/byteswap-16.h> to get __bswap_16.
2844 * sysdeps/i386/bits/byteswap.h: Likewise.
2845 * sysdeps/s390/bits/byteswap.h: Likewise.
2846 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2847 * bits/byteswap-16.h: New file.
2848 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2849 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2850 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2851 * string/Makefile (headers): Add bits/byteswap-16.h.
2852
62470f60
PP
28532012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2854
2855 [BZ #13895]
2856 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2857 extra indirection.
2858 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2859 * nss/tst-nss-static.c: New.
2860
4dad7bab
RM
28612012-04-06 Robert Millan <rmh@gnu.org>
2862
2863 [BZ #6486]
2864 * manual/llio.texi (File Position Primitive): lseek
2865 refers to WHENCE when it really means OFFSET.
2866
e9142a17
AJ
28672012-04-06 Andreas Jaeger <aj@suse.de>
2868
2c040eff
AJ
2869 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2870 strncmp declarations.
2871
e9142a17
AJ
2872 * abilist/libc.abilist: Add __poll and __ppoll.
2873
ff9f1c5f
DM
28742012-04-05 David S. Miller <davem@davemloft.net>
2875
dcd2ae90
DM
2876 * scripts/check-local-headers.sh: Accept a host triplet in the
2877 path matched by the exclude regexp.
2878
993eb054
DM
2879 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2880 definition.
2881 * sysdeps/powerpc/powerpc32/dl-machine.h
2882 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2883 * sysdeps/s390/s390-32/dl-machine.h
2884 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2885 * sysdeps/sparc/sparc32/dl-machine.h
2886 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2887 * sysdeps/sparc/sparc64/dl-machine.h
2888 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2889
ff9f1c5f
DM
2890 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2891 lazy binding.
48e2e132 2892 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2893 undefined symbol errors.
2894
48e2e132 2895 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2896 DT_NEEDED entries.
2897
e80d6f94
MM
28982012-04-05 Michael Matz <matz@suse.de>
2899
2900 [BZ #13592]
2901 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2902
349fa79f
AJ
29032012-04-05 Andreas Jaeger <aj@suse.de>
2904
2905 [BZ #13908]
2906 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2907 comment.
2908
f402708f
KK
29092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2910
2911 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2912 which ROUND is no valid rounding mode.
2913
2ecccfc9
KK
29142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2915
2916 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2917 read again.
2918 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2919
8a53f50f
KK
29202012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2921
2922 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2923 an exception using FPU order intentionally.
2924
29252012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2926
2927 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
2928 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
2929 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
2930 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
2931
d653abb7
SJ
29322012-04-05 Simon Josefsson <simon@josefsson.org>
2933
2934 [BZ #12340]
2935 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
2936 EINVAL when BUFLEN is too smal.
2937
c3b1bf7d
TS
29382012-04-05 Thomas Schwinge <thomas@codesourcery.com>
2939
2940 [BZ #13553]
2941 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
2942 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
2943
b1aa60f3
AJ
29442012-04-03 Andreas Jaeger <aj@suse.de>
2945
c3b1bf7d 2946 [BZ #13938]
67f60a26
AJ
2947 * manual/setjmp.texi (System V contexts): Fix sentence.
2948
b1aa60f3
AJ
2949 [BZ #13926]
2950 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
2951 New macro for this case.
2952 [!__GNUC__] (__bswap_64): New inline function for this case.
2953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2954 * bits/byteswap.h: Likewise.
2955 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
2956 ull, guard with __GLIBC_HAVE_LONG_LONG.
2957
2958 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
2959 __GLIBC_HAVE_LONG_LONG.
2960
2961 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
2962 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
2963
39c59c35
TMQMF
29642012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2965
2966 [BZ #13691]
2967 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
2968 inptr and inend, rather than using last_ch.
2969
135ffda8
DM
29702012-04-02 David S. Miller <davem@davemloft.net>
2971
2972 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
2973 * stdio-common/printf-parse.h (read_int): Change return type to
2974 'int', return -1 on INT_MAX overflow.
2975 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
2976 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
2977 overflows INT_MAX. Check for overflow of in-format-string precision
2978 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
2979 SIZE_MAX not INT_MAX for integer overflow test.
2980 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
2981 skip the construct in the format string but do not record anything.
2982 * stdio-common/bug22.c: Adjust to test both width/prevision
2983 INT_MAX overflow as well as total length INT_MAX overflow. Check
2984 explicitly for proper errno values.
2985
228c019e
TS
29862012-04-02 Thomas Schwinge <thomas@codesourcery.com>
2987
302cadd3
TS
2988 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
2989 CHAR_MAX.
2990 * string/test-strcmp.c [! WIDE]: Likewise.
2991 * time/tst-mktime2.c: Likewise for INT_MAX.
2992 * string/test-string.h: #include <sys/param.h> for MIN.
2993
228c019e
TS
2994 * csu/init-first.c (__libc_init_first): Call __ctype_init.
2995 * sysdeps/i386/init-first.c (init): Likewise.
2996 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
2997 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
2998 * sysdeps/sh/init-first.c (init): Likewise.
2999
cfa633f5
UD
30002012-04-01 Ulrich Drepper <drepper@gmail.com>
3001
3002 * po/ru.po: Update from translation team.
d1635ef8 3003 * po/vi.po: Likewise.
cfa633f5 3004
6cd0a5ea
SP
30052012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3006
3007 * resolv/nss_dns/dns-host.c: Merge copyright years.
3008
4b43400f
LD
30092012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3010
3011 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3012 Optimize memcpy with prefetch if
3013 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3014 src, dst pointers have unequal 16 byte alignments.
3015
48c41d04
SP
30162012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3017
3018 [BZ #13928]
3019 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3020 from a CNAME entry and return the minimum ttl for the query.
3021 (gaih_getanswer_slice): Likewise.
3022
b8dc394d
JL
30232012-03-30 Jeff Law <law@redhat.com>
3024
3025 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3026 due to long keys.
3027 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3028 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3029
2f5a5ed0
JL
3030 * resolv/nss_dns/dns-host.c: Update copyright year.
3031
1d39e359
UD
30322012-03-30 Ulrich Drepper <drepper@gmail.com>
3033
c030f70c 3034 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3035 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3036
1d39e359
UD
3037 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3038 comments for sendmmsg.
3039
30402012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3041
3042 [BZ #13691]
3043 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3044 with only 1 character between 0x0041 and 0x01b0.
3045 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3046 * wcsmbs/tst-mbsnrtowcs.c: New file.
3047
20fde227
DM
30482012-03-29 David S. Miller <davem@davemloft.net>
3049
3050 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3051 small copies by hand.
3052
984a4237
JL
30532012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3054
3055 [BZ #13761]
3056 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3057 _nss_compat_initgroups_dyn): Fall back to malloc/free
3058 for large group memberships.
3059
18c9d62b
DM
30602012-03-28 David S. Miller <davem@davemloft.net>
3061
88d85d4f
DM
3062 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3063 that branches into memcpy.
3064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3065 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3067 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3068 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3069 bits.
3070 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3071 implementation too.
3072 * sysdeps/sparc/mempcpy.S: New file.
3073
e5aa83e1
DM
3074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3075 the IFUNC routine in the libc case.
3076 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3077
88570753
DM
3078 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3080 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3081 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3082 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3083 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3084 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3085 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3086
249d7567
DM
3087 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3088 loop to 256 bytes instead of 64 bytes and fix test signedness.
3089
18c9d62b
DM
3090 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3091 * sysdeps/sparc/sparc32/Makefile: rather than here...
3092 * sysdeps/sparc/sparc64/Makefile: and here.
3093
05f3d1f6
UD
30942012-03-28 Ulrich Drepper <drepper@gmail.com>
3095
3096 * malloc/mallocbug.c: Avoid warnings about unused variables.
3097
86ae07a8
JL
30982012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3099
3100 [BZ #13760]
3101 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3102 in the right place. Discard and retry query if response is
3103 larger than input buffer size.
3104
41bf21a1
JM
31052012-03-28 Joseph Myers <joseph@codesourcery.com>
3106
d6270972
JM
3107 [BZ #369]
3108 [BZ #2678]
3109 [BZ #3866]
3110 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3111 x for large integer exponent.
3112 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3113 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3114 sign of result as needed afterwards.
3115 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3116 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3117 result for underflowing pow the same as for overflow.
3118 (__kernel_standard_l): Handle powl overflow and underflow here
3119 rather than calling __kernel_standard.
3120 * math/libm-test.inc (pow_test): Add more tests.
3121
414fca03 3122 [BZ #3868]
41bf21a1
JM
3123 [BZ #13879]
3124 [BZ #13910]
3125 [BZ #13911]
3126 [BZ #13912]
3127 [BZ #13913]
3128 [BZ #13915]
3129 [BZ #13916]
3130 [BZ #13917]
3131 [BZ #13918]
3132 [BZ #13919]
3133 [BZ #13920]
3134 [BZ #13921]
3135 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3136 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3137 (__kernel_standard_l): New function.
3138 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3139 __kernel_standard.
3140 * math/w_acosl.c (__acosl): Likewise.
3141 * math/w_asinl.c (__asinl): Likewise.
3142 * math/w_atan2l.c (__atan2l): Likewise.
3143 * math/w_atanhl.c (__atanhl): Likewise.
3144 * math/w_coshl.c (__coshl): Likewise.
3145 * math/w_exp10l.c (__exp10l): Likewise.
3146 * math/w_exp2l.c (__exp2l): Likewise.
3147 * math/w_fmodl.c (__fmodl): Likewise.
3148 * math/w_hypotl.c (__hypotl): Likewise.
3149 * math/w_j0l.c (__j0l, __y0l): Likewise.
3150 * math/w_j1l.c (__j1l, __y1l): Likewise.
3151 * math/w_jnl.c (__jnl, __ynl): Likewise.
3152 * math/w_lgammal.c (__lgammal): Likewise.
3153 * math/w_log10l.c (__log10l): Likewise.
3154 * math/w_log2l.c (__log2l): Likewise.
3155 * math/w_logl.c (__logl): Likewise.
3156 * math/w_powl.c (__powl): Likewise.
3157 * math/w_remainderl.c (__remainderl): Likewise.
3158 * math/w_scalbl.c (sysv_scalbl): Likewise.
3159 * math/w_sinhl.c (__sinhl): Likewise.
3160 * math/w_sqrtl.c (__sqrtl): Likewise.
3161 * math/w_tgammal.c (__tgammal): Likewise.
3162 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3163 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3164 * math/libm-test.inc (acos_test): Add more tests.
3165 (acosh_test): Likewise.
3166 (asin_test): Likewise.
3167 (atanh_test): Likewise.
3168 (exp_test): Likewise.
3169 (exp10_test): Likewise.
3170 (exp2_test): Likewise.
3171 (expm1_test): Likewise.
3172 (lgamma_test): Likewise.
3173 (log_test): Likewise.
3174 (log10_test): Likewise.
3175 (log1p_test): Likewise.
3176 (log2_test): Likewise.
3177 (pow_test): Do not allow some spurious overflow exceptions.
3178 (sqrt_test): Add more tests.
3179 (tgamma_test): Likewise.
3180 (y0_test): Likewise.
3181 (y1_test): Likewise.
3182 (yn_test): Likewise.
3183
dd62fda6
AB
31842012-03-27 Anton Blanchard <anton@samba.org>
3185
3186 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3187 MAP_HUGETLB.
3188 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3189 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3190 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3191
1e3cdfda
AJ
31922012-03-27 David S. Miller <davem@davemloft.net>
3193
b855ab85
DM
3194 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3195
1e3cdfda
AJ
3196 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3197 have-as-vis3 check.
3198
31992012-03-27 Andreas Jaeger <aj@suse.de>
3200
3201 * sysdeps/x86_64/elf/configure.in: Moved to ...
3202 * sysdeps/x86_64/configure.in: ... here.
3203 * sysdeps/x86_64/elf/start.S: Moved to ...
3204 * sysdeps/x86_64/start.S: ... here.
3205 * sysdeps/x86_64/elf/configure: Delete.
3206
3207 * sysdeps/x86_64/configure.in: Merge contents from
3208 sysdeps/i386/configure.in (without i686 check).
3209
3210 * sysdeps/i386/elf/Versions: Merge into ...
3211 * sysdeps/i386/Versions: ... this.
3212 * sysdeps/i386/elf/Versions: Delete file.
3213 * sysdeps/i386/elf/start.S: Moved to ...
3214 * sysdeps/i386/start.S: ...here.
3215 * sysdeps/i386/elf/configure.in: Merge into...
3216 * sysdeps/i386/configure.in: ...here.
3217 * sysdeps/i386/elf/configure.in: Delete file.
3218 * sysdeps/i386/elf/configure: Delete file.
3219
3220 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3221 * debug/backtracesyms.c: ... here.
3222 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3223 * debug/backtracesymsfd.c: ... here.
3224 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3225 * sysdeps/generic/ifunc-sel.h: ... here.
3226
3227 * sysdeps/unix/i386/start.c: Delete file.
3228 * sysdeps/unix/sparc/start.c: Delete file.
3229 * sysdeps/unix/start.c: Delete file.
3230
3231 * sysdeps/sh/elf/configure.in: Moved to ...
3232 * sysdeps/sh/configure.in: ... here.
3233 * sysdeps/sh/elf/start.S: Moved to ...
3234 * sysdeps/sh/start.S: ... here.
3235 * sysdeps/sh/elf/configure: Delete file.
3236
3237 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3238 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3239 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3240 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3241 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3242 * sysdeps/powerpc/powerpc64/start.S: here.
3243 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3244 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3245 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3246 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3247 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3248
3249 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3250 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3251 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3252 * sysdeps/powerpc/powerpc32/start.S: ... here.
3253 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3254 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3255 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3256
3257 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3258 * sysdeps/powerpc/ifunc-sel.h: ... here.
3259 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3260 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3261
3262 * sysdeps/sparc/elf/configure.in: Moved to ...
3263 * sysdeps/sparc/configure.in: ... here.
3264 * sysdeps/sparc/elf/configure: Delete file.
3265 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3266 * sysdeps/sparc/sparc32/start.S: ... here.
3267 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3268 * sysdeps/sparc/sparc64/start.S: ... here.
3269 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3270 * sysdeps/sparc/sparc32/Makefile: ... this.
3271 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3272 * sysdeps/sparc/sparc64/Makefile: ... this.
3273
3274 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3275 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3276 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3277 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3278 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3279 * sysdeps/s390/s390-32/setjmp.S: ... here.
3280 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3281 * sysdeps/s390/s390-32/configure.in: ... here.
3282 * sysdeps/s390/s390-32/elf/configure: Delete file.
3283 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3284 * sysdeps/s390/s390-32/start.S: ... here.
3285
3286 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3287 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3288 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3289 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3290 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3291 * sysdeps/s390/s390-64/setjmp.S: ... here.
3292 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3293 * sysdeps/s390/s390-64/configure.in: ... here
3294 * sysdeps/s390/s390-64/elf/configure: Delete file.
3295 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3296 * sysdeps/s390/s390-64/start.S: ... here.
3297 * sysdeps/s390/s390-64/elf/configure: Delete.
3298
3299 * configure.in: Remove support for elf directories in sysdeps.
3300
3301 * configure: Regenerated.
3302 * sysdeps/i386/configure: Regenerated.
3303 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3304 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3305 * sysdeps/s390/s390-32/configure: Regenerated.
3306 * sysdeps/s390/s390-64/configure: Regenerated.
3307 * sysdeps/sh/configure: Regenerated.
3308 * sysdeps/sparc/configure: Regenerated.
3309 * sysdeps/x86_64/configure: Regenerated.
3310
a3f61311
AS
33112012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3312
c876e002
AS
3313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3314
a3f61311
AS
3315 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3316 denormal result into account.
3317
ac4c54f0
RM
33182012-03-25 Roland McGrath <roland@hack.frob.com>
3319
3320 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3321 Reported by Allan McRae <allan@archlinux.org>.
3322
6a9b9c02
JL
33232012-03-23 Jeff Law <law@redhat.com>
3324
3325 * nss/getnssent.c (__nss_getent): Fix typo.
3326
4c42a0c1
DM
33272012-03-23 David S. Miller <davem@davemloft.net>
3328
3329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3330
1532c7ac
L
33312012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3332
3333 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3334 to pad to uint64_t for each field.
3335 (dl_tls_index): Replace unsigned long with uint64_t.
3336
3ff42526
PP
33372012-03-23 Daniel Jacobowitz <dmj@google.com>
3338 Paul Pluzhnikov <ppluzhnikov@google.com>
3339
3340 [BZ #6528]
3341 * grp/Makefile (otherlibs): Don't set it.
3342 * inet/Makefile (otherlibs): Likewise.
3343 * login/Makefile (otherlibs): Likewise.
3344 * nscd/Makefile (otherlibs): Likewise.
3345 * posix/Makefile (otherlibs): Likewise.
3346 * pwd/Makefile (otherlibs): Likewise.
3347 * rt/Makefile (otherlibs): Likewise.
3348 * sunrpc/Makefile (otherlibs): Likewise.
3349 * nss/Makefile (otherlibs): Likewise.
3350 Add libnss_files to routines and static-only-routines.
3351 ($(objpfx)getent): Remove rule.
3352 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3353 static-only-routines.
3354
7c69cd14
JM
33552012-03-22 Joseph Myers <joseph@codesourcery.com>
3356
3357 [BZ #13892]
3358 * math/s_cexp.c: Include <float.h>.
3359 (__cexp): Handle exp result overflowing not necessarily
3360 overflowing both real and imaginary parts of result.
3361 * math/s_cexpf.c: Likewise.
3362 * math/s_cexpl.c: Likewise.
3363 * math/libm-test.inc (cexp_test): Add more tests.
3364 * sysdeps/i386/fpu/libm-test-ulps: Update.
3365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3366
81b035fe
L
33672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3368
3369 * include/link.h (ELFW): New macro.
3370 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3371 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3372
1da7940c
L
33732012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3374
3375 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3376 with uint64_t.
3377
b749dbb9
L
33782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3379
3380 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3381 declaration.
3382 (struct La_x32_retval): Likewise.
3383
2ff87f3f
L
33842012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3385
3386 * sysdeps/x86_64/preconfigure.in: New file.
3387 * sysdeps/x86_64/preconfigure: New generated file.
3388
c0df8e69
JM
33892012-03-22 Joseph Myers <joseph@codesourcery.com>
3390
48e44791
JM
3391 [BZ #13824]
3392 * math/e_exp2l.c: Include <float.h>.
3393 (__ieee754_exp2l): Handle overflow and underflow cases
3394 separately. Only pass fractional part of argument to
3395 __ieee754_expl.
3396 * math/libm-test.inc (exp2_test): Add more tests.
3397
c0df8e69
JM
3398 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3399 negating x to take absolute value.
3400 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3401 Likewise.
3402 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3403 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3404 Likewise.
3405 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3406 computing low part if x was negated.
3407 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3408
c8e43ba7
L
34092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3410
3411 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3412 la_x32_gnu_pltexit.
3413 (pltexit): Cast int_retval to ptrdiff_t.
3414 * elf/tst-auditmod3b.c: Likewise.
3415 * elf/tst-auditmod4b.c: Likewise.
3416 * elf/tst-auditmod5b.c: Likewise.
3417 * elf/tst-auditmod6b.c: Likewise.
3418 * elf/tst-auditmod6c.c: Likewise.
3419 * elf/tst-auditmod7b.c: Likewise.
3420
3421 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3422 and x32_gnu_pltexit.
3423
3424 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3425 __ELF_NATIVE_CLASS.
3426 (La_x32_regs): New macro.
3427 (La_x32_retval): Likewise.
3428 (la_x32_gnu_pltenter): New function prototype.
3429 (la_x32_gnu_pltexit): Likewise.
3430
7998fa78
AS
34312012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3432
dcb33988
AS
3433 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3434 exponent.
3435
233fc563
AS
3436 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3437
7998fa78
AS
3438 * configure.in (libc_cv_cc_nofma): Check for option to disable
3439 generation of FMA instructions.
3440 * configure: Regenerate.
3441 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3442 * sysdeps/ieee754/dbl-64/Makefile: New file.
3443 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3444 Remove brandred-fma4.
3445 (CFLAGS-brandred-fma4.c): Remove.
3446 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3447 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3448 define.
3449 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3450 define.
3451
8e95c99a
L
34522012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3453
3454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3455 LLONG_MAX != LONG_MAX.
3456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3457 (_fitoa_word): Likewise.
3458 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3459 LLONG_MAX != LONG_MAX.
3460 * stdio-common/_itowa.h: Include <_itoa.h>.
3461 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3462 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3463 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3464 only if not defined.
3465 (_ITOA_WORD_TYPE): Likewise.
3466 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3467 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3468
6f4db457
DM
34692012-03-21 David S. Miller <davem@davemloft.net>
3470
3471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3472
7785fe5a
L
34732012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3474
3475 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3476 of x86_64 when setting libc_cv_slibdir, libdir and
3477 libc_cv_localedir.
3478 * sysdeps/unix/sysv/linux/configure: Regenerated.
3479
4535cd55
JM
34802012-03-21 Joseph Myers <joseph@codesourcery.com>
3481
3482 * manual/lang.texi (Old Varargs): Remove section.
3483 (How Variadic): Update menu.
3484 (va_start): Do not mention varargs.h.
3485
17228132
TS
34862012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3487 Joseph Myers <joseph@codesourcery.com>
3488
3489 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3490 link test.
3491 * configure: Regenerated.
3492
8149f976
TS
34932012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3494
05f3d1f6
UD
3495 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3496 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3497 conformtest.pl
8149f976 3498
1a4ac776
JM
34992012-03-21 Joseph Myers <joseph@codesourcery.com>
3500
be22ce65
JM
3501 * NOTES: Remove.
3502 * Makefile (files-for-dist): Remove NOTES.
3503 (NOTES): Remove rule.
3504 * README: Don't refer to NOTES.
3505 * manual/creature.texi: Don't include macros.texi.
3506 * manual/intro.texi (creature.texi): Remove comment referring to
3507 NOTES.
3508
40b601fb
JM
3509 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3510 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3511 * configure: Regenerated.
3512 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3513 LIBC_TRY_CC_OPTION.
3514 (libc_cv_as_i686): Likewise.
3515 (libc_cv_cc_avx): Likewise.
3516 (libc_cv_cc_sse2avx): Likewise.
3517 (libc_cv_cc_fma4): Likewise.
3518 (libc_cv_cc_novzeroupper): Likewise.
3519 * sysdeps/i386/configure: Regenerated.
3520
1a4ac776
JM
3521 [BZ #13883]
3522 * sysdeps/i386/fpu/s_cexp.S: Remove.
3523 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3524 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3525 * math/libm-test.inc (cexp_test): Add more tests.
3526 * sysdeps/i386/fpu/libm-test-ulps: Update.
3527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3528
a458e7fe
AM
35292012-03-21 Allan McRae <allan@archlinux.org>
3530
3531 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3532
0cb7efc5
JM
35332012-03-21 Joseph Myers <joseph@codesourcery.com>
3534
3535 [BZ #13871]
3536 * math/w_exp2.c: Do not include <float.h>.
3537 (o_threshold, u_threshold): Remove.
3538 (__exp2): Calculate result before checking finiteness and calling
3539 __kernel_standard.
3540 * math/w_exp2f.c: Likewise.
3541 * math/w_exp2l.c: Likewise.
3542 * math/libm-test.inc (exp2_test): Require overflow exception for
3543 1e6 input.
2460d3aa
JM
3544
3545 [BZ #3866]
3546 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3547 range of signed 64-bit integers before using fistpll. Remove
3548 checks for whether integers fit in mantissa bits.
3549 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3550 the range of signed 32-bit integers before using fistpl. Remove
3551 checks for whether integers fit in mantissa bits.
3552 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3553 (__ieee754_powl): Test for y outside the range of signed 64-bit
3554 integers before using fistpll. Reduce 64-bit values to 63-bit
3555 ones as needed.
3556 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3557 divide-by-zero is raised for zero to large negative powers.
3558 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3559 (__ieee754_powl): Test for y outside the range of signed 64-bit
3560 integers before using fistpll. Reduce 64-bit values to 63-bit
3561 ones as needed.
3562 * math/libm-test.inc (pow_test): Add more tests.
3563
eb96ffb0
L
35642012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3565
3566 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3567 <stdio-common/_itoa.h>.
3568 * debug/segfault.c: Likewise.
3569 * elf/dl-cache.c: Likewise.
3570 * elf/dl-minimal.c: Likewise.
3571 * elf/dl-misc.c: Likewise.
3572 * elf/dl-sysdep.c: Likewise.
3573 * elf/dl-version.c: Likewise.
3574 * elf/rtld.c: Likewise.
3575 * hurd/hurdsock.c: Likewise.
3576 * hurd/lookup-retry.c: Likewise.
3577 * malloc/malloc.c: Likewise.
3578 * malloc/mtrace.c: Likewise.
3579 * nscd/nscd_getgr_r.c: Likewise.
3580 * nscd/nscd_getpw_r.c: Likewise.
3581 * nscd/nscd_getserv_r.c: Likewise.
3582 * posix/getopt_init.c: Likewise.
3583 * posix/wordexp.c: Likewise.
3584 * stdio-common/_itoa.c: Likewise.
3585 * stdio-common/printf_fphex.c: Likewise.
3586 * stdio-common/vfprintf.c: Likewise.
3587 * string/_strerror.c: Likewise.
3588 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3589 * sysdeps/i386/i686/hp-timing.h: Likewise.
3590 * sysdeps/mach/_strerror.c: Likewise.
3591 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3592 * sysdeps/mach/hurd/sethostid.c: Likewise.
3593 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3594 * sysdeps/mach/xpg-strerror.c: Likewise.
3595 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3596 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3597 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3598 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3599 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3600 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3601 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3602 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3603 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3604 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3606 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3607 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3608 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3609 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3610 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3611 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3612 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3613 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3614 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3615 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3616
3617 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3618
3619 * stdio-common/_itoa.h: Moved to ...
3620 * sysdeps/generic/_itoa.h: Here.
3621
3622 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3623
3624 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3625 instead of "_itoa.h" and "_itowa.h".
3626 * stdio-common/vfprintf.: Likewise.
3627
d1af992d
L
36282012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3629
3630 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3631 <bits/wordsize.h>.
3632 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3633 (__signbit): Likwise.
3634 (llrintf): Likwise.
3635 (llrint): Likwise.
3636
114883e0
L
36372012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3638
3639 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3640 __WORDSIZE != 64.
3641
c135cc1b
JM
36422012-03-20 Joseph Myers <joseph@codesourcery.com>
3643
3644 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3645 OVERFLOW_EXCEPTION_OK.
3646 * math/libm-test.inc ("Philosophy"): Update comment about
3647 exception testing.
3648 (OVERFLOW_EXCEPTION): Define.
3649 (OVERFLOW_EXCEPTION_OK): Likewise.
3650 (INVALID_EXCEPTION_OK): Renumber.
3651 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3652 (IGNORE_ZERO_INF_SIGN): Likewise.
3653 (test_exceptions): Handle FE_OVERFLOW.
3654 (exp10_test): Expect overflow exceptions.
3655 (exp2_test): Likewise.
3656 (expm1_test): Likewise.
3657 (nextafter_test): Likewise.
3658 (pow_test): Likewise.
3659 (scalbn_test): Likewise.
3660 (scalbln_test): Likewise.
3661
95443d88
L
36622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 * sysdeps/x86_64/bits/atomic.h
3665 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3666 64bit integer.
3667 (atomic_exchange_acq): Likewise.
3668 (__arch_exchange_and_add_body): Likewise.
3669 (__arch_add_body): Likewise.
3670 (atomic_add_negative): Likewise.
3671 (atomic_add_zero): Likewise.
3672
490df6c4
L
36732012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3674
c2722551 3675 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3676 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3677
5e52b189
L
36782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3679
3680 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3681 Check __x86_64__ instead of __WORDSIZE.
3682
a9879d4c
L
36832012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3684
3685 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3686
5df98260
DM
36872012-03-19 David S. Miller <davem@davemloft.net>
3688
e1497744
DM
3689 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3690
5df98260
DM
3691 * sysdeps/sparc/fpu/fenv_private.h: New file.
3692 * sysdeps/sparc/fpu/math_private.h: Use it.
3693 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3694 Remove.
3695 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3696 (libc_feholdexcept_setroundl): Remove.
3697 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3698 Remove.
3699 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3700 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3701
b4c35121
L
37022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3703
3704 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3705 int64_t instead of long int.
3706 (INSERT_WORDS64): Likwise.
3707
56965fd7
L
37082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3709
3710 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3711 _Unwind_GetCFA return to _Unwind_Ptr first.
3712
83d1aec8
JM
37132012-03-19 Joseph Myers <joseph@codesourcery.com>
3714
1897ad44
JM
3715 [BZ #13629]
3716 * math/s_clog.c: Include <float.h>.
3717 (__clog): Scale large or subnormal inputs.
3718 * math/s_clogf.c: Likewise.
3719 * math/s_clogl.c: Likewise.
3720 * math/s_clog10.c: Include <float.h>.
3721 (M_LOG10_2): Define.
3722 (__clog10): Scale large or subnormal inputs.
3723 * math/s_clog10f.c: Likewise.
3724 * math/s_clog10l.c: Likewise.
3725 * math/libm-test.inc (clog_test): Add more tests.
3726 (clog10_test): Likewise.
3727 * sysdeps/i386/fpu/libm-test-ulps: Update.
3728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3729
7726d6a9
JM
3730 [BZ #11451]
3731 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3732 x and y.
3733 * math/libm-test.inc (atan2_test): Add another test.
3734
83d1aec8
JM
3735 * Makerules (common-objdir-compile): Remove.
3736 * sysdeps/unix/Makefile (config-generated): Do not add
3737 $(unix-generated) to variable.
3738 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3739 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3740 Remove rule.
3741 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3742 Likewise.
3743 [generic bits/local_lim.h] (before-compile): Do not append to
3744 variable.
3745 [generic bits/local_lim.h] (common-generated): Likewise.
3746 [generic sys/param.h] (before-compile): Do not append to variable.
3747 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3748 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3749 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3751 include.
3752 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3753 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3754 [generic sys/param.h] ($(addprefix
3755 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3756 [generic sys/param.h] (common-generated): Do not append to
3757 variable.
3758 [generic sys/param.h] (sysdep_headers): Likewise.
3759 [generic bits/errno.h] (before-compile): Do not append to
3760 variable.
3761 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3762 rule.
3763 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3764 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3765 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3766 [generic bits/errno.h] (common-generated): Do not append to
3767 variable.
3768 [generic bits/ioctls.h] (before-compile): Do not append to
3769 variable.
3770 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3771 rule.
3772 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3773 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3774 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3775 rule.
3776 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3777 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3778 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3779 [generic bits/ioctls.h] (common-generated): Do not append to
3780 variable.
3781 [generic sys/syscall.h] (syscall.h): Remove variable.
3782 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3783 rule.
3784 [generic sys/syscall.h] (before-compile): Do not append to
3785 variable.
3786 [generic sys/syscall.h] (common-generated): Likewise.
3787 * sysdeps/unix/errnos-tmpl.c: Remove file.
3788 * sysdeps/unix/errnos.awk: Likewise.
3789 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3790 * sysdeps/unix/ioctls.awk: Likewise.
3791 * sysdeps/unix/mk-local_lim.c: Likewise.
3792 * sysdeps/unix/snarf-ioctls: Likewise.
3793
4851a949
RH
37942012-03-19 Richard Henderson <rth@twiddle.net>
3795
bd37f2ee
RH
3796 * sysdeps/i386/fpu/fenv_private.h: New file.
3797 * sysdeps/i386/fpu/math_private.h: Use it.
3798 (math_opt_barrier, math_force_eval): Remove.
3799 (libc_feholdexcept_setround_53bit): Remove.
3800 (libc_feupdateenv_53bit): Remove.
3801 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3802 (math_opt_barrier, math_force_eval): Remove.
3803 (libc_feholdexcept): Remove.
3804 (libc_feholdexcept_setround): Remove.
3805 (libc_fetestexcept, libc_fesetenv): Remove.
3806 (libc_feupdateenv_test): Remove.
3807 (libc_feupdateenv, libc_feholdsetround): Remove.
3808 (libc_feresetround): Remove.
3809
d0adc922
RH
3810 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3811 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3812
0fe0f1f8
RH
3813 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3814 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3815 (libc_feupdateenv_testl): New.
3816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3817 (libc_feupdateenv_testf): New.
3818 (libc_feupdateenv): Use libc_feupdateenv_test.
3819 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3820 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3821
eb92c487
RH
3822 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3823 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3824 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3825 (libc_feresetround_noex): New.
3826 (libc_feresetround_noexf): New.
3827 (libc_feresetround_noexl): New.
3828 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3829 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3830 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3831 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3832 SET_RESTORE_ROUND.
3833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3835 (__cos): Likewise.
3836 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3837 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3838 SET_RESTORE_ROUND_NOEX.
3839 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3840 SET_RESTORE_ROUND_NOEXF.
3841 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3842 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3843 (libc_feholdsetroundf): New.
3844 (libc_feresetround, libc_feresetroundf): New.
3845
7d2e8012
RH
3846 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3847 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3848 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3849
b4dabbb4
RH
3850 * sysdeps/generic/math_private.h: Include <fenv.h>.
3851 (default_libc_feholdexcept): New.
3852 (default_libc_feholdexcept_setround): New.
3853 (default_libc_fesetenv, default_libc_feupdateenv): New.
3854 (libc_feholdexcept): Only define if undefined.
3855 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3856 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3857 (libc_feholdexcept_setroundl): Likewise.
3858 (libc_feholdexcept_setround_53bit): Likewise.
3859 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3860 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3861 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3862 (libc_feupdateenv_53bit): Likewise.
3863 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3864 (libc_feholdexcept): Convert from macro to inline function.
3865 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3866 (libc_fesetenv, libc_feupdateenv): Likewise.
3867
4851a949
RH
3868 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3869 not previously defined.
3870 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3871 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3872 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3873 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3874 * sysdeps/ieee754/flt-32/math_private.h: New file.
3875 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3876 math_private.h below SET_FLOAT_WORD.
3877 (__isnan, __isinf_ns, __finite): Remove.
3878 (__isnanf, __isinf_nsf, __finitef): Remove.
3879
e79d442e
AS
38802012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3881
3882 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3883
90b80344
DM
38842012-03-17 David S. Miller <davem@davemloft.net>
3885
3886 [BZ #6471]
3887 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3888 for 2.16.
3889
edc21804
DM
38902012-03-16 David S. Miller <davem@davemloft.net>
3891
77e927af
DM
3892 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3893 warnings.
3894
374976dd
DM
3895 [BZ #6471]
3896 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3897 properly.
3898 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3899 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3900 sysdep_routines when subdir is sysvipc.
3901 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3902 __getshmlba helper.
3903
edc21804
DM
3904 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3905
473c3ef3
L
39062012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3907
3908 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3909 [__LP64__].
3910
eb0f39b6
L
39112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3912
3913 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3914 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3915 (__lround): Renamed to ...
3916 (__llround): This. Replace long int with long long int.
3917 Define lround functions as aliases of llround functions.
3918 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3919
6b6cd74b
L
39202012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3921
3922 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3923 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
3924 adresses to uintptr_t. Replace "long int" and "unsigned long
3925 int" with "greg_t" on va_arg.
3926
f1a77b01
L
39272012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3928
3929 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
3930 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
3931
3932 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
3933 Move e_machine check before EI_CLASS check. Handle x32
3934 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
3935 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
3936 SKIP_EM_IA_64 and include
3937 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
3938
3939 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
3940 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
3941 (add_system_dir): New macro.
3942
3943 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
3944 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
3945
11b90b9f
JM
39462012-03-16 Joseph Myers <joseph@codesourcery.com>
3947
c36e1d23
JM
3948 [BZ #2551]
3949 [BZ #2552]
3950 [BZ #2553]
3951 [BZ #2554]
3952 [BZ #2562]
3953 [BZ #2563]
3954 [BZ #2565]
3955 [BZ #2566]
3956 [BZ #2576]
3957 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
3958 (y0): Likewise.
3959 * math/w_j0f.c (j0f): Likewise.
3960 (y0f): Likewise.
3961 * math/w_j0l.c (__j0l): Likewise.
3962 (__y0l): Likewise.
3963 * math/w_j1.c (j1): Likewise.
3964 (y1): Likewise.
3965 * math/w_j1f.c (j1f): Likewise.
3966 (y1f): Likewise.
3967 * math/w_j1l.c (__j1l): Likewise.
3968 (__y1l): Likewise.
3969 * math/w_jn.c (jn): Likewise.
3970 (yn): Likewise.
3971 * math/w_jnf.c (jnf): Likewise.
3972 (ynf): Likewise.
3973 * math/w_jnl.c (__jnl): Likewise.
3974 (__ynl): Likewise.
3975 * math/libm-test.inc (j0_test): Add more tests.
3976 (j1_test): Likewise.
3977 (jn_test): Likewise. Add trailing semicolon to existing test.
3978 (y0_test): Likewise.
3979 (y1_test): Likewise.
3980 * sysdeps/i386/fpu/libm-test-ulps: Update.
3981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3982
11b90b9f
JM
3983 [BZ #13851]
3984 [BZ #13854]
3985 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
3986 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
3987 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
3988 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
3989 (__tanl): Set errno for infinite argument.
3990 * sysdeps/i386/fpu/mptan.c: Remove.
3991 * sysdeps/i386/fpu/s_tan.S: Likewise.
3992 * sysdeps/i386/fpu/s_tanl.S: Likewise.
3993 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
3994 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
3995 * math/libm-test.inc (tan_test): Add more tests and enable more
3996 tests for double and long double.
3997 * sysdeps/i386/fpu/libm-test-ulps: Update.
3998 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3999
6a1bd2a1
JK
40002012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4001
4002 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4003 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4004
10a803e0
RM
40052012-03-16 Roland McGrath <roland@hack.frob.com>
4006
4007 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4008 * configure.in: Use it for both main tree and add-ons.
4009 * configure: Regenerated.
4010
f196c7f7
L
40112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4012
4013 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4014
8848d99d
JM
40152012-03-16 Joseph Myers <joseph@codesourcery.com>
4016
96cbe7f4
JM
4017 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4018 in comment.
4019
8848d99d
JM
4020 [BZ #13851]
4021 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4022 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4023 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4024 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4025 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4026 infinite argument.
4027 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4028 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4029 != 0 for prec == 2.
4030 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4031 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4032 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4033 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4034 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4035 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4036 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4037 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4038 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4039 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4040 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4041 * math/libm-test.inc (cos_test): Add more tests and enable more
4042 tests for long double.
4043 (sin_test): Likewise.
4044 (sincos_test): Likewise.
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4047
dd7f4703
DM
40482012-03-16 David S. Miller <davem@davemloft.net>
4049
4050 * sysdeps/sparc/fpu/math_private.h: New file.
4051
006f1daa
DM
40522012-03-15 David S. Miller <davem@davemloft.net>
4053
c0c83bc8
DM
4054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4055 file.
e6a62e18 4056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4058 file.
e6a62e18
DM
4059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4060 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4065 sysdep routines.
4066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4067
88cb87d9
DM
4068 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4069 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4070
006f1daa 4071 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4073 sparc-ifunc.h
006f1daa 4074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4076 Likewise.
4077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4078 Likewise.
006f1daa
DM
4079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4083 Likewise.
006f1daa
DM
4084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4089 Likewise.
4090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4091 Likewise.
006f1daa
DM
4092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4098 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4100 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4102 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4106 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4110 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4112 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4114 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4116
11e0098e
AS
41172012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4118
4119 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4120 scaling.
4121 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4122
e85b09d0
AJ
41232012-03-15 Andreas Jaeger <aj@suse.de>
4124
4125 [BZ #13852]
4126 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4127 ieee754/flt-32 implementation for sin, cos and sincos.
4128 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4129 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4130 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4131 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4132 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4133 ieee754/flt-32 implementation for tan.
4134
4135 * math/libm-test.inc (cos_test): Enable some large input tests for
4136 float as well
4137 (sin_test): Likewise.
4138 (sincos_test): Likewise.
4139 (tan_test): Add tests for large input.
4140
4141 * sysdeps/i386/fpu/libm-test-ulps: Update.
4142
81c64153
AJ
41432012-03-15 Andreas Jaeger <aj@suse.de>
4144
4145 [BZ #13658]
4146 * math/libm-test.inc (cos_test): Add more test cases.
4147 (sin_test): Likewise.
4148 (sincos_test): Likewise.
4149
7bbfa5c6
AJ
41502012-03-15 Andreas Jaeger <aj@suse.de>
4151
4152 [BZ #13837]
4153 * math/libm-test.inc (cos_test): Add a test case for large input
4154 value.
4155 (sin_test): Likewise.
4156 (sincos_test): Likewise.
4157
41582012-03-15 Andreas Jaeger <aj@suse.de>,
4159 Joseph Myers <joseph@codesourcery.com>
4160
4161 [BZ #13658]
0671f479 4162 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4163 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4164 * sysdeps/i386/fpu/branred.c: Likewise.
4165 * sysdeps/i386/fpu/dosincos.c: Likewise.
4166 * sysdeps/i386/fpu/mpa.c: Likewise.
4167 * sysdeps/i386/fpu/s_cos.S: Likewise.
4168 * sysdeps/i386/fpu/s_sin.S: Likewise.
4169 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4170 * sysdeps/i386/fpu/sincos32.c: Likewise.
4171
4172 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4173 Define.
4174 (libc_feupdateenv_53bit): Define.
4175 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4176 Define.
4177 (libc_feupdateenv_53bit): Define.
4178
4179 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4180 53 bit (without extend i386 double precision).
4181
4182 * math/libm-test.inc (sincos_test): Add tests for large input.
4183 (sin): Likewise.
4184 (cos): Likewise.
4185
4186 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4187
9cad04ea
AS
41882012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4189
4190 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4191
f7062b9a
DM
41922012-03-15 David S. Miller <davem@davemloft.net>
4193
4194 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4195 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4196 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4197 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4202 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4210 file.
f7062b9a 4211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4213 file.
f7062b9a 4214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4216 file.
f7062b9a 4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4219 file.
f7062b9a
DM
4220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4222 fmin/fmax sysdep routines.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4224
7bd951ff
DM
42252012-03-14 David S. Miller <davem@davemloft.net>
4226
559398ab
DM
4227 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4231 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4235 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4247 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4251 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4256 routines.
4257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4258 file.
559398ab 4259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4261 file.
559398ab 4262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4264 file.
559398ab 4265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4267 file.
559398ab 4268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4270 file.
559398ab 4271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4273 file.
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4275 file.
4276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4277 file.
4278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4279 file.
4280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4281 New file.
4282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4283 file.
4284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4285 file.
559398ab 4286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4288 file.
559398ab 4289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4291 file.
559398ab 4292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4294 file.
559398ab 4295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4297 VIS3 routines.
559398ab
DM
4298
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4300 New file.
4301
5a1c1e32
DM
4302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4303
eae47a36
DM
4304 * sysdeps/sparc/configure.in: New file.
4305 * sysdeps/sparc/configure: Generate.
4306 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4307 * configure: Regenerate.
4308 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4309 * config.make.in (have-as-vis3): New.
4310 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4311 available use -Av9d instead of -Av9a.
4312 * sysdeps/sparc/sparc64/Makefile: Likewise.
4313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4315 New file.
4316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4317 file.
4318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4319 New file.
4320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4321 file.
eae47a36
DM
4322 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4323 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4327
c0c83bc8
DM
4328 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4329 fzeros/fnegs to load 0x80000000 into a float register instead of
4330 using the stack.
7bd951ff
DM
4331 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4332
bd951ccb
JM
43332012-03-14 Joseph Myers <joseph@codesourcery.com>
4334
4335 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4336 bits/syscall.h.
4337 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4338 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4339 ($(inst_includedir)/bits/syscall.h): Remove rule.
4340 ($(objpfx)bits/syscall.d): Include instead of
4341 $(objpfx)syscall-list.d.
4342 (generated): Change syscall-list.h and syscall-list.d to
4343 bits/syscall.h and bits/syscall.d.
4344
bb4e6db2
RM
43452012-03-14 Roland McGrath <roland@hack.frob.com>
4346
4347 [BZ #13846]
4348 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4349
aa4a2ae1
JM
43502012-03-14 Joseph Myers <joseph@codesourcery.com>
4351
e456826d
JM
4352 [BZ #13841]
4353 * math/s_csqrt.c: Include <float.h>.
4354 (__csqrt): Scale large or subnormal inputs.
4355 * math/s_csqrtf.c: Likewise.
4356 * math/s_csqrtl.c: Likewise.
4357 * math/libm-test.inc (csqrt_test): Add more tests.
4358 * sysdeps/i386/fpu/libm-test-ulps: Update.
4359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4360
aa4a2ae1
JM
4361 [BZ #13840]
4362 * math/libm-test.inc (hypot_test): Add more tests.
4363
7c10fd35
DM
43642012-03-13 David S. Miller <davem@davemloft.net>
4365
4366 [BZ #13840]
4367 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4368 double-precision for the calculation instead of scaling.
4369
f453b98b
JM
43702012-03-13 Joseph Myers <joseph@codesourcery.com>
4371
4372 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4373 manipulate bits before adding and subtracting TWO52[sx].
4374 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4375 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4376 Likewise.
4377 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4378
09a3453f
DM
43792012-03-13 David S. Miller <davem@davemloft.net>
4380
8e59da90
DM
4381 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4382 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4383 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4384 rtld-global-offsets.h
4385 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4386
2a8ab7f2
DM
4387 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4388 large parameters.
4389
10f62770
DM
4390 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4391
5f0bdb18
DM
4392 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4393 'err' in the ifdef scope in which it is actually used.
4394
09a3453f
DM
4395 * nss/nss_db/db-init.c: Include string.h
4396
b4b2eb5e
DM
43972012-03-12 David S. Miller <davem@davemloft.net>
4398
98bb2f1c
DM
4399 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4400 masking out of the most significant byte of random value used.
4401 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4402 Fix coding style in previous change.
4403
b4b2eb5e
DM
4404 * sysdeps/unix/sysv/linux/kernel-features.h
4405 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4406 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4407 expression.
4408 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4409 later.
4410
6e226b09
DM
44112012-03-11 David S. Miller <davem@davemloft.net>
4412
a1bcbd40
DM
4413 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4414 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4415 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4416 for 'resultvar' otherwise things get truncated on 64-bit.
4417
cb9d6174
DM
4418 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4419 Fix masking out of the most significant byte of random value used.
4420
6e226b09
DM
4421 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4422
058c132d
AS
44232012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4424
4425 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4426
2d2cd515
DM
44272012-03-09 David S. Miller <davem@davemloft.net>
4428
4429 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4430 variables with appropriate CPP guards.
4431 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4432 frame pointer, not the stack pointer. Correct layout comments. Fix test
4433 on resulting framesize and the management of the outregs buffer for pltexit.
4434 Preserve floating point return values across _dl_call_pltexit call.
4435 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4436 framesize and the management of the outregs buffer for pltexit.
4437 Preserve floating point return values across _dl_call_pltexit
4438 call.
4439 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4440 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4441 (print_exit): Fix format string for return register value.
4442
9a07f9d0
JM
44432012-03-10 Joseph Myers <joseph@codesourcery.com>
4444
4445 * sunrpc/Makefile (others): Add rpcgen.
4446 ($(objpfx)rpcgen): Remove special build rule and dependency on
4447 libc.
4448 * sunrpc/rpcgen.c: New file.
4449
547b5e30
PE
44502012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4451
c524201a
PE
4452 [BZ #13673]
4453 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4454 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4455 * sysdeps/i386/crti.S: Likewise.
4456 * sysdeps/i386/crtn.S: Likewise.
4457 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4458 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4459 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4460 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4461 * sysdeps/sh/crti.S: Likewise.
4462 * sysdeps/sh/crtn.S: Likewise.
4463 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4464
7b6235f2
PE
4465 [BZ #13673]
4466 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4467 with URL.
4468 * locale/programs/locfile-kw.gperf: Likewise.
4469 * locale/programs/charmap-kw.h: Regenerated.
4470 * locale/programs/locfile-kw.h: Likewise.
4471
547b5e30
PE
4472 [BZ #13673]
4473 * intl/plural.y: Replace FSF snail mail address with URL.
4474 * intl/plural.c: Regenerated.
4475
5f0a5dae
RH
44762012-03-09 Richard Henderson <rth@twiddle.net>
4477
4478 * include/math_private.h: Remove file.
4479 * math/math_private.h: Move file ...
4480 * sysdeps/generic/math_private.h: ... here.
4481
b8c03620
RH
4482 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4483 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4484 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4485
4e234f5d 4486 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4487 and <math_private.h>.
4488 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4489 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4490 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4491 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4492 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4493 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4494 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4495 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4496 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4497 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4499 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4501 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4503 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4504 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4505 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4506 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4507 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4508 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4509 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4510 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4511 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4512 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4518 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4519 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4520 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4521 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4522 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4523 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4524 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4525 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4526 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4527 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4528 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4529 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4530 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4531 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4532 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4533 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4534 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4535 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4536 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4537 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4538 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4539 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4540 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4541 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4542 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4543 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4544 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4545 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4546 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4547 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4548 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4549 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4550 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4551 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4552 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4553 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4554 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4555 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4556 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4557 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4558 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4559 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4561 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4562 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4563 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4566 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4567 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4568 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4571 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4575 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4576 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4577 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4578 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4579 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4580 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4581 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4582 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4583 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4584 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4585 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4586 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4587 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4588 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4589 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4590 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4591 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4592 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4593 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4594 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4595 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4596 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4597 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4598 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4599 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4600 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4601 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4602 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4603 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4604 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4605 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4606 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4607 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4608 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4609 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4610 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4611 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4612 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4613 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4614 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4615 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4616 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4617 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4618 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4619 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4620 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4621 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4622 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4623 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4624 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4625 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4626 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4627 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4628 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4629 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4630 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4631 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4632 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4633 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4634 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4635 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4636 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4637 * sysdeps/ieee754/k_standard.c: Likewise.
4638 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4639 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4640 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4641 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4642 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4643 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4644 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4645 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4646 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4647 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4648 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4649 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4650 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4651 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4652 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4653 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4656 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4657 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4658 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4659 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4660 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4661 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4662 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4663 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4664 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4665 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4666 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4667 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4668 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4669 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4670 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4671 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4672 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4673 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4674 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4675 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4676 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4677 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4678 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4679 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4680 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4681 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4682 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4683 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4684 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4685 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4686 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4688 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4689 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4690 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4691 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4692 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4693 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4694 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4695 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4696 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4698 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4699 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4701 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4704 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4705 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4706 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4707 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4708 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4709 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4710 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4711 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4712 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4713 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4753 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4758 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4760 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4764 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4765 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4766 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4770 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4781 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4786 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4787 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4788 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4791 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4798 * sysdeps/ieee754/s_lib_version.c: Likewise.
4799 * sysdeps/ieee754/s_matherr.c: Likewise.
4800 * sysdeps/ieee754/s_signgam.c: Likewise.
4801 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4802 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4803 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4804 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4805 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4806 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4807 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4808 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4809 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4810 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4811 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4812 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4813 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4814 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4815 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4816 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4817 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4818 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4819 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4820 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4822
1991fa03
JM
48232012-03-09 Joseph Myers <joseph@codesourcery.com>
4824
4825 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4826 * sunrpc/rpc_main.c: Likewise.
4827 * sunrpc/rpc_svcout.c: Likewise.
4828
60d6f5a6
DM
48292012-03-09 David S. Miller <davem@davemloft.net>
4830
4831 * include/math_private.h: New file.
4832
4962050e
JM
48332012-03-09 Joseph Myers <joseph@codesourcery.com>
4834
02a6f887
JM
4835 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4836 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4837 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4838 from <bits/socket_type.h>.
4839 (enum __socket_type): Don't define here.
4840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4841 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4842 bits/socket_type.h.
4843
c6e013c1
JM
4844 [BZ #13566]
4845 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4846 checking __USE_GNU.
4847
4962050e
JM
4848 * Makerules ($(inst_includedir)/%.h): New rule.
4849 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4850 (install-others): Remove variable setting.
4851 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4852
38842f45
RH
48532012-03-08 Richard Henderson <rth@twiddle.net>
4854
67bb6da6
RH
4855 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4856 from macro to inline function; merge with the
4857 !__LIBC_INTERNAL_MATH_INLINES version.
4858 (__ieee754_sqrtf): Likewise.
4859
15194b4b
RH
4860 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4861 to inline function.
4862 (__rintf, __floor, __floorf): Likewise.
4863
64e21ede
RH
4864 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4865 macro to inline function.
4866 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4867
38842f45
RH
4868 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4869 not <math/math_private.h>.
4870
c64bf5fe
DM
48712012-03-08 David S. Miller <davem@davemloft.net>
4872
4873 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4874 copyright year.
4875 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4876
82d86f28
TS
48772012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4878
4879 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4880 normalization.
4881 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4882 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4883
aea5d727
UD
48842012-03-08 Ulrich Drepper <drepper@gmail.com>
4885
4886 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4887 be defined individually, they must be defined as a block. Define
4888 S for printing a string instead of hidint the different by using a
4889 macro for adding the 'l'.
4890 * stdio-common/tst-fphex-wide.c: Adjust.
4891
70bca0a3
MP
48922012-03-07 Marek Polacek <polacek@redhat.com>
4893
4894 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4895
65b81130
MP
48962012-03-08 Marek Polacek <polacek@redhat.com>
4897
4898 [BZ #13806]
4899 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4900 * stdio-common/tst-fphex.c: Define a few macros to make the
4901 test reusable. Use them.
4902 * stdio-common/tst-fphex-wide.c: New file.
4903
07037eeb
JM
49042012-03-08 Joseph Myers <joseph@codesourcery.com>
4905
a7a93d50
JM
4906 [BZ #6911]
4907 * manual/macros.texi (gnusystems): New macro.
4908 (nongnusystems): Likewise.
4909 (gnulinuxhurdsystems): Likewise.
4910 (gnuhurdsystems): Likewise..
4911 (gnulinuxsystems): Likewise.
4912 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4913 variants of the GNU system, not "GNU system".
4914 * manual/conf.texi: Likewise.
4915 * manual/errno.texi: Likewise. Update example of errno macro
4916 expansion.
4917 * manual/filesys.texi: Likewise.
4918 (getumask): Document as specific to GNU/Hurd.
4919 * manual/install.texi: Likewise. Reword some references to
4920 GNU/Linux.
4921 * manual/intro.texi: Likewise.
4922 * manual/io.texi: Likewise.
4923 (File Name Portability): Detail which constraints are inapplicable
4924 to all GNU systems and which are only inapplicable to GNU/Hurd.
4925 * manual/job.texi: Likewise.
4926 * manual/llio.texi: Likewise.
4927 (O_NOCTTY): Document as present on GNU/Linux.
4928 * manual/maint.texi: Likewise.
4929 * manual/memory.texi: Likewise.
4930 * manual/pattern.texi: Likewise.
4931 * manual/pipe.texi: Likewise.
4932 * manual/process.texi: Likewise.
4933 * manual/resource.texi: Likewise.
4934 (RUSAGE_CHILDREN): Remove statement about specifying a particular
4935 child on GNU/Hurd.
4936 * manual/setjmp.texi: Likewise.
4937 * manual/signal.texi: Likewise.
4938 * manual/startup.texi: Likewise.
4939 * manual/stdio.texi: Likewise.
4940 * manual/terminal.texi: Likewise.
4941 (ONLCR): Document as POSIX.
4942 (OXTABS): Document availability on GNU/Linux as XTABS.
4943 (ONOEOT): Document availability separately from other bits.
4944 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
4945 * manual/time.texi: Likewise.
4946 * manual/users.texi: Likewise.
4947 * INSTALL: Regenerated.
4948 * sysdeps/gnu/errlist.c: Regenerated.
4949
07037eeb
JM
4950 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
4951 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
4952 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
4953 puts.
4954 * configure: Regenerated.
4955
d1d3431a
JM
49562012-03-07 Joseph Myers <joseph@codesourcery.com>
4957
af6a1e37
JM
4958 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
4959 default includes instead of AC_HEADER_CHECK.
4960 * sysdeps/i386/configure: Regenerated.
4961
d1d3431a
JM
4962 [BZ #10716]
4963 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
4964 * math/s_cacoshf.c (__cacoshf): Likewise.
4965 * math/s_cacoshl.c (__cacoshl): Likewise.
4966 * math/s_casinh.c (__casinh): Set signs of result from argument.
4967 * math/s_casinhf.c (__casinhf): Likewise.
4968 * math/s_casinhl.c (__casinhl): Likewise.
4969 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
4970 (casinh_test): Add more tests.
4971 * sysdeps/i386/fpu/libm-test-ulps: Update.
4972 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4973
482ff4da
UD
49742012-03-07 Ulrich Drepper <drepper@gmail.com>
4975
872fda05
UD
4976 * po/zh_TW.po: Update from translation team.
4977
a4300c7a
UD
4978 * login/Makefile (distribute): Remove variable.
4979 * catgets/Makefile: Likewise.
4980 * mach/Makefile: Likewise.
4981 * malloc/Makefile: Likewise.
4982 * misc/Makefile: Likewise.
4983 * iconv/Makefile: Likewise.
4984 * nscd/Makefile: Likewise.
4985 * hurd/Makefile: Likewise.
4986 * manual/Makefile: Likewise.
4987 * locale/Makefile: Likewise.
4988 * intl/Makefile: Likewise.
4989 * conform/Makefile: Likewise.
4990 * nss/Makefile: Likewise.
4991 * time/Makefile: Likewise.
4992 * soft-fp/Makefile: Likewise.
4993 * dirent/Makefile: Likewise.
4994 * gmon/Makefile: Likewise.
4995 * po/Makefile: Likewise.
4996 * rt/Makefile: Likewise.
4997 * socket/Makefile: Likewise.
4998 * math/Makefile: Likewise.
4999 * signal/Makefile: Likewise.
5000 * debug/Makefile: Likewise.
5001 * elf/Makefile: Likewise.
5002 * timezone/Makefile: Likewise.
5003 * stdlib/Makefile: Likewise.
5004 * iconvdata/Makefile: Likewise.
5005 * sunrpc/Makefile: Likewise.
5006 * io/Makefile: Likewise.
5007 * argp/Makefile: Likewise.
5008 * inet/Makefile: Likewise.
5009 * hesiod/Makefile: Likewise.
5010 * grp/Makefile: Likewise.
5011 * csu/Makefile: Likewise.
5012 * wctype/Makefile: Likewise.
5013 * crypt/Makefile: Likewise.
5014 * libio/Makefile: Likewise.
5015 * string/Makefile: Likewise.
5016 * nis/Makefile: Likewise.
5017 * resolv/Makefile: Likewise.
5018 * stdio-common/Makefile: Likewise.
5019 * wcsmbs/Makefile: Likewise.
5020 * dlfcn/Makefile: Likewise.
5021 * posix/Makefile: Likewise.
5022
3b7c4e74 5023 [BZ #6959]
482ff4da
UD
5024 * timezone/Makefile: Don't install timezone files, just the programs
5025 and scripts.
5026
f72ed77d
UD
50272012-03-06 Ulrich Drepper <drepper@gmail.com>
5028
a000466f
UD
5029 * nss/databases.def: Add missing gshadow entry.
5030
f72ed77d
UD
5031 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5032
a53b7a4e
MP
50332012-03-06 Marek Polacek <polacek@redhat.com>
5034
5035 [BZ #13726]
5036 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5037 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5038 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5039 * stdio-common/tst-long-dbl-fphex.c: New file.
5040
e9258400
DM
50412012-03-06 David S. Miller <davem@davemloft.net>
5042
5043 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5044 (set_obp_int): New function.
5045 (get_obp_int): New function.
5046 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5047 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5048 Avoid unused variable warnings on 'val' and use builtin_expect.
5049 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5050 __builtin_expect.
e9258400
DM
5051 (INLINE_CLONE_SYSCALL): Likewise.
5052
3bd2c723
DM
50532012-03-05 David S. Miller <davem@davemloft.net>
5054
5055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5056
bbb78d03
AS
50572012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5058
884c5db4
AS
5059 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5060
bbb78d03
AS
5061 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5062 only for |x| >= 40.
5063 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5064
1c9f702a 50652012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5066
5067 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5068 Replace gettimeofday with __vdso_gettimeofday.
5069
7be16f82
RM
5070 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5071 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5072 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5073
5074 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5075 time with __vdso_time.
5076
ed58a00f
JM
50772012-03-05 Joseph Myers <joseph@codesourcery.com>
5078
5079 * manual/lang.texi (size_t): Note types to which size_t may be
5080 equivalent with the GNU C Library, but do not describe when
5081 differences between them are significant.
5082
30ee4ced
AJ
50832012-03-05 Andreas Jaeger <aj@suse.de>
5084
5085 * sysdeps/i386/fpu/libm-test-ulps: Update.
5086
b7cd39e8
JM
50872012-03-05 Joseph Myers <joseph@codesourcery.com>
5088
5089 [BZ #3976]
5090 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5091 (__ieee754_pow): Save and restore rounding mode and use
5092 round-to-nearest for main computations.
5093 * math/libm-test.inc (pow_test_tonearest): New function.
5094 (pow_test_towardzero): Likewise.
5095 (pow_test_downward): Likewise.
5096 (pow_test_upward): Likewise.
5097 (main): Call the new functions.
5098 * sysdeps/i386/fpu/libm-test-ulps: Update.
5099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5100
5101 [BZ #3976]
5102 * math/libm-test.inc (cosh_test_tonearest): New function.
5103 (cosh_test_towardzero): Likewise.
5104 (cosh_test_downward): Likewise.
5105 (cosh_test_upward): Likewise.
5106 (sinh_test_tonearest): Likewise.
5107 (sinh_test_towardzero): Likewise.
5108 (sinh_test_downward): Likewise.
5109 (sinh_test_upward): Likewise.
5110 (main): Call the new functions.
5111 * sysdeps/i386/fpu/libm-test-ulps: Update.
5112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5113
6c6a98c9
TV
51142012-03-05 Tom de Vries <tom@codesourcery.com>
5115
5116 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5117 default stack guard is set in last bytes.
5118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5119
21bb2d2e 51202012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5121
21bb2d2e 5122 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5123
21bb2d2e
AJ
5124 [BZ #13656]
5125 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5126 possibly allocate from heap instead of stack.
5127 * stdio-common/bug-vfprintf-nargs.c: New file.
5128 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5129
c6922934
AS
51302012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5131
5132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5133
bc957d53
MP
51342012-03-03 Marek Polacek <polacek@redhat.com>
5135
5136 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5137 * math/math_private.h: Likewise.
5138 * stdlib/tst-strtod.c: Likewise.
5139 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5140 * sysdeps/x86_64/bits/atomic.h: Likewise.
5141
6358490d
DM
51422012-03-02 David S. Miller <davem@davemloft.net>
5143
5144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5148 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5149 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5150 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5151 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5152
01ae168d
RM
51532012-03-02 Roland McGrath <roland@hack.frob.com>
5154
d9a17c07
RM
5155 [BZ #13792]
5156 * manual/examples/README: New file, says the example source files
5157 can be used under GPL>=2.
5158 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5159 line containing just "*/".
5160 * manual/examples/add.c: Add copyright header (GPL>=2).
5161 * manual/examples/argp-ex1.c: Likewise.
5162 * manual/examples/argp-ex2.c: Likewise.
5163 * manual/examples/argp-ex3.c: Likewise.
5164 * manual/examples/argp-ex4.c: Likewise.
5165 * manual/examples/atexit.c: Likewise.
5166 * manual/examples/db.c: Likewise.
5167 * manual/examples/dir.c: Likewise.
5168 * manual/examples/dir2.c: Likewise.
5169 * manual/examples/execinfo.c: Likewise.
5170 * manual/examples/filecli.c: Likewise.
5171 * manual/examples/filesrv.c: Likewise.
5172 * manual/examples/fmtmsgexpl.c: Likewise.
5173 * manual/examples/genpass.c: Likewise.
5174 * manual/examples/inetcli.c: Likewise.
5175 * manual/examples/inetsrv.c: Likewise.
5176 * manual/examples/isockad.c: Likewise.
5177 * manual/examples/longopt.c: Likewise.
5178 * manual/examples/memopen.c: Likewise.
5179 * manual/examples/memstrm.c: Likewise.
5180 * manual/examples/mkfsock.c: Likewise.
5181 * manual/examples/mkisock.c: Likewise.
5182 * manual/examples/mygetpass.c: Likewise.
5183 * manual/examples/pipe.c: Likewise.
5184 * manual/examples/popen.c: Likewise.
5185 * manual/examples/rprintf.c: Likewise.
5186 * manual/examples/search.c: Likewise.
5187 * manual/examples/select.c: Likewise.
5188 * manual/examples/setjmp.c: Likewise.
5189 * manual/examples/sigh1.c: Likewise.
5190 * manual/examples/sigusr.c: Likewise.
5191 * manual/examples/stpcpy.c: Likewise.
5192 * manual/examples/strdupa.c: Likewise.
5193 * manual/examples/strftim.c: Likewise.
5194 * manual/examples/strncat.c: Likewise.
5195 * manual/examples/subopt.c: Likewise.
5196 * manual/examples/swapcontext.c: Likewise.
5197 * manual/examples/termios.c: Likewise.
5198 * manual/examples/testopt.c: Likewise.
5199 * manual/examples/testpass.c: Likewise.
5200 * manual/examples/timeval_subtract.c: Likewise.
5201
01ae168d
RM
5202 [BZ #13792]
5203 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5204 function to ...
5205 * manual/timeval_subtract.c.texi: ... here, new file.
5206
49efa33d
DM
52072012-03-02 David S. Miller <davem@davemloft.net>
5208
5209 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5210
28afd92d
JM
52112012-03-02 Joseph Myers <joseph@codesourcery.com>
5212
804360ed
JM
5213 [BZ #3976]
5214 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5215 (__sin): Save and restore rounding mode and use round-to-nearest
5216 for all computations.
5217 (__cos): Save and restore rounding mode and use round-to-nearest
5218 for all computations.
5219 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5220 <fenv.h>.
5221 (tan): Save and restore rounding mode and use round-to-nearest for
5222 all computations.
5223 * math/libm-test.inc (cos_test_tonearest): New function.
5224 (cos_test_towardzero): Likewise.
5225 (cos_test_downward): Likewise.
5226 (cos_test_upward): Likewise.
5227 (sin_test_tonearest): Likewise.
5228 (sin_test_towardzero): Likewise.
5229 (sin_test_downward): Likewise.
5230 (sin_test_upward): Likewise.
5231 (tan_test_tonearest): Likewise.
5232 (tan_test_towardzero): Likewise.
5233 (tan_test_downward): Likewise.
5234 (tan_test_upward): Likewise.
5235 (main): Call the new functions.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5238
a6d06d7b
JM
5239 [BZ #10135]
5240 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5241 small n, then large n, before computing and testing k+n.
5242 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5243 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5244 Likewise.
5245 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5246 Likewise.
5247 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5248 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5249 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5250 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5251 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5252 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5253 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5254 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5255 * math/libm-test.inc (scalbn_test): Add more tests.
5256 (scalbln_test): Likewise.
5257
07e12bb3
JM
5258 * manual/filesys.texi (mode_t): Describe constraints on size and
5259 signedness, not exact equivalence to a particular type.
5260 (ino_t): Likewise.
5261 (ino64_t): Likewise.
5262 (dev_t): Likewise.
5263 (nlink_t): Likewise.
5264 (blkcnt_t): Likewise.
5265 (blkcnt64_t): Likewise.
5266 * manual/llio.texi (off_t): Likewise.
5267
28afd92d
JM
5268 [BZ #3976]
5269 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5270 (__ieee754_exp): Save and restore rounding mode and use
5271 round-to-nearest for all computations.
5272 * math/libm-test.inc (exp_test_tonearest): New function.
5273 (exp_test_towardzero): Likewise.
5274 (exp_test_downward): Likewise.
5275 (exp_test_upward): Likewise.
5276 (main): Call the new functions.
5277 * sysdeps/i386/fpu/libm-test-ulps: Update.
5278 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5279
b1eeb65d
CD
52802012-03-01 Chris Demetriou <cgd@google.com>
5281
5282 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5283 have predictable order.
5284
53362a4b
DM
52852012-03-01 David S. Miller <davem@davemloft.net>
5286
3c969083
DM
5287 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5288
759707de
DM
5289 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5290 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5291 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5292 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5293
dfdb8ff2
DM
5294 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5295 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5296 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5297 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5298 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5299 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5300 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5301 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5302 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5303
ead89f96
DM
5304 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5305
7f66bd07
DM
5306 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5307 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5308 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5309
53362a4b
DM
5310 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5311 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5312 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5313 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5314 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5315 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5317 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5318 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5319 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5320 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5321 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5323 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5324 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5326 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5327 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5328 * sysdeps/sparc/elf/configure: Regenerated.
5329
7b1902cb
JM
53302012-03-01 Joseph Myers <joseph@codesourcery.com>
5331
bec039bc
JM
5332 * configure.in (AS, LD): Require binutils 2.20 or later.
5333 * configure: Regenerated.
5334 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5335 as required minimum version.
5336 * INSTALL: Regenerated.
5337
7b1902cb
JM
5338 [BZ #2541]
5339 [BZ #4108]
5340 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5341 before squaring exponent.
5342 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5343 bottom long double and 27 bits of top long double before squaring
5344 exponent.
5345 * math/libm-test.inc (erfc_test): Add more tests.
5346 * sysdeps/i386/fpu/libm-test-ulps: Update.
5347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5349
f775c276
KT
53502012-03-01 Kai Tietz <ktietz@redhat.com>
5351
5352 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5353 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5354 containing bit-fields.
5355 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5356 * soft-fp/single.h (_FP_UNION_S): Likewise.
5357 * soft-fp/double.h (_FP_UNION_D): Likewise.
5358
5b8a4d4a
JM
53592012-02-29 Joseph Myers <joseph@codesourcery.com>
5360
0bab47b6
JM
5361 [BZ #13786]
5362 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5363 not include ../strcmp.S.
5364 [USE_AS_STRNCASECMP_L]: Likewise.
5365 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5366 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5367 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5368 (__strncasecmp_l_ia32): Define as alias to
5369 __strncasecmp_l_nonascii.
5370
0fcad3e2
JM
5371 [BZ #5794]
5372 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5373 * sysdeps/i386/fpu/libm-test-ulps: Update.
5374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5375
5b8a4d4a
JM
5376 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5377 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5378
8fdceb2e
JL
53792012-02-29 Jeff Law <law@redhat.com>
5380
5381 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5382 out of bounds read.
5383
1f393a11
MP
53842012-02-29 Marek Polacek <polacek@redhat.com>
5385
5386 [BZ #13706]
5387 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5388 * elf/Makefile: Add rules to run tst-unused-dep.out.
5389
8847f037
DM
53902012-02-28 David S. Miller <davem@davemloft.net>
5391
5392 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5393 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5394 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5396 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5397 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5398
169d7f11
JM
53992012-02-29 Joseph Myers <joseph@codesourcery.com>
5400
5401 * math/libm-test.inc (llround_test): Move one test from
5402 lround_test. Use TEST_f_L in moved test.
5403 (lround_test): Move misplaced test to llround_test. Add testcase
5404 from bug 2561.
5405
39adf059
UD
54062012-02-28 Ulrich Drepper <drepper@gmail.com>
5407
5408 * sysdeps/x86_64/fpu/e_expf.S: New file.
5409 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5410
71b5d1c5
SB
54112012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5412
5413 [BZ #13637]
5414 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5415 of remain_len that may cause incomplete multi-byte character and
5416 false match.
5417 * posix/bug-regex33.c: New file.
5418 * posix/Makefile (tests): Add bug-regex33.
5419
1f77f049
JM
54202012-02-28 Joseph Myers <joseph@codesourcery.com>
5421
5422 * manual/macros.texi: New file.
5423 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5424 * manual/libc.texinfo: Include macros.texi.
5425 * manual/creatute.texi: Likewise.
5426 * manual/install.texi: Likewise.
5427 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5428 @glibcadj{} in references to the GNU C Library.
5429 * manual/charset.texi: Likewise.
5430 * manual/conf.texi: Likewise.
5431 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5432 when not using those macros.
5433 * manual/creature.texi: Likewise.
5434 * manual/crypt.texi: Likewise.
5435 * manual/errno.texi: Likewise.
5436 * manual/filesys.texi: Likewise.
5437 * manual/header.texi: Likewise.
5438 * manual/install.texi: Likewise.
5439 * manual/intro.texi: Likewise.
5440 * manual/io.texi: Likewise.
5441 * manual/job.texi: Likewise.
5442 * manual/lang.texi: Likewise.
5443 * manual/libc.texiinfo: Likewise.
5444 * manual/llio.texi: Likewise.
5445 * manual/locale.texi: Likewise.
5446 * manual/maint.texi: Likewise.
5447 * manual/math.texi: Likewise.
5448 * manual/memory.texi: Likewise.
5449 * manual/message.texi: Likewise.
5450 * manual/nss.texi: Likewise.
5451 * manual/pattern.texi: Likewise.
5452 * manual/process.texi: Likewise.
5453 * manual/resource.texi: Likewise.
5454 * manual/search.texi: Likewise.
5455 * manual/setjmp.texi: Likewise.
5456 * manual/signal.texi: Likewise.
5457 * manual/socket.texi: Likewise.
5458 * manual/startup.texi: Likewise.
5459 * manual/stdio.texi: Likewise.
5460 * manual/string.texi: Likewise.
5461 * manual/sysinfo.texi: Likewise.
5462 * manual/syslog.texi: Likewise.
5463 * manual/terminal.texi: Likewise.
5464 * manual/time.texi: Likewise.
5465 * manual/users.texi: Likewise.
5466 * INSTALL: Regenerated.
5467 * NOTES: Regenerated.
d40c5d54 5468 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5469
450bf206
AS
54702012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5471
5472 * include/dirent.h: Include <dirstream.h> before
5473 <dirent/dirent.h>.
5474
741a235b
DM
54752012-02-28 David S. Miller <davem@davemloft.net>
5476
5477 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5478 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5479 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5480 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5481
d6b5aa58
DM
54822012-02-27 David S. Miller <davem@davemloft.net>
5483
1aff59a3
DM
5484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5486 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5487 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5488
d6b5aa58
DM
5489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5490 frame pointer instead of stack pointer relative arg slot.
5491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5492 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5493 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5494
433f48bf
CD
54952012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5496
5497 [BZ #3992]
5498 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5499
d674b76d
DM
55002012-02-27 David S. Miller <davem@davemloft.net>
5501
5502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5506 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5507 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5508 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5509 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5510
0e7727f7
JM
55112012-02-27 Joseph Myers <joseph@codesourcery.com>
5512
5513 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5514 later. Allow versions 5-9.
43be4ca2 5515 * configure: Regenerated.
0e7727f7
JM
5516 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5517 required minimum version and 4.6 as recommended version. Do not
5518 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5519 * INSTALL: Regenerated.
0e7727f7 5520
a78bc654
DM
55212012-02-27 David S. Miller <davem@davemloft.net>
5522
428d5830
DM
5523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5527 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5528 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5529 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5530 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5531
a78bc654
DM
5532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5533 manipulate bits before adding and subtracting TWO112[sx].
5534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5535
4579f81c
RM
55362012-02-27 Roland McGrath <roland@hack.frob.com>
5537
36c8acb4
RM
5538 [BZ #13775]
5539 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5540 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5541 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5542 being in POSIX, because they are in 1003.1-2008.
5543
84ad622b
RM
5544 * rt/tst-aio.c: Include <fcntl.h>.
5545 * rt/tst-aio7.c: Likewise.
5546 * rt/tst-aio64.c: Likewise.
5547
4579f81c
RM
5548 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5549
abd923db
JM
55502012-02-27 Joseph Myers <joseph@codesourcery.com>
5551
5552 * manual/install.texi (--with-headers): Describe headers as
5553 interface headers, not private headers.
5554 (Specific advice for GNU/Linux systems): Describe use of headers
5555 from "make headers_install", not private headers from older
5556 kernels.
43be4ca2 5557 * INSTALL: Regenerated.
abd923db
JM
5558 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5559 Change to 2.6.19.
5560 * sysdeps/unix/sysv/linux/configure: Regenerated.
5561
6664049b
JM
5562 * manual/llio.texi (fclean): Remove documentation.
5563
bb8b6697
JM
5564 * manual/Makefile (libc-texi-generated): New variable. Include
5565 version.texi.
5566 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5567 $(libc-texi-generated), not duplicated list of files.
5568 (version.texi, stamp-version): New rules.
5569 (realclean): Remove $(libc-texi-generated), not individual files
5570 from that list. Do not remove dir-add.texinfo.
5571 * manual/libc.texinfo: Comment out uses of edition numbers and
5572 references to printed manual. Remove last-updated dates.
5573 (EDITION): Comment out.
5574 (ISBN): Likewise.
5575 (VERSION, UPDATED): Remove.
5576 (version.texi): Include.
5577
12e5c3b9
AS
55782012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5579
5580 * sysdeps/posix/spawni.c: Include <signal.h>.
5581 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5582 * sysdeps/pthread/aio_fsync.c: Likewise.
5583
4efeffc1 55842012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5585
ba63ba08
UD
5586 * conform/Makefile (tests): Run only when not cross-compiling and
5587 when fast-check is not defined.
5588
d94a4670
UD
5589 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5590 * conform/data/limits.h-data: Fixes for POSIX2008.
5591 * conform/run-conformtest.sh: Run all tests.
5592 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5593 headers.
5594 * include/bits/dlfcn.h: Likewise.
5595 * include/langinfo.h: Likewise.
5596 * include/monetary.h: Likewise.
5597 * include/sys/poll.h: Likewise.
5598
5599 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5600 for __USE_GNU.
5601 * posix/spawn.h: Define __need_sigset_t.
5602 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5603 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5604 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5605 to get sigevent_t only.
5606 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5607 only for __USE_GNU.
5608 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5609 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5610 process_vm_writev only for __USE_GNU.
5611 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5612
5613 * conform/Makefile: For now ignore errors from run-conformtest.
5614 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5615 POSIX to avoid namespace pollution. Don't prepend headers.
5616 * conform/data/aio.h-data: Fixes for POSIX testing.
5617 * conform/data/fcntl.h-data: Likewise.
5618 * conform/data/glob.h-data: Likewise.
5619 * conform/data/grp.h-data: Likewise.
5620 * conform/data/pthread.h-data: Likewise.
5621 * conform/data/pwd.h-data: Likewise.
5622 * conform/data/signal.h-data: Likewise.
5623 * conform/data/spawn.h-data: Likewise.
5624 * conform/data/stdio.h-data: Likewise.
5625 * conform/data/stdlib.h-data: Likewise.
5626 * conform/data/stropts.h-data: Likewise.
5627 * conform/data/sys/mman.h-data: Likewise.
5628 * conform/data/sys/stat.h-data: Likewise.
5629 * conform/data/sys/types.h-data: Likewise.
5630 * conform/data/sys/wait.h-data: Likewise.
5631 * conform/data/time.h-data: Likewise.
5632 * conform/data/unistd.h-data: Likewise.
5633 * conform/data/utime.h-data: Likewise.
5634
5635 * io/sys/stat.h: fchmod was always in POSIX.
5636 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5637 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5638 * rt/aio.h: Define __need_timespec before including <time.h>.
5639 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5640 struct. Add forward declaration of pthread_attr_t and use it in
5641 sigevent.
5642 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5643 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5644 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5645 always remove CLK_TCK definition.
5646
c20105c3
AS
56472012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5648
5649 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5650
7a270350
UD
56512012-02-25 Ulrich Drepper <drepper@gmail.com>
5652
31341567
UD
5653 * conform/run-conformtest.sh: New file.
5654 * conform/Makefile: Run run-conformtest for tests.
5655 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5656 support.
5657
5658 * conform/data/uchar.h-data: New file.
5659 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5660 * conform/data/arpa/inet.h-data: Likewise.
5661 * conform/data/assert.h-data: Likewise.
5662 * conform/data/complex.h-data: Likewise.
5663 * conform/data/cpio.h-data: Likewise.
5664 * conform/data/ctype.h-data: Likewise.
5665 * conform/data/dirent.h-data: Likewise.
5666 * conform/data/dlfcn.h-data: Likewise.
5667 * conform/data/errno.h-data: Likewise.
5668 * conform/data/fcntl.h-data: Likewise.
5669 * conform/data/float.h-data: Likewise.
5670 * conform/data/fmtmsg.h-data: Likewise.
5671 * conform/data/fnmatch.h-data: Likewise.
5672 * conform/data/ftw.h-data: Likewise.
5673 * conform/data/glob.h-data: Likewise.
5674 * conform/data/grp.h-data: Likewise.
5675 * conform/data/iconv.h-data: Likewise.
5676 * conform/data/inttypes.h-data: Likewise.
5677 * conform/data/langinfo.h-data: Likewise.
5678 * conform/data/libgen.h-data: Likewise.
5679 * conform/data/limits.h-data: Likewise.
5680 * conform/data/locale.h-data: Likewise.
5681 * conform/data/math.h-data: Likewise.
5682 * conform/data/monetary.h-data: Likewise.
5683 * conform/data/mqueue.h-data: Likewise.
5684 * conform/data/ndbm.h-data: Likewise.
5685 * conform/data/net/if.h-data: Likewise.
5686 * conform/data/netdb.h-data: Likewise.
5687 * conform/data/netinet/in.h-data: Likewise.
5688 * conform/data/nl_types.h-data: Likewise.
5689 * conform/data/poll.h-data: Likewise.
5690 * conform/data/pthread.h-data: Likewise.
5691 * conform/data/pwd.h-data: Likewise.
5692 * conform/data/regex.h-data: Likewise.
5693 * conform/data/sched.h-data: Likewise.
5694 * conform/data/search.h-data: Likewise.
5695 * conform/data/semaphore.h-data: Likewise.
5696 * conform/data/setjmp.h-data: Likewise.
5697 * conform/data/signal.h-data: Likewise.
5698 * conform/data/spawn.h-data: Likewise.
5699 * conform/data/stdarg.h-data: Likewise.
5700 * conform/data/stdio.h-data: Likewise.
5701 * conform/data/stdlib.h-data: Likewise.
5702 * conform/data/string.h-data: Likewise.
5703 * conform/data/strings.h-data: Likewise.
5704 * conform/data/stropts.h-data: Likewise.
5705 * conform/data/sys/ipc.h-data: Likewise.
5706 * conform/data/sys/mman.h-data: Likewise.
5707 * conform/data/sys/msg.h-data: Likewise.
5708 * conform/data/sys/resource.h-data: Likewise.
5709 * conform/data/sys/select.h-data: Likewise.
5710 * conform/data/sys/sem.h-data: Likewise.
5711 * conform/data/sys/shm.h-data: Likewise.
5712 * conform/data/sys/socket.h-data: Likewise.
5713 * conform/data/sys/stat.h-data: Likewise.
5714 * conform/data/sys/statvfs.h-data: Likewise.
5715 * conform/data/sys/time.h-data: Likewise.
5716 * conform/data/sys/timeb.h-data: Likewise.
5717 * conform/data/sys/times.h-data: Likewise.
5718 * conform/data/sys/types.h-data: Likewise.
5719 * conform/data/sys/uio.h-data: Likewise.
5720 * conform/data/sys/un.h-data: Likewise.
5721 * conform/data/sys/utsname.h-data: Likewise.
5722 * conform/data/sys/wait.h-data: Likewise.
5723 * conform/data/syslog.h-data: Likewise.
5724 * conform/data/tar.h-data: Likewise.
5725 * conform/data/termios.h-data: Likewise.
5726 * conform/data/utime.h-data: Likewise.
5727 * conform/data/utmpx.h-data: Likewise.
5728 * conform/data/varargs.h-data: Likewise.
5729 * conform/data/wchar.h-data: Likewise.
5730 * conform/data/wctype.h-data: Likewise.
5731 * conform/data/wordexp.h-data: Likewise.
5732
5733 * include/stropts.h: New file.
5734 * include/uchar.h: New file.
5735 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5736 * include/assert.h: Likewise.
5737 * include/ctype.h: Likewise.
5738 * include/dirent.h: Likewise.
5739 * include/dlfcn.h: Likewise.
5740 * include/fcntl.h: Likewise.
5741 * include/fnmatch.h: Likewise.
5742 * include/glob.h: Likewise.
5743 * include/grp.h: Likewise.
5744 * include/libio.h: Likewise.
5745 * include/locale.h: Likewise.
5746 * include/math.h: Likewise.
5747 * include/net/if.h: Likewise.
5748 * include/netdb.h: Likewise.
5749 * include/netinet/in.h: Likewise.
5750 * include/pthread.h: Likewise.
5751 * include/pwd.h: Likewise.
5752 * include/regex.h: Likewise.
5753 * include/sched.h: Likewise.
5754 * include/search.h: Likewise.
5755 * include/setjmp.h: Likewise.
5756 * include/signal.h: Likewise.
5757 * include/stdio.h: Likewise.
5758 * include/stdlib.h: Likewise.
5759 * include/string.h: Likewise.
5760 * include/sys/cdefs.h: Likewise.
5761 * include/sys/mman.h: Likewise.
5762 * include/sys/msg.h: Likewise.
5763 * include/sys/resource.h: Likewise.
5764 * include/sys/select.h: Likewise.
5765 * include/sys/socket.h: Likewise.
5766 * include/sys/stat.h: Likewise.
5767 * include/sys/statvfs.h: Likewise.
5768 * include/sys/time.h: Likewise.
5769 * include/sys/times.h: Likewise.
5770 * include/sys/uio.h: Likewise.
5771 * include/sys/utsname.h: Likewise.
5772 * include/sys/wait.h: Likewise.
5773 * include/termios.h: Likewise.
5774 * include/time.h: Likewise.
5775 * include/ulimit.h: Likewise.
5776 * include/unistd.h: Likewise.
5777 * include/utime.h: Likewise.
5778 * include/wchar.h: Likewise.
5779 * include/wctype.h: Likewise.
5780 * include/wordexp.h: Likewise.
5781
5782 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5783
7a270350
UD
5784 * time/time.h: TIME_UTC must be a macro.
5785 Make timespec_get available for ISO C11 only as well.
5786
7724defc
UD
57872012-02-24 Ulrich Drepper <drepper@gmail.com>
5788
5789 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5790 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5791
6b1d1d46
JM
57922012-02-24 Joseph Myers <joseph@codesourcery.com>
5793
5794 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5795
0f8bbd69
JM
57962012-02-24 Joseph Myers <joseph@codesourcery.com>
5797
5798 * manual/texinfo.tex: Update to version 2012-01-19.16.
5799
66ab80bc
JM
58002012-02-24 Joseph Myers <joseph@codesourcery.com>
5801
5802 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5803
74981cc5
RM
58042012-02-24 Roland McGrath <roland@hack.frob.com>
5805
ee968201
RM
5806 [BZ #13738]
5807 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5808 * manual/fdl-1.3.texi: New file.
5809 * manual/fdl-1.1.texi: File removed.
5810
74981cc5
RM
5811 [BZ #13738]
5812 * manual/libc.texinfo (FDL_VERSION): New @set.
5813 Use it for mention of FDL in cover text.
5814 (Documentation License): Use it in @include file name.
5815
7bb764bc
JM
58162012-02-22 Joseph Myers <joseph@codesourcery.com>
5817 Roland McGrath <roland@hack.frob.com>
5818
5819 [BZ #5461]
5820 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5821 not LONG_LONG_MAX and LONG_LONG_MIN.
5822 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5823 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5824 name.
5825 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5826
6cbeae47
JM
58272012-02-22 Joseph Myers <joseph@codesourcery.com>
5828
5829 [BZ #2547]
5830 [BZ #11365]
5831 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5832 manipulate bits before adding and subtracting TWO23[sx].
5833 * math/libm-test.inc (nearbyint_test): Add more tests.
5834
fe45ce09
JM
58352012-02-22 Joseph Myers <joseph@codesourcery.com>
5836
5837 [BZ #2548]
5838 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5839 bits before adding and subtracting TWO23[sx].
5840 * math/libm-test.inc (rint_test): Add more tests.
5841 (rint_test_tonearest): Likewise.
5842 (rint_test_towardzero): Likewise.
5843 (rint_test_downward): Likewise.
5844 (rint_test_upward: Likewise.
5845
ff3b3d82
JM
58462012-02-22 Joseph Myers <joseph@codesourcery.com>
5847
5848 [BZ #10110]
5849 * include/stdc-predef.h: New file. Extracted from features.h.
5850 * include/features.h: Include stdc-predef.h.
5851 * Makefile (headers): Add stdc-predef.h.
5852 * CONFORMANCE (Compiler limitations): Update.
5853
ef0aab35
JM
58542012-02-22 Joseph Myers <joseph@codesourcery.com>
5855
5856 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5857
58639409
DM
58582012-02-21 David S. Miller <davem@davemloft.net>
5859
5860 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5861 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5862
c0e70b25
DM
58632012-02-20 David S. Miller <davem@davemloft.net>
5864
5865 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5866 using a normal save/restore sequence, rather than allocating a
5867 dummy stack frame just to store a frame pointer and restore.
5868 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5869
fb06851d
JM
58702012-02-21 Joseph Myers <joseph@codesourcery.com>
5871
5872 * manual/install.texi: Fix stray word in line-wrapped comment.
5873
7a8b71c3
DM
58742012-02-20 David S. Miller <davem@davemloft.net>
5875
d510c123
DM
5876 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5877 both binutils and gcc support GOTDATA.
5878
0722d7c2
DM
5879 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5880 "rd %pc" in the PIC register setup sequences.
5881
3d2b3019
DM
5882 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5883 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5884 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5885 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5886 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5887 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5888 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5889 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5890 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5891 (SYSCALL_ERROR_HANDLER): Likewise.
5892 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5893 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5894 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5895 (SYSCALL_ERROR_HANDLER): Likewise.
5896
c80098a9
DM
5897 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5898 (HAVE_GCC_GOTDATA): New.
5899 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5900 relocation support in both binutils and gcc.
5901 * sysdeps/sparc/elf/configure: Regenerate.
5902
3a2545a0
DM
5903 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5904 * sysdeps/sparc/sparc32/elf/configure: Delete.
5905 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5906 * sysdeps/sparc/sparc64/elf/configure: Delete.
5907 * sysdeps/sparc/elf/configure.in: New file.
5908 * sysdeps/sparc/elf/configure: Generate.
5909
7a8b71c3
DM
5910 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5911 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5912 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5913 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5914 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5915
f1e86fca
JM
59162012-02-21 Joseph Myers <joseph@codesourcery.com>
5917
5918 * manual/install.texi: Do not mention specific glibc version
5919 numbers.
5920 * manual/libc.texinfo (VERSION, UPDATED): Update.
5921 (@copying): Use @copyright{} and range of years.
5922
0e7dfaef
JM
59232012-02-21 Joseph Myers <joseph@codesourcery.com>
5924
5925 [BZ #13695]
5926 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
5927 [crti.S not in sysdirs] (generated): Do not append.
5928 [crti.S not in sysdirs] (omit-deps): Likewise.
5929 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
5930 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
5931 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
5932 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
5933 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
5934 Likewise.
5935 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
5936 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
5937 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
5938 * csu/defs.awk: Remove file.
5939 * sysdeps/generic/initfini.c: Likewise.
5940 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
5941 variable.
5942 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
5943 Likewise.
5944
599af3ca
JM
59452012-02-20 Joseph Myers <joseph@codesourcery.com>
5946
5947 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
5948 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
5949 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
5950 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
5951 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
5952 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
5953 <bits/epoll.h>.
5954 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
5955 (__EPOLL_PACKED): Define to empty if not defined by
5956 <bits/epoll.h>.
5957 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
5958 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5959 bits/epoll.h.
5960
0e499750
JM
59612012-02-20 Joseph Myers <joseph@codesourcery.com>
5962
5963 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
5964 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
5966 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
5967 <bits/timerfd.h>.
5968 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
5969 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5970 bits/timerfd.h.
5971
5ad91f6e
JM
59722012-02-20 Joseph Myers <joseph@codesourcery.com>
5973
5974 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
5975 in C locale.
5976 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
5978 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
5979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5980
06b99b02
AJ
59812012-02-20 Aurelien Jarno <aurelien@aurel32.net>
5982
5983 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
5984 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5985
7638c0fd
AS
59862012-02-19 Andreas Schwab <schwab@linux-m68k.org>
5987
5988 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
5989 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
5990 defined.
5991 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
5992 Likewise.
5993 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
5994 entry for 2.16.
5995
92221550
AJ
59962012-02-19 Aurelien Jarno <aurelien@aurel32.net>
5997
5998 * math/w_acos.c: Use non-signaling floating-point comparisons.
5999 * math/w_acosf.c: Likewise.
6000 * math/w_acosh.c: Likewise.
6001 * math/w_acoshf.c: Likewise.
6002 * math/w_acoshl.c: Likewise.
6003 * math/w_acosl.c: Likewise.
6004 * math/w_asin.c: Likewise.
6005 * math/w_asinf.c: Likewise.
6006 * math/w_asinl.c: Likewise.
6007 * math/w_atanh.c: Likewise.
6008 * math/w_atanhf.c: Likewise.
6009 * math/w_atanhl.c: Likewise.
6010 * math/w_exp2.c: Likewise.
6011 * math/w_exp2f.c: Likewise.
6012 * math/w_exp2l.c: Likewise.
6013 * math/w_j0.c: Likewise.
6014 * math/w_j0f.c: Likewise.
6015 * math/w_j0l.c: Likewise.
6016 * math/w_j1.c: Likewise.
6017 * math/w_j1f.c: Likewise.
6018 * math/w_j1l.c: Likewise.
6019 * math/w_jn.c: Likewise.
6020 * math/w_jnf.c: Likewise.
6021 * math/w_log.c: Likewise.
6022 * math/w_log10.c: Likewise.
6023 * math/w_log10f.c: Likewise.
6024 * math/w_log10l.c: Likewise.
6025 * math/w_log2.c: Likewise.
6026 * math/w_log2f.c: Likewise.
6027 * math/w_log2l.c: Likewise.
6028 * math/w_logf.c: Likewise.
6029 * math/w_logl.c: Likewise.
6030 * math/w_sqrt.c: Likewise.
6031 * math/w_sqrtf.c: Likewise.
6032 * math/w_sqrtl.c: Likewise.
6033 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6034 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6035 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6036 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6037 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6038
ebaf36eb
JM
60392012-02-19 Joseph Myers <joseph@codesourcery.com>
6040
6041 [BZ #9739]
6042 * manual/string.texi (strnlen): Use correct parameter name in
6043 equivalent expression.
6044
71c254a6
JM
60452012-02-19 Joseph Myers <joseph@codesourcery.com>
6046
6047 [BZ #11174]
6048 * manual/users.texi (seteuid): Consistently use neweuid for
6049 argument name.
6050
16d2c631
JM
60512012-02-19 Joseph Myers <joseph@codesourcery.com>
6052
6053 [BZ #13704]
6054 * manual/nss.texi (Services in the NSS configuration): Correct
6055 list of services in example configuration file.
6056
cd837b09
NB
60572012-02-19 Nick Bowler <nbowler@draconx.ca>
6058
6059 [BZ #11322]
6060 * manual/arith.texi: Remove statements about negative zero
6061 behaving identically to zero.
6062
02c4bbad
JM
60632012-02-18 Joseph Myers <joseph@codesourcery.com>
6064
6065 [BZ #5993]
6066 * manual/install.texi: Do not document upgrading from libc5.
6067
366842e7
JM
60682012-02-18 Joseph Myers <joseph@codesourcery.com>
6069
6070 [BZ #4596]
6071 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6072
dd54084d
DM
60732012-02-18 David S. Miller <davem@davemloft.net>
6074
6075 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6076 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6077 %o7 across the call.
6078 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6079 instead.
6080 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6081 SETUP_PIC_REG_LEAF.
6082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6083 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6084 * sysdeps/sparc/crtn.S: Likewise.
6085
2bcc53a3
UD
60862012-02-17 Ulrich Drepper <drepper@gmail.com>
6087
6088 * aout/Makefile: Remove.
6089
09c093b5
RK
60902012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6091
6092 [BZ #13058]
6093 * manual/examples/argp-ex1.c (main): Format definition in GNU
6094 style.
6095 * manual/examples/argp-ex2.c (main): Likewise.
6096 * manual/examples/argp-ex3.c (main): Likewise.
6097 * manual/examples/argp-ex4.c (main): Likewise.
6098 * manual/examples/longopt.c (main): Use new-style prototype
6099 definition.
6100 * manual/examples/strncat.c (main): Specify return type and use
6101 (void) for arguments.
6102 * manual/examples/subopt.c (main): Use char **argv argument.
6103
2ee633a2
JM
61042012-02-17 Joseph Myers <joseph@codesourcery.com>
6105
6106 [BZ #5077]
6107 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6108 rounding modes.
6109
0520adde
FB
61102012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6111
6112 [BZ #6907]
6113 * manual/string.texi (strchr): Change when strchrnul is
6114 recommended.
6115
3f4081cd
DGM
61162012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6117
6118 [BZ #174]
6119 * manual/locale.texi (setlocale): Document LOCPATH.
6120
d1b10e78
JM
61212012-02-17 Joseph Myers <joseph@codesourcery.com>
6122
6123 [BZ #10210]
6124 * manual/process.texi (execle): Move @dots{} before last argument.
6125
79c6869c
PB
61262012-02-17 Paul Bolle <pebolle@tiscali.nl>
6127
6128 [BZ #12047]
6129 * manual/charset.texi (Generic Charset Conversion): Fix typo
6130 (LC_TYPE -> LC_CTYPE).
6131
cc6e48bc
NB
61322012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6133
6134 [BZ #5805]
6135 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6136 (scalbnf): Likewise.
6137 (scalbnl): Likewise.
6138 (scalbln): Likewise.
6139 (scalblnf): Likewise.
6140 (scalblnl): Likewise.
6141 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6142 (vwarnx): Likewise.
6143 (verr): Likewise.
6144 (verrx): Likewise.
6145 * manual/filesys.texi (telldir): Use braces around return type.
6146 * manual/llio.texi (mmap): Add space after comma.
6147 (mmap64): Likewise.
6148 * manual/math.texi (jn): Use @var{} on parameter names.
6149 (jnf): Likewise.
6150 (jnl): Likewise.
6151 (yn): Likewise.
6152 (ynf): Likewise.
6153 (ynl): Likewise.
6154 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6155 line.
6156 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6157 "...".
6158 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6159 (sched_get_priority_max): Likewise.
6160 * manual/signal.texi (sigvec): Add space after comma.
6161 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6162 names.
6163 (if_indextoname): Likewise.
6164 (if_freenameindex): Likewise.
6165 (sendto): Use ',' instead of '.' in prototype.
6166 * manual/startup.texi (syscall): Use @dots{} instead of literal
6167 "...".
6168 * manual/stdio.texi (__fpending): Separate initial words of
6169 paragraph from @deftypefun line.
6170 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6171 "...".
6172 (vsyslog): Use @var{} on parameter names.
6173 * manual/terminal.texi (stty): Use @var{} on parameter names.
6174 * manual/users.texi (getutmp): Use @var{} on parameter names.
6175 (getutmpx): Likewise.
6176
5b23062f
JM
61772012-02-17 Joseph Myers <joseph@codesourcery.com>
6178
6179 [BZ #6884]
6180 * manual/stdio.texi (fopen): Fix typos in description of
6181 ",ccs=STRING".
6182
8dee4833
AJ
61832012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6184
6185 [BZ #4026]
6186 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6187 get clock_id definition.
6188
9078ce93
TS
61892012-02-17 Thomas Schwinge <thomas@schwinge.name>
6190
6191 [BZ #4822]
6192 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6193 (madvise): Cast every argument to void on its own.
6194
3835c55f
JM
61952012-02-17 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #9902]
6198 * manual/startup.texi (Exit Status): Fix typo.
6199
35c47e37
JM
62002012-02-17 Joseph Myers <joseph@codesourcery.com>
6201
6202 [BZ #10140]
6203 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6204 * manual/examples/argp-ex2.c: Likewise.
6205 * manual/examples/argp-ex3.c: Likewise.
6206
e3b69ca7
RH
62072012-02-16 Richard Henderson <rth@redhat.com>
6208
6209 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6210 * sysdeps/s390/s390-32/initfini.c: Remove.
6211 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6212 * sysdeps/s390/s390-64/initfini.c: Remove.
6213
df83af67
KK
62142012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6215
6216 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6217 compiler output for sysdeps/generic/initfini.c.
6218 * sysdeps/sh/elf/initfini.c: Remove file.
6219
f63f3380
DM
62202012-02-16 David S. Miller <davem@davemloft.net>
6221
fb59b3a4
DM
6222 [BZ #11494]
6223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6224
f63f3380
DM
6225 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6226 * sysdeps/sparc/crti.S: New file.
6227 * sysdeps/sparc/crtn.S: New file.
6228 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6229 * sysdeps/sparc/sparc64/Makefile: Likewise.
6230
df6a4a4a
MF
62312012-02-15 Mike Frysinger <vapier@gentoo.org>
6232
6dd8f3dc 6233 [BZ #3335]
df6a4a4a
MF
6234 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6235
1cac7236
RM
62362012-02-15 Roland McGrath <roland@hack.frob.com>
6237
d2c736f8
RM
6238 [BZ #4822]
6239 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6240
1cac7236
RM
6241 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6242 (write, read, close): Likewise.
6243 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6244
8e475601
JM
62452012-02-15 Joseph Myers <joseph@codesourcery.com>
6246
6247 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6248 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6249 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6250 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6251 <bits/signalfd.h>.
6252 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6253 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6254 bits/signalfd.h.
6255
ed656b40
MP
62562012-02-14 Marek Polacek <polacek@redhat.com>
6257
6258 * sysdeps/x86_64/crti.S: New file.
6259 * sysdeps/x86_64/crtn.S: New file.
6260 * sysdeps/x86_64/elf/initfini.c: Remove file.
6261
2a979d3a
JM
62622012-02-13 Joseph Myers <joseph@codesourcery.com>
6263
6264 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6265 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6267 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6268 <bits/inotify.h>.
6269 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6270 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6271 bits/inotify.h.
6272
2a418ac3
JM
62732012-02-13 Joseph Myers <joseph@codesourcery.com>
6274
6275 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6276 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6277 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6278 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6279 <bits/eventfd.h>.
6280 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6281 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6282 bits/eventfd.h.
6283
fb779be7
TS
62842012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6285
e19e83c5
RM
6286 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6287 __feraiseexcept instead of feraiseexcept.
7c35ffed 6288
fb779be7
TS
6289 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6290 nanosleep invocations.
6291 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6292 strings, and add error checking for a nanosleep invocations.
6293
59ba27a6
PE
62942012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6295
6296 Replace FSF snail mail address with URLs, as per GNU coding standards.
6297 Most of the snail mail addresses were wrong anyway, and omitting
6298 them makes the source code easier to maintain. Almost all of the
6299 changes are to license notices and to locale LC_IDENTIFICATION
6300 addresses, except for this one:
6301 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6302 not its snail mail address.
6303
57b957eb
RH
63042012-02-09 Richard Henderson <rth@twiddle.net>
6305
af850b1c
RH
6306 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6307 of kernel-features.h.
6308
57b957eb
RH
6309 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6310
6b73181a
MP
63112012-02-08 Marek Polacek <polacek@redhat.com>
6312
6313 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6314 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6315 * sysdeps/gnu/_G_config.h: Likewise.
6316 * sysdeps/generic/_G_config.h: Likewise.
6317
26ecc33a
AS
63182012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6319
6c6dbc63
AS
6320 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6321 tests.
6322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6323
e216c012
AS
6324 * sysdeps/powerpc/powerpc32/crti.S: New file.
6325 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6326 * sysdeps/powerpc/powerpc64/crti.S: New file.
6327 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6328
26ecc33a
AS
6329 * Makeconfig (have-initfini): Don't set.
6330 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6331 * configure.in (nopic_initfini): Don't substitute.
6332 * config.h.in (HAVE_INITFINI): Don't #undef.
6333 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6334 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6335
3add8e13
JM
63362012-02-08 Joseph Myers <joseph@codesourcery.com>
6337
6338 Support crti.S and crtn.S provided directly by architectures.
6339 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6340 [crti.S in sysdirs] (omit-deps): Likewise.
6341 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6342 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6343 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6344 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6345 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6346 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6347 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6348 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6349 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6350 compiler output for sysdeps/generic/initfini.c.
6351 * sysdeps/i386/elf/Makefile: Remove file.
6352 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6353
a22f12b4
MP
63542012-02-07 Marek Polacek <polacek@redhat.com>
6355
6356 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6357 * sysdeps/gnu/_G_config.h: Likewise.
6358 * sysdeps/mach/hurd/_G_config.h: Likewise.
6359
148cf100
MP
63602012-02-07 Marek Polacek <polacek@redhat.com>
6361
6362 * math/Makefile (tests): Add tst-CMPLX2.
6363 * math/tst-CMPLX2.c: New file.
6364
cfdc0dd7
AS
63652012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6366
84ba42c4
AS
6367 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6368
cfdc0dd7
AS
6369 * math/libm-test.inc (jn_test): Add missing L suffix.
6370
622c86f4
MP
63712012-02-06 Marek Polacek <polacek@redhat.com>
6372
6373 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6374 * sysdeps/i386/fpu/e_powf.S: Likewise.
6375 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6376 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6377 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6378 * sysdeps/i386/fpu/e_pow.S: Likewise.
6379 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6380 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6381 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6382 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6383 * sysdeps/i386/fpu/e_log2.S: Likewise.
6384 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6385 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6386 * sysdeps/i386/fpu/e_powl.S: Likewise.
6387 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6388 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6389 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6390 * sysdeps/i386/fpu/e_logl.S: Likewise.
6391 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6392 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6393 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6394 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6395 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6396 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6397 * sysdeps/i386/fpu/e_log.S: Likewise.
6398 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6399 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6400 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6401 * sysdeps/i386/fpu/e_logf.S: Likewise.
6402 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6403 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6404 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6405 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6406 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6407 * sysdeps/i386/fpu/e_log10.S: Likewise.
6408 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6409 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6410 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6411 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6412 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6413 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6414 * sysdeps/i386/asm-syntax.h: Likewise.
6415 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6416 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6417 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6418 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6419 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6421 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6422 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6423 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6424 * sysdeps/powerpc/sysdep.h: Likewise.
6425 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6426 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6427
d4a54ac6
JM
64282012-02-06 Joseph Myers <joseph@codesourcery.com>
6429
6430 [BZ #411]
6431 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6432
314054ea
JM
64332012-02-06 Joseph Myers <joseph@codesourcery.com>
6434
6435 * sysdeps/i386/sysdep.h: Include <features.h>.
6436 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6437 version.
6438
d8e0ca50
JM
64392012-02-05 Joseph Myers <joseph@codesourcery.com>
6440
6441 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6442 Define.
6443 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6444 LOAD_PIC_REG_STR.
6445
b1da7dd9
JM
64462012-02-03 Joseph Myers <joseph@codesourcery.com>
6447
6448 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6449 (SETUP_PIC_REG): Use GET_PC_THUNK.
6450 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6451 macro.
6452
9a1d9254
JM
64532012-02-03 Joseph Myers <joseph@codesourcery.com>
6454
6455 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6456 for non-PIC compilation.
6457 (SETUP_PIC_REG): Add .p2align directive.
6458 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6459 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6460 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6461 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6462 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6463 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6464 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6465 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6466 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6467 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6468 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6469 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6470 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6471 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6472 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6473 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6474 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6475 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6476 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6477 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6478 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6479 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6480 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6481 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6482 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6483 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6484 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6485 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6486 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6487 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6488 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6489 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6490 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6491 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6492 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6493 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6494 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6495 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6496 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6497 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6498 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6499
65dc3b75
JM
65002012-02-03 Joseph Myers <joseph@codesourcery.com>
6501
6502 * math/tst-CMPLX.c: Include <stdio.h>.
6503
d55bf177
JM
65042012-01-31 Joseph Myers <joseph@codesourcery.com>
6505
6506 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6507 float.
6508 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6509 * sysdeps/sparc/bits/mathdef.h: Likewise.
6510
69db4f8f
MP
65112012-01-31 Marek Polacek <polacek@redhat.com>
6512
6513 * libio/libio.h: Don't define _PARAMS.
6514 * locale/programs/config.h: Don't define PARAMS.
6515 * stdlib/strtol_l.c: Likewise.
6516 (__strtol_l): Remove PARAMS from the prototype.
6517
41b81892
UD
65182012-01-31 Ulrich Drepper <drepper@gmail.com>
6519
3b49edc0
UD
6520 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6521 names. Just use the correct names. Remove unnecessary wrapper
6522 functions.
6523 * malloc/arena.c: Likewise.
6524 * malloc/hooks.c: Likewise.
6525
41b81892
UD
6526 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6527 ARENA_TEST says not to. Simplify test for creation of a new arena.
6528 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6529
27a25b6e
UD
65302012-01-30 Ulrich Drepper <drepper@gmail.com>
6531
6532 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6533 into tail calls.
6534 (update_get_addr): New function.
6535 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6536 GET_ADDR_MODULE parameter.
6537
c8a89e7d
JM
65382012-01-30 Joseph Myers <joseph@codesourcery.com>
6539
6540 * crypt/cert.c: Remove __STDC__ conditionals.
6541 * crypt/crypt-entry.c: Likewise.
6542 * crypt/crypt_util.c: Likewise.
6543 * libio/filedoalloc.c: Likewise.
6544 * libio/fileops.c: Likewise.
6545 * libio/genops.c: Likewise.
6546 * libio/iofclose.c: Likewise.
6547 * libio/iofdopen.c: Likewise.
6548 * libio/iofopen.c: Likewise.
6549 * libio/iofopen64.c: Likewise.
6550 * libio/iogetdelim.c: Likewise.
6551 * libio/iopopen.c: Likewise.
6552 * libio/obprintf.c: Likewise.
6553 * libio/oldfileops.c: Likewise.
6554 * libio/oldiofclose.c: Likewise.
6555 * libio/oldiofdopen.c: Likewise.
6556 * libio/oldiofopen.c: Likewise.
6557 * libio/oldiopopen.c: Likewise.
6558 * libio/wfiledoalloc.c: Likewise.
6559 * libio/wgenops.c: Likewise.
6560 * locale/programs/xmalloc.c: Likewise.
6561 * misc/syslog.c: Likewise.
6562 * stdio-common/xbug.c: Likewise.
6563 * string/memchr.c: Likewise.
6564 * string/memcmp.c: Likewise.
6565 * string/memrchr.c: Likewise.
6566 * string/rawmemchr.c: Likewise.
6567 * sysdeps/posix/getcwd.c: Likewise.
6568 * time/strftime_l.c: Likewise.
6569
3b100462
JM
65702012-01-30 Joseph Myers <joseph@codesourcery.com>
6571
6572 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6573 * config.make.in (config-cflags-sse2avx): Define.
6574 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6575 Fix typo.
6576
607998af
CM
65772012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6578
6579 * scripts/config.guess: Update from upstream config git repository.
6580 * scripts/config.sub: Likewise.
6581
3601428f
CM
65822012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6583
3ac8b282
CM
6584 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6585 (EM_NUM): Update.
6586 (R_TILEPRO_*, R_TILEGX_*): New macros.
6587
e034841e
CM
6588 * scripts/firstversions.awk: Fix bug in version range handling.
6589
540d7568
CM
6590 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6591
3601428f
CM
6592 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6593
463de862
CM
6594 * include/sys/epoll.h: New file.
6595 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6596 libc_hidden_def.
6597
73139a76
UD
65982012-01-28 Ulrich Drepper <drepper@gmail.com>
6599
96bc5b45
UD
6600 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6601 Avoid unnecessary __WORDSIZE == 64 test.
6602 (fmaxf): Use VEX format if possible.
6603 (fmax): Likewise.
6604 (fminf): Likewise.
6605 (fmin): Likewise.
6606
56f6f6a2
UD
6607 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6608 * math/math_private.h: Remove libc_fegetround* and
6609 libc_fesetround*.
6610 * sysdeps/i386/configure.in: Check for -msse2avx.
6611 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6612 also if SSE2AVX is defined.
6613 Remove libc_fegetround* and libc_fesetround*.
6614 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6615 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6616 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6617 of HAS_YMM_USABLE.
6618 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6619 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6620 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6621 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6622 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6623
73139a76
UD
6624 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6625
d73f93a4
AZ
66262012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6627
6628 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6629 size is not set.
6630 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6631
6ee65ed6
UD
66322012-01-27 Ulrich Drepper <drepper@gmail.com>
6633
6634 [BZ #13618]
6635 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6636 relocation.
6637 * Makeconfig (libm): Define.
6638 * elf/Makefile: Add rules to build and run tst-relsort1.
6639 * elf/tst-relsort1.c: New file.
6640 * elf/tst-relsort1mod1.c: New file.
6641 * elf/tst-relsort1mod2.c: New file.
6642
8db21882
JM
66432012-01-27 Joseph Myers <joseph@codesourcery.com>
6644
6645 * math/s_ldexp.c: Remove __STDC__ conditionals.
6646 * math/s_ldexpf.c: Likewise.
6647 * math/s_ldexpl.c: Likewise.
6648 * math/s_nextafter.c: Likewise.
6649 * math/s_nexttowardf.c: Likewise.
6650 * math/s_significand.c: Likewise.
6651 * math/s_significandf.c: Likewise.
6652 * math/s_significandl.c: Likewise.
6653 * math/w_jnl.c: Likewise.
6654 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6655 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6656 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6657 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6658 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6659 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6660 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6661 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6662 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6663 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6664 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6665 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6666 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6667 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6668 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6669 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6670 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6671 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6672 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6673 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6674 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6675 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6676 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6677 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6678 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6679 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6680 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6681 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6682 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6683 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6686 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6687 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6688 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6689 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6690 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6691 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6692 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6693 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6694 * sysdeps/ieee754/k_standard.c: Likewise.
6695 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6696 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6697 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6702 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6703 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6704 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6705 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6706 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6707 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6708 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6709 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6710 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6711 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6712 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6713 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6714 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6715 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6716 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6717 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6718 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6719 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6720 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6721 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6722 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6723 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6724 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6725 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6726 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6727 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6728 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6729 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6731 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6732 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6733 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6734 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6735 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6736 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6737 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6738 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6739 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6740 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6742 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6743 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6744 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6745 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6746 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6747 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6751 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6753 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6754 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6755 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6756 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6757 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6758 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6759 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6760 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6761 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6762 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6763 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6764 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6765 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6766 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6767 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6768 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6769 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6770 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6771 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6774 * sysdeps/ieee754/s_matherr.c: Likewise.
6775 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6777 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6779
965a54a4
JM
67802012-01-26 Joseph Myers <joseph@codesourcery.com>
6781
6782 * crypt/md5.h: Remove __STDC__ conditionals.
6783 * libio/libioP.h: Likewise.
6784 * locale/programs/config.h: Likewise.
6785 * sysdeps/generic/sysdep.h: Likewise.
6786 * sysdeps/i386/asm-syntax.h: Likewise.
6787 * sysdeps/s390/asm-syntax.h: Likewise.
6788 * sysdeps/unix/sysdep.h: Likewise.
6789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6791
7071ad79
JM
67922012-01-26 Joseph Myers <joseph@codesourcery.com>
6793
6794 * libio/libio.h: Remove __STDC__ conditionals.
6795 * malloc/obstack.h: Likewise.
6796 * math/complex.h: Likewise.
6797 * math/math.h: Likewise.
6798 * sysdeps/generic/_G_config.h: Likewise.
6799 * sysdeps/gnu/_G_config.h: Likewise.
6800 * sysdeps/mach/hurd/_G_config.h: Likewise.
6801 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6802 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6803 * sysdeps/sparc/bits/mathdef.h: Likewise.
6804
afc5ed09
UD
68052012-01-26 Ulrich Drepper <drepper@gmail.com>
6806
6807 [BZ #13583]
6808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6809 Clean up HAS_* macros.
afc5ed09 6810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6811 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6812 possible.
6813 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6814 HAS_AVX.
6815 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6816 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6817 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6818 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6819 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6820
bdb6de1d
JM
68212012-01-25 Joseph Myers <joseph@codesourcery.com>
6822
6823 * elf/tst-unique3.cc (gets): Remove declaration.
6824 * elf/tst-unique3lib.cc (gets): Likewise.
6825 * elf/tst-unique3lib2.cc (gets): Likewise.
6826 * elf/tst-unique4.cc (gets): Likewise.
6827
b15549e6
UD
68282012-01-24 Ulrich Drepper <drepper@gmail.com>
6829
6830 * include/stdio.h: Add C++ protection. Add gets declarations and
6831 definitions.
6832 * debug/tst-chk1.c: Don't declare gets here.
6833 * stdio-common/tst-gets.c: Likewise.
6834
a037381f
JM
68352012-01-24 Joseph Myers <joseph@codesourcery.com>
6836
6837 * posix/glob: Remove directory.
6838
f1d4aa75
JM
68392012-01-24 Joseph Myers <joseph@codesourcery.com>
6840
6841 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6842
81c0c964
PT
68432012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6844
6845 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6846 of the non-standard EPFNOSUPPORT.
6847
0ea698ae
ST
68482011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6849
6850 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6851 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6852 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6853
d220b117
UD
68542012-01-21 Ulrich Drepper <drepper@gmail.com>
6855
6856 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6857
3e1aa84e
UD
68582012-01-20 Ulrich Drepper <drepper@gmail.com>
6859
6860 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6861 transient errors.
6862 * nscd/grpcache.c (cache_addgr): Likewise.
6863 * nscd/hstcache.c (cache_addhst): Likewise.
6864 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6865 * nscd/pwdcache.c (cache_addpw): Likewise.
6866 * nscd/servicescache.c (cache_addserv): Likewise.
6867
400aa020
UD
68682012-01-16 Ulrich Drepper <drepper@gmail.com>
6869
d77e7869
UD
6870 * malloc/malloc.c: Various cleanups.
6871 * malloc/hooks.c: Likewise.
6872
400aa020
UD
6873 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6874 * stdlib/bug-fmtmsg1.c: New file.
6875
6876 * stdlib/fmtmsg.c (init): Add missing unlock.
6877 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6878
e0a309cf
MP
68792012-01-12 Marek Polacek <polacek@redhat.com>
6880
6881 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6882 and _GNU_SOURCE.
6883
929d11c7
WS
68842012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6885
6886 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6887 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6888 macro to ensure uniqueness of label name.
6889 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6890 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6891
41d0e869
UD
68922012-01-11 Ulrich Drepper <drepper@gmail.com>
6893
0cc5ed3b
UD
6894 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6895
41d0e869
UD
6896 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6897 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6899 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6900
a47a831a
UD
69012012-01-10 Ulrich Drepper <drepper@gmail.com>
6902
daa891c0
UD
6903 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6904
6905 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6906 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6907 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6908
e58ef0f2
UD
6909 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6910
a47a831a 6911 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6912 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6915
6916 * math/bits/math-finite.h: Add ldexp support.
6917
a0bfc9c7
MP
69182012-01-10 Marek Polacek <polacek@redhat.com>
6919
6920 * locale/programs/localedef.h (show_archive_content): Add noreturn
6921 attribute.
6922
d6e97a1d
UD
69232012-01-09 Ulrich Drepper <drepper@gmail.com>
6924
6925 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
6926
d5835c26
UD
69272012-01-08 Ulrich Drepper <drepper@gmail.com>
6928
e5f484c6
UD
6929 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
6930
d5835c26
UD
6931 * io/Makefile (headers): Add bits/poll2.h.
6932
d1f741e9
WS
69332011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
6934
6935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
6936 typo #include statement.
6937
ec09c1c4
UD
69382012-01-08 Ulrich Drepper <drepper@gmail.com>
6939
6940 * include/sys/cdefs.h: Define __attribute_alloc_size.
6941 * catgets/gencat.c: Add alloc_size attribute and apply consistently
6942 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
6943 * elf/pldd.c: Likewise.
6944 * iconv/iconv_charmap.c: Likewise.
6945 * iconv/iconvconfig.c: Likewise.
6946 * iconv/strtab.c: Likewise.
6947 * locale/programs/locale.c: Likewise.
6948 * locale/programs/localedef.h: Likewise.
6949 * locale/programs/simple-hash.c: Likewise.
6950 * nscd/nscd.h: Likewise.
6951 * nss/makedb.c: Likewise.
6952 * sysdeps/generic/ldconfig.h: Likewise.
6953 * locale/programs/localedef.c: Remove xmalloc prototype.
6954 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
6955
20b38e03
PP
69562012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
6957
6958 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
6959 appropriate.
6960
a0da5fe1
UD
69612012-01-08 Ulrich Drepper <drepper@gmail.com>
6962
1d5a644a 6963 * math/Makefile (tests): Add tst-CMPLX.
669704fd 6964 * math/tst-CMPLX.c: New file.
1d5a644a 6965
8784a6db
UD
6966 * math/complex.h (CMPLXL): Fix typo.
6967
d9a216c0
UD
6968 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
6969 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
6970 GLIBC_2.16.
6971 * debug/tst-chk1.c: Add poll and ppoll tests.
6972 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
6973 * include/sys/poll.h: Add hidden proto for ppoll.
6974 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
6975 * sysdeps/mach/hurd/ppoll.c: Likewise.
6976 * io/ppoll.c: Likewise.
6977 * debug/poll_chk.c: New file.
6978 * debug/ppoll_chk.c: New file.
6979 * include/bits/poll2.h: New file.
6980 * io/bits/poll2.h: New file.
6981
ac097f5c
UD
6982 [BZ #1350]
6983 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
6984
2119dcfa
UD
6985 * configure.in: static is always set to yes. Remove.
6986 * config.make.in: Don't set build-static.
6987 * Makeconfig: Remove use of build-static.
6988 * dlfcn/Makefile: Likewise.
6989 * elf/Makefile: Likewise.
6990 * math/Makefile: Likewise.
6991 * misc/Makefile: Likewise.
6992 * nptl/Makefile: Likewise.
6993 * sysdeps/mach/hurd/Makefile: Likewise.
6994
121766a9
UD
6995 * configure.in: PWD_P is not used anymore.
6996 * config.make.in: Remove PWD_P entry.
6997
51a1d39c 6998 * configure.in: Remove last remnants of RANLIB.
8720d066 6999 No need to check for signed size_t anymore.
215f4bdc
UD
7000 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7001 and IA-64.
3857022a 7002 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7003 * aclocal.m4: Likewise.
7004
d3ed7225
UD
7005 * wcsmbs/mbrtoc16.c: Implement using towc function.
7006 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7007 * wcsmbs/wcsmbsload.c: Likewise.
7008 * iconv/gconv_simple.c: Likewise.
7009 * iconv/gconv_int.h: Likewise.
7010 * iconv/gconv_builtin.h: Likewise.
7011 * iconv/iconv_prog.c: Remove CHAR16 handling.
7012
7013 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7014
7015 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7016
a0da5fe1
UD
7017 * configure.in: Remove --with-elf and --enable-bounded options.
7018 Dont set base_machine for ia64. More non-ELF conditions removed.
7019 Remove testing and setting of leading underscore information.
7020 * config.make.in (build-bounded): Set to no.
7021 * config.h.in: Remove NO_UNDERSCORES entry.
7022 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7023 them.
7024 * csu/start.c: Remove !NO_UNDERSCORE code.
7025 * locale/localeinfo.h: Likewise.
7026 * sysdeps/generic/machine-gmon.h: Likewise.
7027 * sysdeps/generic/sysdep.h: Likewise.
7028 * sysdeps/i386/sysdep.h: Likewise.
7029 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7030 * sysdeps/mach/sysdep.h: Likewise.
7031 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7032 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7033 * sysdeps/sh/sysdep.h: Likewise.
7034 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7035 * sysdeps/unix/i386/sysdep.S: Likewise.
7036 * sysdeps/unix/sparc/start.c: Likewise.
7037 * sysdeps/unix/sparc/sysdep.S: Likewise.
7038 * sysdeps/unix/sparc/sysdep.h: Likewise.
7039 * sysdeps/unix/start.c: Likewise.
7040 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7041 * sysdeps/x86_64/sysdep.h: Likewise.
7042
df78418a
UD
70432012-01-07 Ulrich Drepper <drepper@gmail.com>
7044
a784e502
UD
7045 [BZ #13553]
7046 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7047 for non-gcc.
7048 * argp/argp-fmtstream.h: Use const instead __const.
7049 * argp/argp.h: Likewise.
7050 * assert/assert.h: Likewise.
7051 * bits/fenv.h: Likewise.
7052 * bits/sched.h: Likewise.
7053 * bits/sigset.h: Likewise.
7054 * bits/sigthread.h: Likewise.
7055 * catgets/nl_types.h: Likewise.
7056 * conform/data/pthread.h-data: Likewise.
7057 * crypt/crypt-private.h: Likewise.
7058 * crypt/crypt.h: Likewise.
7059 * crypt/crypt_util.c: Likewise.
7060 * ctype/ctype.h: Likewise.
7061 * debug/execinfo.h: Likewise.
7062 * debug/mbsnrtowcs_chk.c: Likewise.
7063 * debug/mbsrtowcs_chk.c: Likewise.
7064 * debug/wcsnrtombs_chk.c: Likewise.
7065 * debug/wcsrtombs_chk.c: Likewise.
7066 * debug/wcstombs_chk.c: Likewise.
7067 * dirent/dirent.h: Likewise.
7068 * dlfcn/dlfcn.h: Likewise.
7069 * elf/neededtest4.c: Likewise.
7070 * grp/grp.h: Likewise.
7071 * gshadow/gshadow.h: Likewise.
7072 * iconv/gconv.h: Likewise.
7073 * iconv/gconv_int.h: Likewise.
7074 * iconv/gconv_simple.c: Likewise.
7075 * iconv/iconv.h: Likewise.
7076 * iconv/loop.c: Likewise.
7077 * iconv/skeleton.c: Likewise.
7078 * include/aio.h: Likewise.
7079 * include/aliases.h: Likewise.
7080 * include/argz.h: Likewise.
7081 * include/arpa/inet.h: Likewise.
7082 * include/assert.h: Likewise.
7083 * include/dirent.h: Likewise.
7084 * include/dlfcn.h: Likewise.
7085 * include/execinfo.h: Likewise.
7086 * include/fcntl.h: Likewise.
7087 * include/fenv.h: Likewise.
7088 * include/glob.h: Likewise.
7089 * include/grp.h: Likewise.
7090 * include/libintl.h: Likewise.
7091 * include/mntent.h: Likewise.
7092 * include/netdb.h: Likewise.
7093 * include/pwd.h: Likewise.
7094 * include/rpc/netdb.h: Likewise.
7095 * include/sched.h: Likewise.
7096 * include/search.h: Likewise.
7097 * include/shadow.h: Likewise.
7098 * include/signal.h: Likewise.
7099 * include/stdio.h: Likewise.
7100 * include/stdlib.h: Likewise.
7101 * include/string.h: Likewise.
7102 * include/sys/socket.h: Likewise.
7103 * include/sys/stat.h: Likewise.
7104 * include/sys/statfs.h: Likewise.
7105 * include/sys/statvfs.h: Likewise.
7106 * include/sys/syslog.h: Likewise.
7107 * include/sys/time.h: Likewise.
7108 * include/sys/uio.h: Likewise.
7109 * include/time.h: Likewise.
7110 * include/unistd.h: Likewise.
7111 * include/utmp.h: Likewise.
7112 * include/wchar.h: Likewise.
7113 * include/wctype.h: Likewise.
7114 * inet/aliases.h: Likewise.
7115 * inet/arpa/inet.h: Likewise.
7116 * inet/netinet/ether.h: Likewise.
7117 * inet/netinet/in.h: Likewise.
7118 * intl/libintl.h: Likewise.
7119 * io/bits/fcntl2.h: Likewise.
7120 * io/fcntl.h: Likewise.
7121 * io/ftw.h: Likewise.
7122 * io/sys/poll.h: Likewise.
7123 * io/sys/stat.h: Likewise.
7124 * io/sys/statfs.h: Likewise.
7125 * io/sys/statvfs.h: Likewise.
7126 * io/utime.h: Likewise.
7127 * libio/bits/stdio.h: Likewise.
7128 * libio/bits/stdio2.h: Likewise.
7129 * libio/libio.h: Likewise.
7130 * libio/libioP.h: Likewise.
7131 * libio/stdio.h: Likewise.
7132 * locale/lc-ctype.c: Likewise.
7133 * locale/locale.h: Likewise.
7134 * login/utmp.h: Likewise.
7135 * malloc/arena.c: Likewise.
7136 * malloc/malloc.c: Likewise.
7137 * malloc/malloc.h: Likewise.
7138 * malloc/mcheck.c: Likewise.
7139 * malloc/mtrace.c: Likewise.
7140 * math/bits/mathcalls.h: Likewise.
7141 * math/fenv.h: Likewise.
7142 * math/math_private.h: Likewise.
7143 * misc/bits/error.h: Likewise.
7144 * misc/bits/syslog.h: Likewise.
7145 * misc/err.h: Likewise.
7146 * misc/error.h: Likewise.
7147 * misc/fstab.h: Likewise.
7148 * misc/mntent.h: Likewise.
7149 * misc/regexp.h: Likewise.
7150 * misc/search.h: Likewise.
7151 * misc/sgtty.h: Likewise.
7152 * misc/sys/mman.h: Likewise.
7153 * misc/sys/syslog.h: Likewise.
7154 * misc/sys/uio.h: Likewise.
7155 * misc/sys/xattr.h: Likewise.
7156 * misc/ttyent.h: Likewise.
7157 * nis/rpcsvc/ypclnt.h: Likewise.
7158 * nss/nss.h: Likewise.
7159 * posix/bits/unistd.h: Likewise.
7160 * posix/fnmatch.h: Likewise.
7161 * posix/glob.h: Likewise.
7162 * posix/sched.h: Likewise.
7163 * posix/spawn.h: Likewise.
7164 * posix/sys/wait.h: Likewise.
7165 * posix/unistd.h: Likewise.
7166 * posix/wordexp.h: Likewise.
7167 * pwd/pwd.h: Likewise.
7168 * resolv/netdb.h: Likewise.
7169 * resource/sys/resource.h: Likewise.
7170 * rt/aio.h: Likewise.
7171 * rt/bits/mqueue2.h: Likewise.
7172 * rt/mqueue.h: Likewise.
7173 * shadow/shadow.h: Likewise.
7174 * signal/signal.h: Likewise.
7175 * socket/send.c: Likewise.
7176 * socket/sendto.c: Likewise.
7177 * socket/sys/socket.h: Likewise.
7178 * stdio-common/printf.h: Likewise.
7179 * stdlib/bits/stdlib.h: Likewise.
7180 * stdlib/fmtmsg.h: Likewise.
7181 * stdlib/monetary.h: Likewise.
7182 * stdlib/stdlib.h: Likewise.
7183 * stdlib/ucontext.h: Likewise.
7184 * streams/stropts.h: Likewise.
7185 * string/argz.h: Likewise.
7186 * string/bits/string2.h: Likewise.
7187 * string/string.h: Likewise.
7188 * string/strings.h: Likewise.
7189 * sunrpc/rpc/auth.h: Likewise.
7190 * sunrpc/rpc/auth_des.h: Likewise.
7191 * sunrpc/rpc/clnt.h: Likewise.
7192 * sunrpc/rpc/netdb.h: Likewise.
7193 * sunrpc/rpc/pmap_clnt.h: Likewise.
7194 * sunrpc/rpc/xdr.h: Likewise.
7195 * sysdeps/generic/inttypes.h: Likewise.
7196 * sysdeps/generic/net/if.h: Likewise.
7197 * sysdeps/generic/sys/swap.h: Likewise.
7198 * sysdeps/gnu/net/if.h: Likewise.
7199 * sysdeps/gnu/utmpx.h: Likewise.
7200 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7201 * sysdeps/i386/i486/bits/string.h: Likewise.
7202 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7203 * sysdeps/s390/bits/string.h: Likewise.
7204 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7205 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7206 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7207 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7208 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7209 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7210 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7211 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7212 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7213 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7214 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7215 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7216 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7217 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7218 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7219 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7220 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7221 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7222 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7223 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7224 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7225 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7226 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7227 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7228 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7229 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7230 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7232 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7233 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7234 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7235 * sysvipc/sys/ipc.h: Likewise.
7236 * sysvipc/sys/msg.h: Likewise.
7237 * sysvipc/sys/sem.h: Likewise.
7238 * sysvipc/sys/shm.h: Likewise.
7239 * termios/termios.h: Likewise.
7240 * time/sys/time.h: Likewise.
7241 * time/time.h: Likewise.
7242 * wcsmbs/bits/wchar2.h: Likewise.
7243 * wcsmbs/uchar.h: Likewise.
7244 * wcsmbs/wchar.h: Likewise.
7245 * wctype/wctype.h: Likewise.
7246
0269750c
UD
7247 [BZ #13551]
7248 * Makeconfig: Remove all but ELF support including AIX support.
7249 * Makerules: Likewise.
7250 * config.h.in: Likewise.
7251 * config.make.in: Likewise.
7252 * configure: Likewise.
7253 * configure.in: Likewise.
7254 * csu/Makefile: Likewise.
7255 * csu/version.c: Likewise.
7256 * debug/Makefile: Likewise.
7257 * dlfcn/Makefile: Likewise.
7258 * elf/Makefile: Likewise.
7259 * extra-lib.mk: Likewise.
7260 * iconv/Makefile: Likewise.
7261 * include/libc-symbols.h: Likewise.
7262 * include/shlib-compat.h: Likewise.
7263 * resolv/Makefile: Likewise.
7264 * resolv/res_libc.c: Likewise.
7265 * rt/Makefile: Likewise.
7266 * sysdeps/i386/asm-syntax.h: Likewise.
7267 * sysdeps/i386/sysdep.h: Likewise.
7268 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7269 * sysdeps/mach/sysdep.h: Likewise.
7270 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7271 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7272 * sysdeps/s390/asm-syntax.h: Likewise.
7273 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7275 * sysdeps/sh/sysdep.h: Likewise.
7276 * sysdeps/unix/sparc/sysdep.h: Likewise.
7277 * sysdeps/wordsize-32/divdi3.c: Likewise.
7278 * sysdeps/x86_64/sysdep.h: Likewise.
7279
00bbd29b
UD
7280 * argp/Versions: Remove _argp_unlock_xxx.
7281
7282 [BZ #13559]
7283 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7284 * abilist/libBrokenLocale.abilist: Likewise.
7285 * abilist/libanl.abilist: Likewise.
7286 * abilist/libc.abilist: Likewise.
7287 * abilist/libcrypt.abilist: Likewise.
7288 * abilist/libdl.abilist: Likewise.
7289 * abilist/libm.abilist: Likewise.
7290 * abilist/libnsl.abilist: Likewise.
7291 * abilist/libpthread.abilist: Likewise.
7292 * abilist/libresolv.abilist: Likewise.
7293 * abilist/librt.abilist: Likewise.
7294 * abilist/libthread_db.abilist: Likewise.
7295 * abilist/libutil.abilist: Likewise.
7296 * abilist/libnss_db.abilist: New file.
7297
7298 * scripts/abilist.awk: Add support for indirect functions.
7299
a2693a0e
UD
7300 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7301
3f05895f
UD
7302 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7303
ecb6fb48
UD
7304 * shlib-versions: Remove entries for ports architectures.
7305
664f8cb9
UD
7306 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7307 files in ports.
7308 * elf/stackguard-macros.h: Remove support for IA-64.
7309 * elf/tst-auditmod1.c: Likewise.
7310 * sysdeps/generic/ldsodefs.h: Likewise.
7311
7ae81d88
UD
7312 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7313 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7314 configure files.
7315
bdeba135
UD
7316 [BZ #13552]
7317 * configure.in: Remove --enable-omitfp support.
7318 * FAQ.in: Adjust.
7319 * config.make.in: Likewise.
7320 * Makeconfig: Likewise.
7321 * manual/install.texi: Likewise.
7322
d75a0a62
UD
7323 In case anyone cares, the IA-64 architecture could move to ports.
7324 * sysdeps/ia64/*: Removed.
7325 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7326 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7327
dcc9756b
UD
7328 [BZ #13555]
7329 * configure.in: Remove entries for unsupported architectures.
7330
d3761ebc 7331 [BZ #13533]
9954432e
UD
7332 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7333 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7334 routines.
7335 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7336 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7337 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7338 fall back to using wcrtomb.
7339 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7340 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7341 renaming.
7342 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7343 * wcsmbs/tst-c16c32-1.c: New file.
7344
7345 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7346 local variable.
7347
c3a87236
UD
7348 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7349
28926a1b
UD
7350 * elf/tst-unique3.cc: Add explicit declaration of gets.
7351 * elf/tst-unique3lib.cc: Likewise.
7352 * elf/tst-unique3lib2.cc: Likewise.
7353 * elf/tst-unique4.cc: Likewise.
7354
df78418a
UD
7355 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7356
8ecd6b2a
JM
73572012-01-06 Joseph Myers <joseph@codesourcery.com>
7358
7359 [BZ #13566]
7360 * assert/assert.h (static_assert): Don't define for C++.
7361 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7362 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7363
9f115170
UD
73642012-01-03 Ulrich Drepper <drepper@gmail.com>
7365
5e0d0300
UD
7366 * iconv/loop.c (single loop): Fix assertion in storing of
7367 remaining bytes.
7368
9f115170
UD
7369 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7370
81fb02b0
UD
73712012-01-01 Ulrich Drepper <drepper@gmail.com>
7372
7373 * posix/getconf.c: Update copyright year.
7374 * nss/getent.c: Likewise.
a316c1f6 7375 * nss/makedb.c: Likewise.
81fb02b0
UD
7376 * iconv/iconvconfig.c: Likewise.
7377 * iconv/iconv_prog.c: Likewise.
7378 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7379 * elf/pldd.c: Likewise.
7380 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7381 * catgets/gencat.c: Likewise.
7382 * csu/version.c: Likewise.
7383 * elf/ldd.bash.in: Likewise.
7384 * elf/sprof.c (print_version): Likewise.
7385 * locale/programs/locale.c: Likewise.
7386 * locale/programs/localedef.c: Likewise.
a316c1f6 7387 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7388 * nscd/nscd.c (print_version): Likewise.
7389 * debug/xtrace.sh: Likewise.
7390 * malloc/memusage.sh: Likewise.
7391 * malloc/mtrace.pl: Likewise.
7392 * debug/catchsegv.sh: Likewise.
7393
2ba92745
JJ
73942011-12-30 Jakub Jelinek <jakub@redhat.com>
7395
7396 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7397 pure attribute.
7398
dadebdae
UD
73992011-12-24 Ulrich Drepper <drepper@gmail.com>
7400
d3761ebc 7401 [BZ #13533]
db6af3eb
UD
7402 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7403 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7404 transformations.
7405 * iconv/gconv_int.h: Likewise.
7406 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7407 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7408 from libc for GLIBC_2.16.
7409 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7410 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7411 * wcsmbs/uchar.h: Really define mbstate_t.
7412 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7413 * wcsmbs/c16rtomb.c: New file.
7414 * wcsmbs/mbrtoc16.c: New file.
7415 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7416 for C/POSIX locale.
7417 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7418 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7419
dadebdae
UD
7420 * wcsmbs/wchar.h: Add missing __restrict.
7421
67371b56
UD
74222011-12-23 Ulrich Drepper <drepper@gmail.com>
7423
74033a25
UD
7424 [BZ #13532]
7425 * time/Makefile (routines): Add timespec_get.
7426 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7427 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7428 timespec for ISO C11.
7429 * time/timespec_get.c: New file.
7430 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7431 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7432
380d7e87
UD
7433 [BZ #13531]
7434 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7435 * stdlib/stdlib.h: Declare aligned_alloc.
7436 * Versions.def: Add GLIBC_2.16 for libc.
7437 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7438
4e9e7a35
UD
7439 [BZ 13527]
7440 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7441 ISO C11.
7442
380d7e87 7443 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7444 code.
7445
03a71829
UD
7446 [BZ #13528]
7447 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7448
839e283e
UD
7449 [BZ #13529]
7450 * assert/assert.h (static_assert): Define.
7451
ce5294e2 7452 * version.h: Update for 2.16 development version.
90fa7312 7453
8d44e150 7454 [BZ #13526]
d7809905
UD
7455 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7456 _ISOC11_SOURCE.
7457
c0da14cd
UD
7458 * version.h (RELEASE): Bump for 2.15 release.
7459 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7460
530a3249
MP
7461 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7462 Patch by Marek Polacek <mpolacek@redhat.com>.
7463
67371b56
UD
7464 * bits/byteswap.h: Protect long long constants with __extension__.
7465 * sysdeps/i386/bits/byteswap.h: Likewise.
7466 * sysdeps/ia64/bits/byteswap.h: Likewise.
7467 * sysdeps/s390/bits/byteswap.h: Likewise.
7468 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7469
15db4de1
LD
74702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7471
7472 [BZ #13540]
bbe315ea
LD
7473 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7474 destination buffer.
15db4de1
LD
7475 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7476
2b2596b1
MP
74772011-12-23 Marek Polacek <polacek@redhat.com>
7478
7479 * elf/dl-addr.c (determine_info): Add inline keyword.
7480 * elf/tst-auditmod4b.c (check_avx): Likewise.
7481 * elf/tst-auditmod6b.c (check_avx): Likewise.
7482 * elf/tst-auditmod6c.c (check_avx): Likewise.
7483 * elf/tst-auditmod7b.c (check_avx): Likewise.
7484
70c6c246
UD
74852011-12-23 Ulrich Drepper <drepper@gmail.com>
7486
7487 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7488 !__SSE_MATH__.
7489
c044cf14
LD
74902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7491
15db4de1 7492 [BZ #13540]
c044cf14
LD
7493 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7494 processing for last bytes.
7495
6b13d9d9
BH
74962011-08-06 Bruno Haible <bruno@clisp.org>
7497
d455f537
BH
7498 [BZ #13061]
7499 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7500 U+0385, not to U+1FEE.
7501
6b13d9d9
BH
7502 [BZ #13062]
7503 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7504 entry for U+00A5 U+0301.
7505
db910efd
UD
75062011-12-22 Ulrich Drepper <drepper@gmail.com>
7507
27deeafc
UD
7508 [BZ #13166]
7509 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7510 buffer for the output is too small.
7511
aed9d171
UD
7512 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7513 optimization.
7514
db910efd
UD
7515 [BZ #13185]
7516 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7517 SSE flags if possible.
7518
2bd779ae
LD
75192011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7520
e7f9dac3 7521 [BZ #13540]
2bd779ae
LD
7522 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7523 processing for last bytes.
7524
154bfc16
JM
75252011-12-22 Joseph Myers <joseph@codesourcery.com>
7526
7527 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7528 (syscall-list-default-options, syscall-list-default-condition)
7529 (syscall-list-includes): Define.
7530 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7531 list of ABIs and options and #if conditions for each ABI. Do not
7532 handle common syscalls between ABIs specially.
7533 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7534 Remove.
7535 (syscall-list-variants, syscall-list-32bit-options)
7536 (syscall-list-32bit-condition, syscall-list-64bit-options)
7537 (syscall-list-64bit-condition): Define.
7538 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7539 (syscall-list-variants, syscall-list-32bit-options)
7540 (syscall-list-32bit-condition, syscall-list-64bit-options)
7541 (syscall-list-64bit-condition): Define.
7542 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7543 Remove.
7544 (syscall-list-variants, syscall-list-32bit-options)
7545 (syscall-list-32bit-condition, syscall-list-64bit-options)
7546 (syscall-list-64bit-condition): Define.
7547 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7548 Remove.
7549 (syscall-list-variants, syscall-list-32bit-options)
7550 (syscall-list-32bit-condition, syscall-list-64bit-options)
7551 (syscall-list-64bit-condition): Define.
7552
21eaf3a5
UD
75532011-12-22 Ulrich Drepper <drepper@gmail.com>
7554
16c6f992
UD
7555 * locale/iso-639.def: Add brx entry.
7556
41043168
UD
7557 [BZ #13328]
7558 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7559 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7560
21eaf3a5
UD
7561 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7562 __feraiseexcept_renamed.
7563
e3a851a2
UD
75642011-12-21 Ulrich Drepper <drepper@gmail.com>
7565
4920765e
UD
7566 [BZ #13538]
7567 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7568 EPOLLET with unsigned values.
7569 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7570 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7571
e3a851a2
UD
7572 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7573 to large cancellation.
7574 * math/s_cacoshf.c: Likewise.
7575 * math/s_cacoshl.c: Likewise.
7576
b27e24b8
RK
75772011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7578
7579 [BZ #13305]
aebefeee 7580 [BZ #12786]
b27e24b8
RK
7581 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7582 * math/s_cacoshf.c: Likewise.
7583 * math/s_cacoshl.c: Likewise.
7584
ee190f67
UD
75852011-12-21 Ulrich Drepper <drepper@gmail.com>
7586
7587 [BZ #13439]
7588 * iconv/gconv.h: Define __GCONV_SWAP.
7589 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7590 * iconvdata/utf-16.c: Likewise.
7591 * iconvdata/utf-32.c: Likewise.
7592
707f25df
AS
75932011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7594
7595 [BZ #13524]
7596 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7597 numerator after shifting it by one limb.
7598
d2daaa1e
RÁE
75992011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7600
7601 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7602 under [__USE_EXTERN_INLINES].
7603
a4647e72
UD
76042011-12-17 Ulrich Drepper <drepper@gmail.com>
7605
7606 [BZ #13446]
7607 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7608
f0b264f1
AZ
76092011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7610
7611 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7612 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7613 optimized code.
7614 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7615 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7616 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7617 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7618 for strncasecmp/strncasecmp_l compilation.
7619 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7620 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7621
8ef4f244
MP
76222011-12-08 Marek Polacek <mpolacek@redhat.com>
7623
7624 [BZ #13484]
7625 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7626 of __asm__.
7627
97ac2654
UD
76282011-12-17 Ulrich Drepper <drepper@gmail.com>
7629
7630 [BZ #13506]
7631 * time/tzfile.c (__tzfile_read): Check values from file header.
7632
91d2a845
WS
76332011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7634
7635 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7636 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7637 * powerpc/powerpc32/dl-start.S: Likewise.
7638 * powerpc/powerpc32/elf/start.S: Likewise.
7639 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7640 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7641 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7642 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7643 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7644 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7645 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7646 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7647 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7648 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7649 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7650 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7651 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7652 * powerpc/powerpc32/memset.S: Likewise.
7653 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7654 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7655 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7656 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7657 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7658 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7659 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7660 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7661 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7662 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7663 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7664 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7665 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7666
a1267ba1
AZ
76672011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668
7669 * math/libm-test.inc: Added more nearbyint tests.
7670 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7672 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7674
ad8ac1bd
RL
76752011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7676
7677 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7678 FD_CLOEXEC.
7679
1d3e4b61
UD
76802011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7681
7682 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7683 Add wcscpy-ssse3 wcscpy-c.
7684 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7685 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7686 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7687 * sysdeps/x86_64/wcschr.S: New file.
7688 * sysdeps/x86_64/wcsrchr.S: New file.
7689 * string/test-strcmp.c: Remove checking of wcscmp function for
7690 wrong alignments.
7691 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7692 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7693 wcsrchr-sse2 wcsrchr-c.
7694 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7695 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7696 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7697 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7698 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7699 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7700 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7701 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7702 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7703 * wcsmbc/wcschr.c (WCSCHR): New macro.
7704
5b330a2d
UD
77052011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7706
7707 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7708 * wcsmbs/test-wcsrchr.c: New file.
7709 * string/test-strrchr.c: Add wcsrchr support.
7710 (WIDE): New macro.
7711 * wcsmbs/test-wcscpy.c: New file.
7712 * string/test-strcpy.c: Add wcscpy support.
7713 (WIDE): New macro.
26428b7c 7714
f039c043
UD
77152011-12-10 Ulrich Drepper <drepper@gmail.com>
7716
7717 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7718 the inner loop.
7719
850fb039
AS
77202011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7721
7722 [BZ #13472]
7723 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7724
4efbd5cb
UD
77252011-12-04 Ulrich Drepper <drepper@gmail.com>
7726
52ff5dd0 7727 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7728 Minor optimizations.
52ff5dd0 7729
4efbd5cb
UD
7730 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7731 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7732 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7733
8a426e12
UD
77342011-12-03 Ulrich Drepper <drepper@gmail.com>
7735
aff2453d
UD
7736 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7737 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7738 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7739 for gcc to avoid warnings.
7740 * inet/Makefile (tests): Add tst-checks.
7741 * inet/tst-checks.c: New file.
7742
7743 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7744 warning.
7745
7746 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7747 __wmemcmp_sse2.
7748
7749 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7750 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7751
8a426e12
UD
7752 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7753
9bea3473
UD
77542011-12-02 Ulrich Drepper <drepper@gmail.com>
7755
3a965496
UD
7756 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7757 problem.
7758
9bea3473
UD
7759 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7760
f101631b
UD
77612011-11-29 Joseph Myers <joseph@codesourcery.com>
7762
7763 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7764 conditional on GCC version.
7765 (__arch_compare_and_exchange_val_8_acq)
7766 (__arch_compare_and_exchange_val_16_acq)
7767 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7768 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7769 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7770
a98275aa
UD
77712011-12-02 Joseph Myers <joseph@codesourcery.com>
7772
7773 * sysdeps/sh/backtrace.c: New file.
7774
d4cc29a2
AS
77752011-12-02 Andreas Schwab <schwab@redhat.com>
7776
7777 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7778 parenthesis.
7779
6257af2d
AS
77802011-12-01 Andreas Schwab <schwab@redhat.com>
7781
7782 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7783 falling back to utime.
7784
b5f44c1a
AS
77852011-11-30 Andreas Schwab <schwab@redhat.com>
7786
7787 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7788 expectations for float.
7789
f3a6cc0a
AS
77902011-11-29 Andreas Schwab <schwab@redhat.com>
7791
7792 * locale/weight.h (findidx): Add parameter len.
7793 * locale/weightwc.h (findidx): Likewise.
7794 * posix/fnmatch_loop.c (FCT): Adjust caller.
7795 * posix/regcomp.c (build_equiv_class): Likewise.
7796 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7797 * posix/regexec.c (check_node_accept_bytes): Likewise.
7798 * string/strcoll_l.c (STRCOLL): Likewise.
7799 * string/strxfrm_l.c (STRXFRM): Likewise.
7800
9d65ea3a
UD
78012011-11-17 Ulrich Drepper <drepper@gmail.com>
7802
7803 * Makefile.in: Remove CVSOPT handling.
7804 * configure.in: Remove use of AC_REVISION.
7805 * iconvdata/Makefile (distribute): No need to filter out CVS.
7806 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7807 handling.
7808
5583a086
AS
78092011-11-16 Andreas Schwab <schwab@redhat.com>
7810
7811 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7812 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7813 [USE_AS_STRNCASECMP_L]: Likewise.
7814 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7815 NO_TLS_DIRECT_SEG_REFS.
7816 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7817 Fix argument offsets for non-PIC.
7818 [USE_AS_STRNCASECMP_L]: Likewise.
7819 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7820 NO_TLS_DIRECT_SEG_REFS.
7821
d62a8200
UD
78222011-11-15 Ulrich Drepper <drepper@gmail.com>
7823
9d65ea3a 7824 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7825 O_CLOEXEC.
7826 * locale/loadlocale.c (_nl_load_locale): Likewise.
7827
09f93bd3
AS
78282011-11-15 Andreas Schwab <schwab@redhat.com>
7829
446514f9
AS
7830 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7831 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7832 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7833 (SYSCALL_GETTIME): Set errno on error.
7834
09f93bd3
AS
7835 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7836 count references to noai6ai_cached.
7837
312be3f9
UD
78382011-11-15 Ulrich Drepper <drepper@gmail.com>
7839
7840 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7841
7842 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7843 FD_CLOEXEC for /proc/self/maps.
7844
7845 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7846 FD_CLOEXEC for /proc/meminfo.
7847
7848 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7849 gai.conf.
7850
7851 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7852 FD_CLOEXEC for given file.
7853
7854 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7855
7856 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7857 FD_CLOEXEC for /etc/hosts.
7858 (_gethtent): Likewise.
7859
7860 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7861
7862 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7863 cancellation and set FD_CLOEXEC for /etc/netgroup.
7864
7865 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7866 reading /etc/publickey.
7867
7868 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7869 allow cancellation when reading /etc/group.
7870
7871 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7872 cancellation.
7873 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7874
7875 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7876 when using data file.
7877
7878 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7879
7880 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7881 (write_nis_obj): Use "c" and "e" in fopen.
7882
7883 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7884
7885 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7886
7887 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7888
7889 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7890
7891 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7892 locale.alias.
7893
7894 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7895
7896 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7897
7898 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7899
7900 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7901 file parsing and set FD_CLOEXEC.
7902
82af0fa8
UD
79032011-11-14 Ulrich Drepper <drepper@gmail.com>
7904
7905 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7906
a5fb313c
AS
79072011-11-14 Andreas Schwab <schwab@redhat.com>
7908
7909 * malloc/arena.c (arena_get2): Don't call reused_arena when
7910 _int_new_arena failed.
7911
6abf3465
UD
79122011-11-14 Ulrich Drepper <drepper@gmail.com>
7913
7914 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7915 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7916 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7917 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7918 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7919 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7920 to compile strcasecmp and strncasecmp.
7921 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7922 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7923
7924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
7925
76e3966e
UD
79262011-11-13 Ulrich Drepper <drepper@gmail.com>
7927
7928 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
7929 locale-defines.sym to gen-as-const-headers.
7930 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
7931 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
7932 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
7933 to compile strcasecmp and strncasecmp.
7934 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
7935 strcasecmp_l and strncasecmp_l.
7936 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
7937 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
7938 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
7939 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
7940 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
7941 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
7942 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
7943 * sysdeps/i386/i686/multiarch/strncase.S: New file.
7944 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
7945 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
7946 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
7947
ab26144e
UD
79482011-11-12 Ulrich Drepper <drepper@gmail.com>
7949
7edb22ef
UD
7950 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
7951 result of SYSDEP_GETTIME_CPU to retval.
7952 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
7953 parameter list to macro. Remove trailing semicolon. Adjust users.
7954
9694fc44
UD
7955 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
7956 variable.
7957
8ad89ef8
UD
7958 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
7959 mantissa words.
7960 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
7961
0c822ef9
UD
7962 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
7963 from unused variable.
7964
874e0564
UD
7965 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
7966 DWARF definitions.
7967 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
7968 for assembling.
7969
3a2edc79
UD
7970 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
7971 over namespaces.
7972
f3c2577f
UD
7973 * sunrpc/rpc_prot.c (rejected): Fix case value.
7974
294ce126
UD
7975 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
7976 unsigned long long int to avoid warnings in shift.
7977
5e2b63c6
UD
7978 * posix/regex_internal.c (re_string_reconstruct): Actually use result
7979 of use of trans.
7980 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
7981 variable tmp.
7982
e7f4b08e
UD
7983 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
7984 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7985 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7986
ab26144e
UD
7987 * nis/nis_table.c (nis_list): Use variable of correct type for
7988 result of __follow_path call.
7989
8a6d5255
AZ
79902011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7991
7992 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
7993 of math functions ceil, trunc, floor, round, and sqrt, when
7994 avaliable on the platform.
7995 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
7996 name clash.
7997 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7998 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
7999 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8000
aaddc98c
MP
80012011-10-30 Marek Polacek <mpolacek@redhat.com>
8002
8003 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8004 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8005
95b7042b
RM
80062011-11-11 Roland McGrath <roland@hack.frob.com>
8007
8008 * include/unistd.h: Fix __readlink return type.
8009 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8010
57769839
UD
80112011-11-11 Ulrich Drepper <drepper@gmail.com>
8012
8013 * stdlib/ucontext.h: Undo last change for makecontext.
8014
edc5984d
AS
80152011-11-11 Andreas Schwab <schwab@redhat.com>
8016
98591e58
AS
8017 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8018
edc5984d
AS
8019 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8020 * setjmp/setjmp.h: Mark functions as non-leaf.
8021 * setjmp/bits/setjmp2.h: Likewise.
8022 * stdlib/ucontext.h: Likewise.
8023
77cdc054
AS
80242011-11-10 Andreas Schwab <schwab@redhat.com>
8025
8026 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8027 (reused_arena): Don't check arena limit.
8028 (arena_get2): Atomically check arena limit.
8029
fe72eebd
UD
80302011-11-08 Ulrich Drepper <drepper@gmail.com>
8031
5f078c32
UD
8032 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8033 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8034
fe72eebd
UD
8035 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8036 instructions.
8037
ae1bc2fa
AS
80382011-11-07 Andreas Schwab <schwab@redhat.com>
8039
7583a88d
AS
8040 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8041 handler when locking.
8042
ae1bc2fa
AS
8043 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8044 Fix size of allocated buffer.
8045
10fb0bfa
AS
80462011-11-04 Andreas Schwab <schwab@redhat.com>
8047
998832a4
AS
8048 [BZ #10103]
8049 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8050 declarations for long double functions.
8051 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8052
10fb0bfa
AS
8053 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8054
3d7ba52b
AS
80552011-11-03 Andreas Schwab <schwab@redhat.com>
8056
a9ae54a1
AS
8057 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8058 installed.
8059
3d7ba52b
AS
8060 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8061 is disabled.
8062
bc8db248
ST
80632011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8064
8065 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8066
45b96dd6
AS
80672011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8068
647776f6
AS
8069 * include/alloca.h (stackinfo_alloca_round): Define.
8070 (extend_alloca): Use it.
8071 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8072 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8073 here.
8074
d91a8b93
AS
8075 * scripts/check-local-headers.sh: Ignore libaudit.h.
8076
45b96dd6
AS
8077 * nscd/Makefile (extra-objs): Make recursively expanded.
8078
432d41ce
UD
80792011-11-01 Ulrich Drepper <drepper@gmail.com>
8080
34372fc6
UD
8081 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8082 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8083
fadb59f8
UD
8084 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8085 * posix/tst-rfc3484-2.c: Likewise.
8086 * posix/tst-rfc3484-3.c: Likewise.
8087
78239589
UD
8088 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8089 process_vm_writev.
8090 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8091 process_vm_writev.
8092 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8093 process_vm_writev from libc using GLIBC_2.15 version.
8094
432d41ce
UD
8095 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8096
02f9c6cf
PP
80972011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8098
8099 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8100 stack usage.
8101
3a2c0242
UD
81022011-10-31 Ulrich Drepper <drepper@gmail.com>
8103
f4ec4833
UD
8104 [BZ #13367]
8105 * nss/getent.c (initgroups_keys): Show error message in case no group
8106 names are given.
8107
3a2c0242
UD
8108 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8109 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8110 __bump_nl_timestamp.
8111 * nscd/connections (nscd_init): When host database is served open
8112 netlink socket and request notification about configuration changes.
8113 (main_loop_poll): Track netlink file descriptor and bump timestamp
8114 in case data becomes available.
8115 (main_loop_epoll): Likewise.
8116 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8117 (database_pers_head): Add extra_data fileds.
8118 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8119 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8120 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8121 Adjust caller.
8122 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8123 in6ai data, call __free_in6ai.
8124 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8125 Add -DHAVE_NETLINK.
8126 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8127 interface information. Reuse previous data if netlink timestamp
8128 is not changed.
8129 (__bump_nl_timestamp): New function.
8130 (__free_in6ai): New function.
8131
636064eb
UD
81322011-10-30 Ulrich Drepper <drepper@gmail.com>
8133
8134 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8135 close_not_cancel_no_status here.
8136 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8137
9beb2334
UD
81382011-10-29 Ulrich Drepper <drepper@gmail.com>
8139
6ef76f3b
UD
8140 [BZ #13276]
8141 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8142 return value.
8143
0ffc4f3e 8144 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8145 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8146 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8147
cb95113e
UD
81482011-07-03 Andreas Jaeger <aj@suse.de>
8149
8150 [BZ #10709]
8151 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8152 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8153 * math/libm-test.inc (sin_test): Add test case.
8154
a1b560ff
UD
81552011-10-29 Ulrich Drepper <drepper@gmail.com>
8156
c9aaface
UD
8157 [BZ #13337]
8158 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8159 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8160
d272e7f1
UD
8161 * elf/chroot_canon.c (chroot_canon): Cleanups.
8162
1bc33071
UD
8163 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8164
1760874d
TJ
8165 [BZ #13335]
8166 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8167 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8168
51d91b18
UD
8169 * string/test-strchr.c: Make usable for strchrnul testing.
8170 * string/test-strchrnul.c: New file.
8171 * string/Makefile (strop-tests): Add strchrnul.
8172
a1b560ff 8173 * po/it.po: Update from translation team.
b611fb81 8174 * po/es.po: Likewise.
a1b560ff 8175
a5b81e1f
UD
81762011-10-28 Ulrich Drepper <drepper@gmail.com>
8177
fd52bc6d
UD
8178 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8179 the three constants needed as parameters. Drop the others.
8180 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8181 __m128i_strloadu_tolower.
52e4b9eb
UD
8182 Create and initialize variable zero and use it in all the places
8183 where _mm_setzero_si128 was used.
fd52bc6d 8184
a5b81e1f
UD
8185 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8186 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8187 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8188 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8189 anymore.
8190 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8191 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8192 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8193 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8194 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8195 __mpranred, __mptan.
8196 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8197 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8198 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8199 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8200 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8201 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8202 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8203 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8204 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8205
b4343346
AS
82062011-10-28 Andreas Schwab <schwab@redhat.com>
8207
0c92d8a8
AS
8208 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8209 redefine if SHARED.
8210 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8211
b4343346
AS
8212 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8213 wide char related routines to wcsmbs subdir.
8214
3871f58f
AS
82152011-10-27 Andreas Schwab <schwab@redhat.com>
8216
8217 [BZ #13344]
8218 * misc/sys/cdefs.h (__THROWNL): Define.
8219 * posix/unistd.h: Use __THREADNL instead of __THREAD
8220 for memory synchronization functions.
8221
94d44d9f
RM
82222011-10-26 Roland McGrath <roland@hack.frob.com>
8223
21b64b15 8224 [BZ #13349]
94d44d9f
RM
8225 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8226 doesn't exist.
8227 * manual/stdio.texi (Obstack Streams): Node removed.
8228
f6ce9294
AS
82292011-10-26 Andreas Schwab <schwab@redhat.com>
8230
80479147
AS
8231 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8232 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8233 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8234
f6ce9294
AS
8235 * math/math_private.h (math_force_eval): Allow non-addressable
8236 arguments.
8237 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8238
618280a1
UD
82392011-10-25 Ulrich Drepper <drepper@gmail.com>
8240
e0016b11
UD
8241 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8242 file is not needed.
8243
8244 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8245 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8246 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8247 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8248 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8249 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8250 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8251 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8252 Add AVX variants.
8253 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8254 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8255 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8256 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8257 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8258 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8259 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8260 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8261 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8262 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8263 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8264 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8266 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8269 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8270 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8271 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8272
8273 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8274 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8275
618280a1
UD
8276 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8277 place. Use VEX encoding when compiling for AVX.
8278
37822576
AS
82792011-10-25 Andreas Schwab <schwab@redhat.com>
8280
1f1e1947
AS
8281 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8282 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8283
37822576
AS
8284 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8285
31ea014d
UD
82862011-10-25 Ulrich Drepper <drepper@gmail.com>
8287
d7826aa1 8288 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8289 useless if() expression.
d7826aa1
UD
8290 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8291 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8292 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8293 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8294 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8295 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8296 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8297 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8298 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8299 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8300 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8301 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8302 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8303 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8304 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8305 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8306 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8308 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8309
31ea014d
UD
8310 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8311
16437fec
AS
83122011-10-25 Andreas Schwab <schwab@redhat.com>
8313
8314 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8315 condition.
8316 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8317
31d3cc00
UD
83182011-10-25 Ulrich Drepper <drepper@gmail.com>
8319
8320 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8321 .text section. Avoid duplicate constants.
8322 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8323 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8324 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8325 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8326 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8327 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8328 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8329 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8330 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8331 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8332 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8333 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8334 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8335 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8336 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8337 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8338 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8339 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8340 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8341 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8342 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8343 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8344 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8345 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8346 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8347 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8348 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8349 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8350 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8351 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8352 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8353 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8354 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8355 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8356 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8358 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8360 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8361 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8362 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8363 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8364 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8365 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8366 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8367
58985aa9
UD
83682011-10-24 Ulrich Drepper <drepper@gmail.com>
8369
202c9deb
UD
8370 * sysdeps/x86_64/dla.h: Move to ...
8371 * sysdeps/x86_64/fpu/dla.h: ...here.
8372 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8373 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8374
af968f62
UD
8375 * config.make.in: Add have-mfma4 entry.
8376 * configure.in: Substitute libc_cv_cc_fma4.
8377 * math/Makefile (dbl-only-routines): Add sincostab.
8378 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8379 Use __sincostab not sincos.
8380 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8381 name is a macro.
8382 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8383 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8384 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8385 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8386 using __copysign.
8387 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8388 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8389 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8390 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8391 and __inv.
8392 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8393 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8394 __copysign.
8395 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8396 define aliases when function name is a macro.
8397 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8398 sysdeps/ieee754/dbl-64/sincos.tbl.
8399 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8400 fma4-enabled routines.
8401 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8412 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8414 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8415 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8416 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8417 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8418 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8419 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8420 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8421 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8422 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8423 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8424 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8425 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8426 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8427 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8428 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8429 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8430 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8431
58985aa9
UD
8432 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8433 rename.
8434 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8442
a201fbcf
AS
84432011-10-24 Andreas Schwab <schwab@redhat.com>
8444
8445 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8446
fc2ee42a
LD
84472011-10-23 Ulrich Drepper <drepper@gmail.com>
8448
bb3129bd
UD
8449 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8450
0275fff8
UD
8451 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8452 prediction.
8453 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8454
2fa2ae85
UD
8455 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8456 Remove unused variable magic_bits.
8457 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8458
fc2ee42a
LD
8459 * string/strnlen.c: Define and use STRNLEN macro.
8460 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8461 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8463 * wcsmbs/wcslen.c: Define and use WCSLEN.
8464 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8465 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8466 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8467 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8468 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8469 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8470 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8471
ce7dd29f
LD
84722011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8473
8474 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8475 strnlen-sse2-no-bsf.
8476 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8477 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8478 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8479 Add strnlen support.
8480 (USE_AS_STRNLEN): New macro.
8481 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8482 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8483 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8484 * sysdeps/x86_64/wcslen.S: New file.
8485
979c70a3
MZ
84862011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8487
8488 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8489 XMM-moves are used for copying on small sizes.
8490
2d09f82f
LD
84912011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8492
8493 * wcsmbs/Makefile (strop-tests): Add wcschr.
8494 * wcsmbs/test-wcschr.c: New file.
8495 * string/test-strchr.c: Update.
8496 Add wcschr support.
8497 (WIDE): New macro.
8498
619fccca
LD
84992011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8500
2d09f82f 8501 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8502 * wcsmbs/test-wcslen.c: New file.
8503 * string/test-strlen.c: Update.
8504 Add wcslen support.
8505 (WIDE): New macro.
8506
09f699ea
UD
85072011-10-23 Ulrich Drepper <drepper@gmail.com>
8508
8509 * po/it.po: Update from translation team.
8510
95584d3b
LD
85112011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8512
8513 * sysdeps/x86_64/wcscmp.S: Update.
8514 Fix wrong comparison semantics.
8515 wcscmp shall use signed comparison not unsigned.
8516 Don't use substraction to avoid overflow bug.
8517 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8518 * wcsmbc/wcscmp.c: Likewise.
8519 * string/test-strcmp.c: Likewise.
8520 Add new tests to check cases with negative values.
8521
c8b3296b
UD
85222011-10-23 Ulrich Drepper <drepper@gmail.com>
8523
8524 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8525 * sysdeps/x86_64/dla.h: ...here. New file.
8526 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8527 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8529 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8530 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8531 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8532 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8533 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8534 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8535
246ad57a
AS
85362011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8537
8538 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8539 __ynl_finite aliases.
8540
a1a87169
UD
85412011-10-22 Ulrich Drepper <drepper@gmail.com>
8542
0d355eb7
UD
8543 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8544
a1a87169
UD
8545 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8546 define DLA_FMA.
8547 [DLA_FMA] (EMULV): Use DLA_FMA.
8548 [DLA_FMA] (MUL12): Use EMULV.
8549 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8550 that are not needed.
8551 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8558
ee2aafe0
AS
85592011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8560
8561 * math/s_nan.c: Undef __nan.
8562 * math/s_nanf.c: Undef __nanf.
8563 * math/s_nanl.c: Undef __nanl.
8564 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8565 "math_private.h".
8566
bc62c2fb
UD
85672011-10-22 Ulrich Drepper <drepper@gmail.com>
8568
77425c63
UD
8569 * math/s_catan.c: Add branch predictions.
8570 * math/s_catanf.c: Likewise.
8571 * math/s_catanh.c: Likewise.
8572 * math/s_catanhf.c: Likewise.
8573 * math/s_catanhl.c: Likewise.
8574 * math/s_catanl.c: Likewise.
8575 * math/s_cexp.c: Likewise.
8576 * math/s_cexpf.c: Likewise.
8577 * math/s_cexpl.c: Likewise.
8578 * math/s_clog.c: Likewise.
8579 * math/s_clog10.c: Likewise.
8580 * math/s_clog10f.c: Likewise.
8581 * math/s_clog10l.c: Likewise.
8582 * math/s_clogf.c: Likewise.
8583 * math/s_clogl.c: Likewise.
8584 * math/s_csqrt.c: Likewise.
8585 * math/s_csqrtf.c: Likewise.
8586 * math/s_csqrtl.c: Likewise.
8587 * math/s_ctanf.c: Likewise.
8588 * math/s_ctanh.c: Likewise.
8589 * math/s_ctanhf.c: Likewise.
8590 * math/s_ctanhl.c: Likewise.
8591 * math/s_ctanl.c: Likewise.
8592
bc62c2fb
UD
8593 * math/math_private.h: Define __nan, __nanf, __nanl.
8594 * math/s_cacosh.c: Include <math_private.h>.
8595 * math/s_cacoshl.c: Likewise.
8596 * math/s_casinh.c: Likewise.
8597 * math/s_casinhf.c: Likewise.
8598 * math/s_casinhl.c: Likewise.
8599 * math/s_ccos.c: Rely entire on ccosh.
8600 * math/s_ccosf.c: Rely entire on ccoshf.
8601 * math/s_ccosl.c: Rely entirely on ccoshl.
8602 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8603 Remove tests for FE_INVALID.
8604 * math/s_ccoshf.c: Likewise.
8605 * math/s_ccoshl.c: Likewise.
8606 * math/s_csin.c: Likewise.
8607 * math/s_csinf.c: Likewise.
8608 * math/s_csinh.c Likewise.
8609 * math/s_csinhf.c: Likewise.
8610 * math/s_csinhl.c: Likewise.
8611 * math/s_csinl.c: Likewise.
8612 * math/s_ctan.c: Likewise.
8613 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8614 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8615 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8616
8ec250a4
UD
86172011-10-21 Ulrich Drepper <drepper@gmail.com>
8618
c196fed8
UD
8619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8620 compilation problems.
8621
8ec250a4
UD
8622 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8623 __builtin_expect.
8624
8d4f46c6
UD
86252011-10-20 Ulrich Drepper <drepper@gmail.com>
8626
ed72b654
UD
8627 * sysdeps/i386/configure.in: Test for -mfma4 option.
8628 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8629 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8630 COMMON_CPUID_INDEX_80000001.
8631 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8632 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8633 use it if FMA3 is not supported.
8634 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8635
8d4f46c6
UD
8636 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8637 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8638
d45c60c2
AS
86392011-10-20 Andreas Schwab <schwab@redhat.com>
8640
8641 [BZ #12892]
8642 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8643 it would create a cycle with a link time dependency.
8644
d9a4d2ab
UD
86452011-10-19 Ulrich Drepper <drepper@gmail.com>
8646
855d1560
UD
8647 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8648 instruction.
8649 * string/Makefile (strop-tests): Add rawmemchr.
8650 * string/test-rawmemchr.c: New file.
8651
d9a4d2ab
UD
8652 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8653 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8654 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8655 when compiling str{,n}casecmp and when AVX is available. Hook up
8656 new optimized code in initializers.
8657
8f3b1ffe
AS
86582011-10-19 Andreas Schwab <schwab@redhat.com>
8659
8660 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8661 __feraiseexcept instead of feraiseexcept.
8662
d38f1dba
UD
86632011-10-18 Ulrich Drepper <drepper@gmail.com>
8664
d9a8d0ab
UD
8665 * math/math_private.h: Define defaults for libc_fetestexcept and
8666 libc_feupdateenv.
8667 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8668 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8669 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8670 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8671 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8672 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8673 libc_fetestexcept and libc_feupdateenv.
8674
4855e3dd
UD
8675 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8676 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8677 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8678 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8679 libc_feholdexcept_setround.
8680
581d30e3
UD
8681 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8682 Add s_nearbyint-c and s_nearbyintf-c.
8683 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8684 nearbyintf inlines.
8685 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8687 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8689
d38f1dba
UD
8690 * math/math_private.h: Define defaults for libc_fegetround,
8691 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8692 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8693 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8694 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8695 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8696 standard functions.
8697 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8698 Remove comments and hacks for old compiler versions.
8699 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8700 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8701 libc_feholdexceptl.
8702
caa6c9d8
AS
87032011-10-18 Andreas Schwab <schwab@redhat.com>
8704
8705 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8706 (__feraiseexcept_renamed): Add __NTH.
8707 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8708 namespace violations.
8709
97c066e6
UD
87102011-10-17 Ulrich Drepper <drepper@gmail.com>
8711
99ce7b04
UD
8712 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8713
1004d182
UD
8714 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8715
228a984d
UD
8716 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8717 recently added interfaces.
8718 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8719
c8553a6a
UD
8720 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8721 about macro parameter expansion.
8722
ed22dcf6
UD
8723 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8724 __NO_MATH_INLINES is defined. Cleanups.
8725
8726 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8727 and __floorf is target has SSE4.1.
8728 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8729 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8730 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8731 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8732
b171c137
UD
8733 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8734 name.
8735 (floorf): Likewise.
8736
97c066e6
UD
8737 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8738
629f62ef
AS
87392011-10-17 Andreas Schwab <schwab@redhat.com>
8740
49a43d80
AS
8741 * misc/sys/cdefs.h: Fix last change.
8742
629f62ef
AS
8743 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8744 database lookup.
8745
e453f6cd
UD
87462011-10-16 Ulrich Drepper <drepper@gmail.com>
8747
aa78043a
UD
8748 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8749
ad0f5cad
UD
8750 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8751 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8756 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8757 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8758 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8759 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8760 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8761 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8762 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8763 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8764 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8765 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8766 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8767 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8768 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8769 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8770 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8771 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8772
8773 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8774 ceil, ceilf, floor, floorf.
8775
8776 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8777 Perform IRELATIVE relocations last.
8778
e453f6cd
UD
8779 * elf/do-rel.h: Add another parameter nrelative, replacing the
8780 local variable with the same name. Change name of the function
8781 to end in Rel or Rela (uppercase).
8782 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8783 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8784 elf_dynamic_do_##reloc function.
8785
fd5bdc09
UD
87862011-10-15 Ulrich Drepper <drepper@gmail.com>
8787
79b195b5
UD
8788 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8789 is sufficient, at least on modern CPUs.
8790
d4a28569
UD
8791 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8792
b61099b5
UD
8793 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8794 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8795
bcf01e6d
UD
8796 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8797 __expl_finite.
8798 * math/bits/math-finite.h: Add entries for exp.
8799 * math/e_expl.c: Add __*_finite alias.
8800 * sysdeps/i386/fpu/e_exp.S: Likewise.
8801 * sysdeps/i386/fpu/e_expf.S: Likewise.
8802 * sysdeps/i386/fpu/e_expl.c: Likewise.
8803 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8804 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8805 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8806 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8807 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8808 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8809 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8810
ba1a0d59
UD
8811 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8812 is sufficient, at least on modern CPUs.
8813
fd5bdc09
UD
8814 * ctype/ctype-info.c (__ctype_init): Define.
8815 * include/ctype.h (__ctype_init): Declare.
8816 (__ctype_b_loc): The variable is always initialized.
8817 (__ctype_toupper_loc): Likewise.
8818 (__ctype_tolower_loc): Likewise.
8819 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8820 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8821
7872cfb0
AS
88222011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8823
b468825a
AS
8824 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8825
7872cfb0
AS
8826 * configure.in: Also look in $cxxmachine/include for C++ system
8827 headers.
8828
be13f7bf
LD
88292011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8830
8831 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8832 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8833 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8834 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8835 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8836 (USE_AS_WMEMCMP): New macro.
8837 Fixing indents.
8838 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8839 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8840 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8841 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8843 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8844 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8845 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8846 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8847 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8849 (USE_AS_WMEMCMP): New macro.
8850 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8851 * sysdeps/string/test-memcmp.c: Update.
8852 Fix simple_wmemcmp.
8853 Add new tests.
8854 * wcsmbs/wmemcmp.c: Update.
8855 (WMEMCMP): New macro.
8856 Fix overflow bug.
8857
556a2007
AJ
88582011-10-12 Andreas Jaeger <aj@suse.de>
8859
8860 [BZ #13268]
8861 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8862
538faaa7
UD
88632011-10-15 Ulrich Drepper <drepper@gmail.com>
8864
ab6737ff
UD
8865 * libio/iofwide.c (do_length): Avoid warning.
8866
538faaa7
UD
8867 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8868
396a21b1
UD
88692011-10-14 Ulrich Drepper <drepper@gmail.com>
8870
cdf2901f
UD
8871 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8872
38ad40ce
UD
8873 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8874 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8875 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8876 * sysdeps/i386/i686/fpu/e_log.S: New file.
8877 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8878 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8879
396a21b1
UD
8880 * ctype/ctype.h: Add support for inlined isXXX functions when
8881 compiling C++ code.
8882
6b1f68c9
AS
88832011-10-14 Andreas Schwab <schwab@redhat.com>
8884
349290c0
AS
8885 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8886
6b1f68c9
AS
8887 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8888
f2282d42
RM
88892011-10-13 Roland McGrath <roland@hack.frob.com>
8890
8891 [BZ #13291]
8892 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8893
5298ffa8
AS
88942011-10-13 Andreas Schwab <schwab@redhat.com>
8895
714fad23
AS
8896 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8897 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8898 feraiseexcept.
8899
81dcc7fb
AS
8900 * sysdeps/x86_64/memrchr.S: Check for zero size.
8901
5298ffa8
AS
8902 * string/stratcliff.c: Add memrchr tests.
8903
951fbcec
LD
89042011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8905
8906 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8907 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8908 rawmemchr-sse2 rawmemchr-sse2-bsf.
8909 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8910 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8911 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8912 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8913 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8914 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8915 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8916 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8917 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8919 * string/memrchr.c (MEMRCHR): New macro.
8920
0ac5ae23
UD
89212011-10-12 Ulrich Drepper <drepper@gmail.com>
8922
8923 Add integration with gcc's -ffinite-math-only and optimize wrapper
8924 functions in libm.
8925 * Versions.def: Define GLIBC_2.15 version for libm.
8926 * math/Makefile (headers): Add bits/math-finite.h.
8927 * math/bits/math-finite.h: New file.
8928 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
8929 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
8930 * math/e_acoshl.c: Add __*_finite alias.
8931 * math/e_acosl.c: Likewise.
8932 * math/e_asinl.c: Likewise.
8933 * math/e_atan2l.c: Likewise.
8934 * math/e_atanhl.c: Likewise.
8935 * math/e_coshl.c: Likewise.
8936 * math/e_exp10.c: Likewise.
8937 * math/e_exp10f.c: Likewise.
8938 * math/e_exp10l.c: Likewise.
8939 * math/e_exp2l.c: Likewise.
8940 * math/e_fmodl.c: Likewise.
8941 * math/e_gammal_r.c: Likewise.
8942 * math/e_hypotl.c: Likewise.
8943 * math/e_j0l.c: Likewise.
8944 * math/e_j1l.c: Likewise.
8945 * math/e_jnl.c: Likewise.
8946 * math/e_lgammal_r.c: Likewise.
8947 * math/e_log10l.c: Likewise.
8948 * math/e_log2l.c: Likewise.
8949 * math/e_logl.c: Likewise.
8950 * math/e_powl.c: Likewise.
8951 * math/e_sinhl.c: Likewise.
8952 * math/e_sqrtl.c: Likewise.
8953 * math/e_scalb.c: Completely rewritten and optimized.
8954 * math/e_scalbf.c: Likewise.
8955 * math/e_scalbl.c: Likewise.
8956 * math/w_acos.c: Likewise.
8957 * math/w_acosf.c: Likewise.
8958 * math/w_acosl.c: Likewise.
8959 * math/w_acosh.c: Likewise.
8960 * math/w_acoshf.c: Likewise.
8961 * math/w_acoshl.c: Likewise.
8962 * math/w_asin.c: Likewise.
8963 * math/w_asinf.c: Likewise.
8964 * math/w_asinl.c: Likewise.
8965 * math/w_atan2.c: Likewise.
8966 * math/w_atan2f.c: Likewise.
8967 * math/w_atan2l.c: Likewise.
8968 * math/w_atanh.c: Likewise.
8969 * math/w_atanhf.c: Likewise.
8970 * math/w_atanhl.c: Likewise.
8971 * math/w_exp10.c: Likewise.
8972 * math/w_exp10f.c: Likewise.
8973 * math/w_exp10l.c: Likewise.
8974 * math/w_fmod.c: Likewise.
8975 * math/w_fmodf.c: Likewise.
8976 * math/w_fmodl.c: Likewise.
8977 * math/w_j0.c: Likewise.
8978 * math/w_j0f.c: Likewise.
8979 * math/w_j0l.c: Likewise.
8980 * math/w_j1.c: Likewise.
8981 * math/w_j1f.c: Likewise.
8982 * math/w_j1l.c: Likewise.
8983 * math/w_jn.c: Likewise.
8984 * math/w_jnf.c: Likewise.
8985 * math/w_log.c: Likewise.
8986 * math/w_logf.c: Likewise.
8987 * math/w_logl.c: Likewise.
8988 * math/w_log10.c: Likewise.
8989 * math/w_log10f.c: Likewise.
8990 * math/w_log10l.c: Likewise.
8991 * math/w_log2.c: Likewise.
8992 * math/w_log2f.c: Likewise.
8993 * math/w_log2l.c: Likewise.
8994 * math/w_pow.c: Likewise.
8995 * math/w_powf.c: Likewise.
8996 * math/w_powl.c: Likewise.
8997 * math/w_remainder.c: Likewise.
8998 * math/w_remainderf.c: Likewise.
8999 * math/w_remainderl.c: Likewise.
9000 * math/w_scalb.c: Likewise.
9001 * math/w_scalbf.c: Likewise.
9002 * math/w_scalbl.c: Likewise.
9003 * math/w_sqrt.c: Likewise.
9004 * math/w_sqrtf.c: Likewise.
9005 * math/w_sqrtl.c: Likewise.
9006 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9007 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9008 used.
9009 * math/math_private.h: Declare __kernel_standard_f.
9010 * math/w_cosh.c: Remove cruft and optimize a bit.
9011 * math/w_coshf.c: Likewise.
9012 * math/w_coshl.c: Likewise.
9013 * math/w_exp2.c: Likewise.
9014 * math/w_exp2f.c: Likewise.
9015 * math/w_exp2l.c: Likewise.
9016 * math/w_hypot.c: Likewise.
9017 * math/w_hypotf.c: Likewise.
9018 * math/w_hypotl.c: Likewise.
9019 * math/w_lgamma.c: Likewise.
9020 * math/w_lgamma_r.c: Likewise.
9021 * math/w_lgammaf.c: Likewise.
9022 * math/w_lgammaf_r.c: Likewise.
9023 * math/w_lgammal.c: Likewise.
9024 * math/w_lgammal_r.c: Likewise.
9025 * math/w_sinh.c: Likewise.
9026 * math/w_sinhf.c: Likewise.
9027 * math/w_sinhl.c: Likewise.
9028 * math/w_tgamma.c: Likewise.
9029 * math/w_tgammaf.c: Likewise.
9030 * math/w_tgammal.c: Likewise.
9031 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9032 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9033 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9034 Minor optimizations. Pretty printing. Remove cruft.
9035 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9036 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9037 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9038 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9039 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9040 * sysdeps/i386/fpu/e_asin.S: Likewise.
9041 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9042 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9043 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9044 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9045 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9046 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9047 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9048 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9049 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9050 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9051 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9052 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9053 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9054 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9055 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9056 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9057 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9058 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9059 * sysdeps/i386/fpu/e_log.S: Likewise.
9060 * sysdeps/i386/fpu/e_log10.S: Likewise.
9061 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9062 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9063 * sysdeps/i386/fpu/e_log2.S: Likewise.
9064 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9065 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9066 * sysdeps/i386/fpu/e_logf.S: Likewise.
9067 * sysdeps/i386/fpu/e_logl.S: Likewise.
9068 * sysdeps/i386/fpu/e_pow.S: Likewise.
9069 * sysdeps/i386/fpu/e_powf.S: Likewise.
9070 * sysdeps/i386/fpu/e_powl.S: Likewise.
9071 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9072 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9073 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9074 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9075 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9076 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9077 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9078 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9079 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9080 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9081 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9082 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9084 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9086 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9087 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9088 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9089 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9090 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9091 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9092 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9093 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9094 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9095 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9101 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9102 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9103 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9104 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9105 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9106 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9107 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9108 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9109 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9110 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9111 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9112 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9113 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9114 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9115 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9116 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9117 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9118 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9119 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9120 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9121 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9122 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9123 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9124 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9125 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9126 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9127 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9128 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9129 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9130 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9131 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9132 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9133 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9135 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9136 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9137 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9138 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9140 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9141 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9142 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9143 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9144 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9147 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9148 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9149 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9150 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9152 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9153 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9154 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9155 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9156 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9157 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9158 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9159 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9160 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9161 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9163 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9164 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9165 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9166 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9168 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9169 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9171 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9172 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9173 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9174 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9175 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9176 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9177 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9178 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9179 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9180 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9181 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9182 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9183 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9184 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9185 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9186 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9187 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9188 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9189 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9190 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9191 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9192 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9193 (__isnanf): Likewise.
9194 (__isinf_ns): Likewise.
9195 (__isinf_nsf): Likewise.
9196 (__finite): Likewise.
9197 (__finitef): Likewise.
9198 (__ieee754_sqrt): Define as macro.
9199 (__ieee754_sqrtf): Define as macro.
9200 (__ieee754_sqrtl): Define as macro.
9201 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9202 inlined copy.
9203 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9204 __FINITE_MATH_ONLY__ consistent.
9205 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9206
12cc2fcd
AS
92072011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9208
a843a204
AS
9209 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9210 of rawmemchr.
9211
12cc2fcd
AS
9212 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9213
c853acd5
UD
92142011-10-09 Ulrich Drepper <drepper@gmail.com>
9215
9216 * po/ja.po: Update from translation team.
9217
c658d255
RM
92182011-10-08 Roland McGrath <roland@hack.frob.com>
9219
110946e4
RM
9220 * locale/programs/locarchive.c (prepare_address_space): New function.
9221 (create_archive, enlarge_archive, open_archive): Use it.
9222
50604220
RM
9223 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9224 inside [SHARED], where it is used.
9225
c658d255
RM
9226 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9227
9228 * nss/getent.c (netgroup_keys): Remove unused variable.
9229 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9230
6a621eb7
UD
92312011-10-08 Ulrich Drepper <drepper@gmail.com>
9232
7edb55ce
UD
9233 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9234 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9235 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9236 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9237 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9238 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9239 * math/Makefile (libm-calls): Add s_isinf_ns.
9240 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9241 * math/multc3.c: Likewise.
9242 * math/s_casin.c: Likewise.
9243 * math/s_casinf.c: Likewise.
9244 * math/s_casinl.c: Likewise.
9245 * math/s_ccos.c: Likewise.
9246 * math/s_ccosf.c: Likewise.
9247 * math/s_ccosl.c: Likewise.
9248 * math/s_ctan.c: Likewise.
9249 * math/s_ctanf.c: Likewise.
9250 * math/s_ctanh.c: Likewise.
9251 * math/s_ctanhf.c: Likewise.
9252 * math/s_ctanhl.c: Likewise.
9253 * math/s_ctanl.c: Likewise.
9254 * math/w_fmod.c: Likewise.
9255 * math/w_fmodf.c: Likewise.
9256 * math/w_fmodl.c: Likewise.
9257 * math/w_remainder.c: Likewise.
9258 * math/w_remainderf.c: Likewise.
9259 * math/w_remainderl.c: Likewise.
9260 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9261 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9262 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9263 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9264 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9265 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9266 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9267 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9268
187da0ae
UD
9269 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9270 of the number.
9271 * stdio-common/printf_fphex.c: Likewise.
9272 * stdio-common/printf_size.c: Likewise.
9273
9277c064
UD
9274 * math/e_exp10.c: Include math_private.h using <...> not "...".
9275 * math/e_exp10f.c: Likewise.
9276 * math/e_exp10l.c: Likewise.
9277 * math/e_exp2l.c: Likewise.
9278 * math/e_j0l.c: Likewise.
9279 * math/e_j1l.c: Likewise.
9280 * math/e_jnl.c: Likewise.
9281 * math/e_lgammal_r.c: Likewise.
9282 * math/e_rem_pio2l.c: Likewise.
9283 * math/e_scalb.c: Likewise.
9284 * math/e_scalbf.c: Likewise.
9285 * math/e_scalbl.c: Likewise.
9286 * math/k_cosl.c: Likewise.
9287 * math/k_sinl.c: Likewise.
9288 * math/k_tanl.c: Likewise.
9289 * math/s_cacoshf.c: Likewise.
9290 * math/s_catan.c: Likewise.
9291 * math/s_catanf.c: Likewise.
9292 * math/s_catanh.c: Likewise.
9293 * math/s_catanhf.c: Likewise.
9294 * math/s_catanhl.c: Likewise.
9295 * math/s_catanl.c: Likewise.
9296 * math/s_ccosh.c: Likewise.
9297 * math/s_ccoshf.c: Likewise.
9298 * math/s_ccoshl.c: Likewise.
9299 * math/s_cexp.c: Likewise.
9300 * math/s_cexpf.c: Likewise.
9301 * math/s_cexpl.c: Likewise.
9302 * math/s_clog.c: Likewise.
9303 * math/s_clog10.c: Likewise.
9304 * math/s_clog10f.c: Likewise.
9305 * math/s_clog10l.c: Likewise.
9306 * math/s_clogf.c: Likewise.
9307 * math/s_clogl.c: Likewise.
9308 * math/s_csin.c: Likewise.
9309 * math/s_csinf.c: Likewise.
9310 * math/s_csinh.c: Likewise.
9311 * math/s_csinhf.c: Likewise.
9312 * math/s_csinhl.c: Likewise.
9313 * math/s_csinl.c: Likewise.
9314 * math/s_csqrt.c: Likewise.
9315 * math/s_csqrtf.c: Likewise.
9316 * math/s_csqrtl.c: Likewise.
9317 * math/s_ctan.c: Likewise.
9318 * math/s_ctanf.c: Likewise.
9319 * math/s_ctanh.c: Likewise.
9320 * math/s_ctanhf.c: Likewise.
9321 * math/s_ctanhl.c: Likewise.
9322 * math/s_ctanl.c: Likewise.
9323 * math/s_ldexp.c: Likewise.
9324 * math/s_ldexpf.c: Likewise.
9325 * math/s_ldexpl.c: Likewise.
9326 * math/s_significand.c: Likewise.
9327 * math/s_significandf.c: Likewise.
9328 * math/s_significandl.c: Likewise.
9329 * math/w_acos.c: Likewise.
9330 * math/w_acosf.c: Likewise.
9331 * math/w_acosh.c: Likewise.
9332 * math/w_acoshf.c: Likewise.
9333 * math/w_acoshl.c: Likewise.
9334 * math/w_acosl.c: Likewise.
9335 * math/w_asin.c: Likewise.
9336 * math/w_asinf.c: Likewise.
9337 * math/w_asinl.c: Likewise.
9338 * math/w_atan2.c: Likewise.
9339 * math/w_atan2f.c: Likewise.
9340 * math/w_atan2l.c: Likewise.
9341 * math/w_atanh.c: Likewise.
9342 * math/w_atanhf.c: Likewise.
9343 * math/w_atanhl.c: Likewise.
9344 * math/w_cosh.c: Likewise.
9345 * math/w_coshf.c: Likewise.
9346 * math/w_coshl.c: Likewise.
9347 * math/w_dremf.c: Likewise.
9348 * math/w_exp10.c: Likewise.
9349 * math/w_exp10f.c: Likewise.
9350 * math/w_exp10l.c: Likewise.
9351 * math/w_exp2.c: Likewise.
9352 * math/w_exp2f.c: Likewise.
9353 * math/w_fmod.c: Likewise.
9354 * math/w_fmodf.c: Likewise.
9355 * math/w_fmodl.c: Likewise.
9356 * math/w_hypot.c: Likewise.
9357 * math/w_hypotf.c: Likewise.
9358 * math/w_hypotl.c: Likewise.
9359 * math/w_j0.c: Likewise.
9360 * math/w_j0f.c: Likewise.
9361 * math/w_j0l.c: Likewise.
9362 * math/w_j1.c: Likewise.
9363 * math/w_j1f.c: Likewise.
9364 * math/w_j1l.c: Likewise.
9365 * math/w_jn.c: Likewise.
9366 * math/w_jnf.c: Likewise.
9367 * math/w_jnl.c: Likewise.
9368 * math/w_lgamma.c: Likewise.
9369 * math/w_lgamma_r.c: Likewise.
9370 * math/w_lgammaf.c: Likewise.
9371 * math/w_lgammaf_r.c: Likewise.
9372 * math/w_lgammal.c: Likewise.
9373 * math/w_lgammal_r.c: Likewise.
9374 * math/w_log.c: Likewise.
9375 * math/w_log10.c: Likewise.
9376 * math/w_log10f.c: Likewise.
9377 * math/w_log10l.c: Likewise.
9378 * math/w_log2.c: Likewise.
9379 * math/w_log2f.c: Likewise.
9380 * math/w_log2l.c: Likewise.
9381 * math/w_logf.c: Likewise.
9382 * math/w_logl.c: Likewise.
9383 * math/w_pow.c: Likewise.
9384 * math/w_powf.c: Likewise.
9385 * math/w_powl.c: Likewise.
9386 * math/w_remainder.c: Likewise.
9387 * math/w_remainderf.c: Likewise.
9388 * math/w_remainderl.c: Likewise.
9389 * math/w_scalb.c: Likewise.
9390 * math/w_scalbf.c: Likewise.
9391 * math/w_scalbl.c: Likewise.
9392 * math/w_sinh.c: Likewise.
9393 * math/w_sinhf.c: Likewise.
9394 * math/w_sinhl.c: Likewise.
9395 * math/w_sqrt.c: Likewise.
9396 * math/w_sqrtf.c: Likewise.
9397 * math/w_sqrtl.c: Likewise.
9398 * math/w_tgamma.c: Likewise.
9399 * math/w_tgammaf.c: Likewise.
9400 * math/w_tgammal.c: Likewise.
9401
6a621eb7
UD
9402 * po/ja.po: Update from translation team.
9403
bf582445
AJ
94042011-09-29 Andreas Jaeger <aj@suse.de>
9405
f9efbf3a
AJ
9406 [BZ #13179]
9407 * sunrpc/netname.c (netname2host): Fix logic.
9408
bf582445
AJ
9409 [BZ #6779]
9410 [BZ #6783]
9411 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9412 correctly.
9413 * math/w_remainder.c (__remainder): Likewise.
9414 * math/w_remainderf.c (__remainderf): Likewise.
9415 * math/libm-test.inc (remainder_test): Add test cases.
9416
48693bea
AK
94172011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9418
9419 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9420 sdiv_qrnnd.
9421
42622229
LD
94222011-10-07 Ulrich Drepper <drepper@gmail.com>
9423
9424 * string/test-memcmp.c: Avoid unncessary #defines.
9425 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9426
093ecf92
LD
94272011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9428
9429 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9430 Use new sse2 version for core i3 - i7 as it's faster
9431 than sse42 version.
9432 (bit_Prefer_PMINUB_for_stringop): New.
9433 * sysdeps/x86_64/rawmemchr.S: Update.
9434 Replace with faster SSE2 version.
9435 * sysdeps/x86_64/memrchr.S: New file.
9436 * sysdeps/x86_64/memchr.S: Update.
9437 Replace with faster SSE2 version.
9438
fde56e5c
MP
94392011-09-12 Marek Polacek <mpolacek@redhat.com>
9440
9441 * elf/dl-load.c (lose): Add cast to avoid warning.
9442
21fd49a9
UD
94432011-10-07 Ulrich Drepper <drepper@gmail.com>
9444
5a06e643
UD
9445 * po/ca.po: Update from translation team.
9446
684ae515
UD
9447 * inet/getnetgrent_r.c: Hook up nscd.
9448 * nscd/Makefile (routines): Add nscd_netgroup.
9449 (nscd-modules): Add netgroupcache.
9450 (CFLAGS-netgroupcache.c): Define.
9451 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9452 (cache_search): Add const to second parameter.
9453 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9454 INNETGR.
9455 (dbs): Add netgrdb entry.
9456 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9457 (verify_persistent_db): Handle netgrdb.
9458 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9459 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9460 GETFDNETGR.
9461 (netgroup_response_header): Define.
9462 (innetgroup_response_header): Define.
9463 (datahead): Add netgroup_response_header and innetgroup_response_header
9464 elements.
9465 * nscd/nscd.conf: Add entries for netgroup cache.
9466 * nscd/nscd.h (dbtype): Add netgrdb.
9467 (_PATH_NSCD_NETGROUP_DB): Define.
9468 (netgroup_iov_disabled): Declare.
9469 (xmalloc, xcalloc, xrealloc): Move declarations here.
9470 (cache_search): Adjust prototype.
9471 Add netgroup-related prototypes.
9472 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9473 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9474 (__nscd_innetgr): Declare.
9475 * nscd/selinux.c (perms): Use access_vector_t as element type and
9476 add netgroup-related initializers.
9477 * nscd/netgroupcache.c: New file.
9478 * nscd/nscd_netgroup.c: New file.
9479 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9480 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9481 For four parameters use innetgr.
9482 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9483 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9484 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9485 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9486
21fd49a9
UD
9487 * nscd/connections.c (register_traced_file): Don't register file
9488 for disabled databases.
9489
054c0457
UD
94902011-10-06 Ulrich Drepper <drepper@gmail.com>
9491
32b63198
UD
9492 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9493
054c0457
UD
9494 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9495 from tree and freeing node.
9496
64031225
JO
94972011-09-25 Jiri Olsa <jolsa@redhat.com>
9498
9499 * nss/nsswitch.c (__nss_database_lookup): Handle
9500 nss_parse_service_list out of memory case.
9501
0490345c
JO
95022011-09-15 Jiri Olsa <jolsa@redhat.com>
9503
9504 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9505 out of memory case.
9506
3a62d00d
AS
95072011-10-04 Andreas Schwab <schwab@redhat.com>
9508
9509 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9510 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9511 pass it down.
9512 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9513 elf_machine_rela, elf_machine_lazy_rel.
9514 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9515 (ELF_DYNAMIC_DO_REL): Likewise.
9516 (ELF_DYNAMIC_DO_RELA): Likewise.
9517 (ELF_DYNAMIC_RELOCATE): Likewise.
9518 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9519 to ELF_DYNAMIC_DO_REL.
9520 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9521 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9522 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9523 elf_machine_rela.
9524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9525 skip_ifunc, don't call ifunc function if non-zero.
9526 (elf_machine_rela): Likewise.
9527 (elf_machine_lazy_rel): Likewise.
9528 (elf_machine_lazy_rela): Likewise.
9529 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9530 (elf_machine_lazy_rel): Likewise.
9531 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9532 Likewise.
9533 (elf_machine_lazy_rel): Likewise.
9534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9535 Likewise.
9536 (elf_machine_lazy_rel): Likewise.
9537 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9538 (elf_machine_lazy_rel): Likewise.
9539 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9540 (elf_machine_lazy_rel): Likewise.
9541 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9542 (elf_machine_lazy_rel): Likewise.
9543 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9544 (elf_machine_lazy_rel): Likewise.
9545 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9546 (elf_machine_lazy_rel): Likewise.
9547 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9548 (elf_machine_lazy_rel): Likewise.
9549
68577918
UD
95502011-09-28 Ulrich Drepper <drepper@gmail.com>
9551
9552 * nss/nss_files/files-init.c (_nss_files_init): Use static
9553 initialization for all the *_traced_file variables.
9554
68822d74
AS
95552011-09-28 Andreas Schwab <schwab@redhat.com>
9556
9557 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9558
2056100b
RM
95592011-09-27 Roland McGrath <roland@hack.frob.com>
9560
9561 [BZ #13226]
9562 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9563
32c76b63
AS
95642011-09-27 Andreas Schwab <schwab@redhat.com>
9565
9566 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9567 Reread the line before reparsing it.
9568
bf972c9d
AS
95692011-09-26 Andreas Schwab <schwab@redhat.com>
9570
9571 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9572
e057a1b5
JM
95732011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9574 Maxim Kuvyrkov <maxim@codesourcery.com>
9575 Joseph Myers <joseph@codesourcery.com>
9576
9577 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9578 if needed for __stack_chk_guard.
9579
bc7e1c36
RM
95802011-09-19 Roland McGrath <roland@hack.frob.com>
9581
ecb1482f
RM
9582 * sysdeps/posix/spawni.c (script_execute): Always define it.
9583 It will be optimized away if unused.
9584 (maybe_script_execute): New function.
9585 (__spawni): Call it.
9586
bc7e1c36
RM
9587 * Makerules: Don't include tls.make.
9588 (config-tls): Always set to thread.
9589 * tls.make.c: File removed.
9590
1c3b002b
MF
95912011-09-19 Mike Frysinger <vapier@gentoo.org>
9592
9593 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9594 * config.make.in (CPPFLAGS-config): New substituted variable.
9595
2840865d
UD
95962011-09-15 Ulrich Drepper <drepper@gmail.com>
9597
88738eb6
UD
9598 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9599
cbf645a6 9600 [BZ #13192]
2840865d
UD
9601 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9602 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9603
b402e91a
RM
96042011-09-15 Roland McGrath <roland@hack.frob.com>
9605
9606 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9607 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9608 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9609 (CALL_FAIL): Likewise.
9610 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9611 (CALL_FAIL): Macro removed.
9612 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9613
4c1a1f71
UD
96142011-09-15 Ulrich Drepper <drepper@gmail.com>
9615
9616 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9617 for __FINITE_MATH_ONLY__ == 1.
9618
edc121be
AS
96192011-09-15 Andreas Schwab <schwab@redhat.com>
9620
9621 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9622 __ieee754_sqrt instead of sqrt.
9623 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9624 __ieee754_sqrtf instead of sqrtf.
9625 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9626 __floorf instead of floorf.
9627 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9628 __floorf, __truncf instead of floorf, truncf.
9629
cd205654
UD
96302011-09-14 Ulrich Drepper <drepper@gmail.com>
9631
ee4d0315
UD
9632 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9633
cd205654
UD
9634 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9635 __extern_always_inline.
9636 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9637 32-bit.
9638
48b67d71
AS
96392011-09-14 Andreas Schwab <schwab@redhat.com>
9640
9641 * elf/rtld.c (dl_main): Also relocate in dependency order when
9642 doing symbol dependency testing.
9643
1ae12c75
AS
96442011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9645
9646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9647 Always define `refsym'.
9648
995a80df
AS
96492011-09-13 Andreas Schwab <schwab@redhat.com>
9650
e529793b
AS
9651 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9652 (__FD_ELT): Renamed from __FDELT.
9653 * misc/bits/select2.h (__FD_ELT): Likewise.
9654 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9655 __FD_MASK instead of __FDELT, __FDMASK.
9656 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9657 Likewise.
9658 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9659 Likewise.
9660
52d4fef8
AS
9661 * elf/Makefile (gen-ldd): Fix pattern.
9662
995a80df
AS
9663 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9664 (init_tls): Likewise.
9665
8682f8b0
UD
96662011-09-12 Ulrich Drepper <drepper@gmail.com>
9667
9668 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9669
de82006d
AS
96702011-09-12 Andreas Schwab <schwab@redhat.com>
9671
a7c8e6a1
AS
9672 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9673 `struct cmsghdr *' instead of `void *'.
9674 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9675 Likewise.
9676
0f31fe77
AS
96772011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9678
9679 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9680 if non-absolute.
9681 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9682 ldd_rewrite_script.
0f31fe77 9683
32b4c839
UD
96842011-09-11 Ulrich Drepper <drepper@gmail.com>
9685
83cd1420
UD
9686 * configure.in: Remove --with-tls option.
9687 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9688 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9689 out in case it is missing.
9690 * sysdeps/ia64/elf/configure.in: Likewise.
9691 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9692 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9693 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9694 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9695 * sysdeps/sh/elf/configure.in: Likewise.
9696 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9697 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9698 * sysdeps/x86_64/elf/configure.in: Likewise.
9699 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9700 * sysdeps/mach/hurd/tls.h: Likewise.
9701
633f745d
UD
9702 [BZ #13067]
9703 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9704
f318beb8
UD
9705 [BZ #13090]
9706 * configure.in: Fix use of AC_INIT.
9707
32b4c839
UD
9708 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9709
3ce1f295
UD
97102011-09-10 Ulrich Drepper <drepper@gmail.com>
9711
bb016596
UD
9712 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9713 __set_errno.
8e58439c
UD
9714 * malloc/hooks.c: Likewise.
9715
aebae053 9716 [BZ #11929]
02d46fc4
UD
9717 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9718 variables statically.
9719 (narenas): Initialize.
9720 (list_lock): Initialize.
bb016596
UD
9721 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9722 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9723 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9724 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9725 Add initializers to main_arena and mp_.
9726 (malloc_state): Remove pagesize member. Change all users to use
9727 GLRO(dl_pagesize).
9728
9729 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9730 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9731 is always initialized.
9732
22a89187
UD
9733 * malloc/malloc.c: Removed unused configurations and dead code.
9734 * malloc/arena.c: Likewise.
9735 * malloc/hooks.c: Likewise.
02d46fc4 9736 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9737
d063d164
UD
9738 * include/tls.h: Removed. USE___THREAD must always be defined.
9739 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9740 * elf/dl-libc.c: Likewise.
9741 * elf/dl-tsd.c: Likewise.
9742 * include/errno.h: Likewise.
9743 * include/netdb.h: Likewise.
9744 * include/resolv.h: Likewise.
9745 * inet/herrno-loc.c: Likewise.
9746 * inet/herrno.c: Likewise.
9747 * malloc/arena.c: Likewise.
9748 * malloc/hooks.c: Likewise.
9749 * malloc/malloc.c: Likewise.
9750 * resolv/res-state.c: Likewise.
9751 * resolv/res_libc.c: Likewise.
9752 * sysdeps/i386/dl-machine.h: Likewise.
9753 * sysdeps/ia64/dl-machine.h: Likewise.
9754 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9755 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9756 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9757 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9758 * sysdeps/sh/dl-machine.h: Likewise.
9759 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9760 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9761 * sysdeps/unix/i386/sysdep.S: Likewise.
9762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9763 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9764 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9768 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9769 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9770 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9772 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9773 * sysdeps/x86_64/dl-machine.h: Likewise.
9774 * tls.make.c: Likewise.
9775
3ce1f295
UD
9776 * configure.in: Remove --with-__thread option. Make tests for
9777 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9778 tls_model attribute fail if no support is available. Remove
9779 USE_IN_LIBIO.
9780 * Makeconfig: Adjust for dropped configure option. All features are
9781 now mandatory.
9782 * Makerules: Likewise.
9783 * Versions.def: Likewise.
9784 * argp/argp-fmtstream.c: Likewise.
9785 * argp/argp-fmtstream.h: Likewise.
9786 * argp/argp-help.c: Likewise.
9787 * assert/assert.c: Likewise.
9788 * config.h.in: Likewise.
9789 * config.make.in: Likewise.
9790 * configure: Likewise.
9791 * configure.in: Likewise.
9792 * csu/Versions: Likewise.
9793 * csu/init.c: Likewise.
9794 * elf/tst-audit2.c: Likewise.
9795 * elf/tst-tls10.c: Likewise.
9796 * elf/tst-tls10.h: Likewise.
9797 * elf/tst-tls11.c: Likewise.
9798 * elf/tst-tls12.c: Likewise.
9799 * elf/tst-tls14.c: Likewise.
9800 * elf/tst-tlsmod11.c: Likewise.
9801 * elf/tst-tlsmod12.c: Likewise.
9802 * elf/tst-tlsmod13.c: Likewise.
9803 * elf/tst-tlsmod13a.c: Likewise.
9804 * elf/tst-tlsmod14a.c: Likewise.
9805 * elf/tst-tlsmod15b.c: Likewise.
9806 * elf/tst-tlsmod16a.c: Likewise.
9807 * elf/tst-tlsmod16b.c: Likewise.
9808 * elf/tst-tlsmod7.c: Likewise.
9809 * elf/tst-tlsmod8.c: Likewise.
9810 * elf/tst-tlsmod9.c: Likewise.
9811 * gmon/gmon.c: Likewise.
9812 * grp/fgetgrent_r.c: Likewise.
9813 * grp/putgrent.c: Likewise.
9814 * hurd/fopenport.c: Likewise.
9815 * include/libc-symbols.h: Likewise.
9816 * include/tls.h: Likewise.
9817 * intl/gettextP.h: Likewise.
9818 * intl/loadinfo.h: Likewise.
9819 * locale/global-locale.c: Likewise.
9820 * locale/localeinfo.h: Likewise.
9821 * mach/devstream.c: Likewise.
9822 * malloc/arena.c: Likewise.
9823 * malloc/set-freeres.c: Likewise.
9824 * misc/err.c: Likewise.
9825 * misc/getttyent.c: Likewise.
9826 * misc/mntent_r.c: Likewise.
9827 * posix/getopt.c: Likewise.
9828 * posix/wordexp.c: Likewise.
9829 * pwd/fgetpwent_r.c: Likewise.
9830 * resolv/Versions: Likewise.
9831 * resolv/res_hconf.c: Likewise.
9832 * shadow/fgetspent_r.c: Likewise.
9833 * shadow/putspent.c: Likewise.
9834 * stdio-common/printf_fphex.c: Likewise.
9835 * stdio-common/tmpfile.c: Likewise.
9836 * stdlib/abort.c: Likewise.
9837 * stdlib/fmtmsg.c: Likewise.
9838 * sunrpc/auth_unix.c: Likewise.
9839 * sunrpc/clnt_perr.c: Likewise.
9840 * sunrpc/clnt_tcp.c: Likewise.
9841 * sunrpc/clnt_udp.c: Likewise.
9842 * sunrpc/clnt_unix.c: Likewise.
9843 * sunrpc/openchild.c: Likewise.
9844 * sunrpc/svc_simple.c: Likewise.
9845 * sunrpc/svc_tcp.c: Likewise.
9846 * sunrpc/svc_udp.c: Likewise.
9847 * sunrpc/svc_unix.c: Likewise.
9848 * sunrpc/xdr.c: Likewise.
9849 * sunrpc/xdr_array.c: Likewise.
9850 * sunrpc/xdr_rec.c: Likewise.
9851 * sunrpc/xdr_ref.c: Likewise.
9852 * sunrpc/xdr_stdio.c: Likewise.
9853
1248c1c4
PB
98542011-09-09 Ulrich Drepper <drepper@gmail.com>
9855
9856 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9857
98582011-07-03 Andreas Jaeger <aj@suse.de>
9859
9860 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9861 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9862 regenerate with gen-libm-tests.pl.
9863
98642010-05-12 Petr Baudis <pasky@suse.cz>
9865
9866 [BZ #11589]
9867 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9868 around j0() zero points by switching to j1().
9869 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9873
f22e1074
UD
98742011-09-09 Ulrich Drepper <drepper@gmail.com>
9875
f19009c1
UD
9876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9877 instead of 0.
9878 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9879 instead of 0. .
9880 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9881 Patch in part by Pavel Roskin <proski@gnu.org>.
9882
3f8cc204
UD
9883 [BZ #13138]
9884 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9885 realloc.
9886 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9887 Free memory block if necessary.
9888
f22e1074
UD
9889 [BZ #12847]
9890 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9891 be NULL. Don't lock in this case.
9892
0a2349f9
RM
98932011-09-09 Roland McGrath <roland@hack.frob.com>
9894
9895 * elf/elf.h (ELFOSABI_GNU): New macro.
9896 (ELFOSABI_LINUX): Define to that.
9897
f3cdd467
DZ
98982011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9899
9900 * string/strncat.c (strncat): Undef the symbol in case it has been
9901 defined in bits/string.h.
9902
74718d13
UD
99032011-09-09 Ulrich Drepper <drepper@gmail.com>
9904
633e9e0f
UD
9905 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9906
0a2349f9 9907 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9908 link map.
9909
f9924780
AJ
99102011-08-17 Andreas Jaeger <aj@suse.de>
9911
9912 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9913
7f5517aa
PP
99142011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9915 Ian Lance Taylor <iant@google.com>
9916
9917 * math/libm-test.inc (lround_test): New testcase.
9918 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9919
762011fe
UD
99202011-09-08 Ulrich Drepper <drepper@gmail.com>
9921
92963737
UD
9922 * Makefile: Remove support for automatic cvs check-ins.
9923 * Makerules: Likewise.
9924 * config.make.in: Likewise.
9925 * configure.in: Likewise.
9926 * intl/Makefile: Likewise.
9927 * locale/Makefile: Likewise.
9928 * po/Makefile: Likewise.
9929 * posix/Makefile: Likewise.
9930 * sysdeps/gnu/Makefile: Likewise.
9931 * sysdeps/mach/hurd/Makefile: Likewise.
9932 * sysdeps/sparc/sparc32/Makefile: Likewise.
9933
b0727fd8
JS
9934 [BZ #13118]
9935 * posix/Makefile (bug-regex32-ENV): Define.
9936 Patch by John Stanley <jpsinthemix@verizon.net>.
9937
a0f33f99
UD
9938 * misc/Makefile (headers): Add bits/select2.h.
9939 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
9940 * misc/bits/select2.h: New file.
9941 * include/bits/select2.h: New file.
9942 * debug/Makefile (routines): Add fdelt_chk.
9943 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
9944 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
9945 FD_ISSET.
9946 * debug/fdelt_chk.c: New file.
9947
762011fe
UD
9948 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
9949 * wcsmbs/test-wmemcmp.c: Likewise.
9950 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 9951 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
9952
99532011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9954
9955 * string/Makefile (strop-tests): Add memcmp.
9956 * string/test-wmemcmp.c: New file.
9957 * string/test-memcmp.c: Add wmemcmp support.
9958
7f513ec8
RM
99592011-09-08 Roland McGrath <roland@hack.frob.com>
9960
0442afb4
RM
9961 [BZ #13153]
9962 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
9963 2011-07-19 change.
9964
7f513ec8
RM
9965 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
9966 garbage value in a __mach_port_mod_refs call in the cases of the
9967 task-self and thread-self ports.
9968
a12b2239
ST
99692011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9970
9971 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
9972
610f9ab4
AS
99732011-09-08 Andreas Schwab <schwab@redhat.com>
9974
7f513ec8 9975 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 9976
48882a1a
LD
99772011-09-07 Ulrich Drepper <drepper@gmail.com>
9978
b49865be
UD
9979 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
9980
fdc86bc9
UD
9981 * elf/dl-libc.c (dlerror_run): Pass back error code from
9982 dl_catch_error.
9983
c966526a
UD
9984 [BZ #13123]
9985 * elf/dl-load.c (lose): Free l_origin if it is valid.
9986
48882a1a
LD
9987 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
9988 names.
9989 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
9990 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
9991 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
9992 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
9993 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
9994 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
9995
77a2a8b4
AZ
99962011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9997
9998 * sysdeps/powerpc/fpu/e_hypot.c: New file.
9999 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10000 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10001 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10002 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10003 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10004 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10005 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10006 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10007 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10008
24f579d8
AM
100092011-08-15 Alan Modra <amodra@gmail.com>
10010
10011 [BZ #13092]
10012 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10013 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10014 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10015 ppc_mcount to static-only-routines.
10016 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10017 __mcount_internal.
10018 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10019 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10020
3d4837df
UD
100212011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10022
10023 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10024 for finite and infinity parameters.
10025
22700377
WS
100262011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10027
10028 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10029 and add nop instructions for throughput optimization.
10030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10031
5025581e
WS
100322011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10033
10034 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10035 aligned copy for power7 with vector-scalar instructions.
10036 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10037
08a300c9
L
100382011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10039
10040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10041 AVX check.
10042
59178ef9
AS
100432011-09-07 Andreas Schwab <schwab@redhat.com>
10044
10045 [BZ #13144]
10046 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10047 last change.
10048
e38ba7ab
UD
100492011-09-07 Ulrich Drepper <drepper@gmail.com>
10050
10051 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10052 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10053 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10054 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10055 clock_gettime.
10056
d53a73ac
UD
100572011-09-06 Ulrich Drepper <drepper@gmail.com>
10058
fc8bffcc
UD
10059 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10060 Forgot to demangle the pointer.
10061
ceaa0c5d
UD
10062 * sysdeps/i386/sysdep.h: Define atom_text_section.
10063 * sysdeps/x86_64/sysdep.h: Likewise.
10064 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10065 section with atom_text_section.
10066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10068 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10069 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10070 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10071
a77d3c17
UD
10072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10073 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10074 already be defined. Change to take two parameters and don't assign
10075 result to variable. Adjust all users.
10076 Define INTERNAL_GETTIME if not already defined.
10077 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10078 call.
10079 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10080 HAVE_CLOCK_GETTIME_VSYSCALL.
10081 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10082
d53a73ac
UD
10083 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10084 gettimeofday vsyscall, just use time.
10085
a8f84144
AS
100862011-09-06 Andreas Schwab <schwab@redhat.com>
10087
10088 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10089 <errno.h>.
10090
ef606249
UD
100912011-09-06 Ulrich Drepper <drepper@gmail.com>
10092
10093 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10094 syscall on x86-64.
10095 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10096 syscall.
10097 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10098 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10099 syscall if possible.
10100
6585cb60
UD
101012011-09-05 Ulrich Drepper <drepper@gmail.com>
10102
10103 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10104 e_ident. Don't pass to find_mapsXX.
10105 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10106
a5f524e4
LD
101072011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10108
10109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10110 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10111 * sysdeps/x86_64/multiarch/strchr.S: Update.
10112 Check bit_slow_BSF bit.
10113 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10114 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10115 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10116
554881ef
UD
101172011-09-05 Ulrich Drepper <drepper@gmail.com>
10118
d96de963
UD
10119 [BZ #13134]
10120 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10121 before glibc 2.15.
10122 (tryshell): Define.
10123 (__spawni): Change last parameter to be flag. Test
10124 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10125 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10126 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10127 * posix/spawni.c: Likewise.
10128 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10129 * posix/spawnp.c: Likewise. Change normal version to use
10130 SPAWN_XFLAGS_USE_PATH.
10131 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10132 SPAWN_XFLAGS_TRY_SHELL.
10133
d48e5868
UD
10134 [BZ #13150]
10135 * posix/glob.h: Remove gcc 1.x support.
10136
554881ef
UD
10137 [BZ #13068]
10138 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10139
693fb948
LD
101402011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10141
10142 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10143 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10144 strrchr-sse2-bsf
10145 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10146 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10147 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10148 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10150 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10151
1b48c537
UD
101522011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10153
49d42c37
UD
10154 * sysdeps/x86_64/wcscmp.S: New file.
10155
1b48c537
UD
10156 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10157 wcscmp-c wcscmp-sse2
10158 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10159 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10160 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10161 * wcsmbs/wcscmp.c: Allow renaming.
10162
15c95c5d
DM
101632011-09-05 David S. Miller <davem@davemloft.net>
10164
10165 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10166 stack slot, rather than the struct return pointer slot.
10167 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10168 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10170 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10171
2f0ad8f3
UD
101722011-09-05 Ulrich Drepper <drepper@gmail.com>
10173
d88ae418
UD
10174 * po/ja.po: Update from translation team.
10175
2f0ad8f3
UD
10176 [BZ #13144]
10177 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10178 kernel in 64-bit binaries.
10179
5f4318d1
DM
101802011-09-01 David S. Miller <davem@davemloft.net>
10181
10182 * elf/elf.h (HWCAP_SPARC_*): Move to..
10183 * sysdeps/sparc/sysdep.h: this new file and add new values.
10184 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10185 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10186 _DL_HWCAP_COUNT to 24.
10187 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10188 entries.
10189 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10190 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10191 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10192 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10193 instead of magic constants.
10194 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10195
3ba57516
DM
101962011-08-31 David S. Miller <davem@davemloft.net>
10197
10198 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10199 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10200 Reimplement to do errno handling inline.
10201 (SYSCALL_ERROR_HANDLER): New macro.
10202 (__SYSCALL_STRING): Do not do errno handling in asm.
10203 (__CLONE_SYSCALL_STRING): Delete.
10204 (__INTERNAL_SYSCALL_STRING): Delete.
10205 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10206 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10207 (PSEUDO): Reimplement to do errno handling inline.
10208 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10209 (SYSCALL_ERROR_HANDLER): New macro.
10210 (__SYSCALL_STRING): Do not do errno handling in asm.
10211 (__CLONE_SYSCALL_STRING): Delete.
10212 (__INTERNAL_SYSCALL_STRING): Delete.
10213 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10214 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10215 i386.
10216 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10217 (inline_syscall*): Add 'err' argument.
10218 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10219 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10220 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10221 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10222
10223 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10224 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10225
2bc17433
AS
102262011-08-30 Andreas Schwab <schwab@redhat.com>
10227
10228 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10229
fbeb5f4d
JO
102302011-08-29 Jiri Olsa <jolsa@redhat.com>
10231
10232 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10233 directive.
10234
ad69cc26
DM
102352011-08-24 David S. Miller <davem@davemloft.net>
10236
10237 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10238
39dd69df
AS
102392011-08-24 Andreas Schwab <schwab@redhat.com>
10240
10241 * elf/Makefile: Add rules to build and run unload8 test.
10242 * elf/unload8.c: New file.
10243 * elf/unload8mod1.c: New file.
10244 * elf/unload8mod1x.c: New file.
10245 * elf/unload8mod2.c: New file.
10246 * elf/unload8mod3.c: New file.
10247
10248 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10249 it wasn't used.
10250
2c0b250a
DM
102512011-08-23 David S. Miller <davem@davemloft.net>
10252
10253 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10254 subtract stack bias.
10255 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10256 %sp not %fp in calculations.
10257 (_JMPBUF_UNWINDS_ADJ): Likewise.
10258
22044b48
DM
10259 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10260 (aio_suspend): Call it to force an exception region around the
10261 AIO_MISC_WAIT() invocation.
10262
2cae4995
AS
102632011-08-23 Andreas Schwab <schwab@redhat.com>
10264
10265 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10266 backslash.
10267
873a772e
AJ
102682011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10269
10270 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10271 protection macro.
10272 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10273 and <dl-machine.h>.
10274 (Elf64_FuncDesc): Remove.
10275
25ad0df1
DM
102762011-08-22 David S. Miller <davem@davemloft.net>
10277
10278 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10279 sigaltstack check, add missing cfi directives.
10280 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10281 missing cfi directives, and sigaltstack handling.
10282
e888bcbe
AS
102832011-08-16 Andreas Schwab <schwab@redhat.com>
10284
10285 [BZ #11724]
10286 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10287 object is seen twice.
10288 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10289
10290 * elf/Makefile (distribute): Add tst-initorder2.c.
10291 (tests): Add tst-initorder2.
10292 (modules-names): Add tst-initorder2a tst-initorder2b
10293 tst-initorder2c tst-initorder2d. Add rules to build them.
10294 ($(objpfx)tst-initorder2.out): New rule.
10295 * elf/tst-initorder2.c: New file.
10296 * elf/tst-initorder2.exp: New file.
10297
87162f46
AS
102982011-08-22 Andreas Schwab <schwab@redhat.com>
10299
70538b7f
AS
10300 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10301
f55ffe58
AS
10302 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10303 dependencies back to end of function.
10304
87162f46
AS
10305 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10306 $(elfobjdir)/ld.so.
10307
91b392a4
UD
103082011-08-21 Ulrich Drepper <drepper@gmail.com>
10309
10310 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10311 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10312 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10313 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10314 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10315 of __vdso_gettimeofday.
10316 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10317 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10318 attribute_hidden.
10319 (_libc_vdso_platform_setup): Remove initialization of
10320 __vdso_gettimeofday and __vdso_time.
10321
5c43483f
UD
103222011-08-20 Ulrich Drepper <drepper@gmail.com>
10323
775a77e7
UD
10324 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10325 and fgetc_unlocked.
10326 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10327 getc_unlocked.
89f447ed 10328
49c74ba9
UD
10329 * elf/dl-open.c (add_to_global): Report additions to the global scope
10330 for LD_DEBUG=scopes.
10331 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10332 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10333
5c43483f
UD
10334 [BZ #13114]
10335 * stdio-common/Makefile (tests): Add bug24.
10336 * stdio-common/bug24.c: New file.
10337
a101b025
AJ
103382011-08-19 Andreas Jaeger <aj@suse.de>
10339
10340 [BZ #13114]
10341 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10342 non-existant file when using close-on-exec mode.
10343
c88f1766
UD
103442011-08-20 Ulrich Drepper <drepper@gmail.com>
10345
0276a718
UD
10346 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10347 the very first instruction.
10348
c88f1766
UD
10349 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10350 the CFI state in the end.
10351 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10352 inclusion of dl-trampoline.h.
10353 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10354
51ccffa0
AS
103552011-08-19 Andreas Schwab <schwab@redhat.com>
10356
94d7165f
AS
10357 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10358 expectations for long double.
10359
51ccffa0
AS
10360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10361 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10362
fd708658 103632011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10364
10365 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10366 artificual limit depends upon the system page size.
10367
44f0a71e
UD
103682011-08-17 Ulrich Drepper <drepper@gmail.com>
10369
10370 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10371 * resolv/Makefile: Define CFLAGS-libresolv.
10372
8de79a24
AS
103732011-08-17 Andreas Schwab <schwab@redhat.com>
10374
10375 * nss/makedb.c (compute_tables): Make variables used in nested
10376 function static.
10377
27724598
UD
103782011-08-17 Ulrich Drepper <drepper@gmail.com>
10379
c5305d88
UD
10380 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10381 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10382 if buffer was too small.
10383
27724598
UD
10384 * elf/pldd.c (main): Attach to all threads in the process.
10385 Rewrite /proc handling to use *at functions.
10386
076fe015
UD
103872011-08-16 Ulrich Drepper <drepper@gmail.com>
10388
174baab3
UD
10389 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10390 specifies first scope to show.
10391 (dl_open_worker): Update callers. Move printing scope of new
10392 object to before the relocation.
44f0a71e 10393 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10394 * sysdeps/generic/ldsodefs.h: Update declaration.
10395
076fe015
UD
10396 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10397 string for the scope number.
10398
a60df2c3
UD
103992011-08-14 Ulrich Drepper <drepper@gmail.com>
10400
10401 * nscd/servicescache.c (cache_addserv): Make sure written is always
10402 initialized.
10403
5e4287d1
RM
104042011-08-14 Roland McGrath <roland@hack.frob.com>
10405
85ae0589
RM
10406 * sysdeps/i386/i486/bits/atomic.h
10407 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10408 statement expression, so as to suppress "set but not used" warning.
10409 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10410
69f63097
RM
10411 * string/strncat.c (STRNCAT): Use prototype definition.
10412
675456ef
RM
10413 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10414 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10415 -Iprograms here.
10416 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10417 (localedef-modules): Add localedef.
10418 (locale-modules): Add locale.
10419
5e4287d1
RM
10420 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10421 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10422 to avoid a warning.
10423
9c96ff23
DM
104242011-08-14 David S. Miller <davem@davemloft.net>
10425
10426 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10427 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10428
f9ddf089
UD
104292011-08-13 Ulrich Drepper <drepper@gmail.com>
10430
44f0a71e 10431 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10432 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10433 * elf/rtld.c (dl_main): Set l_name of vDSO.
10434 Call _dl_show_scope when DL_DEBUG_SCOPES.
10435 (process_dl_debug): Recognize scopes flag and also set it for all.
10436 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10437 Declare _dl_show_scope.
10438
1dc27704
UD
10439 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10440 (do_dlopen): Pass caller_dlopen to dl_open.
10441 (__libc_dlopen_mode): Initialize caller_dlopen.
10442
f9ddf089
UD
10443 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10444 of libc. Make tolower call locale-independent. Optimize a bit by
10445 using isdigit instead of isalnum.
10446 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10447
9ac533d3
UD
104482011-08-12 Ulrich Drepper <drepper@gmail.com>
10449
10450 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10451 was a dependency or dynamically loaded.
10452
89edf2e9
UD
104532011-08-11 Ulrich Drepper <drepper@gmail.com>
10454
8e999d29
UD
10455 * intl/l10nflist.c: Allow architecture-specific pop function.
10456 * sysdeps/x86_64/l10nflist.c: New file.
10457
89edf2e9
UD
10458 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10459 classification.
10460
14d96785
AS
104612011-08-10 Andreas Schwab <schwab@redhat.com>
10462
10463 * include/dirent.h: Add libc_hidden_proto for scandirat and
10464 scandirat64. Don't declare __scandirat64.
10465 * dirent/scandirat.c: Add libc_hidden_def.
10466 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10467 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10468
6761ac04
DM
104692011-08-10 David S. Miller <davem@davemloft.net>
10470
10471 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10472 enum.
10473 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10474 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10475 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10476
c55fbd1e
UD
104772011-08-09 Ulrich Drepper <drepper@gmail.com>
10478
10479 * Versions.def [libc]: Add GLIBC_2.15.
10480 * dirent/Makefile (routines): Add scandirat and scandirat64.
10481 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10482 GLIBC_2.15.
10483 * dirent/dirent.h: Declare scandirat and scandirat64.
10484 * dirent/scandirat.c: New file.
10485 * dirent/scandirat64.c: New file.
10486 * sysdeps/wordsize-64/scandirat.c: New file.
10487 * sysdeps/wordsize-64/scandirat64.c: New file.
10488 * dirent/opendir.c: Define opendirat.
10489 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10490 using scandirat.
10491 * dirent/scandir64.c: Adjust for scandir.c change.
10492 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10493 __scandirat64, and __scandir_cancel_handler.
10494 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10495 additional parameter and use openat instead of open (outside of ld.so).
10496 Add new __opendir as wrapper around __opendirat.
10497 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10498 here without requiring old scandirat implementation.
10499
879165f2
UD
105002011-08-08 Ulrich Drepper <drepper@gmail.com>
10501
10502 * dirent/scandir.c (cancel_handler): Renamed to
10503 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10504 defined. Adjust users.
10505 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10506 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10507
cb7e923b
UD
105082011-08-04 Ulrich Drepper <drepper@gmail.com>
10509
16292edd
UD
10510 * string/test-string.h (IMPL): Use __STRING to expand name and then
10511 stringify it.
10512
cb7e923b
UD
10513 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10514 of cleanups.
10515
cff82933
LD
105162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10517
10518 * string/Makefile: Update.
10519 (strop-tests): Append strncat.
10520 * string/test-wcscmp.c: New file.
10521 New comprehensive test for wcscmp.
10522 * string/test-strcmp.c: Update.
10523 (WIDE): New define.
10524
9be9bfcc
AS
105252011-07-22 Andreas Schwab <schwab@redhat.com>
10526
10527 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10528 line.
10529
2e96f1c7
AS
105302011-07-26 Andreas Schwab <schwab@redhat.com>
10531
10532 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10533 encoding to ACE if AI_IDN.
10534
85188888
JJ
105352011-08-01 Jakub Jelinek <jakub@redhat.com>
10536
10537 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10538 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10539
5fa16e9b
LD
105402011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10541
10542 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10543 Fix overflow bug in strncat.
10544 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10545
10546 * string/test-strncat.c: Update.
10547 Add new tests for checking overflow bugs.
10548
105492011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10550
10551 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10552 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10553 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10554 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10556 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10557 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10558 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10559 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10560
10561 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10562 (USE_AS_STRCAT): Define.
10563 Add strcat and strncat support.
10564 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10565
8c1a459f
AS
105662011-07-25 Andreas Schwab <schwab@redhat.com>
10567
10568 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10569 __n bigger than INT_MAX+1.
10570 (__strncmp_g): Likewise.
10571
bba33c28
UD
105722011-07-23 Ulrich Drepper <drepper@gmail.com>
10573
798be72d
UD
10574 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10575 * libio/stido.h: Likewise.
10576
8accd4dc
UD
10577 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10578 (AF_NFC): Define.
10579 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10580 (AF_NFC): Define.
10581
cbff0d96
UD
10582 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10583 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10584 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10585 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10586 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10587
9191c04a
UD
10588 [BZ #13021]
10589 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10590 installed.
10591
bba33c28
UD
10592 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10593 typo.
10594 (_dl_x86_64_save_sse): Likewise.
10595
90f139dd
UD
105962011-07-22 Ulrich Drepper <drepper@gmail.com>
10597
1aae088a
UD
10598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10599 OSXSAVE.
10600 (_dl_x86_64_save_sse): Likewise.
10601
8e2045f5
UD
10602 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10603
90f139dd
UD
10604 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10605
1d002f25
AS
106062011-07-21 Andreas Schwab <schwab@redhat.com>
10607
10608 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10609 change.
10610 (_dl_x86_64_save_sse): Use correct AVX check.
10611
21137f89
UD
106122011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10613
10614 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10615 bug in strncpy/strncat.
10616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10617
a65c0b7a
UD
106182011-07-21 Ulrich Drepper <drepper@gmail.com>
10619
10620 * string/tester.c (test_strcat): Add tests for different alignments
10621 of source and destination.
10622 (test_strncat): Likewise.
10623
6986b98a
UD
106242011-07-20 Ulrich Drepper <drepper@gmail.com>
10625
90bb2039
UD
10626 [BZ #12852]
10627 * posix/glob.c (glob): Check passed in values before using them in
10628 expressions to avoid some overflows.
10629 (glob_in_dir): Likewise.
10630
5644ef54
UD
10631 [BZ #13007]
10632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10633 check for AVX enablement so that we don't crash with old kernels and
10634 new hardware.
10635 * elf/tst-audit4.c: Add same checks here.
10636 * elf/tst-audit6.c: Likewise.
10637
10638 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10639
bfc9dc9b
AS
106402011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10641
10642 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10643
702e64bb
UD
106442011-07-20 Ulrich Drepper <drepper@gmail.com>
10645
10646 * po/cs.po: Update from translation team.
10647 * po/bg.po: Likewise.
10648
295e904f
MP
106492011-07-12 Marek Polacek <mpolacek@redhat.com>
10650
10651 * misc/sys/cdefs.h: Add support for const attribute.
10652 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10653 to gnu_dev_{major,minor,makedev} functions.
10654
3ff94596
MP
106552011-07-20 Marek Polacek <mpolacek@redhat.com>
10656
10657 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10658
28b59fca
AS
106592011-07-20 Andreas Schwab <schwab@redhat.com>
10660
10661 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10662 strlen results.
10663
19df733e
AK
106642011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10665
10666 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10667 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10668 register in order to avoid conflicts with the soft frame pointer
10669 being held in r11 when necessary.
10670 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10671 (INTERNAL_VSYSCALL_NCS): Likewise.
10672
c8835729
MP
106732011-07-14 Marek Polacek <mpolacek@redhat.com>
10674
10675 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10676 * elf/dl-fini.c (_dl_fini): Adjust caller.
10677 * elf/dl-close.c (_dl_close_worker): Likewise.
10678 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10679
b902330c
MP
106802011-07-15 Marek Polacek <mpolacek@redhat.com>
10681
8991e135
MP
10682 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10683 "aux_cache->nlibs < 0".
10684
b902330c
MP
10685 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10686 in the reload-count case.
10687
99710781
LD
106882011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10689
10690 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10691 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10692 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10693 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10694 * sysdeps/x86_64/multiarch/strcat.S: New file.
10695 * sysdeps/x86_64/multiarch/strncat.S: New file.
10696 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10697 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10698 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10699 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10700 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10701 (USE_AS_STRCAT): Define.
10702 Add strcat and strncat support.
10703 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10704 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10705 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10706 * string/strncat.c: Update.
10707 (USE_AS_STRNCAT): Define.
10708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10709 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10710 and i7.
10711 * sysdeps/x86_64/multiarch/init-arch.h
10712 (bit_Prefer_PMINUB_for_stringop): New.
10713 (index_Prefer_PMINUB_for_stringop): Likewise.
10714 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10715 bit_Prefer_PMINUB_for_stringop.
10716
7dc6bd90
UD
107172011-07-19 Ulrich Drepper <drepper@gmail.com>
10718
10719 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10720 buffer64.
10721 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10722 of casting of buffer.
10723 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10724 buffer32 and buffer64.
10725 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10726 writes instead of casting of buffer.
10727 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10728 buffer32.
10729 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10730 casting of buffer.
10731
e0e72284
AS
107322011-07-19 Andreas Schwab <schwab@redhat.com>
10733
10734 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10735
feb1eb0b
UD
107362011-07-19 Ulrich Drepper <drepper@gmail.com>
10737
10738 * nscd/nscd.c (termination_handler): Don't do anything for a database
10739 if it has not yet been initialized.
10740
298711ff
UD
107412011-07-18 Ulrich Drepper <drepper@gmail.com>
10742
10743 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10744
107452011-07-15 Marek Polacek <mpolacek@redhat.com>
10746
10747 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10748
f9d68389
UD
107492011-07-18 Ulrich Drepper <drepper@gmail.com>
10750
10751 * po/nl.po: Update from translation team.
10752 * po/sv.po: Likewise.
10753
db290cf5
RM
107542011-07-16 Roland McGrath <roland@hack.frob.com>
10755
10756 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10757 now disallowed by GCC.
5c550700 10758
fd5e21c7
RM
10759 * configure.in (use-default-link): Default to yes if a test -shared
10760 link meets our qualifications.
10761 * configure: Regenerated.
10762
5c550700
RM
10763 * config.make.in (output-format): New variable.
10764 * configure.in: Check for ld --print-output-format support.
10765 * configure: Regenerated.
10766 * Makerules ($(common-objpfx)format.lds)
10767 [$(output-format) != unknown]: Just use $(output-format),
10768 instead of the linker-script munging.
10769
9fa2c032
RM
107702011-07-14 Roland McGrath <roland@hack.frob.com>
10771
a6928d51
RM
10772 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10773 of $(common-objpfx)shlib.lds.
10774 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10775
661607b3
RM
10776 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10777 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10778
9fa2c032
RM
10779 * configure.in (-z relro check): Adjust test code to add a large
10780 writable data section after it.
10781 * configure: Regenerated.
10782
defe9061
RM
107832011-07-11 Roland McGrath <roland@hack.frob.com>
10784
10785 * configure.in (-z relro check): Fix test code to make the variable
10786 truly const.
10787 * configure: Regenerated.
10788
319b9ad4
UD
107892011-07-11 Ulrich Drepper <drepper@gmail.com>
10790
10791 * nscd/nscd.h (struct traced_file): Define.
10792 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10793 elements. Add traced_files.
10794 (inotify_fd): Declare.
10795 (register_traced_file): Declare.
10796 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10797 (inotify_fd): Export.
10798 (resolv_conf_descr): Remove.
10799 (nscd_init): Move inotify descriptor creation to main.
10800 Don't register files for notification here.
10801 (register_traced_file): New function.
10802 (invalidate_cache): Don't use reset_res to determine whether to call
10803 res_init, go through the list of registered files.
10804 (main_loop_poll): The inotify descriptors are now stored in the
10805 structures for the traced files.
10806 (main_loop_epoll): Likewise
10807 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10808 to __nss_disable_nscd.
10809 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10810 for a database anymore. Check the records for all the registered
10811 files instead.
10812 * nss/Makefile (libnss_files-routines): Add files-init.
10813 (libnss_db-routines): Add db-init.
10814 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10815 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10816 * nss/nss_db/db-init.c: New file.
10817 * nss/nss_files/files-init.c: New file.
10818 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10819 __nss_lookup_function.
10820 (__nss_lookup_function): Call nss_load_library.
10821 (nss_load_all_libraries): New function.
10822 (__nss_disable_nscd): Take parameter with callback function for files
10823 to register. Set is_nscd. Load all the DSOs for the NSS modules
10824 used for the cached services.
10825 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10826 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10827 options for features to all the files in nscd.
10828
10829 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10830
23bee3e8
RM
108312011-07-10 Roland McGrath <roland@hack.frob.com>
10832
10833 * csu/elf-init.c (__libc_csu_init): Comment typo.
10834
46a5b7f0
UD
108352011-07-09 Ulrich Drepper <drepper@gmail.com>
10836
10837 * po/pl.po: Update from translation team.
10838 * po/ja.po: Likewise.
10839 * po/ru.po: Likewise.
10840 * po/ko.po: Likewise.
10841 * po/fr.po: Likewise.
10842
d30cf5bb
RM
108432011-07-09 Roland McGrath <roland@hack.frob.com>
10844
113ddea4
RM
10845 * configure.in (.ctors/.dtors header and trailer check):
10846 Use an empirical test on a built program.
10847 * configure: Regenerated.
10848
574920b4
RM
10849 * configure.in (-z relro check): Use an empirical test on a built DSO.
10850 Detect, but do not require, on ia64.
10851 * configure: Regenerated.
10852
d30cf5bb
RM
10853 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10854 Update tests that use readelf to use $READELF instead.
10855 * configure: Regenerated.
10856
8538fdb3
UD
108572011-07-08 Ulrich Drepper <drepper@gmail.com>
10858
10859 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10860 if the result is not used.
10861
04d08991
AJ
108622011-07-05 Andreas Jaeger <aj@suse.de>
10863
10864 [BZ#9696]
10865 * stdlib/tst-strtod.c: Add testcase.
10866
de283087
AD
108672011-07-07 Ulrich Drepper <drepper@gmail.com>
10868
4e5f31c8 10869 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10870 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10871 The latter has a higher limit. Take additional parameter to pass to
10872 the new function.
10873 (__pathconf): Pass file to __statfs_link_max.
10874 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10875 __statfs_link_max.
10876 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10877 __statfs_link_max.
10878
de283087
AD
10879 [BZ #12868]
10880 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10881 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10882 Handle Lustre.
10883 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10884 (__statfs_filesize_max): Likewise.
10885 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10886
c75fa153
AJ
108872011-07-05 Andreas Jaeger <aj@suse.de>
10888
10889 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10890
1a544854
UD
108912011-07-06 Marek Polacek <mpolacek@redhat.com>
10892
10893 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10894 `status' variable.
10895 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10896 Likewise.
10897
6f0eec67
UD
108982011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10899
10900 * Makefile (strop-tests): Add strncat.
10901 * string/test-strncat.c: New file.
10902
aae30307
UD
109032011-06-30 Marek Polacek <mpolacek@redhat.com>
10904
10905 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10906
c0cfb5eb
UD
109072011-06-21 Andreas Jaeger <aj@suse.de>
10908
10909 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10910 Copy rule from iconvdata/Makefile.
10911
01636b21
UD
109122011-07-06 Ulrich Drepper <drepper@gmail.com>
10913
10914 [BZ #12922]
10915 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10916 but no long options are defined, just return 'W'.
10917
9895c8bc
UD
109182011-06-22 Marek Polacek <mpolacek@redhat.com>
10919
10920 [BZ #9696]
10921 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10922
5d4cf042
UD
109232011-07-06 Ulrich Drepper <drepper@gmail.com>
10924
10925 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
10926 netgroups to read.
960e5535 10927 (innetgr): Likewise.
5d4cf042 10928
751eb97e
RM
109292011-07-05 Roland McGrath <roland@hack.frob.com>
10930
10931 * config.make.in (install_root): Default to $(DESTDIR).
10932
f15f1e45
UD
109332011-07-05 Ulrich Drepper <drepper@gmail.com>
10934
10935 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
10936
4e34ac6a
RM
109372011-07-02 Roland McGrath <roland@hack.frob.com>
10938
5e9b6af4
RM
10939 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
10940
84f9ea0f
RM
10941 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
10942 containing directory rather than embedding absolute directory names.
10943
ea5ee9f7
RM
10944 * scripts/check-local-headers.sh: Rewritten using awk.
10945 Match by word, not by line. Print error messages for matches.
10946 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
10947
1b74661a
RM
10948 * Makerules [shlib-lds-flags empty]:
10949 ($(common-objpfx)libc_pic.opts): New target.
10950 ($(common-objpfx)libc_pic.os.clean): New target.
10951 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
10952
10953 * config.make.in (OBJCOPY): New variable.
10954 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
10955 * configure: Regenerated.
10956
f781ef40
RM
10957 * config.make.in (use-default-link): New variable.
10958 * configure.in (use_default_link): Grok --with-default-link to set it.
10959 * configure: Regenerated.
10960 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
10961 (shlib-lds, shlib-lds-flags): Define to empty.
10962
2d4fa81e
RM
10963 * Makerules (shlib-lds): New variable.
10964 (shlib-lds-flags): New variable.
10965 (build-shlib, build-moduile, build-module-asneeded): Use it.
10966 ($(common-objpfx)libc.so): Use $(shlib-lds).
10967 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
10968 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
10969
31fffa6b
RM
10970 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
10971 DT_FLAGS/DT_FLAGS_1 with zero flags.
10972
4e34ac6a
RM
10973 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
10974 linker script munging.
10975
fcfc776b
UD
109762011-07-02 Ulrich Drepper <drepper@gmail.com>
10977
10978 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
10979 as 128-bit value.
10980 * crypt/sha512.c (sha512_process_block): Perform total addition using
10981 128-bit if possible.
10982 (__sha512_finish_ctx): Likewise.
10983 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
10984 as 64-bit value.
10985 * crypt/sha256.c (SWAP64): Define.
10986 (sha256_process_block): Perform total addition using 64-bit if
10987 possible.
10988 (__sha256_finish_ctx): Likewise.
10989
99231d9a
UD
109902011-07-01 Ulrich Drepper <drepper@gmail.com>
10991
10992 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
10993 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10994 * nscd/hstcache.c (cache_addhst): Likewise.
10995 * nscd/grpcache.c (cache_addgr): Likewise.
10996 * nscd/aicache.c (addhstaiX): Likewise
10997 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
10998
445b4a53
TK
109992011-07-01 Thorsten Kukuk <kukuk@suse.de>
11000
11001 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11002 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11003 * nscd/hstcache.c (cache_addhst): Likewise.
11004 * nscd/grpcache.c (cache_addgr): Likewise.
11005 * nscd/aicache.c (addhstaiX): Likewise
11006
6d4d8e8e
AS
110072011-07-01 Andreas Schwab <schwab@redhat.com>
11008
11009 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11010 domain only when needed.
11011
89f654c5
AS
110122011-06-30 Andreas Schwab <schwab@redhat.com>
11013
11014 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11015 is always restored.
11016
cf3b23ff
UD
110172011-06-29 Ulrich Drepper <drepper@gmail.com>
11018
11019 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11020 are re-adding the entry.
11021 * nscd/servicescache.c (cache_addserv): Likewise.
11022
751626f9
AJ
110232011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11024
11025 * sysdeps/generic/dl-irel.h: fix protection against multiple
11026 inclusions.
11027 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11028
9113ea1f
UD
110292011-06-28 Ulrich Drepper <drepper@gmail.com>
11030
5c0b8d90
UD
11031 [BZ #12935]
11032 * malloc/memusage.sh: Fix quoting in message.
11033 * debug/xtrace.sh: Likewise.
11034
9113ea1f
UD
11035 * configure.in: Remove support for --experimental-malloc option, make
11036 it the default.
11037 * config.make.in: Likewise.
11038 * malloc/Makefile: Likewise.
11039
a4172181
AS
110402011-06-27 Andreas Schwab <schwab@redhat.com>
11041
11042 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11043 two-byte characters.
11044
78a7eee7
RM
110452011-06-27 Roland McGrath <roland@hack.frob.com>
11046
62bede13
RM
11047 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11048 AC_CACHE_CHECK invocation.
11049 * configure: Regenerated.
11050
78a7eee7
RM
11051 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11052
5ce33a62
UD
110532011-06-27 Ulrich Drepper <drepper@gmail.com>
11054
034807a9
UD
11055 [BZ #12350]
11056 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11057 bit from old_res_options.
11058
4902da17
UD
11059 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11060
5ce33a62
UD
11061 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11062 value type for setfct.
11063
c2344f56
L
110642011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11065
11066 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11067 __gettimeofday instead of gettimeofday.
11068
68468076
UD
110692011-06-26 Ulrich Drepper <drepper@gmail.com>
11070
11071 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11072
acb0d739
L
110732011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11074
11075 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11076
11077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11078 info.
11079
8912479f
L
110802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11081
11082 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11083 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11084 strcpy-sse2-unaligned strncpy-sse2-unaligned
11085 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11086 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11087 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11088 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11089 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11091 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11092 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11093 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11094 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11095 (STRCPY): Support SSE2 and SSSE3 versions.
11096
d5495a11
UD
110972011-06-24 Ulrich Drepper <drepper@gmail.com>
11098
11099 [BZ #12874]
11100 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11101 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11102 kernels which artificially limit size of requests.
11103
0b1cbaae
L
111042011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11107 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11108 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11109 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11110 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11111 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11112 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11113 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11114 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11115 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11116 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11117 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11118 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11119 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11120 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11122 Enable unaligned load optimization for Intel Core i3, i5 and i7
11123 processors.
11124 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11125 Define.
11126 (index_Fast_Unaligned_Load): Define.
11127 (HAS_FAST_UNALIGNED_LOAD): Define.
11128
07f494a0
MP
111292011-06-23 Marek Polacek <mpolacek@redhat.com>
11130
11131 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11132
fa3fc0fe
UD
111332011-06-22 Ulrich Drepper <drepper@gmail.com>
11134
11135 [BZ #12907]
11136 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11137 until it is clear that the information is realy needed.
11138 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11139
e12df166
AS
111402011-06-22 Andreas Schwab <schwab@redhat.com>
11141
11142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11143
852eb34d
UD
111442011-06-22 Ulrich Drepper <drepper@gmail.com>
11145
84e2a551
UD
11146 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11147 /sys/devices/system/cpu/online if it is usable.
11148
852eb34d
UD
11149 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11150 reading the information from the /proc filesystem to once a second.
11151
6e502e19
UD
111522011-06-21 Andreas Jaeger <aj@suse.de>
11153
11154 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11155 NULL after inclusion of kernel headers.
11156
75d39ff2
UD
111572011-06-21 Ulrich Drepper <drepper@gmail.com>
11158
51f9aa6a
UD
11159 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11160 calls to internal_setent.
11161
c0244a9d
UD
11162 [BZ #12885]
11163 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11164 addresses using gethostbyname4_r ignore IPv4 addresses.
11165
c5e3c2ae
UD
11166 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11167 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11168
75d39ff2
UD
11169 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11170
42675c6f
DM
111712011-06-20 David S. Miller <davem@davemloft.net>
11172
11173 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11174 inclusions.
11175 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11176
11177 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11178 (elf_irel): Use it.
11179 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11180 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11181 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11182 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11183 * sysdeps/x86_64/dl-irel.h: Likewise.
11184
11185 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11186 * elf/dl-sym.c: Likewise.
11187
57912a71
UD
111882011-06-15 Ulrich Drepper <drepper@gmail.com>
11189
11190 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11191 need to dereference resplen2.
11192
ee22793d
AS
111932011-06-14 Andreas Schwab <schwab@redhat.com>
11194
11195 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11196
a9e836b0
UD
111972011-06-15 Ulrich Drepper <drepper@gmail.com>
11198
77fb9117
UD
11199 * Makeconfig: Define vardbdir and inst_vardbdir.
11200 * nss/Makefile: Add rules to install db-Makefile.
11201
40c1b22c
UD
11202 * nss/nss_db/db-XXX.c: Cleanup.
11203
9f2da732
UD
11204 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11205 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11206 GLIBC_PRIVATE.
11207 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11208 * nss/makedb.c: Implement -g option to specify that value strings
11209 are generated and should not be added to table iterated over for
11210 get*ent calls.
11211 * nss/nss_db/db-initgroups.c: New file.
11212
82e9a1f7
UD
11213 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11214 interface.
11215
c41af17e
UD
11216 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11217 (internal_getgrouplist): Adjust to name change.
11218 Update use_initgroups_entry if this is not the first call.
11219 * nss/databases.def: Add initgroups entry.
11220
a9e836b0
UD
11221 * nss/makedb.c (compute_tables): Check result of multiple hash table
11222 sizes to minimize maximum chain length.
11223
2666d441
UD
112242011-06-14 Ulrich Drepper <drepper@gmail.com>
11225
11226 * Versions.def: Add entry for libnss_db.
11227 * shlib-versions: Likewise.
11228 * nss/Makefile: Add rules to build libnss_db.
11229 * nss/Versions: Add libnss_db information. Organize libnss_files
11230 entries better.
11231 * nss/db-Makefile: Add gshadow support. Change rules for the new
11232 makedb progra. Some minor improvements to generate smaller files.
11233 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11234 here from...
11235 * nss/makedb.c: ...here.
11236 Improve database format to be smaller and require less memory at
11237 runtime.
11238 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11239 db anymore.
11240 * nss/nss_db/db-netgrp.c: Likewise.
11241 * nss/nss_db/db-open.c: Likewise.
11242 * nss/nss_files/flies-XXX.x: Adjust comments.
11243 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11244 * nss/nss_files/files-grp.c: Likewise.
11245 * nss/nss_files/files-hosts.c: Likewise.
11246 * nss/nss_files/files-network.c: Likewise.
11247 * nss/nss_files/files-proto.c: Likewise.
11248 * nss/nss_files/files-pwd.c: Likewise.
11249 * nss/nss_files/files-rpc.c: Likewise.
11250 * nss/nss_files/files-service.c: Likewise.
11251 * nss/nss_files/files-sgrp.c: Likewise.
11252 * nss/nss_files/files-spwd.c: Likewise.
11253 * nss/nss_db/db-alias.c: Removed.
11254 * nss/nss_db/dummy-db.h: Removed.
11255
9ee76b5a
UD
112562011-06-02 Ulrich Drepper <drepper@gmail.com>
11257
11258 * nss/makedb.c: Rewritten to not use database library.
11259 * nss/Makefile: Update to build new makedb program.
11260
c71ca1f8
AJ
112612011-06-14 Andreas Jaeger <aj@suse.de>
11262
11263 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11264 memset declaration.
11265
3154bfb8
UD
112662011-06-10 Andreas Schwab <schwab@redhat.com>
11267
11268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11269 tmpbuf.
11270
b350afab
RM
112712011-06-10 Roland McGrath <roland@hack.frob.com>
11272
decd4e50
RM
11273 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11274 * elf/Makefile ($(objpfx)ld.so): Likewise.
11275
5615eaf2
RM
11276 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11277 Don't list ld.so twice in dependencies.
11278
11279 * posix/bug-regex31.c: Include <stdlib.h>.
11280
11281 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11282
11283 * nis/nss_compat/compat-spwd.c
11284 (getspent_next_nss_netgr): Remove unused variable.
11285 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11286
11287 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11288 nonmembers" output to use the right array.
11289
11290 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11291
11292 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11293
11294 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11295 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11296 * catgets/gencat.c (read_input_file): Likewise.
11297 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11298
11299 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11300 variable definition inside #if's controlling its use.
11301
11302 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11303
11304 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11305
11306 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11307
11308 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11309 unreachable code.
11310
11311 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11312
b68e08db
RM
11313 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11314 * configure: Regenerated.
11315
b350afab
RM
11316 * Makerules: Revert last change.
11317 * elf/Makefile: Likewise.
11318
28368601
RM
113192011-06-09 Roland McGrath <roland@hack.frob.com>
11320
11321 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11322 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11323 (reloc-link): Likewise.
11324
11988f8f
UD
113252011-06-09 Ulrich Drepper <drepper@gmail.com>
11326
11327 * elf/Makefile: Add rules to build pldd.
11328 * elf/pldd.c: New file.
11329 * elf/pldd-xx.c: New file.
11330
e80fab37
UD
113312011-06-07 Ulrich Drepper <drepper@gmail.com>
11332
11333 * version.h: Update for 2.15 development version.
11334
9b849836
DM
113352011-06-07 David S. Miller <davem@davemloft.net>
11336
11337 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11338 ifuncs.
11339 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11340 elf_machine_lazy_rel): Likewise.
11341 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11342 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11343 elf_machine_lazy_rel): Likewise.
11344 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11345 dl_hwcap via passed in argument.
11346 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11347 Likewise.
11348
5a31b283
AK
113492011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11350
11351 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11352
069e52f8
RM
113532011-06-06 Roland McGrath <roland@hack.frob.com>
11354
11355 [BZ #12849]
11356 * manual/fdl-1.1.texi: New file, verbatim from:
11357 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11358 * manual/lgpl-2.1.texi: New file, verbatim from:
11359 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11360 * manual/Makefile (licenses): New variable, list those new file names.
11361 (texis): Use it.
11362 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11363
11364 * manual/fdl.texi: File removed.
11365 * manual/lesser.texi: File removed.
11366 * manual/libc.texinfo (Copying, Documentation License):
11367 Use new @include file names, put @appendix directive before @include.
11368
f16846a5
JJ
113692011-06-04 Jakub Jelinek <jakub@redhat.com>
11370
11371 [BZ #12841]
11372 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11373 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11374 (mq_open): Add __NTH.
11375
3d29045b
L
113762011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11377
11378 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11379 Assume Intel Core i3/i5/i7 processor if AVX is available.
11380
8c297311
UD
113812011-05-31 Ulrich Drepper <drepper@gmail.com>
11382
11383 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11384 typo.
11385
c8fc0c91
UD
113862011-05-31 Andreas Schwab <schwab@redhat.com>
11387
11388 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11389 memory. Use alloca_account. Fix memory leak when retrying.
11390
5b27a807
UD
113912011-05-31 Ulrich Drepper <drepper@gmail.com>
11392
356f8bc6
UD
11393 * version.h (RELEASE): Bump for 2.14 release.
11394 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11395
5b27a807
UD
11396 * config.make.in (RANLIB): Remove entry.
11397
01f16ab0
UD
113982011-05-30 Ulrich Drepper <drepper@gmail.com>
11399
41fce8bd
UD
11400 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11401 (libc.pot): Work around missing support for .ksh extension in xgettext.
11402
4769ae77
UD
11403 [BZ #12684]
11404 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11405 if both request failed.
11406 (send_dg): In case of server errors clear resplen or *resplen2.
11407
6b1e7d19
UD
11408 [BZ #12454]
11409 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11410 when there are multiple maps.
11411 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11412 (_dl_fini): Remove test here.
11413
01f16ab0
UD
11414 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11415
b1ebd700
UD
114162011-05-29 Ulrich Drepper <drepper@gmail.com>
11417
7ae22829
UD
11418 [BZ #12350]
11419 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11420 bit from old_res_options.
11421 (gaih_inet): Likewise.
11422
553149f6 11423 [BZ #11099]
18a84741 11424 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11425 as signed.
11426
652ffab1
UD
11427 * resolv/res_init.c (res_setoptions): Make the code more compact.
11428
16985fd0
UD
11429 [BZ #11558]
11430 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11431 set RES_USEVC.
11432
0464f746
UD
11433 [BZ #11634]
11434 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11435
7d17596c
UD
11436 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11437
cf6bbbd7
UD
11438 [BZ #11781]
11439 * malloc/malloc.h: Declare malloc hook variables as volatile.
11440
13f1ab36
UD
11441 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11442 in last patch.
11443
b1ebd700
UD
11444 [BZ #11799]
11445 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11446 raise in the comment.
80e2212d
UD
11447 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11448 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11449 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11450
ce67228d
UD
114512011-05-28 Ulrich Drepper <drepper@gmail.com>
11452
8887a920
UD
11453 [BZ #12811]
11454 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11455 grow the buffers more if it already has to be sufficient.
11456 (build_wcs_upper_buffer): Likewise.
11457 * posix/regexec.c (check_matching): Likewise.
11458 (clean_state_log_if_needed): Likewise.
11459 (extend_buffers): Don't enlarge buffers beyond size of the input
11460 buffer.
11461 Patches mostly by Emil Wojak <emil@wojak.eu>.
11462 * posix/bug-regex32.c: New file.
11463 * posix/Makefile (tests): Add bug-regex32.
11464
4f031072
UD
11465 * locale/findlocale.c (_nl_find_locale): Return right away if
11466 _nl_explode_name failed.
11467 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11468
d0478f0c
UD
11469 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11470
de81b246
UD
11471 * debug/xtrace.sh: Unify messages.
11472 * malloc/memusage.sh: Likewise.
11473
c738465a
UD
11474 [BZ #12813]
11475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11476 time symbol from vDSO. Substitute with vsyscall if not available.
11477 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11478 __vdso_time.
11479
f1f929d7
UD
11480 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11481 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11482 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11483 Add sendmmsg and internal_sendmmsg.
11484 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11485 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11486 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11487
ce67228d
UD
11488 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11489 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11491
e57420c6
UD
114922011-05-27 Ulrich Drepper <drepper@gmail.com>
11493
a8509ca5
UD
11494 [BZ #12813]
11495 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11496 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11497 available.
11498 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11499 __vdso_getcpu.
11500
e57420c6
UD
11501 [BZ #12814]
11502 * iconvdata/Makefile (tests): Add bug-iconv9.
11503 * iconvdata/bug-iconv9.c: New file.
11504
4d07db15
AS
115052011-05-27 Andreas Schwab <schwab@redhat.com>
11506
11507 [BZ #12814]
11508 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11509
ea486f69
JJ
115102011-05-25 Jakub Jelinek <jakub@redhat.com>
11511
11512 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11513 (struct user_regs_struct): Change intcs field back to cs.
11514
6f038433
UD
115152011-05-25 Ulrich Drepper <drepper@gmail.com>
11516
11517 * po/ja.po: Update from translation team.
11518
67f86a25
UD
115192011-05-23 Ulrich Drepper <drepper@gmail.com>
11520
11521 [BZ #12795]
11522 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11523 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11524
def7fbd6
AS
115252011-05-20 Andreas Schwab <schwab@redhat.com>
11526
11527 * stdlib/longlong.h: Update from GCC.
11528
f50ef8f1
AS
115292011-05-23 Andreas Schwab <schwab@redhat.com>
11530
11531 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11532 parameter name.
11533 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11534 Add parameter name.
11535 (__sysconf): Pass it down.
11536
de7ce8f1
UD
115372011-05-22 Ulrich Drepper <drepper@gmail.com>
11538
f2962a71
UD
11539 [BZ #12671]
11540 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11541 some situations.
11542 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11543 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11544 add in in __libc_use_alloca calls. Adjust callers.
11545 (glob): Use malloc in some situations.
11546
de7ce8f1
UD
11547 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11548 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11549 pltexit.
11550
aec84f53
UD
115512011-05-21 Ulrich Drepper <drepper@gmail.com>
11552
05bb4a68
UD
11553 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11554 and CLOCK_BOOTTIME_ALARM.
11555
7ea72f99
UD
11556 [BZ #12782]
11557 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11558 is returned.
11559
7e4afad5
UD
11560 * string/_strerror.c (__strerror_r): Print negative errors as signed
11561 numbers.
11562
8e211fec
UD
11563 [BZ #12777]
11564 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11565 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11566 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11567
f7d82dc9
UD
11568 * configure.in: Fix typo in redirection and correct removal of test
11569 files in two cases.
11570
cc9e536d
UD
11571 [BZ #12788]
11572 * locale/setlocale.c (new_composite_name): Fix test to check for
11573 identical name of all categories.
11574
aec84f53
UD
11575 [BZ #12792]
11576 * libio/filedoalloc.c (local_isatty): New function.
11577 (_IO_file_doallocate): Use local_isatty.
11578 * stdio-common/perror.c (perror): In case a new stream is used
11579 forward the stream error.
11580 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11581 error flag.
11582
78e64fdc
RT
115832011-05-20 Ulrich Drepper <drepper@gmail.com>
11584
34a9094f
UD
11585 [BZ #11869]
11586 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11587 alloca.
11588 * include/alloca.h (extend_alloca_account): Define.
11589
78e64fdc
RT
11590 [BZ #11857]
11591 * posix/regex.h: Fix comments with documentation of user-accessible
11592 fields after compilation and describe correct free'ing of pattern
11593 after re_compile_pattern.
11594 Patch by Reuben Thomas <rrt@sc3d.org>.
11595
457bddfc
RA
115962011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11597
11598 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11599 and -mno-altivec to prevent the compiler from using Altivec and/or
11600 VSX instructions when the corresponding registers are not available.
11601
a4527b51
AS
116022011-05-19 Andreas Schwab <schwab@redhat.com>
11603
11604 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11605
ed690b2f
UD
116062011-05-19 Ulrich Drepper <drepper@gmail.com>
11607
11608 * libio/freopen.c (freopen): Use __dup2, not dup2.
11609 * libio/freopen64.c (freopen64): Likewise.
11610
8db73634
L
116112011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11612
11613 [BZ #12775]
11614 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11615 * math/Makefile (tests): Add test-powl.
11616 (CFLAGS-test-powl.c): Define.
11617 * math/test-powl.c: New file.
11618
0a197a9d
L
116192011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11622
ee30c380
UD
116232011-05-17 Ulrich Drepper <drepper@gmail.com>
11624
11625 [BZ #11837]
11626 * iconvdata/gb18030.c: Update to GB18020-2005.
11627
6ce75379
UD
116282011-05-16 Ulrich Drepper <drepper@gmail.com>
11629
a4b89fd8
AR
11630 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11631 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11632 Patch by Aharon Robbins <arnold@skeeve.com>.
11633
ea389b12
UD
11634 [BZ #11892]
11635 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11636 on the stack.
11637
68a3f91f
UD
11638 [BZ #11895]
11639 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11640 through underflows.
11641
15cc7dd1
UD
11642 [BZ #12766]
11643 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11644 point to strings before performing equality test for error_one_per_line
11645 mode.
11646
f3799213
UD
11647 [BZ #11697]
11648 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11649
d79a9c94
UD
11650 [BZ #11820]
11651 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11652 (struct user_fpregs_struct): Avoid __uint*_t types.
11653
56e5eb46
UD
11654 [BZ #6420]
11655 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11656 symbol info. Use it instead of calling _dl_addr locally.
11657 (lock_and_info): New function.
11658 (tr_freehook): Call lock_and_info and pass symbol info as additional
11659 parameter to tr_where.
11660 (tr_mallochook): Likewise.
11661 (tr_reallochook): Likewise.
11662 (tr_memalignhook): Likewise.
11663
6ce75379
UD
11664 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11665 used and couldn't be at all thread-safe.
11666
f8a3b5bf
UD
116672011-05-15 Ulrich Drepper <drepper@gmail.com>
11668
94b7cc37
UD
11669 * libio/freopen.c (freopen): Don't close old file descriptor
11670 before the new one is opened. Instead dup the new file descriptor
11671 to the old one after the new stream is created.
11672 * libio/freopen64.c (freopen64): Likewise.
11673 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11674 * libio/fileops.c (_IO_new_file_close_it): Handle new
11675 _IO_FLAGS2_NOCLOSE flag.
11676 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11677 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11678 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11679 _IO_FLAGS2_NOCLOSE flag.
11680 * include/unistd.h: Add hidden_proto for dup3.
11681 Define __have_dup3.
11682 * io/dup3.c: Define hidden symbol.
11683 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11684
bd25564e
UD
11685 [BZ #7101]
11686 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11687 when an incomplete long option is used.
11688 * posix/tst-getopt_long1.c: New file.
11689 * posix/Makefile (tests): Add tst-getopt_long1.
11690
c84cfef4
UD
11691 [BZ #10138]
11692 * scripts/config.guess: Update from autoconf-2.68.
11693 * scripts/config.sub: Likewise.
11694
3b85df27
UD
11695 [BZ #10157]
11696 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11697 tests into ...
11698 (has_cpuclock): ...this. New function.
11699 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11700 macro here based on has_cpuclock code.
11701
15a856b1
UD
11702 [BZ #10149]
11703 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11704 First byte (not low byte) is now always NUL.
11705 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11706
05f399e6
UD
11707 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11708 Use non-cancelable interfaces.
11709
10a52685 11710 [BZ #9809]
94ecc67d
UD
11711 * locale/iso-639.def: Add entry for Sorani.
11712
f8a3b5bf
UD
11713 [BZ #11901]
11714 * include/stdlib.h: Move include protection to the right place.
11715 Define abort_msg_s. Declare __abort_msg with it.
11716 * stdlib/abort.c (__abort_msg): Adjust type.
11717 * assert/assert.c (__assert_fail_base): New function. Majority
11718 of code from __assert_fail. Allocate memory for __abort_msg with
11719 mmap.
11720 (__assert_fail): Now call __assert_fail_base.
11721 * assert/assert-perr.c: Remove bulk of implementation. Use
11722 __assert_fail_base.
11723 * include/assert.hL Declare __assert_fail_base.
11724 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11725 mmap.
11726 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11727
1af4e298
UD
117282011-05-14 Ulrich Drepper <drepper@gmail.com>
11729
f8a3b5bf 11730 [BZ #11952]
d26dfc60
MG
11731 [BZ #12453]
11732 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11733 until all modules are registered in the DTV.
11734 * elf/Makefile: Add rules to build and run tst-tls19.
11735 * elf/tst-tls19.c: New file.
11736 * elf/tst-tls19mod1.c: New file.
11737 * elf/tst-tls19mod2.c: New file.
11738 * elf/tst-tls19mod3.c: New file.
11739 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11740
2fc54d6f
UD
11741 [BZ #12083]
11742 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11743 correctly.
11744
98d76b46
UD
11745 [BZ #12601]
11746 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11747 two-byte sequence errors.
11748 * iconvdata/Makefile (tests): Add bug-iconv8.
11749 * iconvdata/bug-iconv8.c: New file.
11750
da3c19ef
UD
11751 [BZ #12626]
11752 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11753 buf2 definition.
11754
ca408c15
UD
11755 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11756
d6f67f7d
UD
11757 [BZ #12432]
11758 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11759 (dummy_getcfa): New function.
11760 (init): Get _Unwind_GetCFA address, use dummy if not found.
11761 (backtrace_helper): In recursion check, also check whether CFA changes.
11762 (__backtrace): Completely initialize arg.
11763
1af4e298 11764 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11765 storing incomplete byte sequence in state object. Avoid testing for
11766 guaranteed too small input if we know there is enough data available.
1af4e298 11767
da62f81b
AS
117682011-05-11 Andreas Schwab <schwab@redhat.com>
11769
11770 * Makeconfig (+link-pie): Indent.
11771 * Rules (binaries-pie): Define if $(have-fpie) and
11772 $(build-shared).
11773 (binaries-shared): Also filter out $(binaries-pie).
11774 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11775 * nscd/Makefile (others-pie): Add nscd.
11776 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11777 ($(objpfx)nscd): Remove command override.
11778 * login/Makefile (others-pie): Add pt_chown.
11779 ($(objpfx)pt_chown): Remove command override.
11780 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11781 remove command overrides.
11782
fcabc0f8
UD
117832011-05-13 Ulrich Drepper <drepper@gmail.com>
11784
20030ae6
UD
11785 * libio/tst_putwc.c: Fix error messages.
11786
fcabc0f8
UD
11787 [BZ #12724]
11788 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11789 currently writing and seek to current position when not.
11790 * libio/Makefile (tests): Add bug-fclose1.
11791 * libio/bug-fclose1.c: New file.
11792
320a5dc0
PB
117932011-05-12 Ulrich Drepper <drepper@gmail.com>
11794
11795 [BZ #12511]
11796 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11797 don't set DF_1_NODELETE here.
11798 (do_lookup_x): When entering new entry test for copy relocation
11799 and if necessary set DF_1_NODELETE flag.
11800 * elf/tst-unique4.cc: New file.
11801 * elf/tst-unique4.h: New file.
11802 * elf/tst-unique4lib.cc: New file.
11803 * elf/Makefile: Add rules to build and run tst-unique4.
11804 Patch by Piotr Bury <pbury@goahead.com>.
11805
22836f52
UD
118062011-05-11 Ulrich Drepper <drepper@gmail.com>
11807
f574184a
UD
11808 [BZ #12052]
11809 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11810
e1fb097f
UD
11811 [BZ #12625]
11812 * misc/mntent_r.c (addmntent): Flush the stream after the output
11813
22836f52
UD
11814 [BZ #12393]
11815 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11816 (is_trusted_path_normalize): Skip initial colon. Append slash
11817 to empty buffer. Duplicate is_trusted_path code but allow
11818 constructed patch to be prefix.
11819 (is_dst): Allow $ORIGIN followed by /.
11820 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11821 Correct testing of result of is_trusted_path_normalize
11822 (decompose_rpath): Fix warning.
11823
7b3b0b2a
UD
118242011-05-10 Ulrich Drepper <drepper@gmail.com>
11825
11826 [BZ #11257]
11827 * grp/initgroups.c (internal_getgrouplist): When we found the service
11828 list through the initgroups entry in nsswitch.conf do not always
11829 continue on a successful lookup. Don't always use the
eac80ce2 11830 __nss_group_database value if it is set.
7b3b0b2a
UD
11831 * nss/nsswitch.conf (initgroups): Change action for successful db
11832 lookup to continue for compatibility.
11833
2a81eaa5
UD
118342011-05-09 Ulrich Drepper <drepper@gmail.com>
11835
be97a69e
UD
11836 [BZ #11532]
11837 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11838 and CP774 modules.
11839 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11840 and CP774 modules.
11841 * iconvdata/tst-tables.sh: Likewise.
11842 * iconvdata/cp770.c: New file.
11843 * iconvdata/cp771.c: New file.
11844 * iconvdata/cp772.c: New file.
11845 * iconvdata/cp773.c: New file.
11846 * iconvdata/cp774.c: New file.
11847 * iconvdata/testdata/CP770: New file.
11848 * iconvdata/testdata/CP770..UTF8: New file.
11849 * iconvdata/testdata/CP771: New file.
11850 * iconvdata/testdata/CP771..UTF8: New file.
11851 * iconvdata/testdata/CP772: New file.
11852 * iconvdata/testdata/CP772..UTF8: New file.
11853 * iconvdata/testdata/CP773: New file.
11854 * iconvdata/testdata/CP773..UTF8: New file.
11855 * iconvdata/testdata/CP774: New file.
11856 * iconvdata/testdata/CP774..UTF8: New file.
11857
11858 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11859 END CHARMAP line.
11860 * iconvdata/gen-8bit-gap.sh: Likewise.
11861 * iconvdata/gen-8bit.sh: Likewise.
11862
c1e9e399
UD
11863 * locale/iso-639.def: Add ary entry.
11864
24c55fb3 11865 [BZ #11258]
96b4b1b0
UD
11866 * locale/C-translit.h.in: Add U20A1 transliteration.
11867
bdc2f971
KB
11868 [BZ #12178]
11869 * locale/iso-639.def: Add wae entry.
11870 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11871
2952b117
UD
11872 [BZ #12545]
11873 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11874 for n.
11875
2a81eaa5
UD
11876 [BZ #12711]
11877 * locale/C-translit.h.in: Add entry for U20B9.
11878 Patch by pravin.d.s@gmail.com.
11879
28377d1b
UD
118802011-05-08 Ulrich Drepper <drepper@gmail.com>
11881
7fb90fb8
UD
11882 [BZ #12713]
11883 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11884 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11885 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11886 in rtld. Use *stat64.
7fb90fb8 11887 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11888 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11889 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11890 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11891 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11892 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11893 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11894 __fstatat64 macros.
7fb90fb8
UD
11895 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11896 * dirent/rewinddir.c: Add libc_hidden_def.
11897 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11898 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11899
28377d1b
UD
11900 * include/dirent.h (__alloc_dir): Add flags parameter.
11901 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11902 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11903 __alloc_dir.
11904 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11905 from fdopendir if O_CLOEXEC is already set.
11906
66bdbaa4
AM
119072011-03-15 Alan Modra <amodra@gmail.com>
11908
11909 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11910 l_tls_firstbyte_offset non-zero. Save padding offset in
11911 l_tls_firstbyte_offset for later use.
11912 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11913 freeing static tls block.
11914
95721191
JN
119152011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11916
11917 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11918 where #ifdef was intended. The intent is to prevent ARG_MAX from
11919 being defined by the kernel headers.
11920
f87dfb1f
UD
119212011-05-07 Ulrich Drepper <drepper@gmail.com>
11922
11923 [BZ #12734]
11924 * resolv/resolv.h: Define RES_NOTLDQUERY.
11925 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
11926 no-tld-query and set RES_NOTLDQUERY.
11927 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
11928 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
11929 modern BIND to search name as TLD unless forbidden.
11930
47c3cd7a
UD
119312011-05-07 Petr Baudis <pasky@suse.cz>
11932 Ulrich Drepper <drepper@gmail.com>
11933
11934 [BZ #12393]
11935 * elf/dl-load.c (fillin_rpath): Move trusted path check...
11936 (is_trusted_path): ...to here.
c1e9ea35 11937 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 11938 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 11939 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 11940
8a35c912
PP
119412011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
11942
11943 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
11944 __BEGIN/__END_DECLS.
11945
acd41f47
UD
119462011-05-06 Ulrich Drepper <drepper@gmail.com>
11947
11948 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
11949 NSS_STATUS_NOTFOUND if no record was found.
11950
597df647
AS
119512011-05-05 Andreas Schwab <schwab@redhat.com>
11952
11953 * sunrpc/Makefile (headers): Add rpc/netdb.h.
11954 (headers-not-in-tirpc): Remove rpc/netdb.h
11955 * resolv/netdb.h: Revert last change.
11956
b9af1301
PP
119572011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
11958
11959 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
11960 circular dependency between libgcc.a and libc.a.
11961
4e34d5f5
AS
119622011-05-05 Andreas Schwab <schwab@redhat.com>
11963
11964 * resolv/netdb.h: Don't include <rpc/netdb.h>.
11965 * nis/Makefile: Don't install rpcsvc/*.
11966 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
11967 instead of <rpc/types.h>.
11968 (MAXHOSTNAMELEN): Define.
11969
00ee369c
AS
119702011-05-03 Andreas Schwab <schwab@redhat.com>
11971
11972 * elf/ldconfig.c (add_dir): Don't crash on empty path.
11973
0b592a30
MB
119742011-04-28 Maciej Babinski <mbabinski@google.com>
11975
11976 [BZ #12714]
11977 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
11978 gethostbyname4_r when IPv6 results are possible.
11979
6e04cbbe
UD
119802011-05-02 Ulrich Drepper <drepper@gmail.com>
11981
11982 [BZ #12723]
11983 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
11984 _PC_PIPE_BUF handling.
11985
e4ecafe0
BH
119862011-04-30 Bruno Haible <bruno@clisp.org>
11987
11988 [BZ #12717]
11989 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
11990 * resolv/netdb.h (getnameinfo): Change type of flags parameter
11991 to 'int'.
11992 * inet/getnameinfo.c (getnameinfo): Likewise.
11993
125ee683
UD
119942011-04-29 Ulrich Drepper <drepper@gmail.com>
11995
11996 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
11997 to groups setting in database lookup.
11998 * nss/nsswitch.conf: Add initgroups entry.
11999
b722481a
EB
120002011-04-22 Ulrich Drepper <drepper@gmail.com>
12001
12002 [BZ #12685]
12003 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12004 mode string.
12005 Patch by Eric Blake <eblake@redhat.com>.
12006
4df46dbd
L
120072011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12008
12009 * sunrpc/Makefile (need-export-routines): Add svc_run.
12010 (routines): Remove svc_run.
12011 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12012 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12013 * sunrpc/svc_run.c (svc_run): Likewise.
12014 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12015
e84142d2
UD
120162011-04-21 Ulrich Drepper <drepper@gmail.com>
12017
12018 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12019 problem in reallocation in last patch.
12020
877175d8
UD
120212011-04-20 Ulrich Drepper <drepper@gmail.com>
12022
12023 * sunrpc/Makefile: Move inclusion of Rules.
12024
ab8eed78
UD
120252011-04-19 Ulrich Drepper <drepper@gmail.com>
12026
12027 * nss/nss_files/files-initgroups.c: New file.
12028 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12029 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12030 _nss_files_initgroups_dyn.
12031
e3d8f584
RS
120322011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12033
12034 * elf/elf.h (R_ARM_IRELATIVE): Define.
12035
af190f45
UD
120362011-04-19 Ulrich Drepper <drepper@gmail.com>
12037
12038 * po/ru.po: Update from translation team.
12039
53cf59ef
UD
120402011-04-17 Ulrich Drepper <drepper@gmail.com>
12041
12042 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12043 dependencies.
12044
4c559bcd
MF
120452011-02-06 Mike Frysinger <vapier@gentoo.org>
12046
12047 [BZ #12653]
12048 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12049 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12050 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12051 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12052 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12053
4420675c
AS
120542011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12055
12056 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12057 differing bytes.
12058 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12059 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12060 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12061
75ea32ab
UD
120622011-04-17 Ulrich Drepper <drepper@gmail.com>
12063
12064 [BZ #12420]
12065 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12066 storing it.
12067 * stdlib/bug-getcontext.c: New file.
12068 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12069
27390476
AK
120702011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12071
12072 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12073 instructions into .machine "z9-109".
12074 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12075 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12076
10442705
AK
120772011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12078
12079 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12080 between environment variables and auxiliary vector.
12081
7b57bfe5
UD
120822011-04-16 Ulrich Drepper <drepper@gmail.com>
12083
12084 * Makefile: Add rules to build linkobj/libc.so.
12085 * include/libc-symbols.h: Define libc_hidden_nolink.
12086 * include/rpc/auth.h: Mark functions which are to be hidden.
12087 * include/rpc/auth_des.h: Likewise.
12088 * include/rpc/auth_unix.h: Likewise.
12089 * include/rpc/clnt.h: Likewise.
12090 * include/rpc/des_crypt.h: Likewise.
12091 * include/rpc/key_prot.h: Likewise.
12092 * include/rpc/pmap_clnt.h: Likewise.
12093 * include/rpc/pmap_prot.h: Likewise.
12094 * include/rpc/pmap_rmt.h: Likewise.
12095 * include/rpc/rpc_msg.h: Likewise.
12096 * include/rpc/svc.h: Likewise.
12097 * include/rpc/svc_auth.h: Likewise.
12098 * include/rpc/xdr.h: Likewise.
12099 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12100 * nss/Makefile: Likewise.
12101 * sunrpc/Makefile: Don't install headers. Build library with normal
12102 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12103 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12104 for the compat linking library. Remove use of INTDEF/INTUSE.
12105 * sunrpc/auth_none.c: Likewise.
12106 * sunrpc/auth_unix.c: Likewise.
12107 * sunrpc/authdes_prot.c: Likewise.
12108 * sunrpc/authuxprot.c: Likewise.
12109 * sunrpc/clnt_gen.c: Likewise.
12110 * sunrpc/clnt_perr.c: Likewise.
12111 * sunrpc/clnt_raw.c: Likewise.
12112 * sunrpc/clnt_simp.c: Likewise.
12113 * sunrpc/clnt_tcp.c: Likewise.
12114 * sunrpc/clnt_udp.c: Likewise.
12115 * sunrpc/clnt_unix.c: Likewise.
12116 * sunrpc/des_crypt.c: Likewise.
12117 * sunrpc/des_soft.c: Likewise.
12118 * sunrpc/get_myaddr.c: Likewise.
12119 * sunrpc/key_call.c: Likewise.
12120 * sunrpc/key_prot.c: Likewise.
12121 * sunrpc/netname.c: Likewise.
12122 * sunrpc/pm_getmaps.c: Likewise.
12123 * sunrpc/pm_getport.c: Likewise.
12124 * sunrpc/pmap_clnt.c: Likewise.
12125 * sunrpc/pmap_prot.c: Likewise.
12126 * sunrpc/pmap_prot2.c: Likewise.
12127 * sunrpc/pmap_rmt.c: Likewise.
12128 * sunrpc/publickey.c: Likewise.
12129 * sunrpc/rpc_cmsg.c: Likewise.
12130 * sunrpc/rpc_common.c: Likewise.
12131 * sunrpc/rpc_dtable.c: Likewise.
12132 * sunrpc/rpc_prot.c: Likewise.
12133 * sunrpc/rpc_thread.c: Likewise.
12134 * sunrpc/rtime.c: Likewise.
12135 * sunrpc/svc.c: Likewise.
12136 * sunrpc/svc_auth.c: Likewise.
12137 * sunrpc/svc_authux.c: Likewise.
12138 * sunrpc/svc_raw.c: Likewise.
12139 * sunrpc/svc_run.c: Likewise.
12140 * sunrpc/svc_simple.c: Likewise.
12141 * sunrpc/svc_tcp.c: Likewise.
12142 * sunrpc/svc_udp.c: Likewise.
12143 * sunrpc/svc_unix.c: Likewise.
12144 * sunrpc/svcauth_des.c: Likewise.
12145 * sunrpc/xcrypt.c: Likewise.
12146 * sunrpc/xdr.c: Likewise.
12147 * sunrpc/xdr_array.c: Likewise.
12148 * sunrpc/xdr_float.c: Likewise.
12149 * sunrpc/xdr_intXX_t.c: Likewise.
12150 * sunrpc/xdr_mem.c: Likewise.
12151 * sunrpc/xdr_rec.c: Likewise.
12152 * sunrpc/xdr_ref.c: Likewise.
12153 * sunrpc/xdr_sizeof.c: Likewise.
12154 * sunrpc/xdr_stdio.c: Likewise.
12155
e6c61494
UD
121562011-04-10 Ulrich Drepper <drepper@gmail.com>
12157
12158 [BZ #12650]
12159 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12160 * sysdeps/ia64/dl-tls.h: Likewise.
12161 * sysdeps/powerpc/dl-tls.h: Likewise.
12162 * sysdeps/s390/dl-tls.h: Likewise.
12163 * sysdeps/sh/dl-tls.h: Likewise.
12164 * sysdeps/sparc/dl-tls.h: Likewise.
12165 * sysdeps/x86_64/dl-tls.h: Likewise.
12166 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12167
34fe483e
AS
121682011-03-14 Andreas Schwab <schwab@redhat.com>
12169
12170 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12171 rpath element also skip the following colon.
12172 (expand_dynamic_string_token): Add is_path parameter and pass
12173 down to DL_DST_REQUIRED and _dl_dst_substitute.
12174 (decompose_rpath): Call expand_dynamic_string_token with
12175 non-zero is_path. Ignore empty rpaths.
12176 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12177 with zero is_path.
12178
f12a32e6
AS
121792011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12180
12181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12182 Make cancelable.
12183
38a7d692
UD
121842011-04-09 Ulrich Drepper <drepper@gmail.com>
12185
12186 [BZ #12655]
12187 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12188 Patch by Filipe David Manana <fdmanana@apache.org>.
12189
e451d22b
AS
121902011-04-07 Andreas Schwab <schwab@redhat.com>
12191
12192 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12193 Maintain aligned stack.
12194 (CHECK_RSP): Remove unused macro.
12195
dedc7c7b
UD
121962011-04-03 Ulrich Drepper <drepper@gmail.com>
12197
12198 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12199 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12200
94521213
UD
122012011-04-02 Ulrich Drepper <drepper@gmail.com>
12202
12203 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12204
8cb700c0 12205 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12206
0354e355
L
122072011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12208
12209 [BZ #12518]
12210 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12211 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12212 * sysdeps/x86_64/memmove.c: New file.
12213 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12214 (memcpy): Renamed to ...
12215 (__new_memcpy): This.
12216 (memcpy): Provide GLIBC_2_14 memcpy.
12217 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12218 (memcpy): Provide GLIBC_2_2_5 memcpy.
12219
8593482f
UD
122202011-04-01 Ulrich Drepper <drepper@gmail.com>
12221
12222 [BZ #12631]
12223 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12224
81a5726b
AS
122252011-03-30 Andreas Schwab <schwab@redhat.com>
12226
12227 * misc/syncfs.c: New file.
12228 * misc/Makefile (routines): Add syncfs.
12229 * posix/unistd.h: Declare syncfs.
12230 * sysdeps/unix/syscalls.list: Add syncfs.
12231
00e5419f
AS
122322011-04-01 Andreas Schwab <schwab@redhat.com>
12233
12234 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12235 open_by_handle_at.
12236 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12237 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12238 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12239 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12241 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12242 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12243
748876bf
UD
122442011-04-01 Ulrich Drepper <drepper@gmail.com>
12245
658e451d
UD
12246 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12247 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12250 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12251 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12253
748876bf
UD
12254 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12255 sync_file_range.c with -fexceptions.
12256 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12257 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12258 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12259 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12260 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12261 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12262 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12263 sync_file_range as cancellation point
12264 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12265 now a wrapper around __call_sync_file_range with cancellation handling.
12266 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12267 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12268 function name to __call_sync_file_range.
12269 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12270 Add call_sync_file_range.
748876bf 12271
6e63d5e1
AS
122722011-04-01 Andreas Schwab <schwab@redhat.com>
12273
12274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12275 bits/timex.h.
6e63d5e1 12276
46998f74
UD
122772011-04-01 Ulrich Drepper <drepper@gmail.com>
12278
4c1423ed
UD
12279 * iconv/iconv.h: Fix typo in comment.
12280 * io/fcntl.h: Likewise.
12281 * libio/stdio.h: Likewise.
12282 * posix/spawn.h: Likewise.
12283 * posix/unistd.h: Likewise.
12284 * stdlib/stdlib.h: Likewise.
12285 * time/time.h: Likewise.
12286 * wcsmbs/wchar.h: Likewise.
12287
158648c0
UD
12288 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12289 open_by_handle): Add.
12290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12291 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12292 Augment a few comments.
12293 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12294 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12295 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12296 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12297 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12298 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12299 open_by_handle.
12300
46998f74
UD
12301 * io/fcntl.h (AT_EMPTY_PATH): Define.
12302
83fe108b
UD
123032011-03-30 Ulrich Drepper <drepper@gmail.com>
12304
12305 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12306 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12307 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12308 to...
12309 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12310 * Versions.def: Add GLIBC_2.14.
12311 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12312 Export.
83fe108b 12313
bb242059
UD
123142011-03-22 Ulrich Drepper <drepper@gmail.com>
12315
12316 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12317 round counter.
12318 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12319
c97a1282
L
123202011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12321
12322 [BZ #12597]
12323 * string/test-strncmp.c (do_page_test): New function.
12324 (check2): Likewise.
12325 (test_main): Call check2.
12326 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12327
2a115601
UD
123282011-03-20 Ulrich Drepper <drepper@gmail.com>
12329
12330 [BZ #12587]
12331 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12332 Handle cache information in CPU leaf 4.
12333 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12334
8126d904
UD
123352011-03-18 Ulrich Drepper <drepper@gmail.com>
12336
042c49c6 12337 [BZ #12583]
8126d904
UD
12338 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12339 character representation.
12340 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12341
ccfe366e
RA
123422011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12343
12344 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12345 END(__isnan) to END(__isnanf) to match function entry point/label
12346 EALIGN(__isnanf,...).
12347
c6e13027
JJ
123482011-03-10 Jakub Jelinek <jakub@redhat.com>
12349
12350 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12351
33f85a3f
UD
123522011-03-10 Ulrich Drepper <drepper@gmail.com>
12353
028478fa
UD
12354 [BZ #12510]
12355 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12356 copy from the symbol referenced in the relocation to initialize the
12357 used variable.
12358 Patch by Piotr Bury <pbury@goahead.com>.
12359 * elf/Makefile: Add rules to build and tst-unique3.
12360 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12361 * elf/tst-unique3.cc: New file.
12362 * elf/tst-unique3.h: New file.
12363 * elf/tst-unique3lib.cc: New file.
12364 * elf/tst-unique3lib2.cc: New file.
12365
33f85a3f
UD
12366 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12367
03592fc7
MF
123682011-03-10 Mike Frysinger <vapier@gentoo.org>
12369
12370 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12371 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12372 to _start.
03592fc7 12373
6a5ee102
UD
123742011-03-06 Ulrich Drepper <drepper@gmail.com>
12375
12376 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12377 to-be-loaded object along a path to loader is ld.so.
12378
7e4ba49c
HJ
123792011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12380 Ulrich Drepper <drepper@gmail.com>
12381
12382 * sysdeps/x86_64/memset.S: After aligning destination, code
12383 branches to different locations depending on the value of
12384 misalignment, when multiarch is enabled. Fix this.
12385
123862011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12387
12388 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12389 Set _x86_64_preferred_memory_instruction for AMD processsors.
12390 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12391 Set bit_Prefer_SSE_for_memop for AMD processors.
12392
13a804de
UD
123932011-03-04 Ulrich Drepper <drepper@gmail.com>
12394
12395 * libio/fmemopen.c (fmemopen): Optimize a bit.
12396
9d25c392
AS
123972011-03-03 Andreas Schwab <schwab@redhat.com>
12398
12399 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12400
a5543c6a
RM
124012011-03-03 Roland McGrath <roland@redhat.com>
12402
12403 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12404
012d35f7
DM
124052011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12406
7e4ba49c 12407 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12408 __bzero_ultra1 instead of __memset_ultra1.
12409
4bff6e01
AS
124102011-02-23 Andreas Schwab <schwab@redhat.com>
12411 Ulrich Drepper <drepper@gmail.com>
12412
12413 [BZ #12509]
12414 * include/link.h (struct link_map): Add l_orig_initfini.
12415 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12416 returning unsuccessfully.
12417 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12418 close of a file loaded at startup, restore the original l_initfini
12419 list.
12420 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12421 list, store the pointer.
12422 * elf/Makefile ($(objpfx)noload-mem): New rule.
12423 (noload-ENV): Define.
12424 (tests): Add $(objpfx)noload-mem.
12425 * elf/noload.c: Include <memcheck.h>.
12426 (main): Call mtrace. Close all opened handles.
12427
f2092faf
AS
124282011-02-17 Andreas Schwab <schwab@redhat.com>
12429
12430 [BZ #12454]
12431 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12432 dependencies are missing.
12433
6c8a2e88
ST
124342011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12435
f2092faf 12436 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12437 Hurd needs munmap.
12438 * sysdeps/mach/hurd/ifreq.h: New file.
12439
84a42118
PB
124402011-01-27 Petr Baudis <pasky@suse.cz>
12441 Ulrich Drepper <drepper@gmail.com>
12442
071f805e 12443 [BZ 12445]#
84a42118
PB
12444 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12445 to extend_alloca().
12446 * stdio-common/bug23.c: New file.
12447 * stdio-common/Makefile (tests): Add bug23.
12448
e23fe25b
AS
124492010-09-28 Andreas Schwab <schwab@redhat.com>
12450 Ulrich Drepper <drepper@gmail.com>
12451
12452 [BZ #12489]
12453 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12454 before performing relro protection. At old place add assertion
12455 to make sure nothing changed.
12456
d3f02e10
NS
124572011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12458 Glauber de Oliveira Costa <glommer@gmail.com>
12459
12460 * elf/elf.h: Add new ARM TLS relocs.
12461
d55fd7a5
RA
124622011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12463
12464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12465 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12466 cast from r3.
12467 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12468 'tests' variable.
12469 * sysdeps/wordsize-64/tst-writev.c: New file.
12470
2206397e
RA
124712011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12472
12473 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12474 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12475 insns in _dl_start to prevent a TOC reference before relocs are
12476 resolved.
12477
e9433893
UD
124782011-02-15 Ulrich Drepper <drepper@gmail.com>
12479
12480 [BZ #12469]
12481 * Makeconfig: Remove RANLIB definition.
12482 * Makerules: Don't use RANLIB.
12483 * aclocal.m4: Remove ranlib test.
12484 * configure.in: No need to check for ranlib.
12485 * elf/rtld-Rules: Don't use RANLIB.
12486
f75286c6
ST
124872011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12488
8e31c82d
ST
12489 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12490 protection macro.
12491 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12492 inclusion protection macro.
12493
f75286c6
ST
12494 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12495 SIGRTMIN and SIGRTMAX and print information in that case only when
12496 SIGRTMIN is defined.
12497
c1d0e639
JJ
124982011-02-11 Jakub Jelinek <jakub@redhat.com>
12499
12500 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12501 arginfo fn returning -1.
12502
12503 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12504 and thousands string is zero terminated.
12505
edf9294e
AS
125062011-02-03 Andreas Schwab <schwab@redhat.com>
12507
12508 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12509 sysdeps/unix/sysv/linux/bits/socket.h.
12510
2b7e92df
ST
125112011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12512
edf9294e
AS
12513 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12514 (__CPU_COUNT): Remove old macros.
12515 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12516 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12517 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12518 (__sched_cpualloc, __sched_cpufree): Add declarations.
12519
a4c7ea7b
UD
125202011-02-05 Ulrich Drepper <drepper@gmail.com>
12521
12522 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12523 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12524 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12525 (readdhstai): Return value of addhstaiX call.
12526 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12527 (addgrbyX): Return value returned by cache_addgr.
12528 (readdgrbyname): Return value returned by addgrbyX.
12529 (readdgrbygid): Likewise.
12530 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12531 (addpwbyX): Return value returned by cache_addpw.
12532 (readdpwbyname): Return value returned by addhstbyX.
12533 (readdpwbyuid): Likewise.
12534 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12535 (addservbyX): Return value returned by cache_addserv.
12536 (readdservbyname): Return value returned by addservbyX:
12537 (readdservbyport): Likewise.
12538 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12539 (addhstbyX): Return value returned by cache_addhst.
12540 (readdhstbyname): Return value returned by addhstbyX.
12541 (readdhstbyaddr): Likewise.
12542 (readdhstbynamev6): Likewise.
12543 (readdhstbyaddrv6): Likewise.
12544 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12545 (readdinitgroups): Return value returned by addinitgroupsX.
12546 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12547 (prune_cache): Keep track of timeout value of re-added entries.
12548 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12549 * nscd/nscd.h: Adjust prototypes of readd* functions.
12550
a0bf67cc
RM
125512011-02-04 Roland McGrath <roland@redhat.com>
12552
12553 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12554 (nis_stats): Likewise.
12555 * nis/nis_modify.c (nis_modify): Likewise.
12556 * nis/nis_remove.c (nis_remove): Likewise.
12557 * nis/nis_add.c (nis_add): Likewise.
12558
12559 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12560
12561 * posix/fnmatch_loop.c: Add some consts.
12562
12563 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12564
435b95eb
L
125652011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12566
12567 [BZ #12460]
12568 * config.make.in (config-cflags-novzeroupper): Define.
12569 * configure.in: Substitute libc_cv_cc_novzeroupper.
12570 * elf/Makefile (AVX-CFLAGS): Define.
12571 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12572 (CFLAGS-tst-auditmod4a.c): Likewise.
12573 (CFLAGS-tst-auditmod4b.c): Likewise.
12574 (CFLAGS-tst-auditmod6b.c): Likewise.
12575 (CFLAGS-tst-auditmod6c.c): Likewise.
12576 (CFLAGS-tst-auditmod7b.c): Likewise.
12577 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12578
8517b15e
UD
125792011-02-02 Ulrich Drepper <drepper@gmail.com>
12580
12581 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12582 function to the callback.
12583 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12584
10a656fe
AS
125852011-02-02 Andreas Schwab <schwab@redhat.com>
12586
12587 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12588 of errno.
12589
968dad0a
UD
125902011-01-19 Ulrich Drepper <drepper@gmail.com>
12591
9f94d2ea 12592 [BZ #11724]
968dad0a
UD
12593 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12594 of constructors.
12595 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12596 of destructors.
12597 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12598
12599 [BZ #11724]
12600 * elf/Makefile: Add rules to build and run new test.
12601 * elf/tst-initorder.c: New file.
12602 * elf/tst-initorder.exp: New file.
12603 * elf/tst-initordera1.c: New file.
12604 * elf/tst-initordera2.c: New file.
12605 * elf/tst-initordera3.c: New file.
12606 * elf/tst-initordera4.c: New file.
12607 * elf/tst-initorderb1.c: New file.
12608 * elf/tst-initorderb2.c: New file.
12609 * elf/tst-order-a1.c: New file.
12610 * elf/tst-order-a2.c: New file.
12611 * elf/tst-order-a3.c: New file.
12612 * elf/tst-order-a4.c: New file.
12613 * elf/tst-order-b1.c: New file.
12614 * elf/tst-order-b2.c: New file.
12615 * elf/tst-order-main.c: New file.
12616 New test case by George Gensure <werkt0@gmail.com>.
12617
86e92359
UD
126182010-10-01 Andreas Schwab <schwab@redhat.com>
12619
12620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12621 decoding ACE if AI_CANONIDN.
12622
5d5732b0
UD
126232011-01-18 Ulrich Drepper <drepper@gmail.com>
12624
12625 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12626
a77e8cbc
UD
126272011-01-17 Ulrich Drepper <drepper@gmail.com>
12628
6392473f
UD
12629 * version.h (RELEASE): Bump for 2.13 release.
12630 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12631
620a0529
UD
12632 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12633
18ba70a5
UD
12634 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12635 MADV_NOHUGEPAGE.
32465c3e
UD
12636 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12637 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12638 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12639 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12640 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12641 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12642
c0dafcf1
UD
12643 * posix/getconf.c: Update copyright year.
12644 * catgets/gencat.c: Likewise.
12645 * csu/version.c: Likewise.
12646 * debug/catchsegv.sh: Likewise.
12647 * debug/xtrace.sh: Likewise.
12648 * elf/ldconfig.c: Likewise.
12649 * elf/ldd.bash.in: Likewise.
12650 * elf/sprof.c (print_version): Likewise.
12651 * iconv/iconv_prog.c: Likewise.
12652 * iconv/iconvconfig.c: Likewise.
12653 * locale/programs/locale.c: Likewise.
12654 * locale/programs/localedef.c: Likewise.
12655 * malloc/memusage.sh: Likewise.
12656 * malloc/mtrace.pl: Likewise.
12657 * nscd/nscd.c (print_version): Likewise.
12658 * nss/getent.c: Likewise.
12659
a77e8cbc
UD
12660 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12661 PF_CAIF, and PF_ALG.
12662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12663
77e8bddf
AS
126642011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12665
1f20b93a
AS
12666 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12667 (modules-names): Use them.
12668 (ifunc-test-modules, ifunc-pie-tests): Define.
12669 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12670 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12671 (test-extras): Likewise.
12672 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12673 $(compile-command.c).
12674 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12675 (all-built-dso): Define.
12676 (check-textrel.out, check-execstack.out): Depend on it.
12677
77e8bddf
AS
12678 * configure.in: Don't override --enable-multi-arch.
12679
bc425b33
UD
126802011-01-15 Ulrich Drepper <drepper@gmail.com>
12681
12682 [BZ #6812]
12683 * nscd/hstcache.c (tryagain): Define.
12684 (cache_addhst): Return tryagain not notfound for temporary errors.
12685 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12686 failed.
12687
794c3ad3
UD
126882011-01-14 Ulrich Drepper <drepper@gmail.com>
12689
70181fdd
UD
12690 [BZ #10563]
12691 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12692 to make the syscall.
12693 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12694
794c3ad3
UD
12695 [BZ #12378]
12696 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12697 and fall back to matching as normal character if the string ends before
12698 the matching ']' is found. This is what POSIX requires.
12699 * posix/testfnm.c: Adjust test result.
12700 * posix/globtest.sh: Adjust test result. Add new test.
12701 * posix/tst-fnmatch.input: Likewise.
12702 * posix/tst-fnmatch2.c: Add new test.
12703
68dc9497
AS
127042010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12705
12706 * elf/Makefile (check-execstack): Revert last change. Depend on
12707 check-execstack.h.
12708 (check-execstack.h): New target.
12709 (generated): Add check-execstack.h.
12710 * elf/check-execstack.c: Include "check-execstack.h".
12711 (main): Revert last change.
12712 (handle_file): Return zero if GNU_STACK is absent and
12713 DEFAULT_STACK_PERMS doesn't include PF_X.
12714
451f001b
UD
127152011-01-13 Ulrich Drepper <drepper@gmail.com>
12716
cfa28e56
UD
12717 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12718 in child fails because the descriptor is already closed.
8cf8ce17
UD
12719 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12720 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12721 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12722
1086d70d
UD
12723 [BZ #12397]
12724 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12725 syscall.
12726
451f001b
UD
12727 [BZ #10484]
12728 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12729 temporary buffer used to handle multi lookups locally.
a85b5cb4 12730 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12731
08769175
UD
127322011-01-12 Ulrich Drepper <drepper@gmail.com>
12733
12734 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12735 loader is ld.so.
12736
5e49c52e
UD
127372011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12738
12739 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12740 alignment for SSE2.
12741
60522a5f
UD
127422011-01-12 Ulrich Drepper <drepper@gmail.com>
12743
12744 [BZ #12394]
12745 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12746 characters. When rounding increased number of integer digits recompute
12747 number of groups.
12748 * stdio-common/tst-grouping.c: New file.
12749 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12750
f257bbd7
UD
127512011-01-09 Ulrich Drepper <drepper@gmail.com>
12752
12753 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12754 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12755
12756 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12757 void.
12758 * bits/select.h: Likewise.
12759
fa9c15cb
UD
127602011-01-08 Ulrich Drepper <drepper@gmail.com>
12761
12762 * po/ja.po: Update from translation team.
12763
16c2895f
DM
127642011-01-04 David S. Miller <davem@sunset.davemloft.net>
12765
12766 [BZ #11155]
12767 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12768 implementation just like for lxstat, fxstatat, et al.
12769
2543fef2
JM
127702010-12-27 Jim Meyering <meyering@redhat.com>
12771
12772 [BZ #12348]
12773 * posix/regexec.c (build_trtable): Return failure indication upon
12774 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12775
98727dbe
UD
127762010-12-25 Ulrich Drepper <drepper@gmail.com>
12777
5bd6dc5c
UD
12778 [BZ #12201]
12779 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12780 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12781 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12782 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12783
97983464
UD
12784 [BZ #12207]
12785 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12786
98727dbe
UD
12787 [BZ #12204]
12788 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12789 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12790
4a531bb0
L
127912010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12792
12793 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12794 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12795 script has SORT_BY_INIT_PRIORITY.
12796 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12797 NO_CTORS_DTORS_SECTIONS is defined.
12798 * elf/soinit.c: Likewise.
12799 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12800 NO_CTORS_DTORS_SECTIONS is defined.
12801 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12802 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12803 * sysdeps/sh/init-first.c: Likewise.
12804 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12805
07eb4b71
UD
128062010-12-24 Ulrich Drepper <drepper@gmail.com>
12807
12808 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12809 always use the slow path.
12810
30950a5f
RA
128112010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12812
12813 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12814 similar rule which adds the sysdep directories to the header search in
12815 order to pick up the correct platform stackinfo.h.
12816 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12817 perform test if it is, otherwise return successfully without testing.
12818 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12819 DEFAULT_STACK_PERMS define in stackinfo.h.
12820 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12821 defined in stackinfo.h.
12822 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12823 DEFAULT_STACK_PERMS defined in stackinfo.h.
12824 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12825 * sysdeps/ia64/stackinfo.h: Likewise.
12826 * sysdeps/s390/stackinfo.h: Likewise.
12827 * sysdeps/sh/stackinfo.h: Likewise.
12828 * sysdeps/sparc/stackinfo.h: Likewise.
12829 * sysdeps/x86_64/stackinfo.h: Likewise.
12830 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12831 PF_X for powerpc64. Retain PF_X for powerpc32.
12832
db753e2c
UD
128332010-12-19 Ulrich Drepper <drepper@gmail.com>
12834
14b697f7
UD
12835 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12836 accurately.
db753e2c
UD
12837 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12838 GETDENTS_64BIT_ALIGNED.
12839
28300719
UD
128402010-12-14 Ulrich Drepper <dreper@gmail.com>
12841
14b697f7 12842 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12843
4f197237
AS
128442010-12-10 Andreas Schwab <schwab@redhat.com>
12845
dbb0472f
AS
12846 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12847 _GNU_SOURCE.
12848
4f197237
AS
12849 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12850 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12851 Remove __restrict.
12852 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12853 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12854
fb88ac72
UD
128552010-12-09 Ulrich Drepper <drepper@gmail.com>
12856
12857 [BZ #11655]
12858 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12859 are initialized.
12860
42acbb92
JJ
128612010-12-09 Jakub Jelinek <jakub@redhat.com>
12862
12863 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12864
c038d98d
UD
128652010-12-03 Ulrich Drepper <drepper@gmail.com>
12866
12867 * po/it.po: Update from translation team.
12868
3a4a2499
L
128692010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12872 unused codes.
12873
1e24cf6e
UD
128742010-11-30 Ulrich Drepper <drepper@gmail.com>
12875
12876 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12877
a7690819
AS
128782010-11-24 Andreas Schwab <schwab@redhat.com>
12879
12880 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12881 specially.
12882 (gaih_getanswer_slice): Likewise.
12883
3bf8d1b1
JJ
128842010-10-20 Jakub Jelinek <jakub@redhat.com>
12885
12886 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12887
6db52fbb
PB
128882010-05-31 Petr Baudis <pasky@suse.cz>
12889
12890 [BZ #11149]
12891 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12892 silently even in the chroot mode.
12893
eaca7569
UD
128942010-11-22 Ulrich Drepper <drepper@gmail.com>
12895
12896 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12897 last patch a bit. Pretty printing
12898
3056dcdb
UD
128992010-05-31 Petr Baudis <pasky@suse.cz>
12900
12901 [BZ #10085]
12902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12903 initialization of skip_initgroups_dyn.
12904
cf7c9078
UD
129052010-11-19 Ulrich Drepper <drepper@gmail.com>
12906
12907 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12909
a1fb5e3e
UD
129102010-11-16 Ulrich Drepper <drepper@gmail.com>
12911
12912 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12913
3540d66b
AS
129142010-11-11 Andreas Schwab <schwab@redhat.com>
12915
12916 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12917 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12918 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12919 ($(objpfx)tst-fnmatch-mem): New rule.
12920 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12921 * posix/tst-fnmatch.c (main): Call mtrace.
12922
13b69574
L
129232010-11-11 H.J. Lu <hongjiu.lu@intel.com>
12924
12925 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12926 Support Intel processor model 6 and model 0x2c.
12927
da93d214
LM
129282010-11-10 Luis Machado <luisgpm@br.ibm.com>
12929
12930 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
12931 signed comparison.
12932
8ca52c6e
L
129332010-11-09 H.J. Lu <hongjiu.lu@intel.com>
12934
12935 [BZ #12205]
12936 * string/test-strncasecmp.c (check_result): New function.
12937 (do_one_test): Use it.
12938 (check1): New function.
12939 (test_main): Use it.
12940 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
12941 Support strcasecmp and strncasecmp.
12942
69da074d
UD
129432010-11-08 Ulrich Drepper <drepper@gmail.com>
12944
12945 [BZ #12194]
12946 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
12947 * sysdeps/x86_64/bits/byteswap.h: Likewise.
12948
ff02d528
L
129492010-11-07 H.J. Lu <hongjiu.lu@intel.com>
12950
12951 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
12952 IFUNC support.
12953 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12954 memset-x86-64.
12955 * sysdeps/x86_64/multiarch/bzero.S: New file.
12956 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
12957 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
12958 * sysdeps/x86_64/multiarch/memset.S: New file.
12959 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
12960 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12961 Set bit_Prefer_SSE_for_memop for Intel processors.
12962 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
12963 Define.
12964 (index_Prefer_SSE_for_memop): Define.
12965 (HAS_PREFER_SSE_FOR_MEMOP): Define.
12966
344d0b54
LM
129672010-11-04 Luis Machado <luisgpm@br.ibm.com>
12968
12969 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
12970 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
12971
c0dde15b
UD
129722010-11-03 H.J. Lu <hongjiu.lu@intel.com>
12973
12974 [BZ #12191]
12975 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12976 (__x86_64_raw_data_cache_size_half): Likewise.
12977 (__x86_64_raw_shared_cache_size): Likewise.
12978 (__x86_64_raw_shared_cache_size_half): Likewise.
12979
12980 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
12981 (__x86_64_raw_data_cache_size_half): Likewise.
12982 (__x86_64_raw_shared_cache_size): Likewise.
12983 (__x86_64_raw_shared_cache_size_half): Likewise.
12984 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
12985 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
12986 and __x86_64_raw_shared_cache_size_half. Round
12987 __x86_64_data_cache_size_half, __x86_64_data_cache_size
12988 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
12989 to multiple of 256 bytes.
12990
0e516e0e
MS
129912010-11-03 Ulrich Drepper <drepper@gmail.com>
12992
12993 [BZ #12167]
12994 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
12995 of inacessible symlinks. Verify result of symlink before returning it.
12996 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
12997 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
12998
0e012e87
ER
129992010-10-28 Erich Ritz <erichritz@gmail.com>
13000
13001 * math/math.h (isinf): Fix typo in comment.
13002
de0ff7bc
UD
130032010-11-01 Ulrich Drepper <drepper@gmail.com>
13004
13005 * po/da.po: Update from translation team.
13006
fa41c84d
UD
130072010-10-26 Ulrich Drepper <drepper@gmail.com>
13008
13009 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13010 is added to the list.
13011
f0967738
AK
130122010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13013 Ulrich Drepper <drepper@gmail.com>
13014
13015 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13016 the global list here. Move code to...
13017 (_dl_add_to_namespace_list): ...here. New function.
13018 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13019 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13020 * elf/dl-load.c (lose): Don't remove the element from the list.
13021 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13022 (_dl_map_object): Likewise.
13023
130242010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13025
13026 [BZ #12159]
13027 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13028 into all bytes of SSE register.
13029 Patch by Richard Li <richardpku@gmail.com>.
13030
f0967738 130312010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13032
13033 [BZ #12140]
13034 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13035 perturbing.
13036
d0b9e94f
MB
130372010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13038
13039 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13040 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13041 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13042 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13044 submachine.
13045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13046
8e9f92e9
AS
130472010-10-22 Andreas Schwab <schwab@redhat.com>
13048
13049 * include/dlfcn.h (__RTLD_SECURE): Define.
13050 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13051 mode & __RTLD_SECURE instead.
13052 (open_path): Rename preloaded parameter to secure.
13053 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13054 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13055 * elf/dl-deps.c (openaux): Likewise.
13056 * elf/rtld.c (struct map_args): Remove is_preloaded.
13057 (map_doit): Don't use it.
13058 (dl_main): Likewise.
13059 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13060 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13061
bc96fbda
AS
130622010-09-09 Andreas Schwab <schwab@redhat.com>
13063
13064 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13065 (sysd-rules-targets): Remove duplicates.
13066 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13067 rtld-%.$o dependency.
13068
22cd1c9b
AS
130692010-10-18 Andreas Schwab <schwab@redhat.com>
13070
13071 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13072 _dl_map_object do it.
13073
18edac48
UD
130742010-10-19 Ulrich Drepper <drepper@gmail.com>
13075
13076 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13077 fast fma builtins, define the macros in the C99 standard.
13078 (FP_FAST_FMAF): Likewise.
13079 (FP_FAST_FMAL): Likewise.
13080 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13081
13082 * bits/mathdef.h: Update copyright year.
13083 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13084
d2050124
MM
130852010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13086
13087 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13088 builtins, define the macros in the C99 standard.
13089 (FP_FAST_FMAF): Likewise.
13090 (FP_FAST_FMAL): Likewise.
13091 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13092 multiply/add.
13093 (FP_FAST_FMAF): Likewise.
13094
475facd1
JJ
130952010-10-15 Jakub Jelinek <jakub@redhat.com>
13096
13097 [BZ #3268]
13098 * math/libm-test.inc (fma_test): Some new testcases.
13099 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13100 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13101 y and infinite z. Do multiplication by C already in long double.
13102 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13103 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13104 y and infinite z. Do bitwise or of inexact bit into u.d.
13105 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13106 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13107 * sysdeps/i386/fpu/s_fma.S: Removed.
13108 * sysdeps/i386/fpu/s_fmal.S: Removed.
13109
7c08a05c
JJ
131102010-10-16 Jakub Jelinek <jakub@redhat.com>
13111
13112 [BZ #3268]
13113 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13114 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13115 computation is not scheduled after fetestexcept. Fix value
13116 of minimum denormal long double.
13117
f3f7372d
JJ
131182010-10-14 Jakub Jelinek <jakub@redhat.com>
13119
13120 [BZ #3268]
13121 * math/libm-test.inc (fma_test): Add some more tests.
13122 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13123 correctly.
13124
14d43591
AS
131252010-10-15 Andreas Schwab <schwab@redhat.com>
13126
13127 * scripts/data/localplt-s390-linux-gnu.data: New file.
13128 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13129
5e908464
JJ
131302010-10-13 Jakub Jelinek <jakub@redhat.com>
13131
13132 [BZ #3268]
13133 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13134 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13135 instead of dbl-64.
13136 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13137 inlines.
13138 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13140 if one of x and y is very large and the other is subnormal.
13141 * sysdeps/s390/fpu/s_fmaf.c: New file.
13142 * sysdeps/s390/fpu/s_fma.c: New file.
13143 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13144 * sysdeps/powerpc/fpu/s_fma.S: New file.
13145 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13146 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13147 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13148
131492010-10-12 Jakub Jelinek <jakub@redhat.com>
13150
13151 [BZ #3268]
13152 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13153 fma tests.
13154 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13155 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13156 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13157 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13158 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13159 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13160 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13161
b833d51f
UD
131622010-10-12 Ulrich Drepper <drepper@redhat.com>
13163
13164 [BZ #12078]
13165 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13166 * posix/bug-regex31.input: Add test case.
13167
1751705d
UD
131682010-10-11 Ulrich Drepper <drepper@gmail.com>
13169
e9b9cbf5
UD
13170 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13171 * posix/bug-regex31.input: New file.
13172
13173 [BZ #12078]
13174 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13175 (parse_sub_exp): Fix last change, use postorder.
13176
ef06edbe
UD
13177 * posix/bug-regex31.c: New file.
13178 * posix/Makefile: Add rules to build and run bug-regex31.
13179
a129c80d
UD
13180 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13181
13182 [BZ #12078]
13183 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13184
b76b818e
UD
13185 [BZ #12108]
13186 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13187 to have entries in sys_siglist.
13188
1751705d
UD
13189 [BZ #12093]
13190 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13191 be NULL.
13192
9ff8d36f
JJ
131932010-10-07 Jakub Jelinek <jakub@redhat.com>
13194
13195 [BZ #3268]
13196 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13197 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13198 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13199 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13200 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13201 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13202 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13203 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13204 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13205 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13206 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13207 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13208 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13209 * math/ftestexcept.c (fetestexcept): Likewise.
13210 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13211 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13212 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13213 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13214 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13215 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13216 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13217
af325969
UD
132182010-10-11 Ulrich Drepper <drepper@gmail.com>
13219
c579b202 13220 [BZ #12107]
af325969
UD
13221 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13222 newline.
13223
67a67b95
UD
132242010-10-06 Ulrich Drepper <drepper@gmail.com>
13225
13226 * string/bug-strstr1.c: New file.
13227 * string/Makefile: Add rules to build and run bug-strstr1.
13228
5fb308bc
EB
132292010-10-05 Eric Blake <eblake@redhat.com>
13230
13231 [BZ #12092]
13232 * string/str-two-way.h (two_way_long_needle): Always clear memory
13233 when skipping input due to the shift table.
13234
45db99c7
UD
132352010-10-03 Ulrich Drepper <drepper@gmail.com>
13236
3b111893
UD
13237 [BZ #12005]
13238 * malloc/mcheck.c: Handle large requests.
13239
45db99c7
UD
13240 [BZ #12077]
13241 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13242 for strncmp and strncasecmp.
13243 * string/stratcliff.c: Add tests for strcmp and strncmp.
13244 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13245
cf7a1eb8
NI
132462010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13247
13248 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13249 __set_fpscr.
13250
6484ba5e
AJ
132512010-09-30 Andreas Jaeger <aj@suse.de>
13252
13253 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13254 (CGROUP_SUPER_MAGIC): Define.
13255 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13256 Handle btrfs and cgroup file systems.
13257 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13258 Likewise.
13259
91c42559
LM
132602010-09-27 Luis Machado <luisgpm@br.ibm.com>
13261
13262 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13263 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13264
87a97932
AK
132652010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13266
13267 [BZ #12067]
13268 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13269 trying to locate the ELF header.
13270
c21cc9bc
AS
132712010-09-27 Andreas Schwab <schwab@redhat.com>
13272
13273 [BZ #11611]
13274 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13275 Mask out sign-bit copies when constructing f_fsid.
13276
315970f6
PB
132772010-09-24 Petr Baudis <pasky@suse.cz>
13278
13279 * debug/stack_chk_fail_local.c: Add missing licence exception.
13280 * debug/warning-nop.c: Likewise.
13281
1ac7a2c7
JM
132822010-09-15 Joseph Myers <joseph@codesourcery.com>
13283
13284 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13285 implementing getdents64 using getdents syscall, set d_type if
13286 __ASSUME_GETDENTS32_D_TYPE.
13287
56801c50
AS
132882010-09-16 Andreas Schwab <schwab@redhat.com>
13289
13290 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13291 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13292
dda51327
UD
132932010-09-21 Ulrich Drepper <drepper@redhat.com>
13294
13295 [BZ #12037]
13296 * posix/unistd.h: Undo change of feature selection for ftruncate from
13297 2010-01-11.
13298
8ffcee4a
UD
132992010-09-20 Ulrich Drepper <drepper@redhat.com>
13300
a545ecd9 13301 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13302 detection.
13303
e24f0a8b
AS
133042010-09-20 Andreas Schwab <schwab@redhat.com>
13305
13306 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13307 fanotify_mark.
13308 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13309
7291c56f
AS
133102010-09-14 Andreas Schwab <schwab@redhat.com>
13311
13312 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13313 variables after CHECK_SP call.
13314 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13315
bc5fb037
AS
133162010-09-13 Andreas Schwab <schwab@redhat.com>
13317 Ulrich Drepper <drepper@redhat.com>
13318
13319 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13320 re-relocationg ld.so.
13321 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13322 _dl_init_paths call.
13323 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13324 here anymore.
13325
e66e7419
UD
133262010-09-14 Ulrich Drepper <drepper@redhat.com>
13327
13328 * resolv/res_init.c (__res_vinit): Count the default server we added.
13329
c044aa75
CLT
133302010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13331 Ulrich Drepper <drepper@redhat.com>
13332
13333 [BZ #11968]
13334 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13335 (____longjmp_chk): Use %ebx for saving value across system call.
13336 Add unwind info.
13337
32cf4069
AS
133382010-09-06 Andreas Schwab <schwab@redhat.com>
13339
13340 * manual/Makefile: Don't mix pattern rules with normal rules.
13341
817328ee
AS
133422010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13343
13344 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13345 operation.
13346 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13347 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13348 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13349 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13351 Likewise.
13352
29fddf61
UD
133532010-09-04 Ulrich Drepper <drepper@redhat.com>
13354
13355 [BZ #11979]
13356 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13357 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13358
0959ffc9
UD
133592010-09-02 Ulrich Drepper <drepper@redhat.com>
13360
13361 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13362 * sysdeps/x86_64/addmul_1.S: Likewise.
13363 * sysdeps/x86_64/lshift.S: Likewise.
13364 * sysdeps/x86_64/mul_1.S: Likewise.
13365 * sysdeps/x86_64/rshift.S: Likewise.
13366 * sysdeps/x86_64/sub_n.S: Likewise.
13367 * sysdeps/x86_64/submul_1.S: Likewise.
13368
ece29840
ST
133692010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13370
0959ffc9
UD
13371 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13372 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13373 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13374 * bits/sched.h [__need_schedparam]
ece29840 13375 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13376 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13377 (__defined_schedparam): Define to 1.
ece29840
ST
13378 (__sched_param): New structure, identical to sched_param.
13379 (__need_schedparam): Undefine.
13380
e53a31fe
MF
133812010-08-31 Mike Frysinger <vapier@gentoo.org>
13382
fdc0c10d
MF
13383 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13384 (epoll_create1): Declare.
13385
e53a31fe
MF
13386 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13387
a726d796
AS
133882010-08-31 Andreas Schwab <schwab@redhat.com>
13389
13390 [BZ #7066]
13391 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13392 shifting retval into place.
13393
2f3e3dc7
UD
133942010-09-01 Ulrich Drepper <drepper@redhat.com>
13395
f2933da9
UD
13396 * nis/rpcsvc/nis.h: Update copyright notice.
13397 * nis/rpcsvc/nis.x: Likewise.
13398 * nis/rpcsvc/nis_callback.h: Likewise.
13399 * nis/rpcsvc/nis_callback.x: Likewise.
13400 * nis/rpcsvc/nis_object.x: Likewise.
13401 * nis/rpcsvc/nis_tags.h: Likewise.
13402 * nis/rpcsvc/yp.h: Likewise.
13403 * nis/rpcsvc/yp.x: Likewise.
13404 * nis/rpcsvc/ypupd.h: Likewise.
13405 * nis/yp_xdr.c: Likewise.
13406 * nis/ypupdate_xdr.c: Likewise.
13407
2f3e3dc7
UD
13408 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13409 mainly the body of pmap_getport. Add parameters to specify timeouts.
13410 (pmap_getport): Use __libc_rpc_getport.
13411 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13412 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13413 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13414
f3dcc2f9
AS
134152010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13416
13417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13418 fanotify_mark.
13419
6d34eb5b
RM
134202010-08-27 Roland McGrath <roland@redhat.com>
13421
13422 * sysdeps/i386/i686/multiarch/Makefile
13423 (CFLAGS-varshift.c): New variable.
13424
9ea3de11
UD
134252010-08-27 Ulrich Drepper <drepper@redhat.com>
13426
c96d23fc
UD
13427 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13428 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13429
9ea3de11
UD
13430 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13431
13432 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13433
623aac7f
L
134342010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13435
13436 * sysdeps/x86_64/strlen.S: Unroll the loop.
13437 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13438 strlen-sse2 strlen-sse2-bsf.
13439 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13440 __strlen_no_bsf if bit_Slow_BSF is set.
13441 (__strlen_sse42): Removed.
13442 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13443 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13444
8b2b7715
RM
134452010-08-25 Roland McGrath <roland@redhat.com>
13446
13447 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13448 * sysdeps/x86_64/multiarch/varshift.c: New file.
13449 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13450 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13451 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13452 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13453
e73015f2
L
134542010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13455
13456 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13457 strlen-sse2 strlen-sse2-bsf.
13458 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13459 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13460 (__strlen_sse2): Removed.
13461 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13462 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13464 bit_Slow_BSF for Atom.
13465 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13466 (index_Slow_BSF): Define.
13467 (HAS_SLOW_BSF): Define.
13468
df24a73e
UD
134692010-08-25 Ulrich Drepper <drepper@redhat.com>
13470
13471 [BZ #10851]
13472 * resolv/res_init.c (__res_vinit): When no server address at all
13473 is given default to loopback.
13474
f2ac4868
RM
134752010-08-24 Roland McGrath <roland@redhat.com>
13476
09055553
RM
13477 * configure.in: Remove config-name.h generation.
13478 * configure: Regenerated.
13479 * config-name.in: File removed.
13480 * scripts/config-uname.sh: New file.
13481 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13482 ($(objdir)config-name.h): New target.
13483
f2ac4868
RM
13484 * sunrpc/rpc_parse.h: Avoid nested comment.
13485
73f27d5e
RH
134862010-08-24 Richard Henderson <rth@redhat.com>
13487 Ulrich Drepper <drepper@redhat.com>
13488 H.J. Lu <hongjiu.lu@intel.com>
13489
13490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13491 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13492 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13493 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13494 _mm_alignr_epi8 with _mm_loadu_si128.
13495 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13496 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13497 (__m128i_shift_right): Removed.
13498 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13499 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13500 * sysdeps/x86_64/multiarch/varshift.h: New file.
13501 * sysdeps/x86_64/multiarch/varshift.S: New file.
13502
84b9230c
MF
135032010-08-21 Mike Frysinger <vapier@gentoo.org>
13504
13505 * configure.in: Move assembler checks to before sysdep dir checking.
13506
9bbd0ddc
PB
135072010-08-20 Petr Baudis <pasky@suse.cz>
13508
13509 * LICENSES: Sync the sunrpc license.
13510
9da4bb31
UD
135112010-08-19 Ulrich Drepper <drepper@redhat.com>
13512
a7ab6ec8
UD
13513 * sunrpc/auth_des.c: Update copyright notice once again.
13514 * sunrpc/auth_none.c: Likewise.
13515 * sunrpc/auth_unix.c: Likewise.
13516 * sunrpc/authdes_prot.c: Likewise.
13517 * sunrpc/authuxprot.c: Likewise.
13518 * sunrpc/bindrsvprt.c: Likewise.
13519 * sunrpc/clnt_gen.c: Likewise.
13520 * sunrpc/clnt_perr.c: Likewise.
13521 * sunrpc/clnt_raw.c: Likewise.
13522 * sunrpc/clnt_simp.c: Likewise.
13523 * sunrpc/clnt_tcp.c: Likewise.
13524 * sunrpc/clnt_udp.c: Likewise.
13525 * sunrpc/clnt_unix.c: Likewise.
13526 * sunrpc/des_crypt.c: Likewise.
13527 * sunrpc/des_soft.c: Likewise.
13528 * sunrpc/get_myaddr.c: Likewise.
13529 * sunrpc/getrpcport.c: Likewise.
13530 * sunrpc/key_call.c: Likewise.
13531 * sunrpc/key_prot.c: Likewise.
13532 * sunrpc/openchild.c: Likewise.
13533 * sunrpc/pm_getmaps.c: Likewise.
13534 * sunrpc/pm_getport.c: Likewise.
13535 * sunrpc/pmap_clnt.c: Likewise.
13536 * sunrpc/pmap_prot.c: Likewise.
13537 * sunrpc/pmap_prot2.c: Likewise.
13538 * sunrpc/pmap_rmt.c: Likewise.
13539 * sunrpc/rpc/auth.h: Likewise.
13540 * sunrpc/rpc/auth_unix.h: Likewise.
13541 * sunrpc/rpc/clnt.h: Likewise.
13542 * sunrpc/rpc/des_crypt.h: Likewise.
13543 * sunrpc/rpc/key_prot.h: Likewise.
13544 * sunrpc/rpc/netdb.h: Likewise.
13545 * sunrpc/rpc/pmap_clnt.h: Likewise.
13546 * sunrpc/rpc/pmap_prot.h: Likewise.
13547 * sunrpc/rpc/pmap_rmt.h: Likewise.
13548 * sunrpc/rpc/rpc.h: Likewise.
13549 * sunrpc/rpc/rpc_des.h: Likewise.
13550 * sunrpc/rpc/rpc_msg.h: Likewise.
13551 * sunrpc/rpc/svc.h: Likewise.
13552 * sunrpc/rpc/svc_auth.h: Likewise.
13553 * sunrpc/rpc/types.h: Likewise.
13554 * sunrpc/rpc/xdr.h: Likewise.
13555 * sunrpc/rpc_clntout.c: Likewise.
13556 * sunrpc/rpc_cmsg.c: Likewise.
13557 * sunrpc/rpc_common.c: Likewise.
13558 * sunrpc/rpc_cout.c: Likewise.
13559 * sunrpc/rpc_dtable.c: Likewise.
13560 * sunrpc/rpc_hout.c: Likewise.
13561 * sunrpc/rpc_main.c: Likewise.
13562 * sunrpc/rpc_parse.c: Likewise.
13563 * sunrpc/rpc_parse.h: Likewise.
13564 * sunrpc/rpc_prot.c: Likewise.
13565 * sunrpc/rpc_sample.c: Likewise.
13566 * sunrpc/rpc_scan.c: Likewise.
13567 * sunrpc/rpc_scan.h: Likewise.
13568 * sunrpc/rpc_svcout.c: Likewise.
13569 * sunrpc/rpc_tblout.c: Likewise.
13570 * sunrpc/rpc_util.c: Likewise.
13571 * sunrpc/rpc_util.h: Likewise.
13572 * sunrpc/rpcinfo.c: Likewise.
13573 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13574 * sunrpc/rpcsvc/key_prot.x: Likewise.
13575 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13576 * sunrpc/rpcsvc/mount.x: Likewise.
13577 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13578 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13579 * sunrpc/rpcsvc/rex.x: Likewise.
13580 * sunrpc/rpcsvc/rstat.x: Likewise.
13581 * sunrpc/rpcsvc/rusers.x: Likewise.
13582 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13583 * sunrpc/rpcsvc/spray.x: Likewise.
13584 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13585 * sunrpc/rtime.c: Likewise.
13586 * sunrpc/svc.c: Likewise.
13587 * sunrpc/svc_auth.c: Likewise.
13588 * sunrpc/svc_authux.c: Likewise.
13589 * sunrpc/svc_raw.c: Likewise.
13590 * sunrpc/svc_run.c: Likewise.
13591 * sunrpc/svc_simple.c: Likewise.
13592 * sunrpc/svc_tcp.c: Likewise.
13593 * sunrpc/svc_udp.c: Likewise.
13594 * sunrpc/svc_unix.c: Likewise.
13595 * sunrpc/svcauth_des.c: Likewise.
13596 * sunrpc/xcrypt.c: Likewise.
13597 * sunrpc/xdr.c: Likewise.
13598 * sunrpc/xdr_array.c: Likewise.
13599 * sunrpc/xdr_float.c: Likewise.
13600 * sunrpc/xdr_mem.c: Likewise.
13601 * sunrpc/xdr_rec.c: Likewise.
13602 * sunrpc/xdr_ref.c: Likewise.
13603 * sunrpc/xdr_sizeof.c: Likewise.
13604 * sunrpc/xdr_stdio.c: Likewise.
13605
9da4bb31
UD
13606 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13607 handling.
13608
bdaa77bc
AS
136092010-08-19 Andreas Schwab <schwab@redhat.com>
13610
13611 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13612
fe2f79db
LM
136132010-08-19 Luis Machado <luisgpm@br.ibm.com>
13614
13615 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13616 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13617 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13618 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13619 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13620 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13621 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13622 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13623 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13624 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13625 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13626 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13627 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13628 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13629
b9b42ee0
AB
136302010-07-26 Anton Blanchard <anton@samba.org>
13631
13632 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13633 * malloc/arena.c (heap_trim): Likewise.
13634
1c06ba31
UD
136352010-08-16 Ulrich Drepper <drepper@redhat.com>
13636
13637 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13638 here. Not...
13639 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13640 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13641
f8392f40
L
136422010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13643
13644 * sysdeps/i386/elf/Makefile: New file.
13645
3162f12e
AS
136462010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13647
13648 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13649 from fanotify_init.
13650 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13651 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13652
28c90b2c
UD
136532010-08-15 Ulrich Drepper <drepper@redhat.com>
13654
13655 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13656 of strncasecmp_l.
1feccb6c 13657 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13658
ca6bb004
UD
136592010-08-14 Ulrich Drepper <drepper@redhat.com>
13660
e9f82e0d
UD
13661 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13662 strncase_l-nonascii.
13663 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13664 Add strncase_l-ssse3.
13665 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13666 * sysdeps/x86_64/strcmp.S: Likewise.
13667 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13668 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13669 * sysdeps/x86_64/strncase.S: New file.
13670 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13671 * sysdeps/x86_64/strncase_l.S: New file.
13672 * string/Makefile (strop-tests): Add strncasecmp.
13673 * string/test-strncasecmp.c: New file.
13674
13675 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13676 warning.
13677
ca6bb004
UD
13678 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13679 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13680
052fa7b3
AS
136812010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13682
13683 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13684
962dba78
UD
136852010-08-12 Ulrich Drepper <drepper@redhat.com>
13686
13687 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13688 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13689 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13690
bebff237
AM
136912010-05-01 Alan Modra <amodra@gmail.com>
13692
13693 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13694 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13695 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13696 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13697 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13698 tidying. Don't tail-call __sigjmp_save for static lib.
13699 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13700 save location.
13701 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13702 (CALL_MCOUNT): Add eh info, and nop after bl.
13703 (TAIL_CALL_SYSCALL_ERROR): New macro.
13704 (PSEUDO_RET): Use it.
13705 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13706 Correct save location of integer regs and cr.
13707 (_dl_profile_resolve): Correct cr save location. Delete nops
13708 after bl when SHARED. Reduce cfi size a little by better
13709 placement of cfi directives.
13710 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13711 make a stack frame. Instead use parm save area as a temp.
13712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13713 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13715 Don't make a stack frame for parent, use parm save area.
13716 Increase child stack frame to 112 bytes. Don't save unused reg,
13717 and adjust reg usage. Set up cfi on error recovery and
13718 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13720 (__makecontext): Add dummy nop after jump to exit.
13721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13722 Use correct parm save area and cr save, reduce stack frame.
13723 Correct cfi for possible PSEUDO_RET frame setup.
13724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13725 Branch to local label emitted by PSEUDO_RET rather than
13726 __syscall_error.
13727
02637374
AS
137282010-08-12 Andreas Schwab <schwab@redhat.com>
13729
13730 [BZ #11904]
13731 * locale/programs/locale.c (print_assignment): New function.
13732 (show_locale_vars): Use it.
13733
c3e2f19b
UD
137342010-08-11 Ulrich Drepper <drepper@redhat.com>
13735
3cdaa6ad
UD
13736 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13737 field.
13738 (struct statfs64): Likewise.
13739 (_STATFS_F_FLAGS): Define.
13740 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13741 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13742 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13743 (ST_VALID): Define locally.
13744 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13745 __statvfs_getflags, use the provided value.
13746 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13747 __ASSUME_STATFS_F_FLAGS.
13748
754f7da3
UD
13749 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13750
10b3bedc
UD
13751 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13752 Add sys/fanotify.h.
13753 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13754 fanotify_mask for GLIBC_2.13.
13755 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13756 fanotify_init and fanotify_mark.
13757 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13758 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13759
c08fb0d7
UD
13760 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13761 Add prlimit.
13762 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13763 prlimit64 for GLIBC_2.13.
13764 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13765 prlimit64.
13766 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13767 syscall.
13768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13769 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13770 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13771 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13772 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13773 add prlimit alias.
13774 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13775
15bac72b
UD
13776 [BZ #11903]
13777 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13778 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13779
c3e2f19b
UD
13780 * nss/Makefile: Add rules to build and run tst-nss-test1.
13781 * shlib-versions: Add entry for libnss_test1.
13782 * nss/nss_test1.c: New file.
13783 * nss/tst-nss-test1.c: New file.
13784
13785 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13786 (__nss_configure_lookup): Set appropriate entry in
13787 __nss_configure_lookup to true.
13788 * nss/nsswitch.h: Define enum with indeces of databases in
13789 databases and __nss_database_custom arrays. Declare
13790 __nss_database_custom.
13791 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13792 to avoid using nscd when custom rules are installed.
13793 * nss/getXXbyYY_r.c: Likewise.
13794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13795
13796 * nss/nss_files/files-parse.c: Whitespace fixes.
13797
f15ce4d8
UD
137982010-08-09 Ulrich Drepper <drepper@redhat.com>
13799
13800 [BZ #11883]
13801 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13802 * posix/fnmatch_loop.c: Likewise.
13803
d22e4cc9
AK
138042010-07-17 Andi Kleen <ak@linux.intel.com>
13805
13806 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13807 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13808 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13809 * Versions.def [GLIBC_2.13]: Add.
13810
805bc17d
UD
138112010-08-06 Ulrich Drepper <drepper@redhat.com>
13812
13813 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13814 Also fail if tpwd after pwuid call is NULL.
13815
5a42321d
ST
138162010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13817
13818 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13819 when converting to ms.
13820
fd3ebeda
ST
138212010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13822
13823 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13824 EOPNOTSUPP errors with ENOTTY.
13825 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13826 EOPNOTSUPP errors with ENOTTY.
13827
73507d3a
UD
138282010-07-31 Ulrich Drepper <drepper@redhat.com>
13829
13830 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13831 Add strcasecmp_l-ssse3.
13832 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13833 strcasecmp.
13834 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13835 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13837
fe36dd02
UD
138382010-07-30 Ulrich Drepper <drepper@redhat.com>
13839
66f6765a
UD
13840 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13841
42e08a54
UD
13842 * string/Makefile (strop-tests): Add strcasecmp.
13843 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13844 strcasecmp_l-nonascii.
13845 (gen-as-const-headers): Add locale-defines.sym.
13846 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13847 * sysdeps/x86_64/strcasecmp.S: New file.
13848 * sysdeps/x86_64/strcasecmp_l.S: New file.
13849 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13850 * sysdeps/x86_64/locale-defines.sym: New file.
13851 * string/test-strcasecmp.c: New file.
13852
fe36dd02
UD
13853 * string/test-strcasestr.c: Test both ends of the range of characters.
13854 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13855
48cbc0d6
RM
138562010-07-29 Roland McGrath <roland@redhat.com>
13857
76e6d6bc 13858 [BZ #11856]
48cbc0d6
RM
13859 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13860
880113d9
UD
138612010-07-27 Ulrich Drepper <drepper@redhat.com>
13862
13863 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13864 for ld.so.
13865
deb9cabb
AS
138662010-07-27 Andreas Schwab <schwab@redhat.com>
13867
13868 * manual/memory.texi (Malloc Tunable Parameters): Document
13869 M_PERTURB.
13870
1c7570ff
RM
138712010-07-26 Roland McGrath <roland@redhat.com>
13872
13873 [BZ #11840]
13874 * configure.in (-fgnu89-inline check): Set and substitute
13875 gnu89_inline, not libc_cv_gnu89_inline.
13876 * configure: Regenerated.
13877 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13878
24fb0f88
UD
138792010-07-26 Ulrich Drepper <drepper@redhat.com>
13880
13881 * string/test-strnlen.c: New file.
13882 * string/Makefile (strop-tests): Add strnlen.
13883 * string/tester.c (test_strnlen): Add a few more test cases.
13884 * string/tst-strlen.c: Better error reporting.
13885
13886 * sysdeps/x86_64/strnlen.S: New file.
13887
8e96b93a
UD
138882010-07-24 Ulrich Drepper <drepper@redhat.com>
13889
13890 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13891 lower-latency instructions.
13892
dbc676d4
UD
138932010-07-23 Ulrich Drepper <drepper@redhat.com>
13894
13895 * string/test-strcasestr.c: New file.
13896 * string/test-strstr.c: New file.
13897 * string/Makefile (strop-tests): Add strstr and strcasestr.
13898 * string/str-two-way.h: Don't undefine MAX.
13899 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13900
f6a31e0e
AS
139012010-07-21 Andreas Schwab <schwab@redhat.com>
13902
13903 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13904 strcasestr-nonascii.
13905 (CFLAGS-strcasestr-nonascii.c): Define.
13906 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13907 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13908 Remove unused attribute.
13909
5dbc3b6c
RM
139102010-07-20 Roland McGrath <roland@redhat.com>
13911
13912 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13913 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13914 ld.so.cache was broken. With it, there is no way to disable dsocaps
13915 like LD_HWCAP_MASK can disable hwcaps.
13916
23d101d8
EPM
139172010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13918
13919 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13920
cc9f2e47
UD
139212010-07-16 Ulrich Drepper <drepper@redhat.com>
13922
13923 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
13924 call in strcasestr.
13925 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
13926 __strcasestr_sse42_nonascii.
13927 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
13928 strcasestr-nonascii.c.
13929 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
13930
77c1b069
LM
139312010-06-15 Luis Machado <luisgpm@br.ibm.com>
13932
13933 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
13934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
13935 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
13936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
13937
440566c3
UD
139382010-07-09 Ulrich Drepper <drepper@redhat.com>
13939
13940 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
13941 fcntl.
13942
5be9d05d
AS
139432010-07-06 Andreas Schwab <schwab@redhat.com>
13944
c30b7ee2 13945 [BZ #11577]
5be9d05d
AS
13946 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
13947 dl_signal_cerror.
13948
8a492a67
UD
139492010-07-06 Ulrich Drepper <drepper@redhat.com>
13950
13951 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
13952 _PC_PIPE_BUF using F_GETPIPE_SZ.
13953
713df3d5
RM
139542010-07-05 Roland McGrath <roland@redhat.com>
13955
13956 * manual/arith.texi (Rounding Functions): Fix rint description
13957 implicit in round description.
13958
702e8f14
UD
139592010-07-02 Ulrich Drepper <drepper@redhat.com>
13960
13961 * elf/Makefile: Fix linking for a few tests to make recent linker
13962 happy.
13963
52ed8be9
AS
139642010-06-30 Andreas Schwab <schwab@redhat.com>
13965
13966 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13967 $(common-objpfx)libc_nonshared.a.
13968
f47c9a11
LM
139692010-06-21 Luis Machado <luisgpm@br.ibm.com>
13970
13971 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
13972 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
13973 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13974 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13975 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
13976 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
13977 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13978 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
13980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
13981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
13982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
13983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
13984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
13985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
13986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
13987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
13988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
13989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
13990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
13991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
13992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
13993 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
13994 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
13995 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
13996 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
13997 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
13998 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
13999 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14000 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14001 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14002 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14003 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14004 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14019
6fb8cbcb
L
140202010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14021
14022 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14023 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14024 * string/memmove.c (memmove): Renamed to ...
14025 (MEMMOVE): ...this. Default to memmove.
14026 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14027 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14028 (END_CHK): Define.
14029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14030 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14031 mempcpy-ssse3-back memmove-ssse3-back.
14032 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14033 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14034 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14035 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14036 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14037 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14038 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14039 * sysdeps/x86_64/multiarch/memmove.c: New file.
14040 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14041 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14042 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14043 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14044 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14045 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14046 Define.
14047 (index_Fast_Copy_Backward): Define.
14048 (HAS_ARCH_FEATURE): Define.
14049 (HAS_FAST_REP_STRING): Define.
14050 (HAS_FAST_COPY_BACKWARD): Define.
14051
4e733bac 140522010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14053
14054 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14055 Restore proper fallback handling.
14056
63c4ed22
UD
140572010-06-19 Ulrich Drepper <drepper@redhat.com>
14058
ac2b484c
UD
14059 [BZ #11701]
14060 * posix/group_member.c (__group_member): Correct checking loop.
14061
63c4ed22
UD
14062 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14063 OOM in getpwuid_r correctly. Return error number when the caller
14064 should return, otherwise -1.
14065 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14066 call returning > 0 value.
14067 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14068
765ade4b
AS
140692010-06-07 Andreas Schwab <schwab@redhat.com>
14070
14071 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14072 libc_nonshared.a from targets in modules-names.
14073
80da2e09
KS
140742010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14075
14076 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14077 requires it.
14078
158db122
LM
140792010-06-10 Luis Machado <luisgpm@br.ibm.com>
14080
14081 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14082 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14083 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14084 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14085
caa78cf8
AS
140862010-06-02 Andreas Schwab <schwab@redhat.com>
14087
14088 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14089
b2ef2c01
UD
140902010-06-14 Ulrich Drepper <drepper@redhat.com>
14091
14092 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14093 and F_GETPIPE_SZ.
14094 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14095 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14096 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14097 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14098 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14099 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14100
fbd643b6
RM
141012010-06-14 Roland McGrath <roland@redhat.com>
14102
14103 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14104
f32f2869
JJ
141052010-06-07 Jakub Jelinek <jakub@redhat.com>
14106
14107 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14108 __REDIRECT followed by __THROW.
14109 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14110 * posix/getopt.h (getopt): Likewise.
14111
2a50c078
EPM
141122010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14113
14114 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14115 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14116 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14117 in AT_FLAGS.
14118 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14119 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14120
eb5ad2eb
LM
141212010-05-28 Luis Machado <luisgpm@br.ibm.com>
14122
14123 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14124
3c88fe1e
L
141252010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14126
14127 [BZ #11640]
14128 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14129 Properly check family and model.
14130
d2f73151
TY
141312010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14132
14133 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14134
ebd2e13d
LM
141352010-05-24 Luis Machado <luisgpm@br.ibm.com>
14136
14137 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14138
b32b8b45
UD
141392010-05-21 Ulrich Drepper <drepper@redhat.com>
14140
14141 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14142 symbol reference.
14143
9acbe24d
AS
141442010-05-19 Andreas Schwab <schwab@redhat.com>
14145
14146 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14147 symbol reference.
14148
f0ccf6ea
AS
141492010-05-21 Andreas Schwab <schwab@redhat.com>
14150
3d04ff3a
AS
14151 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14152 and internal_recvmmsg.
14153 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14154 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14155 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14156 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14157
f0ccf6ea
AS
14158 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14159 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14160 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14161
5b08ac57
AS
141622010-05-20 Andreas Schwab <schwab@redhat.com>
14163
14164 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14165
4828935d
LM
141662010-05-17 Luis Machado <luisgpm@br.ibm.com>
14167
14168 POWER7 optimizations.
14169 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14170 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14171
373d545e
UD
141722010-05-19 Ulrich Drepper <drepper@redhat.com>
14173
14174 * version.h: Update for 2.13 development version.
14175
21a2b1ae
AS
141762010-05-12 Andrew Stubbs <ams@codesourcery.com>
14177
14178 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14179 exceptions. Return 0.
14180
3f7dcb2b
RM
141812010-05-07 Roland McGrath <roland@redhat.com>
14182
14183 * elf/ldconfig.c (main): Add a const.
14184
5f24d53a 141852010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14186
a160f8d8
UD
14187 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14188 (args_options): Add no-idn option.
14189 (ahosts_keys_int): Add idn_flags to ai_flags.
14190 (parse_option): Handle 'i' option to clear idn_flags.
14191
5f24d53a
UD
14192 * malloc/malloc.c (_int_free): Possible race in the most recently
14193 added check. Only act on the data if no current modification
14194 happened.
265bb1ce
UD
14195
14196See ChangeLog.17 for earlier changes.
This page took 1.639318 seconds and 5 git commands to generate.