]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Load pointer to TID into R10_LP
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f6ee6623
L
12012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2
3 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
4 into R10_LP.
5
ea2626f6
L
62012-05-15 H.J. Lu <hongjiu.lu@intel.com>
7
8 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
9
085f715e
L
102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
11
12 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
13 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
14 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
15 Likewise.
16 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17
be8498fc
L
182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
19
20 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21 (stackinfo_sub_sp): Likewise.
22
70bc83b9
L
232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
24
25 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
26 RAX_LP.
27
9bc0b730
L
282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29
30 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
31 into R*_LP.
32
6d2850e7
L
332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
34
35 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
36 sizes into R*_LP.
37
3cb84561
L
382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
39
40 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
41
54e2ed81
L
422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
43
44 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
45 into R11_LP and load __x86_64_shared_cache_size_half into
46 R8_LP.
47
8a17f349
L
482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
49
50 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
51 R8_LP.
52
777b1eea
AZ
532012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54
55 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
56 logb for POWER7.
57 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
58 logbf for POWER7.
59 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
60 logbl for POWER7.
61 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
62 powerpc32/power7/fpu/s_logb.c via #include.
63 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
64 powerpc32/power7/fpu/s_logbf.c via #include.
65 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
66 powerpc32/power7/fpu/s_logbl.c via #include.
67
d20d4ac2
JM
682012-05-15 Joseph Myers <joseph@codesourcery.com>
69
70 * README.libm: Remove file.
71
6cdef1ab
L
722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
73
74 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
75 count for x32. Use R*_LP and omit operand-size suffix.
76
0b254d8f
L
772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
78
79 * shlib-versions: Move x86_64-.*-linux.* entries to ...
80 * sysdeps/x86_64/64/shlib-versions: Here. New file.
81 * sysdeps/x86_64/x32/shlib-versions: New file.
82
ceb809dc
RM
832012-05-14 Roland McGrath <roland@hack.frob.com>
84
85 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
86 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
87 Use _dl_fatal_printf instead.
88
37f1abd4
JM
892012-05-14 Joseph Myers <joseph@codesourcery.com>
90
91 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
92 set if not set by the user. Do not allow for being unset.
93 * sysdeps/unix/sysv/linux/configure: Regenerated.
94
11de3a33
L
952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
96
97 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
98 the `q' suffix from lea and replace .quad with ASM_ADDR.
99
e02f153a
L
1002012-05-14 H.J. Lu <hongjiu.lu@intel.com>
101
102 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
103 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
104 instead of $17.
105 (PTR_DEMANGLE): Likewise.
106
520ae0fd
L
1072012-05-14 H.J. Lu <hongjiu.lu@intel.com>
108
109 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
110 (LP_OP): Likewise.
111 (ASM_ADDR): Likewise.
112 (RAX_LP): Likewise.
113 (RBP_LP): Likewise.
114 (RBX_LP): Likewise.
115 (RCX_LP): Likewise.
116 (RDI_LP): Likewise.
117 (RSI_LP): Likewise.
118 (RSP_LP): Likewise.
119 (R8_LP): Likewise.
120 (R9_LP): Likewise.
121 (R10_LP): Likewise.
122 (R10_LP): Likewise.
123 (R11_LP): Likewise.
124 (R12_LP): Likewise.
125 (R13_LP): Likewise.
126 (R14_LP): Likewise.
127 (R15_LP): Likewise.
128
b985be81
L
1292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
130
131 * sysdeps/x86_64/x32/dl-machine.h: New file.
132
6a4888ff
AJ
1332012-05-14 Andreas Jaeger <aj@suse.de>
134
135 * manual/Makefile (subdir): Remove export of subdir.
136 (all): Remove target.
137 (.PHONY): Remove all from list.
138 (mkinstalldirs): Remove.
139 (.PHONY): Remove installdirs from list.
140 ($(inst_infodir)/libc.info): Use make-target-directory.
141 (installdirs): Remove.
142 (subdir_%): Remove.
143 (glibc-targets): Remove.
144 (lib): Remove.
145 (stubs): Remove.
146 ($(objpfx)stubs ../po/manual.pot): Remove.
147 ($(objpfx)stamp%): Remove.
148 (make-target-directory): Remove.
149 (subdir_install): Remove.
150 (routines): Remove.
151 (aux): Remove.
152 (sources): Remove.
153 (objects): Remove.
154 (headers): Remove.
155
156 [BZ #13750]
157 * manual/.gitignore: Remove, it's not needed anymore.
158 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
159 all files in it.
160 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
161 directory.
162 (texis): Renamed to $(objpfx)texis.
163 (texis-path): New, contains path to generated files.
164 (chapters.%): Use texis-path for complete path, add extra argument
165 libc-texinfo.sh.
166 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
167 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
168 (summary,texi, stamp-summary): Use complete path of
169 files. Generate files in build dir.
170 (dir-add.texi): Build in build dir.
171 (libm-err.texi,stamp-libm-err): Likewise.
172 (version.texi, stamp-version): Likewise.
173 (.%c.texi): Likewise.
174 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
175 (mostlyclean): Remove target.
176 (realclean): Remove target.
177 (generated): Add new variable with contents from mostlyclean and
178 realclean, remove entries duplicated in common-mostlyclean, add
179 stamp-libm-err and stamp-version.
180 (generated-dirs): Add libc directory.
181 ($(inst_infodir)/libc.info): Install files from build dir.
182
183 * manual/install.texi (Configuring and compiling): Adjust since
184 the info files are not part of the tar ball anymore.
185
7ac77294
AJ
1862012-05-14 Andreas Jaeger <aj@suse.de>
187
188 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
189 variable.
190
ffb7875d
JM
1912012-05-14 Joseph Myers <joseph@codesourcery.com>
192
193 [BZ #13717]
194 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
195 to 2.2.0 where earlier.
196 * sysdeps/unix/sysv/linux/configure: Regenerated.
197 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
198 Remove conditional code.
199 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
200 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
201 Remove conditional code.
202 [!__NR_lchown]: Likewise.
203 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
204 [__NR_lchown]: Likewise.
205 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
206 comment referencing __ASSUME_LCHOWN_SYSCALL.
207 * sysdeps/unix/sysv/linux/i386/sigaction.c
208 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
209 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
210 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
211 Remove conditional code.
212 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
213 (__protocol_available): Remove #if 0 code.
214 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
215 conditional code.
216 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
217 * sysdeps/unix/sysv/linux/kernel-features.h
218 (__ASSUME_GETCWD_SYSCALL): Don't define.
219 (__ASSUME_REALTIME_SIGNALS): Likewise.
220 (__ASSUME_PREAD_SYSCALL): Likewise.
221 (__ASSUME_PWRITE_SYSCALL): Likewise.
222 (__ASSUME_POLL_SYSCALL): Likewise.
223 (__ASSUME_LCHOWN_SYSCALL): Likewise.
224 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
225 non-SPARC.
226 (__ASSUME_SIOCGIFNAME): Don't define.
227 (__ASSUME_MSG_NOSIGNAL): Likewise.
228 (__ASSUME_SENDFILE): Define unconditionally.
229 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
230 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
231 conditional code.
232 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
233 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
234 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
235 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
236 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
237 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
238 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
240 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
241 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
243 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
244 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
246 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
247 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
249 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
250 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
252 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
253 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
255 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
256 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
258 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
259 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
261 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
262 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
263 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
264 Remove conditional code.
265 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
266 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
267 Remove conditional code.
268 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
269 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
270 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
271 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
272 Remove conditional code.
273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
274 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
275 Remove conditional code.
276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
277 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
278 Remove conditional code.
279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
280 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
281 Remove conditional code.
282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
283 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
284 Remove conditional code.
285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
286 * sysdeps/unix/sysv/linux/sh/pwrite64.c
287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
289 * sysdeps/unix/sysv/linux/sigaction.c
290 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
291 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
292 * sysdeps/unix/sysv/linux/sigpending.c
293 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
294 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
295 * sysdeps/unix/sysv/linux/sigprocmask.c
296 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
297 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
298 * sysdeps/unix/sysv/linux/sigsuspend.c
299 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
300 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
301 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
302 (__libc_missing_rt_sigs): Remove.
303 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
304 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
305 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
306 Remove conditional code.
307 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
308 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
309 return 1.
310 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
311 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
312 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
313 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
314
1bfb7291
AJ
3152012-05-14 Andreas Jaeger <aj@suse.de>
316
caae5a81
AJ
317 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
318 it's not used in glibc.
319 (__coshm1): Likewise.
320 (__acosh1p): Likewise.
321 (__sgn): Likewise.
322
1bfb7291
AJ
323 * manual/string.texi (Copying and Concatenation): Add missing
324 variable in concat example.
325 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
326
c044d724
L
3272012-05-14 H.J. Lu <hongjiu.lu@intel.com>
328
144c5467 329 [BZ #14103]
c044d724
L
330 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
331 __builtin_clzl with __builtin_clzll.
332
2523c62b
L
3332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
334
335 [BZ #14104]
336 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
337 libc_freeres_ptr.
338
d7bb4c42
LD
3392012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
340
341 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
342 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
343 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
344 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
345
9dc4e1fb
MF
3462012-05-14 Mike Frysinger <vapier@gentoo.org>
347
348 * NEWS: Update ia64 info.
349
c7df0112
AS
3502012-05-12 Andreas Schwab <schwab@linux-m68k.org>
351
352 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
353 used as bcopy.
354
dc70356c
TS
3552012-05-12 Thomas Schwinge <thomas@codesourcery.com>
356
357 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
358 * sysdeps/unix/syscalls.list (dup3): Likewise.
359 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
360 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
361
9fb1a21f
L
3622012-05-11 H.J. Lu <hongjiu.lu@intel.com>
363
364 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
365 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
366
4822a2a5
L
3672012-05-11 H.J. Lu <hongjiu.lu@intel.com>
368
369 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
370 thread pointer.
371 (TLS_IE): Use mov/add instead of movq/addq to load thread
372 pointer.
373 (TLS_GD_PREFIX): New.
374 (TLS_GD): Use it.
375
842b81d6
DM
3762012-05-11 David S. Miller <davem@davemloft.net>
377
378 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
379 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
380 (_FPU_SETCW): Likewise.
381
1cf463cd
L
3822012-05-10 H.J. Lu <hongjiu.lu@intel.com>
383
384 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
385 is 32-byte aligned.
386
60cc4a18
AS
3872012-05-11 Andreas Schwab <schwab@linux-m68k.org>
388
389 [BZ #11837]
390 * iconvdata/gb18030.c: Update tables.
391 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
392 characters specially.
393 (BODY for TO_LOOP): Add encoding of missing ranges.
394
febb44a4
TS
3952012-05-11 Thomas Schwinge <thomas@codesourcery.com>
396
397 [BZ #13673]
398 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
399 * sysdeps/mach/hurd/dup3.c: Likewise.
400 * sysdeps/mach/hurd/readlinkat.c: Likewise.
401 * sysdeps/powerpc/memmove.c:: Likewise.
402
0a10fb9e
L
4032012-05-10 H.J. Lu <hongjiu.lu@intel.com>
404
405 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
406 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
407
df8a552f
L
4082012-05-10 H.J. Lu <hongjiu.lu@intel.com>
409
410 * elf/elf.h (R_X86_64_RELATIVE64): New.
411 (R_X86_64_NUM): Updated.
412 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
413 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
414 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
415 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
416 tst-quad1pie tst-quad2pie
417 (modules-names): Add tst-quadmod1 tst-quadmod2.
418 ($(objpfx)tst-quad1): New dependency.
419 ($(objpfx)tst-quad2): Likewise.
420 ($(objpfx)tst-quad1pie): Likewise.
421 ($(objpfx)tst-quad2pie): Likewise.
422 * sysdeps/x86_64/tst-quad1.c: New file.
423 * sysdeps/x86_64/tst-quad1pie.c: New file.
424 * sysdeps/x86_64/tst-quad2.c: Likewise.
425 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
426 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
427 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
428 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
429 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
430
f34d6f84
ST
4312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
432
f42d41d1
ST
433 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
434 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
435 * streams/stropts.h (t_scalar_t): Define type.
436
3c3571fc
ST
437 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
438 (_PATH_PRESERVE): Set to "/var/lib".
439 (_PATH_RWHODIR): Set to "/var/spool/rwho".
440
61f06bd3
ST
441 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
442 instead of int.
443
918d4d71
ST
444 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
445 if __dir_mkfile succeeded.
446
f34d6f84
ST
447 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
448 checking for _hurd_dtablesize. Unlock it right after having
449 finished _hurd_dtable allocation.
450
10589b4a
TS
4512012-05-10 Thomas Schwinge <thomas@schwinge.name>
452
674cdbc7
TS
453 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
454 * sysdeps/mach/hurd/configure: Regenerated.
455 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
456 special-casing to...
457 * sysdeps/gnu/configure.in: ... this new file.
458 * sysdeps/unix/sysv/linux/configure: Regenerated.
459 * sysdeps/gnu/configure: New generated file.
460
8e41b99f
TS
461 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
462 for Linux: use nsec instead of usec, as well as:
463 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
464 members of type struct timespec.
465 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
466 New macros.
467 (struct stat64): Likewise.
468 (_STATBUF_ST_NSEC): New macro.
469 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
470
10589b4a
TS
471 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
472 __strtoul_internal rather than strtoul.
473
63643c85
PT
4742012-05-10 Pino Toscano <toscano.pino@tiscali.it>
475
476 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
477 and reject them.
478
3faebe6a
ST
4792012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
480
481 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
482 which preserves existing values.
483 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
484
c6474b07
PT
4852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
486
487 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
488 TIMEOUT values. Return EINVAL for NFDS values either negative or
489 greater than FD_SETSIZE.
490
1043890b
ST
4912012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
492
493 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
494 allocated, call __vm_protect to finish enabling the existing space, and
495 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
496 allocate the remainder.
497
37ed8b9b
PT
4982012-05-10 Pino Toscano <toscano.pino@tiscali.it>
499
500 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
501 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
502
db653660
ST
5032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
504
37ed8b9b
PT
505 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
506 sysdeps/mach/hurd/readlink.c.
b29d4053 507
db653660
ST
508 * posix/tst-sysconf.c (posix_options): Only use
509 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
510 _POSIX_SYNCHRONIZED_IO when they are defined
511 * sysdeps/mach/hurd/bits/posix_opt.h:
512 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
513 (_XOPEN_REALTIME): Undefine macro.
514 (_XOPEN_REALTIME_THREADS): Undefine macro.
515 (_XOPEN_SHM): Undefine macro.
516 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
517 macro to -1.
518 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
519 macro to -1.
520 (_POSIX_ASYNC_IO): Undefine macro.
521 (_POSIX_PRIORITIZED_IO): Undefine macro.
522 (_POSIX_SPIN_LOCKS): Define macro to -1.
523
ee16e894
ST
524 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
525 SA_NODEFER, SA_RESETHAND.
526 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
527 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
528 F_DUPFD_CLOEXEC.
529
6103ae3b
TS
5302012-05-10 Thomas Schwinge <thomas@schwinge.name>
531
532 * elf/Makefile (pldd-modules): Define unconditionally.
533
80b4e5f3
TS
5342012-05-10 Thomas Schwinge <thomas@schwinge.name>
535
536 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
537
edadcbd6
ST
5382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
539
540 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
541 Return ENOENT when name is empty.
542 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
543
80694780
TS
5442012-05-10 Thomas Schwinge <thomas@schwinge.name>
545
1792c087
TS
546 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
547
80694780
TS
548 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
549
6b645f0d
ST
5502012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
551
80694780
TS
552 Fix mlock in all cases except non-readable pages.
553 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
554 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 555
6b645f0d
ST
556 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
557 (__mkdir): When path is `/', just fail with EEXIST.
558 * sysdeps/mach/hurd/mkdirat.c: Likewise.
559
e468f8a3
TS
5602012-05-10 Thomas Schwinge <thomas@schwinge.name>
561
562 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
563 <sys/uio.h> (for writev).
564 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
565 and <sys/param.h> (for MIN).
566
a4186cff
PT
5672012-05-10 Pino Toscano <toscano.pino@tiscali.it>
568
569 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
570 REQUESTED_TIME. Properly set the remaining time and return EINTR
571 if interrupted.
572
510bbf14
TS
5732012-05-10 Thomas Schwinge <thomas@schwinge.name>
574
575 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
576 Depend on against $(link-rpcuserlibs).
577
5d5722e8
ST
5782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
579
a4186cff
PT
580 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
581 (__libc_stack_end): Do not use attribute_relro.
582 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
583 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 584 to libthread-provided value.
a4186cff
PT
585 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
586 attribute_relro.
5d5722e8 587
37233df9
TS
5882012-05-10 Thomas Schwinge <thomas@schwinge.name>
589
be971a2b
TS
590 [BZ #3748]
591 * bits/libc-lock.h (__libc_once_get): New macro.
592 * sysdeps/mach/bits/libc-lock.h: Likewise.
593 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
594 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
595 instead of using implementation details.
596
37233df9
TS
597 * libio/fileops.c: Unconditionally include <kernel-features.h>.
598 * libio/freopen.c: Likewise.
599 * libio/freopen64.c: Likewise.
600 * misc/syslog.c: Likewise.
601 * nscd/connections.c: Likewise.
602 * nscd/netgroupcache.c: Likewise.
603 * sysdeps/posix/getcwd.c: Likewise.
604
38de94a5
RM
6052012-05-10 Roland McGrath <roland@hack.frob.com>
606
607 * math/w_ilogbf.c: Add #include <limits.h>.
608
67530489
ST
6092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
610
a4186cff 611 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
612 path instead of returning without unlocking.
613
67530489
ST
614 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
615 immediate-write ioctls.
616 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
617
5aa3a74a
TS
6182012-05-10 Thomas Schwinge <thomas@schwinge.name>
619
18bad2ae
TS
620 * sysdeps/mach/hurd/i386/init-first.c (init): Use
621 __builtin_frame_address instead of making assumptions about the
622 location of the return address relative to DATA. Force early load of
623 the return address.
624 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
625 __builtin_frame_address.
626
5aa3a74a
TS
627 dup3 for GNU Hurd.
628 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
629 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
630 implement dup3 and do some further code clean-ups.
631 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
632 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
633
ecd0de9a
ST
6342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
635
cd9fa985
ST
636 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
637
a4186cff
PT
638 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
639 HURD_CRITICAL_END around holding _hurd_dtable_lock.
640 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
641 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
642 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
643 d->port.lock.
802ca5a5 644
a4186cff
PT
645 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
646 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
647 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 648
bcf55240
TS
6492012-05-10 Thomas Schwinge <thomas@schwinge.name>
650
6960eb42
TS
651 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
652 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
653 definitions.
654
eb43375f
TS
655 accept4 for GNU Hurd.
656 * include/sys/socket.h (__libc_accept4): New prototype.
657 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
658 to implement __libc_accept4.
659 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
660 __libc_accept4.
661 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
662
bcf55240
TS
663 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
664 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
665 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
666 signal-defines.sym.
667
6178c55b
ST
6682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
669
a4186cff 670 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 671
6f080c2f
TS
6722012-05-10 Thomas Schwinge <thomas@schwinge.name>
673
674 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
675 assertion on O_CLOEXEC flag.
676 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
677 * hurd/intern-fd.c: Likewise.
678 * hurd/port2fd.c: Likewise.
679
bcfe3a54
ST
6802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
681
682 [BZ #3906]
683 * bits/in.h (IPV6_PKTINFO): Define new macro.
684 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
685
89c9aa49
AZ
6862012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
687
688 [BZ #13954]
689 [BZ #13955]
690 [BZ #13956]
691 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
692 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
693 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
694 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
696 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
697 * math/libm-test.inc (logb_test) : Additional logb tests.
698
021db4be
AJ
6992012-05-09 Andreas Schwab <schwab@linux-m68k.org>
700 Andreas Jaeger <aj@suse.de>
701
702 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
703 * configure: Regenerated.
704 * config.h.in (LINK_OBSOLETE_RPC): New macro.
705 * config.make.in (link-obsolete-rpc): New substituted variable.
706 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
707 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
708 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
709 (shared-only-routines): Don't set it under [link-obsolete-rpc],
710 so that libc.a contains the symbols.
711 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
712 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
713 * sunrpc/auth_none.c: Likewise.
714 * sunrpc/auth_unix.c: Likewise.
715 * sunrpc/authdes_prot.c: Likewise.
716 * sunrpc/authuxprot.c: Likewise.
717 * sunrpc/clnt_gen.c: Likewise.
718 * sunrpc/clnt_perr.c: Likewise.
719 * sunrpc/clnt_raw.c: Likewise.
720 * sunrpc/clnt_simp.c: Likewise.
721 * sunrpc/clnt_tcp.c: Likewise.
722 * sunrpc/clnt_udp.c: Likewise.
723 * sunrpc/clnt_unix.c: Likewise.
724 * sunrpc/des_crypt.c: Likewise.
725 * sunrpc/des_soft.c: Likewise.
726 * sunrpc/get_myaddr.c: Likewise.
727 * sunrpc/key_call.c: Likewise.
728 * sunrpc/key_prot.c: Likewise.
729 * sunrpc/netname.c: Likewise.
730 * sunrpc/pm_getmaps.c: Likewise.
731 * sunrpc/pm_getport.c: Likewise.
732 * sunrpc/pmap_clnt.c: Likewise.
733 * sunrpc/pmap_prot.c: Likewise.
734 * sunrpc/pmap_prot2.c: Likewise.
735 * sunrpc/pmap_rmt.c: Likewise.
736 * sunrpc/publickey.c: Likewise.
737 * sunrpc/rpc_cmsg.c: Likewise.
738 * sunrpc/rpc_common.c: Likewise.
739 * sunrpc/rpc_dtable.c: Likewise.
740 * sunrpc/rpc_prot.c: Likewise.
741 * sunrpc/rpc_thread.c: Likewise.
742 * sunrpc/rtime.c: Likewise.
743 * sunrpc/svc.c: Likewise.
744 * sunrpc/svc_auth.c: Likewise.
745 * sunrpc/svc_raw.c: Likewise.
746 * sunrpc/svc_run.c: Likewise.
747 * sunrpc/svc_tcp.c: Likewise.
748 * sunrpc/svc_udp.c: Likewise.
749 * sunrpc/svc_unix.c: Likewise.
750 * sunrpc/svcauth_des.c: Likewise.
751 * sunrpc/xcrypt.c: Likewise.
752 * sunrpc/xdr.c: Likewise.
753 * sunrpc/xdr_array.c: Likewise.
754 * sunrpc/xdr_float.c: Likewise.
755 * sunrpc/xdr_intXX_t.c: Likewise.
756 * sunrpc/xdr_mem.c: Likewise.
757 * sunrpc/xdr_rec.c: Likewise.
758 * sunrpc/xdr_ref.c: Likewise.
759 * sunrpc/xdr_sizeof.c: Likewise.
760 * sunrpc/xdr_stdio.c: Likewise.
761
b5c086a2
RM
7622012-05-10 Roland McGrath <roland@hack.frob.com>
763
764 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
765 change. Update copyright years.
766
6d74dd09
JM
7672012-05-10 Joseph Myers <joseph@codesourcery.com>
768
769 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
770
28e72501
MK
7712012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
772 Joseph Myers <joseph@codesourcery.com>
773 Paul Pluzhnikov <ppluzhnikov@google.com>
774
775 [BZ #14012]
776 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
777 requiring rpcgen.
778 [cross-compiling] (extra-libs): Likewise.
779 [cross-compiling] (extra-libs-others): Likewise.
780 [cross-compiling] (librpcsvc-routines): Likewise.
781 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
782 [cross-compiling] (omit-deps): Likewise.
783 (sunrpc-CPPFLAGS): New variable.
784 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
785 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
786 (cross-rpcgen-objs): New variable.
787 (extra-objs): Append $(cross-rpcgen-objs).
788 ($(cross-rpcgen-objs)): New rule.
789 ($(objpfx)cross-rpcgen): Likewise.
790 (rpcgen-cmd): Define to use $(built-program-file). Expand
791 comment.
792 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
793 ($(objpfx)x%.stmp): Likewise.
794 * sunrpc/proto.h [IS_IN_build] (_): Define.
795 [IS_IN_build] (_libc_intl_domainname): Likewise.
796
c8c59454
L
7972012-05-10 H.J. Lu <hongjiu.lu@intel.com>
798
799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
800 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
801 and R_X86_64_TPOFF64.
802
6f27cd16
JM
8032012-05-10 Joseph Myers <joseph@codesourcery.com>
804
805 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
806 sysdeps/unix/sysv/syscalls.list.
807 (stime): Likewise.
808 (utime): Likewise.
809 * sysdeps/unix/sysv/syscalls.list: Remove file.
810
02467e1c
PE
8112012-05-10 Paul Eggert <eggert@cs.ucla.edu>
812
813 [BZ #3440]
814 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
815 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
816 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
817 (__LC_IDENTIFICATION): Make these macros useful in #if
818 expressions, as required by C99.
819
da392631
AS
8202012-05-10 Andreas Schwab <schwab@linux-m68k.org>
821
822 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
823 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
824 after this.
825
8115f29b
L
8262012-05-09 H.J. Lu <hongjiu.lu@intel.com>
827
828 * stdlib/longlong.h: Updated from GCC.
829
bdd74070
AJ
8302012-05-09 Andreas Jaeger <aj@suse.de>
831
edfe0dbe
AJ
832 * nscd/nscd.c (run_modes): Make named enum, reorder so that
833 default is first entry.
834 (run_mode): Set type.
835 (main): Remove informal message about syslog.
836 (options): Fix typo.
837
bcfe3a54
ST
838 [BZ #14053]
839 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 840 to asm.
bcfe3a54
ST
841 (lrint): Likewise.
842 (llrintf): Likewise.
843 (llrint): Likewise.
844 (rint): Likewise.
845 (rintf): Likewise.
846 (nearbyint): Likewise.
847 (nearbyintf): Likewise.
bdd74070 848
91d8d69e
AJ
8492012-05-09 Andreas Jaeger <aj@suse.de>
850 Pedro Alves <palves@redhat.com>
851
852 * nscd/nscd.c (run_mode): Use enum.
853 (main): Cleanup coding style issue.
854
bb90b80b
AJ
8552012-05-09 Alexandre Oliva <aoliva@redhat.com>
856 Andreas Jaeger <aj@suse.de>
857
bcfe3a54
ST
858 * nscd/nscd.c (go_background): Replaced with...
859 (run_mode): ... this.
bb90b80b 860 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
861 (options): Add -F --foreground.
862 (main): Implement it.
863 (parse_opt): Parse it.
bb90b80b 864
1a4b75a1
AJ
8652012-05-09 Andreas Jaeger <aj@suse.de>
866
867 [BZ #14083]
868 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
869 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
870 -Wconversion warning.
871 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
872 Likewise.
873
b1cc2472
JM
8742012-05-09 Joseph Myers <joseph@codesourcery.com>
875
876 * conform/data/locale.h-data (NULL): Use macro-constant. Require
877 == 0.
878 (LC_ALL): Use macro-int-constant.
879 (LC_COLLATE): Likewise.
880 (LC_CTYPE): Likewise.
881 (LC_MESSAGES): Likewise.
882 (LC_MONETARY): Likewise.
883 (LC_NUMERIC): Likewise.
884 (LC_TIME): Likewise.
885 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
886 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
887 [ISO || ISO99 || ISO11] (*_t): Do not allow.
888 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
889 Specify type.
890 [C99-based standards] (float_t): Expect type.
891 [C99-based standards] (double_t): Expect type.
892 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
893 type.
894 [C99-based standards] (HUGE_VALL): Likewise.
895 [C99-based standards] (INFINITY): Likewise.
896 [C99-based standards] (NAN): Likewise.
897 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
898 [C99-based standards] (FP_NAN): Likewise.
899 [C99-based standards] (FP_NORMAL): Likewise.
900 [C99-based standards] (FP_SUBNORMAL): Likewise.
901 [C99-based standards] (FP_ZERO): Likewise.
902 [C99-based standards] (FP_FAST_FMA): Use
903 optional-macro-int-constant. Specify type. Require == 1.
904 [C99-based standards] (FP_FAST_FMAF): Likewise.
905 [C99-based standards] (FP_FAST_FMAL): Likewise.
906 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
907 [C99-based standards] (FP_ILOGBNAN): Likewise.
908 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
909 Specify type.
910 [C99-based standards] (MATH_ERREXCEPT): Likewise.
911 [C99-based standards] (math_errhandling): Specify type.
912 [ISO99 || ISO11] (signgam): Do not allow.
913 [non-C99-based standards] (copysignf): Do not allow.
914 [non-C99-based standards] (exp2f): Likewise.
915 [non-C99-based standards] (log2f): Likewise.
916 [non-C99-based standards] (modff): Allow.
917 [non-C99-based standards] (erff): Do not allow.
918 [non-C99-based standards] (erfcf): Likewise.
919 [non-C99-based standards] (gammaf): Likewise.
920 [non-C99-based standards] (hypotf): Likewise.
921 [non-C99-based standards] (j0f): Likewise.
922 [non-C99-based standards] (j1f): Likewise.
923 [non-C99-based standards] (jnf): Likewise.
924 [non-C99-based standards] (lgammaf): Likewise.
925 [non-C99-based standards] (tgammaf): Likewise.
926 [non-C99-based standards] (y0f): Likewise.
927 [non-C99-based standards] (y1f): Likewise.
928 [non-C99-based standards] (ynf): Likewise.
929 [non-C99-based standards] (isnanf): Likewise.
930 [non-C99-based standards] (acoshf): Likewise.
931 [non-C99-based standards] (asinhf): Likewise.
932 [non-C99-based standards] (atanhf): Likewise.
933 [non-C99-based standards] (cbrtf): Likewise.
934 [non-C99-based standards] (expm1f): Likewise.
935 [non-C99-based standards] (ilogbf): Likewise.
936 [non-C99-based standards] (log1pf): Likewise.
937 [non-C99-based standards] (logbf): Likewise.
938 [non-C99-based standards] (nextafterf): Likewise.
939 [non-C99-based standards] (remainderf): Likewise.
940 [non-C99-based standards] (rintf): Likewise.
941 [non-C99-based standards] (scalbf): Likewise.
942 [non-C99-based standards] (copysignl): Likewise.
943 [non-C99-based standards] (exp2l): Likewise.
944 [non-C99-based standards] (log2l): Likewise.
945 [non-C99-based standards] (modfl): Allow.
946 [non-C99-based standards] (erfl): Do not allow.
947 [non-C99-based standards] (erfcl): Likewise.
948 [non-C99-based standards] (gammal): Likewise.
949 [non-C99-based standards] (hypotl): Likewise.
950 [non-C99-based standards] (j0l): Likewise.
951 [non-C99-based standards] (j1l): Likewise.
952 [non-C99-based standards] (jnl): Likewise.
953 [non-C99-based standards] (lgammal): Likewise.
954 [non-C99-based standards] (tgammal): Likewise.
955 [non-C99-based standards] (y0l): Likewise.
956 [non-C99-based standards] (y1l): Likewise.
957 [non-C99-based standards] (ynl): Likewise.
958 [non-C99-based standards] (isnanl): Likewise.
959 [non-C99-based standards] (acoshl): Likewise.
960 [non-C99-based standards] (asinhl): Likewise.
961 [non-C99-based standards] (atanhl): Likewise.
962 [non-C99-based standards] (cbrtl): Likewise.
963 [non-C99-based standards] (expm1l): Likewise.
964 [non-C99-based standards] (ilogbl): Likewise.
965 [non-C99-based standards] (log1pl): Likewise.
966 [non-C99-based standards] (logbl): Likewise.
967 [non-C99-based standards] (nextafterl): Likewise.
968 [non-C99-based standards] (remainderl): Likewise.
969 [non-C99-based standards] (rintl): Likewise.
970 [non-C99-based standards] (scalbl): Likewise.
971 [ISO || ISO99 || ISO11] (*_t): Do not allow.
972 [non-C99-based standards] (FP_*): Do not allow.
973 [C99-based standards] (FP_*): Change to
974 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
975 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
976 allow.
977 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
978 (SIG_ERR): Likewise.
979 [X/Open-based standards] (SIG_HOLD): Likewise.
980 (SIG_IGN): Likewise.
981 (SIGABRT): Use macro-int-constant. Specify type. Require
982 positive value.
983 (SIGFPE): Likewise.
984 (SIGILL): Likewise.
985 (SIGINT): Likewise.
986 (SIGSEGV): Likewise.
987 (SIGTER): Likewise.
988 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
989 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
990 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
991 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
992 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
993 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
994 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
995 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
996 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
997 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
998 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
999 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1000 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1001 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1002 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1003 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1004 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1005 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1006 [X/Open-based standards] (SIGTRAP): Likewise.
1007 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1008 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1009 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1010 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1011 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1012 allow.
1013
b9f1922d
IW
10142012-05-08 Ian Wienand <ianw@vmware.com>
1015
1016 [BZ #14080]
1017 * time/tzset.c (__tzset_parse_tz): Update default rules for
1018 daylight time changes in the Energy Policy Act of 2005.
1019
1db86e88
AJ
10202012-05-09 Andreas Jaeger <aj@suse.de>
1021
1022 [BZ #13983]
1023 * elf/ldconfig.c (parse_conf): Change string to make clear that
1024 ldconfig only issued a warning if ld.so.conf does not exist.
1025
dee4a4e3
DM
10262012-05-08 David S. Miller <davem@davemloft.net>
1027
ee0db190
DM
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1029 movxtod instead of popping the value on the stack.
1030
dee4a4e3
DM
1031 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1032
6a43ec98
CD
10332012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1034
1035 * config.h.in: Add HAVE_ARM_PCS_VFP.
1036
05c2c961
RMG
10372012-05-08 Roland Mc Grath <roland@hack.frob.com>
1038
bcfe3a54
ST
1039 [BZ #13979]
1040 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1041 checking but the checks are disabled for any reason.
05c2c961 1042
4b30f61a
L
10432012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1046 and ELF64_R_TYPE with ELFW(R_TYPE).
1047
eee2bc67
JM
10482012-05-08 Joseph Myers <joseph@codesourcery.com>
1049
7ea5391a
JM
1050 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1051 (ulimit): Likewise.
1052
eee2bc67
JM
1053 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1054 (settimeofday): Likewise.
1055
abb66a67
MF
10562012-05-08 Mike Frysinger <vapier@gentoo.org>
1057
1058 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1059 a struct th_u2 inside the union, and move tu_block/tu_code into
1060 a new th_u3 union of tu_block/tu_code inside of that. Move
1061 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1062 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1063 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1064 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1065 (th_stuff): Change to th_u1.tu_stuff.
1066 (th_data): Define.
1067 (th_msg): Change to th_u1.th_u2.tu_data.
1068
7f18b530
DM
10692012-05-07 David S. Miller <davem@davemloft.net>
1070
05760585
DM
1071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1072
7f18b530
DM
1073 [BZ #14074]
1074 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1075 (SETUP_PIC_REG): Use it.
1076 (SETUP_PIC_REG_LEAF): Use it.
1077
495fd99f
JM
10782012-05-07 Joseph Myers <joseph@codesourcery.com>
1079
1080 [BZ #13885]
1081 [BZ #13923]
1082 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1083 USE_AS_EXPM1L.
1084 (EXPL_FINITE): Likewise.
1085 (FLDLOG): Likewise.
1086 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1087 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1088 e_expl.S.
1089 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1090 USE_AS_EXPM1L.
1091 (EXPL_FINITE): Likewise.
1092 (FLDLOG): Likewise.
1093 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1094 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1095 e_expl.S.
1096 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1097 test of -max_value argument for long double.
1098 * sysdeps/i386/fpu/libm-test-ulps: Update.
1099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1100
6693d694
DM
11012012-05-06 David S. Miller <davem@davemloft.net>
1102
1103 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1104 quad soft-float symbols whose references which are compiler
1105 generated.
1106 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1107
6c23e11c
JM
11082012-05-06 Joseph Myers <joseph@codesourcery.com>
1109
d8b82cad
JM
1110 [BZ #13884]
1111 [BZ #13914]
1112 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1113 USE_AS_EXP10L.
1114 (EXPL_FINITE): Likewise.
1115 (FLDLOG): Likewise.
1116 (c0): Likewise.
1117 (c1): Likewise.
1118 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1119 Adjust comments for base varying.
1120 (__expl_finite): Change alias to EXPL_FINITE.
1121 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1122 e_expl.S.
1123 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1124 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1125 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1126 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1127 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1128 USE_AS_EXP10L.
1129 (EXPL_FINITE): Likewise.
1130 (FLDLOG): Likewise.
1131 (c0): Likewise.
1132 (c1): Likewise.
1133 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1134 Adjust comments for base varying.
1135 (__expl_finite): Change alias to EXPL_FINITE.
1136 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1137 tests for bugs.
1138 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1139
6c23e11c
JM
1140 [BZ #14064]
1141 * math/libm-test.inc (check_float_internal): Correct ulp
1142 calculation for subnormal expected results.
1143
29ba805c
AJ
11442012-05-06 Andreas Jaeger <aj@suse.de>
1145
1146 * Makeconfig (+math-flags): New, set to -frounding-math.
1147 (+cflags): Add +math-flags so that all of glibc gets compiled with
1148 it.
1149
1150 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1151
7b17aeda
JM
11522012-05-05 Joseph Myers <joseph@codesourcery.com>
1153
5779f134
JM
1154 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1155 Disable one test.
1156
41498f4d
JM
1157 [BZ #13787]
1158 [BZ #13922]
1159 [BZ #14036]
1160 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1161 (__ieee754_expl): Allow for and saturate large arguments.
1162 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1163 (u_threshold): Likewise.
1164 (__exp): Call __ieee754_exp before checking for overflow and
1165 underflow.
1166 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1167 (u_threshold): Likewise.
1168 (__expf): Call __ieee754_expf before checking for overflow and
1169 underflow.
1170 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1171 (u_threshold): Likewise.
1172 (__expl): Call __ieee754_expl before checking for overflow and
1173 underflow.
1174 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1175 (__ieee754_expl): Allow for and saturate large arguments.
1176 * math/libm-test.inc (exp_test): Add another test. Do not allow
1177 missing overflow exception on overflow.
1178 (expm1_test): Do not allow missing overflow exception on overflow.
1179
6698b8bf
JM
1180 * sysdeps/i386/fpu/e_expl.c: Move to ...
1181 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1182 rather than using inline asm.
1183 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1184 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1185 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1186
7b17aeda
JM
1187 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1188 (nice): Likewise.
1189 (poll): Likewise.
1190 (signal): Likewise.
1191 (time): Likewise.
1192 (times): Likewise.
1193
f7c85819
JM
11942012-05-04 Joseph Myers <joseph@codesourcery.com>
1195
1196 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1197 sysdeps/unix/common/syscalls.list.
1198 (fchmod): Likewise.
1199 (fchown): Likewise.
1200 (ftruncate): Likewise.
1201 (getrusage): Likewise.
1202 (gettimeofday): Likewise.
1203 (setpgid): Likewise.
1204 (setregid): Likewise.
1205 (setreuid): Likewise.
1206 (sigaction): Likewise.
1207 (truncate): Likewise.
1208 (vhangup): Likewise.
1209 * sysdeps/unix/common/syscalls.list: Remove file.
1210 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1211 * sysdeps/unix/sysv/linux/Implies: Likewise.
1212
336270d0
L
12132012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1216 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1217 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1218 Moved to ...
1219 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1220 Here.
1221 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1222 to ...
1223 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1224 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1225 to ...
1226 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1227 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1228 to ...
1229 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1230 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1231 to ...
1232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1233 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1234 to ...
1235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1236 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1237 to ...
1238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1239 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1240 to ...
1241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1242 Here.
1243 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1244 to ...
1245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1246 Here.
1247 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1248 to ...
1249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1250 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1251 Moved to ...
1252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1253 Here.
1254 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1255 to ...
1256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1257
d128e450
JM
12582012-05-04 Joseph Myers <joseph@codesourcery.com>
1259
fa8ee516
JM
1260 * sysdeps/unix/common/bits/dirent.h: Remove file.
1261 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1262
d128e450
JM
1263 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1264 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1265 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1266 * sysdeps/unix/bsd/isatty.c: Likewise.
1267 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1268 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1269 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1270
ff8faaf0 12712012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 1272
62881be4 1273 [BZ #13563]
31dc8730
AZ
1274 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1275 long double comparison inaccuracies.
1276 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1278
6fef930c
AS
12792012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1280
1281 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1282 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1283
8f203e6c
JM
12842012-05-04 Joseph Myers <joseph@codesourcery.com>
1285
1286 [BZ #14049]
1287 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1288 nonzero digits before rounding a hex value.
1289 * stdlib/tst-strtod.c (tests): Add another test.
1290
5197d9c2
AK
12912012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1292
1293 * sysdeps/s390/fpu/libm-test-ulps: Update.
1294
f0c1dedf
AJ
12952012-05-03 Andreas Jaeger <aj@suse.de>
1296
1297 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1298 does not get optimized out.
1299 (malloc_opt_barrier): New.
1300
a65ef2ae 13012012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 1302 Roland McGrath <roland@hack.frob.com>
a65ef2ae 1303
2b942cb7 1304 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 1305 intermediate file deletion.
2b942cb7 1306 (generated): Add .symlist files.
a65ef2ae 1307
54b71e02
JM
13082012-05-03 Joseph Myers <joseph@codesourcery.com>
1309
1310 [BZ #13775]
1311 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1312 Redirect under this condition.
1313 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1314 [__USE_GNU] (__dprintf_chk): Not under this condition.
1315 [__USE_GNU] (__vdprintf_chk): Likewise.
1316 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1317 under this condition.
1318 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1319 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1320 [__USE_XOPEN2K8] (vdprintf): Likewise.
1321 [__USE_GNU] (__dprintf_chk): Not under this condition.
1322 [__USE_GNU] (__vdprintf_chk): Likewise.
1323 [__USE_GNU] (dprintf): Likewise.
1324 [__USE_GNU] (vdprintf): Likewise.
1325
d3dfcc41
RM
13262012-05-03 Roland McGrath <roland@hack.frob.com>
1327
1328 * elf/Makefile (common-generated): Set this instead of generated for
1329 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1330 $(all-built-dso)-derived lists.
1331
7ac30cc5
AJ
13322012-05-03 Andreas Jaeger <aj@suse.de>
1333
0c51e550
AJ
1334 * sysdeps/i386/fpu/libm-test-ulps: Update.
1335
7ac30cc5
AJ
1336 * FAQ: Removed.
1337 * FAQ.in: Likewise.
1338 * scripts/gen-FAQ.pl: Likewise.
1339 * manual/install.texi (Installation): Point to online location of
1340 FAQ.
1341 * Makefile (files-for-dist): Remove FAQ.
1342 (FAQ): Remove.
1343
d4c2917f
AM
13442012-05-02 Allan McRae <allan@archlinux.org>
1345
1346 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1347 (LDFLAGS-reldepmod5.so): Likewise.
1348 (LDFLAGS-reldep6mod1.so): Likewise.
1349 (LDFLAGS-reldep6mod4.so): Likewise.
1350 (LDFLAGS-reldep8mod3.so): Likewise.
1351 (LDFLAGS-unload4mod1.so): Likewise.
1352 (LDFLAGS-unload4mod2.so): Likewise.
1353 (LDFLAGS-tst-initorder): Likewise.
1354 (LDFLAGS-tst-initordera2.so): Likewise.
1355 (LDFLAGS-tst-initordera3.so): Likewise.
1356 (LDFLAGS-tst-initordera4.so): Likewise.
1357 (LDFLAGS-tst-initorderb2.so): Likewise.
1358 (LDFLAGS-noload): Likewise.
1359 (LDFLAGS-next): Likewise.
1360 (LDFLAGS-order2mod1.so): Likewise.
1361 (LDFLAGS-order2mod2.so): Likewise.
1362 (LDFLAGS-tst-initorder2): Likewise.
1363 (LDFLAGS-tst-initorder2a.so): Likewise.
1364 (LDFLAGS-tst-initorder2b.so): Likewise.
1365 (LDFLAGS-tst-initorder2c.so): Likewise.
1366 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1367
d77f993f
DM
13682012-05-02 David S. Miller <davem@davemloft.net>
1369
1370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1371
171a70b4
PP
13722012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1373
1374 [BZ #14055]
1375 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1376
0be196ad
AJ
13772012-05-02 Andreas Jaeger <aj@suse.de>
1378
1379 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1380 since we manipulate rounding mode.
1381 (CPPFLAGS-test-idouble.c): Likewise.
1382 (CPPFLAGS-test-ifloat.c): Likewise.
1383 (CFLAGS-test-ldouble.c): Likewise.
1384 (CFLAGS-test-double.c): Likewise.
1385 (CFLAGS-test-float.c): Likewise.
1386 (CFLAGS-test-misc.c): Likewise.
1387 (CFLAGS-test-test-fenv.c): Likewise.
1388
4f9d04aa
AZ
13892012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1390
2b942cb7
RM
1391 [BZ #2550]
1392 [BZ #2570]
1393 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1394 comparisons to determine direction to adjust input.
4f9d04aa 1395
82a79e7d
RM
13962012-05-01 Roland McGrath <roland@hack.frob.com>
1397
f5a01ca9
RM
1398 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1399 output to the target.
1400
90fe4186
RM
1401 * scripts/localplt.awk: New file.
1402 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1403 (check-localplt-CFLAGS): Variable removed.
1404 ($(all-built-dso:=.jmprel)): New static pattern rule.
1405 (generated): Add those targets.
1406 (localplt-built-dso): New variable.
1407 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1408
1409 * elf/check-localplt.c: File removed.
1410
82397ed6
RM
1411 * scripts/check-execstack.awk: New file.
1412 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1413 (check-execstack-CFLAGS): Variable removed.
1414 ($(objpfx)check-execstack.h): Target removed.
1415 ($(objpfx)execstack-default): New target.
1416 (generated): Add that instead of check-execstack.h.
1417 ($(all-built-dso:=.phdr)): New static pattern rule.
1418 (generated): Add those targets.
1419 * elf/check-execstack.c: File removed.
1420
82a79e7d
RM
1421 * scripts/check-textrel.awk: New file.
1422 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1423 (check-textrel-CFLAGS): Variable removed.
1424 (all-built-dso): Use := to define.o
1425 ($(all-built-dso:=.dyn)): New static pattern rule.
1426 (generated): Add those targets.
1427 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1428 * config.make.in (READELF): New substituted variable.
1429 * elf/check-textrel.c: File removed.
1430
62fde54f 14312012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 1432
615605c9
JM
1433 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1434 allow.
1435 * conform/data/ctype.h-data [C99-based standards] (isblank):
1436 Expect function.
1437 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1438 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1439 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1440 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1441 Specify type. Require positive value.
1442 (EILSEQ): Likewise.
1443 (ERANGE): Likewise.
1444 [ISO || POSIX] (EILSEQ): Do not expect.
1445 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1446 Specify type. Require positive value.
1447 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1448 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1449 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1450 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1451 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1452 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1453 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1454 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1455 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1456 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1457 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1458 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1459 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1460 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1461 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1462 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1463 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1464 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1465 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1466 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1467 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1468 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1469 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1470 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1471 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1472 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1473 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1474 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1475 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1476 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1477 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1478 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1479 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1480 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1481 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1482 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1483 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1484 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1485 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1486 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1487 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1488 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1489 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1490 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1491 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1492 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1493 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1494 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1495 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1496 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1497 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1498 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1499 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1500 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1501 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1502 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1503 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1504 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1505 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1506 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1507 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1508 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1509 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1510 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1511 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1512 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1513 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1514 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1521 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1522 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1523 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1524 Require >= 2.
1525 (FLT_ROUNDS): Expect as macro, not constant.
1526 (FLT_MANT_DIG): Use macro-int-constant.
1527 (DBL_MANT_DIG): Likewise.
1528 (LDBL_MANT_DIG): Likewise.
1529 (FLT_DIG): Likewise.
1530 (DBL_DIG): Likewise.
1531 (LDBL_DIG): Likewise.
1532 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1533 (DBL_MIN_EXP): Likewise.
1534 (LDBL_MIN_EXP): Likewise.
1535 (FLT_MAX_EXP): Use macro-int-constant.
1536 (DBL_MAX_EXP): Likewise.
1537 (LDBL_MAX_EXP): Likewise.
1538 (FLT_MAX_10_EXP): Likewise.
1539 (DBL_MAX_10_EXP): Likewise.
1540 (LDBL_MAX_10_EXP): Likewise.
1541 (FLT_MAX): Use macro-constant.
1542 (DBL_MAX): Likewise.
1543 (LDBL_MAX): Likewise.
1544 (FLT_EPSILON): Use macro-constant. Give upper bound.
1545 (DBL_EPSILON): Likewise.
1546 (LDBL_EPSILON): Likewise.
1547 (FLT_MIN): Likewise.
1548 (DBL_MIN): Likewise.
1549 (LDBL_MIN): Likewise.
1550 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1551 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1552 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1553 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1554 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1555 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1556 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1557 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1558 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1559 [ISO11] (FLT_TRUE_MIN): Likewise.
1560 [ISO11] (LDBL_TRUE_MIN): Likewise.
1561 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1562 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1563 (SCHAR_MIN): Use macro-int-constant. Specify type.
1564 (SCHAR_MAX): Likewise.
1565 (UCHAR_MAX): Likewise.
1566 (CHAR_MIN): Likewise.
1567 (CHAR_MAX): Likewise.
1568 (MB_LEN_MAX): Use macro-int-constant.
1569 (SHRT_MIN): Use macro-int-constant. Specify type.
1570 (SHRT_MAX): Likewise.
1571 (USHRT_MAX): Likewise.
1572 (INT_MAX): Likewise.
1573 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1574 bound negative.
1575 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1576 bound with "U".
1577 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1578 bound with "L".
1579 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1580 bound negative. Suffix upper bound with "L".
1581 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1582 bound with "UL".
1583 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1584 Specify type.
1585 [C99-based standards] (LLONG_MAX): Likewise.
1586 [C99-based standards] (ULLONG_MAX): Likewise.
1587 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1588 == 0.
1589 [ISO11] (max_align_t): Require type.
1590 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1591
c9140a62
JM
1592 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1593 from $CFLAGS, without defining away __attribute__ calls.
1594 (checknamespace): Use $CFLAGS_namespace.
1595
9af0bf29
JM
1596 * conform/conformtest.pl (@keywords): Only include C99 keywords
1597 for standards based on C99 or C11.
1598
343222a2
JM
1599 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1600 Disable tests.
1601 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1602 UNIX98]: Likewise.
1603
661f8cf0
JM
1604 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1605 usability of symbols in #if.
1606
ee74b9cb
JM
1607 * conform/conformtest.pl: If macro or constant types start
1608 "promoted:", expect the symbol to be of the following type
1609 promoted by the integer promotions.
62fde54f 1610
aafc49b3
JM
1611 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1612 in one place. Also handle "macro-constant".
1613
fefdf574
JM
1614 * conform/conformtest.pl: Only accept expected macro values with
1615 "==". Parse all "macro" lines in one place.
1616 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1617
f2d922fe
JM
1618 * conform/conformtest.pl: Handle braced types on "constant" lines
1619 instead of handling "typed-constant".
1620 * conform/data/signal.h-data: Use "constant" instead of
1621 "typed-constant".
1622
d22956c9
JM
1623 * conform/conformtest.pl: Handle "optional-" at start of lines in
1624 one place rather than duplicating several cases. Handle each
1625 format of "macro" line with initial "optional-".
1626
028e2e38
JM
1627 * conform/conformtest.pl: Only accept expected constant or
1628 optional-constant values with "==". Parse all "constant" lines in
1629 one place. Parse all "optional-constant" lines in one place.
1630 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1631 * conform/data/fmtmsg.h-data: Likewise.
1632 * conform/data/netinet/in.h-data: Likewise.
1633 * conform/data/tar.h-data: Likewise.
1634 * conform/data/limits.h-data: Use "==" form on "constant" and
1635 "optional-constant" lines.
1636
1b8f2850
JM
1637 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1638 Use -std=c99 for XOPEN2K.
1639 (@knownproblems): Remove.
1640 (newtoken): Don't check %isknown.
1641
a05a144b
JM
1642 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1643 Do not expect macro.
1644 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1645 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1646 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1647 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1648 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1649 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1650 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1651 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1652 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1653 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1654 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1655 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1656 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1657 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1658 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1659 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1660 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1661 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1662 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1663 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1664 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1665 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1666 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1667 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1668 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1669 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1670 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1671 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1672 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1673 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1674 [XPG3] (acosh): Likewise.
1675 [XPG3] (asinh): Likewise.
1676 [XPG3] (atanh): Likewise.
1677 [XPG3] (cbrt): Likewise.
1678 [XPG3] (expm1): Likewise.
1679 [XPG3] (ilogb): Likewise.
1680 [XPG3] (log1p): Likewise.
1681 [XPG3] (logb): Likewise.
1682 [XPG3] (nextafter): Likewise.
1683 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1684 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1685 [XPG3] (remainder): Likewise.
1686 [XPG3] (rint): Likewise.
1687 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1688 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1689 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1690 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1691 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1692 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1693 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1694 [UNIX98 || XOPEN2K] (scalb): Expect.
1695 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1696 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1697 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1698 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1699 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1700 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1701 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1702 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1703 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1704 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1705 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1706 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1707 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1708 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1709 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1710 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1711 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1723 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1724 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1741 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1742 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1743 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1744 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1745 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1746 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1747 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1748 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1749 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1752 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1753 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1761 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1762 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1763 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1832
73c5ebe3
JM
1833 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1834 _XOPEN_SOURCE_EXTENDED for XPG4.
1835
39c33b6c
JM
1836 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1837
62fde54f
JM
1838 * Makeconfig (localtime): Remove variable.
1839 (inst_localtime-file): Likewise.
1840
0741d64c
AS
18412012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1842
1843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1844 Update.
1845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1846 Update.
1847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1848 Update.
1849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1850 Update.
1851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1852 Update.
1853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1854 Update.
1855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1856 Update.
1857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1858 Update.
1859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1860 Update.
1861
7cb029ee
JM
18622012-05-01 Joseph Myers <joseph@codesourcery.com>
1863
1864 [BZ #2550]
1865 [BZ #2570]
1866 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1867 comparisons to determine direction to adjust input.
1868 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1869 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1870 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1871 Likewise.
1872 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1873 Likewise.
1874 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1875 Likewise.
1876 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1877 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1878 Likewise.
1879 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1880 Likewise.
1881 * math/libm-test.inc (nexttoward_test): Add more tests.
1882
412bd966
AS
18832012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1884
1885 [BZ #14040]
1886 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1887 in version GLIBC_2.1, not GLIBC_2.0.
1888 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1889 Likewise.
1890
9568c0c2
JM
18912012-04-30 Joseph Myers <joseph@codesourcery.com>
1892
adfbc8ac
JM
1893 [BZ #13942]
1894 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1895 (1 - x) * (1 + x).
1896 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1897 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1898 * math/libm-test.inc (acos_test): Add more tests.
1899 (asin_test): Likewise.
1900 * sysdeps/i386/fpu/libm-test-ulps: Update.
1901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1902
5ba3cc69
JM
1903 [BZ #14034]
1904 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1905 of square root.
1906 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1907 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1908 * math/libm-test.inc (acos_test_tonearest): New function.
1909 (acos_test_towardzero): Likewise.
1910 (acos_test_downward): Likewise.
1911 (acos_test_upward): Likewise.
1912 (asin_test_tonearest): Likewise.
1913 (asin_test_towardzero): Likewise.
1914 (asin_test_downward): Likewise.
1915 (asin_test_upward): Likewise.
1916 (main): Call the new functions.
1917 * sysdeps/i386/fpu/libm-test-ulps: Update.
1918 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1919
9568c0c2
JM
1920 [BZ #13884]
1921 [BZ #13924]
1922 * math/e_exp10.c: Include <float.h>.
1923 (__ieee754_exp10): Handle underflow here rather than multiplying
1924 large negative argument by M_LN10.
1925 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1926 of __ieee754_expf.
1927 * math/e_exp10l.c: Include <float.h>.
1928 (__ieee754_exp10l): Handle underflow here rather than multiplying
1929 large negative argument by M_LN10l.
1930 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1931 spurious overflow exception on underflow.
1932
5ac3ea17
MP
19332012-04-29 Marek Polacek <polacek@redhat.com>
1934
1935 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
1936 (__fortify_function): New macro.
1937 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
1938 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
1939 __extern_always_inline.
1940 * libio/bits/stdio2.h: Likewise.
1941 * libio/bits/stdio.h: Likewise.
1942 * string/string.h: Likewise.
1943 * string/bits/string3.h: Likewise.
1944 * include/stdio.h: Likewise.
1945 * stdlib/bits/stdlib.h: Likewise.
1946 * stdlib/stdlib.h: Likewise.
1947 * rt/bits/mqueue2.h: Likewise.
1948 * rt/mqueue.h: Likewise.
1949 * posix/bits/unistd.h: Likewise.
1950 * posix/unistd.h: Likewise.
1951 * io/bits/poll2.h: Likewise.
1952 * io/bits/fcntl2.h: Likewise.
1953 * io/fcntl.h: Likewise.
1954 * io/sys/poll.h: Likewise.
1955 * misc/bits/syslog.h: Likewise.
1956 * misc/bits/syslog-ldbl.h: Likewise.
1957 * misc/sys/syslog.h: Likewise.
1958 * socket/bits/socket2.h: Likewise.
1959 * socket/sys/socket.h: Likewise.
1960 * debug/tst-chk1.c: Likewise.
1961 * wcsmbs/bits/wchar2.h: Likewise.
1962 * wcsmbs/bits/wchar-ldbl.h: Likewise.
1963 * wcsmbs/wchar.h: Likewise.
1964
ecf0ebfb
AJ
19652012-04-29 Andreas Jaeger <aj@suse.de>
1966
1967 * Makerules (tests): Remove enable-check-abi protection.
1968 (check-abi-warn): Remove.
1969 (check-abi-%): Remove check-abi-warn usage.
1970
1971 * configure.in: Remove check-abi configure option.
1972 * configure: Regenerated.
1973 * config.make.in (enable-check-abi): Remove.
1974
6d5c57fa
AS
19752012-04-28 Andreas Schwab <schwab@linux-m68k.org>
1976
24c5d07e 1977 [BZ #14033]
ded5180a
AS
1978 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
1979 double functions to double *_finite functions.
1980
7e0d315d
AS
1981 [BZ #13941]
1982 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
1983 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
1984 LDBL_MIN_EXP.
1985 * stdio-common/Makefile (tests): Add tst-sprintf3.
1986 * stdio-common/tst-sprintf3.c: New file.
1987
6d5c57fa
AS
1988 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
1989 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
1990
0749ff8b
JM
19912012-04-28 Joseph Myers <joseph@codesourcery.com>
1992
1993 * conform/conformtest.pl: Remove duplicate typed-constant
1994 handling.
1995
8dbd5d7b
DM
19962012-04-28 David S. Miller <davem@davemloft.net>
1997
1998 * Makerules (%.abilist): Add vpath on sysdep_dirs.
1999 (check-abi-%): Remove AWK script prerequisite and explicit
2000 abilist directory.
2001 (check-abi): Rewrite to just diff the symlist with the abilist.
2002 (config-tls, config-abi-config): Delete, no longer used.
2003 (update-abi-%): Remove AWK script and explicit abilist directory.
2004 (update-abi): Rewrite to simply compare and conditionally copy the
2005 symlist and the sysdep abilist file. Remove update-abi-config
2006 checks.
2007 * abilist/ld.abilist: Remove.
2008 * abilist/libBrokenLocale.abilist: Remove.
2009 * abilist/libanl.abilist: Remove.
2010 * abilist/libcrypt.abilist: Remove.
2011 * abilist/libdl.abilist: Remove.
2012 * abilist/librt.abilist: Remove.
2013 * abilist/libthread_db.abilist: Remove.
2014 * abilist/libutil.abilist: Remove.
2015 * scripts/extract-abilist.awk: Remove.
2016 * scripts/merge-abilist.awk: Remove.
2017 * sysdeps/generic/libcidn.abilist: New file.
2018 * sysdeps/generic/libnss_compat.abilist: New file.
2019 * sysdeps/generic/libnss_db.abilist: New file.
2020 * sysdeps/generic/libnss_dns.abilist: New file.
2021 * sysdeps/generic/libnss_files.abilist: New file.
2022 * sysdeps/generic/libnss_hesiod.abilist: New file.
2023 * sysdeps/generic/libnss_nis.abilist: New file.
2024 * sysdeps/generic/libnss_nisplus.abilist: New file.
2025 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2026 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2027 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2028 file.
2029 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2030 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2031 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2032 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2033 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2034 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2035 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2036 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2037 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2038 file.
2039 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2040 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2041 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2042 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2043 file.
2044 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2045 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2046 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2047 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2048 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2049 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2050 file.
2051 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2053 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2054 file.
2055 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2056 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2057 New file.
2058 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2059 New file.
2060 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2061 New file.
2062 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2063 New file.
2064 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2065 New file.
2066 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2067 New file.
2068 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2069 New file.
2070 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2071 New file.
2072 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2073 New file.
2074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2075 New file.
2076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2077 New file.
2078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2079 New file.
2080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2081 New file.
2082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2083 file.
2084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2085 New file.
2086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2087 New file.
2088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2089 file.
2090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2091 New file.
2092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2093 New file.
2094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2095 file.
2096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2097 New file.
2098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2099 New file.
2100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2101 New file.
2102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2103 New file.
2104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2105 New file.
2106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2107 New file.
2108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2112 New file.
2113 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2114 file.
2115 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2116 file.
2117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2118 file.
2119 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2120 file.
2121 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2122 file.
2123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2126 file.
2127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2128 file.
2129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2130 New file.
2131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2132 file.
2133 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2134 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2135 file.
2136 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2137 New file.
2138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2139 file.
2140 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2141 file.
2142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2143 file.
2144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2145 file.
2146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2147 file.
2148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2149 New file.
2150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2151 file.
2152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2153 file.
2154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2155 New file.
2156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2157 file.
2158 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2159 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2160 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2161 file.
2162 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2163 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2164 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2165 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2166 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2167 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2168 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2169 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2170 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2171 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2174 file.
2175 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2176 New file.
2177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2178 file.
2179 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2180 file.
2181 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2182 file.
2183 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2184 file.
2185 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2186 file.
2187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2188 New file.
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2190 New file.
2191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2192 file.
2193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2194 New file.
2195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2196 file.
2197 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2198 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2199 file.
2200 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2201 New file.
2202 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2203 file.
2204 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2205 file.
2206 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2207 file.
2208 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2209 file.
2210 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2211 file.
2212 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2213 New file.
2214 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2215 New file.
2216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2217 file.
2218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2219 New file.
2220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2221 file.
2222
41d73a1b
JM
22232012-04-28 Joseph Myers <joseph@codesourcery.com>
2224
2225 * conform/conformtest.pl: Fix typo in handling typed-constant from
2226 allow-header.
2227
28aeeda4
JM
22282012-04-27 Joseph Myers <joseph@codesourcery.com>
2229
adae8f5e
JM
2230 * README: Cut down references to pre-2.6 Linux kernels and
2231 Linuxthreads. Update lists of configurations in libc and ports
2232 and sort alphabetically. Say "or newer" with Linux kernel version
2233 requirements.
2234
28aeeda4
JM
2235 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2236
a462cb63
RA
22372012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2238
2239 [BZ #887]
2240 * math/libm-test.inc (logb_test_downward): New test to expose
2241 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2242 rounding mode.
2243
6ad3493e
JM
22442012-04-27 Joseph Myers <joseph@codesourcery.com>
2245
2246 [BZ #14027]
2247 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2248 to be done.
2249 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2250 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2251
2ce4f015
JM
22522012-04-26 Joseph Myers <joseph@codesourcery.com>
2253
5aeb141a
JM
2254 * sysdeps/unix/i386/brk.S: Remove file.
2255 * sysdeps/unix/i386/dl-brk.S: Likewise.
2256 * sysdeps/unix/i386/pipe.S: Likewise.
2257 * sysdeps/unix/i386/sigreturn.S: Likewise.
2258 * sysdeps/unix/i386/syscall.S: Likewise.
2259 * sysdeps/unix/i386/vfork.S: Likewise.
2260 * sysdeps/unix/i386/wait.S: Likewise.
2261
7143acae
JM
2262 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2263 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2264
2ce4f015
JM
2265 * configure.in (arm*-none*): Do not allow without
2266 --enable-hacker-mode.
2267 (netbsd*): Remove case setting base_os.
2268 (386bsd*): Likewise.
2269 (freebsd*): Likewise.
2270 (bsdi*): Likewise.
2271 (osf*): Likewise.
2272 (sunos*): Likewise.
2273 (ultrix*): Likewise.
2274 (newsos*): Likewise.
2275 (dynix*): Likewise.
2276 (*bsd*): Likewise.
2277 (sysv*): Likewise.
2278 (isc*): Likewise.
2279 (esix*): Likewise.
2280 (sco*): Likewise.
2281 (minix*): Likewise.
2282 (irix4*): Likewise.
2283 (irix6*): Likewise.
2284 (solaris[2-9]*): Likewise.
2285 (none): Likewise.
2286 * configure: Regenerated.
2287
0ac229c8
AZ
22882012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2289
2290 [BZ #11521]
2291 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2292 overflow or cancellation in calculating denominator.
2293 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2294 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2295 down expression to avoid unexpected rounding in newer GCCs.
2296 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2297
33f244f4
DM
22982012-04-26 David S. Miller <davem@davemloft.net>
2299
2300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2301 long-double compat symbols.
2302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2308 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2314 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2315
cfa1f3e8
DM
23162012-04-25 David S. Miller <davem@davemloft.net>
2317
2318 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2319 HWCAP_* values only after the memory barriers have been defined.
2320 (atomic_full_barrier): Define.
2321 (atomic_read_barrier): Define.
2322 (atomic_write_barrier): Define.
2323
6e236b92
SP
23242012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2325
2326 * shlib-versions: Add libgcc_s version information.
2327 * sysdeps/generic/libgcc_s.h: Remove.
2328 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2329 libgcc_s.h.
2330 * sysdeps/gnu/unwind-resume.c: Likewise.
2331 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2332
aab39a09
DM
23332012-04-25 David S. Miller <davem@davemloft.net>
2334
2335 * sysdeps/unix/sparc/brk.S: Delete.
2336 * sysdeps/unix/sparc/dl-brk.S: Delete.
2337 * sysdeps/unix/sparc/pipe.S: Delete.
2338 * sysdeps/unix/sparc/sysdep.S: Delete.
2339 * sysdeps/unix/sparc/sysdep.h: Delete.
2340 * sysdeps/unix/sparc/vfork.S: Delete.
2341 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2342 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2343 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2344 ret_ERRVAL, r0, r1, MOVE): Define.
2345 (JUMPTARGET): Remove.
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2347 sysdeps/unix/sparc/sysdep.h
2348 (ENTRY, END): Remove.
2349 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2350
a3cc4f48
JM
23512012-04-25 Joseph Myers <joseph@codesourcery.com>
2352
2ed8cda2
JM
2353 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2354 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2355 -DIS_IN_build.
2356
35d76d59
JM
2357 * timezone/README: Update upstream location and email address for
2358 tzcode and tzdata.
2359 * timezone/zdump.c: Update from tzcode 2012b.
2360 * timezone/zic.c: Likewise.
2361
a3cc4f48
JM
2362 * configure.in (libc_cv_as_needed): Remove test.
2363 * configure: Regenerated.
2364 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2365 conditional definition.
2366 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2367 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2368 * config.make.in (have-as-needed): Remove variable.
2369
ceab42c3
SP
23702012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2371 Paul Pluzhnikov <ppluzhnikov@google.com>
2372
2373 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2374 strings correctly.
2375
3ce2865f
CLT
23762012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2377
2378 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2379 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2380 * sysdeps/sh/strlen.S: Likewise.
2381
f37e0d68
JM
23822012-04-24 Joseph Myers <joseph@codesourcery.com>
2383
ae186e9a
JM
2384 * sysdeps/unix/fork.S: Remove file.
2385 * sysdeps/unix/i386/fork.S: Likewise.
2386 * sysdeps/unix/sparc/fork.S: Likewise.
2387
b96914af
JM
2388 * sysdeps/unix/system.c: Remove file.
2389 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2390
f37e0d68
JM
2391 * sysdeps/unix/getegid.S: Remove file.
2392 * sysdeps/unix/geteuid.S: Likewise.
2393
87ef29ca
RM
23942012-04-24 Roland McGrath <roland@hack.frob.com>
2395
83bcd236
RM
2396 * scripts/check-localplt.awk: New file.
2397 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2398 of diff.
2399 * scripts/data/localplt-generic.data: Add a comment.
2400
87ef29ca
RM
2401 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2402 NODE when __dir_mkfile failed.
2403 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2404 Reported by Ludovic Courtès <ludo@gnu.org>.
2405
e5a6e567
AJ
24062012-04-24 Andreas Jaeger <aj@suse.de>
2407
2408 * Makerules (common-clean): Also remove gen-as-const-headers
2409 files.
2410
c1820385
JM
24112012-04-24 Joseph Myers <joseph@codesourcery.com>
2412
2413 * Makerules (native-compile): Do not change working directory for
2414 build. Use $(OUTPUT_OPTION) in command.
2415 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2416
94e02fc4
AZ
24172012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2418
2419 [BZ #13886]
2420 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2421 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2422 * math/libm-test.inc (floor_test): Add more tests.
2423 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2424
3a533ca3
JM
24252012-04-24 Joseph Myers <joseph@codesourcery.com>
2426
940ab4b3
JM
2427 * sysdeps/unix/getdents.c: Remove file.
2428 * sysdeps/unix/sysv/getdents.c: Likewise.
2429 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2430
90e037bd
JM
2431 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2432 sysdeps/unix/mman/syscalls.list.
2433 (mmap): Likewise.
2434 (mprotect): Likewise.
2435 (msync): Likewise.
2436 (munmap): Likewise.
2437 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2438 * sysdeps/unix/mman/syscalls.list: Remove.
2439 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2440
3a533ca3
JM
2441 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2442 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2443 * configure: Regenerated.
2444 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2445 $(libgcc_s_suffix).
2446 * config.make.in (libgcc_s_suffix): Remove variable.
2447
1ad743de
JM
24482012-04-23 Joseph Myers <joseph@codesourcery.com>
2449
4ad451e2
JM
2450 * sysdeps/unix/sysv/gethostname.c: Move to ...
2451 * sysdeps/posix/gethostname.c: ... here.
2452
5e37ce39
JM
2453 * sysdeps/unix/execve.S: Remove file.
2454
1ad743de
JM
2455 * sysdeps/unix/_exit.S: Remove file.
2456
4e681b5b
AJ
24572012-04-23 Andreas Jaeger <aj@suse.de>
2458
2459 [BZ #13739]
2460 * manual/Makefile: Remove make dist support, there's no
2461 need for a stand-alone documentation tar ball.
2462 (TEXI2DVI): Define always, it's not in Makeconfig.
2463 (dist): Removed.
2464 (tar-it): Removed.
2465 (edition): Removed.
2466 (glibc-doc-$(edition).tar): Removed
2467 (%.Z): Removed.
2468 (%.gz): Removed.
2469 (%.uu): Removed.
2470 (ETAGS): Remove, it's in Makeconfig.
2471 (move-if-change): Remove, it's in Makeconfig.
2472
c0baea34
PE
24732013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2474
2475 [BZ #13970]
2476 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2477 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2478 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2479 (strtod_l, strtof_l, strtold_l): Remove __wur.
2480 It is not necessarily an error to ignore strtol's return value.
2481 One can reliably look at the stored endptr to decide whether
2482 the number had valid syntax.
2483
7c0616fa
AJ
24842012-04-21 Andreas Jaeger <aj@suse.de>
2485
803cb6b7 2486 [BZ #13739]
7c0616fa
AJ
2487 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2488
b0fe253f
JM
24892012-04-21 Joseph Myers <joseph@codesourcery.com>
2490
2491 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2492 * sysdeps/unix/sysv/Versions: Remove file.
2493
8280f22d
MT
24942012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2495
2496 [BZ #13927]
2497 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2498
75ce411f 24992012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
2500
2501 [BZ #7064]
2502 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2503 version from __vm86.
2504
097d59fa
JM
25052012-04-20 Joseph Myers <joseph@codesourcery.com>
2506
a90f3bcb
JM
2507 * sysdeps/unix/common/lxstat.c: Remove file.
2508 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2509
edc7ea78
JM
2510 * sysdeps/unix/sysv/Makefile: Remove file.
2511
cb78c221
JM
2512 * sysdeps/unix/sysv/direct.h: Remove file.
2513
efa6a45f
JM
2514 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2515 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2516 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2517 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2518 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2519 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2520 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2521
9c9f2d0c
JM
2522 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2523
4541c83b
JM
2524 * sysdeps/unix/xmknod.c: Remove file.
2525 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2526
f5d153a0
JM
2527 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2528
aa746595
JM
2529 * sysdeps/unix/sysv/i386/time.S: Remove file.
2530
cce5905e
JM
2531 * sysdeps/unix/fxstat.c: Remove file.
2532 * sysdeps/unix/xstat.c: Likewise.
2533 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2534
37fa3841
JM
2535 * sysdeps/unix/sysv/sigaction.c: Remove file.
2536
ff1962a3
JM
2537 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2538 (sysdep_headers): Remove variable.
2539 [termio.h not in sysdep_headers] (generated): Likewise.
2540 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2541 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2542 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2543 * sysdeps/unix/sysv/tcflow.c: Likewise.
2544 * sysdeps/unix/sysv/tcflush.c: Likewise.
2545 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2546 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2547 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2548 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2549 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2550
e7740d31
JM
2551 * sysdeps/unix/siglist.c: Remove file.
2552
ee06f18b
JM
2553 * sysdeps/unix/getppid.S: Remove file.
2554
097d59fa
JM
2555 * sysdeps/unix/mkdir.c: Remove file.
2556 * sysdeps/unix/rmdir.c: Likewise.
2557
ff3d51ec
AS
25582012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2559
2560 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2561 ERR_MAX value.
2562 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2563 errlist-compat value.
2564
50f81fd7
DM
25652012-04-18 David S. Miller <davem@davemloft.net>
2566
2567 * sysdeps/generic/memcopy.h (reg_char): Delete.
2568 * debug/strcat_chk.c: Use char, not reg_char.
2569 * debug/strcpy_chk.c: Likewise.
2570 * debug/strncat_chk.c: Likewise.
2571 * debug/strncpy_chk.c: Likewise.
2572 * string/memchr.c: Likewise.
2573 * string/memrchr.c: Likewise.
2574 * string/rawmemchr.c: Likewise.
2575 * string/strcat.c: Likewise.
2576 * string/strchr.c: Likewise.
2577 * string/strchrnul.c: Likewise.
2578 * string/strcmp.c: Likewise.
2579 * string/strcpy.c: Likewise.
2580 * string/strncat.c: Likewise.
2581 * string/strncmp.c: Likewise.
2582 * string/strncpy.c: Likewise.
2583
8ff41c46
WS
25842012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2585
2586 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2587 __builtin_memcopy is called when src and dest ranges are known to not
2588 overlap.
2589
6b652f46
WS
25902012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2591
2592 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2593 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2594 fwd_align_merge macro call.
2595 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2596 bwd_align_merge macro call.
2597 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2598
b282631e
WS
25992012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2600
2601 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2602 bwd_align_merge macros.
2603 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2604 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2605 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2606
95aa737c
DM
26072012-04-18 David S. Miller <davem@davemloft.net>
2608
2609 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2610
7a99a614
AJ
26112012-04-18 Andreas Jaeger <aj@suse.de>
2612
2613 [BZ# 6794]
2614 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2615 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2616 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2617
2618 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2619 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2620 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2621
2622 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2623 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2624 Adjust for changed ldbl-128 files.
2625
2626 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2627 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2628 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2629
e5270c23
DM
26302012-04-17 David S. Miller <davem@davemloft.net>
2631
2632 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2633
fb5e92c9
AS
26342012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2635
2636 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2637 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2638 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2639 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2640 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2641 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2642
76da7265
AZ
26432012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2644
2645 [BZ #6794]
2646 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2647 * math/libm-test.inc: Add ilogb errno and exception tests.
2648 * math/w_ilogb.c: New file: ilogb wrapper.
2649 * math/w_ilogbf.c: New file: ilogbf wrapper.
2650 * math/w_ilogbl.c: New file: ilogbl wrapper.
2651 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2652 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2653 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2654 exception being thrown with 0.0 as argument.
2655 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2656 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2657 exception being thrown with 0.0 as argument.
2658 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2659 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2660 exception being thrown with 0.0 as argument.
2661 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2662 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2663 exception being thrown with 0.0 as argument.
2664 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2665 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 2666 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
2667 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2668 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2669 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2670 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2671 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2672 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2673
0396e69d
PB
26742012-04-17 Petr Baudis <pasky@ucw.cz>
2675
2676 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2677 with altivec.
2678
750b5926
MP
26792012-04-16 Marek Polacek <polacek@redhat.com>
2680
2681 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2682
751728a1
MP
26832012-04-16 Marek Polacek <polacek@redhat.com>
2684
2685 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2686 operands of fdivp instruction.
2687
34a27407
L
26882012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2689
2690 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2691 * elf/tst-auditmod3b.c: Likewise.
2692 * elf/tst-auditmod4b.c: Likewise.
2693 * elf/tst-auditmod5b.c: Likewise.
2694 * elf/tst-auditmod6b.c: Likewise.
2695 * elf/tst-auditmod6c.c: Likewise.
2696 * elf/tst-auditmod7b.c: Likewise.
2697 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2698 * sysdeps/x86_64/preconfigure.in: Likewise.
2699 * sysdeps/x86_64/preconfigure: Regenerated.
2700
7e73e17d
L
27012012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2702
2703 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2704 __ILP32__.
2705
c7a6ab72
AB
27062012-04-13 Antoine Balestrat <merkil33@gmail.com>
2707
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2709 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2710
a9e8e0e0
CL
27112012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2712
2713 [BZ #13973]
2714 * locale/iso-639.def: Fix gl language name. Spotted by
2715 Yaron Shahrabani.
2716
ec98af7d
RM
27172012-04-12 Roland McGrath <roland@hack.frob.com>
2718
2719 [BZ #2074]
2720 * libio/libio.h (__io_write_fn): Update comment.
2721
247c3ede
PB
27222012-04-12 Petr Baudis <pasky@ucw.cz>
2723
2724 [BZ #2074]
2725 * stdio.texi (Hook Functions): The user provided writer function
2726 is not allowed to return -1.
2727
55939d6d
DM
27282012-04-11 David S. Miller <davem@davemloft.net>
2729
2730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2731
90020f5a
MF
27322012-04-11 Mike Frysinger <vapier@gentoo.org>
2733
2734 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2735 Add a leading slash to rtkaio.
2736
288f9098
JM
27372012-04-11 Jim Meyering <meyering@redhat.com>
2738
90020f5a
MF
2739 [BZ #11959]
2740 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2741 It is not necessarily an error to ignore fwrite's return
2742 value. One can reliably use ferror to test for errors after
2743 the fact.
288f9098 2744
4be2b570
L
27452012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2746
2747 * bits/types.h (__snseconds_t): New type.
2748 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2749
2750 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2751 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2752 (__SNSECONDS_T_TYPE): Likewise.
2753 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2754 (__SNSECONDS_T_TYPE): Likewise.
2755 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2756 (__SNSECONDS_T_TYPE): Likewise.
2757
288f9098 27582012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
2759
2760 [BZ #2636]
2761 * manual/time.texi (Processor Time): Return type of times is
2762 elapsed real time since an arbitrary point in the past.
2763 (CPU Time): Move CLK_TCK from here...
2764 (Processor Time): ...to here. Correct description.
2765 * manual/conf.texi (Constants for Sysconf): Correct description of
2766 _SC_CLK_TCK.
2767
d7dd4413
DM
27682012-04-10 David S. Miller <davem@davemloft.net>
2769
2770 [BZ #13967]
2771 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2772 where the is a gap between DT_REL(A) and DT_JMPREL.
2773
b46068fc
L
27742012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2775
2776 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2777 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2778 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2779
73d65cc3
SP
27802012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2781
2782 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2783 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2784 (dl_main): Handle --inhibit-cache.
2785 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2786 _dl_inhibit_cache.
2787 * elf/dl-load.c (_dl_map_object): Use it.
2788 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2789
bcc8d661
JM
27902012-04-09 Joseph Myers <joseph@codesourcery.com>
2791
8f9a2fae
JM
2792 [BZ #13872]
2793 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2794 (__ieee754_powl): Saturate large exponents rather than testing for
2795 overflow of y*log2(x).
2796 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2797 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2798 exceptions.
2799
bcc8d661
JM
2800 [BZ #11521]
2801 * math/s_ctan.c: Include <float.h>.
2802 (__ctan): Avoid internal overflow or cancellation in calculating
2803 denominator.
2804 * math/s_ctanf.c: Likewise.
2805 * math/s_ctanl.c: Likewise.
2806 * math/s_ctanh.c: Likewise.
2807 * math/s_ctanhf.c: Likewise.
2808 * math/s_ctanhl.c: Likewise.
2809 * math/libm-test.inc (ctan_test): Add more tests.
2810 (ctanh_test): Likewise.
2811 * sysdeps/i386/fpu/libm-test-ulps: Update.
2812 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2813
823fbbb4
AJ
28142012-04-09 Andreas Jaeger <aj@suse.de>
2815
03879793
AJ
2816 [BZ #6894]
2817 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2818 is an optional BSD extension.
2819
823fbbb4
AJ
2820 [BZ #10254]
2821 * manual/stdio.texi (Opening Streams): Document additional fopen
2822 parameters.
2823
8de131cb
RM
28242012-04-09 Roland McGrath <roland@hack.frob.com>
2825
2826 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2827 %eax without telling the compiler.
2828
c0ed9d7d
CD
28292012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2830
2831 [BZ # 13963]
2832 * manual/install.texi: Use sourceware.org.
2833
c483f6b4
JM
28342012-04-09 Joseph Myers <joseph@codesourcery.com>
2835
d7dd9453
JM
2836 [BZ #13873]
2837 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2838 (__ieee754_pow): Generate overflow and underflow using huge*huge
2839 and tiny*tiny rather than just returning constant infinity or zero
2840 for large exponents.
2841 * math/libm-test.inc (pow_test): Require overflow exceptions for
2842 applicable cases of large exponents.
2843
c483f6b4
JM
2844 [BZ #706]
2845 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2846 (__ieee754_pow): Use iterative multiplication algorithm only for
2847 integer exponents with absolute value below 1024. Check for odd
2848 integer exponents when using algorithm for real exponents.
2849 * math/libm-test.inc (pow_test): Add more tests.
2850 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2851
d2de7579
JM
28522012-04-08 Joseph Myers <joseph@codesourcery.com>
2853
2854 [BZ #13705]
2855 * math/libm-test.inc (exp_test): Do not allow overflow exception
2856 on underflow test.
2857
f77f1232
AJ
28582012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2859
2860 [BZ #13705]
2861 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2862 instead of __kernel_standard_f.
2863
3884932b
MF
28642012-04-08 Mike Frysinger <vapier@gentoo.org>
2865
2866 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2867 * sysdeps/x86_64/memset_chk.S: Likewise.
2868
54472e9c
AJ
28692012-04-08 Andreas Jaeger <aj@suse.de>
2870
6ab0fbfc
AJ
2871 [BZ #10153]
2872 * manual/startup.texi (Environment Access): Describe return value
2873 for putenv and setenv.
2874
61efba8c
AJ
2875 [BZ #6895]
2876 * manual/filesys.texi (Directory Entries): Add description for
2877 DT_LNK.
2878
95c3f29a
AJ
2879 [BZ #6890]
2880 * manual/filesys.texi (Directory Entries): Clarify that it's file
2881 system not operating system in the description of DT_UNKNOWN.
2882
54472e9c
AJ
2883 [BZ #6578]
2884 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2885
624254b1
SC
28862012-04-08 Stephen Compall <s11@member.fsf.org>
2887
2888 [BZ #6649]
2889 * manual/llio.texi (Opening and Closing Files): Add cross
2890 reference to explain mode argument.
2891
1e4920e0
MF
28922012-04-07 Mike Frysinger <vapier@gentoo.org>
2893
2894 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2895 * sysdeps/x86_64/memset_chk.S: Likewise.
2896
5ed848f3
DM
28972012-04-07 David S. Miller <davem@davemloft.net>
2898
2899 * elf/elf.h (R_SPARC_WDISP10): Define.
2900 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2901 R_SPARC_SIZE32.
2902 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2903 R_SPARC_SIZE64 and R_SPARC_H34.
2904
96154cd8
CD
29052012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2906
2907 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2908 conditions and remove no longer applicable assertion.
2909
9904dc47
L
29102012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2911
2912 * bits/byteswap.h: Include <features.h>.
2913 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2914 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2915
f8887d0a
L
29162012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2917
2918 * bits/byteswap.h (__bswap_16): Removed.
2919 Include <bits/byteswap-16.h> to get __bswap_16.
2920 * sysdeps/i386/bits/byteswap.h: Likewise.
2921 * sysdeps/s390/bits/byteswap.h: Likewise.
2922 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2923 * bits/byteswap-16.h: New file.
2924 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2925 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2926 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2927 * string/Makefile (headers): Add bits/byteswap-16.h.
2928
62470f60
PP
29292012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2930
2931 [BZ #13895]
2932 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
2933 extra indirection.
2934 * nss/Makefile (tests-static, tests): Add tst-nss-static.
2935 * nss/tst-nss-static.c: New.
2936
4dad7bab
RM
29372012-04-06 Robert Millan <rmh@gnu.org>
2938
2939 [BZ #6486]
2940 * manual/llio.texi (File Position Primitive): lseek
2941 refers to WHENCE when it really means OFFSET.
2942
e9142a17
AJ
29432012-04-06 Andreas Jaeger <aj@suse.de>
2944
2c040eff
AJ
2945 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
2946 strncmp declarations.
2947
e9142a17
AJ
2948 * abilist/libc.abilist: Add __poll and __ppoll.
2949
ff9f1c5f
DM
29502012-04-05 David S. Miller <davem@davemloft.net>
2951
dcd2ae90
DM
2952 * scripts/check-local-headers.sh: Accept a host triplet in the
2953 path matched by the exclude regexp.
2954
993eb054
DM
2955 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
2956 definition.
2957 * sysdeps/powerpc/powerpc32/dl-machine.h
2958 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
2959 * sysdeps/s390/s390-32/dl-machine.h
2960 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2961 * sysdeps/sparc/sparc32/dl-machine.h
2962 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2963 * sysdeps/sparc/sparc64/dl-machine.h
2964 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
2965
ff9f1c5f
DM
2966 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
2967 lazy binding.
48e2e132 2968 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
2969 undefined symbol errors.
2970
48e2e132 2971 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
2972 DT_NEEDED entries.
2973
e80d6f94
MM
29742012-04-05 Michael Matz <matz@suse.de>
2975
2976 [BZ #13592]
2977 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
2978
349fa79f
AJ
29792012-04-05 Andreas Jaeger <aj@suse.de>
2980
2981 [BZ #13908]
2982 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
2983 comment.
2984
f402708f
KK
29852012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2986
2987 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
2988 which ROUND is no valid rounding mode.
2989
2ecccfc9
KK
29902012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2991
2992 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
2993 read again.
2994 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
2995
8a53f50f
KK
29962012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2997
2998 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
2999 an exception using FPU order intentionally.
3000
30012012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3002
3003 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3004 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3005 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3006 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3007
d653abb7
SJ
30082012-04-05 Simon Josefsson <simon@josefsson.org>
3009
3010 [BZ #12340]
3011 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3012 EINVAL when BUFLEN is too smal.
3013
c3b1bf7d
TS
30142012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3015
3016 [BZ #13553]
3017 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3018 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3019
b1aa60f3
AJ
30202012-04-03 Andreas Jaeger <aj@suse.de>
3021
c3b1bf7d 3022 [BZ #13938]
67f60a26
AJ
3023 * manual/setjmp.texi (System V contexts): Fix sentence.
3024
b1aa60f3
AJ
3025 [BZ #13926]
3026 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3027 New macro for this case.
3028 [!__GNUC__] (__bswap_64): New inline function for this case.
3029 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3030 * bits/byteswap.h: Likewise.
3031 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3032 ull, guard with __GLIBC_HAVE_LONG_LONG.
3033
3034 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3035 __GLIBC_HAVE_LONG_LONG.
3036
3037 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3038 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3039
39c59c35
TMQMF
30402012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3041
3042 [BZ #13691]
3043 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3044 inptr and inend, rather than using last_ch.
3045
135ffda8
DM
30462012-04-02 David S. Miller <davem@davemloft.net>
3047
3048 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3049 * stdio-common/printf-parse.h (read_int): Change return type to
3050 'int', return -1 on INT_MAX overflow.
3051 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3052 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3053 overflows INT_MAX. Check for overflow of in-format-string precision
3054 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3055 SIZE_MAX not INT_MAX for integer overflow test.
3056 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3057 skip the construct in the format string but do not record anything.
3058 * stdio-common/bug22.c: Adjust to test both width/prevision
3059 INT_MAX overflow as well as total length INT_MAX overflow. Check
3060 explicitly for proper errno values.
3061
228c019e
TS
30622012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3063
302cadd3
TS
3064 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3065 CHAR_MAX.
3066 * string/test-strcmp.c [! WIDE]: Likewise.
3067 * time/tst-mktime2.c: Likewise for INT_MAX.
3068 * string/test-string.h: #include <sys/param.h> for MIN.
3069
228c019e
TS
3070 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3071 * sysdeps/i386/init-first.c (init): Likewise.
3072 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3073 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3074 * sysdeps/sh/init-first.c (init): Likewise.
3075
cfa633f5
UD
30762012-04-01 Ulrich Drepper <drepper@gmail.com>
3077
3078 * po/ru.po: Update from translation team.
d1635ef8 3079 * po/vi.po: Likewise.
cfa633f5 3080
6cd0a5ea
SP
30812012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3082
3083 * resolv/nss_dns/dns-host.c: Merge copyright years.
3084
4b43400f
LD
30852012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3086
3087 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3088 Optimize memcpy with prefetch if
3089 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3090 src, dst pointers have unequal 16 byte alignments.
3091
48c41d04
SP
30922012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3093
3094 [BZ #13928]
3095 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3096 from a CNAME entry and return the minimum ttl for the query.
3097 (gaih_getanswer_slice): Likewise.
3098
b8dc394d
JL
30992012-03-30 Jeff Law <law@redhat.com>
3100
3101 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3102 due to long keys.
3103 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3104 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3105
2f5a5ed0
JL
3106 * resolv/nss_dns/dns-host.c: Update copyright year.
3107
1d39e359
UD
31082012-03-30 Ulrich Drepper <drepper@gmail.com>
3109
c030f70c 3110 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 3111 requests to save a system call. Fix check that all bytes are sent.
c030f70c 3112
1d39e359
UD
3113 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3114 comments for sendmmsg.
3115
31162012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
3117
3118 [BZ #13691]
3119 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3120 with only 1 character between 0x0041 and 0x01b0.
3121 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3122 * wcsmbs/tst-mbsnrtowcs.c: New file.
3123
20fde227
DM
31242012-03-29 David S. Miller <davem@davemloft.net>
3125
3126 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3127 small copies by hand.
3128
984a4237
JL
31292012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3130
3131 [BZ #13761]
3132 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3133 _nss_compat_initgroups_dyn): Fall back to malloc/free
3134 for large group memberships.
3135
18c9d62b
DM
31362012-03-28 David S. Miller <davem@davemloft.net>
3137
88d85d4f
DM
3138 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3139 that branches into memcpy.
3140 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3141 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3142 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3143 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3144 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3145 bits.
3146 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3147 implementation too.
3148 * sysdeps/sparc/mempcpy.S: New file.
3149
e5aa83e1
DM
3150 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3151 the IFUNC routine in the libc case.
3152 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3153
88570753
DM
3154 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3155 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3156 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3157 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3158 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3159 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3160 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3161 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3162
249d7567
DM
3163 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3164 loop to 256 bytes instead of 64 bytes and fix test signedness.
3165
18c9d62b
DM
3166 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3167 * sysdeps/sparc/sparc32/Makefile: rather than here...
3168 * sysdeps/sparc/sparc64/Makefile: and here.
3169
05f3d1f6
UD
31702012-03-28 Ulrich Drepper <drepper@gmail.com>
3171
3172 * malloc/mallocbug.c: Avoid warnings about unused variables.
3173
86ae07a8
JL
31742012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3175
3176 [BZ #13760]
3177 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3178 in the right place. Discard and retry query if response is
3179 larger than input buffer size.
3180
41bf21a1
JM
31812012-03-28 Joseph Myers <joseph@codesourcery.com>
3182
d6270972
JM
3183 [BZ #369]
3184 [BZ #2678]
3185 [BZ #3866]
3186 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3187 x for large integer exponent.
3188 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3189 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3190 sign of result as needed afterwards.
3191 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3192 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3193 result for underflowing pow the same as for overflow.
3194 (__kernel_standard_l): Handle powl overflow and underflow here
3195 rather than calling __kernel_standard.
3196 * math/libm-test.inc (pow_test): Add more tests.
3197
414fca03 3198 [BZ #3868]
41bf21a1
JM
3199 [BZ #13879]
3200 [BZ #13910]
3201 [BZ #13911]
3202 [BZ #13912]
3203 [BZ #13913]
3204 [BZ #13915]
3205 [BZ #13916]
3206 [BZ #13917]
3207 [BZ #13918]
3208 [BZ #13919]
3209 [BZ #13920]
3210 [BZ #13921]
3211 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3212 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3213 (__kernel_standard_l): New function.
3214 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3215 __kernel_standard.
3216 * math/w_acosl.c (__acosl): Likewise.
3217 * math/w_asinl.c (__asinl): Likewise.
3218 * math/w_atan2l.c (__atan2l): Likewise.
3219 * math/w_atanhl.c (__atanhl): Likewise.
3220 * math/w_coshl.c (__coshl): Likewise.
3221 * math/w_exp10l.c (__exp10l): Likewise.
3222 * math/w_exp2l.c (__exp2l): Likewise.
3223 * math/w_fmodl.c (__fmodl): Likewise.
3224 * math/w_hypotl.c (__hypotl): Likewise.
3225 * math/w_j0l.c (__j0l, __y0l): Likewise.
3226 * math/w_j1l.c (__j1l, __y1l): Likewise.
3227 * math/w_jnl.c (__jnl, __ynl): Likewise.
3228 * math/w_lgammal.c (__lgammal): Likewise.
3229 * math/w_log10l.c (__log10l): Likewise.
3230 * math/w_log2l.c (__log2l): Likewise.
3231 * math/w_logl.c (__logl): Likewise.
3232 * math/w_powl.c (__powl): Likewise.
3233 * math/w_remainderl.c (__remainderl): Likewise.
3234 * math/w_scalbl.c (sysv_scalbl): Likewise.
3235 * math/w_sinhl.c (__sinhl): Likewise.
3236 * math/w_sqrtl.c (__sqrtl): Likewise.
3237 * math/w_tgammal.c (__tgammal): Likewise.
3238 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3239 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3240 * math/libm-test.inc (acos_test): Add more tests.
3241 (acosh_test): Likewise.
3242 (asin_test): Likewise.
3243 (atanh_test): Likewise.
3244 (exp_test): Likewise.
3245 (exp10_test): Likewise.
3246 (exp2_test): Likewise.
3247 (expm1_test): Likewise.
3248 (lgamma_test): Likewise.
3249 (log_test): Likewise.
3250 (log10_test): Likewise.
3251 (log1p_test): Likewise.
3252 (log2_test): Likewise.
3253 (pow_test): Do not allow some spurious overflow exceptions.
3254 (sqrt_test): Add more tests.
3255 (tgamma_test): Likewise.
3256 (y0_test): Likewise.
3257 (y1_test): Likewise.
3258 (yn_test): Likewise.
3259
dd62fda6
AB
32602012-03-27 Anton Blanchard <anton@samba.org>
3261
3262 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3263 MAP_HUGETLB.
3264 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3265 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3266 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3267
1e3cdfda
AJ
32682012-03-27 David S. Miller <davem@davemloft.net>
3269
b855ab85
DM
3270 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3271
1e3cdfda
AJ
3272 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3273 have-as-vis3 check.
3274
32752012-03-27 Andreas Jaeger <aj@suse.de>
3276
3277 * sysdeps/x86_64/elf/configure.in: Moved to ...
3278 * sysdeps/x86_64/configure.in: ... here.
3279 * sysdeps/x86_64/elf/start.S: Moved to ...
3280 * sysdeps/x86_64/start.S: ... here.
3281 * sysdeps/x86_64/elf/configure: Delete.
3282
3283 * sysdeps/x86_64/configure.in: Merge contents from
3284 sysdeps/i386/configure.in (without i686 check).
3285
3286 * sysdeps/i386/elf/Versions: Merge into ...
3287 * sysdeps/i386/Versions: ... this.
3288 * sysdeps/i386/elf/Versions: Delete file.
3289 * sysdeps/i386/elf/start.S: Moved to ...
3290 * sysdeps/i386/start.S: ...here.
3291 * sysdeps/i386/elf/configure.in: Merge into...
3292 * sysdeps/i386/configure.in: ...here.
3293 * sysdeps/i386/elf/configure.in: Delete file.
3294 * sysdeps/i386/elf/configure: Delete file.
3295
3296 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3297 * debug/backtracesyms.c: ... here.
3298 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3299 * debug/backtracesymsfd.c: ... here.
3300 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3301 * sysdeps/generic/ifunc-sel.h: ... here.
3302
3303 * sysdeps/unix/i386/start.c: Delete file.
3304 * sysdeps/unix/sparc/start.c: Delete file.
3305 * sysdeps/unix/start.c: Delete file.
3306
3307 * sysdeps/sh/elf/configure.in: Moved to ...
3308 * sysdeps/sh/configure.in: ... here.
3309 * sysdeps/sh/elf/start.S: Moved to ...
3310 * sysdeps/sh/start.S: ... here.
3311 * sysdeps/sh/elf/configure: Delete file.
3312
3313 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3314 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3315 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3316 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3317 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3318 * sysdeps/powerpc/powerpc64/start.S: here.
3319 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3320 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3321 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3322 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3323 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3324
3325 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3326 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3327 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3328 * sysdeps/powerpc/powerpc32/start.S: ... here.
3329 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3330 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3331 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3332
3333 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3334 * sysdeps/powerpc/ifunc-sel.h: ... here.
3335 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3336 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3337
3338 * sysdeps/sparc/elf/configure.in: Moved to ...
3339 * sysdeps/sparc/configure.in: ... here.
3340 * sysdeps/sparc/elf/configure: Delete file.
3341 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3342 * sysdeps/sparc/sparc32/start.S: ... here.
3343 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3344 * sysdeps/sparc/sparc64/start.S: ... here.
3345 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3346 * sysdeps/sparc/sparc32/Makefile: ... this.
3347 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3348 * sysdeps/sparc/sparc64/Makefile: ... this.
3349
3350 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3351 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3352 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3353 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3354 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3355 * sysdeps/s390/s390-32/setjmp.S: ... here.
3356 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3357 * sysdeps/s390/s390-32/configure.in: ... here.
3358 * sysdeps/s390/s390-32/elf/configure: Delete file.
3359 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3360 * sysdeps/s390/s390-32/start.S: ... here.
3361
3362 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3363 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3364 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3365 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3366 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3367 * sysdeps/s390/s390-64/setjmp.S: ... here.
3368 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3369 * sysdeps/s390/s390-64/configure.in: ... here
3370 * sysdeps/s390/s390-64/elf/configure: Delete file.
3371 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3372 * sysdeps/s390/s390-64/start.S: ... here.
3373 * sysdeps/s390/s390-64/elf/configure: Delete.
3374
3375 * configure.in: Remove support for elf directories in sysdeps.
3376
3377 * configure: Regenerated.
3378 * sysdeps/i386/configure: Regenerated.
3379 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3380 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3381 * sysdeps/s390/s390-32/configure: Regenerated.
3382 * sysdeps/s390/s390-64/configure: Regenerated.
3383 * sysdeps/sh/configure: Regenerated.
3384 * sysdeps/sparc/configure: Regenerated.
3385 * sysdeps/x86_64/configure: Regenerated.
3386
a3f61311
AS
33872012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3388
c876e002
AS
3389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3390
a3f61311
AS
3391 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3392 denormal result into account.
3393
ac4c54f0
RM
33942012-03-25 Roland McGrath <roland@hack.frob.com>
3395
3396 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3397 Reported by Allan McRae <allan@archlinux.org>.
3398
6a9b9c02
JL
33992012-03-23 Jeff Law <law@redhat.com>
3400
3401 * nss/getnssent.c (__nss_getent): Fix typo.
3402
4c42a0c1
DM
34032012-03-23 David S. Miller <davem@davemloft.net>
3404
3405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3406
1532c7ac
L
34072012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3408
3409 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3410 to pad to uint64_t for each field.
3411 (dl_tls_index): Replace unsigned long with uint64_t.
3412
3ff42526
PP
34132012-03-23 Daniel Jacobowitz <dmj@google.com>
3414 Paul Pluzhnikov <ppluzhnikov@google.com>
3415
3416 [BZ #6528]
3417 * grp/Makefile (otherlibs): Don't set it.
3418 * inet/Makefile (otherlibs): Likewise.
3419 * login/Makefile (otherlibs): Likewise.
3420 * nscd/Makefile (otherlibs): Likewise.
3421 * posix/Makefile (otherlibs): Likewise.
3422 * pwd/Makefile (otherlibs): Likewise.
3423 * rt/Makefile (otherlibs): Likewise.
3424 * sunrpc/Makefile (otherlibs): Likewise.
3425 * nss/Makefile (otherlibs): Likewise.
3426 Add libnss_files to routines and static-only-routines.
3427 ($(objpfx)getent): Remove rule.
3428 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3429 static-only-routines.
3430
7c69cd14
JM
34312012-03-22 Joseph Myers <joseph@codesourcery.com>
3432
3433 [BZ #13892]
3434 * math/s_cexp.c: Include <float.h>.
3435 (__cexp): Handle exp result overflowing not necessarily
3436 overflowing both real and imaginary parts of result.
3437 * math/s_cexpf.c: Likewise.
3438 * math/s_cexpl.c: Likewise.
3439 * math/libm-test.inc (cexp_test): Add more tests.
3440 * sysdeps/i386/fpu/libm-test-ulps: Update.
3441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3442
81b035fe
L
34432012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3444
3445 * include/link.h (ELFW): New macro.
3446 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3447 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3448
1da7940c
L
34492012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3450
3451 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3452 with uint64_t.
3453
b749dbb9
L
34542012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3455
3456 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3457 declaration.
3458 (struct La_x32_retval): Likewise.
3459
2ff87f3f
L
34602012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3461
3462 * sysdeps/x86_64/preconfigure.in: New file.
3463 * sysdeps/x86_64/preconfigure: New generated file.
3464
c0df8e69
JM
34652012-03-22 Joseph Myers <joseph@codesourcery.com>
3466
48e44791
JM
3467 [BZ #13824]
3468 * math/e_exp2l.c: Include <float.h>.
3469 (__ieee754_exp2l): Handle overflow and underflow cases
3470 separately. Only pass fractional part of argument to
3471 __ieee754_expl.
3472 * math/libm-test.inc (exp2_test): Add more tests.
3473
c0df8e69
JM
3474 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3475 negating x to take absolute value.
3476 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3477 Likewise.
3478 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3479 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3480 Likewise.
3481 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3482 computing low part if x was negated.
3483 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3484
c8e43ba7
L
34852012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3486
3487 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3488 la_x32_gnu_pltexit.
3489 (pltexit): Cast int_retval to ptrdiff_t.
3490 * elf/tst-auditmod3b.c: Likewise.
3491 * elf/tst-auditmod4b.c: Likewise.
3492 * elf/tst-auditmod5b.c: Likewise.
3493 * elf/tst-auditmod6b.c: Likewise.
3494 * elf/tst-auditmod6c.c: Likewise.
3495 * elf/tst-auditmod7b.c: Likewise.
3496
3497 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3498 and x32_gnu_pltexit.
3499
3500 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3501 __ELF_NATIVE_CLASS.
3502 (La_x32_regs): New macro.
3503 (La_x32_retval): Likewise.
3504 (la_x32_gnu_pltenter): New function prototype.
3505 (la_x32_gnu_pltexit): Likewise.
3506
7998fa78
AS
35072012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3508
dcb33988
AS
3509 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3510 exponent.
3511
233fc563
AS
3512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3513
7998fa78
AS
3514 * configure.in (libc_cv_cc_nofma): Check for option to disable
3515 generation of FMA instructions.
3516 * configure: Regenerate.
3517 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3518 * sysdeps/ieee754/dbl-64/Makefile: New file.
3519 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3520 Remove brandred-fma4.
3521 (CFLAGS-brandred-fma4.c): Remove.
3522 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3523 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3524 define.
3525 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3526 define.
3527
8e95c99a
L
35282012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3529
3530 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3531 LLONG_MAX != LONG_MAX.
3532 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3533 (_fitoa_word): Likewise.
3534 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3535 LLONG_MAX != LONG_MAX.
3536 * stdio-common/_itowa.h: Include <_itoa.h>.
3537 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3538 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3539 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3540 only if not defined.
3541 (_ITOA_WORD_TYPE): Likewise.
3542 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3543 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3544
6f4db457
DM
35452012-03-21 David S. Miller <davem@davemloft.net>
3546
3547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3548
7785fe5a
L
35492012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3550
3551 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3552 of x86_64 when setting libc_cv_slibdir, libdir and
3553 libc_cv_localedir.
3554 * sysdeps/unix/sysv/linux/configure: Regenerated.
3555
4535cd55
JM
35562012-03-21 Joseph Myers <joseph@codesourcery.com>
3557
3558 * manual/lang.texi (Old Varargs): Remove section.
3559 (How Variadic): Update menu.
3560 (va_start): Do not mention varargs.h.
3561
17228132
TS
35622012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3563 Joseph Myers <joseph@codesourcery.com>
3564
3565 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3566 link test.
3567 * configure: Regenerated.
3568
8149f976
TS
35692012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3570
05f3d1f6
UD
3571 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3572 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3573 conformtest.pl
8149f976 3574
1a4ac776
JM
35752012-03-21 Joseph Myers <joseph@codesourcery.com>
3576
be22ce65
JM
3577 * NOTES: Remove.
3578 * Makefile (files-for-dist): Remove NOTES.
3579 (NOTES): Remove rule.
3580 * README: Don't refer to NOTES.
3581 * manual/creature.texi: Don't include macros.texi.
3582 * manual/intro.texi (creature.texi): Remove comment referring to
3583 NOTES.
3584
40b601fb
JM
3585 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3586 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3587 * configure: Regenerated.
3588 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3589 LIBC_TRY_CC_OPTION.
3590 (libc_cv_as_i686): Likewise.
3591 (libc_cv_cc_avx): Likewise.
3592 (libc_cv_cc_sse2avx): Likewise.
3593 (libc_cv_cc_fma4): Likewise.
3594 (libc_cv_cc_novzeroupper): Likewise.
3595 * sysdeps/i386/configure: Regenerated.
3596
1a4ac776
JM
3597 [BZ #13883]
3598 * sysdeps/i386/fpu/s_cexp.S: Remove.
3599 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3600 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3601 * math/libm-test.inc (cexp_test): Add more tests.
3602 * sysdeps/i386/fpu/libm-test-ulps: Update.
3603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3604
a458e7fe
AM
36052012-03-21 Allan McRae <allan@archlinux.org>
3606
3607 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3608
0cb7efc5
JM
36092012-03-21 Joseph Myers <joseph@codesourcery.com>
3610
3611 [BZ #13871]
3612 * math/w_exp2.c: Do not include <float.h>.
3613 (o_threshold, u_threshold): Remove.
3614 (__exp2): Calculate result before checking finiteness and calling
3615 __kernel_standard.
3616 * math/w_exp2f.c: Likewise.
3617 * math/w_exp2l.c: Likewise.
3618 * math/libm-test.inc (exp2_test): Require overflow exception for
3619 1e6 input.
2460d3aa
JM
3620
3621 [BZ #3866]
3622 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3623 range of signed 64-bit integers before using fistpll. Remove
3624 checks for whether integers fit in mantissa bits.
3625 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3626 the range of signed 32-bit integers before using fistpl. Remove
3627 checks for whether integers fit in mantissa bits.
3628 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3629 (__ieee754_powl): Test for y outside the range of signed 64-bit
3630 integers before using fistpll. Reduce 64-bit values to 63-bit
3631 ones as needed.
3632 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3633 divide-by-zero is raised for zero to large negative powers.
3634 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3635 (__ieee754_powl): Test for y outside the range of signed 64-bit
3636 integers before using fistpll. Reduce 64-bit values to 63-bit
3637 ones as needed.
3638 * math/libm-test.inc (pow_test): Add more tests.
3639
eb96ffb0
L
36402012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3641
3642 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3643 <stdio-common/_itoa.h>.
3644 * debug/segfault.c: Likewise.
3645 * elf/dl-cache.c: Likewise.
3646 * elf/dl-minimal.c: Likewise.
3647 * elf/dl-misc.c: Likewise.
3648 * elf/dl-sysdep.c: Likewise.
3649 * elf/dl-version.c: Likewise.
3650 * elf/rtld.c: Likewise.
3651 * hurd/hurdsock.c: Likewise.
3652 * hurd/lookup-retry.c: Likewise.
3653 * malloc/malloc.c: Likewise.
3654 * malloc/mtrace.c: Likewise.
3655 * nscd/nscd_getgr_r.c: Likewise.
3656 * nscd/nscd_getpw_r.c: Likewise.
3657 * nscd/nscd_getserv_r.c: Likewise.
3658 * posix/getopt_init.c: Likewise.
3659 * posix/wordexp.c: Likewise.
3660 * stdio-common/_itoa.c: Likewise.
3661 * stdio-common/printf_fphex.c: Likewise.
3662 * stdio-common/vfprintf.c: Likewise.
3663 * string/_strerror.c: Likewise.
3664 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3665 * sysdeps/i386/i686/hp-timing.h: Likewise.
3666 * sysdeps/mach/_strerror.c: Likewise.
3667 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3668 * sysdeps/mach/hurd/sethostid.c: Likewise.
3669 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3670 * sysdeps/mach/xpg-strerror.c: Likewise.
3671 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3673 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3674 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3675 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3676 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3677 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3678 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3679 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3680 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3681 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3682 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3683 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3684 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3685 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3686 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3687 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3688 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3689 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3690 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3691 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3692
3693 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3694
3695 * stdio-common/_itoa.h: Moved to ...
3696 * sysdeps/generic/_itoa.h: Here.
3697
3698 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3699
3700 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3701 instead of "_itoa.h" and "_itowa.h".
3702 * stdio-common/vfprintf.: Likewise.
3703
d1af992d
L
37042012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3705
3706 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3707 <bits/wordsize.h>.
3708 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3709 (__signbit): Likwise.
3710 (llrintf): Likwise.
3711 (llrint): Likwise.
3712
114883e0
L
37132012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3714
3715 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3716 __WORDSIZE != 64.
3717
c135cc1b
JM
37182012-03-20 Joseph Myers <joseph@codesourcery.com>
3719
3720 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3721 OVERFLOW_EXCEPTION_OK.
3722 * math/libm-test.inc ("Philosophy"): Update comment about
3723 exception testing.
3724 (OVERFLOW_EXCEPTION): Define.
3725 (OVERFLOW_EXCEPTION_OK): Likewise.
3726 (INVALID_EXCEPTION_OK): Renumber.
3727 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3728 (IGNORE_ZERO_INF_SIGN): Likewise.
3729 (test_exceptions): Handle FE_OVERFLOW.
3730 (exp10_test): Expect overflow exceptions.
3731 (exp2_test): Likewise.
3732 (expm1_test): Likewise.
3733 (nextafter_test): Likewise.
3734 (pow_test): Likewise.
3735 (scalbn_test): Likewise.
3736 (scalbln_test): Likewise.
3737
95443d88
L
37382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3739
3740 * sysdeps/x86_64/bits/atomic.h
3741 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3742 64bit integer.
3743 (atomic_exchange_acq): Likewise.
3744 (__arch_exchange_and_add_body): Likewise.
3745 (__arch_add_body): Likewise.
3746 (atomic_add_negative): Likewise.
3747 (atomic_add_zero): Likewise.
3748
490df6c4
L
37492012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3750
c2722551 3751 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
3752 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3753
5e52b189
L
37542012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3755
3756 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3757 Check __x86_64__ instead of __WORDSIZE.
3758
a9879d4c
L
37592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3760
3761 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3762
5df98260
DM
37632012-03-19 David S. Miller <davem@davemloft.net>
3764
e1497744
DM
3765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3766
5df98260
DM
3767 * sysdeps/sparc/fpu/fenv_private.h: New file.
3768 * sysdeps/sparc/fpu/math_private.h: Use it.
3769 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3770 Remove.
3771 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3772 (libc_feholdexcept_setroundl): Remove.
3773 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3774 Remove.
3775 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3776 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3777
b4c35121
L
37782012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3779
3780 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3781 int64_t instead of long int.
3782 (INSERT_WORDS64): Likwise.
3783
56965fd7
L
37842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3785
3786 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3787 _Unwind_GetCFA return to _Unwind_Ptr first.
3788
83d1aec8
JM
37892012-03-19 Joseph Myers <joseph@codesourcery.com>
3790
1897ad44
JM
3791 [BZ #13629]
3792 * math/s_clog.c: Include <float.h>.
3793 (__clog): Scale large or subnormal inputs.
3794 * math/s_clogf.c: Likewise.
3795 * math/s_clogl.c: Likewise.
3796 * math/s_clog10.c: Include <float.h>.
3797 (M_LOG10_2): Define.
3798 (__clog10): Scale large or subnormal inputs.
3799 * math/s_clog10f.c: Likewise.
3800 * math/s_clog10l.c: Likewise.
3801 * math/libm-test.inc (clog_test): Add more tests.
3802 (clog10_test): Likewise.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3805
7726d6a9
JM
3806 [BZ #11451]
3807 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3808 x and y.
3809 * math/libm-test.inc (atan2_test): Add another test.
3810
83d1aec8
JM
3811 * Makerules (common-objdir-compile): Remove.
3812 * sysdeps/unix/Makefile (config-generated): Do not add
3813 $(unix-generated) to variable.
3814 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3815 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3816 Remove rule.
3817 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3818 Likewise.
3819 [generic bits/local_lim.h] (before-compile): Do not append to
3820 variable.
3821 [generic bits/local_lim.h] (common-generated): Likewise.
3822 [generic sys/param.h] (before-compile): Do not append to variable.
3823 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3824 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3825 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3826 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3827 include.
3828 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3829 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3830 [generic sys/param.h] ($(addprefix
3831 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3832 [generic sys/param.h] (common-generated): Do not append to
3833 variable.
3834 [generic sys/param.h] (sysdep_headers): Likewise.
3835 [generic bits/errno.h] (before-compile): Do not append to
3836 variable.
3837 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3838 rule.
3839 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3840 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3841 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3842 [generic bits/errno.h] (common-generated): Do not append to
3843 variable.
3844 [generic bits/ioctls.h] (before-compile): Do not append to
3845 variable.
3846 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3847 rule.
3848 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3849 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3850 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3851 rule.
3852 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3853 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3854 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3855 [generic bits/ioctls.h] (common-generated): Do not append to
3856 variable.
3857 [generic sys/syscall.h] (syscall.h): Remove variable.
3858 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3859 rule.
3860 [generic sys/syscall.h] (before-compile): Do not append to
3861 variable.
3862 [generic sys/syscall.h] (common-generated): Likewise.
3863 * sysdeps/unix/errnos-tmpl.c: Remove file.
3864 * sysdeps/unix/errnos.awk: Likewise.
3865 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3866 * sysdeps/unix/ioctls.awk: Likewise.
3867 * sysdeps/unix/mk-local_lim.c: Likewise.
3868 * sysdeps/unix/snarf-ioctls: Likewise.
3869
4851a949
RH
38702012-03-19 Richard Henderson <rth@twiddle.net>
3871
bd37f2ee
RH
3872 * sysdeps/i386/fpu/fenv_private.h: New file.
3873 * sysdeps/i386/fpu/math_private.h: Use it.
3874 (math_opt_barrier, math_force_eval): Remove.
3875 (libc_feholdexcept_setround_53bit): Remove.
3876 (libc_feupdateenv_53bit): Remove.
3877 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3878 (math_opt_barrier, math_force_eval): Remove.
3879 (libc_feholdexcept): Remove.
3880 (libc_feholdexcept_setround): Remove.
3881 (libc_fetestexcept, libc_fesetenv): Remove.
3882 (libc_feupdateenv_test): Remove.
3883 (libc_feupdateenv, libc_feholdsetround): Remove.
3884 (libc_feresetround): Remove.
3885
d0adc922
RH
3886 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3887 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3888
0fe0f1f8
RH
3889 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3890 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3891 (libc_feupdateenv_testl): New.
3892 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3893 (libc_feupdateenv_testf): New.
3894 (libc_feupdateenv): Use libc_feupdateenv_test.
3895 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3896 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3897
eb92c487
RH
3898 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3899 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3900 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3901 (libc_feresetround_noex): New.
3902 (libc_feresetround_noexf): New.
3903 (libc_feresetround_noexl): New.
3904 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3905 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3906 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3907 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3908 SET_RESTORE_ROUND.
3909 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3910 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3911 (__cos): Likewise.
3912 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3913 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3914 SET_RESTORE_ROUND_NOEX.
3915 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3916 SET_RESTORE_ROUND_NOEXF.
3917 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3918 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3919 (libc_feholdsetroundf): New.
3920 (libc_feresetround, libc_feresetroundf): New.
3921
7d2e8012
RH
3922 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3923 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3924 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3925
b4dabbb4
RH
3926 * sysdeps/generic/math_private.h: Include <fenv.h>.
3927 (default_libc_feholdexcept): New.
3928 (default_libc_feholdexcept_setround): New.
3929 (default_libc_fesetenv, default_libc_feupdateenv): New.
3930 (libc_feholdexcept): Only define if undefined.
3931 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3932 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
3933 (libc_feholdexcept_setroundl): Likewise.
3934 (libc_feholdexcept_setround_53bit): Likewise.
3935 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
3936 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
3937 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
3938 (libc_feupdateenv_53bit): Likewise.
3939 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
3940 (libc_feholdexcept): Convert from macro to inline function.
3941 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
3942 (libc_fesetenv, libc_feupdateenv): Likewise.
3943
4851a949
RH
3944 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
3945 not previously defined.
3946 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
3947 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
3948 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
3949 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
3950 * sysdeps/ieee754/flt-32/math_private.h: New file.
3951 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
3952 math_private.h below SET_FLOAT_WORD.
3953 (__isnan, __isinf_ns, __finite): Remove.
3954 (__isnanf, __isinf_nsf, __finitef): Remove.
3955
e79d442e
AS
39562012-03-18 Andreas Schwab <schwab@linux-m68k.org>
3957
3958 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3959
90b80344
DM
39602012-03-17 David S. Miller <davem@davemloft.net>
3961
3962 [BZ #6471]
3963 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
3964 for 2.16.
3965
edc21804
DM
39662012-03-16 David S. Miller <davem@davemloft.net>
3967
77e927af
DM
3968 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
3969 warnings.
3970
374976dd
DM
3971 [BZ #6471]
3972 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
3973 properly.
3974 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
3975 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
3976 sysdep_routines when subdir is sysvipc.
3977 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
3978 __getshmlba helper.
3979
edc21804
DM
3980 * sysdeps/sparc/fpu/libm-test/ulps: Update.
3981
473c3ef3
L
39822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3983
3984 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
3985 [__LP64__].
3986
eb0f39b6
L
39872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3988
3989 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
3990 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
3991 (__lround): Renamed to ...
3992 (__llround): This. Replace long int with long long int.
3993 Define lround functions as aliases of llround functions.
3994 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
3995
6b6cd74b
L
39962012-03-16 H.J. Lu <hongjiu.lu@intel.com>
3997
3998 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
3999 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4000 adresses to uintptr_t. Replace "long int" and "unsigned long
4001 int" with "greg_t" on va_arg.
4002
f1a77b01
L
40032012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4004
4005 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4006 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4007
4008 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4009 Move e_machine check before EI_CLASS check. Handle x32
4010 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4011 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4012 SKIP_EM_IA_64 and include
4013 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4014
4015 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4016 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4017 (add_system_dir): New macro.
4018
4019 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4020 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4021
11b90b9f
JM
40222012-03-16 Joseph Myers <joseph@codesourcery.com>
4023
c36e1d23
JM
4024 [BZ #2551]
4025 [BZ #2552]
4026 [BZ #2553]
4027 [BZ #2554]
4028 [BZ #2562]
4029 [BZ #2563]
4030 [BZ #2565]
4031 [BZ #2566]
4032 [BZ #2576]
4033 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4034 (y0): Likewise.
4035 * math/w_j0f.c (j0f): Likewise.
4036 (y0f): Likewise.
4037 * math/w_j0l.c (__j0l): Likewise.
4038 (__y0l): Likewise.
4039 * math/w_j1.c (j1): Likewise.
4040 (y1): Likewise.
4041 * math/w_j1f.c (j1f): Likewise.
4042 (y1f): Likewise.
4043 * math/w_j1l.c (__j1l): Likewise.
4044 (__y1l): Likewise.
4045 * math/w_jn.c (jn): Likewise.
4046 (yn): Likewise.
4047 * math/w_jnf.c (jnf): Likewise.
4048 (ynf): Likewise.
4049 * math/w_jnl.c (__jnl): Likewise.
4050 (__ynl): Likewise.
4051 * math/libm-test.inc (j0_test): Add more tests.
4052 (j1_test): Likewise.
4053 (jn_test): Likewise. Add trailing semicolon to existing test.
4054 (y0_test): Likewise.
4055 (y1_test): Likewise.
4056 * sysdeps/i386/fpu/libm-test-ulps: Update.
4057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4058
11b90b9f
JM
4059 [BZ #13851]
4060 [BZ #13854]
4061 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4062 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4063 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4064 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4065 (__tanl): Set errno for infinite argument.
4066 * sysdeps/i386/fpu/mptan.c: Remove.
4067 * sysdeps/i386/fpu/s_tan.S: Likewise.
4068 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4069 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4070 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4071 * math/libm-test.inc (tan_test): Add more tests and enable more
4072 tests for double and long double.
4073 * sysdeps/i386/fpu/libm-test-ulps: Update.
4074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4075
6a1bd2a1
JK
40762012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4077
4078 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4079 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4080
10a803e0
RM
40812012-03-16 Roland McGrath <roland@hack.frob.com>
4082
4083 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4084 * configure.in: Use it for both main tree and add-ons.
4085 * configure: Regenerated.
4086
f196c7f7
L
40872012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4088
4089 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4090
8848d99d
JM
40912012-03-16 Joseph Myers <joseph@codesourcery.com>
4092
96cbe7f4
JM
4093 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4094 in comment.
4095
8848d99d
JM
4096 [BZ #13851]
4097 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4098 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4099 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4100 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4101 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4102 infinite argument.
4103 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4105 != 0 for prec == 2.
4106 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4107 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4108 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4109 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4110 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4111 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4112 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4113 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4114 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4115 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4116 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4117 * math/libm-test.inc (cos_test): Add more tests and enable more
4118 tests for long double.
4119 (sin_test): Likewise.
4120 (sincos_test): Likewise.
4121 * sysdeps/i386/fpu/libm-test-ulps: Update.
4122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4123
dd7f4703
DM
41242012-03-16 David S. Miller <davem@davemloft.net>
4125
4126 * sysdeps/sparc/fpu/math_private.h: New file.
4127
006f1daa
DM
41282012-03-15 David S. Miller <davem@davemloft.net>
4129
c0c83bc8
DM
4130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4131 file.
e6a62e18 4132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
4133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4134 file.
e6a62e18
DM
4135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4140 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4141 sysdep routines.
4142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4143
88cb87d9
DM
4144 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4145 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4146
006f1daa 4147 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
4148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4149 sparc-ifunc.h
006f1daa 4150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
4151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4152 Likewise.
4153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4154 Likewise.
006f1daa
DM
4155 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
4158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4159 Likewise.
006f1daa
DM
4160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4162 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
4164 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4165 Likewise.
4166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4167 Likewise.
006f1daa
DM
4168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4173 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4174 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4175 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4176 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4177 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4179 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4182 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4183 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4184 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4185 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4186 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4187 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4189 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4190 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4191 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4192
11e0098e
AS
41932012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4194
4195 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4196 scaling.
4197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4198
e85b09d0
AJ
41992012-03-15 Andreas Jaeger <aj@suse.de>
4200
4201 [BZ #13852]
4202 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4203 ieee754/flt-32 implementation for sin, cos and sincos.
4204 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4205 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4206 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4207 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4208 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4209 ieee754/flt-32 implementation for tan.
4210
4211 * math/libm-test.inc (cos_test): Enable some large input tests for
4212 float as well
4213 (sin_test): Likewise.
4214 (sincos_test): Likewise.
4215 (tan_test): Add tests for large input.
4216
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4218
81c64153
AJ
42192012-03-15 Andreas Jaeger <aj@suse.de>
4220
4221 [BZ #13658]
4222 * math/libm-test.inc (cos_test): Add more test cases.
4223 (sin_test): Likewise.
4224 (sincos_test): Likewise.
4225
7bbfa5c6
AJ
42262012-03-15 Andreas Jaeger <aj@suse.de>
4227
4228 [BZ #13837]
4229 * math/libm-test.inc (cos_test): Add a test case for large input
4230 value.
4231 (sin_test): Likewise.
4232 (sincos_test): Likewise.
4233
42342012-03-15 Andreas Jaeger <aj@suse.de>,
4235 Joseph Myers <joseph@codesourcery.com>
4236
4237 [BZ #13658]
0671f479 4238 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
4239 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4240 * sysdeps/i386/fpu/branred.c: Likewise.
4241 * sysdeps/i386/fpu/dosincos.c: Likewise.
4242 * sysdeps/i386/fpu/mpa.c: Likewise.
4243 * sysdeps/i386/fpu/s_cos.S: Likewise.
4244 * sysdeps/i386/fpu/s_sin.S: Likewise.
4245 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4246 * sysdeps/i386/fpu/sincos32.c: Likewise.
4247
4248 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4249 Define.
4250 (libc_feupdateenv_53bit): Define.
4251 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4252 Define.
4253 (libc_feupdateenv_53bit): Define.
4254
4255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4256 53 bit (without extend i386 double precision).
4257
4258 * math/libm-test.inc (sincos_test): Add tests for large input.
4259 (sin): Likewise.
4260 (cos): Likewise.
4261
4262 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4263
9cad04ea
AS
42642012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4265
4266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4267
f7062b9a
DM
42682012-03-15 David S. Miller <davem@davemloft.net>
4269
4270 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4271 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4272 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4273 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4274 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4278 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4279 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4280 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4281 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4282 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4283 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4284 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
4285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4286 file.
f7062b9a 4287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
4288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4289 file.
f7062b9a 4290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
4291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4292 file.
f7062b9a 4293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
4294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4295 file.
f7062b9a
DM
4296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4298 fmin/fmax sysdep routines.
4299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4300
7bd951ff
DM
43012012-03-14 David S. Miller <davem@davemloft.net>
4302
559398ab
DM
4303 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4304 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4305 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4306 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4307 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4308 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4309 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4310 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4311 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4314 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4317 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4318 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4319 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4320 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4321 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4322 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4323 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4324 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4325 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4326 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4330 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4332 routines.
4333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4334 file.
559398ab 4335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
4336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4337 file.
559398ab 4338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
4339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4340 file.
559398ab 4341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4343 file.
559398ab 4344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
4345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4346 file.
559398ab 4347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
4348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4349 file.
4350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4351 file.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4353 file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4355 file.
4356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4357 New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4359 file.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4361 file.
559398ab 4362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4364 file.
559398ab 4365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4367 file.
559398ab 4368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
4369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4370 file.
559398ab 4371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
4372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4373 VIS3 routines.
559398ab
DM
4374
4375 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4376 New file.
4377
5a1c1e32
DM
4378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4379
eae47a36
DM
4380 * sysdeps/sparc/configure.in: New file.
4381 * sysdeps/sparc/configure: Generate.
4382 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4383 * configure: Regenerate.
4384 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4385 * config.make.in (have-as-vis3): New.
4386 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4387 available use -Av9d instead of -Av9a.
4388 * sysdeps/sparc/sparc64/Makefile: Likewise.
4389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
4390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4391 New file.
4392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4393 file.
4394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4395 New file.
4396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4397 file.
eae47a36
DM
4398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4399 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4400 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4401 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4402 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4403
c0c83bc8
DM
4404 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4405 fzeros/fnegs to load 0x80000000 into a float register instead of
4406 using the stack.
7bd951ff
DM
4407 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4408
bd951ccb
JM
44092012-03-14 Joseph Myers <joseph@codesourcery.com>
4410
4411 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4412 bits/syscall.h.
4413 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4414 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4415 ($(inst_includedir)/bits/syscall.h): Remove rule.
4416 ($(objpfx)bits/syscall.d): Include instead of
4417 $(objpfx)syscall-list.d.
4418 (generated): Change syscall-list.h and syscall-list.d to
4419 bits/syscall.h and bits/syscall.d.
4420
bb4e6db2
RM
44212012-03-14 Roland McGrath <roland@hack.frob.com>
4422
4423 [BZ #13846]
4424 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4425
aa4a2ae1
JM
44262012-03-14 Joseph Myers <joseph@codesourcery.com>
4427
e456826d
JM
4428 [BZ #13841]
4429 * math/s_csqrt.c: Include <float.h>.
4430 (__csqrt): Scale large or subnormal inputs.
4431 * math/s_csqrtf.c: Likewise.
4432 * math/s_csqrtl.c: Likewise.
4433 * math/libm-test.inc (csqrt_test): Add more tests.
4434 * sysdeps/i386/fpu/libm-test-ulps: Update.
4435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4436
aa4a2ae1
JM
4437 [BZ #13840]
4438 * math/libm-test.inc (hypot_test): Add more tests.
4439
7c10fd35
DM
44402012-03-13 David S. Miller <davem@davemloft.net>
4441
4442 [BZ #13840]
4443 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4444 double-precision for the calculation instead of scaling.
4445
f453b98b
JM
44462012-03-13 Joseph Myers <joseph@codesourcery.com>
4447
4448 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4449 manipulate bits before adding and subtracting TWO52[sx].
4450 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4451 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4452 Likewise.
4453 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4454
09a3453f
DM
44552012-03-13 David S. Miller <davem@davemloft.net>
4456
8e59da90
DM
4457 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4458 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4459 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4460 rtld-global-offsets.h
4461 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4462
2a8ab7f2
DM
4463 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4464 large parameters.
4465
10f62770
DM
4466 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4467
5f0bdb18
DM
4468 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4469 'err' in the ifdef scope in which it is actually used.
4470
09a3453f
DM
4471 * nss/nss_db/db-init.c: Include string.h
4472
b4b2eb5e
DM
44732012-03-12 David S. Miller <davem@davemloft.net>
4474
98bb2f1c
DM
4475 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4476 masking out of the most significant byte of random value used.
4477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4478 Fix coding style in previous change.
4479
b4b2eb5e
DM
4480 * sysdeps/unix/sysv/linux/kernel-features.h
4481 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4482 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4483 expression.
4484 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4485 later.
4486
6e226b09
DM
44872012-03-11 David S. Miller <davem@davemloft.net>
4488
a1bcbd40
DM
4489 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4490 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4491 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4492 for 'resultvar' otherwise things get truncated on 64-bit.
4493
cb9d6174
DM
4494 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4495 Fix masking out of the most significant byte of random value used.
4496
6e226b09
DM
4497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4498
058c132d
AS
44992012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4500
4501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4502
2d2cd515
DM
45032012-03-09 David S. Miller <davem@davemloft.net>
4504
4505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4506 variables with appropriate CPP guards.
4507 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4508 frame pointer, not the stack pointer. Correct layout comments. Fix test
4509 on resulting framesize and the management of the outregs buffer for pltexit.
4510 Preserve floating point return values across _dl_call_pltexit call.
4511 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4512 framesize and the management of the outregs buffer for pltexit.
4513 Preserve floating point return values across _dl_call_pltexit
4514 call.
4515 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4516 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4517 (print_exit): Fix format string for return register value.
4518
9a07f9d0
JM
45192012-03-10 Joseph Myers <joseph@codesourcery.com>
4520
4521 * sunrpc/Makefile (others): Add rpcgen.
4522 ($(objpfx)rpcgen): Remove special build rule and dependency on
4523 libc.
4524 * sunrpc/rpcgen.c: New file.
4525
547b5e30
PE
45262012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4527
c524201a
PE
4528 [BZ #13673]
4529 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4530 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4531 * sysdeps/i386/crti.S: Likewise.
4532 * sysdeps/i386/crtn.S: Likewise.
4533 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4534 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4535 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4536 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4537 * sysdeps/sh/crti.S: Likewise.
4538 * sysdeps/sh/crtn.S: Likewise.
4539 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4540
7b6235f2
PE
4541 [BZ #13673]
4542 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4543 with URL.
4544 * locale/programs/locfile-kw.gperf: Likewise.
4545 * locale/programs/charmap-kw.h: Regenerated.
4546 * locale/programs/locfile-kw.h: Likewise.
4547
547b5e30
PE
4548 [BZ #13673]
4549 * intl/plural.y: Replace FSF snail mail address with URL.
4550 * intl/plural.c: Regenerated.
4551
5f0a5dae
RH
45522012-03-09 Richard Henderson <rth@twiddle.net>
4553
4554 * include/math_private.h: Remove file.
4555 * math/math_private.h: Move file ...
4556 * sysdeps/generic/math_private.h: ... here.
4557
b8c03620
RH
4558 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4559 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4560 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4561
4e234f5d 4562 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
4563 and <math_private.h>.
4564 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4565 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4566 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4567 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4568 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4569 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4570 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4572 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4573 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4574 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4575 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4576 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4577 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4578 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4579 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4580 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4581 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4582 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4583 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4584 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4585 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4586 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4587 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4588 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4589 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4590 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4591 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4592 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4593 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4594 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4595 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4596 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4597 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4598 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4599 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4600 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4602 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4603 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4604 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4605 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4606 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4607 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4608 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4609 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4610 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4611 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4612 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4613 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4614 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4615 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4616 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4617 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4618 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4619 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4620 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4621 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4622 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4623 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4624 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4625 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4626 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4627 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4628 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4629 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4630 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4631 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4632 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4633 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4634 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4635 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4652 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4655 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4656 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4657 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4658 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4659 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4660 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4661 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4662 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4663 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4664 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4665 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4666 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4667 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4668 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4669 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4670 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4671 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4672 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4673 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4674 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4675 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4676 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4677 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4678 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4680 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4681 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4682 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4683 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4684 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4685 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4686 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4687 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4688 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4689 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4690 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4691 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4692 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4693 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4694 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4695 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4696 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4697 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4698 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4699 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4700 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4701 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4702 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4703 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4704 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4705 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4706 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4707 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4708 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4709 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4710 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4711 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4712 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4713 * sysdeps/ieee754/k_standard.c: Likewise.
4714 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4715 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4716 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4717 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4718 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4719 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4720 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4721 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4722 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4723 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4724 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4725 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4726 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4727 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4728 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4729 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4730 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4731 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4732 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4733 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4734 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4735 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4736 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4737 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4738 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4739 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4740 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4741 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4742 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4743 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4744 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4745 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4746 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4747 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4748 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4751 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4752 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4753 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4754 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4755 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4756 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4757 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4758 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4759 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4760 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4761 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4762 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4763 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4764 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4765 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4766 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4767 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4768 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4769 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4770 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4771 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4772 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4773 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4774 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4775 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4776 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4777 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4778 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4779 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4780 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4829 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4831 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4832 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4833 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4836 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4841 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4846 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4848 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4854 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4855 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4858 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4862 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4863 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4872 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4874 * sysdeps/ieee754/s_lib_version.c: Likewise.
4875 * sysdeps/ieee754/s_matherr.c: Likewise.
4876 * sysdeps/ieee754/s_signgam.c: Likewise.
4877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4879 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4880 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4881 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4882 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4883 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4884 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4885 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4886 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4887 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4888 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4889 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4890 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4891 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4892 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4893 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4894 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4895 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4896 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 4898
1991fa03
JM
48992012-03-09 Joseph Myers <joseph@codesourcery.com>
4900
4901 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4902 * sunrpc/rpc_main.c: Likewise.
4903 * sunrpc/rpc_svcout.c: Likewise.
4904
60d6f5a6
DM
49052012-03-09 David S. Miller <davem@davemloft.net>
4906
4907 * include/math_private.h: New file.
4908
4962050e
JM
49092012-03-09 Joseph Myers <joseph@codesourcery.com>
4910
02a6f887
JM
4911 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4912 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4913 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4914 from <bits/socket_type.h>.
4915 (enum __socket_type): Don't define here.
4916 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4917 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4918 bits/socket_type.h.
4919
c6e013c1
JM
4920 [BZ #13566]
4921 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4922 checking __USE_GNU.
4923
4962050e
JM
4924 * Makerules ($(inst_includedir)/%.h): New rule.
4925 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4926 (install-others): Remove variable setting.
4927 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4928
38842f45
RH
49292012-03-08 Richard Henderson <rth@twiddle.net>
4930
67bb6da6
RH
4931 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4932 from macro to inline function; merge with the
4933 !__LIBC_INTERNAL_MATH_INLINES version.
4934 (__ieee754_sqrtf): Likewise.
4935
15194b4b
RH
4936 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
4937 to inline function.
4938 (__rintf, __floor, __floorf): Likewise.
4939
64e21ede
RH
4940 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
4941 macro to inline function.
4942 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
4943
38842f45
RH
4944 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
4945 not <math/math_private.h>.
4946
c64bf5fe
DM
49472012-03-08 David S. Miller <davem@davemloft.net>
4948
4949 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
4950 copyright year.
4951 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
4952
82d86f28
TS
49532012-03-08 Thomas Schwinge <thomas@codesourcery.com>
4954
4955 * resolv/gai_misc.c (handle_requests): Fix struct timespec
4956 normalization.
4957 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
4958 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4959
aea5d727
UD
49602012-03-08 Ulrich Drepper <drepper@gmail.com>
4961
4962 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
4963 be defined individually, they must be defined as a block. Define
4964 S for printing a string instead of hidint the different by using a
4965 macro for adding the 'l'.
4966 * stdio-common/tst-fphex-wide.c: Adjust.
4967
70bca0a3
MP
49682012-03-07 Marek Polacek <polacek@redhat.com>
4969
4970 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
4971
65b81130
MP
49722012-03-08 Marek Polacek <polacek@redhat.com>
4973
4974 [BZ #13806]
4975 * stdio-common/Makefile (tests): Add tst-fphex-wide.
4976 * stdio-common/tst-fphex.c: Define a few macros to make the
4977 test reusable. Use them.
4978 * stdio-common/tst-fphex-wide.c: New file.
4979
07037eeb
JM
49802012-03-08 Joseph Myers <joseph@codesourcery.com>
4981
a7a93d50
JM
4982 [BZ #6911]
4983 * manual/macros.texi (gnusystems): New macro.
4984 (nongnusystems): Likewise.
4985 (gnulinuxhurdsystems): Likewise.
4986 (gnuhurdsystems): Likewise..
4987 (gnulinuxsystems): Likewise.
4988 * manual/charset.texi: Use new macros or @theglibc{} to refer to
4989 variants of the GNU system, not "GNU system".
4990 * manual/conf.texi: Likewise.
4991 * manual/errno.texi: Likewise. Update example of errno macro
4992 expansion.
4993 * manual/filesys.texi: Likewise.
4994 (getumask): Document as specific to GNU/Hurd.
4995 * manual/install.texi: Likewise. Reword some references to
4996 GNU/Linux.
4997 * manual/intro.texi: Likewise.
4998 * manual/io.texi: Likewise.
4999 (File Name Portability): Detail which constraints are inapplicable
5000 to all GNU systems and which are only inapplicable to GNU/Hurd.
5001 * manual/job.texi: Likewise.
5002 * manual/llio.texi: Likewise.
5003 (O_NOCTTY): Document as present on GNU/Linux.
5004 * manual/maint.texi: Likewise.
5005 * manual/memory.texi: Likewise.
5006 * manual/pattern.texi: Likewise.
5007 * manual/pipe.texi: Likewise.
5008 * manual/process.texi: Likewise.
5009 * manual/resource.texi: Likewise.
5010 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5011 child on GNU/Hurd.
5012 * manual/setjmp.texi: Likewise.
5013 * manual/signal.texi: Likewise.
5014 * manual/startup.texi: Likewise.
5015 * manual/stdio.texi: Likewise.
5016 * manual/terminal.texi: Likewise.
5017 (ONLCR): Document as POSIX.
5018 (OXTABS): Document availability on GNU/Linux as XTABS.
5019 (ONOEOT): Document availability separately from other bits.
5020 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5021 * manual/time.texi: Likewise.
5022 * manual/users.texi: Likewise.
5023 * INSTALL: Regenerated.
5024 * sysdeps/gnu/errlist.c: Regenerated.
5025
07037eeb
JM
5026 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5027 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5028 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5029 puts.
5030 * configure: Regenerated.
5031
d1d3431a
JM
50322012-03-07 Joseph Myers <joseph@codesourcery.com>
5033
af6a1e37
JM
5034 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5035 default includes instead of AC_HEADER_CHECK.
5036 * sysdeps/i386/configure: Regenerated.
5037
d1d3431a
JM
5038 [BZ #10716]
5039 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5040 * math/s_cacoshf.c (__cacoshf): Likewise.
5041 * math/s_cacoshl.c (__cacoshl): Likewise.
5042 * math/s_casinh.c (__casinh): Set signs of result from argument.
5043 * math/s_casinhf.c (__casinhf): Likewise.
5044 * math/s_casinhl.c (__casinhl): Likewise.
5045 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5046 (casinh_test): Add more tests.
5047 * sysdeps/i386/fpu/libm-test-ulps: Update.
5048 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5049
482ff4da
UD
50502012-03-07 Ulrich Drepper <drepper@gmail.com>
5051
872fda05
UD
5052 * po/zh_TW.po: Update from translation team.
5053
a4300c7a
UD
5054 * login/Makefile (distribute): Remove variable.
5055 * catgets/Makefile: Likewise.
5056 * mach/Makefile: Likewise.
5057 * malloc/Makefile: Likewise.
5058 * misc/Makefile: Likewise.
5059 * iconv/Makefile: Likewise.
5060 * nscd/Makefile: Likewise.
5061 * hurd/Makefile: Likewise.
5062 * manual/Makefile: Likewise.
5063 * locale/Makefile: Likewise.
5064 * intl/Makefile: Likewise.
5065 * conform/Makefile: Likewise.
5066 * nss/Makefile: Likewise.
5067 * time/Makefile: Likewise.
5068 * soft-fp/Makefile: Likewise.
5069 * dirent/Makefile: Likewise.
5070 * gmon/Makefile: Likewise.
5071 * po/Makefile: Likewise.
5072 * rt/Makefile: Likewise.
5073 * socket/Makefile: Likewise.
5074 * math/Makefile: Likewise.
5075 * signal/Makefile: Likewise.
5076 * debug/Makefile: Likewise.
5077 * elf/Makefile: Likewise.
5078 * timezone/Makefile: Likewise.
5079 * stdlib/Makefile: Likewise.
5080 * iconvdata/Makefile: Likewise.
5081 * sunrpc/Makefile: Likewise.
5082 * io/Makefile: Likewise.
5083 * argp/Makefile: Likewise.
5084 * inet/Makefile: Likewise.
5085 * hesiod/Makefile: Likewise.
5086 * grp/Makefile: Likewise.
5087 * csu/Makefile: Likewise.
5088 * wctype/Makefile: Likewise.
5089 * crypt/Makefile: Likewise.
5090 * libio/Makefile: Likewise.
5091 * string/Makefile: Likewise.
5092 * nis/Makefile: Likewise.
5093 * resolv/Makefile: Likewise.
5094 * stdio-common/Makefile: Likewise.
5095 * wcsmbs/Makefile: Likewise.
5096 * dlfcn/Makefile: Likewise.
5097 * posix/Makefile: Likewise.
5098
3b7c4e74 5099 [BZ #6959]
482ff4da
UD
5100 * timezone/Makefile: Don't install timezone files, just the programs
5101 and scripts.
5102
f72ed77d
UD
51032012-03-06 Ulrich Drepper <drepper@gmail.com>
5104
a000466f
UD
5105 * nss/databases.def: Add missing gshadow entry.
5106
f72ed77d
UD
5107 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5108
a53b7a4e
MP
51092012-03-06 Marek Polacek <polacek@redhat.com>
5110
5111 [BZ #13726]
5112 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5113 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5114 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5115 * stdio-common/tst-long-dbl-fphex.c: New file.
5116
e9258400
DM
51172012-03-06 David S. Miller <davem@davemloft.net>
5118
5119 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5120 (set_obp_int): New function.
5121 (get_obp_int): New function.
5122 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
5123 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5124 Avoid unused variable warnings on 'val' and use builtin_expect.
5125 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5126 __builtin_expect.
e9258400
DM
5127 (INLINE_CLONE_SYSCALL): Likewise.
5128
3bd2c723
DM
51292012-03-05 David S. Miller <davem@davemloft.net>
5130
5131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5132
bbb78d03
AS
51332012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5134
884c5db4
AS
5135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5136
bbb78d03
AS
5137 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5138 only for |x| >= 40.
5139 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5140
1c9f702a 51412012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
5142
5143 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5144 Replace gettimeofday with __vdso_gettimeofday.
5145
7be16f82
RM
5146 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5147 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5148 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
5149
5150 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5151 time with __vdso_time.
5152
ed58a00f
JM
51532012-03-05 Joseph Myers <joseph@codesourcery.com>
5154
5155 * manual/lang.texi (size_t): Note types to which size_t may be
5156 equivalent with the GNU C Library, but do not describe when
5157 differences between them are significant.
5158
30ee4ced
AJ
51592012-03-05 Andreas Jaeger <aj@suse.de>
5160
5161 * sysdeps/i386/fpu/libm-test-ulps: Update.
5162
b7cd39e8
JM
51632012-03-05 Joseph Myers <joseph@codesourcery.com>
5164
5165 [BZ #3976]
5166 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5167 (__ieee754_pow): Save and restore rounding mode and use
5168 round-to-nearest for main computations.
5169 * math/libm-test.inc (pow_test_tonearest): New function.
5170 (pow_test_towardzero): Likewise.
5171 (pow_test_downward): Likewise.
5172 (pow_test_upward): Likewise.
5173 (main): Call the new functions.
5174 * sysdeps/i386/fpu/libm-test-ulps: Update.
5175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
5176
5177 [BZ #3976]
5178 * math/libm-test.inc (cosh_test_tonearest): New function.
5179 (cosh_test_towardzero): Likewise.
5180 (cosh_test_downward): Likewise.
5181 (cosh_test_upward): Likewise.
5182 (sinh_test_tonearest): Likewise.
5183 (sinh_test_towardzero): Likewise.
5184 (sinh_test_downward): Likewise.
5185 (sinh_test_upward): Likewise.
5186 (main): Call the new functions.
5187 * sysdeps/i386/fpu/libm-test-ulps: Update.
5188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5189
6c6a98c9
TV
51902012-03-05 Tom de Vries <tom@codesourcery.com>
5191
5192 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5193 default stack guard is set in last bytes.
5194 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5195
21bb2d2e 51962012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 5197
21bb2d2e 5198 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 5199
21bb2d2e
AJ
5200 [BZ #13656]
5201 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5202 possibly allocate from heap instead of stack.
5203 * stdio-common/bug-vfprintf-nargs.c: New file.
5204 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 5205
c6922934
AS
52062012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5207
5208 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5209
bc957d53
MP
52102012-03-03 Marek Polacek <polacek@redhat.com>
5211
5212 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5213 * math/math_private.h: Likewise.
5214 * stdlib/tst-strtod.c: Likewise.
5215 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5216 * sysdeps/x86_64/bits/atomic.h: Likewise.
5217
6358490d
DM
52182012-03-02 David S. Miller <davem@davemloft.net>
5219
5220 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5221 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5222 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5224 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5225 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5226 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5227 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5228
01ae168d
RM
52292012-03-02 Roland McGrath <roland@hack.frob.com>
5230
d9a17c07
RM
5231 [BZ #13792]
5232 * manual/examples/README: New file, says the example source files
5233 can be used under GPL>=2.
5234 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5235 line containing just "*/".
5236 * manual/examples/add.c: Add copyright header (GPL>=2).
5237 * manual/examples/argp-ex1.c: Likewise.
5238 * manual/examples/argp-ex2.c: Likewise.
5239 * manual/examples/argp-ex3.c: Likewise.
5240 * manual/examples/argp-ex4.c: Likewise.
5241 * manual/examples/atexit.c: Likewise.
5242 * manual/examples/db.c: Likewise.
5243 * manual/examples/dir.c: Likewise.
5244 * manual/examples/dir2.c: Likewise.
5245 * manual/examples/execinfo.c: Likewise.
5246 * manual/examples/filecli.c: Likewise.
5247 * manual/examples/filesrv.c: Likewise.
5248 * manual/examples/fmtmsgexpl.c: Likewise.
5249 * manual/examples/genpass.c: Likewise.
5250 * manual/examples/inetcli.c: Likewise.
5251 * manual/examples/inetsrv.c: Likewise.
5252 * manual/examples/isockad.c: Likewise.
5253 * manual/examples/longopt.c: Likewise.
5254 * manual/examples/memopen.c: Likewise.
5255 * manual/examples/memstrm.c: Likewise.
5256 * manual/examples/mkfsock.c: Likewise.
5257 * manual/examples/mkisock.c: Likewise.
5258 * manual/examples/mygetpass.c: Likewise.
5259 * manual/examples/pipe.c: Likewise.
5260 * manual/examples/popen.c: Likewise.
5261 * manual/examples/rprintf.c: Likewise.
5262 * manual/examples/search.c: Likewise.
5263 * manual/examples/select.c: Likewise.
5264 * manual/examples/setjmp.c: Likewise.
5265 * manual/examples/sigh1.c: Likewise.
5266 * manual/examples/sigusr.c: Likewise.
5267 * manual/examples/stpcpy.c: Likewise.
5268 * manual/examples/strdupa.c: Likewise.
5269 * manual/examples/strftim.c: Likewise.
5270 * manual/examples/strncat.c: Likewise.
5271 * manual/examples/subopt.c: Likewise.
5272 * manual/examples/swapcontext.c: Likewise.
5273 * manual/examples/termios.c: Likewise.
5274 * manual/examples/testopt.c: Likewise.
5275 * manual/examples/testpass.c: Likewise.
5276 * manual/examples/timeval_subtract.c: Likewise.
5277
01ae168d
RM
5278 [BZ #13792]
5279 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5280 function to ...
5281 * manual/timeval_subtract.c.texi: ... here, new file.
5282
49efa33d
DM
52832012-03-02 David S. Miller <davem@davemloft.net>
5284
5285 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5286
28afd92d
JM
52872012-03-02 Joseph Myers <joseph@codesourcery.com>
5288
804360ed
JM
5289 [BZ #3976]
5290 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5291 (__sin): Save and restore rounding mode and use round-to-nearest
5292 for all computations.
5293 (__cos): Save and restore rounding mode and use round-to-nearest
5294 for all computations.
5295 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5296 <fenv.h>.
5297 (tan): Save and restore rounding mode and use round-to-nearest for
5298 all computations.
5299 * math/libm-test.inc (cos_test_tonearest): New function.
5300 (cos_test_towardzero): Likewise.
5301 (cos_test_downward): Likewise.
5302 (cos_test_upward): Likewise.
5303 (sin_test_tonearest): Likewise.
5304 (sin_test_towardzero): Likewise.
5305 (sin_test_downward): Likewise.
5306 (sin_test_upward): Likewise.
5307 (tan_test_tonearest): Likewise.
5308 (tan_test_towardzero): Likewise.
5309 (tan_test_downward): Likewise.
5310 (tan_test_upward): Likewise.
5311 (main): Call the new functions.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314
a6d06d7b
JM
5315 [BZ #10135]
5316 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5317 small n, then large n, before computing and testing k+n.
5318 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5319 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5320 Likewise.
5321 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5322 Likewise.
5323 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5324 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5325 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5326 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5329 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5331 * math/libm-test.inc (scalbn_test): Add more tests.
5332 (scalbln_test): Likewise.
5333
07e12bb3
JM
5334 * manual/filesys.texi (mode_t): Describe constraints on size and
5335 signedness, not exact equivalence to a particular type.
5336 (ino_t): Likewise.
5337 (ino64_t): Likewise.
5338 (dev_t): Likewise.
5339 (nlink_t): Likewise.
5340 (blkcnt_t): Likewise.
5341 (blkcnt64_t): Likewise.
5342 * manual/llio.texi (off_t): Likewise.
5343
28afd92d
JM
5344 [BZ #3976]
5345 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5346 (__ieee754_exp): Save and restore rounding mode and use
5347 round-to-nearest for all computations.
5348 * math/libm-test.inc (exp_test_tonearest): New function.
5349 (exp_test_towardzero): Likewise.
5350 (exp_test_downward): Likewise.
5351 (exp_test_upward): Likewise.
5352 (main): Call the new functions.
5353 * sysdeps/i386/fpu/libm-test-ulps: Update.
5354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5355
b1eeb65d
CD
53562012-03-01 Chris Demetriou <cgd@google.com>
5357
5358 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5359 have predictable order.
5360
53362a4b
DM
53612012-03-01 David S. Miller <davem@davemloft.net>
5362
3c969083
DM
5363 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5364
759707de
DM
5365 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5366 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5367 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5368 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5369
dfdb8ff2
DM
5370 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5371 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5372 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5373 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5374 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5375 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5376 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5377 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5378 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5379
ead89f96
DM
5380 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5381
7f66bd07
DM
5382 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5383 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5384 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5385
53362a4b
DM
5386 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5387 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5388 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5389 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5390 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5393 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5394 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5395 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5396 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5398 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5399 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5400 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5401 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5402 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5403 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5404 * sysdeps/sparc/elf/configure: Regenerated.
5405
7b1902cb
JM
54062012-03-01 Joseph Myers <joseph@codesourcery.com>
5407
bec039bc
JM
5408 * configure.in (AS, LD): Require binutils 2.20 or later.
5409 * configure: Regenerated.
5410 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5411 as required minimum version.
5412 * INSTALL: Regenerated.
5413
7b1902cb
JM
5414 [BZ #2541]
5415 [BZ #4108]
5416 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5417 before squaring exponent.
5418 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5419 bottom long double and 27 bits of top long double before squaring
5420 exponent.
5421 * math/libm-test.inc (erfc_test): Add more tests.
5422 * sysdeps/i386/fpu/libm-test-ulps: Update.
5423 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5424 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5425
f775c276
KT
54262012-03-01 Kai Tietz <ktietz@redhat.com>
5427
5428 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5429 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5430 containing bit-fields.
5431 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5432 * soft-fp/single.h (_FP_UNION_S): Likewise.
5433 * soft-fp/double.h (_FP_UNION_D): Likewise.
5434
5b8a4d4a
JM
54352012-02-29 Joseph Myers <joseph@codesourcery.com>
5436
0bab47b6
JM
5437 [BZ #13786]
5438 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5439 not include ../strcmp.S.
5440 [USE_AS_STRNCASECMP_L]: Likewise.
5441 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5442 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5443 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5444 (__strncasecmp_l_ia32): Define as alias to
5445 __strncasecmp_l_nonascii.
5446
0fcad3e2
JM
5447 [BZ #5794]
5448 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5449 * sysdeps/i386/fpu/libm-test-ulps: Update.
5450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5451
5b8a4d4a
JM
5452 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5454
8fdceb2e
JL
54552012-02-29 Jeff Law <law@redhat.com>
5456
5457 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5458 out of bounds read.
5459
1f393a11
MP
54602012-02-29 Marek Polacek <polacek@redhat.com>
5461
5462 [BZ #13706]
5463 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5464 * elf/Makefile: Add rules to run tst-unused-dep.out.
5465
8847f037
DM
54662012-02-28 David S. Miller <davem@davemloft.net>
5467
5468 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5469 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5470 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5472 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5473 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5474
169d7f11
JM
54752012-02-29 Joseph Myers <joseph@codesourcery.com>
5476
5477 * math/libm-test.inc (llround_test): Move one test from
5478 lround_test. Use TEST_f_L in moved test.
5479 (lround_test): Move misplaced test to llround_test. Add testcase
5480 from bug 2561.
5481
39adf059
UD
54822012-02-28 Ulrich Drepper <drepper@gmail.com>
5483
5484 * sysdeps/x86_64/fpu/e_expf.S: New file.
5485 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5486
71b5d1c5
SB
54872012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5488
5489 [BZ #13637]
5490 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5491 of remain_len that may cause incomplete multi-byte character and
5492 false match.
5493 * posix/bug-regex33.c: New file.
5494 * posix/Makefile (tests): Add bug-regex33.
5495
1f77f049
JM
54962012-02-28 Joseph Myers <joseph@codesourcery.com>
5497
5498 * manual/macros.texi: New file.
5499 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5500 * manual/libc.texinfo: Include macros.texi.
5501 * manual/creatute.texi: Likewise.
5502 * manual/install.texi: Likewise.
5503 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5504 @glibcadj{} in references to the GNU C Library.
5505 * manual/charset.texi: Likewise.
5506 * manual/conf.texi: Likewise.
5507 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5508 when not using those macros.
5509 * manual/creature.texi: Likewise.
5510 * manual/crypt.texi: Likewise.
5511 * manual/errno.texi: Likewise.
5512 * manual/filesys.texi: Likewise.
5513 * manual/header.texi: Likewise.
5514 * manual/install.texi: Likewise.
5515 * manual/intro.texi: Likewise.
5516 * manual/io.texi: Likewise.
5517 * manual/job.texi: Likewise.
5518 * manual/lang.texi: Likewise.
5519 * manual/libc.texiinfo: Likewise.
5520 * manual/llio.texi: Likewise.
5521 * manual/locale.texi: Likewise.
5522 * manual/maint.texi: Likewise.
5523 * manual/math.texi: Likewise.
5524 * manual/memory.texi: Likewise.
5525 * manual/message.texi: Likewise.
5526 * manual/nss.texi: Likewise.
5527 * manual/pattern.texi: Likewise.
5528 * manual/process.texi: Likewise.
5529 * manual/resource.texi: Likewise.
5530 * manual/search.texi: Likewise.
5531 * manual/setjmp.texi: Likewise.
5532 * manual/signal.texi: Likewise.
5533 * manual/socket.texi: Likewise.
5534 * manual/startup.texi: Likewise.
5535 * manual/stdio.texi: Likewise.
5536 * manual/string.texi: Likewise.
5537 * manual/sysinfo.texi: Likewise.
5538 * manual/syslog.texi: Likewise.
5539 * manual/terminal.texi: Likewise.
5540 * manual/time.texi: Likewise.
5541 * manual/users.texi: Likewise.
5542 * INSTALL: Regenerated.
5543 * NOTES: Regenerated.
d40c5d54 5544 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 5545
450bf206
AS
55462012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5547
5548 * include/dirent.h: Include <dirstream.h> before
5549 <dirent/dirent.h>.
5550
741a235b
DM
55512012-02-28 David S. Miller <davem@davemloft.net>
5552
5553 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5554 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5555 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5556 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5557
d6b5aa58
DM
55582012-02-27 David S. Miller <davem@davemloft.net>
5559
1aff59a3
DM
5560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5562 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5563 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5564
d6b5aa58
DM
5565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5566 frame pointer instead of stack pointer relative arg slot.
5567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5568 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5569 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5570
433f48bf
CD
55712012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5572
5573 [BZ #3992]
5574 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5575
d674b76d
DM
55762012-02-27 David S. Miller <davem@davemloft.net>
5577
5578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5580 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5582 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5583 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5584 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5585 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5586
0e7727f7
JM
55872012-02-27 Joseph Myers <joseph@codesourcery.com>
5588
5589 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5590 later. Allow versions 5-9.
43be4ca2 5591 * configure: Regenerated.
0e7727f7
JM
5592 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5593 required minimum version and 4.6 as recommended version. Do not
5594 mention bugs in GCC 2.7 and 2.8.
43be4ca2 5595 * INSTALL: Regenerated.
0e7727f7 5596
a78bc654
DM
55972012-02-27 David S. Miller <davem@davemloft.net>
5598
428d5830
DM
5599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5600 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5603 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5604 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5605 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5606 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5607
a78bc654
DM
5608 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5609 manipulate bits before adding and subtracting TWO112[sx].
5610 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5611
4579f81c
RM
56122012-02-27 Roland McGrath <roland@hack.frob.com>
5613
36c8acb4
RM
5614 [BZ #13775]
5615 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5616 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5617 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5618 being in POSIX, because they are in 1003.1-2008.
5619
84ad622b
RM
5620 * rt/tst-aio.c: Include <fcntl.h>.
5621 * rt/tst-aio7.c: Likewise.
5622 * rt/tst-aio64.c: Likewise.
5623
4579f81c
RM
5624 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5625
abd923db
JM
56262012-02-27 Joseph Myers <joseph@codesourcery.com>
5627
5628 * manual/install.texi (--with-headers): Describe headers as
5629 interface headers, not private headers.
5630 (Specific advice for GNU/Linux systems): Describe use of headers
5631 from "make headers_install", not private headers from older
5632 kernels.
43be4ca2 5633 * INSTALL: Regenerated.
abd923db
JM
5634 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5635 Change to 2.6.19.
5636 * sysdeps/unix/sysv/linux/configure: Regenerated.
5637
6664049b
JM
5638 * manual/llio.texi (fclean): Remove documentation.
5639
bb8b6697
JM
5640 * manual/Makefile (libc-texi-generated): New variable. Include
5641 version.texi.
5642 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5643 $(libc-texi-generated), not duplicated list of files.
5644 (version.texi, stamp-version): New rules.
5645 (realclean): Remove $(libc-texi-generated), not individual files
5646 from that list. Do not remove dir-add.texinfo.
5647 * manual/libc.texinfo: Comment out uses of edition numbers and
5648 references to printed manual. Remove last-updated dates.
5649 (EDITION): Comment out.
5650 (ISBN): Likewise.
5651 (VERSION, UPDATED): Remove.
5652 (version.texi): Include.
5653
12e5c3b9
AS
56542012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5655
5656 * sysdeps/posix/spawni.c: Include <signal.h>.
5657 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5658 * sysdeps/pthread/aio_fsync.c: Likewise.
5659
4efeffc1 56602012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 5661
ba63ba08
UD
5662 * conform/Makefile (tests): Run only when not cross-compiling and
5663 when fast-check is not defined.
5664
d94a4670
UD
5665 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5666 * conform/data/limits.h-data: Fixes for POSIX2008.
5667 * conform/run-conformtest.sh: Run all tests.
5668 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5669 headers.
5670 * include/bits/dlfcn.h: Likewise.
5671 * include/langinfo.h: Likewise.
5672 * include/monetary.h: Likewise.
5673 * include/sys/poll.h: Likewise.
5674
5675 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5676 for __USE_GNU.
5677 * posix/spawn.h: Define __need_sigset_t.
5678 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5679 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5680 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5681 to get sigevent_t only.
5682 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5683 only for __USE_GNU.
5684 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5685 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5686 process_vm_writev only for __USE_GNU.
5687 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
5688
5689 * conform/Makefile: For now ignore errors from run-conformtest.
5690 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5691 POSIX to avoid namespace pollution. Don't prepend headers.
5692 * conform/data/aio.h-data: Fixes for POSIX testing.
5693 * conform/data/fcntl.h-data: Likewise.
5694 * conform/data/glob.h-data: Likewise.
5695 * conform/data/grp.h-data: Likewise.
5696 * conform/data/pthread.h-data: Likewise.
5697 * conform/data/pwd.h-data: Likewise.
5698 * conform/data/signal.h-data: Likewise.
5699 * conform/data/spawn.h-data: Likewise.
5700 * conform/data/stdio.h-data: Likewise.
5701 * conform/data/stdlib.h-data: Likewise.
5702 * conform/data/stropts.h-data: Likewise.
5703 * conform/data/sys/mman.h-data: Likewise.
5704 * conform/data/sys/stat.h-data: Likewise.
5705 * conform/data/sys/types.h-data: Likewise.
5706 * conform/data/sys/wait.h-data: Likewise.
5707 * conform/data/time.h-data: Likewise.
5708 * conform/data/unistd.h-data: Likewise.
5709 * conform/data/utime.h-data: Likewise.
5710
5711 * io/sys/stat.h: fchmod was always in POSIX.
5712 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5713 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5714 * rt/aio.h: Define __need_timespec before including <time.h>.
5715 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5716 struct. Add forward declaration of pthread_attr_t and use it in
5717 sigevent.
5718 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5719 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5720 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5721 always remove CLK_TCK definition.
5722
c20105c3
AS
57232012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5724
5725 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5726
7a270350
UD
57272012-02-25 Ulrich Drepper <drepper@gmail.com>
5728
31341567
UD
5729 * conform/run-conformtest.sh: New file.
5730 * conform/Makefile: Run run-conformtest for tests.
5731 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5732 support.
5733
5734 * conform/data/uchar.h-data: New file.
5735 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5736 * conform/data/arpa/inet.h-data: Likewise.
5737 * conform/data/assert.h-data: Likewise.
5738 * conform/data/complex.h-data: Likewise.
5739 * conform/data/cpio.h-data: Likewise.
5740 * conform/data/ctype.h-data: Likewise.
5741 * conform/data/dirent.h-data: Likewise.
5742 * conform/data/dlfcn.h-data: Likewise.
5743 * conform/data/errno.h-data: Likewise.
5744 * conform/data/fcntl.h-data: Likewise.
5745 * conform/data/float.h-data: Likewise.
5746 * conform/data/fmtmsg.h-data: Likewise.
5747 * conform/data/fnmatch.h-data: Likewise.
5748 * conform/data/ftw.h-data: Likewise.
5749 * conform/data/glob.h-data: Likewise.
5750 * conform/data/grp.h-data: Likewise.
5751 * conform/data/iconv.h-data: Likewise.
5752 * conform/data/inttypes.h-data: Likewise.
5753 * conform/data/langinfo.h-data: Likewise.
5754 * conform/data/libgen.h-data: Likewise.
5755 * conform/data/limits.h-data: Likewise.
5756 * conform/data/locale.h-data: Likewise.
5757 * conform/data/math.h-data: Likewise.
5758 * conform/data/monetary.h-data: Likewise.
5759 * conform/data/mqueue.h-data: Likewise.
5760 * conform/data/ndbm.h-data: Likewise.
5761 * conform/data/net/if.h-data: Likewise.
5762 * conform/data/netdb.h-data: Likewise.
5763 * conform/data/netinet/in.h-data: Likewise.
5764 * conform/data/nl_types.h-data: Likewise.
5765 * conform/data/poll.h-data: Likewise.
5766 * conform/data/pthread.h-data: Likewise.
5767 * conform/data/pwd.h-data: Likewise.
5768 * conform/data/regex.h-data: Likewise.
5769 * conform/data/sched.h-data: Likewise.
5770 * conform/data/search.h-data: Likewise.
5771 * conform/data/semaphore.h-data: Likewise.
5772 * conform/data/setjmp.h-data: Likewise.
5773 * conform/data/signal.h-data: Likewise.
5774 * conform/data/spawn.h-data: Likewise.
5775 * conform/data/stdarg.h-data: Likewise.
5776 * conform/data/stdio.h-data: Likewise.
5777 * conform/data/stdlib.h-data: Likewise.
5778 * conform/data/string.h-data: Likewise.
5779 * conform/data/strings.h-data: Likewise.
5780 * conform/data/stropts.h-data: Likewise.
5781 * conform/data/sys/ipc.h-data: Likewise.
5782 * conform/data/sys/mman.h-data: Likewise.
5783 * conform/data/sys/msg.h-data: Likewise.
5784 * conform/data/sys/resource.h-data: Likewise.
5785 * conform/data/sys/select.h-data: Likewise.
5786 * conform/data/sys/sem.h-data: Likewise.
5787 * conform/data/sys/shm.h-data: Likewise.
5788 * conform/data/sys/socket.h-data: Likewise.
5789 * conform/data/sys/stat.h-data: Likewise.
5790 * conform/data/sys/statvfs.h-data: Likewise.
5791 * conform/data/sys/time.h-data: Likewise.
5792 * conform/data/sys/timeb.h-data: Likewise.
5793 * conform/data/sys/times.h-data: Likewise.
5794 * conform/data/sys/types.h-data: Likewise.
5795 * conform/data/sys/uio.h-data: Likewise.
5796 * conform/data/sys/un.h-data: Likewise.
5797 * conform/data/sys/utsname.h-data: Likewise.
5798 * conform/data/sys/wait.h-data: Likewise.
5799 * conform/data/syslog.h-data: Likewise.
5800 * conform/data/tar.h-data: Likewise.
5801 * conform/data/termios.h-data: Likewise.
5802 * conform/data/utime.h-data: Likewise.
5803 * conform/data/utmpx.h-data: Likewise.
5804 * conform/data/varargs.h-data: Likewise.
5805 * conform/data/wchar.h-data: Likewise.
5806 * conform/data/wctype.h-data: Likewise.
5807 * conform/data/wordexp.h-data: Likewise.
5808
5809 * include/stropts.h: New file.
5810 * include/uchar.h: New file.
5811 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5812 * include/assert.h: Likewise.
5813 * include/ctype.h: Likewise.
5814 * include/dirent.h: Likewise.
5815 * include/dlfcn.h: Likewise.
5816 * include/fcntl.h: Likewise.
5817 * include/fnmatch.h: Likewise.
5818 * include/glob.h: Likewise.
5819 * include/grp.h: Likewise.
5820 * include/libio.h: Likewise.
5821 * include/locale.h: Likewise.
5822 * include/math.h: Likewise.
5823 * include/net/if.h: Likewise.
5824 * include/netdb.h: Likewise.
5825 * include/netinet/in.h: Likewise.
5826 * include/pthread.h: Likewise.
5827 * include/pwd.h: Likewise.
5828 * include/regex.h: Likewise.
5829 * include/sched.h: Likewise.
5830 * include/search.h: Likewise.
5831 * include/setjmp.h: Likewise.
5832 * include/signal.h: Likewise.
5833 * include/stdio.h: Likewise.
5834 * include/stdlib.h: Likewise.
5835 * include/string.h: Likewise.
5836 * include/sys/cdefs.h: Likewise.
5837 * include/sys/mman.h: Likewise.
5838 * include/sys/msg.h: Likewise.
5839 * include/sys/resource.h: Likewise.
5840 * include/sys/select.h: Likewise.
5841 * include/sys/socket.h: Likewise.
5842 * include/sys/stat.h: Likewise.
5843 * include/sys/statvfs.h: Likewise.
5844 * include/sys/time.h: Likewise.
5845 * include/sys/times.h: Likewise.
5846 * include/sys/uio.h: Likewise.
5847 * include/sys/utsname.h: Likewise.
5848 * include/sys/wait.h: Likewise.
5849 * include/termios.h: Likewise.
5850 * include/time.h: Likewise.
5851 * include/ulimit.h: Likewise.
5852 * include/unistd.h: Likewise.
5853 * include/utime.h: Likewise.
5854 * include/wchar.h: Likewise.
5855 * include/wctype.h: Likewise.
5856 * include/wordexp.h: Likewise.
5857
5858 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5859
7a270350
UD
5860 * time/time.h: TIME_UTC must be a macro.
5861 Make timespec_get available for ISO C11 only as well.
5862
7724defc
UD
58632012-02-24 Ulrich Drepper <drepper@gmail.com>
5864
5865 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5866 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5867
6b1d1d46
JM
58682012-02-24 Joseph Myers <joseph@codesourcery.com>
5869
5870 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 5871
0f8bbd69
JM
58722012-02-24 Joseph Myers <joseph@codesourcery.com>
5873
5874 * manual/texinfo.tex: Update to version 2012-01-19.16.
5875
66ab80bc
JM
58762012-02-24 Joseph Myers <joseph@codesourcery.com>
5877
5878 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5879
74981cc5
RM
58802012-02-24 Roland McGrath <roland@hack.frob.com>
5881
ee968201
RM
5882 [BZ #13738]
5883 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5884 * manual/fdl-1.3.texi: New file.
5885 * manual/fdl-1.1.texi: File removed.
5886
74981cc5
RM
5887 [BZ #13738]
5888 * manual/libc.texinfo (FDL_VERSION): New @set.
5889 Use it for mention of FDL in cover text.
5890 (Documentation License): Use it in @include file name.
5891
7bb764bc
JM
58922012-02-22 Joseph Myers <joseph@codesourcery.com>
5893 Roland McGrath <roland@hack.frob.com>
5894
5895 [BZ #5461]
5896 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5897 not LONG_LONG_MAX and LONG_LONG_MIN.
5898 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5899 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5900 name.
5901 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5902
6cbeae47
JM
59032012-02-22 Joseph Myers <joseph@codesourcery.com>
5904
5905 [BZ #2547]
5906 [BZ #11365]
5907 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5908 manipulate bits before adding and subtracting TWO23[sx].
5909 * math/libm-test.inc (nearbyint_test): Add more tests.
5910
fe45ce09
JM
59112012-02-22 Joseph Myers <joseph@codesourcery.com>
5912
5913 [BZ #2548]
5914 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5915 bits before adding and subtracting TWO23[sx].
5916 * math/libm-test.inc (rint_test): Add more tests.
5917 (rint_test_tonearest): Likewise.
5918 (rint_test_towardzero): Likewise.
5919 (rint_test_downward): Likewise.
5920 (rint_test_upward: Likewise.
5921
ff3b3d82
JM
59222012-02-22 Joseph Myers <joseph@codesourcery.com>
5923
5924 [BZ #10110]
5925 * include/stdc-predef.h: New file. Extracted from features.h.
5926 * include/features.h: Include stdc-predef.h.
5927 * Makefile (headers): Add stdc-predef.h.
5928 * CONFORMANCE (Compiler limitations): Update.
5929
ef0aab35
JM
59302012-02-22 Joseph Myers <joseph@codesourcery.com>
5931
5932 * manual/libc.texinfo (VERSION, UPDATED): Revert.
5933
58639409
DM
59342012-02-21 David S. Miller <davem@davemloft.net>
5935
5936 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
5937 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
5938
c0e70b25
DM
59392012-02-20 David S. Miller <davem@davemloft.net>
5940
5941 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
5942 using a normal save/restore sequence, rather than allocating a
5943 dummy stack frame just to store a frame pointer and restore.
5944 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5945
fb06851d
JM
59462012-02-21 Joseph Myers <joseph@codesourcery.com>
5947
5948 * manual/install.texi: Fix stray word in line-wrapped comment.
5949
7a8b71c3
DM
59502012-02-20 David S. Miller <davem@davemloft.net>
5951
d510c123
DM
5952 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
5953 both binutils and gcc support GOTDATA.
5954
0722d7c2
DM
5955 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
5956 "rd %pc" in the PIC register setup sequences.
5957
3d2b3019
DM
5958 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
5959 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5960 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5961 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5962 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5963 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5964 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5965 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
5967 (SYSCALL_ERROR_HANDLER): Likewise.
5968 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5969 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
5971 (SYSCALL_ERROR_HANDLER): Likewise.
5972
c80098a9
DM
5973 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
5974 (HAVE_GCC_GOTDATA): New.
5975 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
5976 relocation support in both binutils and gcc.
5977 * sysdeps/sparc/elf/configure: Regenerate.
5978
3a2545a0
DM
5979 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
5980 * sysdeps/sparc/sparc32/elf/configure: Delete.
5981 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
5982 * sysdeps/sparc/sparc64/elf/configure: Delete.
5983 * sysdeps/sparc/elf/configure.in: New file.
5984 * sysdeps/sparc/elf/configure: Generate.
5985
7a8b71c3
DM
5986 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
5987 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
5988 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
5989 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
5990 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
5991
f1e86fca
JM
59922012-02-21 Joseph Myers <joseph@codesourcery.com>
5993
5994 * manual/install.texi: Do not mention specific glibc version
5995 numbers.
5996 * manual/libc.texinfo (VERSION, UPDATED): Update.
5997 (@copying): Use @copyright{} and range of years.
5998
0e7dfaef
JM
59992012-02-21 Joseph Myers <joseph@codesourcery.com>
6000
6001 [BZ #13695]
6002 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6003 [crti.S not in sysdirs] (generated): Do not append.
6004 [crti.S not in sysdirs] (omit-deps): Likewise.
6005 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6006 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6007 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6008 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6009 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6010 Likewise.
6011 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6012 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6013 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6014 * csu/defs.awk: Remove file.
6015 * sysdeps/generic/initfini.c: Likewise.
6016 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6017 variable.
6018 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6019 Likewise.
6020
599af3ca
JM
60212012-02-20 Joseph Myers <joseph@codesourcery.com>
6022
6023 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6024 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6025 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6026 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6027 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6028 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6029 <bits/epoll.h>.
6030 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6031 (__EPOLL_PACKED): Define to empty if not defined by
6032 <bits/epoll.h>.
6033 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6034 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6035 bits/epoll.h.
6036
0e499750
JM
60372012-02-20 Joseph Myers <joseph@codesourcery.com>
6038
6039 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6040 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6041 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6042 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6043 <bits/timerfd.h>.
6044 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6045 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6046 bits/timerfd.h.
6047
5ad91f6e
JM
60482012-02-20 Joseph Myers <joseph@codesourcery.com>
6049
6050 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6051 in C locale.
6052 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6053 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6054 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6056
06b99b02
AJ
60572012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6058
6059 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6060 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6061
7638c0fd
AS
60622012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6063
6064 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6065 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6066 defined.
6067 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6068 Likewise.
6069 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6070 entry for 2.16.
6071
92221550
AJ
60722012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6073
6074 * math/w_acos.c: Use non-signaling floating-point comparisons.
6075 * math/w_acosf.c: Likewise.
6076 * math/w_acosh.c: Likewise.
6077 * math/w_acoshf.c: Likewise.
6078 * math/w_acoshl.c: Likewise.
6079 * math/w_acosl.c: Likewise.
6080 * math/w_asin.c: Likewise.
6081 * math/w_asinf.c: Likewise.
6082 * math/w_asinl.c: Likewise.
6083 * math/w_atanh.c: Likewise.
6084 * math/w_atanhf.c: Likewise.
6085 * math/w_atanhl.c: Likewise.
6086 * math/w_exp2.c: Likewise.
6087 * math/w_exp2f.c: Likewise.
6088 * math/w_exp2l.c: Likewise.
6089 * math/w_j0.c: Likewise.
6090 * math/w_j0f.c: Likewise.
6091 * math/w_j0l.c: Likewise.
6092 * math/w_j1.c: Likewise.
6093 * math/w_j1f.c: Likewise.
6094 * math/w_j1l.c: Likewise.
6095 * math/w_jn.c: Likewise.
6096 * math/w_jnf.c: Likewise.
6097 * math/w_log.c: Likewise.
6098 * math/w_log10.c: Likewise.
6099 * math/w_log10f.c: Likewise.
6100 * math/w_log10l.c: Likewise.
6101 * math/w_log2.c: Likewise.
6102 * math/w_log2f.c: Likewise.
6103 * math/w_log2l.c: Likewise.
6104 * math/w_logf.c: Likewise.
6105 * math/w_logl.c: Likewise.
6106 * math/w_sqrt.c: Likewise.
6107 * math/w_sqrtf.c: Likewise.
6108 * math/w_sqrtl.c: Likewise.
6109 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6110 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6111 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6112 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6113 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6114
ebaf36eb
JM
61152012-02-19 Joseph Myers <joseph@codesourcery.com>
6116
6117 [BZ #9739]
6118 * manual/string.texi (strnlen): Use correct parameter name in
6119 equivalent expression.
6120
71c254a6
JM
61212012-02-19 Joseph Myers <joseph@codesourcery.com>
6122
6123 [BZ #11174]
6124 * manual/users.texi (seteuid): Consistently use neweuid for
6125 argument name.
6126
16d2c631
JM
61272012-02-19 Joseph Myers <joseph@codesourcery.com>
6128
6129 [BZ #13704]
6130 * manual/nss.texi (Services in the NSS configuration): Correct
6131 list of services in example configuration file.
6132
cd837b09
NB
61332012-02-19 Nick Bowler <nbowler@draconx.ca>
6134
6135 [BZ #11322]
6136 * manual/arith.texi: Remove statements about negative zero
6137 behaving identically to zero.
6138
02c4bbad
JM
61392012-02-18 Joseph Myers <joseph@codesourcery.com>
6140
6141 [BZ #5993]
6142 * manual/install.texi: Do not document upgrading from libc5.
6143
366842e7
JM
61442012-02-18 Joseph Myers <joseph@codesourcery.com>
6145
6146 [BZ #4596]
6147 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6148
dd54084d
DM
61492012-02-18 David S. Miller <davem@davemloft.net>
6150
6151 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6152 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6153 %o7 across the call.
6154 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6155 instead.
6156 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6157 SETUP_PIC_REG_LEAF.
6158 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6159 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6160 * sysdeps/sparc/crtn.S: Likewise.
6161
2bcc53a3
UD
61622012-02-17 Ulrich Drepper <drepper@gmail.com>
6163
6164 * aout/Makefile: Remove.
6165
09c093b5
RK
61662012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6167
6168 [BZ #13058]
6169 * manual/examples/argp-ex1.c (main): Format definition in GNU
6170 style.
6171 * manual/examples/argp-ex2.c (main): Likewise.
6172 * manual/examples/argp-ex3.c (main): Likewise.
6173 * manual/examples/argp-ex4.c (main): Likewise.
6174 * manual/examples/longopt.c (main): Use new-style prototype
6175 definition.
6176 * manual/examples/strncat.c (main): Specify return type and use
6177 (void) for arguments.
6178 * manual/examples/subopt.c (main): Use char **argv argument.
6179
2ee633a2
JM
61802012-02-17 Joseph Myers <joseph@codesourcery.com>
6181
6182 [BZ #5077]
6183 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6184 rounding modes.
6185
0520adde
FB
61862012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6187
6188 [BZ #6907]
6189 * manual/string.texi (strchr): Change when strchrnul is
6190 recommended.
6191
3f4081cd
DGM
61922012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6193
6194 [BZ #174]
6195 * manual/locale.texi (setlocale): Document LOCPATH.
6196
d1b10e78
JM
61972012-02-17 Joseph Myers <joseph@codesourcery.com>
6198
6199 [BZ #10210]
6200 * manual/process.texi (execle): Move @dots{} before last argument.
6201
79c6869c
PB
62022012-02-17 Paul Bolle <pebolle@tiscali.nl>
6203
6204 [BZ #12047]
6205 * manual/charset.texi (Generic Charset Conversion): Fix typo
6206 (LC_TYPE -> LC_CTYPE).
6207
cc6e48bc
NB
62082012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6209
6210 [BZ #5805]
6211 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6212 (scalbnf): Likewise.
6213 (scalbnl): Likewise.
6214 (scalbln): Likewise.
6215 (scalblnf): Likewise.
6216 (scalblnl): Likewise.
6217 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6218 (vwarnx): Likewise.
6219 (verr): Likewise.
6220 (verrx): Likewise.
6221 * manual/filesys.texi (telldir): Use braces around return type.
6222 * manual/llio.texi (mmap): Add space after comma.
6223 (mmap64): Likewise.
6224 * manual/math.texi (jn): Use @var{} on parameter names.
6225 (jnf): Likewise.
6226 (jnl): Likewise.
6227 (yn): Likewise.
6228 (ynf): Likewise.
6229 (ynl): Likewise.
6230 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6231 line.
6232 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6233 "...".
6234 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6235 (sched_get_priority_max): Likewise.
6236 * manual/signal.texi (sigvec): Add space after comma.
6237 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6238 names.
6239 (if_indextoname): Likewise.
6240 (if_freenameindex): Likewise.
6241 (sendto): Use ',' instead of '.' in prototype.
6242 * manual/startup.texi (syscall): Use @dots{} instead of literal
6243 "...".
6244 * manual/stdio.texi (__fpending): Separate initial words of
6245 paragraph from @deftypefun line.
6246 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6247 "...".
6248 (vsyslog): Use @var{} on parameter names.
6249 * manual/terminal.texi (stty): Use @var{} on parameter names.
6250 * manual/users.texi (getutmp): Use @var{} on parameter names.
6251 (getutmpx): Likewise.
6252
5b23062f
JM
62532012-02-17 Joseph Myers <joseph@codesourcery.com>
6254
6255 [BZ #6884]
6256 * manual/stdio.texi (fopen): Fix typos in description of
6257 ",ccs=STRING".
6258
8dee4833
AJ
62592012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6260
6261 [BZ #4026]
6262 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6263 get clock_id definition.
6264
9078ce93
TS
62652012-02-17 Thomas Schwinge <thomas@schwinge.name>
6266
6267 [BZ #4822]
6268 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6269 (madvise): Cast every argument to void on its own.
6270
3835c55f
JM
62712012-02-17 Joseph Myers <joseph@codesourcery.com>
6272
6273 [BZ #9902]
6274 * manual/startup.texi (Exit Status): Fix typo.
6275
35c47e37
JM
62762012-02-17 Joseph Myers <joseph@codesourcery.com>
6277
6278 [BZ #10140]
6279 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6280 * manual/examples/argp-ex2.c: Likewise.
6281 * manual/examples/argp-ex3.c: Likewise.
6282
e3b69ca7
RH
62832012-02-16 Richard Henderson <rth@redhat.com>
6284
6285 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6286 * sysdeps/s390/s390-32/initfini.c: Remove.
6287 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6288 * sysdeps/s390/s390-64/initfini.c: Remove.
6289
df83af67
KK
62902012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6291
6292 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6293 compiler output for sysdeps/generic/initfini.c.
6294 * sysdeps/sh/elf/initfini.c: Remove file.
6295
f63f3380
DM
62962012-02-16 David S. Miller <davem@davemloft.net>
6297
fb59b3a4
DM
6298 [BZ #11494]
6299 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6300
f63f3380
DM
6301 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6302 * sysdeps/sparc/crti.S: New file.
6303 * sysdeps/sparc/crtn.S: New file.
6304 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6305 * sysdeps/sparc/sparc64/Makefile: Likewise.
6306
df6a4a4a
MF
63072012-02-15 Mike Frysinger <vapier@gentoo.org>
6308
6dd8f3dc 6309 [BZ #3335]
df6a4a4a
MF
6310 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6311
1cac7236
RM
63122012-02-15 Roland McGrath <roland@hack.frob.com>
6313
d2c736f8
RM
6314 [BZ #4822]
6315 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6316
1cac7236
RM
6317 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6318 (write, read, close): Likewise.
6319 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6320
8e475601
JM
63212012-02-15 Joseph Myers <joseph@codesourcery.com>
6322
6323 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6324 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6325 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6326 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6327 <bits/signalfd.h>.
6328 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6329 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6330 bits/signalfd.h.
6331
ed656b40
MP
63322012-02-14 Marek Polacek <polacek@redhat.com>
6333
6334 * sysdeps/x86_64/crti.S: New file.
6335 * sysdeps/x86_64/crtn.S: New file.
6336 * sysdeps/x86_64/elf/initfini.c: Remove file.
6337
2a979d3a
JM
63382012-02-13 Joseph Myers <joseph@codesourcery.com>
6339
6340 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6341 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6342 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6343 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6344 <bits/inotify.h>.
6345 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6346 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6347 bits/inotify.h.
6348
2a418ac3
JM
63492012-02-13 Joseph Myers <joseph@codesourcery.com>
6350
6351 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6352 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6353 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6354 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6355 <bits/eventfd.h>.
6356 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6358 bits/eventfd.h.
6359
fb779be7
TS
63602012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6361
e19e83c5
RM
6362 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6363 __feraiseexcept instead of feraiseexcept.
7c35ffed 6364
fb779be7
TS
6365 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6366 nanosleep invocations.
6367 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6368 strings, and add error checking for a nanosleep invocations.
6369
59ba27a6
PE
63702012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6371
6372 Replace FSF snail mail address with URLs, as per GNU coding standards.
6373 Most of the snail mail addresses were wrong anyway, and omitting
6374 them makes the source code easier to maintain. Almost all of the
6375 changes are to license notices and to locale LC_IDENTIFICATION
6376 addresses, except for this one:
6377 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6378 not its snail mail address.
6379
57b957eb
RH
63802012-02-09 Richard Henderson <rth@twiddle.net>
6381
af850b1c
RH
6382 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6383 of kernel-features.h.
6384
57b957eb
RH
6385 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6386
6b73181a
MP
63872012-02-08 Marek Polacek <polacek@redhat.com>
6388
6389 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6390 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6391 * sysdeps/gnu/_G_config.h: Likewise.
6392 * sysdeps/generic/_G_config.h: Likewise.
6393
26ecc33a
AS
63942012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6395
6c6dbc63
AS
6396 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6397 tests.
6398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6399
e216c012
AS
6400 * sysdeps/powerpc/powerpc32/crti.S: New file.
6401 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6402 * sysdeps/powerpc/powerpc64/crti.S: New file.
6403 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6404
26ecc33a
AS
6405 * Makeconfig (have-initfini): Don't set.
6406 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6407 * configure.in (nopic_initfini): Don't substitute.
6408 * config.h.in (HAVE_INITFINI): Don't #undef.
6409 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6410 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6411
3add8e13
JM
64122012-02-08 Joseph Myers <joseph@codesourcery.com>
6413
6414 Support crti.S and crtn.S provided directly by architectures.
6415 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6416 [crti.S in sysdirs] (omit-deps): Likewise.
6417 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6418 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6419 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6420 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6421 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6422 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6423 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6424 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6425 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6426 compiler output for sysdeps/generic/initfini.c.
6427 * sysdeps/i386/elf/Makefile: Remove file.
6428 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6429
a22f12b4
MP
64302012-02-07 Marek Polacek <polacek@redhat.com>
6431
6432 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6433 * sysdeps/gnu/_G_config.h: Likewise.
6434 * sysdeps/mach/hurd/_G_config.h: Likewise.
6435
148cf100
MP
64362012-02-07 Marek Polacek <polacek@redhat.com>
6437
6438 * math/Makefile (tests): Add tst-CMPLX2.
6439 * math/tst-CMPLX2.c: New file.
6440
cfdc0dd7
AS
64412012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6442
84ba42c4
AS
6443 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6444
cfdc0dd7
AS
6445 * math/libm-test.inc (jn_test): Add missing L suffix.
6446
622c86f4
MP
64472012-02-06 Marek Polacek <polacek@redhat.com>
6448
6449 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6450 * sysdeps/i386/fpu/e_powf.S: Likewise.
6451 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6452 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6454 * sysdeps/i386/fpu/e_pow.S: Likewise.
6455 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6456 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6457 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6458 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6459 * sysdeps/i386/fpu/e_log2.S: Likewise.
6460 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6461 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6462 * sysdeps/i386/fpu/e_powl.S: Likewise.
6463 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6464 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6465 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6466 * sysdeps/i386/fpu/e_logl.S: Likewise.
6467 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6468 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6469 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6470 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6471 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6472 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6473 * sysdeps/i386/fpu/e_log.S: Likewise.
6474 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6476 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6477 * sysdeps/i386/fpu/e_logf.S: Likewise.
6478 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6479 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6480 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6481 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6482 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6483 * sysdeps/i386/fpu/e_log10.S: Likewise.
6484 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6485 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6486 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6487 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6488 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6489 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6490 * sysdeps/i386/asm-syntax.h: Likewise.
6491 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6492 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6493 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6494 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6495 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6496 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6497 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6498 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6500 * sysdeps/powerpc/sysdep.h: Likewise.
6501 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6502 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6503
d4a54ac6
JM
65042012-02-06 Joseph Myers <joseph@codesourcery.com>
6505
6506 [BZ #411]
6507 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6508
314054ea
JM
65092012-02-06 Joseph Myers <joseph@codesourcery.com>
6510
6511 * sysdeps/i386/sysdep.h: Include <features.h>.
6512 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6513 version.
6514
d8e0ca50
JM
65152012-02-05 Joseph Myers <joseph@codesourcery.com>
6516
6517 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6518 Define.
6519 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6520 LOAD_PIC_REG_STR.
6521
b1da7dd9
JM
65222012-02-03 Joseph Myers <joseph@codesourcery.com>
6523
6524 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6525 (SETUP_PIC_REG): Use GET_PC_THUNK.
6526 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6527 macro.
6528
9a1d9254
JM
65292012-02-03 Joseph Myers <joseph@codesourcery.com>
6530
6531 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6532 for non-PIC compilation.
6533 (SETUP_PIC_REG): Add .p2align directive.
6534 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6535 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6536 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6537 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6538 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6539 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6540 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6541 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6542 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6543 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6544 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6545 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6546 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6547 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6548 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6551 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6552 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6553 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6554 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6556 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6557 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6558 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6559 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6560 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6561 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6562 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6563 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6564 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6565 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6566 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6567 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6568 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6569 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6570 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6571 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6572 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6573 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6574 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6575
65dc3b75
JM
65762012-02-03 Joseph Myers <joseph@codesourcery.com>
6577
6578 * math/tst-CMPLX.c: Include <stdio.h>.
6579
d55bf177
JM
65802012-01-31 Joseph Myers <joseph@codesourcery.com>
6581
6582 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6583 float.
6584 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6585 * sysdeps/sparc/bits/mathdef.h: Likewise.
6586
69db4f8f
MP
65872012-01-31 Marek Polacek <polacek@redhat.com>
6588
6589 * libio/libio.h: Don't define _PARAMS.
6590 * locale/programs/config.h: Don't define PARAMS.
6591 * stdlib/strtol_l.c: Likewise.
6592 (__strtol_l): Remove PARAMS from the prototype.
6593
41b81892
UD
65942012-01-31 Ulrich Drepper <drepper@gmail.com>
6595
3b49edc0
UD
6596 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6597 names. Just use the correct names. Remove unnecessary wrapper
6598 functions.
6599 * malloc/arena.c: Likewise.
6600 * malloc/hooks.c: Likewise.
6601
41b81892
UD
6602 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6603 ARENA_TEST says not to. Simplify test for creation of a new arena.
6604 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6605
27a25b6e
UD
66062012-01-30 Ulrich Drepper <drepper@gmail.com>
6607
6608 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6609 into tail calls.
6610 (update_get_addr): New function.
6611 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6612 GET_ADDR_MODULE parameter.
6613
c8a89e7d
JM
66142012-01-30 Joseph Myers <joseph@codesourcery.com>
6615
6616 * crypt/cert.c: Remove __STDC__ conditionals.
6617 * crypt/crypt-entry.c: Likewise.
6618 * crypt/crypt_util.c: Likewise.
6619 * libio/filedoalloc.c: Likewise.
6620 * libio/fileops.c: Likewise.
6621 * libio/genops.c: Likewise.
6622 * libio/iofclose.c: Likewise.
6623 * libio/iofdopen.c: Likewise.
6624 * libio/iofopen.c: Likewise.
6625 * libio/iofopen64.c: Likewise.
6626 * libio/iogetdelim.c: Likewise.
6627 * libio/iopopen.c: Likewise.
6628 * libio/obprintf.c: Likewise.
6629 * libio/oldfileops.c: Likewise.
6630 * libio/oldiofclose.c: Likewise.
6631 * libio/oldiofdopen.c: Likewise.
6632 * libio/oldiofopen.c: Likewise.
6633 * libio/oldiopopen.c: Likewise.
6634 * libio/wfiledoalloc.c: Likewise.
6635 * libio/wgenops.c: Likewise.
6636 * locale/programs/xmalloc.c: Likewise.
6637 * misc/syslog.c: Likewise.
6638 * stdio-common/xbug.c: Likewise.
6639 * string/memchr.c: Likewise.
6640 * string/memcmp.c: Likewise.
6641 * string/memrchr.c: Likewise.
6642 * string/rawmemchr.c: Likewise.
6643 * sysdeps/posix/getcwd.c: Likewise.
6644 * time/strftime_l.c: Likewise.
6645
3b100462
JM
66462012-01-30 Joseph Myers <joseph@codesourcery.com>
6647
6648 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
6649 * config.make.in (config-cflags-sse2avx): Define.
6650 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6651 Fix typo.
6652
607998af
CM
66532012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6654
6655 * scripts/config.guess: Update from upstream config git repository.
6656 * scripts/config.sub: Likewise.
6657
3601428f
CM
66582012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6659
3ac8b282
CM
6660 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6661 (EM_NUM): Update.
6662 (R_TILEPRO_*, R_TILEGX_*): New macros.
6663
e034841e
CM
6664 * scripts/firstversions.awk: Fix bug in version range handling.
6665
540d7568
CM
6666 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6667
3601428f
CM
6668 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6669
463de862
CM
6670 * include/sys/epoll.h: New file.
6671 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6672 libc_hidden_def.
6673
73139a76
UD
66742012-01-28 Ulrich Drepper <drepper@gmail.com>
6675
96bc5b45
UD
6676 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6677 Avoid unnecessary __WORDSIZE == 64 test.
6678 (fmaxf): Use VEX format if possible.
6679 (fmax): Likewise.
6680 (fminf): Likewise.
6681 (fmin): Likewise.
6682
56f6f6a2
UD
6683 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6684 * math/math_private.h: Remove libc_fegetround* and
6685 libc_fesetround*.
6686 * sysdeps/i386/configure.in: Check for -msse2avx.
6687 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6688 also if SSE2AVX is defined.
6689 Remove libc_fegetround* and libc_fesetround*.
6690 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6691 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6692 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6693 of HAS_YMM_USABLE.
6694 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6695 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6696 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6697 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6698 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6699
73139a76
UD
6700 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6701
d73f93a4
AZ
67022012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6703
6704 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6705 size is not set.
6706 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6707
6ee65ed6
UD
67082012-01-27 Ulrich Drepper <drepper@gmail.com>
6709
6710 [BZ #13618]
6711 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6712 relocation.
6713 * Makeconfig (libm): Define.
6714 * elf/Makefile: Add rules to build and run tst-relsort1.
6715 * elf/tst-relsort1.c: New file.
6716 * elf/tst-relsort1mod1.c: New file.
6717 * elf/tst-relsort1mod2.c: New file.
6718
8db21882
JM
67192012-01-27 Joseph Myers <joseph@codesourcery.com>
6720
6721 * math/s_ldexp.c: Remove __STDC__ conditionals.
6722 * math/s_ldexpf.c: Likewise.
6723 * math/s_ldexpl.c: Likewise.
6724 * math/s_nextafter.c: Likewise.
6725 * math/s_nexttowardf.c: Likewise.
6726 * math/s_significand.c: Likewise.
6727 * math/s_significandf.c: Likewise.
6728 * math/s_significandl.c: Likewise.
6729 * math/w_jnl.c: Likewise.
6730 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6731 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6732 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6733 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6734 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6735 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6736 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6737 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6738 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6739 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6740 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6741 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6742 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6743 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6744 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6745 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6746 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6747 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6748 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6749 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6750 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6751 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6758 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6759 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6760 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6761 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6762 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6763 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6764 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6765 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6766 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6767 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6768 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6769 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6770 * sysdeps/ieee754/k_standard.c: Likewise.
6771 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6772 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6773 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6774 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6775 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6776 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6777 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6778 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6779 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6780 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6781 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6782 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6783 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6784 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6785 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6786 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6787 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6788 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6789 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6790 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6791 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6792 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6793 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6794 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6795 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6796 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6797 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6798 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6800 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6801 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6802 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6803 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6804 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6805 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6806 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6807 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6809 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6810 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6811 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6812 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6813 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6814 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6815 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6816 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6817 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6818 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6819 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6820 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6821 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6822 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6823 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6824 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6825 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6826 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6827 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6828 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6829 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6830 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6831 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6832 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6833 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6834 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6835 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6836 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6837 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6838 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6842 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6846 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6847 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6850 * sysdeps/ieee754/s_matherr.c: Likewise.
6851 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6852 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6853 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6855
965a54a4
JM
68562012-01-26 Joseph Myers <joseph@codesourcery.com>
6857
6858 * crypt/md5.h: Remove __STDC__ conditionals.
6859 * libio/libioP.h: Likewise.
6860 * locale/programs/config.h: Likewise.
6861 * sysdeps/generic/sysdep.h: Likewise.
6862 * sysdeps/i386/asm-syntax.h: Likewise.
6863 * sysdeps/s390/asm-syntax.h: Likewise.
6864 * sysdeps/unix/sysdep.h: Likewise.
6865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6867
7071ad79
JM
68682012-01-26 Joseph Myers <joseph@codesourcery.com>
6869
6870 * libio/libio.h: Remove __STDC__ conditionals.
6871 * malloc/obstack.h: Likewise.
6872 * math/complex.h: Likewise.
6873 * math/math.h: Likewise.
6874 * sysdeps/generic/_G_config.h: Likewise.
6875 * sysdeps/gnu/_G_config.h: Likewise.
6876 * sysdeps/mach/hurd/_G_config.h: Likewise.
6877 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6878 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6879 * sysdeps/sparc/bits/mathdef.h: Likewise.
6880
afc5ed09
UD
68812012-01-26 Ulrich Drepper <drepper@gmail.com>
6882
6883 [BZ #13583]
6884 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 6885 Clean up HAS_* macros.
afc5ed09 6886 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
6887 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6888 possible.
6889 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6890 HAS_AVX.
6891 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6892 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6893 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6894 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6895 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 6896
bdb6de1d
JM
68972012-01-25 Joseph Myers <joseph@codesourcery.com>
6898
6899 * elf/tst-unique3.cc (gets): Remove declaration.
6900 * elf/tst-unique3lib.cc (gets): Likewise.
6901 * elf/tst-unique3lib2.cc (gets): Likewise.
6902 * elf/tst-unique4.cc (gets): Likewise.
6903
b15549e6
UD
69042012-01-24 Ulrich Drepper <drepper@gmail.com>
6905
6906 * include/stdio.h: Add C++ protection. Add gets declarations and
6907 definitions.
6908 * debug/tst-chk1.c: Don't declare gets here.
6909 * stdio-common/tst-gets.c: Likewise.
6910
a037381f
JM
69112012-01-24 Joseph Myers <joseph@codesourcery.com>
6912
6913 * posix/glob: Remove directory.
6914
f1d4aa75
JM
69152012-01-24 Joseph Myers <joseph@codesourcery.com>
6916
6917 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6918
81c0c964
PT
69192012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6920
6921 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6922 of the non-standard EPFNOSUPPORT.
6923
0ea698ae
ST
69242011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6925
6926 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6927 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6928 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6929
d220b117
UD
69302012-01-21 Ulrich Drepper <drepper@gmail.com>
6931
6932 * wcsmbs/uchar.h: Test __STDC_VERSION__.
6933
3e1aa84e
UD
69342012-01-20 Ulrich Drepper <drepper@gmail.com>
6935
6936 * nscd/aicache.c (addhstaiX): Do not cache negative results of
6937 transient errors.
6938 * nscd/grpcache.c (cache_addgr): Likewise.
6939 * nscd/hstcache.c (cache_addhst): Likewise.
6940 * nscd/initgrcache.c (addinitgroupsX): Likewise.
6941 * nscd/pwdcache.c (cache_addpw): Likewise.
6942 * nscd/servicescache.c (cache_addserv): Likewise.
6943
400aa020
UD
69442012-01-16 Ulrich Drepper <drepper@gmail.com>
6945
d77e7869
UD
6946 * malloc/malloc.c: Various cleanups.
6947 * malloc/hooks.c: Likewise.
6948
400aa020
UD
6949 * stdlib/Makefile (tests): Add bug-fmtmsg1.
6950 * stdlib/bug-fmtmsg1.c: New file.
6951
6952 * stdlib/fmtmsg.c (init): Add missing unlock.
6953 Patch by Peng Haitao <penght@cn.fujitsu.com>.
6954
e0a309cf
MP
69552012-01-12 Marek Polacek <polacek@redhat.com>
6956
6957 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
6958 and _GNU_SOURCE.
6959
929d11c7
WS
69602012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
6961
6962 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
6963 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
6964 macro to ensure uniqueness of label name.
6965 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
6966 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
6967
41d0e869
UD
69682012-01-11 Ulrich Drepper <drepper@gmail.com>
6969
0cc5ed3b
UD
6970 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
6971
41d0e869
UD
6972 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
6973 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
6974 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6975 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
6976
a47a831a
UD
69772012-01-10 Ulrich Drepper <drepper@gmail.com>
6978
daa891c0
UD
6979 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
6980
6981 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
6982 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
6983 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
6984
e58ef0f2
UD
6985 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
6986
a47a831a 6987 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
6988 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
6989 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 6990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
6991
6992 * math/bits/math-finite.h: Add ldexp support.
6993
a0bfc9c7
MP
69942012-01-10 Marek Polacek <polacek@redhat.com>
6995
6996 * locale/programs/localedef.h (show_archive_content): Add noreturn
6997 attribute.
6998
d6e97a1d
UD
69992012-01-09 Ulrich Drepper <drepper@gmail.com>
7000
7001 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7002
d5835c26
UD
70032012-01-08 Ulrich Drepper <drepper@gmail.com>
7004
e5f484c6
UD
7005 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7006
d5835c26
UD
7007 * io/Makefile (headers): Add bits/poll2.h.
7008
d1f741e9
WS
70092011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7010
7011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7012 typo #include statement.
7013
ec09c1c4
UD
70142012-01-08 Ulrich Drepper <drepper@gmail.com>
7015
7016 * include/sys/cdefs.h: Define __attribute_alloc_size.
7017 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7018 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7019 * elf/pldd.c: Likewise.
7020 * iconv/iconv_charmap.c: Likewise.
7021 * iconv/iconvconfig.c: Likewise.
7022 * iconv/strtab.c: Likewise.
7023 * locale/programs/locale.c: Likewise.
7024 * locale/programs/localedef.h: Likewise.
7025 * locale/programs/simple-hash.c: Likewise.
7026 * nscd/nscd.h: Likewise.
7027 * nss/makedb.c: Likewise.
7028 * sysdeps/generic/ldconfig.h: Likewise.
7029 * locale/programs/localedef.c: Remove xmalloc prototype.
7030 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7031
20b38e03
PP
70322012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7033
7034 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7035 appropriate.
7036
a0da5fe1
UD
70372012-01-08 Ulrich Drepper <drepper@gmail.com>
7038
1d5a644a 7039 * math/Makefile (tests): Add tst-CMPLX.
669704fd 7040 * math/tst-CMPLX.c: New file.
1d5a644a 7041
8784a6db
UD
7042 * math/complex.h (CMPLXL): Fix typo.
7043
d9a216c0
UD
7044 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7045 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7046 GLIBC_2.16.
7047 * debug/tst-chk1.c: Add poll and ppoll tests.
7048 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7049 * include/sys/poll.h: Add hidden proto for ppoll.
7050 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7051 * sysdeps/mach/hurd/ppoll.c: Likewise.
7052 * io/ppoll.c: Likewise.
7053 * debug/poll_chk.c: New file.
7054 * debug/ppoll_chk.c: New file.
7055 * include/bits/poll2.h: New file.
7056 * io/bits/poll2.h: New file.
7057
ac097f5c
UD
7058 [BZ #1350]
7059 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7060
2119dcfa
UD
7061 * configure.in: static is always set to yes. Remove.
7062 * config.make.in: Don't set build-static.
7063 * Makeconfig: Remove use of build-static.
7064 * dlfcn/Makefile: Likewise.
7065 * elf/Makefile: Likewise.
7066 * math/Makefile: Likewise.
7067 * misc/Makefile: Likewise.
7068 * nptl/Makefile: Likewise.
7069 * sysdeps/mach/hurd/Makefile: Likewise.
7070
121766a9
UD
7071 * configure.in: PWD_P is not used anymore.
7072 * config.make.in: Remove PWD_P entry.
7073
51a1d39c 7074 * configure.in: Remove last remnants of RANLIB.
8720d066 7075 No need to check for signed size_t anymore.
215f4bdc
UD
7076 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7077 and IA-64.
3857022a 7078 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
7079 * aclocal.m4: Likewise.
7080
d3ed7225
UD
7081 * wcsmbs/mbrtoc16.c: Implement using towc function.
7082 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7083 * wcsmbs/wcsmbsload.c: Likewise.
7084 * iconv/gconv_simple.c: Likewise.
7085 * iconv/gconv_int.h: Likewise.
7086 * iconv/gconv_builtin.h: Likewise.
7087 * iconv/iconv_prog.c: Remove CHAR16 handling.
7088
7089 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7090
7091 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7092
a0da5fe1
UD
7093 * configure.in: Remove --with-elf and --enable-bounded options.
7094 Dont set base_machine for ia64. More non-ELF conditions removed.
7095 Remove testing and setting of leading underscore information.
7096 * config.make.in (build-bounded): Set to no.
7097 * config.h.in: Remove NO_UNDERSCORES entry.
7098 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7099 them.
7100 * csu/start.c: Remove !NO_UNDERSCORE code.
7101 * locale/localeinfo.h: Likewise.
7102 * sysdeps/generic/machine-gmon.h: Likewise.
7103 * sysdeps/generic/sysdep.h: Likewise.
7104 * sysdeps/i386/sysdep.h: Likewise.
7105 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7106 * sysdeps/mach/sysdep.h: Likewise.
7107 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7108 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7109 * sysdeps/sh/sysdep.h: Likewise.
7110 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7111 * sysdeps/unix/i386/sysdep.S: Likewise.
7112 * sysdeps/unix/sparc/start.c: Likewise.
7113 * sysdeps/unix/sparc/sysdep.S: Likewise.
7114 * sysdeps/unix/sparc/sysdep.h: Likewise.
7115 * sysdeps/unix/start.c: Likewise.
7116 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7117 * sysdeps/x86_64/sysdep.h: Likewise.
7118
df78418a
UD
71192012-01-07 Ulrich Drepper <drepper@gmail.com>
7120
a784e502
UD
7121 [BZ #13553]
7122 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7123 for non-gcc.
7124 * argp/argp-fmtstream.h: Use const instead __const.
7125 * argp/argp.h: Likewise.
7126 * assert/assert.h: Likewise.
7127 * bits/fenv.h: Likewise.
7128 * bits/sched.h: Likewise.
7129 * bits/sigset.h: Likewise.
7130 * bits/sigthread.h: Likewise.
7131 * catgets/nl_types.h: Likewise.
7132 * conform/data/pthread.h-data: Likewise.
7133 * crypt/crypt-private.h: Likewise.
7134 * crypt/crypt.h: Likewise.
7135 * crypt/crypt_util.c: Likewise.
7136 * ctype/ctype.h: Likewise.
7137 * debug/execinfo.h: Likewise.
7138 * debug/mbsnrtowcs_chk.c: Likewise.
7139 * debug/mbsrtowcs_chk.c: Likewise.
7140 * debug/wcsnrtombs_chk.c: Likewise.
7141 * debug/wcsrtombs_chk.c: Likewise.
7142 * debug/wcstombs_chk.c: Likewise.
7143 * dirent/dirent.h: Likewise.
7144 * dlfcn/dlfcn.h: Likewise.
7145 * elf/neededtest4.c: Likewise.
7146 * grp/grp.h: Likewise.
7147 * gshadow/gshadow.h: Likewise.
7148 * iconv/gconv.h: Likewise.
7149 * iconv/gconv_int.h: Likewise.
7150 * iconv/gconv_simple.c: Likewise.
7151 * iconv/iconv.h: Likewise.
7152 * iconv/loop.c: Likewise.
7153 * iconv/skeleton.c: Likewise.
7154 * include/aio.h: Likewise.
7155 * include/aliases.h: Likewise.
7156 * include/argz.h: Likewise.
7157 * include/arpa/inet.h: Likewise.
7158 * include/assert.h: Likewise.
7159 * include/dirent.h: Likewise.
7160 * include/dlfcn.h: Likewise.
7161 * include/execinfo.h: Likewise.
7162 * include/fcntl.h: Likewise.
7163 * include/fenv.h: Likewise.
7164 * include/glob.h: Likewise.
7165 * include/grp.h: Likewise.
7166 * include/libintl.h: Likewise.
7167 * include/mntent.h: Likewise.
7168 * include/netdb.h: Likewise.
7169 * include/pwd.h: Likewise.
7170 * include/rpc/netdb.h: Likewise.
7171 * include/sched.h: Likewise.
7172 * include/search.h: Likewise.
7173 * include/shadow.h: Likewise.
7174 * include/signal.h: Likewise.
7175 * include/stdio.h: Likewise.
7176 * include/stdlib.h: Likewise.
7177 * include/string.h: Likewise.
7178 * include/sys/socket.h: Likewise.
7179 * include/sys/stat.h: Likewise.
7180 * include/sys/statfs.h: Likewise.
7181 * include/sys/statvfs.h: Likewise.
7182 * include/sys/syslog.h: Likewise.
7183 * include/sys/time.h: Likewise.
7184 * include/sys/uio.h: Likewise.
7185 * include/time.h: Likewise.
7186 * include/unistd.h: Likewise.
7187 * include/utmp.h: Likewise.
7188 * include/wchar.h: Likewise.
7189 * include/wctype.h: Likewise.
7190 * inet/aliases.h: Likewise.
7191 * inet/arpa/inet.h: Likewise.
7192 * inet/netinet/ether.h: Likewise.
7193 * inet/netinet/in.h: Likewise.
7194 * intl/libintl.h: Likewise.
7195 * io/bits/fcntl2.h: Likewise.
7196 * io/fcntl.h: Likewise.
7197 * io/ftw.h: Likewise.
7198 * io/sys/poll.h: Likewise.
7199 * io/sys/stat.h: Likewise.
7200 * io/sys/statfs.h: Likewise.
7201 * io/sys/statvfs.h: Likewise.
7202 * io/utime.h: Likewise.
7203 * libio/bits/stdio.h: Likewise.
7204 * libio/bits/stdio2.h: Likewise.
7205 * libio/libio.h: Likewise.
7206 * libio/libioP.h: Likewise.
7207 * libio/stdio.h: Likewise.
7208 * locale/lc-ctype.c: Likewise.
7209 * locale/locale.h: Likewise.
7210 * login/utmp.h: Likewise.
7211 * malloc/arena.c: Likewise.
7212 * malloc/malloc.c: Likewise.
7213 * malloc/malloc.h: Likewise.
7214 * malloc/mcheck.c: Likewise.
7215 * malloc/mtrace.c: Likewise.
7216 * math/bits/mathcalls.h: Likewise.
7217 * math/fenv.h: Likewise.
7218 * math/math_private.h: Likewise.
7219 * misc/bits/error.h: Likewise.
7220 * misc/bits/syslog.h: Likewise.
7221 * misc/err.h: Likewise.
7222 * misc/error.h: Likewise.
7223 * misc/fstab.h: Likewise.
7224 * misc/mntent.h: Likewise.
7225 * misc/regexp.h: Likewise.
7226 * misc/search.h: Likewise.
7227 * misc/sgtty.h: Likewise.
7228 * misc/sys/mman.h: Likewise.
7229 * misc/sys/syslog.h: Likewise.
7230 * misc/sys/uio.h: Likewise.
7231 * misc/sys/xattr.h: Likewise.
7232 * misc/ttyent.h: Likewise.
7233 * nis/rpcsvc/ypclnt.h: Likewise.
7234 * nss/nss.h: Likewise.
7235 * posix/bits/unistd.h: Likewise.
7236 * posix/fnmatch.h: Likewise.
7237 * posix/glob.h: Likewise.
7238 * posix/sched.h: Likewise.
7239 * posix/spawn.h: Likewise.
7240 * posix/sys/wait.h: Likewise.
7241 * posix/unistd.h: Likewise.
7242 * posix/wordexp.h: Likewise.
7243 * pwd/pwd.h: Likewise.
7244 * resolv/netdb.h: Likewise.
7245 * resource/sys/resource.h: Likewise.
7246 * rt/aio.h: Likewise.
7247 * rt/bits/mqueue2.h: Likewise.
7248 * rt/mqueue.h: Likewise.
7249 * shadow/shadow.h: Likewise.
7250 * signal/signal.h: Likewise.
7251 * socket/send.c: Likewise.
7252 * socket/sendto.c: Likewise.
7253 * socket/sys/socket.h: Likewise.
7254 * stdio-common/printf.h: Likewise.
7255 * stdlib/bits/stdlib.h: Likewise.
7256 * stdlib/fmtmsg.h: Likewise.
7257 * stdlib/monetary.h: Likewise.
7258 * stdlib/stdlib.h: Likewise.
7259 * stdlib/ucontext.h: Likewise.
7260 * streams/stropts.h: Likewise.
7261 * string/argz.h: Likewise.
7262 * string/bits/string2.h: Likewise.
7263 * string/string.h: Likewise.
7264 * string/strings.h: Likewise.
7265 * sunrpc/rpc/auth.h: Likewise.
7266 * sunrpc/rpc/auth_des.h: Likewise.
7267 * sunrpc/rpc/clnt.h: Likewise.
7268 * sunrpc/rpc/netdb.h: Likewise.
7269 * sunrpc/rpc/pmap_clnt.h: Likewise.
7270 * sunrpc/rpc/xdr.h: Likewise.
7271 * sysdeps/generic/inttypes.h: Likewise.
7272 * sysdeps/generic/net/if.h: Likewise.
7273 * sysdeps/generic/sys/swap.h: Likewise.
7274 * sysdeps/gnu/net/if.h: Likewise.
7275 * sysdeps/gnu/utmpx.h: Likewise.
7276 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7277 * sysdeps/i386/i486/bits/string.h: Likewise.
7278 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7279 * sysdeps/s390/bits/string.h: Likewise.
7280 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7281 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7282 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7283 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7284 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7285 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7286 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7287 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7288 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7289 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7290 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7291 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7292 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7293 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7294 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7299 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7300 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7301 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7302 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7303 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7304 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7305 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7306 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7307 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7308 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7309 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7310 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7311 * sysvipc/sys/ipc.h: Likewise.
7312 * sysvipc/sys/msg.h: Likewise.
7313 * sysvipc/sys/sem.h: Likewise.
7314 * sysvipc/sys/shm.h: Likewise.
7315 * termios/termios.h: Likewise.
7316 * time/sys/time.h: Likewise.
7317 * time/time.h: Likewise.
7318 * wcsmbs/bits/wchar2.h: Likewise.
7319 * wcsmbs/uchar.h: Likewise.
7320 * wcsmbs/wchar.h: Likewise.
7321 * wctype/wctype.h: Likewise.
7322
0269750c
UD
7323 [BZ #13551]
7324 * Makeconfig: Remove all but ELF support including AIX support.
7325 * Makerules: Likewise.
7326 * config.h.in: Likewise.
7327 * config.make.in: Likewise.
7328 * configure: Likewise.
7329 * configure.in: Likewise.
7330 * csu/Makefile: Likewise.
7331 * csu/version.c: Likewise.
7332 * debug/Makefile: Likewise.
7333 * dlfcn/Makefile: Likewise.
7334 * elf/Makefile: Likewise.
7335 * extra-lib.mk: Likewise.
7336 * iconv/Makefile: Likewise.
7337 * include/libc-symbols.h: Likewise.
7338 * include/shlib-compat.h: Likewise.
7339 * resolv/Makefile: Likewise.
7340 * resolv/res_libc.c: Likewise.
7341 * rt/Makefile: Likewise.
7342 * sysdeps/i386/asm-syntax.h: Likewise.
7343 * sysdeps/i386/sysdep.h: Likewise.
7344 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7345 * sysdeps/mach/sysdep.h: Likewise.
7346 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7347 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7348 * sysdeps/s390/asm-syntax.h: Likewise.
7349 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7350 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7351 * sysdeps/sh/sysdep.h: Likewise.
7352 * sysdeps/unix/sparc/sysdep.h: Likewise.
7353 * sysdeps/wordsize-32/divdi3.c: Likewise.
7354 * sysdeps/x86_64/sysdep.h: Likewise.
7355
00bbd29b
UD
7356 * argp/Versions: Remove _argp_unlock_xxx.
7357
7358 [BZ #13559]
7359 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7360 * abilist/libBrokenLocale.abilist: Likewise.
7361 * abilist/libanl.abilist: Likewise.
7362 * abilist/libc.abilist: Likewise.
7363 * abilist/libcrypt.abilist: Likewise.
7364 * abilist/libdl.abilist: Likewise.
7365 * abilist/libm.abilist: Likewise.
7366 * abilist/libnsl.abilist: Likewise.
7367 * abilist/libpthread.abilist: Likewise.
7368 * abilist/libresolv.abilist: Likewise.
7369 * abilist/librt.abilist: Likewise.
7370 * abilist/libthread_db.abilist: Likewise.
7371 * abilist/libutil.abilist: Likewise.
7372 * abilist/libnss_db.abilist: New file.
7373
7374 * scripts/abilist.awk: Add support for indirect functions.
7375
a2693a0e
UD
7376 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7377
3f05895f
UD
7378 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7379
ecb6fb48
UD
7380 * shlib-versions: Remove entries for ports architectures.
7381
664f8cb9
UD
7382 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7383 files in ports.
7384 * elf/stackguard-macros.h: Remove support for IA-64.
7385 * elf/tst-auditmod1.c: Likewise.
7386 * sysdeps/generic/ldsodefs.h: Likewise.
7387
7ae81d88
UD
7388 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7389 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7390 configure files.
7391
bdeba135
UD
7392 [BZ #13552]
7393 * configure.in: Remove --enable-omitfp support.
7394 * FAQ.in: Adjust.
7395 * config.make.in: Likewise.
7396 * Makeconfig: Likewise.
7397 * manual/install.texi: Likewise.
7398
d75a0a62
UD
7399 In case anyone cares, the IA-64 architecture could move to ports.
7400 * sysdeps/ia64/*: Removed.
7401 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 7402 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 7403
dcc9756b
UD
7404 [BZ #13555]
7405 * configure.in: Remove entries for unsupported architectures.
7406
d3761ebc 7407 [BZ #13533]
9954432e
UD
7408 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7409 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7410 routines.
7411 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7412 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7413 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7414 fall back to using wcrtomb.
7415 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7416 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7417 renaming.
7418 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7419 * wcsmbs/tst-c16c32-1.c: New file.
7420
7421 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7422 local variable.
7423
c3a87236
UD
7424 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7425
28926a1b
UD
7426 * elf/tst-unique3.cc: Add explicit declaration of gets.
7427 * elf/tst-unique3lib.cc: Likewise.
7428 * elf/tst-unique3lib2.cc: Likewise.
7429 * elf/tst-unique4.cc: Likewise.
7430
df78418a
UD
7431 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7432
8ecd6b2a
JM
74332012-01-06 Joseph Myers <joseph@codesourcery.com>
7434
7435 [BZ #13566]
7436 * assert/assert.h (static_assert): Don't define for C++.
7437 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7438 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7439
9f115170
UD
74402012-01-03 Ulrich Drepper <drepper@gmail.com>
7441
5e0d0300
UD
7442 * iconv/loop.c (single loop): Fix assertion in storing of
7443 remaining bytes.
7444
9f115170
UD
7445 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7446
81fb02b0
UD
74472012-01-01 Ulrich Drepper <drepper@gmail.com>
7448
7449 * posix/getconf.c: Update copyright year.
7450 * nss/getent.c: Likewise.
a316c1f6 7451 * nss/makedb.c: Likewise.
81fb02b0
UD
7452 * iconv/iconvconfig.c: Likewise.
7453 * iconv/iconv_prog.c: Likewise.
7454 * elf/ldconfig.c: Likewise.
a316c1f6
UD
7455 * elf/pldd.c: Likewise.
7456 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
7457 * catgets/gencat.c: Likewise.
7458 * csu/version.c: Likewise.
7459 * elf/ldd.bash.in: Likewise.
7460 * elf/sprof.c (print_version): Likewise.
7461 * locale/programs/locale.c: Likewise.
7462 * locale/programs/localedef.c: Likewise.
a316c1f6 7463 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
7464 * nscd/nscd.c (print_version): Likewise.
7465 * debug/xtrace.sh: Likewise.
7466 * malloc/memusage.sh: Likewise.
7467 * malloc/mtrace.pl: Likewise.
7468 * debug/catchsegv.sh: Likewise.
7469
2ba92745
JJ
74702011-12-30 Jakub Jelinek <jakub@redhat.com>
7471
7472 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7473 pure attribute.
7474
dadebdae
UD
74752011-12-24 Ulrich Drepper <drepper@gmail.com>
7476
d3761ebc 7477 [BZ #13533]
db6af3eb
UD
7478 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7479 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7480 transformations.
7481 * iconv/gconv_int.h: Likewise.
7482 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7483 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7484 from libc for GLIBC_2.16.
7485 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7486 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7487 * wcsmbs/uchar.h: Really define mbstate_t.
7488 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7489 * wcsmbs/c16rtomb.c: New file.
7490 * wcsmbs/mbrtoc16.c: New file.
7491 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7492 for C/POSIX locale.
7493 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7494 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7495
dadebdae
UD
7496 * wcsmbs/wchar.h: Add missing __restrict.
7497
67371b56
UD
74982011-12-23 Ulrich Drepper <drepper@gmail.com>
7499
74033a25
UD
7500 [BZ #13532]
7501 * time/Makefile (routines): Add timespec_get.
7502 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7503 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7504 timespec for ISO C11.
7505 * time/timespec_get.c: New file.
7506 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7507 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7508
380d7e87
UD
7509 [BZ #13531]
7510 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7511 * stdlib/stdlib.h: Declare aligned_alloc.
7512 * Versions.def: Add GLIBC_2.16 for libc.
7513 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7514
4e9e7a35
UD
7515 [BZ 13527]
7516 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7517 ISO C11.
7518
380d7e87 7519 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
7520 code.
7521
03a71829
UD
7522 [BZ #13528]
7523 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7524
839e283e
UD
7525 [BZ #13529]
7526 * assert/assert.h (static_assert): Define.
7527
ce5294e2 7528 * version.h: Update for 2.16 development version.
90fa7312 7529
8d44e150 7530 [BZ #13526]
d7809905
UD
7531 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7532 _ISOC11_SOURCE.
7533
c0da14cd
UD
7534 * version.h (RELEASE): Bump for 2.15 release.
7535 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7536
530a3249
MP
7537 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7538 Patch by Marek Polacek <mpolacek@redhat.com>.
7539
67371b56
UD
7540 * bits/byteswap.h: Protect long long constants with __extension__.
7541 * sysdeps/i386/bits/byteswap.h: Likewise.
7542 * sysdeps/ia64/bits/byteswap.h: Likewise.
7543 * sysdeps/s390/bits/byteswap.h: Likewise.
7544 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7545
15db4de1
LD
75462011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7547
7548 [BZ #13540]
bbe315ea
LD
7549 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7550 destination buffer.
15db4de1
LD
7551 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7552
2b2596b1
MP
75532011-12-23 Marek Polacek <polacek@redhat.com>
7554
7555 * elf/dl-addr.c (determine_info): Add inline keyword.
7556 * elf/tst-auditmod4b.c (check_avx): Likewise.
7557 * elf/tst-auditmod6b.c (check_avx): Likewise.
7558 * elf/tst-auditmod6c.c (check_avx): Likewise.
7559 * elf/tst-auditmod7b.c (check_avx): Likewise.
7560
70c6c246
UD
75612011-12-23 Ulrich Drepper <drepper@gmail.com>
7562
7563 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7564 !__SSE_MATH__.
7565
c044cf14
LD
75662011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7567
15db4de1 7568 [BZ #13540]
c044cf14
LD
7569 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7570 processing for last bytes.
7571
6b13d9d9
BH
75722011-08-06 Bruno Haible <bruno@clisp.org>
7573
d455f537
BH
7574 [BZ #13061]
7575 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7576 U+0385, not to U+1FEE.
7577
6b13d9d9
BH
7578 [BZ #13062]
7579 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7580 entry for U+00A5 U+0301.
7581
db910efd
UD
75822011-12-22 Ulrich Drepper <drepper@gmail.com>
7583
27deeafc
UD
7584 [BZ #13166]
7585 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7586 buffer for the output is too small.
7587
aed9d171
UD
7588 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7589 optimization.
7590
db910efd
UD
7591 [BZ #13185]
7592 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7593 SSE flags if possible.
7594
2bd779ae
LD
75952011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7596
e7f9dac3 7597 [BZ #13540]
2bd779ae
LD
7598 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7599 processing for last bytes.
7600
154bfc16
JM
76012011-12-22 Joseph Myers <joseph@codesourcery.com>
7602
7603 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7604 (syscall-list-default-options, syscall-list-default-condition)
7605 (syscall-list-includes): Define.
7606 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7607 list of ABIs and options and #if conditions for each ABI. Do not
7608 handle common syscalls between ABIs specially.
7609 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7610 Remove.
7611 (syscall-list-variants, syscall-list-32bit-options)
7612 (syscall-list-32bit-condition, syscall-list-64bit-options)
7613 (syscall-list-64bit-condition): Define.
7614 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7615 (syscall-list-variants, syscall-list-32bit-options)
7616 (syscall-list-32bit-condition, syscall-list-64bit-options)
7617 (syscall-list-64bit-condition): Define.
7618 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7619 Remove.
7620 (syscall-list-variants, syscall-list-32bit-options)
7621 (syscall-list-32bit-condition, syscall-list-64bit-options)
7622 (syscall-list-64bit-condition): Define.
7623 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7624 Remove.
7625 (syscall-list-variants, syscall-list-32bit-options)
7626 (syscall-list-32bit-condition, syscall-list-64bit-options)
7627 (syscall-list-64bit-condition): Define.
7628
21eaf3a5
UD
76292011-12-22 Ulrich Drepper <drepper@gmail.com>
7630
16c6f992
UD
7631 * locale/iso-639.def: Add brx entry.
7632
41043168
UD
7633 [BZ #13328]
7634 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7635 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7636
21eaf3a5
UD
7637 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7638 __feraiseexcept_renamed.
7639
e3a851a2
UD
76402011-12-21 Ulrich Drepper <drepper@gmail.com>
7641
4920765e
UD
7642 [BZ #13538]
7643 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7644 EPOLLET with unsigned values.
7645 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7646 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7647
e3a851a2
UD
7648 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7649 to large cancellation.
7650 * math/s_cacoshf.c: Likewise.
7651 * math/s_cacoshl.c: Likewise.
7652
b27e24b8
RK
76532011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7654
7655 [BZ #13305]
aebefeee 7656 [BZ #12786]
b27e24b8
RK
7657 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7658 * math/s_cacoshf.c: Likewise.
7659 * math/s_cacoshl.c: Likewise.
7660
ee190f67
UD
76612011-12-21 Ulrich Drepper <drepper@gmail.com>
7662
7663 [BZ #13439]
7664 * iconv/gconv.h: Define __GCONV_SWAP.
7665 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7666 * iconvdata/utf-16.c: Likewise.
7667 * iconvdata/utf-32.c: Likewise.
7668
707f25df
AS
76692011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7670
7671 [BZ #13524]
7672 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7673 numerator after shifting it by one limb.
7674
d2daaa1e
RÁE
76752011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7676
7677 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7678 under [__USE_EXTERN_INLINES].
7679
a4647e72
UD
76802011-12-17 Ulrich Drepper <drepper@gmail.com>
7681
7682 [BZ #13446]
7683 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7684
f0b264f1
AZ
76852011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7686
7687 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7688 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7689 optimized code.
7690 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7691 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7692 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7693 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7694 for strncasecmp/strncasecmp_l compilation.
7695 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7696 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7697
8ef4f244
MP
76982011-12-08 Marek Polacek <mpolacek@redhat.com>
7699
7700 [BZ #13484]
7701 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7702 of __asm__.
7703
97ac2654
UD
77042011-12-17 Ulrich Drepper <drepper@gmail.com>
7705
7706 [BZ #13506]
7707 * time/tzfile.c (__tzfile_read): Check values from file header.
7708
91d2a845
WS
77092011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7710
7711 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7712 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7713 * powerpc/powerpc32/dl-start.S: Likewise.
7714 * powerpc/powerpc32/elf/start.S: Likewise.
7715 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7716 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7717 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7718 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7719 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7720 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7721 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7722 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7723 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7724 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7725 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7726 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7727 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7728 * powerpc/powerpc32/memset.S: Likewise.
7729 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7730 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7731 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7732 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7733 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7734 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7735 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7736 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7737 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7738 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7739 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7740 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7741 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7742
a1267ba1
AZ
77432011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7744
7745 * math/libm-test.inc: Added more nearbyint tests.
7746 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7747 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7748 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7749 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7750
ad8ac1bd
RL
77512011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7752
7753 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7754 FD_CLOEXEC.
7755
1d3e4b61
UD
77562011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7757
7758 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7759 Add wcscpy-ssse3 wcscpy-c.
7760 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7761 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7762 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7763 * sysdeps/x86_64/wcschr.S: New file.
7764 * sysdeps/x86_64/wcsrchr.S: New file.
7765 * string/test-strcmp.c: Remove checking of wcscmp function for
7766 wrong alignments.
7767 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7768 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7769 wcsrchr-sse2 wcsrchr-c.
7770 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7771 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7772 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7773 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7774 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7775 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7776 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7777 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7778 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7779 * wcsmbc/wcschr.c (WCSCHR): New macro.
7780
5b330a2d
UD
77812011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7782
7783 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7784 * wcsmbs/test-wcsrchr.c: New file.
7785 * string/test-strrchr.c: Add wcsrchr support.
7786 (WIDE): New macro.
7787 * wcsmbs/test-wcscpy.c: New file.
7788 * string/test-strcpy.c: Add wcscpy support.
7789 (WIDE): New macro.
26428b7c 7790
f039c043
UD
77912011-12-10 Ulrich Drepper <drepper@gmail.com>
7792
7793 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7794 the inner loop.
7795
850fb039
AS
77962011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7797
7798 [BZ #13472]
7799 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7800
4efbd5cb
UD
78012011-12-04 Ulrich Drepper <drepper@gmail.com>
7802
52ff5dd0 7803 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 7804 Minor optimizations.
52ff5dd0 7805
4efbd5cb
UD
7806 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7807 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7808 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7809
8a426e12
UD
78102011-12-03 Ulrich Drepper <drepper@gmail.com>
7811
aff2453d
UD
7812 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7813 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7814 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7815 for gcc to avoid warnings.
7816 * inet/Makefile (tests): Add tst-checks.
7817 * inet/tst-checks.c: New file.
7818
7819 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7820 warning.
7821
7822 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7823 __wmemcmp_sse2.
7824
7825 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7826 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7827
8a426e12
UD
7828 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7829
9bea3473
UD
78302011-12-02 Ulrich Drepper <drepper@gmail.com>
7831
3a965496
UD
7832 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7833 problem.
7834
9bea3473
UD
7835 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7836
f101631b
UD
78372011-11-29 Joseph Myers <joseph@codesourcery.com>
7838
7839 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7840 conditional on GCC version.
7841 (__arch_compare_and_exchange_val_8_acq)
7842 (__arch_compare_and_exchange_val_16_acq)
7843 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7844 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7845 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7846
a98275aa
UD
78472011-12-02 Joseph Myers <joseph@codesourcery.com>
7848
7849 * sysdeps/sh/backtrace.c: New file.
7850
d4cc29a2
AS
78512011-12-02 Andreas Schwab <schwab@redhat.com>
7852
7853 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7854 parenthesis.
7855
6257af2d
AS
78562011-12-01 Andreas Schwab <schwab@redhat.com>
7857
7858 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7859 falling back to utime.
7860
b5f44c1a
AS
78612011-11-30 Andreas Schwab <schwab@redhat.com>
7862
7863 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7864 expectations for float.
7865
f3a6cc0a
AS
78662011-11-29 Andreas Schwab <schwab@redhat.com>
7867
7868 * locale/weight.h (findidx): Add parameter len.
7869 * locale/weightwc.h (findidx): Likewise.
7870 * posix/fnmatch_loop.c (FCT): Adjust caller.
7871 * posix/regcomp.c (build_equiv_class): Likewise.
7872 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7873 * posix/regexec.c (check_node_accept_bytes): Likewise.
7874 * string/strcoll_l.c (STRCOLL): Likewise.
7875 * string/strxfrm_l.c (STRXFRM): Likewise.
7876
9d65ea3a
UD
78772011-11-17 Ulrich Drepper <drepper@gmail.com>
7878
7879 * Makefile.in: Remove CVSOPT handling.
7880 * configure.in: Remove use of AC_REVISION.
7881 * iconvdata/Makefile (distribute): No need to filter out CVS.
7882 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7883 handling.
7884
5583a086
AS
78852011-11-16 Andreas Schwab <schwab@redhat.com>
7886
7887 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7888 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7889 [USE_AS_STRNCASECMP_L]: Likewise.
7890 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7891 NO_TLS_DIRECT_SEG_REFS.
7892 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7893 Fix argument offsets for non-PIC.
7894 [USE_AS_STRNCASECMP_L]: Likewise.
7895 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7896 NO_TLS_DIRECT_SEG_REFS.
7897
d62a8200
UD
78982011-11-15 Ulrich Drepper <drepper@gmail.com>
7899
9d65ea3a 7900 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
7901 O_CLOEXEC.
7902 * locale/loadlocale.c (_nl_load_locale): Likewise.
7903
09f93bd3
AS
79042011-11-15 Andreas Schwab <schwab@redhat.com>
7905
446514f9
AS
7906 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7907 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7908 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7909 (SYSCALL_GETTIME): Set errno on error.
7910
09f93bd3
AS
7911 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7912 count references to noai6ai_cached.
7913
312be3f9
UD
79142011-11-15 Ulrich Drepper <drepper@gmail.com>
7915
7916 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7917
7918 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7919 FD_CLOEXEC for /proc/self/maps.
7920
7921 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7922 FD_CLOEXEC for /proc/meminfo.
7923
7924 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7925 gai.conf.
7926
7927 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7928 FD_CLOEXEC for given file.
7929
7930 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7931
7932 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
7933 FD_CLOEXEC for /etc/hosts.
7934 (_gethtent): Likewise.
7935
7936 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
7937
7938 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
7939 cancellation and set FD_CLOEXEC for /etc/netgroup.
7940
7941 * nss/nss_files/files-key.c (search): Don't allow cancellation when
7942 reading /etc/publickey.
7943
7944 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
7945 allow cancellation when reading /etc/group.
7946
7947 * nss/nss_files/files-alias.c (internal_setent): Don't allow
7948 cancellation.
7949 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
7950
7951 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
7952 when using data file.
7953
7954 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
7955
7956 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
7957 (write_nis_obj): Use "c" and "e" in fopen.
7958
7959 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
7960
7961 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
7962
7963 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
7964
7965 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
7966
7967 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
7968 locale.alias.
7969
7970 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
7971
7972 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
7973
7974 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
7975
7976 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
7977 file parsing and set FD_CLOEXEC.
7978
82af0fa8
UD
79792011-11-14 Ulrich Drepper <drepper@gmail.com>
7980
7981 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
7982
a5fb313c
AS
79832011-11-14 Andreas Schwab <schwab@redhat.com>
7984
7985 * malloc/arena.c (arena_get2): Don't call reused_arena when
7986 _int_new_arena failed.
7987
6abf3465
UD
79882011-11-14 Ulrich Drepper <drepper@gmail.com>
7989
7990 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
7991 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
7992 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
7993 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7994 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
7995 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
7996 to compile strcasecmp and strncasecmp.
7997 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
7998 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
7999
8000 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8001
76e3966e
UD
80022011-11-13 Ulrich Drepper <drepper@gmail.com>
8003
8004 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8005 locale-defines.sym to gen-as-const-headers.
8006 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8007 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8008 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8009 to compile strcasecmp and strncasecmp.
8010 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8011 strcasecmp_l and strncasecmp_l.
8012 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8013 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8014 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8015 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8016 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8017 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8018 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8019 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8020 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8021 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8022 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8023
ab26144e
UD
80242011-11-12 Ulrich Drepper <drepper@gmail.com>
8025
7edb22ef
UD
8026 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8027 result of SYSDEP_GETTIME_CPU to retval.
8028 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8029 parameter list to macro. Remove trailing semicolon. Adjust users.
8030
9694fc44
UD
8031 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8032 variable.
8033
8ad89ef8
UD
8034 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8035 mantissa words.
8036 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8037
0c822ef9
UD
8038 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8039 from unused variable.
8040
874e0564
UD
8041 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8042 DWARF definitions.
8043 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8044 for assembling.
8045
3a2edc79
UD
8046 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8047 over namespaces.
8048
f3c2577f
UD
8049 * sunrpc/rpc_prot.c (rejected): Fix case value.
8050
294ce126
UD
8051 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8052 unsigned long long int to avoid warnings in shift.
8053
5e2b63c6
UD
8054 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8055 of use of trans.
8056 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8057 variable tmp.
8058
e7f4b08e
UD
8059 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8060 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8061 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8062
ab26144e
UD
8063 * nis/nis_table.c (nis_list): Use variable of correct type for
8064 result of __follow_path call.
8065
8a6d5255
AZ
80662011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8067
8068 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8069 of math functions ceil, trunc, floor, round, and sqrt, when
8070 avaliable on the platform.
8071 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8072 name clash.
8073 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8074 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8075 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8076
aaddc98c
MP
80772011-10-30 Marek Polacek <mpolacek@redhat.com>
8078
8079 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8080 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8081
95b7042b
RM
80822011-11-11 Roland McGrath <roland@hack.frob.com>
8083
8084 * include/unistd.h: Fix __readlink return type.
8085 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8086
57769839
UD
80872011-11-11 Ulrich Drepper <drepper@gmail.com>
8088
8089 * stdlib/ucontext.h: Undo last change for makecontext.
8090
edc5984d
AS
80912011-11-11 Andreas Schwab <schwab@redhat.com>
8092
98591e58
AS
8093 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8094
edc5984d
AS
8095 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8096 * setjmp/setjmp.h: Mark functions as non-leaf.
8097 * setjmp/bits/setjmp2.h: Likewise.
8098 * stdlib/ucontext.h: Likewise.
8099
77cdc054
AS
81002011-11-10 Andreas Schwab <schwab@redhat.com>
8101
8102 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8103 (reused_arena): Don't check arena limit.
8104 (arena_get2): Atomically check arena limit.
8105
fe72eebd
UD
81062011-11-08 Ulrich Drepper <drepper@gmail.com>
8107
5f078c32
UD
8108 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8109 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8110
fe72eebd
UD
8111 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8112 instructions.
8113
ae1bc2fa
AS
81142011-11-07 Andreas Schwab <schwab@redhat.com>
8115
7583a88d
AS
8116 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8117 handler when locking.
8118
ae1bc2fa
AS
8119 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8120 Fix size of allocated buffer.
8121
10fb0bfa
AS
81222011-11-04 Andreas Schwab <schwab@redhat.com>
8123
998832a4
AS
8124 [BZ #10103]
8125 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8126 declarations for long double functions.
8127 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8128
10fb0bfa
AS
8129 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8130
3d7ba52b
AS
81312011-11-03 Andreas Schwab <schwab@redhat.com>
8132
a9ae54a1
AS
8133 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8134 installed.
8135
3d7ba52b
AS
8136 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8137 is disabled.
8138
bc8db248
ST
81392011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8140
8141 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8142
45b96dd6
AS
81432011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8144
647776f6
AS
8145 * include/alloca.h (stackinfo_alloca_round): Define.
8146 (extend_alloca): Use it.
8147 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8148 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8149 here.
8150
d91a8b93
AS
8151 * scripts/check-local-headers.sh: Ignore libaudit.h.
8152
45b96dd6
AS
8153 * nscd/Makefile (extra-objs): Make recursively expanded.
8154
432d41ce
UD
81552011-11-01 Ulrich Drepper <drepper@gmail.com>
8156
34372fc6
UD
8157 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8158 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8159
fadb59f8
UD
8160 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8161 * posix/tst-rfc3484-2.c: Likewise.
8162 * posix/tst-rfc3484-3.c: Likewise.
8163
78239589
UD
8164 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8165 process_vm_writev.
8166 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8167 process_vm_writev.
8168 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8169 process_vm_writev from libc using GLIBC_2.15 version.
8170
432d41ce
UD
8171 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8172
02f9c6cf
PP
81732011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8174
8175 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8176 stack usage.
8177
3a2c0242
UD
81782011-10-31 Ulrich Drepper <drepper@gmail.com>
8179
f4ec4833
UD
8180 [BZ #13367]
8181 * nss/getent.c (initgroups_keys): Show error message in case no group
8182 names are given.
8183
3a2c0242
UD
8184 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8185 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8186 __bump_nl_timestamp.
8187 * nscd/connections (nscd_init): When host database is served open
8188 netlink socket and request notification about configuration changes.
8189 (main_loop_poll): Track netlink file descriptor and bump timestamp
8190 in case data becomes available.
8191 (main_loop_epoll): Likewise.
8192 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8193 (database_pers_head): Add extra_data fileds.
8194 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8195 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8196 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8197 Adjust caller.
8198 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8199 in6ai data, call __free_in6ai.
8200 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8201 Add -DHAVE_NETLINK.
8202 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8203 interface information. Reuse previous data if netlink timestamp
8204 is not changed.
8205 (__bump_nl_timestamp): New function.
8206 (__free_in6ai): New function.
8207
636064eb
UD
82082011-10-30 Ulrich Drepper <drepper@gmail.com>
8209
8210 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8211 close_not_cancel_no_status here.
8212 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8213
9beb2334
UD
82142011-10-29 Ulrich Drepper <drepper@gmail.com>
8215
6ef76f3b
UD
8216 [BZ #13276]
8217 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8218 return value.
8219
0ffc4f3e 8220 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
8221 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8222 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8223
cb95113e
UD
82242011-07-03 Andreas Jaeger <aj@suse.de>
8225
8226 [BZ #10709]
8227 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8228 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8229 * math/libm-test.inc (sin_test): Add test case.
8230
a1b560ff
UD
82312011-10-29 Ulrich Drepper <drepper@gmail.com>
8232
c9aaface
UD
8233 [BZ #13337]
8234 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8235 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8236
d272e7f1
UD
8237 * elf/chroot_canon.c (chroot_canon): Cleanups.
8238
1bc33071
UD
8239 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8240
1760874d
TJ
8241 [BZ #13335]
8242 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8243 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8244
51d91b18
UD
8245 * string/test-strchr.c: Make usable for strchrnul testing.
8246 * string/test-strchrnul.c: New file.
8247 * string/Makefile (strop-tests): Add strchrnul.
8248
a1b560ff 8249 * po/it.po: Update from translation team.
b611fb81 8250 * po/es.po: Likewise.
a1b560ff 8251
a5b81e1f
UD
82522011-10-28 Ulrich Drepper <drepper@gmail.com>
8253
fd52bc6d
UD
8254 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8255 the three constants needed as parameters. Drop the others.
8256 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8257 __m128i_strloadu_tolower.
52e4b9eb
UD
8258 Create and initialize variable zero and use it in all the places
8259 where _mm_setzero_si128 was used.
fd52bc6d 8260
a5b81e1f
UD
8261 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8262 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8263 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8264 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8265 anymore.
8266 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8267 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8268 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8269 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8271 __mpranred, __mptan.
8272 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8273 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8274 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8275 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8276 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8277 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8279 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8280 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8281
b4343346
AS
82822011-10-28 Andreas Schwab <schwab@redhat.com>
8283
0c92d8a8
AS
8284 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8285 redefine if SHARED.
8286 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8287
b4343346
AS
8288 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8289 wide char related routines to wcsmbs subdir.
8290
3871f58f
AS
82912011-10-27 Andreas Schwab <schwab@redhat.com>
8292
8293 [BZ #13344]
8294 * misc/sys/cdefs.h (__THROWNL): Define.
8295 * posix/unistd.h: Use __THREADNL instead of __THREAD
8296 for memory synchronization functions.
8297
94d44d9f
RM
82982011-10-26 Roland McGrath <roland@hack.frob.com>
8299
21b64b15 8300 [BZ #13349]
94d44d9f
RM
8301 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8302 doesn't exist.
8303 * manual/stdio.texi (Obstack Streams): Node removed.
8304
f6ce9294
AS
83052011-10-26 Andreas Schwab <schwab@redhat.com>
8306
80479147
AS
8307 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8309 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8310
f6ce9294
AS
8311 * math/math_private.h (math_force_eval): Allow non-addressable
8312 arguments.
8313 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8314
618280a1
UD
83152011-10-25 Ulrich Drepper <drepper@gmail.com>
8316
e0016b11
UD
8317 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8318 file is not needed.
8319
8320 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8321 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8322 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8323 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8324 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8325 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8326 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8327 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8328 Add AVX variants.
8329 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8330 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8331 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8332 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8333 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8334 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8335 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8336 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8337 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8338 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8339 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8340 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8341 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8342 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8343 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8344 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8345 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8346 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8347 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8348
8349 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8350 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8351
618280a1
UD
8352 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8353 place. Use VEX encoding when compiling for AVX.
8354
37822576
AS
83552011-10-25 Andreas Schwab <schwab@redhat.com>
8356
1f1e1947
AS
8357 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8358 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8359
37822576
AS
8360 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8361
31ea014d
UD
83622011-10-25 Ulrich Drepper <drepper@gmail.com>
8363
d7826aa1 8364 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 8365 useless if() expression.
d7826aa1
UD
8366 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8367 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8368 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8369 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8370 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8371 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8374 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8375 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8376 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8377 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8378 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8379 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8380 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8381 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8382 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8383 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8384 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8385
31ea014d
UD
8386 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8387
16437fec
AS
83882011-10-25 Andreas Schwab <schwab@redhat.com>
8389
8390 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8391 condition.
8392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8393
31d3cc00
UD
83942011-10-25 Ulrich Drepper <drepper@gmail.com>
8395
8396 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8397 .text section. Avoid duplicate constants.
8398 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8400 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8401 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8402 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8403 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8404 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8405 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8406 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8407 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8408 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8410 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8411 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8412 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8413 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8414 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8415 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8416 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8417 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8418 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8419 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8420 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8421 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8422 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8423 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8424 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8425 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8426 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8427 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8428 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8429 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8430 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8431 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8432 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8433 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8434 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8435 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8436 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8437 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8438 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8440 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8441 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8442 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8443
58985aa9
UD
84442011-10-24 Ulrich Drepper <drepper@gmail.com>
8445
202c9deb
UD
8446 * sysdeps/x86_64/dla.h: Move to ...
8447 * sysdeps/x86_64/fpu/dla.h: ...here.
8448 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8449 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 8450
af968f62
UD
8451 * config.make.in: Add have-mfma4 entry.
8452 * configure.in: Substitute libc_cv_cc_fma4.
8453 * math/Makefile (dbl-only-routines): Add sincostab.
8454 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8455 Use __sincostab not sincos.
8456 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8457 name is a macro.
8458 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8459 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8460 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8461 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8462 using __copysign.
8463 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8464 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8465 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8466 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8467 and __inv.
8468 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8469 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8470 __copysign.
8471 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8472 define aliases when function name is a macro.
8473 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8474 sysdeps/ieee754/dbl-64/sincos.tbl.
8475 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8476 fma4-enabled routines.
8477 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8478 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8479 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8480 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8481 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8482 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8483 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8484 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8485 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8486 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8487 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8488 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8489 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8490 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8491 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8492 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8493 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8494 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8495 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8496 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8497 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8498 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8499 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8500 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8501 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8502 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8503 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8504 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8505 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8506 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8507
58985aa9
UD
8508 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8509 rename.
8510 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8511 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8512 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8513 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8514 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8515 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8516 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8517 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8518
a201fbcf
AS
85192011-10-24 Andreas Schwab <schwab@redhat.com>
8520
8521 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8522
fc2ee42a
LD
85232011-10-23 Ulrich Drepper <drepper@gmail.com>
8524
bb3129bd
UD
8525 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8526
0275fff8
UD
8527 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8528 prediction.
8529 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8530
2fa2ae85
UD
8531 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8532 Remove unused variable magic_bits.
8533 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8534
fc2ee42a
LD
8535 * string/strnlen.c: Define and use STRNLEN macro.
8536 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8537 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8539 * wcsmbs/wcslen.c: Define and use WCSLEN.
8540 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8541 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8542 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8543 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8544 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8545 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8546 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8547
ce7dd29f
LD
85482011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8549
8550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8551 strnlen-sse2-no-bsf.
8552 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8553 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8554 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8555 Add strnlen support.
8556 (USE_AS_STRNLEN): New macro.
8557 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8558 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8559 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8560 * sysdeps/x86_64/wcslen.S: New file.
8561
979c70a3
MZ
85622011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8563
8564 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8565 XMM-moves are used for copying on small sizes.
8566
2d09f82f
LD
85672011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8568
8569 * wcsmbs/Makefile (strop-tests): Add wcschr.
8570 * wcsmbs/test-wcschr.c: New file.
8571 * string/test-strchr.c: Update.
8572 Add wcschr support.
8573 (WIDE): New macro.
8574
619fccca
LD
85752011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8576
2d09f82f 8577 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
8578 * wcsmbs/test-wcslen.c: New file.
8579 * string/test-strlen.c: Update.
8580 Add wcslen support.
8581 (WIDE): New macro.
8582
09f699ea
UD
85832011-10-23 Ulrich Drepper <drepper@gmail.com>
8584
8585 * po/it.po: Update from translation team.
8586
95584d3b
LD
85872011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8588
8589 * sysdeps/x86_64/wcscmp.S: Update.
8590 Fix wrong comparison semantics.
8591 wcscmp shall use signed comparison not unsigned.
8592 Don't use substraction to avoid overflow bug.
8593 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8594 * wcsmbc/wcscmp.c: Likewise.
8595 * string/test-strcmp.c: Likewise.
8596 Add new tests to check cases with negative values.
8597
c8b3296b
UD
85982011-10-23 Ulrich Drepper <drepper@gmail.com>
8599
8600 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8601 * sysdeps/x86_64/dla.h: ...here. New file.
8602 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8603 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8604 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8605 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8606 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8607 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8608 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8609 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8610 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8611
246ad57a
AS
86122011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8613
8614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8615 __ynl_finite aliases.
8616
a1a87169
UD
86172011-10-22 Ulrich Drepper <drepper@gmail.com>
8618
0d355eb7
UD
8619 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8620
a1a87169
UD
8621 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8622 define DLA_FMA.
8623 [DLA_FMA] (EMULV): Use DLA_FMA.
8624 [DLA_FMA] (MUL12): Use EMULV.
8625 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8626 that are not needed.
8627 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8628 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8629 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8630 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8631 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8633 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8634
ee2aafe0
AS
86352011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8636
8637 * math/s_nan.c: Undef __nan.
8638 * math/s_nanf.c: Undef __nanf.
8639 * math/s_nanl.c: Undef __nanl.
8640 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8641 "math_private.h".
8642
bc62c2fb
UD
86432011-10-22 Ulrich Drepper <drepper@gmail.com>
8644
77425c63
UD
8645 * math/s_catan.c: Add branch predictions.
8646 * math/s_catanf.c: Likewise.
8647 * math/s_catanh.c: Likewise.
8648 * math/s_catanhf.c: Likewise.
8649 * math/s_catanhl.c: Likewise.
8650 * math/s_catanl.c: Likewise.
8651 * math/s_cexp.c: Likewise.
8652 * math/s_cexpf.c: Likewise.
8653 * math/s_cexpl.c: Likewise.
8654 * math/s_clog.c: Likewise.
8655 * math/s_clog10.c: Likewise.
8656 * math/s_clog10f.c: Likewise.
8657 * math/s_clog10l.c: Likewise.
8658 * math/s_clogf.c: Likewise.
8659 * math/s_clogl.c: Likewise.
8660 * math/s_csqrt.c: Likewise.
8661 * math/s_csqrtf.c: Likewise.
8662 * math/s_csqrtl.c: Likewise.
8663 * math/s_ctanf.c: Likewise.
8664 * math/s_ctanh.c: Likewise.
8665 * math/s_ctanhf.c: Likewise.
8666 * math/s_ctanhl.c: Likewise.
8667 * math/s_ctanl.c: Likewise.
8668
bc62c2fb
UD
8669 * math/math_private.h: Define __nan, __nanf, __nanl.
8670 * math/s_cacosh.c: Include <math_private.h>.
8671 * math/s_cacoshl.c: Likewise.
8672 * math/s_casinh.c: Likewise.
8673 * math/s_casinhf.c: Likewise.
8674 * math/s_casinhl.c: Likewise.
8675 * math/s_ccos.c: Rely entire on ccosh.
8676 * math/s_ccosf.c: Rely entire on ccoshf.
8677 * math/s_ccosl.c: Rely entirely on ccoshl.
8678 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8679 Remove tests for FE_INVALID.
8680 * math/s_ccoshf.c: Likewise.
8681 * math/s_ccoshl.c: Likewise.
8682 * math/s_csin.c: Likewise.
8683 * math/s_csinf.c: Likewise.
8684 * math/s_csinh.c Likewise.
8685 * math/s_csinhf.c: Likewise.
8686 * math/s_csinhl.c: Likewise.
8687 * math/s_csinl.c: Likewise.
8688 * math/s_ctan.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8690 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8691 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8692
8ec250a4
UD
86932011-10-21 Ulrich Drepper <drepper@gmail.com>
8694
c196fed8
UD
8695 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8696 compilation problems.
8697
8ec250a4
UD
8698 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8699 __builtin_expect.
8700
8d4f46c6
UD
87012011-10-20 Ulrich Drepper <drepper@gmail.com>
8702
ed72b654
UD
8703 * sysdeps/i386/configure.in: Test for -mfma4 option.
8704 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8705 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8706 COMMON_CPUID_INDEX_80000001.
8707 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8708 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8709 use it if FMA3 is not supported.
8710 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8711
8d4f46c6
UD
8712 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8713 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8714
d45c60c2
AS
87152011-10-20 Andreas Schwab <schwab@redhat.com>
8716
8717 [BZ #12892]
8718 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8719 it would create a cycle with a link time dependency.
8720
d9a4d2ab
UD
87212011-10-19 Ulrich Drepper <drepper@gmail.com>
8722
855d1560
UD
8723 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8724 instruction.
8725 * string/Makefile (strop-tests): Add rawmemchr.
8726 * string/test-rawmemchr.c: New file.
8727
d9a4d2ab
UD
8728 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8729 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8730 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8731 when compiling str{,n}casecmp and when AVX is available. Hook up
8732 new optimized code in initializers.
8733
8f3b1ffe
AS
87342011-10-19 Andreas Schwab <schwab@redhat.com>
8735
8736 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8737 __feraiseexcept instead of feraiseexcept.
8738
d38f1dba
UD
87392011-10-18 Ulrich Drepper <drepper@gmail.com>
8740
d9a8d0ab
UD
8741 * math/math_private.h: Define defaults for libc_fetestexcept and
8742 libc_feupdateenv.
8743 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8744 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8745 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8746 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8748 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8749 libc_fetestexcept and libc_feupdateenv.
8750
4855e3dd
UD
8751 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8752 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8753 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8754 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8755 libc_feholdexcept_setround.
8756
581d30e3
UD
8757 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8758 Add s_nearbyint-c and s_nearbyintf-c.
8759 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8760 nearbyintf inlines.
8761 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8762 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8763 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8764 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8765
d38f1dba
UD
8766 * math/math_private.h: Define defaults for libc_fegetround,
8767 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8768 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8769 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8771 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8772 standard functions.
8773 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8774 Remove comments and hacks for old compiler versions.
8775 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8776 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8777 libc_feholdexceptl.
8778
caa6c9d8
AS
87792011-10-18 Andreas Schwab <schwab@redhat.com>
8780
8781 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
8782 (__feraiseexcept_renamed): Add __NTH.
8783 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
8784 namespace violations.
8785
97c066e6
UD
87862011-10-17 Ulrich Drepper <drepper@gmail.com>
8787
99ce7b04
UD
8788 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8789
1004d182
UD
8790 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8791
228a984d
UD
8792 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8793 recently added interfaces.
8794 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8795
c8553a6a
UD
8796 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8797 about macro parameter expansion.
8798
ed22dcf6
UD
8799 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8800 __NO_MATH_INLINES is defined. Cleanups.
8801
8802 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8803 and __floorf is target has SSE4.1.
8804 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8805 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8806 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8807 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8808
b171c137
UD
8809 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8810 name.
8811 (floorf): Likewise.
8812
97c066e6
UD
8813 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8814
629f62ef
AS
88152011-10-17 Andreas Schwab <schwab@redhat.com>
8816
49a43d80
AS
8817 * misc/sys/cdefs.h: Fix last change.
8818
629f62ef
AS
8819 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8820 database lookup.
8821
e453f6cd
UD
88222011-10-16 Ulrich Drepper <drepper@gmail.com>
8823
aa78043a
UD
8824 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8825
ad0f5cad
UD
8826 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8827 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8829 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8830 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8831 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8832 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8833 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8834 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8835 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8836 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8837 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8838 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8839 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8840 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8841 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8842 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8843 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8844 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8845 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8846 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8847 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8848
8849 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8850 ceil, ceilf, floor, floorf.
8851
8852 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8853 Perform IRELATIVE relocations last.
8854
e453f6cd
UD
8855 * elf/do-rel.h: Add another parameter nrelative, replacing the
8856 local variable with the same name. Change name of the function
8857 to end in Rel or Rela (uppercase).
8858 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8859 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8860 elf_dynamic_do_##reloc function.
8861
fd5bdc09
UD
88622011-10-15 Ulrich Drepper <drepper@gmail.com>
8863
79b195b5
UD
8864 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8865 is sufficient, at least on modern CPUs.
8866
d4a28569
UD
8867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8868
b61099b5
UD
8869 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8870 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8871
bcf01e6d
UD
8872 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8873 __expl_finite.
8874 * math/bits/math-finite.h: Add entries for exp.
8875 * math/e_expl.c: Add __*_finite alias.
8876 * sysdeps/i386/fpu/e_exp.S: Likewise.
8877 * sysdeps/i386/fpu/e_expf.S: Likewise.
8878 * sysdeps/i386/fpu/e_expl.c: Likewise.
8879 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8880 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8881 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8883 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8884 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8885 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8886
ba1a0d59
UD
8887 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8888 is sufficient, at least on modern CPUs.
8889
fd5bdc09
UD
8890 * ctype/ctype-info.c (__ctype_init): Define.
8891 * include/ctype.h (__ctype_init): Declare.
8892 (__ctype_b_loc): The variable is always initialized.
8893 (__ctype_toupper_loc): Likewise.
8894 (__ctype_tolower_loc): Likewise.
8895 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8896 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8897
7872cfb0
AS
88982011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8899
b468825a
AS
8900 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8901
7872cfb0
AS
8902 * configure.in: Also look in $cxxmachine/include for C++ system
8903 headers.
8904
be13f7bf
LD
89052011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8906
8907 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8908 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8909 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8910 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8911 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8912 (USE_AS_WMEMCMP): New macro.
8913 Fixing indents.
8914 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8915 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8916 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8917 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8918 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8919 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8920 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8921 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8922 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8923 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8924 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8925 (USE_AS_WMEMCMP): New macro.
8926 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8927 * sysdeps/string/test-memcmp.c: Update.
8928 Fix simple_wmemcmp.
8929 Add new tests.
8930 * wcsmbs/wmemcmp.c: Update.
8931 (WMEMCMP): New macro.
8932 Fix overflow bug.
8933
556a2007
AJ
89342011-10-12 Andreas Jaeger <aj@suse.de>
8935
8936 [BZ #13268]
8937 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
8938
538faaa7
UD
89392011-10-15 Ulrich Drepper <drepper@gmail.com>
8940
ab6737ff
UD
8941 * libio/iofwide.c (do_length): Avoid warning.
8942
538faaa7
UD
8943 * ctype/ctype.h (__isctype_f): Add missing __THROW.
8944
396a21b1
UD
89452011-10-14 Ulrich Drepper <drepper@gmail.com>
8946
cdf2901f
UD
8947 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
8948
38ad40ce
UD
8949 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
8950 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
8951 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
8952 * sysdeps/i386/i686/fpu/e_log.S: New file.
8953 * sysdeps/i386/i686/fpu/e_logf.S: New file.
8954 * sysdeps/i386/i686/fpu/e_logl.S: New file.
8955
396a21b1
UD
8956 * ctype/ctype.h: Add support for inlined isXXX functions when
8957 compiling C++ code.
8958
6b1f68c9
AS
89592011-10-14 Andreas Schwab <schwab@redhat.com>
8960
349290c0
AS
8961 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
8962
6b1f68c9
AS
8963 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
8964
f2282d42
RM
89652011-10-13 Roland McGrath <roland@hack.frob.com>
8966
8967 [BZ #13291]
8968 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
8969
5298ffa8
AS
89702011-10-13 Andreas Schwab <schwab@redhat.com>
8971
714fad23
AS
8972 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
8973 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
8974 feraiseexcept.
8975
81dcc7fb
AS
8976 * sysdeps/x86_64/memrchr.S: Check for zero size.
8977
5298ffa8
AS
8978 * string/stratcliff.c: Add memrchr tests.
8979
951fbcec
LD
89802011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8981
8982 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8983 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
8984 rawmemchr-sse2 rawmemchr-sse2-bsf.
8985 * sysdeps/i386/i686/multiarch/memchr.S: New file.
8986 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
8987 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
8988 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
8989 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
8990 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
8991 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
8992 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
8993 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
8994 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
8995 * string/memrchr.c (MEMRCHR): New macro.
8996
0ac5ae23
UD
89972011-10-12 Ulrich Drepper <drepper@gmail.com>
8998
8999 Add integration with gcc's -ffinite-math-only and optimize wrapper
9000 functions in libm.
9001 * Versions.def: Define GLIBC_2.15 version for libm.
9002 * math/Makefile (headers): Add bits/math-finite.h.
9003 * math/bits/math-finite.h: New file.
9004 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9005 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9006 * math/e_acoshl.c: Add __*_finite alias.
9007 * math/e_acosl.c: Likewise.
9008 * math/e_asinl.c: Likewise.
9009 * math/e_atan2l.c: Likewise.
9010 * math/e_atanhl.c: Likewise.
9011 * math/e_coshl.c: Likewise.
9012 * math/e_exp10.c: Likewise.
9013 * math/e_exp10f.c: Likewise.
9014 * math/e_exp10l.c: Likewise.
9015 * math/e_exp2l.c: Likewise.
9016 * math/e_fmodl.c: Likewise.
9017 * math/e_gammal_r.c: Likewise.
9018 * math/e_hypotl.c: Likewise.
9019 * math/e_j0l.c: Likewise.
9020 * math/e_j1l.c: Likewise.
9021 * math/e_jnl.c: Likewise.
9022 * math/e_lgammal_r.c: Likewise.
9023 * math/e_log10l.c: Likewise.
9024 * math/e_log2l.c: Likewise.
9025 * math/e_logl.c: Likewise.
9026 * math/e_powl.c: Likewise.
9027 * math/e_sinhl.c: Likewise.
9028 * math/e_sqrtl.c: Likewise.
9029 * math/e_scalb.c: Completely rewritten and optimized.
9030 * math/e_scalbf.c: Likewise.
9031 * math/e_scalbl.c: Likewise.
9032 * math/w_acos.c: Likewise.
9033 * math/w_acosf.c: Likewise.
9034 * math/w_acosl.c: Likewise.
9035 * math/w_acosh.c: Likewise.
9036 * math/w_acoshf.c: Likewise.
9037 * math/w_acoshl.c: Likewise.
9038 * math/w_asin.c: Likewise.
9039 * math/w_asinf.c: Likewise.
9040 * math/w_asinl.c: Likewise.
9041 * math/w_atan2.c: Likewise.
9042 * math/w_atan2f.c: Likewise.
9043 * math/w_atan2l.c: Likewise.
9044 * math/w_atanh.c: Likewise.
9045 * math/w_atanhf.c: Likewise.
9046 * math/w_atanhl.c: Likewise.
9047 * math/w_exp10.c: Likewise.
9048 * math/w_exp10f.c: Likewise.
9049 * math/w_exp10l.c: Likewise.
9050 * math/w_fmod.c: Likewise.
9051 * math/w_fmodf.c: Likewise.
9052 * math/w_fmodl.c: Likewise.
9053 * math/w_j0.c: Likewise.
9054 * math/w_j0f.c: Likewise.
9055 * math/w_j0l.c: Likewise.
9056 * math/w_j1.c: Likewise.
9057 * math/w_j1f.c: Likewise.
9058 * math/w_j1l.c: Likewise.
9059 * math/w_jn.c: Likewise.
9060 * math/w_jnf.c: Likewise.
9061 * math/w_log.c: Likewise.
9062 * math/w_logf.c: Likewise.
9063 * math/w_logl.c: Likewise.
9064 * math/w_log10.c: Likewise.
9065 * math/w_log10f.c: Likewise.
9066 * math/w_log10l.c: Likewise.
9067 * math/w_log2.c: Likewise.
9068 * math/w_log2f.c: Likewise.
9069 * math/w_log2l.c: Likewise.
9070 * math/w_pow.c: Likewise.
9071 * math/w_powf.c: Likewise.
9072 * math/w_powl.c: Likewise.
9073 * math/w_remainder.c: Likewise.
9074 * math/w_remainderf.c: Likewise.
9075 * math/w_remainderl.c: Likewise.
9076 * math/w_scalb.c: Likewise.
9077 * math/w_scalbf.c: Likewise.
9078 * math/w_scalbl.c: Likewise.
9079 * math/w_sqrt.c: Likewise.
9080 * math/w_sqrtf.c: Likewise.
9081 * math/w_sqrtl.c: Likewise.
9082 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9083 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9084 used.
9085 * math/math_private.h: Declare __kernel_standard_f.
9086 * math/w_cosh.c: Remove cruft and optimize a bit.
9087 * math/w_coshf.c: Likewise.
9088 * math/w_coshl.c: Likewise.
9089 * math/w_exp2.c: Likewise.
9090 * math/w_exp2f.c: Likewise.
9091 * math/w_exp2l.c: Likewise.
9092 * math/w_hypot.c: Likewise.
9093 * math/w_hypotf.c: Likewise.
9094 * math/w_hypotl.c: Likewise.
9095 * math/w_lgamma.c: Likewise.
9096 * math/w_lgamma_r.c: Likewise.
9097 * math/w_lgammaf.c: Likewise.
9098 * math/w_lgammaf_r.c: Likewise.
9099 * math/w_lgammal.c: Likewise.
9100 * math/w_lgammal_r.c: Likewise.
9101 * math/w_sinh.c: Likewise.
9102 * math/w_sinhf.c: Likewise.
9103 * math/w_sinhl.c: Likewise.
9104 * math/w_tgamma.c: Likewise.
9105 * math/w_tgammaf.c: Likewise.
9106 * math/w_tgammal.c: Likewise.
9107 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9108 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9109 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9110 Minor optimizations. Pretty printing. Remove cruft.
9111 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9112 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9113 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9114 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9115 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9116 * sysdeps/i386/fpu/e_asin.S: Likewise.
9117 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9118 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9119 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9120 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9121 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9122 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9123 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9124 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9125 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9126 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9127 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9128 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9129 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9130 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9131 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9132 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9133 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9134 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9135 * sysdeps/i386/fpu/e_log.S: Likewise.
9136 * sysdeps/i386/fpu/e_log10.S: Likewise.
9137 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9138 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9139 * sysdeps/i386/fpu/e_log2.S: Likewise.
9140 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9141 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9142 * sysdeps/i386/fpu/e_logf.S: Likewise.
9143 * sysdeps/i386/fpu/e_logl.S: Likewise.
9144 * sysdeps/i386/fpu/e_pow.S: Likewise.
9145 * sysdeps/i386/fpu/e_powf.S: Likewise.
9146 * sysdeps/i386/fpu/e_powl.S: Likewise.
9147 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9148 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9149 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9150 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9151 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9152 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9153 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9154 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9155 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9156 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9157 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9158 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9159 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9160 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9161 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9163 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9164 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9165 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9166 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9167 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9168 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9169 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9170 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9171 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9172 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9173 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9175 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9176 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9177 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9178 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9179 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9180 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9181 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9182 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9183 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9184 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9185 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9186 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9187 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9188 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9190 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9192 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9193 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9194 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9195 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9196 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9197 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9198 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9199 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9200 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9201 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9202 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9203 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9204 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9205 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9206 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9207 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9208 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9209 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9210 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9211 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9212 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9213 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9214 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9215 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9216 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9217 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9218 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9219 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9221 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9223 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9227 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9228 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9229 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9230 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9232 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9233 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9234 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9235 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9236 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9237 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9238 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9239 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9240 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9241 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9242 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9243 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9244 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9245 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9246 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9247 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9248 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9249 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9250 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9251 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9252 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9253 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9254 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9255 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9256 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9257 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9258 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9259 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9260 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9261 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9263 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9264 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9265 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9266 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9267 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9268 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9269 (__isnanf): Likewise.
9270 (__isinf_ns): Likewise.
9271 (__isinf_nsf): Likewise.
9272 (__finite): Likewise.
9273 (__finitef): Likewise.
9274 (__ieee754_sqrt): Define as macro.
9275 (__ieee754_sqrtf): Define as macro.
9276 (__ieee754_sqrtl): Define as macro.
9277 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9278 inlined copy.
9279 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9280 __FINITE_MATH_ONLY__ consistent.
9281 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9282
12cc2fcd
AS
92832011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9284
a843a204
AS
9285 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9286 of rawmemchr.
9287
12cc2fcd
AS
9288 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9289
c853acd5
UD
92902011-10-09 Ulrich Drepper <drepper@gmail.com>
9291
9292 * po/ja.po: Update from translation team.
9293
c658d255
RM
92942011-10-08 Roland McGrath <roland@hack.frob.com>
9295
110946e4
RM
9296 * locale/programs/locarchive.c (prepare_address_space): New function.
9297 (create_archive, enlarge_archive, open_archive): Use it.
9298
50604220
RM
9299 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9300 inside [SHARED], where it is used.
9301
c658d255
RM
9302 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9303
9304 * nss/getent.c (netgroup_keys): Remove unused variable.
9305 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9306
6a621eb7
UD
93072011-10-08 Ulrich Drepper <drepper@gmail.com>
9308
7edb55ce
UD
9309 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9310 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9311 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9312 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9313 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9314 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9315 * math/Makefile (libm-calls): Add s_isinf_ns.
9316 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9317 * math/multc3.c: Likewise.
9318 * math/s_casin.c: Likewise.
9319 * math/s_casinf.c: Likewise.
9320 * math/s_casinl.c: Likewise.
9321 * math/s_ccos.c: Likewise.
9322 * math/s_ccosf.c: Likewise.
9323 * math/s_ccosl.c: Likewise.
9324 * math/s_ctan.c: Likewise.
9325 * math/s_ctanf.c: Likewise.
9326 * math/s_ctanh.c: Likewise.
9327 * math/s_ctanhf.c: Likewise.
9328 * math/s_ctanhl.c: Likewise.
9329 * math/s_ctanl.c: Likewise.
9330 * math/w_fmod.c: Likewise.
9331 * math/w_fmodf.c: Likewise.
9332 * math/w_fmodl.c: Likewise.
9333 * math/w_remainder.c: Likewise.
9334 * math/w_remainderf.c: Likewise.
9335 * math/w_remainderl.c: Likewise.
9336 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9337 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9338 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9340 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9341 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9342 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9343 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9344
187da0ae
UD
9345 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9346 of the number.
9347 * stdio-common/printf_fphex.c: Likewise.
9348 * stdio-common/printf_size.c: Likewise.
9349
9277c064
UD
9350 * math/e_exp10.c: Include math_private.h using <...> not "...".
9351 * math/e_exp10f.c: Likewise.
9352 * math/e_exp10l.c: Likewise.
9353 * math/e_exp2l.c: Likewise.
9354 * math/e_j0l.c: Likewise.
9355 * math/e_j1l.c: Likewise.
9356 * math/e_jnl.c: Likewise.
9357 * math/e_lgammal_r.c: Likewise.
9358 * math/e_rem_pio2l.c: Likewise.
9359 * math/e_scalb.c: Likewise.
9360 * math/e_scalbf.c: Likewise.
9361 * math/e_scalbl.c: Likewise.
9362 * math/k_cosl.c: Likewise.
9363 * math/k_sinl.c: Likewise.
9364 * math/k_tanl.c: Likewise.
9365 * math/s_cacoshf.c: Likewise.
9366 * math/s_catan.c: Likewise.
9367 * math/s_catanf.c: Likewise.
9368 * math/s_catanh.c: Likewise.
9369 * math/s_catanhf.c: Likewise.
9370 * math/s_catanhl.c: Likewise.
9371 * math/s_catanl.c: Likewise.
9372 * math/s_ccosh.c: Likewise.
9373 * math/s_ccoshf.c: Likewise.
9374 * math/s_ccoshl.c: Likewise.
9375 * math/s_cexp.c: Likewise.
9376 * math/s_cexpf.c: Likewise.
9377 * math/s_cexpl.c: Likewise.
9378 * math/s_clog.c: Likewise.
9379 * math/s_clog10.c: Likewise.
9380 * math/s_clog10f.c: Likewise.
9381 * math/s_clog10l.c: Likewise.
9382 * math/s_clogf.c: Likewise.
9383 * math/s_clogl.c: Likewise.
9384 * math/s_csin.c: Likewise.
9385 * math/s_csinf.c: Likewise.
9386 * math/s_csinh.c: Likewise.
9387 * math/s_csinhf.c: Likewise.
9388 * math/s_csinhl.c: Likewise.
9389 * math/s_csinl.c: Likewise.
9390 * math/s_csqrt.c: Likewise.
9391 * math/s_csqrtf.c: Likewise.
9392 * math/s_csqrtl.c: Likewise.
9393 * math/s_ctan.c: Likewise.
9394 * math/s_ctanf.c: Likewise.
9395 * math/s_ctanh.c: Likewise.
9396 * math/s_ctanhf.c: Likewise.
9397 * math/s_ctanhl.c: Likewise.
9398 * math/s_ctanl.c: Likewise.
9399 * math/s_ldexp.c: Likewise.
9400 * math/s_ldexpf.c: Likewise.
9401 * math/s_ldexpl.c: Likewise.
9402 * math/s_significand.c: Likewise.
9403 * math/s_significandf.c: Likewise.
9404 * math/s_significandl.c: Likewise.
9405 * math/w_acos.c: Likewise.
9406 * math/w_acosf.c: Likewise.
9407 * math/w_acosh.c: Likewise.
9408 * math/w_acoshf.c: Likewise.
9409 * math/w_acoshl.c: Likewise.
9410 * math/w_acosl.c: Likewise.
9411 * math/w_asin.c: Likewise.
9412 * math/w_asinf.c: Likewise.
9413 * math/w_asinl.c: Likewise.
9414 * math/w_atan2.c: Likewise.
9415 * math/w_atan2f.c: Likewise.
9416 * math/w_atan2l.c: Likewise.
9417 * math/w_atanh.c: Likewise.
9418 * math/w_atanhf.c: Likewise.
9419 * math/w_atanhl.c: Likewise.
9420 * math/w_cosh.c: Likewise.
9421 * math/w_coshf.c: Likewise.
9422 * math/w_coshl.c: Likewise.
9423 * math/w_dremf.c: Likewise.
9424 * math/w_exp10.c: Likewise.
9425 * math/w_exp10f.c: Likewise.
9426 * math/w_exp10l.c: Likewise.
9427 * math/w_exp2.c: Likewise.
9428 * math/w_exp2f.c: Likewise.
9429 * math/w_fmod.c: Likewise.
9430 * math/w_fmodf.c: Likewise.
9431 * math/w_fmodl.c: Likewise.
9432 * math/w_hypot.c: Likewise.
9433 * math/w_hypotf.c: Likewise.
9434 * math/w_hypotl.c: Likewise.
9435 * math/w_j0.c: Likewise.
9436 * math/w_j0f.c: Likewise.
9437 * math/w_j0l.c: Likewise.
9438 * math/w_j1.c: Likewise.
9439 * math/w_j1f.c: Likewise.
9440 * math/w_j1l.c: Likewise.
9441 * math/w_jn.c: Likewise.
9442 * math/w_jnf.c: Likewise.
9443 * math/w_jnl.c: Likewise.
9444 * math/w_lgamma.c: Likewise.
9445 * math/w_lgamma_r.c: Likewise.
9446 * math/w_lgammaf.c: Likewise.
9447 * math/w_lgammaf_r.c: Likewise.
9448 * math/w_lgammal.c: Likewise.
9449 * math/w_lgammal_r.c: Likewise.
9450 * math/w_log.c: Likewise.
9451 * math/w_log10.c: Likewise.
9452 * math/w_log10f.c: Likewise.
9453 * math/w_log10l.c: Likewise.
9454 * math/w_log2.c: Likewise.
9455 * math/w_log2f.c: Likewise.
9456 * math/w_log2l.c: Likewise.
9457 * math/w_logf.c: Likewise.
9458 * math/w_logl.c: Likewise.
9459 * math/w_pow.c: Likewise.
9460 * math/w_powf.c: Likewise.
9461 * math/w_powl.c: Likewise.
9462 * math/w_remainder.c: Likewise.
9463 * math/w_remainderf.c: Likewise.
9464 * math/w_remainderl.c: Likewise.
9465 * math/w_scalb.c: Likewise.
9466 * math/w_scalbf.c: Likewise.
9467 * math/w_scalbl.c: Likewise.
9468 * math/w_sinh.c: Likewise.
9469 * math/w_sinhf.c: Likewise.
9470 * math/w_sinhl.c: Likewise.
9471 * math/w_sqrt.c: Likewise.
9472 * math/w_sqrtf.c: Likewise.
9473 * math/w_sqrtl.c: Likewise.
9474 * math/w_tgamma.c: Likewise.
9475 * math/w_tgammaf.c: Likewise.
9476 * math/w_tgammal.c: Likewise.
9477
6a621eb7
UD
9478 * po/ja.po: Update from translation team.
9479
bf582445
AJ
94802011-09-29 Andreas Jaeger <aj@suse.de>
9481
f9efbf3a
AJ
9482 [BZ #13179]
9483 * sunrpc/netname.c (netname2host): Fix logic.
9484
bf582445
AJ
9485 [BZ #6779]
9486 [BZ #6783]
9487 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9488 correctly.
9489 * math/w_remainder.c (__remainder): Likewise.
9490 * math/w_remainderf.c (__remainderf): Likewise.
9491 * math/libm-test.inc (remainder_test): Add test cases.
9492
48693bea
AK
94932011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9494
9495 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9496 sdiv_qrnnd.
9497
42622229
LD
94982011-10-07 Ulrich Drepper <drepper@gmail.com>
9499
9500 * string/test-memcmp.c: Avoid unncessary #defines.
9501 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9502
093ecf92
LD
95032011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9504
9505 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9506 Use new sse2 version for core i3 - i7 as it's faster
9507 than sse42 version.
9508 (bit_Prefer_PMINUB_for_stringop): New.
9509 * sysdeps/x86_64/rawmemchr.S: Update.
9510 Replace with faster SSE2 version.
9511 * sysdeps/x86_64/memrchr.S: New file.
9512 * sysdeps/x86_64/memchr.S: Update.
9513 Replace with faster SSE2 version.
9514
fde56e5c
MP
95152011-09-12 Marek Polacek <mpolacek@redhat.com>
9516
9517 * elf/dl-load.c (lose): Add cast to avoid warning.
9518
21fd49a9
UD
95192011-10-07 Ulrich Drepper <drepper@gmail.com>
9520
5a06e643
UD
9521 * po/ca.po: Update from translation team.
9522
684ae515
UD
9523 * inet/getnetgrent_r.c: Hook up nscd.
9524 * nscd/Makefile (routines): Add nscd_netgroup.
9525 (nscd-modules): Add netgroupcache.
9526 (CFLAGS-netgroupcache.c): Define.
9527 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9528 (cache_search): Add const to second parameter.
9529 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9530 INNETGR.
9531 (dbs): Add netgrdb entry.
9532 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9533 (verify_persistent_db): Handle netgrdb.
9534 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9535 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9536 GETFDNETGR.
9537 (netgroup_response_header): Define.
9538 (innetgroup_response_header): Define.
9539 (datahead): Add netgroup_response_header and innetgroup_response_header
9540 elements.
9541 * nscd/nscd.conf: Add entries for netgroup cache.
9542 * nscd/nscd.h (dbtype): Add netgrdb.
9543 (_PATH_NSCD_NETGROUP_DB): Define.
9544 (netgroup_iov_disabled): Declare.
9545 (xmalloc, xcalloc, xrealloc): Move declarations here.
9546 (cache_search): Adjust prototype.
9547 Add netgroup-related prototypes.
9548 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9549 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9550 (__nscd_innetgr): Declare.
9551 * nscd/selinux.c (perms): Use access_vector_t as element type and
9552 add netgroup-related initializers.
9553 * nscd/netgroupcache.c: New file.
9554 * nscd/nscd_netgroup.c: New file.
9555 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9556 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9557 For four parameters use innetgr.
9558 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9559 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9560 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9561 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9562
21fd49a9
UD
9563 * nscd/connections.c (register_traced_file): Don't register file
9564 for disabled databases.
9565
054c0457
UD
95662011-10-06 Ulrich Drepper <drepper@gmail.com>
9567
32b63198
UD
9568 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9569
054c0457
UD
9570 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9571 from tree and freeing node.
9572
64031225
JO
95732011-09-25 Jiri Olsa <jolsa@redhat.com>
9574
9575 * nss/nsswitch.c (__nss_database_lookup): Handle
9576 nss_parse_service_list out of memory case.
9577
0490345c
JO
95782011-09-15 Jiri Olsa <jolsa@redhat.com>
9579
9580 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9581 out of memory case.
9582
3a62d00d
AS
95832011-10-04 Andreas Schwab <schwab@redhat.com>
9584
9585 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9586 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9587 pass it down.
9588 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9589 elf_machine_rela, elf_machine_lazy_rel.
9590 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9591 (ELF_DYNAMIC_DO_REL): Likewise.
9592 (ELF_DYNAMIC_DO_RELA): Likewise.
9593 (ELF_DYNAMIC_RELOCATE): Likewise.
9594 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9595 to ELF_DYNAMIC_DO_REL.
9596 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9597 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9598 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9599 elf_machine_rela.
9600 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9601 skip_ifunc, don't call ifunc function if non-zero.
9602 (elf_machine_rela): Likewise.
9603 (elf_machine_lazy_rel): Likewise.
9604 (elf_machine_lazy_rela): Likewise.
9605 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9606 (elf_machine_lazy_rel): Likewise.
9607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9608 Likewise.
9609 (elf_machine_lazy_rel): Likewise.
9610 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9611 Likewise.
9612 (elf_machine_lazy_rel): Likewise.
9613 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9614 (elf_machine_lazy_rel): Likewise.
9615 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9616 (elf_machine_lazy_rel): Likewise.
9617 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9618 (elf_machine_lazy_rel): Likewise.
9619 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9620 (elf_machine_lazy_rel): Likewise.
9621 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9622 (elf_machine_lazy_rel): Likewise.
9623 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9624 (elf_machine_lazy_rel): Likewise.
9625
68577918
UD
96262011-09-28 Ulrich Drepper <drepper@gmail.com>
9627
9628 * nss/nss_files/files-init.c (_nss_files_init): Use static
9629 initialization for all the *_traced_file variables.
9630
68822d74
AS
96312011-09-28 Andreas Schwab <schwab@redhat.com>
9632
9633 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9634
2056100b
RM
96352011-09-27 Roland McGrath <roland@hack.frob.com>
9636
9637 [BZ #13226]
9638 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9639
32c76b63
AS
96402011-09-27 Andreas Schwab <schwab@redhat.com>
9641
9642 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9643 Reread the line before reparsing it.
9644
bf972c9d
AS
96452011-09-26 Andreas Schwab <schwab@redhat.com>
9646
9647 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9648
e057a1b5
JM
96492011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9650 Maxim Kuvyrkov <maxim@codesourcery.com>
9651 Joseph Myers <joseph@codesourcery.com>
9652
9653 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9654 if needed for __stack_chk_guard.
9655
bc7e1c36
RM
96562011-09-19 Roland McGrath <roland@hack.frob.com>
9657
ecb1482f
RM
9658 * sysdeps/posix/spawni.c (script_execute): Always define it.
9659 It will be optimized away if unused.
9660 (maybe_script_execute): New function.
9661 (__spawni): Call it.
9662
bc7e1c36
RM
9663 * Makerules: Don't include tls.make.
9664 (config-tls): Always set to thread.
9665 * tls.make.c: File removed.
9666
1c3b002b
MF
96672011-09-19 Mike Frysinger <vapier@gentoo.org>
9668
9669 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9670 * config.make.in (CPPFLAGS-config): New substituted variable.
9671
2840865d
UD
96722011-09-15 Ulrich Drepper <drepper@gmail.com>
9673
88738eb6
UD
9674 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9675
cbf645a6 9676 [BZ #13192]
2840865d
UD
9677 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9678 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9679
b402e91a
RM
96802011-09-15 Roland McGrath <roland@hack.frob.com>
9681
9682 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9683 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9684 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9685 (CALL_FAIL): Likewise.
9686 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9687 (CALL_FAIL): Macro removed.
9688 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9689
4c1a1f71
UD
96902011-09-15 Ulrich Drepper <drepper@gmail.com>
9691
9692 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9693 for __FINITE_MATH_ONLY__ == 1.
9694
edc121be
AS
96952011-09-15 Andreas Schwab <schwab@redhat.com>
9696
9697 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9698 __ieee754_sqrt instead of sqrt.
9699 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9700 __ieee754_sqrtf instead of sqrtf.
9701 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9702 __floorf instead of floorf.
9703 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9704 __floorf, __truncf instead of floorf, truncf.
9705
cd205654
UD
97062011-09-14 Ulrich Drepper <drepper@gmail.com>
9707
ee4d0315
UD
9708 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9709
cd205654
UD
9710 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9711 __extern_always_inline.
9712 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9713 32-bit.
9714
48b67d71
AS
97152011-09-14 Andreas Schwab <schwab@redhat.com>
9716
9717 * elf/rtld.c (dl_main): Also relocate in dependency order when
9718 doing symbol dependency testing.
9719
1ae12c75
AS
97202011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9721
9722 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9723 Always define `refsym'.
9724
995a80df
AS
97252011-09-13 Andreas Schwab <schwab@redhat.com>
9726
e529793b
AS
9727 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9728 (__FD_ELT): Renamed from __FDELT.
9729 * misc/bits/select2.h (__FD_ELT): Likewise.
9730 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9731 __FD_MASK instead of __FDELT, __FDMASK.
9732 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9733 Likewise.
9734 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9735 Likewise.
9736
52d4fef8
AS
9737 * elf/Makefile (gen-ldd): Fix pattern.
9738
995a80df
AS
9739 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9740 (init_tls): Likewise.
9741
8682f8b0
UD
97422011-09-12 Ulrich Drepper <drepper@gmail.com>
9743
9744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9745
de82006d
AS
97462011-09-12 Andreas Schwab <schwab@redhat.com>
9747
a7c8e6a1
AS
9748 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9749 `struct cmsghdr *' instead of `void *'.
9750 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9751 Likewise.
9752
0f31fe77
AS
97532011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9754
9755 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9756 if non-absolute.
9757 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9758 ldd_rewrite_script.
0f31fe77 9759
32b4c839
UD
97602011-09-11 Ulrich Drepper <drepper@gmail.com>
9761
83cd1420
UD
9762 * configure.in: Remove --with-tls option.
9763 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9764 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9765 out in case it is missing.
9766 * sysdeps/ia64/elf/configure.in: Likewise.
9767 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9768 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9769 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9770 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9771 * sysdeps/sh/elf/configure.in: Likewise.
9772 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9773 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9774 * sysdeps/x86_64/elf/configure.in: Likewise.
9775 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9776 * sysdeps/mach/hurd/tls.h: Likewise.
9777
633f745d
UD
9778 [BZ #13067]
9779 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9780
f318beb8
UD
9781 [BZ #13090]
9782 * configure.in: Fix use of AC_INIT.
9783
32b4c839
UD
9784 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9785
3ce1f295
UD
97862011-09-10 Ulrich Drepper <drepper@gmail.com>
9787
bb016596
UD
9788 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9789 __set_errno.
8e58439c
UD
9790 * malloc/hooks.c: Likewise.
9791
aebae053 9792 [BZ #11929]
02d46fc4
UD
9793 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9794 variables statically.
9795 (narenas): Initialize.
9796 (list_lock): Initialize.
bb016596
UD
9797 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9798 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
9799 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9800 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9801 Add initializers to main_arena and mp_.
9802 (malloc_state): Remove pagesize member. Change all users to use
9803 GLRO(dl_pagesize).
9804
9805 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9806 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9807 is always initialized.
9808
22a89187
UD
9809 * malloc/malloc.c: Removed unused configurations and dead code.
9810 * malloc/arena.c: Likewise.
9811 * malloc/hooks.c: Likewise.
02d46fc4 9812 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 9813
d063d164
UD
9814 * include/tls.h: Removed. USE___THREAD must always be defined.
9815 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9816 * elf/dl-libc.c: Likewise.
9817 * elf/dl-tsd.c: Likewise.
9818 * include/errno.h: Likewise.
9819 * include/netdb.h: Likewise.
9820 * include/resolv.h: Likewise.
9821 * inet/herrno-loc.c: Likewise.
9822 * inet/herrno.c: Likewise.
9823 * malloc/arena.c: Likewise.
9824 * malloc/hooks.c: Likewise.
9825 * malloc/malloc.c: Likewise.
9826 * resolv/res-state.c: Likewise.
9827 * resolv/res_libc.c: Likewise.
9828 * sysdeps/i386/dl-machine.h: Likewise.
9829 * sysdeps/ia64/dl-machine.h: Likewise.
9830 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9832 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9833 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9834 * sysdeps/sh/dl-machine.h: Likewise.
9835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9837 * sysdeps/unix/i386/sysdep.S: Likewise.
9838 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9839 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9841 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9842 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9843 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9844 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9845 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9847 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9848 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9849 * sysdeps/x86_64/dl-machine.h: Likewise.
9850 * tls.make.c: Likewise.
9851
3ce1f295
UD
9852 * configure.in: Remove --with-__thread option. Make tests for
9853 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9854 tls_model attribute fail if no support is available. Remove
9855 USE_IN_LIBIO.
9856 * Makeconfig: Adjust for dropped configure option. All features are
9857 now mandatory.
9858 * Makerules: Likewise.
9859 * Versions.def: Likewise.
9860 * argp/argp-fmtstream.c: Likewise.
9861 * argp/argp-fmtstream.h: Likewise.
9862 * argp/argp-help.c: Likewise.
9863 * assert/assert.c: Likewise.
9864 * config.h.in: Likewise.
9865 * config.make.in: Likewise.
9866 * configure: Likewise.
9867 * configure.in: Likewise.
9868 * csu/Versions: Likewise.
9869 * csu/init.c: Likewise.
9870 * elf/tst-audit2.c: Likewise.
9871 * elf/tst-tls10.c: Likewise.
9872 * elf/tst-tls10.h: Likewise.
9873 * elf/tst-tls11.c: Likewise.
9874 * elf/tst-tls12.c: Likewise.
9875 * elf/tst-tls14.c: Likewise.
9876 * elf/tst-tlsmod11.c: Likewise.
9877 * elf/tst-tlsmod12.c: Likewise.
9878 * elf/tst-tlsmod13.c: Likewise.
9879 * elf/tst-tlsmod13a.c: Likewise.
9880 * elf/tst-tlsmod14a.c: Likewise.
9881 * elf/tst-tlsmod15b.c: Likewise.
9882 * elf/tst-tlsmod16a.c: Likewise.
9883 * elf/tst-tlsmod16b.c: Likewise.
9884 * elf/tst-tlsmod7.c: Likewise.
9885 * elf/tst-tlsmod8.c: Likewise.
9886 * elf/tst-tlsmod9.c: Likewise.
9887 * gmon/gmon.c: Likewise.
9888 * grp/fgetgrent_r.c: Likewise.
9889 * grp/putgrent.c: Likewise.
9890 * hurd/fopenport.c: Likewise.
9891 * include/libc-symbols.h: Likewise.
9892 * include/tls.h: Likewise.
9893 * intl/gettextP.h: Likewise.
9894 * intl/loadinfo.h: Likewise.
9895 * locale/global-locale.c: Likewise.
9896 * locale/localeinfo.h: Likewise.
9897 * mach/devstream.c: Likewise.
9898 * malloc/arena.c: Likewise.
9899 * malloc/set-freeres.c: Likewise.
9900 * misc/err.c: Likewise.
9901 * misc/getttyent.c: Likewise.
9902 * misc/mntent_r.c: Likewise.
9903 * posix/getopt.c: Likewise.
9904 * posix/wordexp.c: Likewise.
9905 * pwd/fgetpwent_r.c: Likewise.
9906 * resolv/Versions: Likewise.
9907 * resolv/res_hconf.c: Likewise.
9908 * shadow/fgetspent_r.c: Likewise.
9909 * shadow/putspent.c: Likewise.
9910 * stdio-common/printf_fphex.c: Likewise.
9911 * stdio-common/tmpfile.c: Likewise.
9912 * stdlib/abort.c: Likewise.
9913 * stdlib/fmtmsg.c: Likewise.
9914 * sunrpc/auth_unix.c: Likewise.
9915 * sunrpc/clnt_perr.c: Likewise.
9916 * sunrpc/clnt_tcp.c: Likewise.
9917 * sunrpc/clnt_udp.c: Likewise.
9918 * sunrpc/clnt_unix.c: Likewise.
9919 * sunrpc/openchild.c: Likewise.
9920 * sunrpc/svc_simple.c: Likewise.
9921 * sunrpc/svc_tcp.c: Likewise.
9922 * sunrpc/svc_udp.c: Likewise.
9923 * sunrpc/svc_unix.c: Likewise.
9924 * sunrpc/xdr.c: Likewise.
9925 * sunrpc/xdr_array.c: Likewise.
9926 * sunrpc/xdr_rec.c: Likewise.
9927 * sunrpc/xdr_ref.c: Likewise.
9928 * sunrpc/xdr_stdio.c: Likewise.
9929
1248c1c4
PB
99302011-09-09 Ulrich Drepper <drepper@gmail.com>
9931
9932 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9933
99342011-07-03 Andreas Jaeger <aj@suse.de>
9935
9936 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
9937 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
9938 regenerate with gen-libm-tests.pl.
9939
99402010-05-12 Petr Baudis <pasky@suse.cz>
9941
9942 [BZ #11589]
9943 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
9944 around j0() zero points by switching to j1().
9945 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9946 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9947 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9948 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9949
f22e1074
UD
99502011-09-09 Ulrich Drepper <drepper@gmail.com>
9951
f19009c1
UD
9952 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
9953 instead of 0.
9954 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
9955 instead of 0. .
9956 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
9957 Patch in part by Pavel Roskin <proski@gnu.org>.
9958
3f8cc204
UD
9959 [BZ #13138]
9960 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
9961 realloc.
9962 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
9963 Free memory block if necessary.
9964
f22e1074
UD
9965 [BZ #12847]
9966 * libio/genops.c (INTDEF): For string streams the _lock pointer can
9967 be NULL. Don't lock in this case.
9968
0a2349f9
RM
99692011-09-09 Roland McGrath <roland@hack.frob.com>
9970
9971 * elf/elf.h (ELFOSABI_GNU): New macro.
9972 (ELFOSABI_LINUX): Define to that.
9973
f3cdd467
DZ
99742011-07-29 Denis Zaitceff <zaitceff@gmail.com>
9975
9976 * string/strncat.c (strncat): Undef the symbol in case it has been
9977 defined in bits/string.h.
9978
74718d13
UD
99792011-09-09 Ulrich Drepper <drepper@gmail.com>
9980
633e9e0f
UD
9981 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
9982
0a2349f9 9983 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
9984 link map.
9985
f9924780
AJ
99862011-08-17 Andreas Jaeger <aj@suse.de>
9987
9988 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
9989
7f5517aa
PP
99902011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
9991 Ian Lance Taylor <iant@google.com>
9992
9993 * math/libm-test.inc (lround_test): New testcase.
9994 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
9995
762011fe
UD
99962011-09-08 Ulrich Drepper <drepper@gmail.com>
9997
92963737
UD
9998 * Makefile: Remove support for automatic cvs check-ins.
9999 * Makerules: Likewise.
10000 * config.make.in: Likewise.
10001 * configure.in: Likewise.
10002 * intl/Makefile: Likewise.
10003 * locale/Makefile: Likewise.
10004 * po/Makefile: Likewise.
10005 * posix/Makefile: Likewise.
10006 * sysdeps/gnu/Makefile: Likewise.
10007 * sysdeps/mach/hurd/Makefile: Likewise.
10008 * sysdeps/sparc/sparc32/Makefile: Likewise.
10009
b0727fd8
JS
10010 [BZ #13118]
10011 * posix/Makefile (bug-regex32-ENV): Define.
10012 Patch by John Stanley <jpsinthemix@verizon.net>.
10013
a0f33f99
UD
10014 * misc/Makefile (headers): Add bits/select2.h.
10015 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10016 * misc/bits/select2.h: New file.
10017 * include/bits/select2.h: New file.
10018 * debug/Makefile (routines): Add fdelt_chk.
10019 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10020 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10021 FD_ISSET.
10022 * debug/fdelt_chk.c: New file.
10023
762011fe
UD
10024 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10025 * wcsmbs/test-wmemcmp.c: Likewise.
10026 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 10027 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
10028
100292011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10030
10031 * string/Makefile (strop-tests): Add memcmp.
10032 * string/test-wmemcmp.c: New file.
10033 * string/test-memcmp.c: Add wmemcmp support.
10034
7f513ec8
RM
100352011-09-08 Roland McGrath <roland@hack.frob.com>
10036
0442afb4
RM
10037 [BZ #13153]
10038 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10039 2011-07-19 change.
10040
7f513ec8
RM
10041 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10042 garbage value in a __mach_port_mod_refs call in the cases of the
10043 task-self and thread-self ports.
10044
a12b2239
ST
100452011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10046
10047 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10048
610f9ab4
AS
100492011-09-08 Andreas Schwab <schwab@redhat.com>
10050
7f513ec8 10051 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 10052
48882a1a
LD
100532011-09-07 Ulrich Drepper <drepper@gmail.com>
10054
b49865be
UD
10055 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10056
fdc86bc9
UD
10057 * elf/dl-libc.c (dlerror_run): Pass back error code from
10058 dl_catch_error.
10059
c966526a
UD
10060 [BZ #13123]
10061 * elf/dl-load.c (lose): Free l_origin if it is valid.
10062
48882a1a
LD
10063 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10064 names.
10065 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10066 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10067 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10069 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10070 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10071
77a2a8b4
AZ
100722011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10073
10074 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10075 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10076 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10077 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10078 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10079 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10080 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10081 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10082 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10083 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10084
24f579d8
AM
100852011-08-15 Alan Modra <amodra@gmail.com>
10086
10087 [BZ #13092]
10088 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10089 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10090 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10091 ppc_mcount to static-only-routines.
10092 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10093 __mcount_internal.
10094 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10095 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10096
3d4837df
UD
100972011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10098
10099 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10100 for finite and infinity parameters.
10101
22700377
WS
101022011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10103
10104 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10105 and add nop instructions for throughput optimization.
10106 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10107
5025581e
WS
101082011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10109
10110 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10111 aligned copy for power7 with vector-scalar instructions.
10112 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10113
08a300c9
L
101142011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10115
10116 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10117 AVX check.
10118
59178ef9
AS
101192011-09-07 Andreas Schwab <schwab@redhat.com>
10120
10121 [BZ #13144]
10122 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10123 last change.
10124
e38ba7ab
UD
101252011-09-07 Ulrich Drepper <drepper@gmail.com>
10126
10127 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10128 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10129 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10130 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10131 clock_gettime.
10132
d53a73ac
UD
101332011-09-06 Ulrich Drepper <drepper@gmail.com>
10134
fc8bffcc
UD
10135 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10136 Forgot to demangle the pointer.
10137
ceaa0c5d
UD
10138 * sysdeps/i386/sysdep.h: Define atom_text_section.
10139 * sysdeps/x86_64/sysdep.h: Likewise.
10140 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10141 section with atom_text_section.
10142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10143 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10144 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10145 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10146 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10147
a77d3c17
UD
10148 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10149 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10150 already be defined. Change to take two parameters and don't assign
10151 result to variable. Adjust all users.
10152 Define INTERNAL_GETTIME if not already defined.
10153 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10154 call.
10155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10156 HAVE_CLOCK_GETTIME_VSYSCALL.
10157 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10158
d53a73ac
UD
10159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10160 gettimeofday vsyscall, just use time.
10161
a8f84144
AS
101622011-09-06 Andreas Schwab <schwab@redhat.com>
10163
10164 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10165 <errno.h>.
10166
ef606249
UD
101672011-09-06 Ulrich Drepper <drepper@gmail.com>
10168
10169 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10170 syscall on x86-64.
10171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10172 syscall.
10173 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10174 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10175 syscall if possible.
10176
6585cb60
UD
101772011-09-05 Ulrich Drepper <drepper@gmail.com>
10178
10179 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10180 e_ident. Don't pass to find_mapsXX.
10181 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10182
a5f524e4
LD
101832011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10184
10185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10186 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10187 * sysdeps/x86_64/multiarch/strchr.S: Update.
10188 Check bit_slow_BSF bit.
10189 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10190 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10191 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10192
554881ef
UD
101932011-09-05 Ulrich Drepper <drepper@gmail.com>
10194
d96de963
UD
10195 [BZ #13134]
10196 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10197 before glibc 2.15.
10198 (tryshell): Define.
10199 (__spawni): Change last parameter to be flag. Test
10200 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10201 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10202 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10203 * posix/spawni.c: Likewise.
10204 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10205 * posix/spawnp.c: Likewise. Change normal version to use
10206 SPAWN_XFLAGS_USE_PATH.
10207 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10208 SPAWN_XFLAGS_TRY_SHELL.
10209
d48e5868
UD
10210 [BZ #13150]
10211 * posix/glob.h: Remove gcc 1.x support.
10212
554881ef
UD
10213 [BZ #13068]
10214 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10215
693fb948
LD
102162011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10217
10218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10219 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10220 strrchr-sse2-bsf
10221 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10222 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10223 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10224 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10225 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10226 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10227
1b48c537
UD
102282011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10229
49d42c37
UD
10230 * sysdeps/x86_64/wcscmp.S: New file.
10231
1b48c537
UD
10232 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10233 wcscmp-c wcscmp-sse2
10234 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10235 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10236 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10237 * wcsmbs/wcscmp.c: Allow renaming.
10238
15c95c5d
DM
102392011-09-05 David S. Miller <davem@davemloft.net>
10240
10241 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10242 stack slot, rather than the struct return pointer slot.
10243 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10244 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10246 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10247
2f0ad8f3
UD
102482011-09-05 Ulrich Drepper <drepper@gmail.com>
10249
d88ae418
UD
10250 * po/ja.po: Update from translation team.
10251
2f0ad8f3
UD
10252 [BZ #13144]
10253 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10254 kernel in 64-bit binaries.
10255
5f4318d1
DM
102562011-09-01 David S. Miller <davem@davemloft.net>
10257
10258 * elf/elf.h (HWCAP_SPARC_*): Move to..
10259 * sysdeps/sparc/sysdep.h: this new file and add new values.
10260 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10261 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10262 _DL_HWCAP_COUNT to 24.
10263 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10264 entries.
10265 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10266 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10267 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10268 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10269 instead of magic constants.
10270 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10271
3ba57516
DM
102722011-08-31 David S. Miller <davem@davemloft.net>
10273
10274 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10275 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10276 Reimplement to do errno handling inline.
10277 (SYSCALL_ERROR_HANDLER): New macro.
10278 (__SYSCALL_STRING): Do not do errno handling in asm.
10279 (__CLONE_SYSCALL_STRING): Delete.
10280 (__INTERNAL_SYSCALL_STRING): Delete.
10281 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10282 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10283 (PSEUDO): Reimplement to do errno handling inline.
10284 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10285 (SYSCALL_ERROR_HANDLER): New macro.
10286 (__SYSCALL_STRING): Do not do errno handling in asm.
10287 (__CLONE_SYSCALL_STRING): Delete.
10288 (__INTERNAL_SYSCALL_STRING): Delete.
10289 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10290 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10291 i386.
10292 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10293 (inline_syscall*): Add 'err' argument.
10294 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10295 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10296 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10297 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10298
10299 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10300 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10301
2bc17433
AS
103022011-08-30 Andreas Schwab <schwab@redhat.com>
10303
10304 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10305
fbeb5f4d
JO
103062011-08-29 Jiri Olsa <jolsa@redhat.com>
10307
10308 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10309 directive.
10310
ad69cc26
DM
103112011-08-24 David S. Miller <davem@davemloft.net>
10312
10313 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10314
39dd69df
AS
103152011-08-24 Andreas Schwab <schwab@redhat.com>
10316
10317 * elf/Makefile: Add rules to build and run unload8 test.
10318 * elf/unload8.c: New file.
10319 * elf/unload8mod1.c: New file.
10320 * elf/unload8mod1x.c: New file.
10321 * elf/unload8mod2.c: New file.
10322 * elf/unload8mod3.c: New file.
10323
10324 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10325 it wasn't used.
10326
2c0b250a
DM
103272011-08-23 David S. Miller <davem@davemloft.net>
10328
10329 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10330 subtract stack bias.
10331 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10332 %sp not %fp in calculations.
10333 (_JMPBUF_UNWINDS_ADJ): Likewise.
10334
22044b48
DM
10335 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10336 (aio_suspend): Call it to force an exception region around the
10337 AIO_MISC_WAIT() invocation.
10338
2cae4995
AS
103392011-08-23 Andreas Schwab <schwab@redhat.com>
10340
10341 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10342 backslash.
10343
873a772e
AJ
103442011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10345
10346 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10347 protection macro.
10348 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10349 and <dl-machine.h>.
10350 (Elf64_FuncDesc): Remove.
10351
25ad0df1
DM
103522011-08-22 David S. Miller <davem@davemloft.net>
10353
10354 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10355 sigaltstack check, add missing cfi directives.
10356 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10357 missing cfi directives, and sigaltstack handling.
10358
e888bcbe
AS
103592011-08-16 Andreas Schwab <schwab@redhat.com>
10360
10361 [BZ #11724]
10362 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10363 object is seen twice.
10364 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10365
10366 * elf/Makefile (distribute): Add tst-initorder2.c.
10367 (tests): Add tst-initorder2.
10368 (modules-names): Add tst-initorder2a tst-initorder2b
10369 tst-initorder2c tst-initorder2d. Add rules to build them.
10370 ($(objpfx)tst-initorder2.out): New rule.
10371 * elf/tst-initorder2.c: New file.
10372 * elf/tst-initorder2.exp: New file.
10373
87162f46
AS
103742011-08-22 Andreas Schwab <schwab@redhat.com>
10375
70538b7f
AS
10376 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10377
f55ffe58
AS
10378 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10379 dependencies back to end of function.
10380
87162f46
AS
10381 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10382 $(elfobjdir)/ld.so.
10383
91b392a4
UD
103842011-08-21 Ulrich Drepper <drepper@gmail.com>
10385
10386 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10387 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10388 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10389 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10390 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10391 of __vdso_gettimeofday.
10392 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10393 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10394 attribute_hidden.
10395 (_libc_vdso_platform_setup): Remove initialization of
10396 __vdso_gettimeofday and __vdso_time.
10397
5c43483f
UD
103982011-08-20 Ulrich Drepper <drepper@gmail.com>
10399
775a77e7
UD
10400 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10401 and fgetc_unlocked.
10402 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10403 getc_unlocked.
89f447ed 10404
49c74ba9
UD
10405 * elf/dl-open.c (add_to_global): Report additions to the global scope
10406 for LD_DEBUG=scopes.
10407 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 10408 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 10409
5c43483f
UD
10410 [BZ #13114]
10411 * stdio-common/Makefile (tests): Add bug24.
10412 * stdio-common/bug24.c: New file.
10413
a101b025
AJ
104142011-08-19 Andreas Jaeger <aj@suse.de>
10415
10416 [BZ #13114]
10417 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10418 non-existant file when using close-on-exec mode.
10419
c88f1766
UD
104202011-08-20 Ulrich Drepper <drepper@gmail.com>
10421
0276a718
UD
10422 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10423 the very first instruction.
10424
c88f1766
UD
10425 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10426 the CFI state in the end.
10427 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10428 inclusion of dl-trampoline.h.
10429 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10430
51ccffa0
AS
104312011-08-19 Andreas Schwab <schwab@redhat.com>
10432
94d7165f
AS
10433 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10434 expectations for long double.
10435
51ccffa0
AS
10436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10437 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10438
fd708658 104392011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
10440
10441 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10442 artificual limit depends upon the system page size.
10443
44f0a71e
UD
104442011-08-17 Ulrich Drepper <drepper@gmail.com>
10445
10446 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10447 * resolv/Makefile: Define CFLAGS-libresolv.
10448
8de79a24
AS
104492011-08-17 Andreas Schwab <schwab@redhat.com>
10450
10451 * nss/makedb.c (compute_tables): Make variables used in nested
10452 function static.
10453
27724598
UD
104542011-08-17 Ulrich Drepper <drepper@gmail.com>
10455
c5305d88
UD
10456 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10457 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10458 if buffer was too small.
10459
27724598
UD
10460 * elf/pldd.c (main): Attach to all threads in the process.
10461 Rewrite /proc handling to use *at functions.
10462
076fe015
UD
104632011-08-16 Ulrich Drepper <drepper@gmail.com>
10464
174baab3
UD
10465 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10466 specifies first scope to show.
10467 (dl_open_worker): Update callers. Move printing scope of new
10468 object to before the relocation.
44f0a71e 10469 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
10470 * sysdeps/generic/ldsodefs.h: Update declaration.
10471
076fe015
UD
10472 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10473 string for the scope number.
10474
a60df2c3
UD
104752011-08-14 Ulrich Drepper <drepper@gmail.com>
10476
10477 * nscd/servicescache.c (cache_addserv): Make sure written is always
10478 initialized.
10479
5e4287d1
RM
104802011-08-14 Roland McGrath <roland@hack.frob.com>
10481
85ae0589
RM
10482 * sysdeps/i386/i486/bits/atomic.h
10483 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10484 statement expression, so as to suppress "set but not used" warning.
10485 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10486
69f63097
RM
10487 * string/strncat.c (STRNCAT): Use prototype definition.
10488
675456ef
RM
10489 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10490 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10491 -Iprograms here.
10492 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10493 (localedef-modules): Add localedef.
10494 (locale-modules): Add locale.
10495
5e4287d1
RM
10496 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10497 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10498 to avoid a warning.
10499
9c96ff23
DM
105002011-08-14 David S. Miller <davem@davemloft.net>
10501
10502 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10503 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10504
f9ddf089
UD
105052011-08-13 Ulrich Drepper <drepper@gmail.com>
10506
44f0a71e 10507 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
10508 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10509 * elf/rtld.c (dl_main): Set l_name of vDSO.
10510 Call _dl_show_scope when DL_DEBUG_SCOPES.
10511 (process_dl_debug): Recognize scopes flag and also set it for all.
10512 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10513 Declare _dl_show_scope.
10514
1dc27704
UD
10515 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10516 (do_dlopen): Pass caller_dlopen to dl_open.
10517 (__libc_dlopen_mode): Initialize caller_dlopen.
10518
f9ddf089
UD
10519 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10520 of libc. Make tolower call locale-independent. Optimize a bit by
10521 using isdigit instead of isalnum.
10522 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10523
9ac533d3
UD
105242011-08-12 Ulrich Drepper <drepper@gmail.com>
10525
10526 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10527 was a dependency or dynamically loaded.
10528
89edf2e9
UD
105292011-08-11 Ulrich Drepper <drepper@gmail.com>
10530
8e999d29
UD
10531 * intl/l10nflist.c: Allow architecture-specific pop function.
10532 * sysdeps/x86_64/l10nflist.c: New file.
10533
89edf2e9
UD
10534 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10535 classification.
10536
14d96785
AS
105372011-08-10 Andreas Schwab <schwab@redhat.com>
10538
10539 * include/dirent.h: Add libc_hidden_proto for scandirat and
10540 scandirat64. Don't declare __scandirat64.
10541 * dirent/scandirat.c: Add libc_hidden_def.
10542 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10543 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10544
6761ac04
DM
105452011-08-10 David S. Miller <davem@davemloft.net>
10546
10547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10548 enum.
10549 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10551 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10552
c55fbd1e
UD
105532011-08-09 Ulrich Drepper <drepper@gmail.com>
10554
10555 * Versions.def [libc]: Add GLIBC_2.15.
10556 * dirent/Makefile (routines): Add scandirat and scandirat64.
10557 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10558 GLIBC_2.15.
10559 * dirent/dirent.h: Declare scandirat and scandirat64.
10560 * dirent/scandirat.c: New file.
10561 * dirent/scandirat64.c: New file.
10562 * sysdeps/wordsize-64/scandirat.c: New file.
10563 * sysdeps/wordsize-64/scandirat64.c: New file.
10564 * dirent/opendir.c: Define opendirat.
10565 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10566 using scandirat.
10567 * dirent/scandir64.c: Adjust for scandir.c change.
10568 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10569 __scandirat64, and __scandir_cancel_handler.
10570 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10571 additional parameter and use openat instead of open (outside of ld.so).
10572 Add new __opendir as wrapper around __opendirat.
10573 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10574 here without requiring old scandirat implementation.
10575
879165f2
UD
105762011-08-08 Ulrich Drepper <drepper@gmail.com>
10577
10578 * dirent/scandir.c (cancel_handler): Renamed to
10579 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10580 defined. Adjust users.
10581 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10582 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10583
cb7e923b
UD
105842011-08-04 Ulrich Drepper <drepper@gmail.com>
10585
16292edd
UD
10586 * string/test-string.h (IMPL): Use __STRING to expand name and then
10587 stringify it.
10588
cb7e923b
UD
10589 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10590 of cleanups.
10591
cff82933
LD
105922011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10593
10594 * string/Makefile: Update.
10595 (strop-tests): Append strncat.
10596 * string/test-wcscmp.c: New file.
10597 New comprehensive test for wcscmp.
10598 * string/test-strcmp.c: Update.
10599 (WIDE): New define.
10600
9be9bfcc
AS
106012011-07-22 Andreas Schwab <schwab@redhat.com>
10602
10603 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10604 line.
10605
2e96f1c7
AS
106062011-07-26 Andreas Schwab <schwab@redhat.com>
10607
10608 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10609 encoding to ACE if AI_IDN.
10610
85188888
JJ
106112011-08-01 Jakub Jelinek <jakub@redhat.com>
10612
10613 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10614 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10615
5fa16e9b
LD
106162011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10617
10618 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10619 Fix overflow bug in strncat.
10620 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10621
10622 * string/test-strncat.c: Update.
10623 Add new tests for checking overflow bugs.
10624
106252011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10626
10627 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10628 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10629 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10630 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10631 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10632 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10633 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10634 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10635 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10636
10637 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10638 (USE_AS_STRCAT): Define.
10639 Add strcat and strncat support.
10640 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10641
8c1a459f
AS
106422011-07-25 Andreas Schwab <schwab@redhat.com>
10643
10644 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10645 __n bigger than INT_MAX+1.
10646 (__strncmp_g): Likewise.
10647
bba33c28
UD
106482011-07-23 Ulrich Drepper <drepper@gmail.com>
10649
798be72d
UD
10650 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10651 * libio/stido.h: Likewise.
10652
8accd4dc
UD
10653 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10654 (AF_NFC): Define.
10655 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10656 (AF_NFC): Define.
10657
cbff0d96
UD
10658 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10659 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10660 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10661 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10662 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10663
9191c04a
UD
10664 [BZ #13021]
10665 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10666 installed.
10667
bba33c28
UD
10668 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10669 typo.
10670 (_dl_x86_64_save_sse): Likewise.
10671
90f139dd
UD
106722011-07-22 Ulrich Drepper <drepper@gmail.com>
10673
1aae088a
UD
10674 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10675 OSXSAVE.
10676 (_dl_x86_64_save_sse): Likewise.
10677
8e2045f5
UD
10678 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10679
90f139dd
UD
10680 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10681
1d002f25
AS
106822011-07-21 Andreas Schwab <schwab@redhat.com>
10683
10684 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10685 change.
10686 (_dl_x86_64_save_sse): Use correct AVX check.
10687
21137f89
UD
106882011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10689
10690 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10691 bug in strncpy/strncat.
10692 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10693
a65c0b7a
UD
106942011-07-21 Ulrich Drepper <drepper@gmail.com>
10695
10696 * string/tester.c (test_strcat): Add tests for different alignments
10697 of source and destination.
10698 (test_strncat): Likewise.
10699
6986b98a
UD
107002011-07-20 Ulrich Drepper <drepper@gmail.com>
10701
90bb2039
UD
10702 [BZ #12852]
10703 * posix/glob.c (glob): Check passed in values before using them in
10704 expressions to avoid some overflows.
10705 (glob_in_dir): Likewise.
10706
5644ef54
UD
10707 [BZ #13007]
10708 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10709 check for AVX enablement so that we don't crash with old kernels and
10710 new hardware.
10711 * elf/tst-audit4.c: Add same checks here.
10712 * elf/tst-audit6.c: Likewise.
10713
10714 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 10715
bfc9dc9b
AS
107162011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10717
10718 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10719
702e64bb
UD
107202011-07-20 Ulrich Drepper <drepper@gmail.com>
10721
10722 * po/cs.po: Update from translation team.
10723 * po/bg.po: Likewise.
10724
295e904f
MP
107252011-07-12 Marek Polacek <mpolacek@redhat.com>
10726
10727 * misc/sys/cdefs.h: Add support for const attribute.
10728 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10729 to gnu_dev_{major,minor,makedev} functions.
10730
3ff94596
MP
107312011-07-20 Marek Polacek <mpolacek@redhat.com>
10732
10733 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10734
28b59fca
AS
107352011-07-20 Andreas Schwab <schwab@redhat.com>
10736
10737 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10738 strlen results.
10739
19df733e
AK
107402011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10741
10742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10743 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10744 register in order to avoid conflicts with the soft frame pointer
10745 being held in r11 when necessary.
10746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10747 (INTERNAL_VSYSCALL_NCS): Likewise.
10748
c8835729
MP
107492011-07-14 Marek Polacek <mpolacek@redhat.com>
10750
10751 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10752 * elf/dl-fini.c (_dl_fini): Adjust caller.
10753 * elf/dl-close.c (_dl_close_worker): Likewise.
10754 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10755
b902330c
MP
107562011-07-15 Marek Polacek <mpolacek@redhat.com>
10757
8991e135
MP
10758 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10759 "aux_cache->nlibs < 0".
10760
b902330c
MP
10761 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10762 in the reload-count case.
10763
99710781
LD
107642011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10765
10766 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10767 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10768 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10769 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10770 * sysdeps/x86_64/multiarch/strcat.S: New file.
10771 * sysdeps/x86_64/multiarch/strncat.S: New file.
10772 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10773 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10774 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10775 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10776 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10777 (USE_AS_STRCAT): Define.
10778 Add strcat and strncat support.
10779 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10780 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10781 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10782 * string/strncat.c: Update.
10783 (USE_AS_STRNCAT): Define.
10784 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10785 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10786 and i7.
10787 * sysdeps/x86_64/multiarch/init-arch.h
10788 (bit_Prefer_PMINUB_for_stringop): New.
10789 (index_Prefer_PMINUB_for_stringop): Likewise.
10790 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10791 bit_Prefer_PMINUB_for_stringop.
10792
7dc6bd90
UD
107932011-07-19 Ulrich Drepper <drepper@gmail.com>
10794
10795 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10796 buffer64.
10797 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10798 of casting of buffer.
10799 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10800 buffer32 and buffer64.
10801 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10802 writes instead of casting of buffer.
10803 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10804 buffer32.
10805 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10806 casting of buffer.
10807
e0e72284
AS
108082011-07-19 Andreas Schwab <schwab@redhat.com>
10809
10810 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10811
feb1eb0b
UD
108122011-07-19 Ulrich Drepper <drepper@gmail.com>
10813
10814 * nscd/nscd.c (termination_handler): Don't do anything for a database
10815 if it has not yet been initialized.
10816
298711ff
UD
108172011-07-18 Ulrich Drepper <drepper@gmail.com>
10818
10819 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10820
108212011-07-15 Marek Polacek <mpolacek@redhat.com>
10822
10823 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10824
f9d68389
UD
108252011-07-18 Ulrich Drepper <drepper@gmail.com>
10826
10827 * po/nl.po: Update from translation team.
10828 * po/sv.po: Likewise.
10829
db290cf5
RM
108302011-07-16 Roland McGrath <roland@hack.frob.com>
10831
10832 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10833 now disallowed by GCC.
5c550700 10834
fd5e21c7
RM
10835 * configure.in (use-default-link): Default to yes if a test -shared
10836 link meets our qualifications.
10837 * configure: Regenerated.
10838
5c550700
RM
10839 * config.make.in (output-format): New variable.
10840 * configure.in: Check for ld --print-output-format support.
10841 * configure: Regenerated.
10842 * Makerules ($(common-objpfx)format.lds)
10843 [$(output-format) != unknown]: Just use $(output-format),
10844 instead of the linker-script munging.
10845
9fa2c032
RM
108462011-07-14 Roland McGrath <roland@hack.frob.com>
10847
a6928d51
RM
10848 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10849 of $(common-objpfx)shlib.lds.
10850 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10851
661607b3
RM
10852 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10853 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10854
9fa2c032
RM
10855 * configure.in (-z relro check): Adjust test code to add a large
10856 writable data section after it.
10857 * configure: Regenerated.
10858
defe9061
RM
108592011-07-11 Roland McGrath <roland@hack.frob.com>
10860
10861 * configure.in (-z relro check): Fix test code to make the variable
10862 truly const.
10863 * configure: Regenerated.
10864
319b9ad4
UD
108652011-07-11 Ulrich Drepper <drepper@gmail.com>
10866
10867 * nscd/nscd.h (struct traced_file): Define.
10868 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10869 elements. Add traced_files.
10870 (inotify_fd): Declare.
10871 (register_traced_file): Declare.
10872 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10873 (inotify_fd): Export.
10874 (resolv_conf_descr): Remove.
10875 (nscd_init): Move inotify descriptor creation to main.
10876 Don't register files for notification here.
10877 (register_traced_file): New function.
10878 (invalidate_cache): Don't use reset_res to determine whether to call
10879 res_init, go through the list of registered files.
10880 (main_loop_poll): The inotify descriptors are now stored in the
10881 structures for the traced files.
10882 (main_loop_epoll): Likewise
10883 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10884 to __nss_disable_nscd.
10885 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10886 for a database anymore. Check the records for all the registered
10887 files instead.
10888 * nss/Makefile (libnss_files-routines): Add files-init.
10889 (libnss_db-routines): Add db-init.
10890 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10891 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10892 * nss/nss_db/db-init.c: New file.
10893 * nss/nss_files/files-init.c: New file.
10894 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10895 __nss_lookup_function.
10896 (__nss_lookup_function): Call nss_load_library.
10897 (nss_load_all_libraries): New function.
10898 (__nss_disable_nscd): Take parameter with callback function for files
10899 to register. Set is_nscd. Load all the DSOs for the NSS modules
10900 used for the cached services.
10901 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10902 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10903 options for features to all the files in nscd.
10904
10905 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10906
23bee3e8
RM
109072011-07-10 Roland McGrath <roland@hack.frob.com>
10908
10909 * csu/elf-init.c (__libc_csu_init): Comment typo.
10910
46a5b7f0
UD
109112011-07-09 Ulrich Drepper <drepper@gmail.com>
10912
10913 * po/pl.po: Update from translation team.
10914 * po/ja.po: Likewise.
10915 * po/ru.po: Likewise.
10916 * po/ko.po: Likewise.
10917 * po/fr.po: Likewise.
10918
d30cf5bb
RM
109192011-07-09 Roland McGrath <roland@hack.frob.com>
10920
113ddea4
RM
10921 * configure.in (.ctors/.dtors header and trailer check):
10922 Use an empirical test on a built program.
10923 * configure: Regenerated.
10924
574920b4
RM
10925 * configure.in (-z relro check): Use an empirical test on a built DSO.
10926 Detect, but do not require, on ia64.
10927 * configure: Regenerated.
10928
d30cf5bb
RM
10929 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10930 Update tests that use readelf to use $READELF instead.
10931 * configure: Regenerated.
10932
8538fdb3
UD
109332011-07-08 Ulrich Drepper <drepper@gmail.com>
10934
10935 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
10936 if the result is not used.
10937
04d08991
AJ
109382011-07-05 Andreas Jaeger <aj@suse.de>
10939
10940 [BZ#9696]
10941 * stdlib/tst-strtod.c: Add testcase.
10942
de283087
AD
109432011-07-07 Ulrich Drepper <drepper@gmail.com>
10944
4e5f31c8 10945 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 10946 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
10947 The latter has a higher limit. Take additional parameter to pass to
10948 the new function.
10949 (__pathconf): Pass file to __statfs_link_max.
10950 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
10951 __statfs_link_max.
10952 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
10953 __statfs_link_max.
10954
de283087
AD
10955 [BZ #12868]
10956 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
10957 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10958 Handle Lustre.
10959 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
10960 (__statfs_filesize_max): Likewise.
10961 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
10962
c75fa153
AJ
109632011-07-05 Andreas Jaeger <aj@suse.de>
10964
10965 * resolv/res_comp.c (dn_skipname): Remove unused variable.
10966
1a544854
UD
109672011-07-06 Marek Polacek <mpolacek@redhat.com>
10968
10969 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
10970 `status' variable.
10971 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
10972 Likewise.
10973
6f0eec67
UD
109742011-07-04 H.J. Lu <hongjiu.lu@intel.com>
10975
10976 * Makefile (strop-tests): Add strncat.
10977 * string/test-strncat.c: New file.
10978
aae30307
UD
109792011-06-30 Marek Polacek <mpolacek@redhat.com>
10980
10981 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
10982
c0cfb5eb
UD
109832011-06-21 Andreas Jaeger <aj@suse.de>
10984
10985 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
10986 Copy rule from iconvdata/Makefile.
10987
01636b21
UD
109882011-07-06 Ulrich Drepper <drepper@gmail.com>
10989
10990 [BZ #12922]
10991 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
10992 but no long options are defined, just return 'W'.
10993
9895c8bc
UD
109942011-06-22 Marek Polacek <mpolacek@redhat.com>
10995
10996 [BZ #9696]
10997 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
10998
5d4cf042
UD
109992011-07-06 Ulrich Drepper <drepper@gmail.com>
11000
11001 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11002 netgroups to read.
960e5535 11003 (innetgr): Likewise.
5d4cf042 11004
751eb97e
RM
110052011-07-05 Roland McGrath <roland@hack.frob.com>
11006
11007 * config.make.in (install_root): Default to $(DESTDIR).
11008
f15f1e45
UD
110092011-07-05 Ulrich Drepper <drepper@gmail.com>
11010
11011 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11012
4e34ac6a
RM
110132011-07-02 Roland McGrath <roland@hack.frob.com>
11014
5e9b6af4
RM
11015 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11016
84f9ea0f
RM
11017 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11018 containing directory rather than embedding absolute directory names.
11019
ea5ee9f7
RM
11020 * scripts/check-local-headers.sh: Rewritten using awk.
11021 Match by word, not by line. Print error messages for matches.
11022 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11023
1b74661a
RM
11024 * Makerules [shlib-lds-flags empty]:
11025 ($(common-objpfx)libc_pic.opts): New target.
11026 ($(common-objpfx)libc_pic.os.clean): New target.
11027 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11028
11029 * config.make.in (OBJCOPY): New variable.
11030 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11031 * configure: Regenerated.
11032
f781ef40
RM
11033 * config.make.in (use-default-link): New variable.
11034 * configure.in (use_default_link): Grok --with-default-link to set it.
11035 * configure: Regenerated.
11036 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11037 (shlib-lds, shlib-lds-flags): Define to empty.
11038
2d4fa81e
RM
11039 * Makerules (shlib-lds): New variable.
11040 (shlib-lds-flags): New variable.
11041 (build-shlib, build-moduile, build-module-asneeded): Use it.
11042 ($(common-objpfx)libc.so): Use $(shlib-lds).
11043 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11044 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11045
31fffa6b
RM
11046 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11047 DT_FLAGS/DT_FLAGS_1 with zero flags.
11048
4e34ac6a
RM
11049 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11050 linker script munging.
11051
fcfc776b
UD
110522011-07-02 Ulrich Drepper <drepper@gmail.com>
11053
11054 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11055 as 128-bit value.
11056 * crypt/sha512.c (sha512_process_block): Perform total addition using
11057 128-bit if possible.
11058 (__sha512_finish_ctx): Likewise.
11059 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11060 as 64-bit value.
11061 * crypt/sha256.c (SWAP64): Define.
11062 (sha256_process_block): Perform total addition using 64-bit if
11063 possible.
11064 (__sha256_finish_ctx): Likewise.
11065
99231d9a
UD
110662011-07-01 Ulrich Drepper <drepper@gmail.com>
11067
11068 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11070 * nscd/hstcache.c (cache_addhst): Likewise.
11071 * nscd/grpcache.c (cache_addgr): Likewise.
11072 * nscd/aicache.c (addhstaiX): Likewise
11073 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11074
445b4a53
TK
110752011-07-01 Thorsten Kukuk <kukuk@suse.de>
11076
11077 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11078 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11079 * nscd/hstcache.c (cache_addhst): Likewise.
11080 * nscd/grpcache.c (cache_addgr): Likewise.
11081 * nscd/aicache.c (addhstaiX): Likewise
11082
6d4d8e8e
AS
110832011-07-01 Andreas Schwab <schwab@redhat.com>
11084
11085 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11086 domain only when needed.
11087
89f654c5
AS
110882011-06-30 Andreas Schwab <schwab@redhat.com>
11089
11090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11091 is always restored.
11092
cf3b23ff
UD
110932011-06-29 Ulrich Drepper <drepper@gmail.com>
11094
11095 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11096 are re-adding the entry.
11097 * nscd/servicescache.c (cache_addserv): Likewise.
11098
751626f9
AJ
110992011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11100
11101 * sysdeps/generic/dl-irel.h: fix protection against multiple
11102 inclusions.
11103 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11104
9113ea1f
UD
111052011-06-28 Ulrich Drepper <drepper@gmail.com>
11106
5c0b8d90
UD
11107 [BZ #12935]
11108 * malloc/memusage.sh: Fix quoting in message.
11109 * debug/xtrace.sh: Likewise.
11110
9113ea1f
UD
11111 * configure.in: Remove support for --experimental-malloc option, make
11112 it the default.
11113 * config.make.in: Likewise.
11114 * malloc/Makefile: Likewise.
11115
a4172181
AS
111162011-06-27 Andreas Schwab <schwab@redhat.com>
11117
11118 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11119 two-byte characters.
11120
78a7eee7
RM
111212011-06-27 Roland McGrath <roland@hack.frob.com>
11122
62bede13
RM
11123 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11124 AC_CACHE_CHECK invocation.
11125 * configure: Regenerated.
11126
78a7eee7
RM
11127 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11128
5ce33a62
UD
111292011-06-27 Ulrich Drepper <drepper@gmail.com>
11130
034807a9
UD
11131 [BZ #12350]
11132 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11133 bit from old_res_options.
11134
4902da17
UD
11135 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11136
5ce33a62
UD
11137 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11138 value type for setfct.
11139
c2344f56
L
111402011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11141
11142 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11143 __gettimeofday instead of gettimeofday.
11144
68468076
UD
111452011-06-26 Ulrich Drepper <drepper@gmail.com>
11146
11147 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11148
acb0d739
L
111492011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11150
11151 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11152
11153 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11154 info.
11155
8912479f
L
111562011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11157
11158 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11159 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11160 strcpy-sse2-unaligned strncpy-sse2-unaligned
11161 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11162 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11163 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11164 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11165 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11166 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11167 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11168 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11169 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11170 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11171 (STRCPY): Support SSE2 and SSSE3 versions.
11172
d5495a11
UD
111732011-06-24 Ulrich Drepper <drepper@gmail.com>
11174
11175 [BZ #12874]
11176 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11177 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11178 kernels which artificially limit size of requests.
11179
0b1cbaae
L
111802011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11181
11182 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11183 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11184 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11185 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11186 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11187 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11188 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11189 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11190 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11191 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11192 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11193 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11194 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11195 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11196 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11197 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11198 Enable unaligned load optimization for Intel Core i3, i5 and i7
11199 processors.
11200 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11201 Define.
11202 (index_Fast_Unaligned_Load): Define.
11203 (HAS_FAST_UNALIGNED_LOAD): Define.
11204
07f494a0
MP
112052011-06-23 Marek Polacek <mpolacek@redhat.com>
11206
11207 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11208
fa3fc0fe
UD
112092011-06-22 Ulrich Drepper <drepper@gmail.com>
11210
11211 [BZ #12907]
11212 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11213 until it is clear that the information is realy needed.
11214 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11215
e12df166
AS
112162011-06-22 Andreas Schwab <schwab@redhat.com>
11217
11218 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11219
852eb34d
UD
112202011-06-22 Ulrich Drepper <drepper@gmail.com>
11221
84e2a551
UD
11222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11223 /sys/devices/system/cpu/online if it is usable.
11224
852eb34d
UD
11225 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11226 reading the information from the /proc filesystem to once a second.
11227
6e502e19
UD
112282011-06-21 Andreas Jaeger <aj@suse.de>
11229
11230 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11231 NULL after inclusion of kernel headers.
11232
75d39ff2
UD
112332011-06-21 Ulrich Drepper <drepper@gmail.com>
11234
51f9aa6a
UD
11235 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11236 calls to internal_setent.
11237
c0244a9d
UD
11238 [BZ #12885]
11239 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11240 addresses using gethostbyname4_r ignore IPv4 addresses.
11241
c5e3c2ae
UD
11242 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11243 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11244
75d39ff2
UD
11245 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11246
42675c6f
DM
112472011-06-20 David S. Miller <davem@davemloft.net>
11248
11249 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11250 inclusions.
11251 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11252
11253 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11254 (elf_irel): Use it.
11255 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11256 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11257 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11258 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11259 * sysdeps/x86_64/dl-irel.h: Likewise.
11260
11261 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11262 * elf/dl-sym.c: Likewise.
11263
57912a71
UD
112642011-06-15 Ulrich Drepper <drepper@gmail.com>
11265
11266 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11267 need to dereference resplen2.
11268
ee22793d
AS
112692011-06-14 Andreas Schwab <schwab@redhat.com>
11270
11271 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11272
a9e836b0
UD
112732011-06-15 Ulrich Drepper <drepper@gmail.com>
11274
77fb9117
UD
11275 * Makeconfig: Define vardbdir and inst_vardbdir.
11276 * nss/Makefile: Add rules to install db-Makefile.
11277
40c1b22c
UD
11278 * nss/nss_db/db-XXX.c: Cleanup.
11279
9f2da732
UD
11280 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11281 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11282 GLIBC_PRIVATE.
11283 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11284 * nss/makedb.c: Implement -g option to specify that value strings
11285 are generated and should not be added to table iterated over for
11286 get*ent calls.
11287 * nss/nss_db/db-initgroups.c: New file.
11288
82e9a1f7
UD
11289 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11290 interface.
11291
c41af17e
UD
11292 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11293 (internal_getgrouplist): Adjust to name change.
11294 Update use_initgroups_entry if this is not the first call.
11295 * nss/databases.def: Add initgroups entry.
11296
a9e836b0
UD
11297 * nss/makedb.c (compute_tables): Check result of multiple hash table
11298 sizes to minimize maximum chain length.
11299
2666d441
UD
113002011-06-14 Ulrich Drepper <drepper@gmail.com>
11301
11302 * Versions.def: Add entry for libnss_db.
11303 * shlib-versions: Likewise.
11304 * nss/Makefile: Add rules to build libnss_db.
11305 * nss/Versions: Add libnss_db information. Organize libnss_files
11306 entries better.
11307 * nss/db-Makefile: Add gshadow support. Change rules for the new
11308 makedb progra. Some minor improvements to generate smaller files.
11309 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11310 here from...
11311 * nss/makedb.c: ...here.
11312 Improve database format to be smaller and require less memory at
11313 runtime.
11314 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11315 db anymore.
11316 * nss/nss_db/db-netgrp.c: Likewise.
11317 * nss/nss_db/db-open.c: Likewise.
11318 * nss/nss_files/flies-XXX.x: Adjust comments.
11319 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11320 * nss/nss_files/files-grp.c: Likewise.
11321 * nss/nss_files/files-hosts.c: Likewise.
11322 * nss/nss_files/files-network.c: Likewise.
11323 * nss/nss_files/files-proto.c: Likewise.
11324 * nss/nss_files/files-pwd.c: Likewise.
11325 * nss/nss_files/files-rpc.c: Likewise.
11326 * nss/nss_files/files-service.c: Likewise.
11327 * nss/nss_files/files-sgrp.c: Likewise.
11328 * nss/nss_files/files-spwd.c: Likewise.
11329 * nss/nss_db/db-alias.c: Removed.
11330 * nss/nss_db/dummy-db.h: Removed.
11331
9ee76b5a
UD
113322011-06-02 Ulrich Drepper <drepper@gmail.com>
11333
11334 * nss/makedb.c: Rewritten to not use database library.
11335 * nss/Makefile: Update to build new makedb program.
11336
c71ca1f8
AJ
113372011-06-14 Andreas Jaeger <aj@suse.de>
11338
11339 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11340 memset declaration.
11341
3154bfb8
UD
113422011-06-10 Andreas Schwab <schwab@redhat.com>
11343
11344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11345 tmpbuf.
11346
b350afab
RM
113472011-06-10 Roland McGrath <roland@hack.frob.com>
11348
decd4e50
RM
11349 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11350 * elf/Makefile ($(objpfx)ld.so): Likewise.
11351
5615eaf2
RM
11352 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11353 Don't list ld.so twice in dependencies.
11354
11355 * posix/bug-regex31.c: Include <stdlib.h>.
11356
11357 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11358
11359 * nis/nss_compat/compat-spwd.c
11360 (getspent_next_nss_netgr): Remove unused variable.
11361 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11362
11363 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11364 nonmembers" output to use the right array.
11365
11366 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11367
11368 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11369
11370 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11371 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11372 * catgets/gencat.c (read_input_file): Likewise.
11373 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11374
11375 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11376 variable definition inside #if's controlling its use.
11377
11378 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11379
11380 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11381
11382 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11383
11384 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11385 unreachable code.
11386
11387 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11388
b68e08db
RM
11389 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11390 * configure: Regenerated.
11391
b350afab
RM
11392 * Makerules: Revert last change.
11393 * elf/Makefile: Likewise.
11394
28368601
RM
113952011-06-09 Roland McGrath <roland@hack.frob.com>
11396
11397 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11398 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11399 (reloc-link): Likewise.
11400
11988f8f
UD
114012011-06-09 Ulrich Drepper <drepper@gmail.com>
11402
11403 * elf/Makefile: Add rules to build pldd.
11404 * elf/pldd.c: New file.
11405 * elf/pldd-xx.c: New file.
11406
e80fab37
UD
114072011-06-07 Ulrich Drepper <drepper@gmail.com>
11408
11409 * version.h: Update for 2.15 development version.
11410
9b849836
DM
114112011-06-07 David S. Miller <davem@davemloft.net>
11412
11413 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11414 ifuncs.
11415 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11416 elf_machine_lazy_rel): Likewise.
11417 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11418 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11419 elf_machine_lazy_rel): Likewise.
11420 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11421 dl_hwcap via passed in argument.
11422 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11423 Likewise.
11424
5a31b283
AK
114252011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11426
11427 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11428
069e52f8
RM
114292011-06-06 Roland McGrath <roland@hack.frob.com>
11430
11431 [BZ #12849]
11432 * manual/fdl-1.1.texi: New file, verbatim from:
11433 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11434 * manual/lgpl-2.1.texi: New file, verbatim from:
11435 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11436 * manual/Makefile (licenses): New variable, list those new file names.
11437 (texis): Use it.
11438 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11439
11440 * manual/fdl.texi: File removed.
11441 * manual/lesser.texi: File removed.
11442 * manual/libc.texinfo (Copying, Documentation License):
11443 Use new @include file names, put @appendix directive before @include.
11444
f16846a5
JJ
114452011-06-04 Jakub Jelinek <jakub@redhat.com>
11446
11447 [BZ #12841]
11448 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11449 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11450 (mq_open): Add __NTH.
11451
3d29045b
L
114522011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11453
11454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11455 Assume Intel Core i3/i5/i7 processor if AVX is available.
11456
8c297311
UD
114572011-05-31 Ulrich Drepper <drepper@gmail.com>
11458
11459 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11460 typo.
11461
c8fc0c91
UD
114622011-05-31 Andreas Schwab <schwab@redhat.com>
11463
11464 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11465 memory. Use alloca_account. Fix memory leak when retrying.
11466
5b27a807
UD
114672011-05-31 Ulrich Drepper <drepper@gmail.com>
11468
356f8bc6
UD
11469 * version.h (RELEASE): Bump for 2.14 release.
11470 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11471
5b27a807
UD
11472 * config.make.in (RANLIB): Remove entry.
11473
01f16ab0
UD
114742011-05-30 Ulrich Drepper <drepper@gmail.com>
11475
41fce8bd
UD
11476 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11477 (libc.pot): Work around missing support for .ksh extension in xgettext.
11478
4769ae77
UD
11479 [BZ #12684]
11480 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11481 if both request failed.
11482 (send_dg): In case of server errors clear resplen or *resplen2.
11483
6b1e7d19
UD
11484 [BZ #12454]
11485 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11486 when there are multiple maps.
11487 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11488 (_dl_fini): Remove test here.
11489
01f16ab0
UD
11490 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11491
b1ebd700
UD
114922011-05-29 Ulrich Drepper <drepper@gmail.com>
11493
7ae22829
UD
11494 [BZ #12350]
11495 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11496 bit from old_res_options.
11497 (gaih_inet): Likewise.
11498
553149f6 11499 [BZ #11099]
18a84741 11500 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
11501 as signed.
11502
652ffab1
UD
11503 * resolv/res_init.c (res_setoptions): Make the code more compact.
11504
16985fd0
UD
11505 [BZ #11558]
11506 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11507 set RES_USEVC.
11508
0464f746
UD
11509 [BZ #11634]
11510 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11511
7d17596c
UD
11512 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11513
cf6bbbd7
UD
11514 [BZ #11781]
11515 * malloc/malloc.h: Declare malloc hook variables as volatile.
11516
13f1ab36
UD
11517 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11518 in last patch.
11519
b1ebd700
UD
11520 [BZ #11799]
11521 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 11522 raise in the comment.
80e2212d
UD
11523 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11524 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11525 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 11526
ce67228d
UD
115272011-05-28 Ulrich Drepper <drepper@gmail.com>
11528
8887a920
UD
11529 [BZ #12811]
11530 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11531 grow the buffers more if it already has to be sufficient.
11532 (build_wcs_upper_buffer): Likewise.
11533 * posix/regexec.c (check_matching): Likewise.
11534 (clean_state_log_if_needed): Likewise.
11535 (extend_buffers): Don't enlarge buffers beyond size of the input
11536 buffer.
11537 Patches mostly by Emil Wojak <emil@wojak.eu>.
11538 * posix/bug-regex32.c: New file.
11539 * posix/Makefile (tests): Add bug-regex32.
11540
4f031072
UD
11541 * locale/findlocale.c (_nl_find_locale): Return right away if
11542 _nl_explode_name failed.
11543 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11544
d0478f0c
UD
11545 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11546
de81b246
UD
11547 * debug/xtrace.sh: Unify messages.
11548 * malloc/memusage.sh: Likewise.
11549
c738465a
UD
11550 [BZ #12813]
11551 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11552 time symbol from vDSO. Substitute with vsyscall if not available.
11553 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11554 __vdso_time.
11555
f1f929d7
UD
11556 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11557 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11558 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11559 Add sendmmsg and internal_sendmmsg.
11560 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11561 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11562 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11563
ce67228d
UD
11564 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11565 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11566 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11567
e57420c6
UD
115682011-05-27 Ulrich Drepper <drepper@gmail.com>
11569
a8509ca5
UD
11570 [BZ #12813]
11571 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11572 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11573 available.
11574 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11575 __vdso_getcpu.
11576
e57420c6
UD
11577 [BZ #12814]
11578 * iconvdata/Makefile (tests): Add bug-iconv9.
11579 * iconvdata/bug-iconv9.c: New file.
11580
4d07db15
AS
115812011-05-27 Andreas Schwab <schwab@redhat.com>
11582
11583 [BZ #12814]
11584 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11585
ea486f69
JJ
115862011-05-25 Jakub Jelinek <jakub@redhat.com>
11587
11588 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11589 (struct user_regs_struct): Change intcs field back to cs.
11590
6f038433
UD
115912011-05-25 Ulrich Drepper <drepper@gmail.com>
11592
11593 * po/ja.po: Update from translation team.
11594
67f86a25
UD
115952011-05-23 Ulrich Drepper <drepper@gmail.com>
11596
11597 [BZ #12795]
11598 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11599 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11600
def7fbd6
AS
116012011-05-20 Andreas Schwab <schwab@redhat.com>
11602
11603 * stdlib/longlong.h: Update from GCC.
11604
f50ef8f1
AS
116052011-05-23 Andreas Schwab <schwab@redhat.com>
11606
11607 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11608 parameter name.
11609 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11610 Add parameter name.
11611 (__sysconf): Pass it down.
11612
de7ce8f1
UD
116132011-05-22 Ulrich Drepper <drepper@gmail.com>
11614
f2962a71
UD
11615 [BZ #12671]
11616 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11617 some situations.
11618 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11619 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11620 add in in __libc_use_alloca calls. Adjust callers.
11621 (glob): Use malloc in some situations.
11622
de7ce8f1
UD
11623 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11624 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11625 pltexit.
11626
aec84f53
UD
116272011-05-21 Ulrich Drepper <drepper@gmail.com>
11628
05bb4a68
UD
11629 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11630 and CLOCK_BOOTTIME_ALARM.
11631
7ea72f99
UD
11632 [BZ #12782]
11633 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11634 is returned.
11635
7e4afad5
UD
11636 * string/_strerror.c (__strerror_r): Print negative errors as signed
11637 numbers.
11638
8e211fec
UD
11639 [BZ #12777]
11640 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11641 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11642 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11643
f7d82dc9
UD
11644 * configure.in: Fix typo in redirection and correct removal of test
11645 files in two cases.
11646
cc9e536d
UD
11647 [BZ #12788]
11648 * locale/setlocale.c (new_composite_name): Fix test to check for
11649 identical name of all categories.
11650
aec84f53
UD
11651 [BZ #12792]
11652 * libio/filedoalloc.c (local_isatty): New function.
11653 (_IO_file_doallocate): Use local_isatty.
11654 * stdio-common/perror.c (perror): In case a new stream is used
11655 forward the stream error.
11656 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11657 error flag.
11658
78e64fdc
RT
116592011-05-20 Ulrich Drepper <drepper@gmail.com>
11660
34a9094f
UD
11661 [BZ #11869]
11662 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11663 alloca.
11664 * include/alloca.h (extend_alloca_account): Define.
11665
78e64fdc
RT
11666 [BZ #11857]
11667 * posix/regex.h: Fix comments with documentation of user-accessible
11668 fields after compilation and describe correct free'ing of pattern
11669 after re_compile_pattern.
11670 Patch by Reuben Thomas <rrt@sc3d.org>.
11671
457bddfc
RA
116722011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11673
11674 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11675 and -mno-altivec to prevent the compiler from using Altivec and/or
11676 VSX instructions when the corresponding registers are not available.
11677
a4527b51
AS
116782011-05-19 Andreas Schwab <schwab@redhat.com>
11679
11680 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11681
ed690b2f
UD
116822011-05-19 Ulrich Drepper <drepper@gmail.com>
11683
11684 * libio/freopen.c (freopen): Use __dup2, not dup2.
11685 * libio/freopen64.c (freopen64): Likewise.
11686
8db73634
L
116872011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11688
11689 [BZ #12775]
11690 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11691 * math/Makefile (tests): Add test-powl.
11692 (CFLAGS-test-powl.c): Define.
11693 * math/test-powl.c: New file.
11694
0a197a9d
L
116952011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11696
11697 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11698
ee30c380
UD
116992011-05-17 Ulrich Drepper <drepper@gmail.com>
11700
11701 [BZ #11837]
11702 * iconvdata/gb18030.c: Update to GB18020-2005.
11703
6ce75379
UD
117042011-05-16 Ulrich Drepper <drepper@gmail.com>
11705
a4b89fd8
AR
11706 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11707 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11708 Patch by Aharon Robbins <arnold@skeeve.com>.
11709
ea389b12
UD
11710 [BZ #11892]
11711 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11712 on the stack.
11713
68a3f91f
UD
11714 [BZ #11895]
11715 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11716 through underflows.
11717
15cc7dd1
UD
11718 [BZ #12766]
11719 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11720 point to strings before performing equality test for error_one_per_line
11721 mode.
11722
f3799213
UD
11723 [BZ #11697]
11724 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11725
d79a9c94
UD
11726 [BZ #11820]
11727 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11728 (struct user_fpregs_struct): Avoid __uint*_t types.
11729
56e5eb46
UD
11730 [BZ #6420]
11731 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11732 symbol info. Use it instead of calling _dl_addr locally.
11733 (lock_and_info): New function.
11734 (tr_freehook): Call lock_and_info and pass symbol info as additional
11735 parameter to tr_where.
11736 (tr_mallochook): Likewise.
11737 (tr_reallochook): Likewise.
11738 (tr_memalignhook): Likewise.
11739
6ce75379
UD
11740 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11741 used and couldn't be at all thread-safe.
11742
f8a3b5bf
UD
117432011-05-15 Ulrich Drepper <drepper@gmail.com>
11744
94b7cc37
UD
11745 * libio/freopen.c (freopen): Don't close old file descriptor
11746 before the new one is opened. Instead dup the new file descriptor
11747 to the old one after the new stream is created.
11748 * libio/freopen64.c (freopen64): Likewise.
11749 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11750 * libio/fileops.c (_IO_new_file_close_it): Handle new
11751 _IO_FLAGS2_NOCLOSE flag.
11752 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11753 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11754 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11755 _IO_FLAGS2_NOCLOSE flag.
11756 * include/unistd.h: Add hidden_proto for dup3.
11757 Define __have_dup3.
11758 * io/dup3.c: Define hidden symbol.
11759 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11760
bd25564e
UD
11761 [BZ #7101]
11762 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11763 when an incomplete long option is used.
11764 * posix/tst-getopt_long1.c: New file.
11765 * posix/Makefile (tests): Add tst-getopt_long1.
11766
c84cfef4
UD
11767 [BZ #10138]
11768 * scripts/config.guess: Update from autoconf-2.68.
11769 * scripts/config.sub: Likewise.
11770
3b85df27
UD
11771 [BZ #10157]
11772 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11773 tests into ...
11774 (has_cpuclock): ...this. New function.
11775 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11776 macro here based on has_cpuclock code.
11777
15a856b1
UD
11778 [BZ #10149]
11779 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11780 First byte (not low byte) is now always NUL.
11781 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11782
05f399e6
UD
11783 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11784 Use non-cancelable interfaces.
11785
10a52685 11786 [BZ #9809]
94ecc67d
UD
11787 * locale/iso-639.def: Add entry for Sorani.
11788
f8a3b5bf
UD
11789 [BZ #11901]
11790 * include/stdlib.h: Move include protection to the right place.
11791 Define abort_msg_s. Declare __abort_msg with it.
11792 * stdlib/abort.c (__abort_msg): Adjust type.
11793 * assert/assert.c (__assert_fail_base): New function. Majority
11794 of code from __assert_fail. Allocate memory for __abort_msg with
11795 mmap.
11796 (__assert_fail): Now call __assert_fail_base.
11797 * assert/assert-perr.c: Remove bulk of implementation. Use
11798 __assert_fail_base.
11799 * include/assert.hL Declare __assert_fail_base.
11800 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11801 mmap.
11802 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11803
1af4e298
UD
118042011-05-14 Ulrich Drepper <drepper@gmail.com>
11805
f8a3b5bf 11806 [BZ #11952]
d26dfc60
MG
11807 [BZ #12453]
11808 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11809 until all modules are registered in the DTV.
11810 * elf/Makefile: Add rules to build and run tst-tls19.
11811 * elf/tst-tls19.c: New file.
11812 * elf/tst-tls19mod1.c: New file.
11813 * elf/tst-tls19mod2.c: New file.
11814 * elf/tst-tls19mod3.c: New file.
11815 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11816
2fc54d6f
UD
11817 [BZ #12083]
11818 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11819 correctly.
11820
98d76b46
UD
11821 [BZ #12601]
11822 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11823 two-byte sequence errors.
11824 * iconvdata/Makefile (tests): Add bug-iconv8.
11825 * iconvdata/bug-iconv8.c: New file.
11826
da3c19ef
UD
11827 [BZ #12626]
11828 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11829 buf2 definition.
11830
ca408c15
UD
11831 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11832
d6f67f7d
UD
11833 [BZ #12432]
11834 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11835 (dummy_getcfa): New function.
11836 (init): Get _Unwind_GetCFA address, use dummy if not found.
11837 (backtrace_helper): In recursion check, also check whether CFA changes.
11838 (__backtrace): Completely initialize arg.
11839
1af4e298 11840 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
11841 storing incomplete byte sequence in state object. Avoid testing for
11842 guaranteed too small input if we know there is enough data available.
1af4e298 11843
da62f81b
AS
118442011-05-11 Andreas Schwab <schwab@redhat.com>
11845
11846 * Makeconfig (+link-pie): Indent.
11847 * Rules (binaries-pie): Define if $(have-fpie) and
11848 $(build-shared).
11849 (binaries-shared): Also filter out $(binaries-pie).
11850 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11851 * nscd/Makefile (others-pie): Add nscd.
11852 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11853 ($(objpfx)nscd): Remove command override.
11854 * login/Makefile (others-pie): Add pt_chown.
11855 ($(objpfx)pt_chown): Remove command override.
11856 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11857 remove command overrides.
11858
fcabc0f8
UD
118592011-05-13 Ulrich Drepper <drepper@gmail.com>
11860
20030ae6
UD
11861 * libio/tst_putwc.c: Fix error messages.
11862
fcabc0f8
UD
11863 [BZ #12724]
11864 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11865 currently writing and seek to current position when not.
11866 * libio/Makefile (tests): Add bug-fclose1.
11867 * libio/bug-fclose1.c: New file.
11868
320a5dc0
PB
118692011-05-12 Ulrich Drepper <drepper@gmail.com>
11870
11871 [BZ #12511]
11872 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11873 don't set DF_1_NODELETE here.
11874 (do_lookup_x): When entering new entry test for copy relocation
11875 and if necessary set DF_1_NODELETE flag.
11876 * elf/tst-unique4.cc: New file.
11877 * elf/tst-unique4.h: New file.
11878 * elf/tst-unique4lib.cc: New file.
11879 * elf/Makefile: Add rules to build and run tst-unique4.
11880 Patch by Piotr Bury <pbury@goahead.com>.
11881
22836f52
UD
118822011-05-11 Ulrich Drepper <drepper@gmail.com>
11883
f574184a
UD
11884 [BZ #12052]
11885 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11886
e1fb097f
UD
11887 [BZ #12625]
11888 * misc/mntent_r.c (addmntent): Flush the stream after the output
11889
22836f52
UD
11890 [BZ #12393]
11891 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11892 (is_trusted_path_normalize): Skip initial colon. Append slash
11893 to empty buffer. Duplicate is_trusted_path code but allow
11894 constructed patch to be prefix.
11895 (is_dst): Allow $ORIGIN followed by /.
11896 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11897 Correct testing of result of is_trusted_path_normalize
11898 (decompose_rpath): Fix warning.
11899
7b3b0b2a
UD
119002011-05-10 Ulrich Drepper <drepper@gmail.com>
11901
11902 [BZ #11257]
11903 * grp/initgroups.c (internal_getgrouplist): When we found the service
11904 list through the initgroups entry in nsswitch.conf do not always
11905 continue on a successful lookup. Don't always use the
eac80ce2 11906 __nss_group_database value if it is set.
7b3b0b2a
UD
11907 * nss/nsswitch.conf (initgroups): Change action for successful db
11908 lookup to continue for compatibility.
11909
2a81eaa5
UD
119102011-05-09 Ulrich Drepper <drepper@gmail.com>
11911
be97a69e
UD
11912 [BZ #11532]
11913 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11914 and CP774 modules.
11915 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11916 and CP774 modules.
11917 * iconvdata/tst-tables.sh: Likewise.
11918 * iconvdata/cp770.c: New file.
11919 * iconvdata/cp771.c: New file.
11920 * iconvdata/cp772.c: New file.
11921 * iconvdata/cp773.c: New file.
11922 * iconvdata/cp774.c: New file.
11923 * iconvdata/testdata/CP770: New file.
11924 * iconvdata/testdata/CP770..UTF8: New file.
11925 * iconvdata/testdata/CP771: New file.
11926 * iconvdata/testdata/CP771..UTF8: New file.
11927 * iconvdata/testdata/CP772: New file.
11928 * iconvdata/testdata/CP772..UTF8: New file.
11929 * iconvdata/testdata/CP773: New file.
11930 * iconvdata/testdata/CP773..UTF8: New file.
11931 * iconvdata/testdata/CP774: New file.
11932 * iconvdata/testdata/CP774..UTF8: New file.
11933
11934 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
11935 END CHARMAP line.
11936 * iconvdata/gen-8bit-gap.sh: Likewise.
11937 * iconvdata/gen-8bit.sh: Likewise.
11938
c1e9e399
UD
11939 * locale/iso-639.def: Add ary entry.
11940
24c55fb3 11941 [BZ #11258]
96b4b1b0
UD
11942 * locale/C-translit.h.in: Add U20A1 transliteration.
11943
bdc2f971
KB
11944 [BZ #12178]
11945 * locale/iso-639.def: Add wae entry.
11946 Patch by Kevin Bortis <bortis@translate-wae.ch>.
11947
2952b117
UD
11948 [BZ #12545]
11949 * locale/programs/localedef.c (construct_output_path): Use ssize_t
11950 for n.
11951
2a81eaa5
UD
11952 [BZ #12711]
11953 * locale/C-translit.h.in: Add entry for U20B9.
11954 Patch by pravin.d.s@gmail.com.
11955
28377d1b
UD
119562011-05-08 Ulrich Drepper <drepper@gmail.com>
11957
7fb90fb8
UD
11958 [BZ #12713]
11959 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
11960 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
11961 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
11962 in rtld. Use *stat64.
7fb90fb8 11963 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 11964 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 11965 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
11966 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
11967 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
11968 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
11969 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
11970 __fstatat64 macros.
7fb90fb8
UD
11971 * include/dirent.h: Add libc_hidden_proto for rewinddir.
11972 * dirent/rewinddir.c: Add libc_hidden_def.
11973 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 11974 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 11975
28377d1b
UD
11976 * include/dirent.h (__alloc_dir): Add flags parameter.
11977 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
11978 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
11979 __alloc_dir.
11980 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
11981 from fdopendir if O_CLOEXEC is already set.
11982
66bdbaa4
AM
119832011-03-15 Alan Modra <amodra@gmail.com>
11984
11985 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
11986 l_tls_firstbyte_offset non-zero. Save padding offset in
11987 l_tls_firstbyte_offset for later use.
11988 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
11989 freeing static tls block.
11990
95721191
JN
119912011-03-05 Jonathan Nieder <jrnieder@gmail.com>
11992
11993 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
11994 where #ifdef was intended. The intent is to prevent ARG_MAX from
11995 being defined by the kernel headers.
11996
f87dfb1f
UD
119972011-05-07 Ulrich Drepper <drepper@gmail.com>
11998
11999 [BZ #12734]
12000 * resolv/resolv.h: Define RES_NOTLDQUERY.
12001 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12002 no-tld-query and set RES_NOTLDQUERY.
12003 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12004 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12005 modern BIND to search name as TLD unless forbidden.
12006
47c3cd7a
UD
120072011-05-07 Petr Baudis <pasky@suse.cz>
12008 Ulrich Drepper <drepper@gmail.com>
12009
12010 [BZ #12393]
12011 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12012 (is_trusted_path): ...to here.
c1e9ea35 12013 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 12014 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 12015 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 12016
8a35c912
PP
120172011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12018
12019 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12020 __BEGIN/__END_DECLS.
12021
acd41f47
UD
120222011-05-06 Ulrich Drepper <drepper@gmail.com>
12023
12024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12025 NSS_STATUS_NOTFOUND if no record was found.
12026
597df647
AS
120272011-05-05 Andreas Schwab <schwab@redhat.com>
12028
12029 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12030 (headers-not-in-tirpc): Remove rpc/netdb.h
12031 * resolv/netdb.h: Revert last change.
12032
b9af1301
PP
120332011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12034
12035 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12036 circular dependency between libgcc.a and libc.a.
12037
4e34d5f5
AS
120382011-05-05 Andreas Schwab <schwab@redhat.com>
12039
12040 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12041 * nis/Makefile: Don't install rpcsvc/*.
12042 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12043 instead of <rpc/types.h>.
12044 (MAXHOSTNAMELEN): Define.
12045
00ee369c
AS
120462011-05-03 Andreas Schwab <schwab@redhat.com>
12047
12048 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12049
0b592a30
MB
120502011-04-28 Maciej Babinski <mbabinski@google.com>
12051
12052 [BZ #12714]
12053 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12054 gethostbyname4_r when IPv6 results are possible.
12055
6e04cbbe
UD
120562011-05-02 Ulrich Drepper <drepper@gmail.com>
12057
12058 [BZ #12723]
12059 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12060 _PC_PIPE_BUF handling.
12061
e4ecafe0
BH
120622011-04-30 Bruno Haible <bruno@clisp.org>
12063
12064 [BZ #12717]
12065 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12066 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12067 to 'int'.
12068 * inet/getnameinfo.c (getnameinfo): Likewise.
12069
125ee683
UD
120702011-04-29 Ulrich Drepper <drepper@gmail.com>
12071
12072 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12073 to groups setting in database lookup.
12074 * nss/nsswitch.conf: Add initgroups entry.
12075
b722481a
EB
120762011-04-22 Ulrich Drepper <drepper@gmail.com>
12077
12078 [BZ #12685]
12079 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12080 mode string.
12081 Patch by Eric Blake <eblake@redhat.com>.
12082
4df46dbd
L
120832011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12084
12085 * sunrpc/Makefile (need-export-routines): Add svc_run.
12086 (routines): Remove svc_run.
12087 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12088 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12089 * sunrpc/svc_run.c (svc_run): Likewise.
12090 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12091
e84142d2
UD
120922011-04-21 Ulrich Drepper <drepper@gmail.com>
12093
12094 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12095 problem in reallocation in last patch.
12096
877175d8
UD
120972011-04-20 Ulrich Drepper <drepper@gmail.com>
12098
12099 * sunrpc/Makefile: Move inclusion of Rules.
12100
ab8eed78
UD
121012011-04-19 Ulrich Drepper <drepper@gmail.com>
12102
12103 * nss/nss_files/files-initgroups.c: New file.
12104 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12105 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12106 _nss_files_initgroups_dyn.
12107
e3d8f584
RS
121082011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12109
12110 * elf/elf.h (R_ARM_IRELATIVE): Define.
12111
af190f45
UD
121122011-04-19 Ulrich Drepper <drepper@gmail.com>
12113
12114 * po/ru.po: Update from translation team.
12115
53cf59ef
UD
121162011-04-17 Ulrich Drepper <drepper@gmail.com>
12117
12118 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12119 dependencies.
12120
4c559bcd
MF
121212011-02-06 Mike Frysinger <vapier@gentoo.org>
12122
12123 [BZ #12653]
12124 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12125 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12126 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12127 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12128 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12129
4420675c
AS
121302011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12131
12132 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12133 differing bytes.
12134 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12135 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12136 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12137
75ea32ab
UD
121382011-04-17 Ulrich Drepper <drepper@gmail.com>
12139
12140 [BZ #12420]
12141 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12142 storing it.
12143 * stdlib/bug-getcontext.c: New file.
12144 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12145
27390476
AK
121462011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12147
12148 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12149 instructions into .machine "z9-109".
12150 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12151 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12152
10442705
AK
121532011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12154
12155 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12156 between environment variables and auxiliary vector.
12157
7b57bfe5
UD
121582011-04-16 Ulrich Drepper <drepper@gmail.com>
12159
12160 * Makefile: Add rules to build linkobj/libc.so.
12161 * include/libc-symbols.h: Define libc_hidden_nolink.
12162 * include/rpc/auth.h: Mark functions which are to be hidden.
12163 * include/rpc/auth_des.h: Likewise.
12164 * include/rpc/auth_unix.h: Likewise.
12165 * include/rpc/clnt.h: Likewise.
12166 * include/rpc/des_crypt.h: Likewise.
12167 * include/rpc/key_prot.h: Likewise.
12168 * include/rpc/pmap_clnt.h: Likewise.
12169 * include/rpc/pmap_prot.h: Likewise.
12170 * include/rpc/pmap_rmt.h: Likewise.
12171 * include/rpc/rpc_msg.h: Likewise.
12172 * include/rpc/svc.h: Likewise.
12173 * include/rpc/svc_auth.h: Likewise.
12174 * include/rpc/xdr.h: Likewise.
12175 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12176 * nss/Makefile: Likewise.
12177 * sunrpc/Makefile: Don't install headers. Build library with normal
12178 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12179 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12180 for the compat linking library. Remove use of INTDEF/INTUSE.
12181 * sunrpc/auth_none.c: Likewise.
12182 * sunrpc/auth_unix.c: Likewise.
12183 * sunrpc/authdes_prot.c: Likewise.
12184 * sunrpc/authuxprot.c: Likewise.
12185 * sunrpc/clnt_gen.c: Likewise.
12186 * sunrpc/clnt_perr.c: Likewise.
12187 * sunrpc/clnt_raw.c: Likewise.
12188 * sunrpc/clnt_simp.c: Likewise.
12189 * sunrpc/clnt_tcp.c: Likewise.
12190 * sunrpc/clnt_udp.c: Likewise.
12191 * sunrpc/clnt_unix.c: Likewise.
12192 * sunrpc/des_crypt.c: Likewise.
12193 * sunrpc/des_soft.c: Likewise.
12194 * sunrpc/get_myaddr.c: Likewise.
12195 * sunrpc/key_call.c: Likewise.
12196 * sunrpc/key_prot.c: Likewise.
12197 * sunrpc/netname.c: Likewise.
12198 * sunrpc/pm_getmaps.c: Likewise.
12199 * sunrpc/pm_getport.c: Likewise.
12200 * sunrpc/pmap_clnt.c: Likewise.
12201 * sunrpc/pmap_prot.c: Likewise.
12202 * sunrpc/pmap_prot2.c: Likewise.
12203 * sunrpc/pmap_rmt.c: Likewise.
12204 * sunrpc/publickey.c: Likewise.
12205 * sunrpc/rpc_cmsg.c: Likewise.
12206 * sunrpc/rpc_common.c: Likewise.
12207 * sunrpc/rpc_dtable.c: Likewise.
12208 * sunrpc/rpc_prot.c: Likewise.
12209 * sunrpc/rpc_thread.c: Likewise.
12210 * sunrpc/rtime.c: Likewise.
12211 * sunrpc/svc.c: Likewise.
12212 * sunrpc/svc_auth.c: Likewise.
12213 * sunrpc/svc_authux.c: Likewise.
12214 * sunrpc/svc_raw.c: Likewise.
12215 * sunrpc/svc_run.c: Likewise.
12216 * sunrpc/svc_simple.c: Likewise.
12217 * sunrpc/svc_tcp.c: Likewise.
12218 * sunrpc/svc_udp.c: Likewise.
12219 * sunrpc/svc_unix.c: Likewise.
12220 * sunrpc/svcauth_des.c: Likewise.
12221 * sunrpc/xcrypt.c: Likewise.
12222 * sunrpc/xdr.c: Likewise.
12223 * sunrpc/xdr_array.c: Likewise.
12224 * sunrpc/xdr_float.c: Likewise.
12225 * sunrpc/xdr_intXX_t.c: Likewise.
12226 * sunrpc/xdr_mem.c: Likewise.
12227 * sunrpc/xdr_rec.c: Likewise.
12228 * sunrpc/xdr_ref.c: Likewise.
12229 * sunrpc/xdr_sizeof.c: Likewise.
12230 * sunrpc/xdr_stdio.c: Likewise.
12231
e6c61494
UD
122322011-04-10 Ulrich Drepper <drepper@gmail.com>
12233
12234 [BZ #12650]
12235 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12236 * sysdeps/ia64/dl-tls.h: Likewise.
12237 * sysdeps/powerpc/dl-tls.h: Likewise.
12238 * sysdeps/s390/dl-tls.h: Likewise.
12239 * sysdeps/sh/dl-tls.h: Likewise.
12240 * sysdeps/sparc/dl-tls.h: Likewise.
12241 * sysdeps/x86_64/dl-tls.h: Likewise.
12242 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12243
34fe483e
AS
122442011-03-14 Andreas Schwab <schwab@redhat.com>
12245
12246 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12247 rpath element also skip the following colon.
12248 (expand_dynamic_string_token): Add is_path parameter and pass
12249 down to DL_DST_REQUIRED and _dl_dst_substitute.
12250 (decompose_rpath): Call expand_dynamic_string_token with
12251 non-zero is_path. Ignore empty rpaths.
12252 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12253 with zero is_path.
12254
f12a32e6
AS
122552011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12256
12257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12258 Make cancelable.
12259
38a7d692
UD
122602011-04-09 Ulrich Drepper <drepper@gmail.com>
12261
12262 [BZ #12655]
12263 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12264 Patch by Filipe David Manana <fdmanana@apache.org>.
12265
e451d22b
AS
122662011-04-07 Andreas Schwab <schwab@redhat.com>
12267
12268 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12269 Maintain aligned stack.
12270 (CHECK_RSP): Remove unused macro.
12271
dedc7c7b
UD
122722011-04-03 Ulrich Drepper <drepper@gmail.com>
12273
12274 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12275 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12276
94521213
UD
122772011-04-02 Ulrich Drepper <drepper@gmail.com>
12278
12279 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12280
8cb700c0 12281 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 12282
0354e355
L
122832011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12284
12285 [BZ #12518]
12286 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12287 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12288 * sysdeps/x86_64/memmove.c: New file.
12289 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12290 (memcpy): Renamed to ...
12291 (__new_memcpy): This.
12292 (memcpy): Provide GLIBC_2_14 memcpy.
12293 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12294 (memcpy): Provide GLIBC_2_2_5 memcpy.
12295
8593482f
UD
122962011-04-01 Ulrich Drepper <drepper@gmail.com>
12297
12298 [BZ #12631]
12299 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12300
81a5726b
AS
123012011-03-30 Andreas Schwab <schwab@redhat.com>
12302
12303 * misc/syncfs.c: New file.
12304 * misc/Makefile (routines): Add syncfs.
12305 * posix/unistd.h: Declare syncfs.
12306 * sysdeps/unix/syscalls.list: Add syncfs.
12307
00e5419f
AS
123082011-04-01 Andreas Schwab <schwab@redhat.com>
12309
12310 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12311 open_by_handle_at.
12312 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12313 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12314 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12315 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12316 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12317 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12318 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12319
748876bf
UD
123202011-04-01 Ulrich Drepper <drepper@gmail.com>
12321
658e451d
UD
12322 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12323 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12324 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12325 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12326 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12328 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12329
748876bf
UD
12330 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12331 sync_file_range.c with -fexceptions.
12332 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12333 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12334 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12335 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12336 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12337 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
12339 sync_file_range as cancellation point
12340 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12341 now a wrapper around __call_sync_file_range with cancellation handling.
12342 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12343 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12344 function name to __call_sync_file_range.
12345 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12346 Add call_sync_file_range.
748876bf 12347
6e63d5e1
AS
123482011-04-01 Andreas Schwab <schwab@redhat.com>
12349
12350 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 12351 bits/timex.h.
6e63d5e1 12352
46998f74
UD
123532011-04-01 Ulrich Drepper <drepper@gmail.com>
12354
4c1423ed
UD
12355 * iconv/iconv.h: Fix typo in comment.
12356 * io/fcntl.h: Likewise.
12357 * libio/stdio.h: Likewise.
12358 * posix/spawn.h: Likewise.
12359 * posix/unistd.h: Likewise.
12360 * stdlib/stdlib.h: Likewise.
12361 * time/time.h: Likewise.
12362 * wcsmbs/wchar.h: Likewise.
12363
158648c0
UD
12364 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12365 open_by_handle): Add.
12366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12367 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12368 Augment a few comments.
12369 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12370 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12371 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12372 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12373 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12374 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12375 open_by_handle.
12376
46998f74
UD
12377 * io/fcntl.h (AT_EMPTY_PATH): Define.
12378
83fe108b
UD
123792011-03-30 Ulrich Drepper <drepper@gmail.com>
12380
12381 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12382 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12383 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12384 to...
12385 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
12386 * Versions.def: Add GLIBC_2.14.
12387 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12388 Export.
83fe108b 12389
bb242059
UD
123902011-03-22 Ulrich Drepper <drepper@gmail.com>
12391
12392 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12393 round counter.
12394 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12395
c97a1282
L
123962011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12397
12398 [BZ #12597]
12399 * string/test-strncmp.c (do_page_test): New function.
12400 (check2): Likewise.
12401 (test_main): Call check2.
12402 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12403
2a115601
UD
124042011-03-20 Ulrich Drepper <drepper@gmail.com>
12405
12406 [BZ #12587]
12407 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12408 Handle cache information in CPU leaf 4.
12409 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12410
8126d904
UD
124112011-03-18 Ulrich Drepper <drepper@gmail.com>
12412
042c49c6 12413 [BZ #12583]
8126d904
UD
12414 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12415 character representation.
12416 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12417
ccfe366e
RA
124182011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12419
12420 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12421 END(__isnan) to END(__isnanf) to match function entry point/label
12422 EALIGN(__isnanf,...).
12423
c6e13027
JJ
124242011-03-10 Jakub Jelinek <jakub@redhat.com>
12425
12426 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12427
33f85a3f
UD
124282011-03-10 Ulrich Drepper <drepper@gmail.com>
12429
028478fa
UD
12430 [BZ #12510]
12431 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12432 copy from the symbol referenced in the relocation to initialize the
12433 used variable.
12434 Patch by Piotr Bury <pbury@goahead.com>.
12435 * elf/Makefile: Add rules to build and tst-unique3.
12436 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12437 * elf/tst-unique3.cc: New file.
12438 * elf/tst-unique3.h: New file.
12439 * elf/tst-unique3lib.cc: New file.
12440 * elf/tst-unique3lib2.cc: New file.
12441
33f85a3f
UD
12442 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12443
03592fc7
MF
124442011-03-10 Mike Frysinger <vapier@gentoo.org>
12445
12446 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12447 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12448 to _start.
03592fc7 12449
6a5ee102
UD
124502011-03-06 Ulrich Drepper <drepper@gmail.com>
12451
12452 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12453 to-be-loaded object along a path to loader is ld.so.
12454
7e4ba49c
HJ
124552011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12456 Ulrich Drepper <drepper@gmail.com>
12457
12458 * sysdeps/x86_64/memset.S: After aligning destination, code
12459 branches to different locations depending on the value of
12460 misalignment, when multiarch is enabled. Fix this.
12461
124622011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12463
12464 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12465 Set _x86_64_preferred_memory_instruction for AMD processsors.
12466 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12467 Set bit_Prefer_SSE_for_memop for AMD processors.
12468
13a804de
UD
124692011-03-04 Ulrich Drepper <drepper@gmail.com>
12470
12471 * libio/fmemopen.c (fmemopen): Optimize a bit.
12472
9d25c392
AS
124732011-03-03 Andreas Schwab <schwab@redhat.com>
12474
12475 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12476
a5543c6a
RM
124772011-03-03 Roland McGrath <roland@redhat.com>
12478
12479 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12480
012d35f7
DM
124812011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12482
7e4ba49c 12483 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
12484 __bzero_ultra1 instead of __memset_ultra1.
12485
4bff6e01
AS
124862011-02-23 Andreas Schwab <schwab@redhat.com>
12487 Ulrich Drepper <drepper@gmail.com>
12488
12489 [BZ #12509]
12490 * include/link.h (struct link_map): Add l_orig_initfini.
12491 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12492 returning unsuccessfully.
12493 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12494 close of a file loaded at startup, restore the original l_initfini
12495 list.
12496 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12497 list, store the pointer.
12498 * elf/Makefile ($(objpfx)noload-mem): New rule.
12499 (noload-ENV): Define.
12500 (tests): Add $(objpfx)noload-mem.
12501 * elf/noload.c: Include <memcheck.h>.
12502 (main): Call mtrace. Close all opened handles.
12503
f2092faf
AS
125042011-02-17 Andreas Schwab <schwab@redhat.com>
12505
12506 [BZ #12454]
12507 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12508 dependencies are missing.
12509
6c8a2e88
ST
125102011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12511
f2092faf 12512 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
12513 Hurd needs munmap.
12514 * sysdeps/mach/hurd/ifreq.h: New file.
12515
84a42118
PB
125162011-01-27 Petr Baudis <pasky@suse.cz>
12517 Ulrich Drepper <drepper@gmail.com>
12518
071f805e 12519 [BZ 12445]#
84a42118
PB
12520 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12521 to extend_alloca().
12522 * stdio-common/bug23.c: New file.
12523 * stdio-common/Makefile (tests): Add bug23.
12524
e23fe25b
AS
125252010-09-28 Andreas Schwab <schwab@redhat.com>
12526 Ulrich Drepper <drepper@gmail.com>
12527
12528 [BZ #12489]
12529 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12530 before performing relro protection. At old place add assertion
12531 to make sure nothing changed.
12532
d3f02e10
NS
125332011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12534 Glauber de Oliveira Costa <glommer@gmail.com>
12535
12536 * elf/elf.h: Add new ARM TLS relocs.
12537
d55fd7a5
RA
125382011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12539
12540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12541 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12542 cast from r3.
12543 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12544 'tests' variable.
12545 * sysdeps/wordsize-64/tst-writev.c: New file.
12546
2206397e
RA
125472011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12548
12549 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12550 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12551 insns in _dl_start to prevent a TOC reference before relocs are
12552 resolved.
12553
e9433893
UD
125542011-02-15 Ulrich Drepper <drepper@gmail.com>
12555
12556 [BZ #12469]
12557 * Makeconfig: Remove RANLIB definition.
12558 * Makerules: Don't use RANLIB.
12559 * aclocal.m4: Remove ranlib test.
12560 * configure.in: No need to check for ranlib.
12561 * elf/rtld-Rules: Don't use RANLIB.
12562
f75286c6
ST
125632011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12564
8e31c82d
ST
12565 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12566 protection macro.
12567 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12568 inclusion protection macro.
12569
f75286c6
ST
12570 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12571 SIGRTMIN and SIGRTMAX and print information in that case only when
12572 SIGRTMIN is defined.
12573
c1d0e639
JJ
125742011-02-11 Jakub Jelinek <jakub@redhat.com>
12575
12576 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12577 arginfo fn returning -1.
12578
12579 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12580 and thousands string is zero terminated.
12581
edf9294e
AS
125822011-02-03 Andreas Schwab <schwab@redhat.com>
12583
12584 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12585 sysdeps/unix/sysv/linux/bits/socket.h.
12586
2b7e92df
ST
125872011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12588
edf9294e
AS
12589 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12590 (__CPU_COUNT): Remove old macros.
12591 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12592 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12593 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
12594 (__sched_cpualloc, __sched_cpufree): Add declarations.
12595
a4c7ea7b
UD
125962011-02-05 Ulrich Drepper <drepper@gmail.com>
12597
12598 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12599 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12600 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12601 (readdhstai): Return value of addhstaiX call.
12602 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12603 (addgrbyX): Return value returned by cache_addgr.
12604 (readdgrbyname): Return value returned by addgrbyX.
12605 (readdgrbygid): Likewise.
12606 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12607 (addpwbyX): Return value returned by cache_addpw.
12608 (readdpwbyname): Return value returned by addhstbyX.
12609 (readdpwbyuid): Likewise.
12610 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12611 (addservbyX): Return value returned by cache_addserv.
12612 (readdservbyname): Return value returned by addservbyX:
12613 (readdservbyport): Likewise.
12614 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12615 (addhstbyX): Return value returned by cache_addhst.
12616 (readdhstbyname): Return value returned by addhstbyX.
12617 (readdhstbyaddr): Likewise.
12618 (readdhstbynamev6): Likewise.
12619 (readdhstbyaddrv6): Likewise.
12620 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12621 (readdinitgroups): Return value returned by addinitgroupsX.
12622 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12623 (prune_cache): Keep track of timeout value of re-added entries.
12624 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12625 * nscd/nscd.h: Adjust prototypes of readd* functions.
12626
a0bf67cc
RM
126272011-02-04 Roland McGrath <roland@redhat.com>
12628
12629 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12630 (nis_stats): Likewise.
12631 * nis/nis_modify.c (nis_modify): Likewise.
12632 * nis/nis_remove.c (nis_remove): Likewise.
12633 * nis/nis_add.c (nis_add): Likewise.
12634
12635 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12636
12637 * posix/fnmatch_loop.c: Add some consts.
12638
12639 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12640
435b95eb
L
126412011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12642
12643 [BZ #12460]
12644 * config.make.in (config-cflags-novzeroupper): Define.
12645 * configure.in: Substitute libc_cv_cc_novzeroupper.
12646 * elf/Makefile (AVX-CFLAGS): Define.
12647 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12648 (CFLAGS-tst-auditmod4a.c): Likewise.
12649 (CFLAGS-tst-auditmod4b.c): Likewise.
12650 (CFLAGS-tst-auditmod6b.c): Likewise.
12651 (CFLAGS-tst-auditmod6c.c): Likewise.
12652 (CFLAGS-tst-auditmod7b.c): Likewise.
12653 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12654
8517b15e
UD
126552011-02-02 Ulrich Drepper <drepper@gmail.com>
12656
12657 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12658 function to the callback.
12659 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12660
10a656fe
AS
126612011-02-02 Andreas Schwab <schwab@redhat.com>
12662
12663 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12664 of errno.
12665
968dad0a
UD
126662011-01-19 Ulrich Drepper <drepper@gmail.com>
12667
9f94d2ea 12668 [BZ #11724]
968dad0a
UD
12669 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12670 of constructors.
12671 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12672 of destructors.
12673 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12674
12675 [BZ #11724]
12676 * elf/Makefile: Add rules to build and run new test.
12677 * elf/tst-initorder.c: New file.
12678 * elf/tst-initorder.exp: New file.
12679 * elf/tst-initordera1.c: New file.
12680 * elf/tst-initordera2.c: New file.
12681 * elf/tst-initordera3.c: New file.
12682 * elf/tst-initordera4.c: New file.
12683 * elf/tst-initorderb1.c: New file.
12684 * elf/tst-initorderb2.c: New file.
12685 * elf/tst-order-a1.c: New file.
12686 * elf/tst-order-a2.c: New file.
12687 * elf/tst-order-a3.c: New file.
12688 * elf/tst-order-a4.c: New file.
12689 * elf/tst-order-b1.c: New file.
12690 * elf/tst-order-b2.c: New file.
12691 * elf/tst-order-main.c: New file.
12692 New test case by George Gensure <werkt0@gmail.com>.
12693
86e92359
UD
126942010-10-01 Andreas Schwab <schwab@redhat.com>
12695
12696 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12697 decoding ACE if AI_CANONIDN.
12698
5d5732b0
UD
126992011-01-18 Ulrich Drepper <drepper@gmail.com>
12700
12701 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12702
a77e8cbc
UD
127032011-01-17 Ulrich Drepper <drepper@gmail.com>
12704
6392473f
UD
12705 * version.h (RELEASE): Bump for 2.13 release.
12706 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12707
620a0529
UD
12708 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12709
18ba70a5
UD
12710 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12711 MADV_NOHUGEPAGE.
32465c3e
UD
12712 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12713 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12714 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12715 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12716 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12717 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12718
c0dafcf1
UD
12719 * posix/getconf.c: Update copyright year.
12720 * catgets/gencat.c: Likewise.
12721 * csu/version.c: Likewise.
12722 * debug/catchsegv.sh: Likewise.
12723 * debug/xtrace.sh: Likewise.
12724 * elf/ldconfig.c: Likewise.
12725 * elf/ldd.bash.in: Likewise.
12726 * elf/sprof.c (print_version): Likewise.
12727 * iconv/iconv_prog.c: Likewise.
12728 * iconv/iconvconfig.c: Likewise.
12729 * locale/programs/locale.c: Likewise.
12730 * locale/programs/localedef.c: Likewise.
12731 * malloc/memusage.sh: Likewise.
12732 * malloc/mtrace.pl: Likewise.
12733 * nscd/nscd.c (print_version): Likewise.
12734 * nss/getent.c: Likewise.
12735
a77e8cbc
UD
12736 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12737 PF_CAIF, and PF_ALG.
12738 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12739
77e8bddf
AS
127402011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12741
1f20b93a
AS
12742 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12743 (modules-names): Use them.
12744 (ifunc-test-modules, ifunc-pie-tests): Define.
12745 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12746 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12747 (test-extras): Likewise.
12748 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12749 $(compile-command.c).
12750 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12751 (all-built-dso): Define.
12752 (check-textrel.out, check-execstack.out): Depend on it.
12753
77e8bddf
AS
12754 * configure.in: Don't override --enable-multi-arch.
12755
bc425b33
UD
127562011-01-15 Ulrich Drepper <drepper@gmail.com>
12757
12758 [BZ #6812]
12759 * nscd/hstcache.c (tryagain): Define.
12760 (cache_addhst): Return tryagain not notfound for temporary errors.
12761 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12762 failed.
12763
794c3ad3
UD
127642011-01-14 Ulrich Drepper <drepper@gmail.com>
12765
70181fdd
UD
12766 [BZ #10563]
12767 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12768 to make the syscall.
12769 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12770
794c3ad3
UD
12771 [BZ #12378]
12772 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12773 and fall back to matching as normal character if the string ends before
12774 the matching ']' is found. This is what POSIX requires.
12775 * posix/testfnm.c: Adjust test result.
12776 * posix/globtest.sh: Adjust test result. Add new test.
12777 * posix/tst-fnmatch.input: Likewise.
12778 * posix/tst-fnmatch2.c: Add new test.
12779
68dc9497
AS
127802010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12781
12782 * elf/Makefile (check-execstack): Revert last change. Depend on
12783 check-execstack.h.
12784 (check-execstack.h): New target.
12785 (generated): Add check-execstack.h.
12786 * elf/check-execstack.c: Include "check-execstack.h".
12787 (main): Revert last change.
12788 (handle_file): Return zero if GNU_STACK is absent and
12789 DEFAULT_STACK_PERMS doesn't include PF_X.
12790
451f001b
UD
127912011-01-13 Ulrich Drepper <drepper@gmail.com>
12792
cfa28e56
UD
12793 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12794 in child fails because the descriptor is already closed.
8cf8ce17
UD
12795 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12796 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12797 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 12798
1086d70d
UD
12799 [BZ #12397]
12800 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12801 syscall.
12802
451f001b
UD
12803 [BZ #10484]
12804 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12805 temporary buffer used to handle multi lookups locally.
a85b5cb4 12806 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 12807
08769175
UD
128082011-01-12 Ulrich Drepper <drepper@gmail.com>
12809
12810 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12811 loader is ld.so.
12812
5e49c52e
UD
128132011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12814
12815 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12816 alignment for SSE2.
12817
60522a5f
UD
128182011-01-12 Ulrich Drepper <drepper@gmail.com>
12819
12820 [BZ #12394]
12821 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12822 characters. When rounding increased number of integer digits recompute
12823 number of groups.
12824 * stdio-common/tst-grouping.c: New file.
12825 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12826
f257bbd7
UD
128272011-01-09 Ulrich Drepper <drepper@gmail.com>
12828
12829 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12830 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12831
12832 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12833 void.
12834 * bits/select.h: Likewise.
12835
fa9c15cb
UD
128362011-01-08 Ulrich Drepper <drepper@gmail.com>
12837
12838 * po/ja.po: Update from translation team.
12839
16c2895f
DM
128402011-01-04 David S. Miller <davem@sunset.davemloft.net>
12841
12842 [BZ #11155]
12843 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12844 implementation just like for lxstat, fxstatat, et al.
12845
2543fef2
JM
128462010-12-27 Jim Meyering <meyering@redhat.com>
12847
12848 [BZ #12348]
12849 * posix/regexec.c (build_trtable): Return failure indication upon
12850 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12851
98727dbe
UD
128522010-12-25 Ulrich Drepper <drepper@gmail.com>
12853
5bd6dc5c
UD
12854 [BZ #12201]
12855 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12856 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12857 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12858 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12859
97983464
UD
12860 [BZ #12207]
12861 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12862
98727dbe
UD
12863 [BZ #12204]
12864 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12865 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12866
4a531bb0
L
128672010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12868
12869 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12870 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12871 script has SORT_BY_INIT_PRIORITY.
12872 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12873 NO_CTORS_DTORS_SECTIONS is defined.
12874 * elf/soinit.c: Likewise.
12875 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12876 NO_CTORS_DTORS_SECTIONS is defined.
12877 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12878 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12879 * sysdeps/sh/init-first.c: Likewise.
12880 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12881
07eb4b71
UD
128822010-12-24 Ulrich Drepper <drepper@gmail.com>
12883
12884 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12885 always use the slow path.
12886
30950a5f
RA
128872010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12888
12889 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12890 similar rule which adds the sysdep directories to the header search in
12891 order to pick up the correct platform stackinfo.h.
12892 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12893 perform test if it is, otherwise return successfully without testing.
12894 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12895 DEFAULT_STACK_PERMS define in stackinfo.h.
12896 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12897 defined in stackinfo.h.
12898 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12899 DEFAULT_STACK_PERMS defined in stackinfo.h.
12900 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12901 * sysdeps/ia64/stackinfo.h: Likewise.
12902 * sysdeps/s390/stackinfo.h: Likewise.
12903 * sysdeps/sh/stackinfo.h: Likewise.
12904 * sysdeps/sparc/stackinfo.h: Likewise.
12905 * sysdeps/x86_64/stackinfo.h: Likewise.
12906 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12907 PF_X for powerpc64. Retain PF_X for powerpc32.
12908
db753e2c
UD
129092010-12-19 Ulrich Drepper <drepper@gmail.com>
12910
14b697f7
UD
12911 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12912 accurately.
db753e2c
UD
12913 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12914 GETDENTS_64BIT_ALIGNED.
12915
28300719
UD
129162010-12-14 Ulrich Drepper <dreper@gmail.com>
12917
14b697f7 12918 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 12919
4f197237
AS
129202010-12-10 Andreas Schwab <schwab@redhat.com>
12921
dbb0472f
AS
12922 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12923 _GNU_SOURCE.
12924
4f197237
AS
12925 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12926 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12927 Remove __restrict.
12928 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12929 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12930
fb88ac72
UD
129312010-12-09 Ulrich Drepper <drepper@gmail.com>
12932
12933 [BZ #11655]
12934 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
12935 are initialized.
12936
42acbb92
JJ
129372010-12-09 Jakub Jelinek <jakub@redhat.com>
12938
12939 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
12940
c038d98d
UD
129412010-12-03 Ulrich Drepper <drepper@gmail.com>
12942
12943 * po/it.po: Update from translation team.
12944
3a4a2499
L
129452010-12-01 H.J. Lu <hongjiu.lu@intel.com>
12946
12947 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
12948 unused codes.
12949
1e24cf6e
UD
129502010-11-30 Ulrich Drepper <drepper@gmail.com>
12951
12952 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
12953
a7690819
AS
129542010-11-24 Andreas Schwab <schwab@redhat.com>
12955
12956 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
12957 specially.
12958 (gaih_getanswer_slice): Likewise.
12959
3bf8d1b1
JJ
129602010-10-20 Jakub Jelinek <jakub@redhat.com>
12961
12962 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
12963
6db52fbb
PB
129642010-05-31 Petr Baudis <pasky@suse.cz>
12965
12966 [BZ #11149]
12967 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
12968 silently even in the chroot mode.
12969
eaca7569
UD
129702010-11-22 Ulrich Drepper <drepper@gmail.com>
12971
12972 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
12973 last patch a bit. Pretty printing
12974
3056dcdb
UD
129752010-05-31 Petr Baudis <pasky@suse.cz>
12976
12977 [BZ #10085]
12978 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
12979 initialization of skip_initgroups_dyn.
12980
cf7c9078
UD
129812010-11-19 Ulrich Drepper <drepper@gmail.com>
12982
12983 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
12984 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12985
a1fb5e3e
UD
129862010-11-16 Ulrich Drepper <drepper@gmail.com>
12987
12988 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
12989
3540d66b
AS
129902010-11-11 Andreas Schwab <schwab@redhat.com>
12991
12992 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
12993 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
12994 (tst-fnmatch-ENV): Set MALLOC_TRACE.
12995 ($(objpfx)tst-fnmatch-mem): New rule.
12996 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
12997 * posix/tst-fnmatch.c (main): Call mtrace.
12998
13b69574
L
129992010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13000
13001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13002 Support Intel processor model 6 and model 0x2c.
13003
da93d214
LM
130042010-11-10 Luis Machado <luisgpm@br.ibm.com>
13005
13006 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13007 signed comparison.
13008
8ca52c6e
L
130092010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13010
13011 [BZ #12205]
13012 * string/test-strncasecmp.c (check_result): New function.
13013 (do_one_test): Use it.
13014 (check1): New function.
13015 (test_main): Use it.
13016 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13017 Support strcasecmp and strncasecmp.
13018
69da074d
UD
130192010-11-08 Ulrich Drepper <drepper@gmail.com>
13020
13021 [BZ #12194]
13022 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13023 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13024
ff02d528
L
130252010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13026
13027 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13028 IFUNC support.
13029 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13030 memset-x86-64.
13031 * sysdeps/x86_64/multiarch/bzero.S: New file.
13032 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13033 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13034 * sysdeps/x86_64/multiarch/memset.S: New file.
13035 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13037 Set bit_Prefer_SSE_for_memop for Intel processors.
13038 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13039 Define.
13040 (index_Prefer_SSE_for_memop): Define.
13041 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13042
344d0b54
LM
130432010-11-04 Luis Machado <luisgpm@br.ibm.com>
13044
13045 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13046 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13047
c0dde15b
UD
130482010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 [BZ #12191]
13051 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13052 (__x86_64_raw_data_cache_size_half): Likewise.
13053 (__x86_64_raw_shared_cache_size): Likewise.
13054 (__x86_64_raw_shared_cache_size_half): Likewise.
13055
13056 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13057 (__x86_64_raw_data_cache_size_half): Likewise.
13058 (__x86_64_raw_shared_cache_size): Likewise.
13059 (__x86_64_raw_shared_cache_size_half): Likewise.
13060 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13061 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13062 and __x86_64_raw_shared_cache_size_half. Round
13063 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13064 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13065 to multiple of 256 bytes.
13066
0e516e0e
MS
130672010-11-03 Ulrich Drepper <drepper@gmail.com>
13068
13069 [BZ #12167]
13070 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13071 of inacessible symlinks. Verify result of symlink before returning it.
13072 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13073 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13074
0e012e87
ER
130752010-10-28 Erich Ritz <erichritz@gmail.com>
13076
13077 * math/math.h (isinf): Fix typo in comment.
13078
de0ff7bc
UD
130792010-11-01 Ulrich Drepper <drepper@gmail.com>
13080
13081 * po/da.po: Update from translation team.
13082
fa41c84d
UD
130832010-10-26 Ulrich Drepper <drepper@gmail.com>
13084
13085 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13086 is added to the list.
13087
f0967738
AK
130882010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13089 Ulrich Drepper <drepper@gmail.com>
13090
13091 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13092 the global list here. Move code to...
13093 (_dl_add_to_namespace_list): ...here. New function.
13094 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13095 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13096 * elf/dl-load.c (lose): Don't remove the element from the list.
13097 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13098 (_dl_map_object): Likewise.
13099
131002010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
13101
13102 [BZ #12159]
13103 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13104 into all bytes of SSE register.
13105 Patch by Richard Li <richardpku@gmail.com>.
13106
f0967738 131072010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
13108
13109 [BZ #12140]
13110 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13111 perturbing.
13112
d0b9e94f
MB
131132010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13114
13115 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13116 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13117 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13118 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13120 submachine.
13121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13122
8e9f92e9
AS
131232010-10-22 Andreas Schwab <schwab@redhat.com>
13124
13125 * include/dlfcn.h (__RTLD_SECURE): Define.
13126 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13127 mode & __RTLD_SECURE instead.
13128 (open_path): Rename preloaded parameter to secure.
13129 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13130 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13131 * elf/dl-deps.c (openaux): Likewise.
13132 * elf/rtld.c (struct map_args): Remove is_preloaded.
13133 (map_doit): Don't use it.
13134 (dl_main): Likewise.
13135 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13136 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13137
bc96fbda
AS
131382010-09-09 Andreas Schwab <schwab@redhat.com>
13139
13140 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13141 (sysd-rules-targets): Remove duplicates.
13142 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13143 rtld-%.$o dependency.
13144
22cd1c9b
AS
131452010-10-18 Andreas Schwab <schwab@redhat.com>
13146
13147 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13148 _dl_map_object do it.
13149
18edac48
UD
131502010-10-19 Ulrich Drepper <drepper@gmail.com>
13151
13152 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13153 fast fma builtins, define the macros in the C99 standard.
13154 (FP_FAST_FMAF): Likewise.
13155 (FP_FAST_FMAL): Likewise.
13156 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13157
13158 * bits/mathdef.h: Update copyright year.
13159 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13160
d2050124
MM
131612010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13162
13163 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13164 builtins, define the macros in the C99 standard.
13165 (FP_FAST_FMAF): Likewise.
13166 (FP_FAST_FMAL): Likewise.
13167 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13168 multiply/add.
13169 (FP_FAST_FMAF): Likewise.
13170
475facd1
JJ
131712010-10-15 Jakub Jelinek <jakub@redhat.com>
13172
13173 [BZ #3268]
13174 * math/libm-test.inc (fma_test): Some new testcases.
13175 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13176 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13177 y and infinite z. Do multiplication by C already in long double.
13178 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13179 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13180 y and infinite z. Do bitwise or of inexact bit into u.d.
13181 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13182 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13183 * sysdeps/i386/fpu/s_fma.S: Removed.
13184 * sysdeps/i386/fpu/s_fmal.S: Removed.
13185
7c08a05c
JJ
131862010-10-16 Jakub Jelinek <jakub@redhat.com>
13187
13188 [BZ #3268]
13189 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13190 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13191 computation is not scheduled after fetestexcept. Fix value
13192 of minimum denormal long double.
13193
f3f7372d
JJ
131942010-10-14 Jakub Jelinek <jakub@redhat.com>
13195
13196 [BZ #3268]
13197 * math/libm-test.inc (fma_test): Add some more tests.
13198 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13199 correctly.
13200
14d43591
AS
132012010-10-15 Andreas Schwab <schwab@redhat.com>
13202
13203 * scripts/data/localplt-s390-linux-gnu.data: New file.
13204 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13205
5e908464
JJ
132062010-10-13 Jakub Jelinek <jakub@redhat.com>
13207
13208 [BZ #3268]
13209 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13210 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13211 instead of dbl-64.
13212 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13213 inlines.
13214 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13215 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13216 if one of x and y is very large and the other is subnormal.
13217 * sysdeps/s390/fpu/s_fmaf.c: New file.
13218 * sysdeps/s390/fpu/s_fma.c: New file.
13219 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13220 * sysdeps/powerpc/fpu/s_fma.S: New file.
13221 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13222 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13223 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13224
132252010-10-12 Jakub Jelinek <jakub@redhat.com>
13226
13227 [BZ #3268]
13228 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13229 fma tests.
13230 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13231 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13232 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13233 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13234 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13235 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13236 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13237
b833d51f
UD
132382010-10-12 Ulrich Drepper <drepper@redhat.com>
13239
13240 [BZ #12078]
13241 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13242 * posix/bug-regex31.input: Add test case.
13243
1751705d
UD
132442010-10-11 Ulrich Drepper <drepper@gmail.com>
13245
e9b9cbf5
UD
13246 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13247 * posix/bug-regex31.input: New file.
13248
13249 [BZ #12078]
13250 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13251 (parse_sub_exp): Fix last change, use postorder.
13252
ef06edbe
UD
13253 * posix/bug-regex31.c: New file.
13254 * posix/Makefile: Add rules to build and run bug-regex31.
13255
a129c80d
UD
13256 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13257
13258 [BZ #12078]
13259 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13260
b76b818e
UD
13261 [BZ #12108]
13262 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13263 to have entries in sys_siglist.
13264
1751705d
UD
13265 [BZ #12093]
13266 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13267 be NULL.
13268
9ff8d36f
JJ
132692010-10-07 Jakub Jelinek <jakub@redhat.com>
13270
13271 [BZ #3268]
13272 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13273 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13274 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13275 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13276 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13277 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13278 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13279 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13280 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13281 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13282 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13283 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13284 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13285 * math/ftestexcept.c (fetestexcept): Likewise.
13286 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13287 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13288 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13289 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13290 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13291 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13292 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13293
af325969
UD
132942010-10-11 Ulrich Drepper <drepper@gmail.com>
13295
c579b202 13296 [BZ #12107]
af325969
UD
13297 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13298 newline.
13299
67a67b95
UD
133002010-10-06 Ulrich Drepper <drepper@gmail.com>
13301
13302 * string/bug-strstr1.c: New file.
13303 * string/Makefile: Add rules to build and run bug-strstr1.
13304
5fb308bc
EB
133052010-10-05 Eric Blake <eblake@redhat.com>
13306
13307 [BZ #12092]
13308 * string/str-two-way.h (two_way_long_needle): Always clear memory
13309 when skipping input due to the shift table.
13310
45db99c7
UD
133112010-10-03 Ulrich Drepper <drepper@gmail.com>
13312
3b111893
UD
13313 [BZ #12005]
13314 * malloc/mcheck.c: Handle large requests.
13315
45db99c7
UD
13316 [BZ #12077]
13317 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13318 for strncmp and strncasecmp.
13319 * string/stratcliff.c: Add tests for strcmp and strncmp.
13320 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13321
cf7a1eb8
NI
133222010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13323
13324 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13325 __set_fpscr.
13326
6484ba5e
AJ
133272010-09-30 Andreas Jaeger <aj@suse.de>
13328
13329 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13330 (CGROUP_SUPER_MAGIC): Define.
13331 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13332 Handle btrfs and cgroup file systems.
13333 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13334 Likewise.
13335
91c42559
LM
133362010-09-27 Luis Machado <luisgpm@br.ibm.com>
13337
13338 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13339 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13340
87a97932
AK
133412010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13342
13343 [BZ #12067]
13344 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13345 trying to locate the ELF header.
13346
c21cc9bc
AS
133472010-09-27 Andreas Schwab <schwab@redhat.com>
13348
13349 [BZ #11611]
13350 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13351 Mask out sign-bit copies when constructing f_fsid.
13352
315970f6
PB
133532010-09-24 Petr Baudis <pasky@suse.cz>
13354
13355 * debug/stack_chk_fail_local.c: Add missing licence exception.
13356 * debug/warning-nop.c: Likewise.
13357
1ac7a2c7
JM
133582010-09-15 Joseph Myers <joseph@codesourcery.com>
13359
13360 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13361 implementing getdents64 using getdents syscall, set d_type if
13362 __ASSUME_GETDENTS32_D_TYPE.
13363
56801c50
AS
133642010-09-16 Andreas Schwab <schwab@redhat.com>
13365
13366 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13367 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13368
dda51327
UD
133692010-09-21 Ulrich Drepper <drepper@redhat.com>
13370
13371 [BZ #12037]
13372 * posix/unistd.h: Undo change of feature selection for ftruncate from
13373 2010-01-11.
13374
8ffcee4a
UD
133752010-09-20 Ulrich Drepper <drepper@redhat.com>
13376
a545ecd9 13377 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
13378 detection.
13379
e24f0a8b
AS
133802010-09-20 Andreas Schwab <schwab@redhat.com>
13381
13382 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13383 fanotify_mark.
13384 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13385
7291c56f
AS
133862010-09-14 Andreas Schwab <schwab@redhat.com>
13387
13388 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13389 variables after CHECK_SP call.
13390 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13391
bc5fb037
AS
133922010-09-13 Andreas Schwab <schwab@redhat.com>
13393 Ulrich Drepper <drepper@redhat.com>
13394
13395 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13396 re-relocationg ld.so.
13397 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13398 _dl_init_paths call.
13399 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13400 here anymore.
13401
e66e7419
UD
134022010-09-14 Ulrich Drepper <drepper@redhat.com>
13403
13404 * resolv/res_init.c (__res_vinit): Count the default server we added.
13405
c044aa75
CLT
134062010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13407 Ulrich Drepper <drepper@redhat.com>
13408
13409 [BZ #11968]
13410 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13411 (____longjmp_chk): Use %ebx for saving value across system call.
13412 Add unwind info.
13413
32cf4069
AS
134142010-09-06 Andreas Schwab <schwab@redhat.com>
13415
13416 * manual/Makefile: Don't mix pattern rules with normal rules.
13417
817328ee
AS
134182010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13419
13420 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13421 operation.
13422 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13423 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13424 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13425 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13426 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13427 Likewise.
13428
29fddf61
UD
134292010-09-04 Ulrich Drepper <drepper@redhat.com>
13430
13431 [BZ #11979]
13432 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13433 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13434
0959ffc9
UD
134352010-09-02 Ulrich Drepper <drepper@redhat.com>
13436
13437 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13438 * sysdeps/x86_64/addmul_1.S: Likewise.
13439 * sysdeps/x86_64/lshift.S: Likewise.
13440 * sysdeps/x86_64/mul_1.S: Likewise.
13441 * sysdeps/x86_64/rshift.S: Likewise.
13442 * sysdeps/x86_64/sub_n.S: Likewise.
13443 * sysdeps/x86_64/submul_1.S: Likewise.
13444
ece29840
ST
134452010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13446
0959ffc9
UD
13447 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13448 Define __sched_param instead of SCHED_* and sched_param when
ece29840 13449 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 13450 * bits/sched.h [__need_schedparam]
ece29840 13451 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
13452 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13453 (__defined_schedparam): Define to 1.
ece29840
ST
13454 (__sched_param): New structure, identical to sched_param.
13455 (__need_schedparam): Undefine.
13456
e53a31fe
MF
134572010-08-31 Mike Frysinger <vapier@gentoo.org>
13458
fdc0c10d
MF
13459 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13460 (epoll_create1): Declare.
13461
e53a31fe
MF
13462 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13463
a726d796
AS
134642010-08-31 Andreas Schwab <schwab@redhat.com>
13465
13466 [BZ #7066]
13467 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13468 shifting retval into place.
13469
2f3e3dc7
UD
134702010-09-01 Ulrich Drepper <drepper@redhat.com>
13471
f2933da9
UD
13472 * nis/rpcsvc/nis.h: Update copyright notice.
13473 * nis/rpcsvc/nis.x: Likewise.
13474 * nis/rpcsvc/nis_callback.h: Likewise.
13475 * nis/rpcsvc/nis_callback.x: Likewise.
13476 * nis/rpcsvc/nis_object.x: Likewise.
13477 * nis/rpcsvc/nis_tags.h: Likewise.
13478 * nis/rpcsvc/yp.h: Likewise.
13479 * nis/rpcsvc/yp.x: Likewise.
13480 * nis/rpcsvc/ypupd.h: Likewise.
13481 * nis/yp_xdr.c: Likewise.
13482 * nis/ypupdate_xdr.c: Likewise.
13483
2f3e3dc7
UD
13484 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13485 mainly the body of pmap_getport. Add parameters to specify timeouts.
13486 (pmap_getport): Use __libc_rpc_getport.
13487 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13488 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13489 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13490
f3dcc2f9
AS
134912010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13492
13493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13494 fanotify_mark.
13495
6d34eb5b
RM
134962010-08-27 Roland McGrath <roland@redhat.com>
13497
13498 * sysdeps/i386/i686/multiarch/Makefile
13499 (CFLAGS-varshift.c): New variable.
13500
9ea3de11
UD
135012010-08-27 Ulrich Drepper <drepper@redhat.com>
13502
c96d23fc
UD
13503 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13504 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13505
9ea3de11
UD
13506 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13507
13508 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13509
623aac7f
L
135102010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13511
13512 * sysdeps/x86_64/strlen.S: Unroll the loop.
13513 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13514 strlen-sse2 strlen-sse2-bsf.
13515 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13516 __strlen_no_bsf if bit_Slow_BSF is set.
13517 (__strlen_sse42): Removed.
13518 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13519 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13520
8b2b7715
RM
135212010-08-25 Roland McGrath <roland@redhat.com>
13522
13523 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13524 * sysdeps/x86_64/multiarch/varshift.c: New file.
13525 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13526 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13527 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13528 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13529
e73015f2
L
135302010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13531
13532 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13533 strlen-sse2 strlen-sse2-bsf.
13534 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13535 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13536 (__strlen_sse2): Removed.
13537 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13538 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13540 bit_Slow_BSF for Atom.
13541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13542 (index_Slow_BSF): Define.
13543 (HAS_SLOW_BSF): Define.
13544
df24a73e
UD
135452010-08-25 Ulrich Drepper <drepper@redhat.com>
13546
13547 [BZ #10851]
13548 * resolv/res_init.c (__res_vinit): When no server address at all
13549 is given default to loopback.
13550
f2ac4868
RM
135512010-08-24 Roland McGrath <roland@redhat.com>
13552
09055553
RM
13553 * configure.in: Remove config-name.h generation.
13554 * configure: Regenerated.
13555 * config-name.in: File removed.
13556 * scripts/config-uname.sh: New file.
13557 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13558 ($(objdir)config-name.h): New target.
13559
f2ac4868
RM
13560 * sunrpc/rpc_parse.h: Avoid nested comment.
13561
73f27d5e
RH
135622010-08-24 Richard Henderson <rth@redhat.com>
13563 Ulrich Drepper <drepper@redhat.com>
13564 H.J. Lu <hongjiu.lu@intel.com>
13565
13566 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13567 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13568 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13569 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13570 _mm_alignr_epi8 with _mm_loadu_si128.
13571 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13572 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13573 (__m128i_shift_right): Removed.
13574 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13575 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13576 * sysdeps/x86_64/multiarch/varshift.h: New file.
13577 * sysdeps/x86_64/multiarch/varshift.S: New file.
13578
84b9230c
MF
135792010-08-21 Mike Frysinger <vapier@gentoo.org>
13580
13581 * configure.in: Move assembler checks to before sysdep dir checking.
13582
9bbd0ddc
PB
135832010-08-20 Petr Baudis <pasky@suse.cz>
13584
13585 * LICENSES: Sync the sunrpc license.
13586
9da4bb31
UD
135872010-08-19 Ulrich Drepper <drepper@redhat.com>
13588
a7ab6ec8
UD
13589 * sunrpc/auth_des.c: Update copyright notice once again.
13590 * sunrpc/auth_none.c: Likewise.
13591 * sunrpc/auth_unix.c: Likewise.
13592 * sunrpc/authdes_prot.c: Likewise.
13593 * sunrpc/authuxprot.c: Likewise.
13594 * sunrpc/bindrsvprt.c: Likewise.
13595 * sunrpc/clnt_gen.c: Likewise.
13596 * sunrpc/clnt_perr.c: Likewise.
13597 * sunrpc/clnt_raw.c: Likewise.
13598 * sunrpc/clnt_simp.c: Likewise.
13599 * sunrpc/clnt_tcp.c: Likewise.
13600 * sunrpc/clnt_udp.c: Likewise.
13601 * sunrpc/clnt_unix.c: Likewise.
13602 * sunrpc/des_crypt.c: Likewise.
13603 * sunrpc/des_soft.c: Likewise.
13604 * sunrpc/get_myaddr.c: Likewise.
13605 * sunrpc/getrpcport.c: Likewise.
13606 * sunrpc/key_call.c: Likewise.
13607 * sunrpc/key_prot.c: Likewise.
13608 * sunrpc/openchild.c: Likewise.
13609 * sunrpc/pm_getmaps.c: Likewise.
13610 * sunrpc/pm_getport.c: Likewise.
13611 * sunrpc/pmap_clnt.c: Likewise.
13612 * sunrpc/pmap_prot.c: Likewise.
13613 * sunrpc/pmap_prot2.c: Likewise.
13614 * sunrpc/pmap_rmt.c: Likewise.
13615 * sunrpc/rpc/auth.h: Likewise.
13616 * sunrpc/rpc/auth_unix.h: Likewise.
13617 * sunrpc/rpc/clnt.h: Likewise.
13618 * sunrpc/rpc/des_crypt.h: Likewise.
13619 * sunrpc/rpc/key_prot.h: Likewise.
13620 * sunrpc/rpc/netdb.h: Likewise.
13621 * sunrpc/rpc/pmap_clnt.h: Likewise.
13622 * sunrpc/rpc/pmap_prot.h: Likewise.
13623 * sunrpc/rpc/pmap_rmt.h: Likewise.
13624 * sunrpc/rpc/rpc.h: Likewise.
13625 * sunrpc/rpc/rpc_des.h: Likewise.
13626 * sunrpc/rpc/rpc_msg.h: Likewise.
13627 * sunrpc/rpc/svc.h: Likewise.
13628 * sunrpc/rpc/svc_auth.h: Likewise.
13629 * sunrpc/rpc/types.h: Likewise.
13630 * sunrpc/rpc/xdr.h: Likewise.
13631 * sunrpc/rpc_clntout.c: Likewise.
13632 * sunrpc/rpc_cmsg.c: Likewise.
13633 * sunrpc/rpc_common.c: Likewise.
13634 * sunrpc/rpc_cout.c: Likewise.
13635 * sunrpc/rpc_dtable.c: Likewise.
13636 * sunrpc/rpc_hout.c: Likewise.
13637 * sunrpc/rpc_main.c: Likewise.
13638 * sunrpc/rpc_parse.c: Likewise.
13639 * sunrpc/rpc_parse.h: Likewise.
13640 * sunrpc/rpc_prot.c: Likewise.
13641 * sunrpc/rpc_sample.c: Likewise.
13642 * sunrpc/rpc_scan.c: Likewise.
13643 * sunrpc/rpc_scan.h: Likewise.
13644 * sunrpc/rpc_svcout.c: Likewise.
13645 * sunrpc/rpc_tblout.c: Likewise.
13646 * sunrpc/rpc_util.c: Likewise.
13647 * sunrpc/rpc_util.h: Likewise.
13648 * sunrpc/rpcinfo.c: Likewise.
13649 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13650 * sunrpc/rpcsvc/key_prot.x: Likewise.
13651 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13652 * sunrpc/rpcsvc/mount.x: Likewise.
13653 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13654 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13655 * sunrpc/rpcsvc/rex.x: Likewise.
13656 * sunrpc/rpcsvc/rstat.x: Likewise.
13657 * sunrpc/rpcsvc/rusers.x: Likewise.
13658 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13659 * sunrpc/rpcsvc/spray.x: Likewise.
13660 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13661 * sunrpc/rtime.c: Likewise.
13662 * sunrpc/svc.c: Likewise.
13663 * sunrpc/svc_auth.c: Likewise.
13664 * sunrpc/svc_authux.c: Likewise.
13665 * sunrpc/svc_raw.c: Likewise.
13666 * sunrpc/svc_run.c: Likewise.
13667 * sunrpc/svc_simple.c: Likewise.
13668 * sunrpc/svc_tcp.c: Likewise.
13669 * sunrpc/svc_udp.c: Likewise.
13670 * sunrpc/svc_unix.c: Likewise.
13671 * sunrpc/svcauth_des.c: Likewise.
13672 * sunrpc/xcrypt.c: Likewise.
13673 * sunrpc/xdr.c: Likewise.
13674 * sunrpc/xdr_array.c: Likewise.
13675 * sunrpc/xdr_float.c: Likewise.
13676 * sunrpc/xdr_mem.c: Likewise.
13677 * sunrpc/xdr_rec.c: Likewise.
13678 * sunrpc/xdr_ref.c: Likewise.
13679 * sunrpc/xdr_sizeof.c: Likewise.
13680 * sunrpc/xdr_stdio.c: Likewise.
13681
9da4bb31
UD
13682 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13683 handling.
13684
bdaa77bc
AS
136852010-08-19 Andreas Schwab <schwab@redhat.com>
13686
13687 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13688
fe2f79db
LM
136892010-08-19 Luis Machado <luisgpm@br.ibm.com>
13690
13691 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13692 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13693 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13694 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13695 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13696 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13697 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13698 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13699 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13700 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13701 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13702 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13703 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13704 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13705
b9b42ee0
AB
137062010-07-26 Anton Blanchard <anton@samba.org>
13707
13708 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13709 * malloc/arena.c (heap_trim): Likewise.
13710
1c06ba31
UD
137112010-08-16 Ulrich Drepper <drepper@redhat.com>
13712
13713 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13714 here. Not...
13715 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13716 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13717
f8392f40
L
137182010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13719
13720 * sysdeps/i386/elf/Makefile: New file.
13721
3162f12e
AS
137222010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13723
13724 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13725 from fanotify_init.
13726 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13727 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13728
28c90b2c
UD
137292010-08-15 Ulrich Drepper <drepper@redhat.com>
13730
13731 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13732 of strncasecmp_l.
1feccb6c 13733 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 13734
ca6bb004
UD
137352010-08-14 Ulrich Drepper <drepper@redhat.com>
13736
e9f82e0d
UD
13737 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13738 strncase_l-nonascii.
13739 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13740 Add strncase_l-ssse3.
13741 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13742 * sysdeps/x86_64/strcmp.S: Likewise.
13743 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13744 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13745 * sysdeps/x86_64/strncase.S: New file.
13746 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13747 * sysdeps/x86_64/strncase_l.S: New file.
13748 * string/Makefile (strop-tests): Add strncasecmp.
13749 * string/test-strncasecmp.c: New file.
13750
13751 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13752 warning.
13753
ca6bb004
UD
13754 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13755 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13756
052fa7b3
AS
137572010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13758
13759 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13760
962dba78
UD
137612010-08-12 Ulrich Drepper <drepper@redhat.com>
13762
13763 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13764 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13765 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13766
bebff237
AM
137672010-05-01 Alan Modra <amodra@gmail.com>
13768
13769 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13770 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13771 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13772 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13773 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13774 tidying. Don't tail-call __sigjmp_save for static lib.
13775 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13776 save location.
13777 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13778 (CALL_MCOUNT): Add eh info, and nop after bl.
13779 (TAIL_CALL_SYSCALL_ERROR): New macro.
13780 (PSEUDO_RET): Use it.
13781 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13782 Correct save location of integer regs and cr.
13783 (_dl_profile_resolve): Correct cr save location. Delete nops
13784 after bl when SHARED. Reduce cfi size a little by better
13785 placement of cfi directives.
13786 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13787 make a stack frame. Instead use parm save area as a temp.
13788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13789 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13791 Don't make a stack frame for parent, use parm save area.
13792 Increase child stack frame to 112 bytes. Don't save unused reg,
13793 and adjust reg usage. Set up cfi on error recovery and
13794 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13796 (__makecontext): Add dummy nop after jump to exit.
13797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13798 Use correct parm save area and cr save, reduce stack frame.
13799 Correct cfi for possible PSEUDO_RET frame setup.
13800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13801 Branch to local label emitted by PSEUDO_RET rather than
13802 __syscall_error.
13803
02637374
AS
138042010-08-12 Andreas Schwab <schwab@redhat.com>
13805
13806 [BZ #11904]
13807 * locale/programs/locale.c (print_assignment): New function.
13808 (show_locale_vars): Use it.
13809
c3e2f19b
UD
138102010-08-11 Ulrich Drepper <drepper@redhat.com>
13811
3cdaa6ad
UD
13812 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13813 field.
13814 (struct statfs64): Likewise.
13815 (_STATFS_F_FLAGS): Define.
13816 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13817 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13818 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13819 (ST_VALID): Define locally.
13820 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13821 __statvfs_getflags, use the provided value.
13822 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13823 __ASSUME_STATFS_F_FLAGS.
13824
754f7da3
UD
13825 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13826
10b3bedc
UD
13827 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13828 Add sys/fanotify.h.
13829 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13830 fanotify_mask for GLIBC_2.13.
13831 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13832 fanotify_init and fanotify_mark.
13833 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13834 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13835
c08fb0d7
UD
13836 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13837 Add prlimit.
13838 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13839 prlimit64 for GLIBC_2.13.
13840 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13841 prlimit64.
13842 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13843 syscall.
13844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13845 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13846 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13847 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13848 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13849 add prlimit alias.
13850 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13851
15bac72b
UD
13852 [BZ #11903]
13853 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13854 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13855
c3e2f19b
UD
13856 * nss/Makefile: Add rules to build and run tst-nss-test1.
13857 * shlib-versions: Add entry for libnss_test1.
13858 * nss/nss_test1.c: New file.
13859 * nss/tst-nss-test1.c: New file.
13860
13861 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13862 (__nss_configure_lookup): Set appropriate entry in
13863 __nss_configure_lookup to true.
13864 * nss/nsswitch.h: Define enum with indeces of databases in
13865 databases and __nss_database_custom arrays. Declare
13866 __nss_database_custom.
13867 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13868 to avoid using nscd when custom rules are installed.
13869 * nss/getXXbyYY_r.c: Likewise.
13870 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13871
13872 * nss/nss_files/files-parse.c: Whitespace fixes.
13873
f15ce4d8
UD
138742010-08-09 Ulrich Drepper <drepper@redhat.com>
13875
13876 [BZ #11883]
13877 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13878 * posix/fnmatch_loop.c: Likewise.
13879
d22e4cc9
AK
138802010-07-17 Andi Kleen <ak@linux.intel.com>
13881
13882 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13883 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13884 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13885 * Versions.def [GLIBC_2.13]: Add.
13886
805bc17d
UD
138872010-08-06 Ulrich Drepper <drepper@redhat.com>
13888
13889 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13890 Also fail if tpwd after pwuid call is NULL.
13891
5a42321d
ST
138922010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13893
13894 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13895 when converting to ms.
13896
fd3ebeda
ST
138972010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13898
13899 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13900 EOPNOTSUPP errors with ENOTTY.
13901 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13902 EOPNOTSUPP errors with ENOTTY.
13903
73507d3a
UD
139042010-07-31 Ulrich Drepper <drepper@redhat.com>
13905
13906 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13907 Add strcasecmp_l-ssse3.
13908 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13909 strcasecmp.
13910 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13911 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13912 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13913
fe36dd02
UD
139142010-07-30 Ulrich Drepper <drepper@redhat.com>
13915
66f6765a
UD
13916 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13917
42e08a54
UD
13918 * string/Makefile (strop-tests): Add strcasecmp.
13919 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13920 strcasecmp_l-nonascii.
13921 (gen-as-const-headers): Add locale-defines.sym.
13922 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13923 * sysdeps/x86_64/strcasecmp.S: New file.
13924 * sysdeps/x86_64/strcasecmp_l.S: New file.
13925 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13926 * sysdeps/x86_64/locale-defines.sym: New file.
13927 * string/test-strcasecmp.c: New file.
13928
fe36dd02
UD
13929 * string/test-strcasestr.c: Test both ends of the range of characters.
13930 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13931
48cbc0d6
RM
139322010-07-29 Roland McGrath <roland@redhat.com>
13933
76e6d6bc 13934 [BZ #11856]
48cbc0d6
RM
13935 * manual/locale.texi (Yes-or-No Questions): Fix example code.
13936
880113d9
UD
139372010-07-27 Ulrich Drepper <drepper@redhat.com>
13938
13939 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
13940 for ld.so.
13941
deb9cabb
AS
139422010-07-27 Andreas Schwab <schwab@redhat.com>
13943
13944 * manual/memory.texi (Malloc Tunable Parameters): Document
13945 M_PERTURB.
13946
1c7570ff
RM
139472010-07-26 Roland McGrath <roland@redhat.com>
13948
13949 [BZ #11840]
13950 * configure.in (-fgnu89-inline check): Set and substitute
13951 gnu89_inline, not libc_cv_gnu89_inline.
13952 * configure: Regenerated.
13953 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
13954
24fb0f88
UD
139552010-07-26 Ulrich Drepper <drepper@redhat.com>
13956
13957 * string/test-strnlen.c: New file.
13958 * string/Makefile (strop-tests): Add strnlen.
13959 * string/tester.c (test_strnlen): Add a few more test cases.
13960 * string/tst-strlen.c: Better error reporting.
13961
13962 * sysdeps/x86_64/strnlen.S: New file.
13963
8e96b93a
UD
139642010-07-24 Ulrich Drepper <drepper@redhat.com>
13965
13966 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
13967 lower-latency instructions.
13968
dbc676d4
UD
139692010-07-23 Ulrich Drepper <drepper@redhat.com>
13970
13971 * string/test-strcasestr.c: New file.
13972 * string/test-strstr.c: New file.
13973 * string/Makefile (strop-tests): Add strstr and strcasestr.
13974 * string/str-two-way.h: Don't undefine MAX.
13975 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
13976
f6a31e0e
AS
139772010-07-21 Andreas Schwab <schwab@redhat.com>
13978
13979 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13980 strcasestr-nonascii.
13981 (CFLAGS-strcasestr-nonascii.c): Define.
13982 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
13983 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
13984 Remove unused attribute.
13985
5dbc3b6c
RM
139862010-07-20 Roland McGrath <roland@redhat.com>
13987
13988 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
13989 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
13990 ld.so.cache was broken. With it, there is no way to disable dsocaps
13991 like LD_HWCAP_MASK can disable hwcaps.
13992
23d101d8
EPM
139932010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
13994
13995 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
13996
cc9f2e47
UD
139972010-07-16 Ulrich Drepper <drepper@redhat.com>
13998
13999 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14000 call in strcasestr.
14001 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14002 __strcasestr_sse42_nonascii.
14003 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14004 strcasestr-nonascii.c.
14005 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14006
77c1b069
LM
140072010-06-15 Luis Machado <luisgpm@br.ibm.com>
14008
14009 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14010 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14011 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14012 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14013
440566c3
UD
140142010-07-09 Ulrich Drepper <drepper@redhat.com>
14015
14016 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14017 fcntl.
14018
5be9d05d
AS
140192010-07-06 Andreas Schwab <schwab@redhat.com>
14020
c30b7ee2 14021 [BZ #11577]
5be9d05d
AS
14022 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14023 dl_signal_cerror.
14024
8a492a67
UD
140252010-07-06 Ulrich Drepper <drepper@redhat.com>
14026
14027 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14028 _PC_PIPE_BUF using F_GETPIPE_SZ.
14029
713df3d5
RM
140302010-07-05 Roland McGrath <roland@redhat.com>
14031
14032 * manual/arith.texi (Rounding Functions): Fix rint description
14033 implicit in round description.
14034
702e8f14
UD
140352010-07-02 Ulrich Drepper <drepper@redhat.com>
14036
14037 * elf/Makefile: Fix linking for a few tests to make recent linker
14038 happy.
14039
52ed8be9
AS
140402010-06-30 Andreas Schwab <schwab@redhat.com>
14041
14042 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14043 $(common-objpfx)libc_nonshared.a.
14044
f47c9a11
LM
140452010-06-21 Luis Machado <luisgpm@br.ibm.com>
14046
14047 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14048 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14049 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14050 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14051 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14052 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14053 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14054 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14057 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14058 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14061 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14069 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14070 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14071 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14072 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14073 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14074 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14075 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14076 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14077 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14078 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14079 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14080 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14095
6fb8cbcb
L
140962010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14097
14098 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14099 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14100 * string/memmove.c (memmove): Renamed to ...
14101 (MEMMOVE): ...this. Default to memmove.
14102 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14103 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14104 (END_CHK): Define.
14105 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14106 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14107 mempcpy-ssse3-back memmove-ssse3-back.
14108 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14109 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14111 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14112 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14113 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14114 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14115 * sysdeps/x86_64/multiarch/memmove.c: New file.
14116 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14117 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14118 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14119 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14120 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14121 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14122 Define.
14123 (index_Fast_Copy_Backward): Define.
14124 (HAS_ARCH_FEATURE): Define.
14125 (HAS_FAST_REP_STRING): Define.
14126 (HAS_FAST_COPY_BACKWARD): Define.
14127
4e733bac 141282010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
14129
14130 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14131 Restore proper fallback handling.
14132
63c4ed22
UD
141332010-06-19 Ulrich Drepper <drepper@redhat.com>
14134
ac2b484c
UD
14135 [BZ #11701]
14136 * posix/group_member.c (__group_member): Correct checking loop.
14137
63c4ed22
UD
14138 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14139 OOM in getpwuid_r correctly. Return error number when the caller
14140 should return, otherwise -1.
14141 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14142 call returning > 0 value.
14143 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14144
765ade4b
AS
141452010-06-07 Andreas Schwab <schwab@redhat.com>
14146
14147 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14148 libc_nonshared.a from targets in modules-names.
14149
80da2e09
KS
141502010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14151
14152 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14153 requires it.
14154
158db122
LM
141552010-06-10 Luis Machado <luisgpm@br.ibm.com>
14156
14157 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14158 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14159 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14160 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14161
caa78cf8
AS
141622010-06-02 Andreas Schwab <schwab@redhat.com>
14163
14164 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14165
b2ef2c01
UD
141662010-06-14 Ulrich Drepper <drepper@redhat.com>
14167
14168 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14169 and F_GETPIPE_SZ.
14170 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14171 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14172 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14173 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14174 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14175 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14176
fbd643b6
RM
141772010-06-14 Roland McGrath <roland@redhat.com>
14178
14179 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14180
f32f2869
JJ
141812010-06-07 Jakub Jelinek <jakub@redhat.com>
14182
14183 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14184 __REDIRECT followed by __THROW.
14185 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14186 * posix/getopt.h (getopt): Likewise.
14187
2a50c078
EPM
141882010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14189
14190 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14191 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14192 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14193 in AT_FLAGS.
14194 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14195 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14196
eb5ad2eb
LM
141972010-05-28 Luis Machado <luisgpm@br.ibm.com>
14198
14199 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14200
3c88fe1e
L
142012010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14202
14203 [BZ #11640]
14204 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14205 Properly check family and model.
14206
d2f73151
TY
142072010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14208
14209 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14210
ebd2e13d
LM
142112010-05-24 Luis Machado <luisgpm@br.ibm.com>
14212
14213 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14214
b32b8b45
UD
142152010-05-21 Ulrich Drepper <drepper@redhat.com>
14216
14217 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14218 symbol reference.
14219
9acbe24d
AS
142202010-05-19 Andreas Schwab <schwab@redhat.com>
14221
14222 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14223 symbol reference.
14224
f0ccf6ea
AS
142252010-05-21 Andreas Schwab <schwab@redhat.com>
14226
3d04ff3a
AS
14227 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14228 and internal_recvmmsg.
14229 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14230 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14231 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14232 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14233
f0ccf6ea
AS
14234 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14235 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14236 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14237
5b08ac57
AS
142382010-05-20 Andreas Schwab <schwab@redhat.com>
14239
14240 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14241
4828935d
LM
142422010-05-17 Luis Machado <luisgpm@br.ibm.com>
14243
14244 POWER7 optimizations.
14245 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14246 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14247
373d545e
UD
142482010-05-19 Ulrich Drepper <drepper@redhat.com>
14249
14250 * version.h: Update for 2.13 development version.
14251
21a2b1ae
AS
142522010-05-12 Andrew Stubbs <ams@codesourcery.com>
14253
14254 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14255 exceptions. Return 0.
14256
3f7dcb2b
RM
142572010-05-07 Roland McGrath <roland@redhat.com>
14258
14259 * elf/ldconfig.c (main): Add a const.
14260
5f24d53a 142612010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 14262
a160f8d8
UD
14263 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14264 (args_options): Add no-idn option.
14265 (ahosts_keys_int): Add idn_flags to ai_flags.
14266 (parse_option): Handle 'i' option to clear idn_flags.
14267
5f24d53a
UD
14268 * malloc/malloc.c (_int_free): Possible race in the most recently
14269 added check. Only act on the data if no current modification
14270 happened.
265bb1ce
UD
14271
14272See ChangeLog.17 for earlier changes.