]> sourceware.org Git - glibc.git/blob - ChangeLog
Avoid plain "aligned" attributes in installed headers.
[glibc.git] / ChangeLog
1 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #14109]
4 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
5 __aligned__ in attribute.
6 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
7 (gregset_t): Likewise.
8
9 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
10
11 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
12 and access return value for _dl_profile_fixup. Use R10_LP to
13 load frame size.
14
15 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
16
17 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
18
19 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
20
21 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22 * sysdeps/x86_64/x32/sysdep.h: New file.
23
24 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
25
26 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
27 * sysdeps/x86_64/setjmp.S: Likewise.
28
29 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30
31 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
34 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
35 remove unused global constant.
36
37 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
38
39 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40 include of <not-cancel.h>.
41
42 2012-05-15 Roland McGrath <roland@hack.frob.com>
43
44 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
45
46 2012-05-15 Jeff Law <law@redhat.com>
47 Andreas Jaeger <aj@suse.de>
48
49 [BZ #13594]
50 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
51 out from...
52 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
53 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
54 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
55 code changing __hst_map_handle.map.
56
57 2012-05-15 Roland McGrath <roland@hack.frob.com>
58
59 * configure.in (sysnames): Look for Implies-before and Implies-after
60 files.
61 * configure: Regenerated.
62
63 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
64
65 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
66 8-byte data alignment with LP_SIZE alignment.
67
68 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
69
70 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71 into R10_LP.
72
73 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
74
75 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
76
77 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
78
79 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
80 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82 Likewise.
83 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
84
85 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
86
87 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
88 (stackinfo_sub_sp): Likewise.
89
90 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
91
92 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
93 RAX_LP.
94
95 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
96
97 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
98 into R*_LP.
99
100 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
101
102 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
103 sizes into R*_LP.
104
105 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
106
107 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
108
109 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
110
111 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
112 into R11_LP and load __x86_64_shared_cache_size_half into
113 R8_LP.
114
115 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
116
117 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
118 R8_LP.
119
120 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
121
122 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
123 logb for POWER7.
124 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
125 logbf for POWER7.
126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
127 logbl for POWER7.
128 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
129 powerpc32/power7/fpu/s_logb.c via #include.
130 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
131 powerpc32/power7/fpu/s_logbf.c via #include.
132 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
133 powerpc32/power7/fpu/s_logbl.c via #include.
134
135 2012-05-15 Joseph Myers <joseph@codesourcery.com>
136
137 * README.libm: Remove file.
138
139 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
140
141 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
142 count for x32. Use R*_LP and omit operand-size suffix.
143
144 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
145
146 * shlib-versions: Move x86_64-.*-linux.* entries to ...
147 * sysdeps/x86_64/64/shlib-versions: Here. New file.
148 * sysdeps/x86_64/x32/shlib-versions: New file.
149
150 2012-05-14 Roland McGrath <roland@hack.frob.com>
151
152 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
153 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
154 Use _dl_fatal_printf instead.
155
156 2012-05-14 Joseph Myers <joseph@codesourcery.com>
157
158 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
159 set if not set by the user. Do not allow for being unset.
160 * sysdeps/unix/sysv/linux/configure: Regenerated.
161
162 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
163
164 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
165 the `q' suffix from lea and replace .quad with ASM_ADDR.
166
167 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
168
169 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
170 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
171 instead of $17.
172 (PTR_DEMANGLE): Likewise.
173
174 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
175
176 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
177 (LP_OP): Likewise.
178 (ASM_ADDR): Likewise.
179 (RAX_LP): Likewise.
180 (RBP_LP): Likewise.
181 (RBX_LP): Likewise.
182 (RCX_LP): Likewise.
183 (RDI_LP): Likewise.
184 (RSI_LP): Likewise.
185 (RSP_LP): Likewise.
186 (R8_LP): Likewise.
187 (R9_LP): Likewise.
188 (R10_LP): Likewise.
189 (R10_LP): Likewise.
190 (R11_LP): Likewise.
191 (R12_LP): Likewise.
192 (R13_LP): Likewise.
193 (R14_LP): Likewise.
194 (R15_LP): Likewise.
195
196 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
197
198 * sysdeps/x86_64/x32/dl-machine.h: New file.
199
200 2012-05-14 Andreas Jaeger <aj@suse.de>
201
202 * manual/Makefile (subdir): Remove export of subdir.
203 (all): Remove target.
204 (.PHONY): Remove all from list.
205 (mkinstalldirs): Remove.
206 (.PHONY): Remove installdirs from list.
207 ($(inst_infodir)/libc.info): Use make-target-directory.
208 (installdirs): Remove.
209 (subdir_%): Remove.
210 (glibc-targets): Remove.
211 (lib): Remove.
212 (stubs): Remove.
213 ($(objpfx)stubs ../po/manual.pot): Remove.
214 ($(objpfx)stamp%): Remove.
215 (make-target-directory): Remove.
216 (subdir_install): Remove.
217 (routines): Remove.
218 (aux): Remove.
219 (sources): Remove.
220 (objects): Remove.
221 (headers): Remove.
222
223 [BZ #13750]
224 * manual/.gitignore: Remove, it's not needed anymore.
225 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
226 all files in it.
227 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
228 directory.
229 (texis): Renamed to $(objpfx)texis.
230 (texis-path): New, contains path to generated files.
231 (chapters.%): Use texis-path for complete path, add extra argument
232 libc-texinfo.sh.
233 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
234 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
235 (summary,texi, stamp-summary): Use complete path of
236 files. Generate files in build dir.
237 (dir-add.texi): Build in build dir.
238 (libm-err.texi,stamp-libm-err): Likewise.
239 (version.texi, stamp-version): Likewise.
240 (.%c.texi): Likewise.
241 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
242 (mostlyclean): Remove target.
243 (realclean): Remove target.
244 (generated): Add new variable with contents from mostlyclean and
245 realclean, remove entries duplicated in common-mostlyclean, add
246 stamp-libm-err and stamp-version.
247 (generated-dirs): Add libc directory.
248 ($(inst_infodir)/libc.info): Install files from build dir.
249
250 * manual/install.texi (Configuring and compiling): Adjust since
251 the info files are not part of the tar ball anymore.
252
253 2012-05-14 Andreas Jaeger <aj@suse.de>
254
255 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
256 variable.
257
258 2012-05-14 Joseph Myers <joseph@codesourcery.com>
259
260 [BZ #13717]
261 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
262 to 2.2.0 where earlier.
263 * sysdeps/unix/sysv/linux/configure: Regenerated.
264 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
265 Remove conditional code.
266 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
267 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
268 Remove conditional code.
269 [!__NR_lchown]: Likewise.
270 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
271 [__NR_lchown]: Likewise.
272 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
273 comment referencing __ASSUME_LCHOWN_SYSCALL.
274 * sysdeps/unix/sysv/linux/i386/sigaction.c
275 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
276 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
277 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
278 Remove conditional code.
279 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
280 (__protocol_available): Remove #if 0 code.
281 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
282 conditional code.
283 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
284 * sysdeps/unix/sysv/linux/kernel-features.h
285 (__ASSUME_GETCWD_SYSCALL): Don't define.
286 (__ASSUME_REALTIME_SIGNALS): Likewise.
287 (__ASSUME_PREAD_SYSCALL): Likewise.
288 (__ASSUME_PWRITE_SYSCALL): Likewise.
289 (__ASSUME_POLL_SYSCALL): Likewise.
290 (__ASSUME_LCHOWN_SYSCALL): Likewise.
291 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
292 non-SPARC.
293 (__ASSUME_SIOCGIFNAME): Don't define.
294 (__ASSUME_MSG_NOSIGNAL): Likewise.
295 (__ASSUME_SENDFILE): Define unconditionally.
296 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
297 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
298 conditional code.
299 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
300 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
301 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
302 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
304 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
305 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
307 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
310 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
311 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
316 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
319 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
320 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
322 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
325 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
326 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
328 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
330 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
331 Remove conditional code.
332 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
333 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
334 Remove conditional code.
335 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
336 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
337 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
338 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
339 Remove conditional code.
340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
341 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
342 Remove conditional code.
343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
344 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
345 Remove conditional code.
346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
347 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
348 Remove conditional code.
349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
350 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
351 Remove conditional code.
352 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
353 * sysdeps/unix/sysv/linux/sh/pwrite64.c
354 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
355 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
356 * sysdeps/unix/sysv/linux/sigaction.c
357 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
358 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
359 * sysdeps/unix/sysv/linux/sigpending.c
360 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
361 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
362 * sysdeps/unix/sysv/linux/sigprocmask.c
363 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
364 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
365 * sysdeps/unix/sysv/linux/sigsuspend.c
366 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
367 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
368 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
369 (__libc_missing_rt_sigs): Remove.
370 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
371 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
372 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
373 Remove conditional code.
374 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
375 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
376 return 1.
377 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
378 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
379 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
380 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
381
382 2012-05-14 Andreas Jaeger <aj@suse.de>
383
384 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
385 it's not used in glibc.
386 (__coshm1): Likewise.
387 (__acosh1p): Likewise.
388 (__sgn): Likewise.
389
390 * manual/string.texi (Copying and Concatenation): Add missing
391 variable in concat example.
392 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
393
394 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
395
396 [BZ #14103]
397 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
398 __builtin_clzl with __builtin_clzll.
399
400 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
401
402 [BZ #14104]
403 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
404 libc_freeres_ptr.
405
406 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
407
408 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
409 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
410 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
411 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
412
413 2012-05-14 Mike Frysinger <vapier@gentoo.org>
414
415 * NEWS: Update ia64 info.
416
417 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
418
419 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
420 used as bcopy.
421
422 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
423
424 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
425 * sysdeps/unix/syscalls.list (dup3): Likewise.
426 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
427 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
428
429 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
430
431 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
432 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
433
434 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
435
436 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
437 thread pointer.
438 (TLS_IE): Use mov/add instead of movq/addq to load thread
439 pointer.
440 (TLS_GD_PREFIX): New.
441 (TLS_GD): Use it.
442
443 2012-05-11 David S. Miller <davem@davemloft.net>
444
445 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
446 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
447 (_FPU_SETCW): Likewise.
448
449 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
450
451 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
452 is 32-byte aligned.
453
454 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
455
456 [BZ #11837]
457 * iconvdata/gb18030.c: Update tables.
458 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
459 characters specially.
460 (BODY for TO_LOOP): Add encoding of missing ranges.
461
462 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
463
464 [BZ #13673]
465 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
466 * sysdeps/mach/hurd/dup3.c: Likewise.
467 * sysdeps/mach/hurd/readlinkat.c: Likewise.
468 * sysdeps/powerpc/memmove.c:: Likewise.
469
470 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
471
472 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
473 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
474
475 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
476
477 * elf/elf.h (R_X86_64_RELATIVE64): New.
478 (R_X86_64_NUM): Updated.
479 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
480 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
481 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
482 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
483 tst-quad1pie tst-quad2pie
484 (modules-names): Add tst-quadmod1 tst-quadmod2.
485 ($(objpfx)tst-quad1): New dependency.
486 ($(objpfx)tst-quad2): Likewise.
487 ($(objpfx)tst-quad1pie): Likewise.
488 ($(objpfx)tst-quad2pie): Likewise.
489 * sysdeps/x86_64/tst-quad1.c: New file.
490 * sysdeps/x86_64/tst-quad1pie.c: New file.
491 * sysdeps/x86_64/tst-quad2.c: Likewise.
492 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
493 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
494 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
495 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
496 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
497
498 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
499
500 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
501 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
502 * streams/stropts.h (t_scalar_t): Define type.
503
504 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
505 (_PATH_PRESERVE): Set to "/var/lib".
506 (_PATH_RWHODIR): Set to "/var/spool/rwho".
507
508 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
509 instead of int.
510
511 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
512 if __dir_mkfile succeeded.
513
514 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
515 checking for _hurd_dtablesize. Unlock it right after having
516 finished _hurd_dtable allocation.
517
518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
519
520 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
521 * sysdeps/mach/hurd/configure: Regenerated.
522 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
523 special-casing to...
524 * sysdeps/gnu/configure.in: ... this new file.
525 * sysdeps/unix/sysv/linux/configure: Regenerated.
526 * sysdeps/gnu/configure: New generated file.
527
528 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
529 for Linux: use nsec instead of usec, as well as:
530 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
531 members of type struct timespec.
532 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
533 New macros.
534 (struct stat64): Likewise.
535 (_STATBUF_ST_NSEC): New macro.
536 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
537
538 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
539 __strtoul_internal rather than strtoul.
540
541 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
542
543 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
544 and reject them.
545
546 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
547
548 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
549 which preserves existing values.
550 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
551
552 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
553
554 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
555 TIMEOUT values. Return EINVAL for NFDS values either negative or
556 greater than FD_SETSIZE.
557
558 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
559
560 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
561 allocated, call __vm_protect to finish enabling the existing space, and
562 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
563 allocate the remainder.
564
565 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
566
567 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
568 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
569
570 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
571
572 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
573 sysdeps/mach/hurd/readlink.c.
574
575 * posix/tst-sysconf.c (posix_options): Only use
576 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
577 _POSIX_SYNCHRONIZED_IO when they are defined
578 * sysdeps/mach/hurd/bits/posix_opt.h:
579 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
580 (_XOPEN_REALTIME): Undefine macro.
581 (_XOPEN_REALTIME_THREADS): Undefine macro.
582 (_XOPEN_SHM): Undefine macro.
583 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
584 macro to -1.
585 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
586 macro to -1.
587 (_POSIX_ASYNC_IO): Undefine macro.
588 (_POSIX_PRIORITIZED_IO): Undefine macro.
589 (_POSIX_SPIN_LOCKS): Define macro to -1.
590
591 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
592 SA_NODEFER, SA_RESETHAND.
593 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
594 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
595 F_DUPFD_CLOEXEC.
596
597 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
598
599 * elf/Makefile (pldd-modules): Define unconditionally.
600
601 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
602
603 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
604
605 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
606
607 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
608 Return ENOENT when name is empty.
609 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
610
611 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
612
613 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
614
615 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
616
617 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
618
619 Fix mlock in all cases except non-readable pages.
620 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
621 instead of VM_PROT_ALL as parameter to __vm_wire function.
622
623 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
624 (__mkdir): When path is `/', just fail with EEXIST.
625 * sysdeps/mach/hurd/mkdirat.c: Likewise.
626
627 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
628
629 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
630 <sys/uio.h> (for writev).
631 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
632 and <sys/param.h> (for MIN).
633
634 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
635
636 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
637 REQUESTED_TIME. Properly set the remaining time and return EINTR
638 if interrupted.
639
640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
641
642 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
643 Depend on against $(link-rpcuserlibs).
644
645 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
646
647 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
648 (__libc_stack_end): Do not use attribute_relro.
649 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
650 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
651 to libthread-provided value.
652 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
653 attribute_relro.
654
655 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
656
657 [BZ #3748]
658 * bits/libc-lock.h (__libc_once_get): New macro.
659 * sysdeps/mach/bits/libc-lock.h: Likewise.
660 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
661 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
662 instead of using implementation details.
663
664 * libio/fileops.c: Unconditionally include <kernel-features.h>.
665 * libio/freopen.c: Likewise.
666 * libio/freopen64.c: Likewise.
667 * misc/syslog.c: Likewise.
668 * nscd/connections.c: Likewise.
669 * nscd/netgroupcache.c: Likewise.
670 * sysdeps/posix/getcwd.c: Likewise.
671
672 2012-05-10 Roland McGrath <roland@hack.frob.com>
673
674 * math/w_ilogbf.c: Add #include <limits.h>.
675
676 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
677
678 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
679 path instead of returning without unlocking.
680
681 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
682 immediate-write ioctls.
683 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
684
685 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
686
687 * sysdeps/mach/hurd/i386/init-first.c (init): Use
688 __builtin_frame_address instead of making assumptions about the
689 location of the return address relative to DATA. Force early load of
690 the return address.
691 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
692 __builtin_frame_address.
693
694 dup3 for GNU Hurd.
695 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
696 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
697 implement dup3 and do some further code clean-ups.
698 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
699 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
700
701 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
702
703 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
704
705 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
706 HURD_CRITICAL_END around holding _hurd_dtable_lock.
707 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
708 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
709 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
710 d->port.lock.
711
712 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
713 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
714 when handler == SIG_ERR, not when handler != SIG_ERR.
715
716 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
717
718 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
719 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
720 definitions.
721
722 accept4 for GNU Hurd.
723 * include/sys/socket.h (__libc_accept4): New prototype.
724 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
725 to implement __libc_accept4.
726 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
727 __libc_accept4.
728 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
729
730 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
731 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
732 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
733 signal-defines.sym.
734
735 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
736
737 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
738
739 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
740
741 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
742 assertion on O_CLOEXEC flag.
743 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
744 * hurd/intern-fd.c: Likewise.
745 * hurd/port2fd.c: Likewise.
746
747 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
748
749 [BZ #3906]
750 * bits/in.h (IPV6_PKTINFO): Define new macro.
751 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
752
753 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
754
755 [BZ #13954]
756 [BZ #13955]
757 [BZ #13956]
758 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
759 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
760 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
761 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
762 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
763 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
764 * math/libm-test.inc (logb_test) : Additional logb tests.
765
766 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
767 Andreas Jaeger <aj@suse.de>
768
769 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
770 * configure: Regenerated.
771 * config.h.in (LINK_OBSOLETE_RPC): New macro.
772 * config.make.in (link-obsolete-rpc): New substituted variable.
773 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
774 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
775 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
776 (shared-only-routines): Don't set it under [link-obsolete-rpc],
777 so that libc.a contains the symbols.
778 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
779 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
780 * sunrpc/auth_none.c: Likewise.
781 * sunrpc/auth_unix.c: Likewise.
782 * sunrpc/authdes_prot.c: Likewise.
783 * sunrpc/authuxprot.c: Likewise.
784 * sunrpc/clnt_gen.c: Likewise.
785 * sunrpc/clnt_perr.c: Likewise.
786 * sunrpc/clnt_raw.c: Likewise.
787 * sunrpc/clnt_simp.c: Likewise.
788 * sunrpc/clnt_tcp.c: Likewise.
789 * sunrpc/clnt_udp.c: Likewise.
790 * sunrpc/clnt_unix.c: Likewise.
791 * sunrpc/des_crypt.c: Likewise.
792 * sunrpc/des_soft.c: Likewise.
793 * sunrpc/get_myaddr.c: Likewise.
794 * sunrpc/key_call.c: Likewise.
795 * sunrpc/key_prot.c: Likewise.
796 * sunrpc/netname.c: Likewise.
797 * sunrpc/pm_getmaps.c: Likewise.
798 * sunrpc/pm_getport.c: Likewise.
799 * sunrpc/pmap_clnt.c: Likewise.
800 * sunrpc/pmap_prot.c: Likewise.
801 * sunrpc/pmap_prot2.c: Likewise.
802 * sunrpc/pmap_rmt.c: Likewise.
803 * sunrpc/publickey.c: Likewise.
804 * sunrpc/rpc_cmsg.c: Likewise.
805 * sunrpc/rpc_common.c: Likewise.
806 * sunrpc/rpc_dtable.c: Likewise.
807 * sunrpc/rpc_prot.c: Likewise.
808 * sunrpc/rpc_thread.c: Likewise.
809 * sunrpc/rtime.c: Likewise.
810 * sunrpc/svc.c: Likewise.
811 * sunrpc/svc_auth.c: Likewise.
812 * sunrpc/svc_raw.c: Likewise.
813 * sunrpc/svc_run.c: Likewise.
814 * sunrpc/svc_tcp.c: Likewise.
815 * sunrpc/svc_udp.c: Likewise.
816 * sunrpc/svc_unix.c: Likewise.
817 * sunrpc/svcauth_des.c: Likewise.
818 * sunrpc/xcrypt.c: Likewise.
819 * sunrpc/xdr.c: Likewise.
820 * sunrpc/xdr_array.c: Likewise.
821 * sunrpc/xdr_float.c: Likewise.
822 * sunrpc/xdr_intXX_t.c: Likewise.
823 * sunrpc/xdr_mem.c: Likewise.
824 * sunrpc/xdr_rec.c: Likewise.
825 * sunrpc/xdr_ref.c: Likewise.
826 * sunrpc/xdr_sizeof.c: Likewise.
827 * sunrpc/xdr_stdio.c: Likewise.
828
829 2012-05-10 Roland McGrath <roland@hack.frob.com>
830
831 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
832 change. Update copyright years.
833
834 2012-05-10 Joseph Myers <joseph@codesourcery.com>
835
836 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
837
838 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
839 Joseph Myers <joseph@codesourcery.com>
840 Paul Pluzhnikov <ppluzhnikov@google.com>
841
842 [BZ #14012]
843 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
844 requiring rpcgen.
845 [cross-compiling] (extra-libs): Likewise.
846 [cross-compiling] (extra-libs-others): Likewise.
847 [cross-compiling] (librpcsvc-routines): Likewise.
848 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
849 [cross-compiling] (omit-deps): Likewise.
850 (sunrpc-CPPFLAGS): New variable.
851 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
852 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
853 (cross-rpcgen-objs): New variable.
854 (extra-objs): Append $(cross-rpcgen-objs).
855 ($(cross-rpcgen-objs)): New rule.
856 ($(objpfx)cross-rpcgen): Likewise.
857 (rpcgen-cmd): Define to use $(built-program-file). Expand
858 comment.
859 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
860 ($(objpfx)x%.stmp): Likewise.
861 * sunrpc/proto.h [IS_IN_build] (_): Define.
862 [IS_IN_build] (_libc_intl_domainname): Likewise.
863
864 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
865
866 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
867 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
868 and R_X86_64_TPOFF64.
869
870 2012-05-10 Joseph Myers <joseph@codesourcery.com>
871
872 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
873 sysdeps/unix/sysv/syscalls.list.
874 (stime): Likewise.
875 (utime): Likewise.
876 * sysdeps/unix/sysv/syscalls.list: Remove file.
877
878 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
879
880 [BZ #3440]
881 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
882 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
883 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
884 (__LC_IDENTIFICATION): Make these macros useful in #if
885 expressions, as required by C99.
886
887 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
888
889 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
890 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
891 after this.
892
893 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
894
895 * stdlib/longlong.h: Updated from GCC.
896
897 2012-05-09 Andreas Jaeger <aj@suse.de>
898
899 * nscd/nscd.c (run_modes): Make named enum, reorder so that
900 default is first entry.
901 (run_mode): Set type.
902 (main): Remove informal message about syslog.
903 (options): Fix typo.
904
905 [BZ #14053]
906 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
907 to asm.
908 (lrint): Likewise.
909 (llrintf): Likewise.
910 (llrint): Likewise.
911 (rint): Likewise.
912 (rintf): Likewise.
913 (nearbyint): Likewise.
914 (nearbyintf): Likewise.
915
916 2012-05-09 Andreas Jaeger <aj@suse.de>
917 Pedro Alves <palves@redhat.com>
918
919 * nscd/nscd.c (run_mode): Use enum.
920 (main): Cleanup coding style issue.
921
922 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
923 Andreas Jaeger <aj@suse.de>
924
925 * nscd/nscd.c (go_background): Replaced with...
926 (run_mode): ... this.
927 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
928 (options): Add -F --foreground.
929 (main): Implement it.
930 (parse_opt): Parse it.
931
932 2012-05-09 Andreas Jaeger <aj@suse.de>
933
934 [BZ #14083]
935 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
936 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
937 -Wconversion warning.
938 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
939 Likewise.
940
941 2012-05-09 Joseph Myers <joseph@codesourcery.com>
942
943 * conform/data/locale.h-data (NULL): Use macro-constant. Require
944 == 0.
945 (LC_ALL): Use macro-int-constant.
946 (LC_COLLATE): Likewise.
947 (LC_CTYPE): Likewise.
948 (LC_MESSAGES): Likewise.
949 (LC_MONETARY): Likewise.
950 (LC_NUMERIC): Likewise.
951 (LC_TIME): Likewise.
952 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
953 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
954 [ISO || ISO99 || ISO11] (*_t): Do not allow.
955 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
956 Specify type.
957 [C99-based standards] (float_t): Expect type.
958 [C99-based standards] (double_t): Expect type.
959 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
960 type.
961 [C99-based standards] (HUGE_VALL): Likewise.
962 [C99-based standards] (INFINITY): Likewise.
963 [C99-based standards] (NAN): Likewise.
964 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
965 [C99-based standards] (FP_NAN): Likewise.
966 [C99-based standards] (FP_NORMAL): Likewise.
967 [C99-based standards] (FP_SUBNORMAL): Likewise.
968 [C99-based standards] (FP_ZERO): Likewise.
969 [C99-based standards] (FP_FAST_FMA): Use
970 optional-macro-int-constant. Specify type. Require == 1.
971 [C99-based standards] (FP_FAST_FMAF): Likewise.
972 [C99-based standards] (FP_FAST_FMAL): Likewise.
973 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
974 [C99-based standards] (FP_ILOGBNAN): Likewise.
975 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
976 Specify type.
977 [C99-based standards] (MATH_ERREXCEPT): Likewise.
978 [C99-based standards] (math_errhandling): Specify type.
979 [ISO99 || ISO11] (signgam): Do not allow.
980 [non-C99-based standards] (copysignf): Do not allow.
981 [non-C99-based standards] (exp2f): Likewise.
982 [non-C99-based standards] (log2f): Likewise.
983 [non-C99-based standards] (modff): Allow.
984 [non-C99-based standards] (erff): Do not allow.
985 [non-C99-based standards] (erfcf): Likewise.
986 [non-C99-based standards] (gammaf): Likewise.
987 [non-C99-based standards] (hypotf): Likewise.
988 [non-C99-based standards] (j0f): Likewise.
989 [non-C99-based standards] (j1f): Likewise.
990 [non-C99-based standards] (jnf): Likewise.
991 [non-C99-based standards] (lgammaf): Likewise.
992 [non-C99-based standards] (tgammaf): Likewise.
993 [non-C99-based standards] (y0f): Likewise.
994 [non-C99-based standards] (y1f): Likewise.
995 [non-C99-based standards] (ynf): Likewise.
996 [non-C99-based standards] (isnanf): Likewise.
997 [non-C99-based standards] (acoshf): Likewise.
998 [non-C99-based standards] (asinhf): Likewise.
999 [non-C99-based standards] (atanhf): Likewise.
1000 [non-C99-based standards] (cbrtf): Likewise.
1001 [non-C99-based standards] (expm1f): Likewise.
1002 [non-C99-based standards] (ilogbf): Likewise.
1003 [non-C99-based standards] (log1pf): Likewise.
1004 [non-C99-based standards] (logbf): Likewise.
1005 [non-C99-based standards] (nextafterf): Likewise.
1006 [non-C99-based standards] (remainderf): Likewise.
1007 [non-C99-based standards] (rintf): Likewise.
1008 [non-C99-based standards] (scalbf): Likewise.
1009 [non-C99-based standards] (copysignl): Likewise.
1010 [non-C99-based standards] (exp2l): Likewise.
1011 [non-C99-based standards] (log2l): Likewise.
1012 [non-C99-based standards] (modfl): Allow.
1013 [non-C99-based standards] (erfl): Do not allow.
1014 [non-C99-based standards] (erfcl): Likewise.
1015 [non-C99-based standards] (gammal): Likewise.
1016 [non-C99-based standards] (hypotl): Likewise.
1017 [non-C99-based standards] (j0l): Likewise.
1018 [non-C99-based standards] (j1l): Likewise.
1019 [non-C99-based standards] (jnl): Likewise.
1020 [non-C99-based standards] (lgammal): Likewise.
1021 [non-C99-based standards] (tgammal): Likewise.
1022 [non-C99-based standards] (y0l): Likewise.
1023 [non-C99-based standards] (y1l): Likewise.
1024 [non-C99-based standards] (ynl): Likewise.
1025 [non-C99-based standards] (isnanl): Likewise.
1026 [non-C99-based standards] (acoshl): Likewise.
1027 [non-C99-based standards] (asinhl): Likewise.
1028 [non-C99-based standards] (atanhl): Likewise.
1029 [non-C99-based standards] (cbrtl): Likewise.
1030 [non-C99-based standards] (expm1l): Likewise.
1031 [non-C99-based standards] (ilogbl): Likewise.
1032 [non-C99-based standards] (log1pl): Likewise.
1033 [non-C99-based standards] (logbl): Likewise.
1034 [non-C99-based standards] (nextafterl): Likewise.
1035 [non-C99-based standards] (remainderl): Likewise.
1036 [non-C99-based standards] (rintl): Likewise.
1037 [non-C99-based standards] (scalbl): Likewise.
1038 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1039 [non-C99-based standards] (FP_*): Do not allow.
1040 [C99-based standards] (FP_*): Change to
1041 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
1042 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1043 allow.
1044 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
1045 (SIG_ERR): Likewise.
1046 [X/Open-based standards] (SIG_HOLD): Likewise.
1047 (SIG_IGN): Likewise.
1048 (SIGABRT): Use macro-int-constant. Specify type. Require
1049 positive value.
1050 (SIGFPE): Likewise.
1051 (SIGILL): Likewise.
1052 (SIGINT): Likewise.
1053 (SIGSEGV): Likewise.
1054 (SIGTER): Likewise.
1055 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
1056 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
1057 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
1058 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
1059 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
1060 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
1061 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
1062 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
1063 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
1064 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
1065 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
1066 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
1067 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
1068 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
1069 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
1070 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
1071 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
1072 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
1073 [X/Open-based standards] (SIGTRAP): Likewise.
1074 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
1075 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
1076 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
1077 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
1078 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1079 allow.
1080
1081 2012-05-08 Ian Wienand <ianw@vmware.com>
1082
1083 [BZ #14080]
1084 * time/tzset.c (__tzset_parse_tz): Update default rules for
1085 daylight time changes in the Energy Policy Act of 2005.
1086
1087 2012-05-09 Andreas Jaeger <aj@suse.de>
1088
1089 [BZ #13983]
1090 * elf/ldconfig.c (parse_conf): Change string to make clear that
1091 ldconfig only issued a warning if ld.so.conf does not exist.
1092
1093 2012-05-08 David S. Miller <davem@davemloft.net>
1094
1095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
1096 movxtod instead of popping the value on the stack.
1097
1098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1099
1100 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
1101
1102 * config.h.in: Add HAVE_ARM_PCS_VFP.
1103
1104 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
1105
1106 [BZ #13979]
1107 * include/features.h: Warn if user requests __FORTIFY_SOURCE
1108 checking but the checks are disabled for any reason.
1109
1110 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
1111
1112 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
1113 and ELF64_R_TYPE with ELFW(R_TYPE).
1114
1115 2012-05-08 Joseph Myers <joseph@codesourcery.com>
1116
1117 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
1118 (ulimit): Likewise.
1119
1120 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
1121 (settimeofday): Likewise.
1122
1123 2012-05-08 Mike Frysinger <vapier@gentoo.org>
1124
1125 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
1126 a struct th_u2 inside the union, and move tu_block/tu_code into
1127 a new th_u3 union of tu_block/tu_code inside of that. Move
1128 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
1129 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
1130 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
1131 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
1132 (th_stuff): Change to th_u1.tu_stuff.
1133 (th_data): Define.
1134 (th_msg): Change to th_u1.th_u2.tu_data.
1135
1136 2012-05-07 David S. Miller <davem@davemloft.net>
1137
1138 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1139
1140 [BZ #14074]
1141 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
1142 (SETUP_PIC_REG): Use it.
1143 (SETUP_PIC_REG_LEAF): Use it.
1144
1145 2012-05-07 Joseph Myers <joseph@codesourcery.com>
1146
1147 [BZ #13885]
1148 [BZ #13923]
1149 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1150 USE_AS_EXPM1L.
1151 (EXPL_FINITE): Likewise.
1152 (FLDLOG): Likewise.
1153 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1154 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1155 e_expl.S.
1156 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1157 USE_AS_EXPM1L.
1158 (EXPL_FINITE): Likewise.
1159 (FLDLOG): Likewise.
1160 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
1161 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
1162 e_expl.S.
1163 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
1164 test of -max_value argument for long double.
1165 * sysdeps/i386/fpu/libm-test-ulps: Update.
1166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1167
1168 2012-05-06 David S. Miller <davem@davemloft.net>
1169
1170 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
1171 quad soft-float symbols whose references which are compiler
1172 generated.
1173 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
1174
1175 2012-05-06 Joseph Myers <joseph@codesourcery.com>
1176
1177 [BZ #13884]
1178 [BZ #13914]
1179 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1180 USE_AS_EXP10L.
1181 (EXPL_FINITE): Likewise.
1182 (FLDLOG): Likewise.
1183 (c0): Likewise.
1184 (c1): Likewise.
1185 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1186 Adjust comments for base varying.
1187 (__expl_finite): Change alias to EXPL_FINITE.
1188 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
1189 e_expl.S.
1190 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
1191 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1192 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1193 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
1194 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
1195 USE_AS_EXP10L.
1196 (EXPL_FINITE): Likewise.
1197 (FLDLOG): Likewise.
1198 (c0): Likewise.
1199 (c1): Likewise.
1200 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
1201 Adjust comments for base varying.
1202 (__expl_finite): Change alias to EXPL_FINITE.
1203 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
1204 tests for bugs.
1205 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1206
1207 [BZ #14064]
1208 * math/libm-test.inc (check_float_internal): Correct ulp
1209 calculation for subnormal expected results.
1210
1211 2012-05-06 Andreas Jaeger <aj@suse.de>
1212
1213 * Makeconfig (+math-flags): New, set to -frounding-math.
1214 (+cflags): Add +math-flags so that all of glibc gets compiled with
1215 it.
1216
1217 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
1218
1219 2012-05-05 Joseph Myers <joseph@codesourcery.com>
1220
1221 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
1222 Disable one test.
1223
1224 [BZ #13787]
1225 [BZ #13922]
1226 [BZ #14036]
1227 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
1228 (__ieee754_expl): Allow for and saturate large arguments.
1229 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
1230 (u_threshold): Likewise.
1231 (__exp): Call __ieee754_exp before checking for overflow and
1232 underflow.
1233 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
1234 (u_threshold): Likewise.
1235 (__expf): Call __ieee754_expf before checking for overflow and
1236 underflow.
1237 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
1238 (u_threshold): Likewise.
1239 (__expl): Call __ieee754_expl before checking for overflow and
1240 underflow.
1241 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
1242 (__ieee754_expl): Allow for and saturate large arguments.
1243 * math/libm-test.inc (exp_test): Add another test. Do not allow
1244 missing overflow exception on overflow.
1245 (expm1_test): Do not allow missing overflow exception on overflow.
1246
1247 * sysdeps/i386/fpu/e_expl.c: Move to ...
1248 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
1249 rather than using inline asm.
1250 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
1251 * sysdeps/x86_64/fpu/e_expl.S: Copy from
1252 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
1253
1254 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
1255 (nice): Likewise.
1256 (poll): Likewise.
1257 (signal): Likewise.
1258 (time): Likewise.
1259 (times): Likewise.
1260
1261 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1262
1263 * sysdeps/unix/syscalls.list (adjtime): Add entry from
1264 sysdeps/unix/common/syscalls.list.
1265 (fchmod): Likewise.
1266 (fchown): Likewise.
1267 (ftruncate): Likewise.
1268 (getrusage): Likewise.
1269 (gettimeofday): Likewise.
1270 (setpgid): Likewise.
1271 (setregid): Likewise.
1272 (setreuid): Likewise.
1273 (sigaction): Likewise.
1274 (truncate): Likewise.
1275 (vhangup): Likewise.
1276 * sysdeps/unix/common/syscalls.list: Remove file.
1277 * sysdeps/unix/bsd/Implies: Don't include unix/common.
1278 * sysdeps/unix/sysv/linux/Implies: Likewise.
1279
1280 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1281
1282 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
1283 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
1284 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
1285 Moved to ...
1286 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
1287 Here.
1288 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
1289 to ...
1290 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
1291 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
1292 to ...
1293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
1294 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
1295 to ...
1296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
1297 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
1298 to ...
1299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
1300 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
1301 to ...
1302 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
1303 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
1304 to ...
1305 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
1306 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
1307 to ...
1308 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
1309 Here.
1310 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
1311 to ...
1312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
1313 Here.
1314 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
1315 to ...
1316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
1317 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
1318 Moved to ...
1319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
1320 Here.
1321 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
1322 to ...
1323 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
1324
1325 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1326
1327 * sysdeps/unix/common/bits/dirent.h: Remove file.
1328 * sysdeps/unix/common/bits/fcntl.h: Likewise.
1329
1330 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
1331 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
1332 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
1333 * sysdeps/unix/bsd/isatty.c: Likewise.
1334 * sysdeps/unix/bsd/tcdrain.c: Likewise.
1335 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
1336 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
1337
1338 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1339
1340 [BZ #13563]
1341 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
1342 long double comparison inaccuracies.
1343 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
1344 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1345
1346 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
1347
1348 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
1349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
1350
1351 2012-05-04 Joseph Myers <joseph@codesourcery.com>
1352
1353 [BZ #14049]
1354 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
1355 nonzero digits before rounding a hex value.
1356 * stdlib/tst-strtod.c (tests): Add another test.
1357
1358 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1359
1360 * sysdeps/s390/fpu/libm-test-ulps: Update.
1361
1362 2012-05-03 Andreas Jaeger <aj@suse.de>
1363
1364 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
1365 does not get optimized out.
1366 (malloc_opt_barrier): New.
1367
1368 2012-05-03 Andreas Jaeger <aj@suse.de>
1369 Roland McGrath <roland@hack.frob.com>
1370
1371 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
1372 intermediate file deletion.
1373 (generated): Add .symlist files.
1374
1375 2012-05-03 Joseph Myers <joseph@codesourcery.com>
1376
1377 [BZ #13775]
1378 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
1379 Redirect under this condition.
1380 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1381 [__USE_GNU] (__dprintf_chk): Not under this condition.
1382 [__USE_GNU] (__vdprintf_chk): Likewise.
1383 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
1384 under this condition.
1385 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
1386 [__USE_XOPEN2K8] (dprintf): Define under this condition.
1387 [__USE_XOPEN2K8] (vdprintf): Likewise.
1388 [__USE_GNU] (__dprintf_chk): Not under this condition.
1389 [__USE_GNU] (__vdprintf_chk): Likewise.
1390 [__USE_GNU] (dprintf): Likewise.
1391 [__USE_GNU] (vdprintf): Likewise.
1392
1393 2012-05-03 Roland McGrath <roland@hack.frob.com>
1394
1395 * elf/Makefile (common-generated): Set this instead of generated for
1396 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
1397 $(all-built-dso)-derived lists.
1398
1399 2012-05-03 Andreas Jaeger <aj@suse.de>
1400
1401 * sysdeps/i386/fpu/libm-test-ulps: Update.
1402
1403 * FAQ: Removed.
1404 * FAQ.in: Likewise.
1405 * scripts/gen-FAQ.pl: Likewise.
1406 * manual/install.texi (Installation): Point to online location of
1407 FAQ.
1408 * Makefile (files-for-dist): Remove FAQ.
1409 (FAQ): Remove.
1410
1411 2012-05-02 Allan McRae <allan@archlinux.org>
1412
1413 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
1414 (LDFLAGS-reldepmod5.so): Likewise.
1415 (LDFLAGS-reldep6mod1.so): Likewise.
1416 (LDFLAGS-reldep6mod4.so): Likewise.
1417 (LDFLAGS-reldep8mod3.so): Likewise.
1418 (LDFLAGS-unload4mod1.so): Likewise.
1419 (LDFLAGS-unload4mod2.so): Likewise.
1420 (LDFLAGS-tst-initorder): Likewise.
1421 (LDFLAGS-tst-initordera2.so): Likewise.
1422 (LDFLAGS-tst-initordera3.so): Likewise.
1423 (LDFLAGS-tst-initordera4.so): Likewise.
1424 (LDFLAGS-tst-initorderb2.so): Likewise.
1425 (LDFLAGS-noload): Likewise.
1426 (LDFLAGS-next): Likewise.
1427 (LDFLAGS-order2mod1.so): Likewise.
1428 (LDFLAGS-order2mod2.so): Likewise.
1429 (LDFLAGS-tst-initorder2): Likewise.
1430 (LDFLAGS-tst-initorder2a.so): Likewise.
1431 (LDFLAGS-tst-initorder2b.so): Likewise.
1432 (LDFLAGS-tst-initorder2c.so): Likewise.
1433 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
1434
1435 2012-05-02 David S. Miller <davem@davemloft.net>
1436
1437 * sysdeps/sparc/fpu/libm-test-ulps: Update.
1438
1439 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1440
1441 [BZ #14055]
1442 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
1443
1444 2012-05-02 Andreas Jaeger <aj@suse.de>
1445
1446 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
1447 since we manipulate rounding mode.
1448 (CPPFLAGS-test-idouble.c): Likewise.
1449 (CPPFLAGS-test-ifloat.c): Likewise.
1450 (CFLAGS-test-ldouble.c): Likewise.
1451 (CFLAGS-test-double.c): Likewise.
1452 (CFLAGS-test-float.c): Likewise.
1453 (CFLAGS-test-misc.c): Likewise.
1454 (CFLAGS-test-test-fenv.c): Likewise.
1455
1456 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1457
1458 [BZ #2550]
1459 [BZ #2570]
1460 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
1461 comparisons to determine direction to adjust input.
1462
1463 2012-05-01 Roland McGrath <roland@hack.frob.com>
1464
1465 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
1466 output to the target.
1467
1468 * scripts/localplt.awk: New file.
1469 * elf/Makefile ($(objpfx)check-localplt): Target removed.
1470 (check-localplt-CFLAGS): Variable removed.
1471 ($(all-built-dso:=.jmprel)): New static pattern rule.
1472 (generated): Add those targets.
1473 (localplt-built-dso): New variable.
1474 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
1475
1476 * elf/check-localplt.c: File removed.
1477
1478 * scripts/check-execstack.awk: New file.
1479 * elf/Makefile ($(objpfx)check-execstack): Target removed.
1480 (check-execstack-CFLAGS): Variable removed.
1481 ($(objpfx)check-execstack.h): Target removed.
1482 ($(objpfx)execstack-default): New target.
1483 (generated): Add that instead of check-execstack.h.
1484 ($(all-built-dso:=.phdr)): New static pattern rule.
1485 (generated): Add those targets.
1486 * elf/check-execstack.c: File removed.
1487
1488 * scripts/check-textrel.awk: New file.
1489 * elf/Makefile ($(objpfx)check-textrel): Target removed.
1490 (check-textrel-CFLAGS): Variable removed.
1491 (all-built-dso): Use := to define.o
1492 ($(all-built-dso:=.dyn)): New static pattern rule.
1493 (generated): Add those targets.
1494 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
1495 * config.make.in (READELF): New substituted variable.
1496 * elf/check-textrel.c: File removed.
1497
1498 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1499
1500 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
1501 allow.
1502 * conform/data/ctype.h-data [C99-based standards] (isblank):
1503 Expect function.
1504 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
1505 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
1506 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1507 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
1508 Specify type. Require positive value.
1509 (EILSEQ): Likewise.
1510 (ERANGE): Likewise.
1511 [ISO || POSIX] (EILSEQ): Do not expect.
1512 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
1513 Specify type. Require positive value.
1514 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
1515 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
1516 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
1517 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
1518 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
1519 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
1520 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
1521 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
1522 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
1523 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
1524 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
1525 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
1526 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
1527 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
1528 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
1529 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
1530 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
1531 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
1532 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
1533 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
1534 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
1535 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
1536 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
1537 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
1538 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
1539 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
1540 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
1541 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
1542 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
1543 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
1544 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
1545 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
1546 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
1547 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
1548 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
1549 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
1550 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
1551 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
1552 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
1553 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
1554 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
1555 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
1556 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
1557 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
1558 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
1559 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
1560 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
1561 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
1562 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
1563 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
1564 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
1565 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
1566 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
1567 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
1568 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
1569 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
1570 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
1571 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
1572 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
1573 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
1574 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
1575 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
1576 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
1577 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
1578 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
1579 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
1580 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
1581 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
1582 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
1583 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
1584 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
1585 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
1586 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
1587 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
1588 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
1589 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
1590 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
1591 Require >= 2.
1592 (FLT_ROUNDS): Expect as macro, not constant.
1593 (FLT_MANT_DIG): Use macro-int-constant.
1594 (DBL_MANT_DIG): Likewise.
1595 (LDBL_MANT_DIG): Likewise.
1596 (FLT_DIG): Likewise.
1597 (DBL_DIG): Likewise.
1598 (LDBL_DIG): Likewise.
1599 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
1600 (DBL_MIN_EXP): Likewise.
1601 (LDBL_MIN_EXP): Likewise.
1602 (FLT_MAX_EXP): Use macro-int-constant.
1603 (DBL_MAX_EXP): Likewise.
1604 (LDBL_MAX_EXP): Likewise.
1605 (FLT_MAX_10_EXP): Likewise.
1606 (DBL_MAX_10_EXP): Likewise.
1607 (LDBL_MAX_10_EXP): Likewise.
1608 (FLT_MAX): Use macro-constant.
1609 (DBL_MAX): Likewise.
1610 (LDBL_MAX): Likewise.
1611 (FLT_EPSILON): Use macro-constant. Give upper bound.
1612 (DBL_EPSILON): Likewise.
1613 (LDBL_EPSILON): Likewise.
1614 (FLT_MIN): Likewise.
1615 (DBL_MIN): Likewise.
1616 (LDBL_MIN): Likewise.
1617 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
1618 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
1619 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
1620 [ISO11] (FLT_HAS_SUBNORM): Likewise.
1621 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
1622 [ISO11] (DBL_DECIMAL_DIG): Likewise.
1623 [ISO11] (FLT_DECIMAL_DIG): Likewise.
1624 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
1625 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
1626 [ISO11] (FLT_TRUE_MIN): Likewise.
1627 [ISO11] (LDBL_TRUE_MIN): Likewise.
1628 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1629 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
1630 (SCHAR_MIN): Use macro-int-constant. Specify type.
1631 (SCHAR_MAX): Likewise.
1632 (UCHAR_MAX): Likewise.
1633 (CHAR_MIN): Likewise.
1634 (CHAR_MAX): Likewise.
1635 (MB_LEN_MAX): Use macro-int-constant.
1636 (SHRT_MIN): Use macro-int-constant. Specify type.
1637 (SHRT_MAX): Likewise.
1638 (USHRT_MAX): Likewise.
1639 (INT_MAX): Likewise.
1640 (INT_MIN): Use macro-int-constant. Specify type. Make upper
1641 bound negative.
1642 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
1643 bound with "U".
1644 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1645 bound with "L".
1646 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
1647 bound negative. Suffix upper bound with "L".
1648 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
1649 bound with "UL".
1650 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
1651 Specify type.
1652 [C99-based standards] (LLONG_MAX): Likewise.
1653 [C99-based standards] (ULLONG_MAX): Likewise.
1654 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
1655 == 0.
1656 [ISO11] (max_align_t): Require type.
1657 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1658
1659 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
1660 from $CFLAGS, without defining away __attribute__ calls.
1661 (checknamespace): Use $CFLAGS_namespace.
1662
1663 * conform/conformtest.pl (@keywords): Only include C99 keywords
1664 for standards based on C99 or C11.
1665
1666 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
1667 Disable tests.
1668 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
1669 UNIX98]: Likewise.
1670
1671 * conform/conformtest.pl: Handle "macro-int-constant" and test for
1672 usability of symbols in #if.
1673
1674 * conform/conformtest.pl: If macro or constant types start
1675 "promoted:", expect the symbol to be of the following type
1676 promoted by the integer promotions.
1677
1678 * conform/conformtest.pl: Parse all "constant" and "macro" lines
1679 in one place. Also handle "macro-constant".
1680
1681 * conform/conformtest.pl: Only accept expected macro values with
1682 "==". Parse all "macro" lines in one place.
1683 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
1684
1685 * conform/conformtest.pl: Handle braced types on "constant" lines
1686 instead of handling "typed-constant".
1687 * conform/data/signal.h-data: Use "constant" instead of
1688 "typed-constant".
1689
1690 * conform/conformtest.pl: Handle "optional-" at start of lines in
1691 one place rather than duplicating several cases. Handle each
1692 format of "macro" line with initial "optional-".
1693
1694 * conform/conformtest.pl: Only accept expected constant or
1695 optional-constant values with "==". Parse all "constant" lines in
1696 one place. Parse all "optional-constant" lines in one place.
1697 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
1698 * conform/data/fmtmsg.h-data: Likewise.
1699 * conform/data/netinet/in.h-data: Likewise.
1700 * conform/data/tar.h-data: Likewise.
1701 * conform/data/limits.h-data: Use "==" form on "constant" and
1702 "optional-constant" lines.
1703
1704 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
1705 Use -std=c99 for XOPEN2K.
1706 (@knownproblems): Remove.
1707 (newtoken): Don't check %isknown.
1708
1709 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
1710 Do not expect macro.
1711 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
1712 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
1713 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
1714 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
1715 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
1716 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
1717 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
1718 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
1719 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
1720 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
1721 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
1722 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
1723 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
1724 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
1725 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
1726 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
1727 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
1728 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
1729 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
1730 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
1731 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
1732 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
1733 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
1734 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
1735 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
1736 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
1737 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
1738 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
1739 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
1740 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
1741 [XPG3] (acosh): Likewise.
1742 [XPG3] (asinh): Likewise.
1743 [XPG3] (atanh): Likewise.
1744 [XPG3] (cbrt): Likewise.
1745 [XPG3] (expm1): Likewise.
1746 [XPG3] (ilogb): Likewise.
1747 [XPG3] (log1p): Likewise.
1748 [XPG3] (logb): Likewise.
1749 [XPG3] (nextafter): Likewise.
1750 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
1751 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
1752 [XPG3] (remainder): Likewise.
1753 [XPG3] (rint): Likewise.
1754 [XPG3 || XPG4 || UNIX98] (round): Likewise.
1755 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
1756 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
1757 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
1758 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
1759 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
1760 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
1761 [UNIX98 || XOPEN2K] (scalb): Expect.
1762 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
1763 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
1764 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
1765 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
1766 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
1767 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
1768 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
1769 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
1770 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
1771 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
1772 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
1773 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
1774 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
1775 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
1776 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
1777 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
1778 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
1779 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
1780 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
1781 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
1782 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
1783 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
1784 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
1785 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
1786 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
1787 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
1788 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
1789 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
1790 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
1791 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
1792 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
1793 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
1794 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
1795 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
1796 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
1797 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
1798 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
1799 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
1800 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
1801 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
1802 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
1803 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
1804 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
1805 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
1806 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
1807 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
1808 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
1809 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
1810 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
1811 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
1812 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
1813 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
1814 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
1815 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
1816 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
1817 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
1818 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
1819 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
1820 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
1821 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
1822 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
1823 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
1824 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
1825 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
1826 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
1827 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
1828 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
1829 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
1830 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
1831 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
1832 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
1833 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
1834 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
1835 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
1836 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
1837 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
1838 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
1839 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
1840 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
1841 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
1842 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
1843 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
1844 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
1845 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
1846 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
1847 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
1848 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
1849 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
1850 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
1851 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
1852 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
1853 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
1854 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
1855 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
1856 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
1857 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
1858 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
1859 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
1860 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
1861 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
1862 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
1863 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
1864 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
1865 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
1866 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
1867 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
1868 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
1869 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
1870 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
1871 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
1872 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
1873 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
1874 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
1875 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
1876 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
1877 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
1878 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
1879 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
1880 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
1881 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
1882 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
1883 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
1884 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
1885 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
1886 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
1887 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
1888 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
1889 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
1890 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
1891 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
1892 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
1893 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
1894 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
1895 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
1896 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
1897 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
1898 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
1899
1900 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
1901 _XOPEN_SOURCE_EXTENDED for XPG4.
1902
1903 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
1904
1905 * Makeconfig (localtime): Remove variable.
1906 (inst_localtime-file): Likewise.
1907
1908 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1909
1910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
1911 Update.
1912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
1913 Update.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
1915 Update.
1916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1917 Update.
1918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1919 Update.
1920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
1921 Update.
1922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1923 Update.
1924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
1925 Update.
1926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1927 Update.
1928
1929 2012-05-01 Joseph Myers <joseph@codesourcery.com>
1930
1931 [BZ #2550]
1932 [BZ #2570]
1933 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
1934 comparisons to determine direction to adjust input.
1935 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1936 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
1937 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
1938 Likewise.
1939 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
1940 Likewise.
1941 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1942 Likewise.
1943 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
1944 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1945 Likewise.
1946 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1947 Likewise.
1948 * math/libm-test.inc (nexttoward_test): Add more tests.
1949
1950 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
1951
1952 [BZ #14040]
1953 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
1954 in version GLIBC_2.1, not GLIBC_2.0.
1955 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
1956 Likewise.
1957
1958 2012-04-30 Joseph Myers <joseph@codesourcery.com>
1959
1960 [BZ #13942]
1961 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
1962 (1 - x) * (1 + x).
1963 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1964 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
1965 * math/libm-test.inc (acos_test): Add more tests.
1966 (asin_test): Likewise.
1967 * sysdeps/i386/fpu/libm-test-ulps: Update.
1968 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1969
1970 [BZ #14034]
1971 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
1972 of square root.
1973 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
1974 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
1975 * math/libm-test.inc (acos_test_tonearest): New function.
1976 (acos_test_towardzero): Likewise.
1977 (acos_test_downward): Likewise.
1978 (acos_test_upward): Likewise.
1979 (asin_test_tonearest): Likewise.
1980 (asin_test_towardzero): Likewise.
1981 (asin_test_downward): Likewise.
1982 (asin_test_upward): Likewise.
1983 (main): Call the new functions.
1984 * sysdeps/i386/fpu/libm-test-ulps: Update.
1985 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1986
1987 [BZ #13884]
1988 [BZ #13924]
1989 * math/e_exp10.c: Include <float.h>.
1990 (__ieee754_exp10): Handle underflow here rather than multiplying
1991 large negative argument by M_LN10.
1992 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
1993 of __ieee754_expf.
1994 * math/e_exp10l.c: Include <float.h>.
1995 (__ieee754_exp10l): Handle underflow here rather than multiplying
1996 large negative argument by M_LN10l.
1997 * math/libm-test.inc (exp10_test): Add another test. Do not allow
1998 spurious overflow exception on underflow.
1999
2000 2012-04-29 Marek Polacek <polacek@redhat.com>
2001
2002 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
2003 (__fortify_function): New macro.
2004 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
2005 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
2006 __extern_always_inline.
2007 * libio/bits/stdio2.h: Likewise.
2008 * libio/bits/stdio.h: Likewise.
2009 * string/string.h: Likewise.
2010 * string/bits/string3.h: Likewise.
2011 * include/stdio.h: Likewise.
2012 * stdlib/bits/stdlib.h: Likewise.
2013 * stdlib/stdlib.h: Likewise.
2014 * rt/bits/mqueue2.h: Likewise.
2015 * rt/mqueue.h: Likewise.
2016 * posix/bits/unistd.h: Likewise.
2017 * posix/unistd.h: Likewise.
2018 * io/bits/poll2.h: Likewise.
2019 * io/bits/fcntl2.h: Likewise.
2020 * io/fcntl.h: Likewise.
2021 * io/sys/poll.h: Likewise.
2022 * misc/bits/syslog.h: Likewise.
2023 * misc/bits/syslog-ldbl.h: Likewise.
2024 * misc/sys/syslog.h: Likewise.
2025 * socket/bits/socket2.h: Likewise.
2026 * socket/sys/socket.h: Likewise.
2027 * debug/tst-chk1.c: Likewise.
2028 * wcsmbs/bits/wchar2.h: Likewise.
2029 * wcsmbs/bits/wchar-ldbl.h: Likewise.
2030 * wcsmbs/wchar.h: Likewise.
2031
2032 2012-04-29 Andreas Jaeger <aj@suse.de>
2033
2034 * Makerules (tests): Remove enable-check-abi protection.
2035 (check-abi-warn): Remove.
2036 (check-abi-%): Remove check-abi-warn usage.
2037
2038 * configure.in: Remove check-abi configure option.
2039 * configure: Regenerated.
2040 * config.make.in (enable-check-abi): Remove.
2041
2042 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
2043
2044 [BZ #14033]
2045 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
2046 double functions to double *_finite functions.
2047
2048 [BZ #13941]
2049 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
2050 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
2051 LDBL_MIN_EXP.
2052 * stdio-common/Makefile (tests): Add tst-sprintf3.
2053 * stdio-common/tst-sprintf3.c: New file.
2054
2055 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
2056 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
2057
2058 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2059
2060 * conform/conformtest.pl: Remove duplicate typed-constant
2061 handling.
2062
2063 2012-04-28 David S. Miller <davem@davemloft.net>
2064
2065 * Makerules (%.abilist): Add vpath on sysdep_dirs.
2066 (check-abi-%): Remove AWK script prerequisite and explicit
2067 abilist directory.
2068 (check-abi): Rewrite to just diff the symlist with the abilist.
2069 (config-tls, config-abi-config): Delete, no longer used.
2070 (update-abi-%): Remove AWK script and explicit abilist directory.
2071 (update-abi): Rewrite to simply compare and conditionally copy the
2072 symlist and the sysdep abilist file. Remove update-abi-config
2073 checks.
2074 * abilist/ld.abilist: Remove.
2075 * abilist/libBrokenLocale.abilist: Remove.
2076 * abilist/libanl.abilist: Remove.
2077 * abilist/libcrypt.abilist: Remove.
2078 * abilist/libdl.abilist: Remove.
2079 * abilist/librt.abilist: Remove.
2080 * abilist/libthread_db.abilist: Remove.
2081 * abilist/libutil.abilist: Remove.
2082 * scripts/extract-abilist.awk: Remove.
2083 * scripts/merge-abilist.awk: Remove.
2084 * sysdeps/generic/libcidn.abilist: New file.
2085 * sysdeps/generic/libnss_compat.abilist: New file.
2086 * sysdeps/generic/libnss_db.abilist: New file.
2087 * sysdeps/generic/libnss_dns.abilist: New file.
2088 * sysdeps/generic/libnss_files.abilist: New file.
2089 * sysdeps/generic/libnss_hesiod.abilist: New file.
2090 * sysdeps/generic/libnss_nis.abilist: New file.
2091 * sysdeps/generic/libnss_nisplus.abilist: New file.
2092 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
2093 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
2094 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
2095 file.
2096 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
2097 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
2098 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
2099 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
2100 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
2101 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
2102 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
2103 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
2104 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
2105 file.
2106 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
2107 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
2108 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
2109 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
2110 file.
2111 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
2112 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
2113 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
2114 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
2115 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
2116 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
2117 file.
2118 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
2119 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
2120 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
2121 file.
2122 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
2123 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
2124 New file.
2125 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
2126 New file.
2127 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
2128 New file.
2129 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
2130 New file.
2131 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
2132 New file.
2133 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
2134 New file.
2135 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
2136 New file.
2137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
2138 New file.
2139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
2140 New file.
2141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
2142 New file.
2143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
2144 New file.
2145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
2146 New file.
2147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
2148 New file.
2149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
2150 file.
2151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
2152 New file.
2153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
2154 New file.
2155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
2156 file.
2157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
2158 New file.
2159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
2160 New file.
2161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
2162 file.
2163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
2164 New file.
2165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
2166 New file.
2167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
2168 New file.
2169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
2170 New file.
2171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
2172 New file.
2173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
2174 New file.
2175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
2176 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
2177 file.
2178 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
2179 New file.
2180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
2181 file.
2182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
2183 file.
2184 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
2185 file.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
2187 file.
2188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
2189 file.
2190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
2191 New file.
2192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
2193 file.
2194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
2195 file.
2196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
2197 New file.
2198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
2199 file.
2200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
2201 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
2202 file.
2203 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
2204 New file.
2205 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
2206 file.
2207 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
2208 file.
2209 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
2210 file.
2211 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
2212 file.
2213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
2214 file.
2215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
2216 New file.
2217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
2218 file.
2219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
2220 file.
2221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
2222 New file.
2223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
2224 file.
2225 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
2226 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
2227 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
2228 file.
2229 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
2230 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
2231 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
2232 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
2233 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
2234 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
2235 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
2236 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
2237 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
2238 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
2239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
2240 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
2241 file.
2242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
2243 New file.
2244 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
2245 file.
2246 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
2247 file.
2248 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
2249 file.
2250 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
2251 file.
2252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
2253 file.
2254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
2255 New file.
2256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
2257 New file.
2258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
2259 file.
2260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
2261 New file.
2262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
2263 file.
2264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
2265 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
2266 file.
2267 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
2268 New file.
2269 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
2270 file.
2271 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
2272 file.
2273 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
2274 file.
2275 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
2276 file.
2277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
2278 file.
2279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
2280 New file.
2281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
2282 New file.
2283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
2284 file.
2285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
2286 New file.
2287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
2288 file.
2289
2290 2012-04-28 Joseph Myers <joseph@codesourcery.com>
2291
2292 * conform/conformtest.pl: Fix typo in handling typed-constant from
2293 allow-header.
2294
2295 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2296
2297 * README: Cut down references to pre-2.6 Linux kernels and
2298 Linuxthreads. Update lists of configurations in libc and ports
2299 and sort alphabetically. Say "or newer" with Linux kernel version
2300 requirements.
2301
2302 * config.h.in [IS_IN_build]: Allow compiling without optimization.
2303
2304 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2305
2306 [BZ #887]
2307 * math/libm-test.inc (logb_test_downward): New test to expose
2308 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
2309 rounding mode.
2310
2311 2012-04-27 Joseph Myers <joseph@codesourcery.com>
2312
2313 [BZ #14027]
2314 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
2315 to be done.
2316 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
2317 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
2318
2319 2012-04-26 Joseph Myers <joseph@codesourcery.com>
2320
2321 * sysdeps/unix/i386/brk.S: Remove file.
2322 * sysdeps/unix/i386/dl-brk.S: Likewise.
2323 * sysdeps/unix/i386/pipe.S: Likewise.
2324 * sysdeps/unix/i386/sigreturn.S: Likewise.
2325 * sysdeps/unix/i386/syscall.S: Likewise.
2326 * sysdeps/unix/i386/vfork.S: Likewise.
2327 * sysdeps/unix/i386/wait.S: Likewise.
2328
2329 * sysdeps/unix/common/tcsendbrk.c: Move to ...
2330 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
2331
2332 * configure.in (arm*-none*): Do not allow without
2333 --enable-hacker-mode.
2334 (netbsd*): Remove case setting base_os.
2335 (386bsd*): Likewise.
2336 (freebsd*): Likewise.
2337 (bsdi*): Likewise.
2338 (osf*): Likewise.
2339 (sunos*): Likewise.
2340 (ultrix*): Likewise.
2341 (newsos*): Likewise.
2342 (dynix*): Likewise.
2343 (*bsd*): Likewise.
2344 (sysv*): Likewise.
2345 (isc*): Likewise.
2346 (esix*): Likewise.
2347 (sco*): Likewise.
2348 (minix*): Likewise.
2349 (irix4*): Likewise.
2350 (irix6*): Likewise.
2351 (solaris[2-9]*): Likewise.
2352 (none): Likewise.
2353 * configure: Regenerated.
2354
2355 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2356
2357 [BZ #11521]
2358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
2359 overflow or cancellation in calculating denominator.
2360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
2361 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
2362 down expression to avoid unexpected rounding in newer GCCs.
2363 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
2364
2365 2012-04-26 David S. Miller <davem@davemloft.net>
2366
2367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
2368 long-double compat symbols.
2369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
2370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
2371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
2372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
2373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
2374 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
2375 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
2376 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
2377 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
2378 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
2380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
2381 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
2382
2383 2012-04-25 David S. Miller <davem@davemloft.net>
2384
2385 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
2386 HWCAP_* values only after the memory barriers have been defined.
2387 (atomic_full_barrier): Define.
2388 (atomic_read_barrier): Define.
2389 (atomic_write_barrier): Define.
2390
2391 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
2392
2393 * shlib-versions: Add libgcc_s version information.
2394 * sysdeps/generic/libgcc_s.h: Remove.
2395 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
2396 libgcc_s.h.
2397 * sysdeps/gnu/unwind-resume.c: Likewise.
2398 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
2399
2400 2012-04-25 David S. Miller <davem@davemloft.net>
2401
2402 * sysdeps/unix/sparc/brk.S: Delete.
2403 * sysdeps/unix/sparc/dl-brk.S: Delete.
2404 * sysdeps/unix/sparc/pipe.S: Delete.
2405 * sysdeps/unix/sparc/sysdep.S: Delete.
2406 * sysdeps/unix/sparc/sysdep.h: Delete.
2407 * sysdeps/unix/sparc/vfork.S: Delete.
2408 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
2409 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
2410 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
2411 ret_ERRVAL, r0, r1, MOVE): Define.
2412 (JUMPTARGET): Remove.
2413 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
2414 sysdeps/unix/sparc/sysdep.h
2415 (ENTRY, END): Remove.
2416 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2417
2418 2012-04-25 Joseph Myers <joseph@codesourcery.com>
2419
2420 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
2421 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
2422 -DIS_IN_build.
2423
2424 * timezone/README: Update upstream location and email address for
2425 tzcode and tzdata.
2426 * timezone/zdump.c: Update from tzcode 2012b.
2427 * timezone/zic.c: Likewise.
2428
2429 * configure.in (libc_cv_as_needed): Remove test.
2430 * configure: Regenerated.
2431 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
2432 conditional definition.
2433 [$(have-as-needed) != yes] (no-as-needed): Likewise.
2434 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
2435 * config.make.in (have-as-needed): Remove variable.
2436
2437 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
2438 Paul Pluzhnikov <ppluzhnikov@google.com>
2439
2440 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
2441 strings correctly.
2442
2443 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
2444
2445 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
2446 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
2447 * sysdeps/sh/strlen.S: Likewise.
2448
2449 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2450
2451 * sysdeps/unix/fork.S: Remove file.
2452 * sysdeps/unix/i386/fork.S: Likewise.
2453 * sysdeps/unix/sparc/fork.S: Likewise.
2454
2455 * sysdeps/unix/system.c: Remove file.
2456 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
2457
2458 * sysdeps/unix/getegid.S: Remove file.
2459 * sysdeps/unix/geteuid.S: Likewise.
2460
2461 2012-04-24 Roland McGrath <roland@hack.frob.com>
2462
2463 * scripts/check-localplt.awk: New file.
2464 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
2465 of diff.
2466 * scripts/data/localplt-generic.data: Add a comment.
2467
2468 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
2469 NODE when __dir_mkfile failed.
2470 * sysdeps/mach/hurd/symlinkat.c: Likewise.
2471 Reported by Ludovic Courtès <ludo@gnu.org>.
2472
2473 2012-04-24 Andreas Jaeger <aj@suse.de>
2474
2475 * Makerules (common-clean): Also remove gen-as-const-headers
2476 files.
2477
2478 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2479
2480 * Makerules (native-compile): Do not change working directory for
2481 build. Use $(OUTPUT_OPTION) in command.
2482 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
2483
2484 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2485
2486 [BZ #13886]
2487 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
2488 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
2489 * math/libm-test.inc (floor_test): Add more tests.
2490 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
2491
2492 2012-04-24 Joseph Myers <joseph@codesourcery.com>
2493
2494 * sysdeps/unix/getdents.c: Remove file.
2495 * sysdeps/unix/sysv/getdents.c: Likewise.
2496 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
2497
2498 * sysdeps/unix/syscalls.list (madvise): Add syscall from
2499 sysdeps/unix/mman/syscalls.list.
2500 (mmap): Likewise.
2501 (mprotect): Likewise.
2502 (msync): Likewise.
2503 (munmap): Likewise.
2504 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
2505 * sysdeps/unix/mman/syscalls.list: Remove.
2506 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
2507
2508 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
2509 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
2510 * configure: Regenerated.
2511 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
2512 $(libgcc_s_suffix).
2513 * config.make.in (libgcc_s_suffix): Remove variable.
2514
2515 2012-04-23 Joseph Myers <joseph@codesourcery.com>
2516
2517 * sysdeps/unix/sysv/gethostname.c: Move to ...
2518 * sysdeps/posix/gethostname.c: ... here.
2519
2520 * sysdeps/unix/execve.S: Remove file.
2521
2522 * sysdeps/unix/_exit.S: Remove file.
2523
2524 2012-04-23 Andreas Jaeger <aj@suse.de>
2525
2526 [BZ #13739]
2527 * manual/Makefile: Remove make dist support, there's no
2528 need for a stand-alone documentation tar ball.
2529 (TEXI2DVI): Define always, it's not in Makeconfig.
2530 (dist): Removed.
2531 (tar-it): Removed.
2532 (edition): Removed.
2533 (glibc-doc-$(edition).tar): Removed
2534 (%.Z): Removed.
2535 (%.gz): Removed.
2536 (%.uu): Removed.
2537 (ETAGS): Remove, it's in Makeconfig.
2538 (move-if-change): Remove, it's in Makeconfig.
2539
2540 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
2541
2542 [BZ #13970]
2543 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
2544 (strtod, strtof, strtold, strtol, strtoul, strtoq)
2545 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
2546 (strtod_l, strtof_l, strtold_l): Remove __wur.
2547 It is not necessarily an error to ignore strtol's return value.
2548 One can reliably look at the stored endptr to decide whether
2549 the number had valid syntax.
2550
2551 2012-04-21 Andreas Jaeger <aj@suse.de>
2552
2553 [BZ #13739]
2554 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
2555
2556 2012-04-21 Joseph Myers <joseph@codesourcery.com>
2557
2558 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
2559 * sysdeps/unix/sysv/Versions: Remove file.
2560
2561 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
2562
2563 [BZ #13927]
2564 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2565
2566 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
2567
2568 [BZ #7064]
2569 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
2570 version from __vm86.
2571
2572 2012-04-20 Joseph Myers <joseph@codesourcery.com>
2573
2574 * sysdeps/unix/common/lxstat.c: Remove file.
2575 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
2576
2577 * sysdeps/unix/sysv/Makefile: Remove file.
2578
2579 * sysdeps/unix/sysv/direct.h: Remove file.
2580
2581 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
2582 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
2583 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
2584 * sysdeps/unix/sysv/bits/signum.h: Likewise.
2585 * sysdeps/unix/sysv/bits/stat.h: Likewise.
2586 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
2587 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
2588
2589 * sysdeps/unix/sysv/setrlimit.c: Remove file.
2590
2591 * sysdeps/unix/xmknod.c: Remove file.
2592 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
2593
2594 * sysdeps/unix/sysv/settimeofday.c: Remove file.
2595
2596 * sysdeps/unix/sysv/i386/time.S: Remove file.
2597
2598 * sysdeps/unix/fxstat.c: Remove file.
2599 * sysdeps/unix/xstat.c: Likewise.
2600 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
2601
2602 * sysdeps/unix/sysv/sigaction.c: Remove file.
2603
2604 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
2605 (sysdep_headers): Remove variable.
2606 [termio.h not in sysdep_headers] (generated): Likewise.
2607 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
2608 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
2609 * sysdeps/unix/sysv/tcdrain.c: Likewise.
2610 * sysdeps/unix/sysv/tcflow.c: Likewise.
2611 * sysdeps/unix/sysv/tcflush.c: Likewise.
2612 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
2613 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
2614 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
2615 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
2616 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
2617
2618 * sysdeps/unix/siglist.c: Remove file.
2619
2620 * sysdeps/unix/getppid.S: Remove file.
2621
2622 * sysdeps/unix/mkdir.c: Remove file.
2623 * sysdeps/unix/rmdir.c: Likewise.
2624
2625 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
2626
2627 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
2628 ERR_MAX value.
2629 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
2630 errlist-compat value.
2631
2632 2012-04-18 David S. Miller <davem@davemloft.net>
2633
2634 * sysdeps/generic/memcopy.h (reg_char): Delete.
2635 * debug/strcat_chk.c: Use char, not reg_char.
2636 * debug/strcpy_chk.c: Likewise.
2637 * debug/strncat_chk.c: Likewise.
2638 * debug/strncpy_chk.c: Likewise.
2639 * string/memchr.c: Likewise.
2640 * string/memrchr.c: Likewise.
2641 * string/rawmemchr.c: Likewise.
2642 * string/strcat.c: Likewise.
2643 * string/strchr.c: Likewise.
2644 * string/strchrnul.c: Likewise.
2645 * string/strcmp.c: Likewise.
2646 * string/strcpy.c: Likewise.
2647 * string/strncat.c: Likewise.
2648 * string/strncmp.c: Likewise.
2649 * string/strncpy.c: Likewise.
2650
2651 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2652
2653 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
2654 __builtin_memcopy is called when src and dest ranges are known to not
2655 overlap.
2656
2657 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2658
2659 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
2660 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
2661 fwd_align_merge macro call.
2662 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
2663 bwd_align_merge macro call.
2664 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2665
2666 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
2667
2668 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
2669 bwd_align_merge macros.
2670 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
2671 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
2672 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
2673
2674 2012-04-18 David S. Miller <davem@davemloft.net>
2675
2676 * sysdeps/sparc/sparc64/memcopy.h: Delete.
2677
2678 2012-04-18 Andreas Jaeger <aj@suse.de>
2679
2680 [BZ# 6794]
2681 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
2682 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
2683 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2684
2685 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
2686 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
2687 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2688
2689 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
2690 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
2691 Adjust for changed ldbl-128 files.
2692
2693 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
2694 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
2695 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
2696
2697 2012-04-17 David S. Miller <davem@davemloft.net>
2698
2699 * sysdeps/sparc/sparc32/memcopy.h: Delete.
2700
2701 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
2702
2703 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
2704 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
2705 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
2706 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
2707 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2708 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
2709
2710 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2711
2712 [BZ #6794]
2713 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
2714 * math/libm-test.inc: Add ilogb errno and exception tests.
2715 * math/w_ilogb.c: New file: ilogb wrapper.
2716 * math/w_ilogbf.c: New file: ilogbf wrapper.
2717 * math/w_ilogbl.c: New file: ilogbl wrapper.
2718 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
2719 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
2720 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
2721 exception being thrown with 0.0 as argument.
2722 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
2723 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
2724 exception being thrown with 0.0 as argument.
2725 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
2726 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2727 exception being thrown with 0.0 as argument.
2728 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
2729 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
2730 exception being thrown with 0.0 as argument.
2731 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
2732 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
2733 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
2734 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
2735 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
2736 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
2737 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
2738 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
2739 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
2740
2741 2012-04-17 Petr Baudis <pasky@ucw.cz>
2742
2743 * include/sys/uio.h: Change __vector to __iovec to avoid clash
2744 with altivec.
2745
2746 2012-04-16 Marek Polacek <polacek@redhat.com>
2747
2748 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
2749
2750 2012-04-16 Marek Polacek <polacek@redhat.com>
2751
2752 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
2753 operands of fdivp instruction.
2754
2755 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2756
2757 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
2758 * elf/tst-auditmod3b.c: Likewise.
2759 * elf/tst-auditmod4b.c: Likewise.
2760 * elf/tst-auditmod5b.c: Likewise.
2761 * elf/tst-auditmod6b.c: Likewise.
2762 * elf/tst-auditmod6c.c: Likewise.
2763 * elf/tst-auditmod7b.c: Likewise.
2764 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
2765 * sysdeps/x86_64/preconfigure.in: Likewise.
2766 * sysdeps/x86_64/preconfigure: Regenerated.
2767
2768 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
2769
2770 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
2771 __ILP32__.
2772
2773 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
2774
2775 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2776 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2777
2778 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
2779
2780 [BZ #13973]
2781 * locale/iso-639.def: Fix gl language name. Spotted by
2782 Yaron Shahrabani.
2783
2784 2012-04-12 Roland McGrath <roland@hack.frob.com>
2785
2786 [BZ #2074]
2787 * libio/libio.h (__io_write_fn): Update comment.
2788
2789 2012-04-12 Petr Baudis <pasky@ucw.cz>
2790
2791 [BZ #2074]
2792 * stdio.texi (Hook Functions): The user provided writer function
2793 is not allowed to return -1.
2794
2795 2012-04-11 David S. Miller <davem@davemloft.net>
2796
2797 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2798
2799 2012-04-11 Mike Frysinger <vapier@gentoo.org>
2800
2801 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
2802 Add a leading slash to rtkaio.
2803
2804 2012-04-11 Jim Meyering <meyering@redhat.com>
2805
2806 [BZ #11959]
2807 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
2808 It is not necessarily an error to ignore fwrite's return
2809 value. One can reliably use ferror to test for errors after
2810 the fact.
2811
2812 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2813
2814 * bits/types.h (__snseconds_t): New type.
2815 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
2816
2817 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
2818 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2819 (__SNSECONDS_T_TYPE): Likewise.
2820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2821 (__SNSECONDS_T_TYPE): Likewise.
2822 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2823 (__SNSECONDS_T_TYPE): Likewise.
2824
2825 2012-04-10 Andreas Jaeger <aj@suse.de>
2826
2827 [BZ #2636]
2828 * manual/time.texi (Processor Time): Return type of times is
2829 elapsed real time since an arbitrary point in the past.
2830 (CPU Time): Move CLK_TCK from here...
2831 (Processor Time): ...to here. Correct description.
2832 * manual/conf.texi (Constants for Sysconf): Correct description of
2833 _SC_CLK_TCK.
2834
2835 2012-04-10 David S. Miller <davem@davemloft.net>
2836
2837 [BZ #13967]
2838 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
2839 where the is a gap between DT_REL(A) and DT_JMPREL.
2840
2841 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
2842
2843 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
2844 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2845 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2846
2847 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
2848
2849 * elf/dl-support.c (_dl_inhibit_cache): New variable.
2850 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
2851 (dl_main): Handle --inhibit-cache.
2852 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
2853 _dl_inhibit_cache.
2854 * elf/dl-load.c (_dl_map_object): Use it.
2855 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
2856
2857 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2858
2859 [BZ #13872]
2860 * sysdeps/i386/fpu/e_powl.S (p78): New object.
2861 (__ieee754_powl): Saturate large exponents rather than testing for
2862 overflow of y*log2(x).
2863 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
2864 * math/libm-test.inc (pow_test): Do not permit spurious overflow
2865 exceptions.
2866
2867 [BZ #11521]
2868 * math/s_ctan.c: Include <float.h>.
2869 (__ctan): Avoid internal overflow or cancellation in calculating
2870 denominator.
2871 * math/s_ctanf.c: Likewise.
2872 * math/s_ctanl.c: Likewise.
2873 * math/s_ctanh.c: Likewise.
2874 * math/s_ctanhf.c: Likewise.
2875 * math/s_ctanhl.c: Likewise.
2876 * math/libm-test.inc (ctan_test): Add more tests.
2877 (ctanh_test): Likewise.
2878 * sysdeps/i386/fpu/libm-test-ulps: Update.
2879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2880
2881 2012-04-09 Andreas Jaeger <aj@suse.de>
2882
2883 [BZ #6894]
2884 * manual/filesys.texi (Directory Entries): Mention that d_namlen
2885 is an optional BSD extension.
2886
2887 [BZ #10254]
2888 * manual/stdio.texi (Opening Streams): Document additional fopen
2889 parameters.
2890
2891 2012-04-09 Roland McGrath <roland@hack.frob.com>
2892
2893 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
2894 %eax without telling the compiler.
2895
2896 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
2897
2898 [BZ # 13963]
2899 * manual/install.texi: Use sourceware.org.
2900
2901 2012-04-09 Joseph Myers <joseph@codesourcery.com>
2902
2903 [BZ #13873]
2904 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
2905 (__ieee754_pow): Generate overflow and underflow using huge*huge
2906 and tiny*tiny rather than just returning constant infinity or zero
2907 for large exponents.
2908 * math/libm-test.inc (pow_test): Require overflow exceptions for
2909 applicable cases of large exponents.
2910
2911 [BZ #706]
2912 * sysdeps/i386/fpu/e_pow.S (p10): New object.
2913 (__ieee754_pow): Use iterative multiplication algorithm only for
2914 integer exponents with absolute value below 1024. Check for odd
2915 integer exponents when using algorithm for real exponents.
2916 * math/libm-test.inc (pow_test): Add more tests.
2917 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2918
2919 2012-04-08 Joseph Myers <joseph@codesourcery.com>
2920
2921 [BZ #13705]
2922 * math/libm-test.inc (exp_test): Do not allow overflow exception
2923 on underflow test.
2924
2925 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
2926
2927 [BZ #13705]
2928 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
2929 instead of __kernel_standard_f.
2930
2931 2012-04-08 Mike Frysinger <vapier@gentoo.org>
2932
2933 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
2934 * sysdeps/x86_64/memset_chk.S: Likewise.
2935
2936 2012-04-08 Andreas Jaeger <aj@suse.de>
2937
2938 [BZ #10153]
2939 * manual/startup.texi (Environment Access): Describe return value
2940 for putenv and setenv.
2941
2942 [BZ #6895]
2943 * manual/filesys.texi (Directory Entries): Add description for
2944 DT_LNK.
2945
2946 [BZ #6890]
2947 * manual/filesys.texi (Directory Entries): Clarify that it's file
2948 system not operating system in the description of DT_UNKNOWN.
2949
2950 [BZ #6578]
2951 * manual/syslog.texi (closelog): Fix reference, it's openlog.
2952
2953 2012-04-08 Stephen Compall <s11@member.fsf.org>
2954
2955 [BZ #6649]
2956 * manual/llio.texi (Opening and Closing Files): Add cross
2957 reference to explain mode argument.
2958
2959 2012-04-07 Mike Frysinger <vapier@gentoo.org>
2960
2961 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
2962 * sysdeps/x86_64/memset_chk.S: Likewise.
2963
2964 2012-04-07 David S. Miller <davem@davemloft.net>
2965
2966 * elf/elf.h (R_SPARC_WDISP10): Define.
2967 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
2968 R_SPARC_SIZE32.
2969 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
2970 R_SPARC_SIZE64 and R_SPARC_H34.
2971
2972 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
2973
2974 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
2975 conditions and remove no longer applicable assertion.
2976
2977 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2978
2979 * bits/byteswap.h: Include <features.h>.
2980 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
2981 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
2982
2983 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
2984
2985 * bits/byteswap.h (__bswap_16): Removed.
2986 Include <bits/byteswap-16.h> to get __bswap_16.
2987 * sysdeps/i386/bits/byteswap.h: Likewise.
2988 * sysdeps/s390/bits/byteswap.h: Likewise.
2989 * sysdeps/x86_64/bits/byteswap.h: Likewise.
2990 * bits/byteswap-16.h: New file.
2991 * sysdeps/i386/bits/byteswap-16.h: Likewise.
2992 * sysdeps/s390/bits/byteswap-16.h: Likewise.
2993 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
2994 * string/Makefile (headers): Add bits/byteswap-16.h.
2995
2996 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
2997
2998 [BZ #13895]
2999 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
3000 extra indirection.
3001 * nss/Makefile (tests-static, tests): Add tst-nss-static.
3002 * nss/tst-nss-static.c: New.
3003
3004 2012-04-06 Robert Millan <rmh@gnu.org>
3005
3006 [BZ #6486]
3007 * manual/llio.texi (File Position Primitive): lseek
3008 refers to WHENCE when it really means OFFSET.
3009
3010 2012-04-06 Andreas Jaeger <aj@suse.de>
3011
3012 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
3013 strncmp declarations.
3014
3015 * abilist/libc.abilist: Add __poll and __ppoll.
3016
3017 2012-04-05 David S. Miller <davem@davemloft.net>
3018
3019 * scripts/check-local-headers.sh: Accept a host triplet in the
3020 path matched by the exclude regexp.
3021
3022 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
3023 definition.
3024 * sysdeps/powerpc/powerpc32/dl-machine.h
3025 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
3026 * sysdeps/s390/s390-32/dl-machine.h
3027 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3028 * sysdeps/sparc/sparc32/dl-machine.h
3029 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3030 * sysdeps/sparc/sparc64/dl-machine.h
3031 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
3032
3033 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
3034 lazy binding.
3035 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
3036 undefined symbol errors.
3037
3038 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
3039 DT_NEEDED entries.
3040
3041 2012-04-05 Michael Matz <matz@suse.de>
3042
3043 [BZ #13592]
3044 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
3045
3046 2012-04-05 Andreas Jaeger <aj@suse.de>
3047
3048 [BZ #13908]
3049 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
3050 comment.
3051
3052 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3053
3054 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
3055 which ROUND is no valid rounding mode.
3056
3057 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3058
3059 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
3060 read again.
3061 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
3062
3063 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3064
3065 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
3066 an exception using FPU order intentionally.
3067
3068 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
3069
3070 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
3071 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
3072 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
3073 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
3074
3075 2012-04-05 Simon Josefsson <simon@josefsson.org>
3076
3077 [BZ #12340]
3078 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
3079 EINVAL when BUFLEN is too smal.
3080
3081 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
3082
3083 [BZ #13553]
3084 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
3085 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
3086
3087 2012-04-03 Andreas Jaeger <aj@suse.de>
3088
3089 [BZ #13938]
3090 * manual/setjmp.texi (System V contexts): Fix sentence.
3091
3092 [BZ #13926]
3093 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
3094 New macro for this case.
3095 [!__GNUC__] (__bswap_64): New inline function for this case.
3096 * sysdeps/x86_64/bits/byteswap.h: Likewise.
3097 * bits/byteswap.h: Likewise.
3098 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
3099 ull, guard with __GLIBC_HAVE_LONG_LONG.
3100
3101 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
3102 __GLIBC_HAVE_LONG_LONG.
3103
3104 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
3105 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
3106
3107 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3108
3109 [BZ #13691]
3110 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
3111 inptr and inend, rather than using last_ch.
3112
3113 2012-04-02 David S. Miller <davem@davemloft.net>
3114
3115 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
3116 * stdio-common/printf-parse.h (read_int): Change return type to
3117 'int', return -1 on INT_MAX overflow.
3118 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
3119 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
3120 overflows INT_MAX. Check for overflow of in-format-string precision
3121 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
3122 SIZE_MAX not INT_MAX for integer overflow test.
3123 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
3124 skip the construct in the format string but do not record anything.
3125 * stdio-common/bug22.c: Adjust to test both width/prevision
3126 INT_MAX overflow as well as total length INT_MAX overflow. Check
3127 explicitly for proper errno values.
3128
3129 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
3130
3131 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
3132 CHAR_MAX.
3133 * string/test-strcmp.c [! WIDE]: Likewise.
3134 * time/tst-mktime2.c: Likewise for INT_MAX.
3135 * string/test-string.h: #include <sys/param.h> for MIN.
3136
3137 * csu/init-first.c (__libc_init_first): Call __ctype_init.
3138 * sysdeps/i386/init-first.c (init): Likewise.
3139 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
3140 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
3141 * sysdeps/sh/init-first.c (init): Likewise.
3142
3143 2012-04-01 Ulrich Drepper <drepper@gmail.com>
3144
3145 * po/ru.po: Update from translation team.
3146 * po/vi.po: Likewise.
3147
3148 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3149
3150 * resolv/nss_dns/dns-host.c: Merge copyright years.
3151
3152 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3153
3154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
3155 Optimize memcpy with prefetch if
3156 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
3157 src, dst pointers have unequal 16 byte alignments.
3158
3159 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3160
3161 [BZ #13928]
3162 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
3163 from a CNAME entry and return the minimum ttl for the query.
3164 (gaih_getanswer_slice): Likewise.
3165
3166 2012-03-30 Jeff Law <law@redhat.com>
3167
3168 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
3169 due to long keys.
3170 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
3171 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
3172
3173 * resolv/nss_dns/dns-host.c: Update copyright year.
3174
3175 2012-03-30 Ulrich Drepper <drepper@gmail.com>
3176
3177 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
3178 requests to save a system call. Fix check that all bytes are sent.
3179
3180 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
3181 comments for sendmmsg.
3182
3183 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
3184
3185 [BZ #13691]
3186 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
3187 with only 1 character between 0x0041 and 0x01b0.
3188 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
3189 * wcsmbs/tst-mbsnrtowcs.c: New file.
3190
3191 2012-03-29 David S. Miller <davem@davemloft.net>
3192
3193 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
3194 small copies by hand.
3195
3196 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3197
3198 [BZ #13761]
3199 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
3200 _nss_compat_initgroups_dyn): Fall back to malloc/free
3201 for large group memberships.
3202
3203 2012-03-28 David S. Miller <davem@davemloft.net>
3204
3205 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
3206 that branches into memcpy.
3207 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
3208 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3210 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3211 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
3212 bits.
3213 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
3214 implementation too.
3215 * sysdeps/sparc/mempcpy.S: New file.
3216
3217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
3218 the IFUNC routine in the libc case.
3219 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3220
3221 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
3222 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
3223 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
3224 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
3225 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
3226 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
3227 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
3228 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
3229
3230 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
3231 loop to 256 bytes instead of 64 bytes and fix test signedness.
3232
3233 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
3234 * sysdeps/sparc/sparc32/Makefile: rather than here...
3235 * sysdeps/sparc/sparc64/Makefile: and here.
3236
3237 2012-03-28 Ulrich Drepper <drepper@gmail.com>
3238
3239 * malloc/mallocbug.c: Avoid warnings about unused variables.
3240
3241 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
3242
3243 [BZ #13760]
3244 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
3245 in the right place. Discard and retry query if response is
3246 larger than input buffer size.
3247
3248 2012-03-28 Joseph Myers <joseph@codesourcery.com>
3249
3250 [BZ #369]
3251 [BZ #2678]
3252 [BZ #3866]
3253 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
3254 x for large integer exponent.
3255 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
3256 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
3257 sign of result as needed afterwards.
3258 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3259 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
3260 result for underflowing pow the same as for overflow.
3261 (__kernel_standard_l): Handle powl overflow and underflow here
3262 rather than calling __kernel_standard.
3263 * math/libm-test.inc (pow_test): Add more tests.
3264
3265 [BZ #3868]
3266 [BZ #13879]
3267 [BZ #13910]
3268 [BZ #13911]
3269 [BZ #13912]
3270 [BZ #13913]
3271 [BZ #13915]
3272 [BZ #13916]
3273 [BZ #13917]
3274 [BZ #13918]
3275 [BZ #13919]
3276 [BZ #13920]
3277 [BZ #13921]
3278 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
3279 * sysdeps/ieee754/k_standard.c: Include <float.h>.
3280 (__kernel_standard_l): New function.
3281 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
3282 __kernel_standard.
3283 * math/w_acosl.c (__acosl): Likewise.
3284 * math/w_asinl.c (__asinl): Likewise.
3285 * math/w_atan2l.c (__atan2l): Likewise.
3286 * math/w_atanhl.c (__atanhl): Likewise.
3287 * math/w_coshl.c (__coshl): Likewise.
3288 * math/w_exp10l.c (__exp10l): Likewise.
3289 * math/w_exp2l.c (__exp2l): Likewise.
3290 * math/w_fmodl.c (__fmodl): Likewise.
3291 * math/w_hypotl.c (__hypotl): Likewise.
3292 * math/w_j0l.c (__j0l, __y0l): Likewise.
3293 * math/w_j1l.c (__j1l, __y1l): Likewise.
3294 * math/w_jnl.c (__jnl, __ynl): Likewise.
3295 * math/w_lgammal.c (__lgammal): Likewise.
3296 * math/w_log10l.c (__log10l): Likewise.
3297 * math/w_log2l.c (__log2l): Likewise.
3298 * math/w_logl.c (__logl): Likewise.
3299 * math/w_powl.c (__powl): Likewise.
3300 * math/w_remainderl.c (__remainderl): Likewise.
3301 * math/w_scalbl.c (sysv_scalbl): Likewise.
3302 * math/w_sinhl.c (__sinhl): Likewise.
3303 * math/w_sqrtl.c (__sqrtl): Likewise.
3304 * math/w_tgammal.c (__tgammal): Likewise.
3305 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
3306 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
3307 * math/libm-test.inc (acos_test): Add more tests.
3308 (acosh_test): Likewise.
3309 (asin_test): Likewise.
3310 (atanh_test): Likewise.
3311 (exp_test): Likewise.
3312 (exp10_test): Likewise.
3313 (exp2_test): Likewise.
3314 (expm1_test): Likewise.
3315 (lgamma_test): Likewise.
3316 (log_test): Likewise.
3317 (log10_test): Likewise.
3318 (log1p_test): Likewise.
3319 (log2_test): Likewise.
3320 (pow_test): Do not allow some spurious overflow exceptions.
3321 (sqrt_test): Add more tests.
3322 (tgamma_test): Likewise.
3323 (y0_test): Likewise.
3324 (y1_test): Likewise.
3325 (yn_test): Likewise.
3326
3327 2012-03-27 Anton Blanchard <anton@samba.org>
3328
3329 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
3330 MAP_HUGETLB.
3331 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
3332 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
3333 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
3334
3335 2012-03-27 David S. Miller <davem@davemloft.net>
3336
3337 * conform/Makefile: Run run-conformtest.sh using $(BASH).
3338
3339 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
3340 have-as-vis3 check.
3341
3342 2012-03-27 Andreas Jaeger <aj@suse.de>
3343
3344 * sysdeps/x86_64/elf/configure.in: Moved to ...
3345 * sysdeps/x86_64/configure.in: ... here.
3346 * sysdeps/x86_64/elf/start.S: Moved to ...
3347 * sysdeps/x86_64/start.S: ... here.
3348 * sysdeps/x86_64/elf/configure: Delete.
3349
3350 * sysdeps/x86_64/configure.in: Merge contents from
3351 sysdeps/i386/configure.in (without i686 check).
3352
3353 * sysdeps/i386/elf/Versions: Merge into ...
3354 * sysdeps/i386/Versions: ... this.
3355 * sysdeps/i386/elf/Versions: Delete file.
3356 * sysdeps/i386/elf/start.S: Moved to ...
3357 * sysdeps/i386/start.S: ...here.
3358 * sysdeps/i386/elf/configure.in: Merge into...
3359 * sysdeps/i386/configure.in: ...here.
3360 * sysdeps/i386/elf/configure.in: Delete file.
3361 * sysdeps/i386/elf/configure: Delete file.
3362
3363 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
3364 * debug/backtracesyms.c: ... here.
3365 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
3366 * debug/backtracesymsfd.c: ... here.
3367 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
3368 * sysdeps/generic/ifunc-sel.h: ... here.
3369
3370 * sysdeps/unix/i386/start.c: Delete file.
3371 * sysdeps/unix/sparc/start.c: Delete file.
3372 * sysdeps/unix/start.c: Delete file.
3373
3374 * sysdeps/sh/elf/configure.in: Moved to ...
3375 * sysdeps/sh/configure.in: ... here.
3376 * sysdeps/sh/elf/start.S: Moved to ...
3377 * sysdeps/sh/start.S: ... here.
3378 * sysdeps/sh/elf/configure: Delete file.
3379
3380 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
3381 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
3382 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
3383 * sysdeps/powerpc/powerpc64/entry.h: ... here.
3384 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
3385 * sysdeps/powerpc/powerpc64/start.S: here.
3386 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
3387 * sysdeps/powerpc/powerpc64/Makefile: ... this.
3388 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
3389 * sysdeps/powerpc/powerpc64/configure.in: ... this.
3390 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
3391
3392 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
3393 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
3394 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
3395 * sysdeps/powerpc/powerpc32/start.S: ... here.
3396 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
3397 * sysdeps/powerpc/powerpc32/configure.in: ... this.
3398 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
3399
3400 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
3401 * sysdeps/powerpc/ifunc-sel.h: ... here.
3402 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
3403 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
3404
3405 * sysdeps/sparc/elf/configure.in: Moved to ...
3406 * sysdeps/sparc/configure.in: ... here.
3407 * sysdeps/sparc/elf/configure: Delete file.
3408 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
3409 * sysdeps/sparc/sparc32/start.S: ... here.
3410 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
3411 * sysdeps/sparc/sparc64/start.S: ... here.
3412 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
3413 * sysdeps/sparc/sparc32/Makefile: ... this.
3414 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
3415 * sysdeps/sparc/sparc64/Makefile: ... this.
3416
3417 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
3418 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
3419 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
3420 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
3421 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
3422 * sysdeps/s390/s390-32/setjmp.S: ... here.
3423 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
3424 * sysdeps/s390/s390-32/configure.in: ... here.
3425 * sysdeps/s390/s390-32/elf/configure: Delete file.
3426 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
3427 * sysdeps/s390/s390-32/start.S: ... here.
3428
3429 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
3430 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
3431 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
3432 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
3433 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
3434 * sysdeps/s390/s390-64/setjmp.S: ... here.
3435 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
3436 * sysdeps/s390/s390-64/configure.in: ... here
3437 * sysdeps/s390/s390-64/elf/configure: Delete file.
3438 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
3439 * sysdeps/s390/s390-64/start.S: ... here.
3440 * sysdeps/s390/s390-64/elf/configure: Delete.
3441
3442 * configure.in: Remove support for elf directories in sysdeps.
3443
3444 * configure: Regenerated.
3445 * sysdeps/i386/configure: Regenerated.
3446 * sysdeps/powerpc/powerpc32/configure: Regenerated.
3447 * sysdeps/powerpc/powerpc64/configure: Regenerated.
3448 * sysdeps/s390/s390-32/configure: Regenerated.
3449 * sysdeps/s390/s390-64/configure: Regenerated.
3450 * sysdeps/sh/configure: Regenerated.
3451 * sysdeps/sparc/configure: Regenerated.
3452 * sysdeps/x86_64/configure: Regenerated.
3453
3454 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
3455
3456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3457
3458 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
3459 denormal result into account.
3460
3461 2012-03-25 Roland McGrath <roland@hack.frob.com>
3462
3463 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
3464 Reported by Allan McRae <allan@archlinux.org>.
3465
3466 2012-03-23 Jeff Law <law@redhat.com>
3467
3468 * nss/getnssent.c (__nss_getent): Fix typo.
3469
3470 2012-03-23 David S. Miller <davem@davemloft.net>
3471
3472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3473
3474 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
3475
3476 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
3477 to pad to uint64_t for each field.
3478 (dl_tls_index): Replace unsigned long with uint64_t.
3479
3480 2012-03-23 Daniel Jacobowitz <dmj@google.com>
3481 Paul Pluzhnikov <ppluzhnikov@google.com>
3482
3483 [BZ #6528]
3484 * grp/Makefile (otherlibs): Don't set it.
3485 * inet/Makefile (otherlibs): Likewise.
3486 * login/Makefile (otherlibs): Likewise.
3487 * nscd/Makefile (otherlibs): Likewise.
3488 * posix/Makefile (otherlibs): Likewise.
3489 * pwd/Makefile (otherlibs): Likewise.
3490 * rt/Makefile (otherlibs): Likewise.
3491 * sunrpc/Makefile (otherlibs): Likewise.
3492 * nss/Makefile (otherlibs): Likewise.
3493 Add libnss_files to routines and static-only-routines.
3494 ($(objpfx)getent): Remove rule.
3495 * resolv/Makefile: Add libnss_dns and libresolv to routines and
3496 static-only-routines.
3497
3498 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3499
3500 [BZ #13892]
3501 * math/s_cexp.c: Include <float.h>.
3502 (__cexp): Handle exp result overflowing not necessarily
3503 overflowing both real and imaginary parts of result.
3504 * math/s_cexpf.c: Likewise.
3505 * math/s_cexpl.c: Likewise.
3506 * math/libm-test.inc (cexp_test): Add more tests.
3507 * sysdeps/i386/fpu/libm-test-ulps: Update.
3508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3509
3510 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3511
3512 * include/link.h (ELFW): New macro.
3513 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
3514 Replace ELF64_R_TYPE with ELFW(R_TYPE).
3515
3516 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3517
3518 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
3519 with uint64_t.
3520
3521 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3522
3523 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
3524 declaration.
3525 (struct La_x32_retval): Likewise.
3526
3527 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
3528
3529 * sysdeps/x86_64/preconfigure.in: New file.
3530 * sysdeps/x86_64/preconfigure: New generated file.
3531
3532 2012-03-22 Joseph Myers <joseph@codesourcery.com>
3533
3534 [BZ #13824]
3535 * math/e_exp2l.c: Include <float.h>.
3536 (__ieee754_exp2l): Handle overflow and underflow cases
3537 separately. Only pass fractional part of argument to
3538 __ieee754_expl.
3539 * math/libm-test.inc (exp2_test): Add more tests.
3540
3541 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
3542 negating x to take absolute value.
3543 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
3544 Likewise.
3545 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3546 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
3547 Likewise.
3548 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
3549 computing low part if x was negated.
3550 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3551
3552 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3553
3554 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
3555 la_x32_gnu_pltexit.
3556 (pltexit): Cast int_retval to ptrdiff_t.
3557 * elf/tst-auditmod3b.c: Likewise.
3558 * elf/tst-auditmod4b.c: Likewise.
3559 * elf/tst-auditmod5b.c: Likewise.
3560 * elf/tst-auditmod6b.c: Likewise.
3561 * elf/tst-auditmod6c.c: Likewise.
3562 * elf/tst-auditmod7b.c: Likewise.
3563
3564 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
3565 and x32_gnu_pltexit.
3566
3567 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
3568 __ELF_NATIVE_CLASS.
3569 (La_x32_regs): New macro.
3570 (La_x32_retval): Likewise.
3571 (la_x32_gnu_pltenter): New function prototype.
3572 (la_x32_gnu_pltexit): Likewise.
3573
3574 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
3575
3576 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
3577 exponent.
3578
3579 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3580
3581 * configure.in (libc_cv_cc_nofma): Check for option to disable
3582 generation of FMA instructions.
3583 * configure: Regenerate.
3584 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
3585 * sysdeps/ieee754/dbl-64/Makefile: New file.
3586 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
3587 Remove brandred-fma4.
3588 (CFLAGS-brandred-fma4.c): Remove.
3589 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
3590 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
3591 define.
3592 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
3593 define.
3594
3595 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3596
3597 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
3598 LLONG_MAX != LONG_MAX.
3599 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3600 (_fitoa_word): Likewise.
3601 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
3602 LLONG_MAX != LONG_MAX.
3603 * stdio-common/_itowa.h: Include <_itoa.h>.
3604 (_itowa_word): Use _ITOA_WORD_TYPE on value.
3605 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
3606 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
3607 only if not defined.
3608 (_ITOA_WORD_TYPE): Likewise.
3609 (_itoa_word): Use _ITOA_WORD_TYPE on value.
3610 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
3611
3612 2012-03-21 David S. Miller <davem@davemloft.net>
3613
3614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3615
3616 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
3617
3618 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
3619 of x86_64 when setting libc_cv_slibdir, libdir and
3620 libc_cv_localedir.
3621 * sysdeps/unix/sysv/linux/configure: Regenerated.
3622
3623 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3624
3625 * manual/lang.texi (Old Varargs): Remove section.
3626 (How Variadic): Update menu.
3627 (va_start): Do not mention varargs.h.
3628
3629 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3630 Joseph Myers <joseph@codesourcery.com>
3631
3632 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
3633 link test.
3634 * configure: Regenerated.
3635
3636 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
3637
3638 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
3639 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
3640 conformtest.pl
3641
3642 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3643
3644 * NOTES: Remove.
3645 * Makefile (files-for-dist): Remove NOTES.
3646 (NOTES): Remove rule.
3647 * README: Don't refer to NOTES.
3648 * manual/creature.texi: Don't include macros.texi.
3649 * manual/intro.texi (creature.texi): Remove comment referring to
3650 NOTES.
3651
3652 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
3653 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
3654 * configure: Regenerated.
3655 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
3656 LIBC_TRY_CC_OPTION.
3657 (libc_cv_as_i686): Likewise.
3658 (libc_cv_cc_avx): Likewise.
3659 (libc_cv_cc_sse2avx): Likewise.
3660 (libc_cv_cc_fma4): Likewise.
3661 (libc_cv_cc_novzeroupper): Likewise.
3662 * sysdeps/i386/configure: Regenerated.
3663
3664 [BZ #13883]
3665 * sysdeps/i386/fpu/s_cexp.S: Remove.
3666 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
3667 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
3668 * math/libm-test.inc (cexp_test): Add more tests.
3669 * sysdeps/i386/fpu/libm-test-ulps: Update.
3670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3671
3672 2012-03-21 Allan McRae <allan@archlinux.org>
3673
3674 * timezone/Makefile: Do not install iso3166.tab and zone.tab
3675
3676 2012-03-21 Joseph Myers <joseph@codesourcery.com>
3677
3678 [BZ #13871]
3679 * math/w_exp2.c: Do not include <float.h>.
3680 (o_threshold, u_threshold): Remove.
3681 (__exp2): Calculate result before checking finiteness and calling
3682 __kernel_standard.
3683 * math/w_exp2f.c: Likewise.
3684 * math/w_exp2l.c: Likewise.
3685 * math/libm-test.inc (exp2_test): Require overflow exception for
3686 1e6 input.
3687
3688 [BZ #3866]
3689 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
3690 range of signed 64-bit integers before using fistpll. Remove
3691 checks for whether integers fit in mantissa bits.
3692 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
3693 the range of signed 32-bit integers before using fistpl. Remove
3694 checks for whether integers fit in mantissa bits.
3695 * sysdeps/i386/fpu/e_powl.S (p64): New object.
3696 (__ieee754_powl): Test for y outside the range of signed 64-bit
3697 integers before using fistpll. Reduce 64-bit values to 63-bit
3698 ones as needed.
3699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
3700 divide-by-zero is raised for zero to large negative powers.
3701 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
3702 (__ieee754_powl): Test for y outside the range of signed 64-bit
3703 integers before using fistpll. Reduce 64-bit values to 63-bit
3704 ones as needed.
3705 * math/libm-test.inc (pow_test): Add more tests.
3706
3707 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3708
3709 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
3710 <stdio-common/_itoa.h>.
3711 * debug/segfault.c: Likewise.
3712 * elf/dl-cache.c: Likewise.
3713 * elf/dl-minimal.c: Likewise.
3714 * elf/dl-misc.c: Likewise.
3715 * elf/dl-sysdep.c: Likewise.
3716 * elf/dl-version.c: Likewise.
3717 * elf/rtld.c: Likewise.
3718 * hurd/hurdsock.c: Likewise.
3719 * hurd/lookup-retry.c: Likewise.
3720 * malloc/malloc.c: Likewise.
3721 * malloc/mtrace.c: Likewise.
3722 * nscd/nscd_getgr_r.c: Likewise.
3723 * nscd/nscd_getpw_r.c: Likewise.
3724 * nscd/nscd_getserv_r.c: Likewise.
3725 * posix/getopt_init.c: Likewise.
3726 * posix/wordexp.c: Likewise.
3727 * stdio-common/_itoa.c: Likewise.
3728 * stdio-common/printf_fphex.c: Likewise.
3729 * stdio-common/vfprintf.c: Likewise.
3730 * string/_strerror.c: Likewise.
3731 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
3732 * sysdeps/i386/i686/hp-timing.h: Likewise.
3733 * sysdeps/mach/_strerror.c: Likewise.
3734 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
3735 * sysdeps/mach/hurd/sethostid.c: Likewise.
3736 * sysdeps/mach/hurd/xmknodat.c: Likewise.
3737 * sysdeps/mach/xpg-strerror.c: Likewise.
3738 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
3739 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
3740 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
3741 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
3742 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
3743 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
3744 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
3745 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
3746 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
3747 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
3748 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
3749 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
3756 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
3757 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
3758 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
3759
3760 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
3761
3762 * stdio-common/_itoa.h: Moved to ...
3763 * sysdeps/generic/_itoa.h: Here.
3764
3765 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
3766
3767 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
3768 instead of "_itoa.h" and "_itowa.h".
3769 * stdio-common/vfprintf.: Likewise.
3770
3771 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3772
3773 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
3774 <bits/wordsize.h>.
3775 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
3776 (__signbit): Likwise.
3777 (llrintf): Likwise.
3778 (llrint): Likwise.
3779
3780 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
3781
3782 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
3783 __WORDSIZE != 64.
3784
3785 2012-03-20 Joseph Myers <joseph@codesourcery.com>
3786
3787 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
3788 OVERFLOW_EXCEPTION_OK.
3789 * math/libm-test.inc ("Philosophy"): Update comment about
3790 exception testing.
3791 (OVERFLOW_EXCEPTION): Define.
3792 (OVERFLOW_EXCEPTION_OK): Likewise.
3793 (INVALID_EXCEPTION_OK): Renumber.
3794 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
3795 (IGNORE_ZERO_INF_SIGN): Likewise.
3796 (test_exceptions): Handle FE_OVERFLOW.
3797 (exp10_test): Expect overflow exceptions.
3798 (exp2_test): Likewise.
3799 (expm1_test): Likewise.
3800 (nextafter_test): Likewise.
3801 (pow_test): Likewise.
3802 (scalbn_test): Likewise.
3803 (scalbln_test): Likewise.
3804
3805 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3806
3807 * sysdeps/x86_64/bits/atomic.h
3808 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
3809 64bit integer.
3810 (atomic_exchange_acq): Likewise.
3811 (__arch_exchange_and_add_body): Likewise.
3812 (__arch_add_body): Likewise.
3813 (atomic_add_negative): Likewise.
3814 (atomic_add_zero): Likewise.
3815
3816 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3817
3818 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
3819 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
3820
3821 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3822
3823 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
3824 Check __x86_64__ instead of __WORDSIZE.
3825
3826 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3827
3828 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
3829
3830 2012-03-19 David S. Miller <davem@davemloft.net>
3831
3832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3833
3834 * sysdeps/sparc/fpu/fenv_private.h: New file.
3835 * sysdeps/sparc/fpu/math_private.h: Use it.
3836 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
3837 Remove.
3838 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
3839 (libc_feholdexcept_setroundl): Remove.
3840 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
3841 Remove.
3842 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
3843 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
3844
3845 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
3848 int64_t instead of long int.
3849 (INSERT_WORDS64): Likwise.
3850
3851 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
3852
3853 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
3854 _Unwind_GetCFA return to _Unwind_Ptr first.
3855
3856 2012-03-19 Joseph Myers <joseph@codesourcery.com>
3857
3858 [BZ #13629]
3859 * math/s_clog.c: Include <float.h>.
3860 (__clog): Scale large or subnormal inputs.
3861 * math/s_clogf.c: Likewise.
3862 * math/s_clogl.c: Likewise.
3863 * math/s_clog10.c: Include <float.h>.
3864 (M_LOG10_2): Define.
3865 (__clog10): Scale large or subnormal inputs.
3866 * math/s_clog10f.c: Likewise.
3867 * math/s_clog10l.c: Likewise.
3868 * math/libm-test.inc (clog_test): Add more tests.
3869 (clog10_test): Likewise.
3870 * sysdeps/i386/fpu/libm-test-ulps: Update.
3871 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3872
3873 [BZ #11451]
3874 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
3875 x and y.
3876 * math/libm-test.inc (atan2_test): Add another test.
3877
3878 * Makerules (common-objdir-compile): Remove.
3879 * sysdeps/unix/Makefile (config-generated): Do not add
3880 $(unix-generated) to variable.
3881 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
3882 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
3883 Remove rule.
3884 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
3885 Likewise.
3886 [generic bits/local_lim.h] (before-compile): Do not append to
3887 variable.
3888 [generic bits/local_lim.h] (common-generated): Likewise.
3889 [generic sys/param.h] (before-compile): Do not append to variable.
3890 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
3891 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
3892 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
3893 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
3894 include.
3895 [generic sys/param.h] (sys/param.h-includes): Remove variable.
3896 [generic sys/param.h] (sys/param.h-includes): Remove rule.
3897 [generic sys/param.h] ($(addprefix
3898 $(common-objpfx),$(sys/param.h-includes))): Likewise.
3899 [generic sys/param.h] (common-generated): Do not append to
3900 variable.
3901 [generic sys/param.h] (sysdep_headers): Likewise.
3902 [generic bits/errno.h] (before-compile): Do not append to
3903 variable.
3904 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
3905 rule.
3906 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
3907 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
3908 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
3909 [generic bits/errno.h] (common-generated): Do not append to
3910 variable.
3911 [generic bits/ioctls.h] (before-compile): Do not append to
3912 variable.
3913 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
3914 rule.
3915 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
3916 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
3917 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
3918 rule.
3919 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
3920 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
3921 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
3922 [generic bits/ioctls.h] (common-generated): Do not append to
3923 variable.
3924 [generic sys/syscall.h] (syscall.h): Remove variable.
3925 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
3926 rule.
3927 [generic sys/syscall.h] (before-compile): Do not append to
3928 variable.
3929 [generic sys/syscall.h] (common-generated): Likewise.
3930 * sysdeps/unix/errnos-tmpl.c: Remove file.
3931 * sysdeps/unix/errnos.awk: Likewise.
3932 * sysdeps/unix/ioctls-tmpl.c: Likewise.
3933 * sysdeps/unix/ioctls.awk: Likewise.
3934 * sysdeps/unix/mk-local_lim.c: Likewise.
3935 * sysdeps/unix/snarf-ioctls: Likewise.
3936
3937 2012-03-19 Richard Henderson <rth@twiddle.net>
3938
3939 * sysdeps/i386/fpu/fenv_private.h: New file.
3940 * sysdeps/i386/fpu/math_private.h: Use it.
3941 (math_opt_barrier, math_force_eval): Remove.
3942 (libc_feholdexcept_setround_53bit): Remove.
3943 (libc_feupdateenv_53bit): Remove.
3944 * sysdeps/x86_64/fpu/math_private.h: Likewise.
3945 (math_opt_barrier, math_force_eval): Remove.
3946 (libc_feholdexcept): Remove.
3947 (libc_feholdexcept_setround): Remove.
3948 (libc_fetestexcept, libc_fesetenv): Remove.
3949 (libc_feupdateenv_test): Remove.
3950 (libc_feupdateenv, libc_feholdsetround): Remove.
3951 (libc_feresetround): Remove.
3952
3953 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
3954 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3955
3956 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
3957 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
3958 (libc_feupdateenv_testl): New.
3959 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
3960 (libc_feupdateenv_testf): New.
3961 (libc_feupdateenv): Use libc_feupdateenv_test.
3962 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
3963 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
3964
3965 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
3966 (libc_feholdsetroundf, libc_feholdsetroundl): New.
3967 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
3968 (libc_feresetround_noex): New.
3969 (libc_feresetround_noexf): New.
3970 (libc_feresetround_noexl): New.
3971 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
3972 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
3973 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
3974 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
3975 SET_RESTORE_ROUND.
3976 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
3977 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
3978 (__cos): Likewise.
3979 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
3980 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
3981 SET_RESTORE_ROUND_NOEX.
3982 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
3983 SET_RESTORE_ROUND_NOEXF.
3984 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
3985 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
3986 (libc_feholdsetroundf): New.
3987 (libc_feresetround, libc_feresetroundf): New.
3988
3989 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
3990 (libc_feholdexcept_setround_53bit): Convert from macro to function.
3991 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
3992
3993 * sysdeps/generic/math_private.h: Include <fenv.h>.
3994 (default_libc_feholdexcept): New.
3995 (default_libc_feholdexcept_setround): New.
3996 (default_libc_fesetenv, default_libc_feupdateenv): New.
3997 (libc_feholdexcept): Only define if undefined.
3998 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
3999 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
4000 (libc_feholdexcept_setroundl): Likewise.
4001 (libc_feholdexcept_setround_53bit): Likewise.
4002 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
4003 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
4004 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
4005 (libc_feupdateenv_53bit): Likewise.
4006 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
4007 (libc_feholdexcept): Convert from macro to inline function.
4008 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
4009 (libc_fesetenv, libc_feupdateenv): Likewise.
4010
4011 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
4012 not previously defined.
4013 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
4014 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
4015 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
4016 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
4017 * sysdeps/ieee754/flt-32/math_private.h: New file.
4018 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
4019 math_private.h below SET_FLOAT_WORD.
4020 (__isnan, __isinf_ns, __finite): Remove.
4021 (__isnanf, __isinf_nsf, __finitef): Remove.
4022
4023 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
4024
4025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4026
4027 2012-03-17 David S. Miller <davem@davemloft.net>
4028
4029 [BZ #6471]
4030 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
4031 for 2.16.
4032
4033 2012-03-16 David S. Miller <davem@davemloft.net>
4034
4035 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
4036 warnings.
4037
4038 [BZ #6471]
4039 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
4040 properly.
4041 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
4042 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
4043 sysdep_routines when subdir is sysvipc.
4044 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
4045 __getshmlba helper.
4046
4047 * sysdeps/sparc/fpu/libm-test/ulps: Update.
4048
4049 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4050
4051 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
4052 [__LP64__].
4053
4054 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4055
4056 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
4057 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
4058 (__lround): Renamed to ...
4059 (__llround): This. Replace long int with long long int.
4060 Define lround functions as aliases of llround functions.
4061 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
4062
4063 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4064
4065 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
4066 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
4067 adresses to uintptr_t. Replace "long int" and "unsigned long
4068 int" with "greg_t" on va_arg.
4069
4070 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4071
4072 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
4073 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
4074
4075 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
4076 Move e_machine check before EI_CLASS check. Handle x32
4077 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
4078 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
4079 SKIP_EM_IA_64 and include
4080 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
4081
4082 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
4083 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
4084 (add_system_dir): New macro.
4085
4086 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
4087 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
4088
4089 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4090
4091 [BZ #2551]
4092 [BZ #2552]
4093 [BZ #2553]
4094 [BZ #2554]
4095 [BZ #2562]
4096 [BZ #2563]
4097 [BZ #2565]
4098 [BZ #2566]
4099 [BZ #2576]
4100 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
4101 (y0): Likewise.
4102 * math/w_j0f.c (j0f): Likewise.
4103 (y0f): Likewise.
4104 * math/w_j0l.c (__j0l): Likewise.
4105 (__y0l): Likewise.
4106 * math/w_j1.c (j1): Likewise.
4107 (y1): Likewise.
4108 * math/w_j1f.c (j1f): Likewise.
4109 (y1f): Likewise.
4110 * math/w_j1l.c (__j1l): Likewise.
4111 (__y1l): Likewise.
4112 * math/w_jn.c (jn): Likewise.
4113 (yn): Likewise.
4114 * math/w_jnf.c (jnf): Likewise.
4115 (ynf): Likewise.
4116 * math/w_jnl.c (__jnl): Likewise.
4117 (__ynl): Likewise.
4118 * math/libm-test.inc (j0_test): Add more tests.
4119 (j1_test): Likewise.
4120 (jn_test): Likewise. Add trailing semicolon to existing test.
4121 (y0_test): Likewise.
4122 (y1_test): Likewise.
4123 * sysdeps/i386/fpu/libm-test-ulps: Update.
4124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4125
4126 [BZ #13851]
4127 [BZ #13854]
4128 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
4129 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
4130 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
4131 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
4132 (__tanl): Set errno for infinite argument.
4133 * sysdeps/i386/fpu/mptan.c: Remove.
4134 * sysdeps/i386/fpu/s_tan.S: Likewise.
4135 * sysdeps/i386/fpu/s_tanl.S: Likewise.
4136 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
4137 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
4138 * math/libm-test.inc (tan_test): Add more tests and enable more
4139 tests for double and long double.
4140 * sysdeps/i386/fpu/libm-test-ulps: Update.
4141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4142
4143 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
4144
4145 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
4146 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
4147
4148 2012-03-16 Roland McGrath <roland@hack.frob.com>
4149
4150 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
4151 * configure.in: Use it for both main tree and add-ons.
4152 * configure: Regenerated.
4153
4154 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
4155
4156 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
4157
4158 2012-03-16 Joseph Myers <joseph@codesourcery.com>
4159
4160 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
4161 in comment.
4162
4163 [BZ #13851]
4164 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
4165 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
4166 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
4167 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
4168 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
4169 infinite argument.
4170 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
4171 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
4172 != 0 for prec == 2.
4173 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
4174 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
4175 * sysdeps/i386/fpu/s_cosl.S: Likewise.
4176 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
4177 * sysdeps/i386/fpu/s_sinl.S: Likewise.
4178 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
4179 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
4180 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
4181 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
4182 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
4183 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
4184 * math/libm-test.inc (cos_test): Add more tests and enable more
4185 tests for long double.
4186 (sin_test): Likewise.
4187 (sincos_test): Likewise.
4188 * sysdeps/i386/fpu/libm-test-ulps: Update.
4189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4190
4191 2012-03-16 David S. Miller <davem@davemloft.net>
4192
4193 * sysdeps/sparc/fpu/math_private.h: New file.
4194
4195 2012-03-15 David S. Miller <davem@davemloft.net>
4196
4197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
4198 file.
4199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
4200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
4201 file.
4202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
4203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
4204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
4205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
4206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
4207 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
4208 sysdep routines.
4209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4210
4211 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
4212 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
4213
4214 * sysdeps/sparc/sparc-ifunc.h: New file.
4215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
4216 sparc-ifunc.h
4217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
4219 Likewise.
4220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
4221 Likewise.
4222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
4223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
4224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
4226 Likewise.
4227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
4228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
4229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
4230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
4231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
4232 Likewise.
4233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
4234 Likewise.
4235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
4236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
4237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
4238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
4239 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4241 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
4242 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
4243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4245 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
4246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
4247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
4248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
4249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
4250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
4251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
4252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
4253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
4254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
4255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
4256 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
4257 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
4258 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
4259
4260 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4261
4262 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
4263 scaling.
4264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4265
4266 2012-03-15 Andreas Jaeger <aj@suse.de>
4267
4268 [BZ #13852]
4269 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
4270 ieee754/flt-32 implementation for sin, cos and sincos.
4271 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
4272 * sysdeps/i386/fpu/s_cosf.S: Likewise.
4273 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
4274 * sysdeps/i386/fpu/s_sinf.S: Likewise.
4275 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
4276 ieee754/flt-32 implementation for tan.
4277
4278 * math/libm-test.inc (cos_test): Enable some large input tests for
4279 float as well
4280 (sin_test): Likewise.
4281 (sincos_test): Likewise.
4282 (tan_test): Add tests for large input.
4283
4284 * sysdeps/i386/fpu/libm-test-ulps: Update.
4285
4286 2012-03-15 Andreas Jaeger <aj@suse.de>
4287
4288 [BZ #13658]
4289 * math/libm-test.inc (cos_test): Add more test cases.
4290 (sin_test): Likewise.
4291 (sincos_test): Likewise.
4292
4293 2012-03-15 Andreas Jaeger <aj@suse.de>
4294
4295 [BZ #13837]
4296 * math/libm-test.inc (cos_test): Add a test case for large input
4297 value.
4298 (sin_test): Likewise.
4299 (sincos_test): Likewise.
4300
4301 2012-03-15 Andreas Jaeger <aj@suse.de>,
4302 Joseph Myers <joseph@codesourcery.com>
4303
4304 [BZ #13658]
4305 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
4306 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
4307 * sysdeps/i386/fpu/branred.c: Likewise.
4308 * sysdeps/i386/fpu/dosincos.c: Likewise.
4309 * sysdeps/i386/fpu/mpa.c: Likewise.
4310 * sysdeps/i386/fpu/s_cos.S: Likewise.
4311 * sysdeps/i386/fpu/s_sin.S: Likewise.
4312 * sysdeps/i386/fpu/s_sincos.S: Likewise.
4313 * sysdeps/i386/fpu/sincos32.c: Likewise.
4314
4315 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
4316 Define.
4317 (libc_feupdateenv_53bit): Define.
4318 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
4319 Define.
4320 (libc_feupdateenv_53bit): Define.
4321
4322 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
4323 53 bit (without extend i386 double precision).
4324
4325 * math/libm-test.inc (sincos_test): Add tests for large input.
4326 (sin): Likewise.
4327 (cos): Likewise.
4328
4329 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4330
4331 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
4332
4333 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4334
4335 2012-03-15 David S. Miller <davem@davemloft.net>
4336
4337 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
4338 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
4339 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
4340 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
4341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
4342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
4343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
4344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
4345 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
4346 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
4347 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
4348 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
4349 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
4350 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
4351 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
4352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
4353 file.
4354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
4355 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
4356 file.
4357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
4358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
4359 file.
4360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
4361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
4362 file.
4363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
4364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
4365 fmin/fmax sysdep routines.
4366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
4367
4368 2012-03-14 David S. Miller <davem@davemloft.net>
4369
4370 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
4371 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
4372 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
4373 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
4374 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
4375 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
4376 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
4377 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
4378 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
4379 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
4380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
4381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
4382 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
4383 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
4384 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
4385 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
4386 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
4387 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
4388 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
4389 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
4390 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
4391 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
4392 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
4393 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
4394 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
4395 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
4396 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
4397 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
4398 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
4399 routines.
4400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
4401 file.
4402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
4403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
4404 file.
4405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
4406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
4407 file.
4408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
4409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
4410 file.
4411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
4412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
4413 file.
4414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
4415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
4416 file.
4417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
4418 file.
4419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
4420 file.
4421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
4422 file.
4423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
4424 New file.
4425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
4426 file.
4427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
4428 file.
4429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
4430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
4431 file.
4432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
4433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
4434 file.
4435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
4436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
4437 file.
4438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
4439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
4440 VIS3 routines.
4441
4442 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
4443 New file.
4444
4445 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4446
4447 * sysdeps/sparc/configure.in: New file.
4448 * sysdeps/sparc/configure: Generate.
4449 * configure.in (libc_cv_sparc_as_vis3): Substitute.
4450 * configure: Regenerate.
4451 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
4452 * config.make.in (have-as-vis3): New.
4453 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
4454 available use -Av9d instead of -Av9a.
4455 * sysdeps/sparc/sparc64/Makefile: Likewise.
4456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
4457 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
4458 New file.
4459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
4460 file.
4461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
4462 New file.
4463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
4464 file.
4465 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
4466 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
4467 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
4468 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
4469 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
4470
4471 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
4472 fzeros/fnegs to load 0x80000000 into a float register instead of
4473 using the stack.
4474 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
4475
4476 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4477
4478 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4479 bits/syscall.h.
4480 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
4481 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
4482 ($(inst_includedir)/bits/syscall.h): Remove rule.
4483 ($(objpfx)bits/syscall.d): Include instead of
4484 $(objpfx)syscall-list.d.
4485 (generated): Change syscall-list.h and syscall-list.d to
4486 bits/syscall.h and bits/syscall.d.
4487
4488 2012-03-14 Roland McGrath <roland@hack.frob.com>
4489
4490 [BZ #13846]
4491 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
4492
4493 2012-03-14 Joseph Myers <joseph@codesourcery.com>
4494
4495 [BZ #13841]
4496 * math/s_csqrt.c: Include <float.h>.
4497 (__csqrt): Scale large or subnormal inputs.
4498 * math/s_csqrtf.c: Likewise.
4499 * math/s_csqrtl.c: Likewise.
4500 * math/libm-test.inc (csqrt_test): Add more tests.
4501 * sysdeps/i386/fpu/libm-test-ulps: Update.
4502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4503
4504 [BZ #13840]
4505 * math/libm-test.inc (hypot_test): Add more tests.
4506
4507 2012-03-13 David S. Miller <davem@davemloft.net>
4508
4509 [BZ #13840]
4510 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
4511 double-precision for the calculation instead of scaling.
4512
4513 2012-03-13 Joseph Myers <joseph@codesourcery.com>
4514
4515 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
4516 manipulate bits before adding and subtracting TWO52[sx].
4517 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
4518 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
4519 Likewise.
4520 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
4521
4522 2012-03-13 David S. Miller <davem@davemloft.net>
4523
4524 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
4525 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
4526 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
4527 rtld-global-offsets.h
4528 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4529
4530 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
4531 large parameters.
4532
4533 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
4534
4535 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
4536 'err' in the ifdef scope in which it is actually used.
4537
4538 * nss/nss_db/db-init.c: Include string.h
4539
4540 2012-03-12 David S. Miller <davem@davemloft.net>
4541
4542 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
4543 masking out of the most significant byte of random value used.
4544 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4545 Fix coding style in previous change.
4546
4547 * sysdeps/unix/sysv/linux/kernel-features.h
4548 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
4549 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
4550 expression.
4551 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
4552 later.
4553
4554 2012-03-11 David S. Miller <davem@davemloft.net>
4555
4556 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
4557 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
4558 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
4559 for 'resultvar' otherwise things get truncated on 64-bit.
4560
4561 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4562 Fix masking out of the most significant byte of random value used.
4563
4564 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4565
4566 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
4567
4568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4569
4570 2012-03-09 David S. Miller <davem@davemloft.net>
4571
4572 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
4573 variables with appropriate CPP guards.
4574 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
4575 frame pointer, not the stack pointer. Correct layout comments. Fix test
4576 on resulting framesize and the management of the outregs buffer for pltexit.
4577 Preserve floating point return values across _dl_call_pltexit call.
4578 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
4579 framesize and the management of the outregs buffer for pltexit.
4580 Preserve floating point return values across _dl_call_pltexit
4581 call.
4582 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
4583 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
4584 (print_exit): Fix format string for return register value.
4585
4586 2012-03-10 Joseph Myers <joseph@codesourcery.com>
4587
4588 * sunrpc/Makefile (others): Add rpcgen.
4589 ($(objpfx)rpcgen): Remove special build rule and dependency on
4590 libc.
4591 * sunrpc/rpcgen.c: New file.
4592
4593 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
4594
4595 [BZ #13673]
4596 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
4597 * stdio-common/bug-vfprintf-nargs.c: Likewise.
4598 * sysdeps/i386/crti.S: Likewise.
4599 * sysdeps/i386/crtn.S: Likewise.
4600 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
4601 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
4602 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
4603 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
4604 * sysdeps/sh/crti.S: Likewise.
4605 * sysdeps/sh/crtn.S: Likewise.
4606 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
4607
4608 [BZ #13673]
4609 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
4610 with URL.
4611 * locale/programs/locfile-kw.gperf: Likewise.
4612 * locale/programs/charmap-kw.h: Regenerated.
4613 * locale/programs/locfile-kw.h: Likewise.
4614
4615 [BZ #13673]
4616 * intl/plural.y: Replace FSF snail mail address with URL.
4617 * intl/plural.c: Regenerated.
4618
4619 2012-03-09 Richard Henderson <rth@twiddle.net>
4620
4621 * include/math_private.h: Remove file.
4622 * math/math_private.h: Move file ...
4623 * sysdeps/generic/math_private.h: ... here.
4624
4625 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
4626 * sysdeps/powerpc/fpu/math_private.h: Likewise.
4627 * sysdeps/x86_64/fpu/math_private.h: Likewise.
4628
4629 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
4630 and <math_private.h>.
4631 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
4632 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
4633 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
4634 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
4635 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
4636 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
4637 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
4638 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
4639 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
4640 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
4641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
4642 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
4643 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
4644 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
4645 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
4646 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
4647 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
4648 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4649 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
4650 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
4651 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
4653 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
4654 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
4655 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
4656 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
4657 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
4658 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
4659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
4660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4661 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
4662 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
4663 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
4664 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
4665 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
4666 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4667 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4668 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
4669 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
4670 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
4671 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
4672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
4673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
4674 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
4675 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
4676 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
4677 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
4678 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
4679 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4680 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
4681 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
4682 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
4683 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
4684 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
4685 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
4686 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
4687 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
4688 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
4689 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
4690 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
4691 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
4692 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
4693 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
4694 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
4695 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
4696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
4697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
4698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
4699 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
4700 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
4701 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
4702 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
4703 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
4704 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
4705 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
4706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
4707 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
4708 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
4709 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
4710 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
4711 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
4712 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
4713 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
4714 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
4715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
4716 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
4717 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
4718 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
4719 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
4720 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
4721 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
4722 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
4723 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
4724 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
4725 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
4726 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
4727 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
4728 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
4729 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
4730 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
4731 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
4732 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
4733 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
4734 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
4735 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
4736 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
4737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
4738 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
4739 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
4740 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
4741 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
4742 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
4743 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
4744 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
4745 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
4746 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
4747 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
4748 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
4749 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
4750 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
4751 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
4752 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
4753 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
4754 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
4755 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
4756 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
4757 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
4758 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
4759 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
4760 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
4761 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
4762 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
4763 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
4764 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
4765 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
4766 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
4767 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
4768 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
4769 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
4770 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
4771 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
4772 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
4773 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
4774 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
4775 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
4776 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
4777 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
4778 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
4779 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
4780 * sysdeps/ieee754/k_standard.c: Likewise.
4781 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
4782 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
4783 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
4784 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
4785 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
4786 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
4787 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
4788 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
4789 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
4790 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
4791 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
4792 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
4793 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
4794 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
4795 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
4796 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
4797 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
4798 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
4799 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
4800 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
4801 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
4802 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
4803 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
4804 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
4805 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
4806 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
4807 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
4808 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
4809 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
4810 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
4811 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
4812 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
4813 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
4814 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
4815 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
4816 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
4817 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
4818 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
4819 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
4820 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
4821 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
4822 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
4823 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
4824 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
4825 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
4826 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
4827 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
4828 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
4829 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
4830 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
4831 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
4832 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
4833 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
4834 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
4835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
4836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
4837 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
4838 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
4839 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
4840 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
4841 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
4842 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
4843 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
4844 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
4845 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
4846 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
4847 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
4848 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
4849 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
4850 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
4851 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
4852 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
4853 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
4854 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
4855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
4856 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
4857 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
4858 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
4859 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
4860 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
4861 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
4862 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
4863 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
4864 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
4865 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
4866 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4867 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
4868 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
4869 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
4870 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
4871 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
4872 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
4873 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
4875 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4876 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
4877 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
4878 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4879 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4880 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
4881 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
4882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4883 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
4884 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
4885 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
4886 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
4887 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4888 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4889 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
4890 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
4891 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
4892 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
4893 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
4894 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
4895 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
4896 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
4897 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
4898 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
4899 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
4900 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
4901 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
4902 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
4903 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
4904 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
4905 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
4906 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
4907 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
4908 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
4909 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
4910 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
4911 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
4912 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
4913 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
4914 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
4915 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
4916 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
4917 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
4918 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
4919 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
4920 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
4921 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
4922 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
4923 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
4924 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
4925 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
4926 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
4927 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
4928 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
4929 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
4930 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
4931 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
4932 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
4933 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
4934 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
4935 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
4936 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
4937 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
4938 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
4939 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
4940 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
4941 * sysdeps/ieee754/s_lib_version.c: Likewise.
4942 * sysdeps/ieee754/s_matherr.c: Likewise.
4943 * sysdeps/ieee754/s_signgam.c: Likewise.
4944 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
4945 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
4946 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
4947 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
4948 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
4949 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
4950 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
4951 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
4952 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
4953 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
4954 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
4955 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
4956 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
4957 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
4958 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
4959 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
4960 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
4961 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
4962 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
4963 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
4964 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
4965
4966 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4967
4968 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
4969 * sunrpc/rpc_main.c: Likewise.
4970 * sunrpc/rpc_svcout.c: Likewise.
4971
4972 2012-03-09 David S. Miller <davem@davemloft.net>
4973
4974 * include/math_private.h: New file.
4975
4976 2012-03-09 Joseph Myers <joseph@codesourcery.com>
4977
4978 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
4979 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
4980 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
4981 from <bits/socket_type.h>.
4982 (enum __socket_type): Don't define here.
4983 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
4984 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4985 bits/socket_type.h.
4986
4987 [BZ #13566]
4988 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
4989 checking __USE_GNU.
4990
4991 * Makerules ($(inst_includedir)/%.h): New rule.
4992 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
4993 (install-others): Remove variable setting.
4994 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
4995
4996 2012-03-08 Richard Henderson <rth@twiddle.net>
4997
4998 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
4999 from macro to inline function; merge with the
5000 !__LIBC_INTERNAL_MATH_INLINES version.
5001 (__ieee754_sqrtf): Likewise.
5002
5003 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
5004 to inline function.
5005 (__rintf, __floor, __floorf): Likewise.
5006
5007 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
5008 macro to inline function.
5009 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
5010
5011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
5012 not <math/math_private.h>.
5013
5014 2012-03-08 David S. Miller <davem@davemloft.net>
5015
5016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
5017 copyright year.
5018 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
5019
5020 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
5021
5022 * resolv/gai_misc.c (handle_requests): Fix struct timespec
5023 normalization.
5024 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
5025 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
5026
5027 2012-03-08 Ulrich Drepper <drepper@gmail.com>
5028
5029 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
5030 be defined individually, they must be defined as a block. Define
5031 S for printing a string instead of hidint the different by using a
5032 macro for adding the 'l'.
5033 * stdio-common/tst-fphex-wide.c: Adjust.
5034
5035 2012-03-07 Marek Polacek <polacek@redhat.com>
5036
5037 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
5038
5039 2012-03-08 Marek Polacek <polacek@redhat.com>
5040
5041 [BZ #13806]
5042 * stdio-common/Makefile (tests): Add tst-fphex-wide.
5043 * stdio-common/tst-fphex.c: Define a few macros to make the
5044 test reusable. Use them.
5045 * stdio-common/tst-fphex-wide.c: New file.
5046
5047 2012-03-08 Joseph Myers <joseph@codesourcery.com>
5048
5049 [BZ #6911]
5050 * manual/macros.texi (gnusystems): New macro.
5051 (nongnusystems): Likewise.
5052 (gnulinuxhurdsystems): Likewise.
5053 (gnuhurdsystems): Likewise..
5054 (gnulinuxsystems): Likewise.
5055 * manual/charset.texi: Use new macros or @theglibc{} to refer to
5056 variants of the GNU system, not "GNU system".
5057 * manual/conf.texi: Likewise.
5058 * manual/errno.texi: Likewise. Update example of errno macro
5059 expansion.
5060 * manual/filesys.texi: Likewise.
5061 (getumask): Document as specific to GNU/Hurd.
5062 * manual/install.texi: Likewise. Reword some references to
5063 GNU/Linux.
5064 * manual/intro.texi: Likewise.
5065 * manual/io.texi: Likewise.
5066 (File Name Portability): Detail which constraints are inapplicable
5067 to all GNU systems and which are only inapplicable to GNU/Hurd.
5068 * manual/job.texi: Likewise.
5069 * manual/llio.texi: Likewise.
5070 (O_NOCTTY): Document as present on GNU/Linux.
5071 * manual/maint.texi: Likewise.
5072 * manual/memory.texi: Likewise.
5073 * manual/pattern.texi: Likewise.
5074 * manual/pipe.texi: Likewise.
5075 * manual/process.texi: Likewise.
5076 * manual/resource.texi: Likewise.
5077 (RUSAGE_CHILDREN): Remove statement about specifying a particular
5078 child on GNU/Hurd.
5079 * manual/setjmp.texi: Likewise.
5080 * manual/signal.texi: Likewise.
5081 * manual/startup.texi: Likewise.
5082 * manual/stdio.texi: Likewise.
5083 * manual/terminal.texi: Likewise.
5084 (ONLCR): Document as POSIX.
5085 (OXTABS): Document availability on GNU/Linux as XTABS.
5086 (ONOEOT): Document availability separately from other bits.
5087 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
5088 * manual/time.texi: Likewise.
5089 * manual/users.texi: Likewise.
5090 * INSTALL: Regenerated.
5091 * sysdeps/gnu/errlist.c: Regenerated.
5092
5093 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
5094 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
5095 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
5096 puts.
5097 * configure: Regenerated.
5098
5099 2012-03-07 Joseph Myers <joseph@codesourcery.com>
5100
5101 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
5102 default includes instead of AC_HEADER_CHECK.
5103 * sysdeps/i386/configure: Regenerated.
5104
5105 [BZ #10716]
5106 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
5107 * math/s_cacoshf.c (__cacoshf): Likewise.
5108 * math/s_cacoshl.c (__cacoshl): Likewise.
5109 * math/s_casinh.c (__casinh): Set signs of result from argument.
5110 * math/s_casinhf.c (__casinhf): Likewise.
5111 * math/s_casinhl.c (__casinhl): Likewise.
5112 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
5113 (casinh_test): Add more tests.
5114 * sysdeps/i386/fpu/libm-test-ulps: Update.
5115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5116
5117 2012-03-07 Ulrich Drepper <drepper@gmail.com>
5118
5119 * po/zh_TW.po: Update from translation team.
5120
5121 * login/Makefile (distribute): Remove variable.
5122 * catgets/Makefile: Likewise.
5123 * mach/Makefile: Likewise.
5124 * malloc/Makefile: Likewise.
5125 * misc/Makefile: Likewise.
5126 * iconv/Makefile: Likewise.
5127 * nscd/Makefile: Likewise.
5128 * hurd/Makefile: Likewise.
5129 * manual/Makefile: Likewise.
5130 * locale/Makefile: Likewise.
5131 * intl/Makefile: Likewise.
5132 * conform/Makefile: Likewise.
5133 * nss/Makefile: Likewise.
5134 * time/Makefile: Likewise.
5135 * soft-fp/Makefile: Likewise.
5136 * dirent/Makefile: Likewise.
5137 * gmon/Makefile: Likewise.
5138 * po/Makefile: Likewise.
5139 * rt/Makefile: Likewise.
5140 * socket/Makefile: Likewise.
5141 * math/Makefile: Likewise.
5142 * signal/Makefile: Likewise.
5143 * debug/Makefile: Likewise.
5144 * elf/Makefile: Likewise.
5145 * timezone/Makefile: Likewise.
5146 * stdlib/Makefile: Likewise.
5147 * iconvdata/Makefile: Likewise.
5148 * sunrpc/Makefile: Likewise.
5149 * io/Makefile: Likewise.
5150 * argp/Makefile: Likewise.
5151 * inet/Makefile: Likewise.
5152 * hesiod/Makefile: Likewise.
5153 * grp/Makefile: Likewise.
5154 * csu/Makefile: Likewise.
5155 * wctype/Makefile: Likewise.
5156 * crypt/Makefile: Likewise.
5157 * libio/Makefile: Likewise.
5158 * string/Makefile: Likewise.
5159 * nis/Makefile: Likewise.
5160 * resolv/Makefile: Likewise.
5161 * stdio-common/Makefile: Likewise.
5162 * wcsmbs/Makefile: Likewise.
5163 * dlfcn/Makefile: Likewise.
5164 * posix/Makefile: Likewise.
5165
5166 [BZ #6959]
5167 * timezone/Makefile: Don't install timezone files, just the programs
5168 and scripts.
5169
5170 2012-03-06 Ulrich Drepper <drepper@gmail.com>
5171
5172 * nss/databases.def: Add missing gshadow entry.
5173
5174 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
5175
5176 2012-03-06 Marek Polacek <polacek@redhat.com>
5177
5178 [BZ #13726]
5179 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
5180 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
5181 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
5182 * stdio-common/tst-long-dbl-fphex.c: New file.
5183
5184 2012-03-06 David S. Miller <davem@davemloft.net>
5185
5186 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5187 (set_obp_int): New function.
5188 (get_obp_int): New function.
5189 (__get_clockfreq_via_dev_openprom): Likewise.
5190 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
5191 Avoid unused variable warnings on 'val' and use builtin_expect.
5192 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
5193 __builtin_expect.
5194 (INLINE_CLONE_SYSCALL): Likewise.
5195
5196 2012-03-05 David S. Miller <davem@davemloft.net>
5197
5198 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5199
5200 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
5201
5202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5203
5204 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
5205 only for |x| >= 40.
5206 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
5207
5208 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
5209
5210 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
5211 Replace gettimeofday with __vdso_gettimeofday.
5212
5213 * sysdeps/unix/sysv/linux/x86_64/init-first.c
5214 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
5215 __vdso_clock_gettime and __vdso_getcpu.
5216
5217 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
5218 time with __vdso_time.
5219
5220 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5221
5222 * manual/lang.texi (size_t): Note types to which size_t may be
5223 equivalent with the GNU C Library, but do not describe when
5224 differences between them are significant.
5225
5226 2012-03-05 Andreas Jaeger <aj@suse.de>
5227
5228 * sysdeps/i386/fpu/libm-test-ulps: Update.
5229
5230 2012-03-05 Joseph Myers <joseph@codesourcery.com>
5231
5232 [BZ #3976]
5233 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
5234 (__ieee754_pow): Save and restore rounding mode and use
5235 round-to-nearest for main computations.
5236 * math/libm-test.inc (pow_test_tonearest): New function.
5237 (pow_test_towardzero): Likewise.
5238 (pow_test_downward): Likewise.
5239 (pow_test_upward): Likewise.
5240 (main): Call the new functions.
5241 * sysdeps/i386/fpu/libm-test-ulps: Update.
5242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5243
5244 [BZ #3976]
5245 * math/libm-test.inc (cosh_test_tonearest): New function.
5246 (cosh_test_towardzero): Likewise.
5247 (cosh_test_downward): Likewise.
5248 (cosh_test_upward): Likewise.
5249 (sinh_test_tonearest): Likewise.
5250 (sinh_test_towardzero): Likewise.
5251 (sinh_test_downward): Likewise.
5252 (sinh_test_upward): Likewise.
5253 (main): Call the new functions.
5254 * sysdeps/i386/fpu/libm-test-ulps: Update.
5255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5256
5257 2012-03-05 Tom de Vries <tom@codesourcery.com>
5258
5259 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
5260 default stack guard is set in last bytes.
5261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
5262
5263 2012-03-05 Kees Cook <keescook@chromium.org>
5264
5265 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
5266
5267 [BZ #13656]
5268 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
5269 possibly allocate from heap instead of stack.
5270 * stdio-common/bug-vfprintf-nargs.c: New file.
5271 * stdio-common/Makefile (tests): Add nargs overflow test.
5272
5273 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
5274
5275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5276
5277 2012-03-03 Marek Polacek <polacek@redhat.com>
5278
5279 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
5280 * math/math_private.h: Likewise.
5281 * stdlib/tst-strtod.c: Likewise.
5282 * sysdeps/i386/i486/bits/atomic.h: Likewise.
5283 * sysdeps/x86_64/bits/atomic.h: Likewise.
5284
5285 2012-03-02 David S. Miller <davem@davemloft.net>
5286
5287 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
5288 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
5289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
5290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
5291 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
5292 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
5293 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
5294 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
5295
5296 2012-03-02 Roland McGrath <roland@hack.frob.com>
5297
5298 [BZ #13792]
5299 * manual/examples/README: New file, says the example source files
5300 can be used under GPL>=2.
5301 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
5302 line containing just "*/".
5303 * manual/examples/add.c: Add copyright header (GPL>=2).
5304 * manual/examples/argp-ex1.c: Likewise.
5305 * manual/examples/argp-ex2.c: Likewise.
5306 * manual/examples/argp-ex3.c: Likewise.
5307 * manual/examples/argp-ex4.c: Likewise.
5308 * manual/examples/atexit.c: Likewise.
5309 * manual/examples/db.c: Likewise.
5310 * manual/examples/dir.c: Likewise.
5311 * manual/examples/dir2.c: Likewise.
5312 * manual/examples/execinfo.c: Likewise.
5313 * manual/examples/filecli.c: Likewise.
5314 * manual/examples/filesrv.c: Likewise.
5315 * manual/examples/fmtmsgexpl.c: Likewise.
5316 * manual/examples/genpass.c: Likewise.
5317 * manual/examples/inetcli.c: Likewise.
5318 * manual/examples/inetsrv.c: Likewise.
5319 * manual/examples/isockad.c: Likewise.
5320 * manual/examples/longopt.c: Likewise.
5321 * manual/examples/memopen.c: Likewise.
5322 * manual/examples/memstrm.c: Likewise.
5323 * manual/examples/mkfsock.c: Likewise.
5324 * manual/examples/mkisock.c: Likewise.
5325 * manual/examples/mygetpass.c: Likewise.
5326 * manual/examples/pipe.c: Likewise.
5327 * manual/examples/popen.c: Likewise.
5328 * manual/examples/rprintf.c: Likewise.
5329 * manual/examples/search.c: Likewise.
5330 * manual/examples/select.c: Likewise.
5331 * manual/examples/setjmp.c: Likewise.
5332 * manual/examples/sigh1.c: Likewise.
5333 * manual/examples/sigusr.c: Likewise.
5334 * manual/examples/stpcpy.c: Likewise.
5335 * manual/examples/strdupa.c: Likewise.
5336 * manual/examples/strftim.c: Likewise.
5337 * manual/examples/strncat.c: Likewise.
5338 * manual/examples/subopt.c: Likewise.
5339 * manual/examples/swapcontext.c: Likewise.
5340 * manual/examples/termios.c: Likewise.
5341 * manual/examples/testopt.c: Likewise.
5342 * manual/examples/testpass.c: Likewise.
5343 * manual/examples/timeval_subtract.c: Likewise.
5344
5345 [BZ #13792]
5346 * manual/time.texi (Elapsed Time): Move timeval_subtract example
5347 function to ...
5348 * manual/timeval_subtract.c.texi: ... here, new file.
5349
5350 2012-03-02 David S. Miller <davem@davemloft.net>
5351
5352 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
5353
5354 2012-03-02 Joseph Myers <joseph@codesourcery.com>
5355
5356 [BZ #3976]
5357 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
5358 (__sin): Save and restore rounding mode and use round-to-nearest
5359 for all computations.
5360 (__cos): Save and restore rounding mode and use round-to-nearest
5361 for all computations.
5362 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
5363 <fenv.h>.
5364 (tan): Save and restore rounding mode and use round-to-nearest for
5365 all computations.
5366 * math/libm-test.inc (cos_test_tonearest): New function.
5367 (cos_test_towardzero): Likewise.
5368 (cos_test_downward): Likewise.
5369 (cos_test_upward): Likewise.
5370 (sin_test_tonearest): Likewise.
5371 (sin_test_towardzero): Likewise.
5372 (sin_test_downward): Likewise.
5373 (sin_test_upward): Likewise.
5374 (tan_test_tonearest): Likewise.
5375 (tan_test_towardzero): Likewise.
5376 (tan_test_downward): Likewise.
5377 (tan_test_upward): Likewise.
5378 (main): Call the new functions.
5379 * sysdeps/i386/fpu/libm-test-ulps: Update.
5380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5381
5382 [BZ #10135]
5383 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
5384 small n, then large n, before computing and testing k+n.
5385 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5386 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
5387 Likewise.
5388 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
5389 Likewise.
5390 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
5391 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
5394 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
5395 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
5396 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
5397 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
5398 * math/libm-test.inc (scalbn_test): Add more tests.
5399 (scalbln_test): Likewise.
5400
5401 * manual/filesys.texi (mode_t): Describe constraints on size and
5402 signedness, not exact equivalence to a particular type.
5403 (ino_t): Likewise.
5404 (ino64_t): Likewise.
5405 (dev_t): Likewise.
5406 (nlink_t): Likewise.
5407 (blkcnt_t): Likewise.
5408 (blkcnt64_t): Likewise.
5409 * manual/llio.texi (off_t): Likewise.
5410
5411 [BZ #3976]
5412 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
5413 (__ieee754_exp): Save and restore rounding mode and use
5414 round-to-nearest for all computations.
5415 * math/libm-test.inc (exp_test_tonearest): New function.
5416 (exp_test_towardzero): Likewise.
5417 (exp_test_downward): Likewise.
5418 (exp_test_upward): Likewise.
5419 (main): Call the new functions.
5420 * sysdeps/i386/fpu/libm-test-ulps: Update.
5421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5422
5423 2012-03-01 Chris Demetriou <cgd@google.com>
5424
5425 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
5426 have predictable order.
5427
5428 2012-03-01 David S. Miller <davem@davemloft.net>
5429
5430 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
5431
5432 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
5433 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
5434 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
5435 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
5436
5437 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
5438 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
5439 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
5440 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
5441 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
5442 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
5443 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
5444 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
5445 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
5446
5447 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5448
5449 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
5450 * sysdeps/sparc/fpu/libm-test-ulps: to here.
5451 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
5452
5453 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
5454 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5455 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
5456 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
5457 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
5458 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
5459 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
5460 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5461 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
5462 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
5463 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
5464 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
5467 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5469 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
5470 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
5471 * sysdeps/sparc/elf/configure: Regenerated.
5472
5473 2012-03-01 Joseph Myers <joseph@codesourcery.com>
5474
5475 * configure.in (AS, LD): Require binutils 2.20 or later.
5476 * configure: Regenerated.
5477 * manual/install.texi (Tools for Compilation): Give binutils 2.20
5478 as required minimum version.
5479 * INSTALL: Regenerated.
5480
5481 [BZ #2541]
5482 [BZ #4108]
5483 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
5484 before squaring exponent.
5485 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
5486 bottom long double and 27 bits of top long double before squaring
5487 exponent.
5488 * math/libm-test.inc (erfc_test): Add more tests.
5489 * sysdeps/i386/fpu/libm-test-ulps: Update.
5490 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
5491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5492
5493 2012-03-01 Kai Tietz <ktietz@redhat.com>
5494
5495 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
5496 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
5497 containing bit-fields.
5498 * soft-fp/extended.h (_FP_UNION_E): Likewise.
5499 * soft-fp/single.h (_FP_UNION_S): Likewise.
5500 * soft-fp/double.h (_FP_UNION_D): Likewise.
5501
5502 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5503
5504 [BZ #13786]
5505 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
5506 not include ../strcmp.S.
5507 [USE_AS_STRNCASECMP_L]: Likewise.
5508 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
5509 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
5510 * sysdeps/i386/i686/multiarch/strncase_l-c.c
5511 (__strncasecmp_l_ia32): Define as alias to
5512 __strncasecmp_l_nonascii.
5513
5514 [BZ #5794]
5515 * math/libm-test.inc (expm1_test): Add test for bug 5794.
5516 * sysdeps/i386/fpu/libm-test-ulps: Update.
5517 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5518
5519 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
5520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5521
5522 2012-02-29 Jeff Law <law@redhat.com>
5523
5524 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
5525 out of bounds read.
5526
5527 2012-02-29 Marek Polacek <polacek@redhat.com>
5528
5529 [BZ #13706]
5530 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
5531 * elf/Makefile: Add rules to run tst-unused-dep.out.
5532
5533 2012-02-28 David S. Miller <davem@davemloft.net>
5534
5535 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
5536 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
5537 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
5538 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
5539 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
5540 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
5541
5542 2012-02-29 Joseph Myers <joseph@codesourcery.com>
5543
5544 * math/libm-test.inc (llround_test): Move one test from
5545 lround_test. Use TEST_f_L in moved test.
5546 (lround_test): Move misplaced test to llround_test. Add testcase
5547 from bug 2561.
5548
5549 2012-02-28 Ulrich Drepper <drepper@gmail.com>
5550
5551 * sysdeps/x86_64/fpu/e_expf.S: New file.
5552 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
5553
5554 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
5555
5556 [BZ #13637]
5557 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
5558 of remain_len that may cause incomplete multi-byte character and
5559 false match.
5560 * posix/bug-regex33.c: New file.
5561 * posix/Makefile (tests): Add bug-regex33.
5562
5563 2012-02-28 Joseph Myers <joseph@codesourcery.com>
5564
5565 * manual/macros.texi: New file.
5566 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
5567 * manual/libc.texinfo: Include macros.texi.
5568 * manual/creatute.texi: Likewise.
5569 * manual/install.texi: Likewise.
5570 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
5571 @glibcadj{} in references to the GNU C Library.
5572 * manual/charset.texi: Likewise.
5573 * manual/conf.texi: Likewise.
5574 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
5575 when not using those macros.
5576 * manual/creature.texi: Likewise.
5577 * manual/crypt.texi: Likewise.
5578 * manual/errno.texi: Likewise.
5579 * manual/filesys.texi: Likewise.
5580 * manual/header.texi: Likewise.
5581 * manual/install.texi: Likewise.
5582 * manual/intro.texi: Likewise.
5583 * manual/io.texi: Likewise.
5584 * manual/job.texi: Likewise.
5585 * manual/lang.texi: Likewise.
5586 * manual/libc.texiinfo: Likewise.
5587 * manual/llio.texi: Likewise.
5588 * manual/locale.texi: Likewise.
5589 * manual/maint.texi: Likewise.
5590 * manual/math.texi: Likewise.
5591 * manual/memory.texi: Likewise.
5592 * manual/message.texi: Likewise.
5593 * manual/nss.texi: Likewise.
5594 * manual/pattern.texi: Likewise.
5595 * manual/process.texi: Likewise.
5596 * manual/resource.texi: Likewise.
5597 * manual/search.texi: Likewise.
5598 * manual/setjmp.texi: Likewise.
5599 * manual/signal.texi: Likewise.
5600 * manual/socket.texi: Likewise.
5601 * manual/startup.texi: Likewise.
5602 * manual/stdio.texi: Likewise.
5603 * manual/string.texi: Likewise.
5604 * manual/sysinfo.texi: Likewise.
5605 * manual/syslog.texi: Likewise.
5606 * manual/terminal.texi: Likewise.
5607 * manual/time.texi: Likewise.
5608 * manual/users.texi: Likewise.
5609 * INSTALL: Regenerated.
5610 * NOTES: Regenerated.
5611 * sysdeps/gnu/errlist.c: Regenerated.
5612
5613 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
5614
5615 * include/dirent.h: Include <dirstream.h> before
5616 <dirent/dirent.h>.
5617
5618 2012-02-28 David S. Miller <davem@davemloft.net>
5619
5620 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
5621 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
5622 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
5623 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
5624
5625 2012-02-27 David S. Miller <davem@davemloft.net>
5626
5627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
5628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
5629 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
5630 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
5631
5632 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
5633 frame pointer instead of stack pointer relative arg slot.
5634 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5635 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5636 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5637
5638 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
5639
5640 [BZ #3992]
5641 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
5642
5643 2012-02-27 David S. Miller <davem@davemloft.net>
5644
5645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
5646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
5647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
5649 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
5650 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
5651 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
5652 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
5653
5654 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5655
5656 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
5657 later. Allow versions 5-9.
5658 * configure: Regenerated.
5659 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
5660 required minimum version and 4.6 as recommended version. Do not
5661 mention bugs in GCC 2.7 and 2.8.
5662 * INSTALL: Regenerated.
5663
5664 2012-02-27 David S. Miller <davem@davemloft.net>
5665
5666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
5667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
5668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
5669 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
5670 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
5671 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
5672 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
5673 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
5674
5675 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
5676 manipulate bits before adding and subtracting TWO112[sx].
5677 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
5678
5679 2012-02-27 Roland McGrath <roland@hack.frob.com>
5680
5681 [BZ #13775]
5682 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
5683 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
5684 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
5685 being in POSIX, because they are in 1003.1-2008.
5686
5687 * rt/tst-aio.c: Include <fcntl.h>.
5688 * rt/tst-aio7.c: Likewise.
5689 * rt/tst-aio64.c: Likewise.
5690
5691 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
5692
5693 2012-02-27 Joseph Myers <joseph@codesourcery.com>
5694
5695 * manual/install.texi (--with-headers): Describe headers as
5696 interface headers, not private headers.
5697 (Specific advice for GNU/Linux systems): Describe use of headers
5698 from "make headers_install", not private headers from older
5699 kernels.
5700 * INSTALL: Regenerated.
5701 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
5702 Change to 2.6.19.
5703 * sysdeps/unix/sysv/linux/configure: Regenerated.
5704
5705 * manual/llio.texi (fclean): Remove documentation.
5706
5707 * manual/Makefile (libc-texi-generated): New variable. Include
5708 version.texi.
5709 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
5710 $(libc-texi-generated), not duplicated list of files.
5711 (version.texi, stamp-version): New rules.
5712 (realclean): Remove $(libc-texi-generated), not individual files
5713 from that list. Do not remove dir-add.texinfo.
5714 * manual/libc.texinfo: Comment out uses of edition numbers and
5715 references to printed manual. Remove last-updated dates.
5716 (EDITION): Comment out.
5717 (ISBN): Likewise.
5718 (VERSION, UPDATED): Remove.
5719 (version.texi): Include.
5720
5721 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
5722
5723 * sysdeps/posix/spawni.c: Include <signal.h>.
5724 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
5725 * sysdeps/pthread/aio_fsync.c: Likewise.
5726
5727 2012-02-26 Ulrich Drepper <drepper@gmail.com>
5728
5729 * conform/Makefile (tests): Run only when not cross-compiling and
5730 when fast-check is not defined.
5731
5732 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
5733 * conform/data/limits.h-data: Fixes for POSIX2008.
5734 * conform/run-conformtest.sh: Run all tests.
5735 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
5736 headers.
5737 * include/bits/dlfcn.h: Likewise.
5738 * include/langinfo.h: Likewise.
5739 * include/monetary.h: Likewise.
5740 * include/sys/poll.h: Likewise.
5741
5742 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
5743 for __USE_GNU.
5744 * posix/spawn.h: Define __need_sigset_t.
5745 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
5746 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
5747 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
5748 to get sigevent_t only.
5749 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
5750 only for __USE_GNU.
5751 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
5752 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
5753 process_vm_writev only for __USE_GNU.
5754 * termios/termios.h: Declare tcgetsid also for POSIX2008.
5755
5756 * conform/Makefile: For now ignore errors from run-conformtest.
5757 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
5758 POSIX to avoid namespace pollution. Don't prepend headers.
5759 * conform/data/aio.h-data: Fixes for POSIX testing.
5760 * conform/data/fcntl.h-data: Likewise.
5761 * conform/data/glob.h-data: Likewise.
5762 * conform/data/grp.h-data: Likewise.
5763 * conform/data/pthread.h-data: Likewise.
5764 * conform/data/pwd.h-data: Likewise.
5765 * conform/data/signal.h-data: Likewise.
5766 * conform/data/spawn.h-data: Likewise.
5767 * conform/data/stdio.h-data: Likewise.
5768 * conform/data/stdlib.h-data: Likewise.
5769 * conform/data/stropts.h-data: Likewise.
5770 * conform/data/sys/mman.h-data: Likewise.
5771 * conform/data/sys/stat.h-data: Likewise.
5772 * conform/data/sys/types.h-data: Likewise.
5773 * conform/data/sys/wait.h-data: Likewise.
5774 * conform/data/time.h-data: Likewise.
5775 * conform/data/unistd.h-data: Likewise.
5776 * conform/data/utime.h-data: Likewise.
5777
5778 * io/sys/stat.h: fchmod was always in POSIX.
5779 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
5780 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
5781 * rt/aio.h: Define __need_timespec before including <time.h>.
5782 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
5783 struct. Add forward declaration of pthread_attr_t and use it in
5784 sigevent.
5785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
5786 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
5787 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
5788 always remove CLK_TCK definition.
5789
5790 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
5791
5792 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
5793
5794 2012-02-25 Ulrich Drepper <drepper@gmail.com>
5795
5796 * conform/run-conformtest.sh: New file.
5797 * conform/Makefile: Run run-conformtest for tests.
5798 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
5799 support.
5800
5801 * conform/data/uchar.h-data: New file.
5802 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
5803 * conform/data/arpa/inet.h-data: Likewise.
5804 * conform/data/assert.h-data: Likewise.
5805 * conform/data/complex.h-data: Likewise.
5806 * conform/data/cpio.h-data: Likewise.
5807 * conform/data/ctype.h-data: Likewise.
5808 * conform/data/dirent.h-data: Likewise.
5809 * conform/data/dlfcn.h-data: Likewise.
5810 * conform/data/errno.h-data: Likewise.
5811 * conform/data/fcntl.h-data: Likewise.
5812 * conform/data/float.h-data: Likewise.
5813 * conform/data/fmtmsg.h-data: Likewise.
5814 * conform/data/fnmatch.h-data: Likewise.
5815 * conform/data/ftw.h-data: Likewise.
5816 * conform/data/glob.h-data: Likewise.
5817 * conform/data/grp.h-data: Likewise.
5818 * conform/data/iconv.h-data: Likewise.
5819 * conform/data/inttypes.h-data: Likewise.
5820 * conform/data/langinfo.h-data: Likewise.
5821 * conform/data/libgen.h-data: Likewise.
5822 * conform/data/limits.h-data: Likewise.
5823 * conform/data/locale.h-data: Likewise.
5824 * conform/data/math.h-data: Likewise.
5825 * conform/data/monetary.h-data: Likewise.
5826 * conform/data/mqueue.h-data: Likewise.
5827 * conform/data/ndbm.h-data: Likewise.
5828 * conform/data/net/if.h-data: Likewise.
5829 * conform/data/netdb.h-data: Likewise.
5830 * conform/data/netinet/in.h-data: Likewise.
5831 * conform/data/nl_types.h-data: Likewise.
5832 * conform/data/poll.h-data: Likewise.
5833 * conform/data/pthread.h-data: Likewise.
5834 * conform/data/pwd.h-data: Likewise.
5835 * conform/data/regex.h-data: Likewise.
5836 * conform/data/sched.h-data: Likewise.
5837 * conform/data/search.h-data: Likewise.
5838 * conform/data/semaphore.h-data: Likewise.
5839 * conform/data/setjmp.h-data: Likewise.
5840 * conform/data/signal.h-data: Likewise.
5841 * conform/data/spawn.h-data: Likewise.
5842 * conform/data/stdarg.h-data: Likewise.
5843 * conform/data/stdio.h-data: Likewise.
5844 * conform/data/stdlib.h-data: Likewise.
5845 * conform/data/string.h-data: Likewise.
5846 * conform/data/strings.h-data: Likewise.
5847 * conform/data/stropts.h-data: Likewise.
5848 * conform/data/sys/ipc.h-data: Likewise.
5849 * conform/data/sys/mman.h-data: Likewise.
5850 * conform/data/sys/msg.h-data: Likewise.
5851 * conform/data/sys/resource.h-data: Likewise.
5852 * conform/data/sys/select.h-data: Likewise.
5853 * conform/data/sys/sem.h-data: Likewise.
5854 * conform/data/sys/shm.h-data: Likewise.
5855 * conform/data/sys/socket.h-data: Likewise.
5856 * conform/data/sys/stat.h-data: Likewise.
5857 * conform/data/sys/statvfs.h-data: Likewise.
5858 * conform/data/sys/time.h-data: Likewise.
5859 * conform/data/sys/timeb.h-data: Likewise.
5860 * conform/data/sys/times.h-data: Likewise.
5861 * conform/data/sys/types.h-data: Likewise.
5862 * conform/data/sys/uio.h-data: Likewise.
5863 * conform/data/sys/un.h-data: Likewise.
5864 * conform/data/sys/utsname.h-data: Likewise.
5865 * conform/data/sys/wait.h-data: Likewise.
5866 * conform/data/syslog.h-data: Likewise.
5867 * conform/data/tar.h-data: Likewise.
5868 * conform/data/termios.h-data: Likewise.
5869 * conform/data/utime.h-data: Likewise.
5870 * conform/data/utmpx.h-data: Likewise.
5871 * conform/data/varargs.h-data: Likewise.
5872 * conform/data/wchar.h-data: Likewise.
5873 * conform/data/wctype.h-data: Likewise.
5874 * conform/data/wordexp.h-data: Likewise.
5875
5876 * include/stropts.h: New file.
5877 * include/uchar.h: New file.
5878 * include/aio.h: Changes to allow conformtest.pl to use the headers.
5879 * include/assert.h: Likewise.
5880 * include/ctype.h: Likewise.
5881 * include/dirent.h: Likewise.
5882 * include/dlfcn.h: Likewise.
5883 * include/fcntl.h: Likewise.
5884 * include/fnmatch.h: Likewise.
5885 * include/glob.h: Likewise.
5886 * include/grp.h: Likewise.
5887 * include/libio.h: Likewise.
5888 * include/locale.h: Likewise.
5889 * include/math.h: Likewise.
5890 * include/net/if.h: Likewise.
5891 * include/netdb.h: Likewise.
5892 * include/netinet/in.h: Likewise.
5893 * include/pthread.h: Likewise.
5894 * include/pwd.h: Likewise.
5895 * include/regex.h: Likewise.
5896 * include/sched.h: Likewise.
5897 * include/search.h: Likewise.
5898 * include/setjmp.h: Likewise.
5899 * include/signal.h: Likewise.
5900 * include/stdio.h: Likewise.
5901 * include/stdlib.h: Likewise.
5902 * include/string.h: Likewise.
5903 * include/sys/cdefs.h: Likewise.
5904 * include/sys/mman.h: Likewise.
5905 * include/sys/msg.h: Likewise.
5906 * include/sys/resource.h: Likewise.
5907 * include/sys/select.h: Likewise.
5908 * include/sys/socket.h: Likewise.
5909 * include/sys/stat.h: Likewise.
5910 * include/sys/statvfs.h: Likewise.
5911 * include/sys/time.h: Likewise.
5912 * include/sys/times.h: Likewise.
5913 * include/sys/uio.h: Likewise.
5914 * include/sys/utsname.h: Likewise.
5915 * include/sys/wait.h: Likewise.
5916 * include/termios.h: Likewise.
5917 * include/time.h: Likewise.
5918 * include/ulimit.h: Likewise.
5919 * include/unistd.h: Likewise.
5920 * include/utime.h: Likewise.
5921 * include/wchar.h: Likewise.
5922 * include/wctype.h: Likewise.
5923 * include/wordexp.h: Likewise.
5924
5925 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
5926
5927 * time/time.h: TIME_UTC must be a macro.
5928 Make timespec_get available for ISO C11 only as well.
5929
5930 2012-02-24 Ulrich Drepper <drepper@gmail.com>
5931
5932 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
5933 Reported by Peng Haitao <penght@cn.fujitsu.com>.
5934
5935 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5936
5937 * configure.in: Use -o not -a in test for unsupported multi-arch.
5938
5939 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5940
5941 * manual/texinfo.tex: Update to version 2012-01-19.16.
5942
5943 2012-02-24 Joseph Myers <joseph@codesourcery.com>
5944
5945 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
5946
5947 2012-02-24 Roland McGrath <roland@hack.frob.com>
5948
5949 [BZ #13738]
5950 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
5951 * manual/fdl-1.3.texi: New file.
5952 * manual/fdl-1.1.texi: File removed.
5953
5954 [BZ #13738]
5955 * manual/libc.texinfo (FDL_VERSION): New @set.
5956 Use it for mention of FDL in cover text.
5957 (Documentation License): Use it in @include file name.
5958
5959 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5960 Roland McGrath <roland@hack.frob.com>
5961
5962 [BZ #5461]
5963 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
5964 not LONG_LONG_MAX and LONG_LONG_MIN.
5965 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
5966 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
5967 name.
5968 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
5969
5970 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5971
5972 [BZ #2547]
5973 [BZ #11365]
5974 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
5975 manipulate bits before adding and subtracting TWO23[sx].
5976 * math/libm-test.inc (nearbyint_test): Add more tests.
5977
5978 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5979
5980 [BZ #2548]
5981 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
5982 bits before adding and subtracting TWO23[sx].
5983 * math/libm-test.inc (rint_test): Add more tests.
5984 (rint_test_tonearest): Likewise.
5985 (rint_test_towardzero): Likewise.
5986 (rint_test_downward): Likewise.
5987 (rint_test_upward: Likewise.
5988
5989 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5990
5991 [BZ #10110]
5992 * include/stdc-predef.h: New file. Extracted from features.h.
5993 * include/features.h: Include stdc-predef.h.
5994 * Makefile (headers): Add stdc-predef.h.
5995 * CONFORMANCE (Compiler limitations): Update.
5996
5997 2012-02-22 Joseph Myers <joseph@codesourcery.com>
5998
5999 * manual/libc.texinfo (VERSION, UPDATED): Revert.
6000
6001 2012-02-21 David S. Miller <davem@davemloft.net>
6002
6003 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
6004 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6005
6006 2012-02-20 David S. Miller <davem@davemloft.net>
6007
6008 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
6009 using a normal save/restore sequence, rather than allocating a
6010 dummy stack frame just to store a frame pointer and restore.
6011 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6012
6013 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6014
6015 * manual/install.texi: Fix stray word in line-wrapped comment.
6016
6017 2012-02-20 David S. Miller <davem@davemloft.net>
6018
6019 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
6020 both binutils and gcc support GOTDATA.
6021
6022 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
6023 "rd %pc" in the PIC register setup sequences.
6024
6025 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
6026 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6027 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
6028 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6029 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
6030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6031 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
6032 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
6033 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
6034 (SYSCALL_ERROR_HANDLER): Likewise.
6035 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
6036 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6037 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
6038 (SYSCALL_ERROR_HANDLER): Likewise.
6039
6040 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
6041 (HAVE_GCC_GOTDATA): New.
6042 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
6043 relocation support in both binutils and gcc.
6044 * sysdeps/sparc/elf/configure: Regenerate.
6045
6046 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
6047 * sysdeps/sparc/sparc32/elf/configure: Delete.
6048 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
6049 * sysdeps/sparc/sparc64/elf/configure: Delete.
6050 * sysdeps/sparc/elf/configure.in: New file.
6051 * sysdeps/sparc/elf/configure: Generate.
6052
6053 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
6054 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
6055 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
6056 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
6057 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
6058
6059 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6060
6061 * manual/install.texi: Do not mention specific glibc version
6062 numbers.
6063 * manual/libc.texinfo (VERSION, UPDATED): Update.
6064 (@copying): Use @copyright{} and range of years.
6065
6066 2012-02-21 Joseph Myers <joseph@codesourcery.com>
6067
6068 [BZ #13695]
6069 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
6070 [crti.S not in sysdirs] (generated): Do not append.
6071 [crti.S not in sysdirs] (omit-deps): Likewise.
6072 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
6073 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
6074 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
6075 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
6076 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
6077 Likewise.
6078 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
6079 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
6080 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
6081 * csu/defs.awk: Remove file.
6082 * sysdeps/generic/initfini.c: Likewise.
6083 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
6084 variable.
6085 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
6086 Likewise.
6087
6088 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6089
6090 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
6091 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
6092 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
6093 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
6094 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
6095 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
6096 <bits/epoll.h>.
6097 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
6098 (__EPOLL_PACKED): Define to empty if not defined by
6099 <bits/epoll.h>.
6100 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
6101 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6102 bits/epoll.h.
6103
6104 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6105
6106 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
6107 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
6108 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
6109 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
6110 <bits/timerfd.h>.
6111 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
6112 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6113 bits/timerfd.h.
6114
6115 2012-02-20 Joseph Myers <joseph@codesourcery.com>
6116
6117 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
6118 in C locale.
6119 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6120 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6121 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
6122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6123
6124 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
6125
6126 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6127 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
6128
6129 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
6130
6131 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
6132 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
6133 defined.
6134 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
6135 Likewise.
6136 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
6137 entry for 2.16.
6138
6139 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
6140
6141 * math/w_acos.c: Use non-signaling floating-point comparisons.
6142 * math/w_acosf.c: Likewise.
6143 * math/w_acosh.c: Likewise.
6144 * math/w_acoshf.c: Likewise.
6145 * math/w_acoshl.c: Likewise.
6146 * math/w_acosl.c: Likewise.
6147 * math/w_asin.c: Likewise.
6148 * math/w_asinf.c: Likewise.
6149 * math/w_asinl.c: Likewise.
6150 * math/w_atanh.c: Likewise.
6151 * math/w_atanhf.c: Likewise.
6152 * math/w_atanhl.c: Likewise.
6153 * math/w_exp2.c: Likewise.
6154 * math/w_exp2f.c: Likewise.
6155 * math/w_exp2l.c: Likewise.
6156 * math/w_j0.c: Likewise.
6157 * math/w_j0f.c: Likewise.
6158 * math/w_j0l.c: Likewise.
6159 * math/w_j1.c: Likewise.
6160 * math/w_j1f.c: Likewise.
6161 * math/w_j1l.c: Likewise.
6162 * math/w_jn.c: Likewise.
6163 * math/w_jnf.c: Likewise.
6164 * math/w_log.c: Likewise.
6165 * math/w_log10.c: Likewise.
6166 * math/w_log10f.c: Likewise.
6167 * math/w_log10l.c: Likewise.
6168 * math/w_log2.c: Likewise.
6169 * math/w_log2f.c: Likewise.
6170 * math/w_log2l.c: Likewise.
6171 * math/w_logf.c: Likewise.
6172 * math/w_logl.c: Likewise.
6173 * math/w_sqrt.c: Likewise.
6174 * math/w_sqrtf.c: Likewise.
6175 * math/w_sqrtl.c: Likewise.
6176 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
6177 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6178 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
6179 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6180 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6181
6182 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6183
6184 [BZ #9739]
6185 * manual/string.texi (strnlen): Use correct parameter name in
6186 equivalent expression.
6187
6188 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6189
6190 [BZ #11174]
6191 * manual/users.texi (seteuid): Consistently use neweuid for
6192 argument name.
6193
6194 2012-02-19 Joseph Myers <joseph@codesourcery.com>
6195
6196 [BZ #13704]
6197 * manual/nss.texi (Services in the NSS configuration): Correct
6198 list of services in example configuration file.
6199
6200 2012-02-19 Nick Bowler <nbowler@draconx.ca>
6201
6202 [BZ #11322]
6203 * manual/arith.texi: Remove statements about negative zero
6204 behaving identically to zero.
6205
6206 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6207
6208 [BZ #5993]
6209 * manual/install.texi: Do not document upgrading from libc5.
6210
6211 2012-02-18 Joseph Myers <joseph@codesourcery.com>
6212
6213 [BZ #4596]
6214 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
6215
6216 2012-02-18 David S. Miller <davem@davemloft.net>
6217
6218 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
6219 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
6220 %o7 across the call.
6221 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
6222 instead.
6223 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
6224 SETUP_PIC_REG_LEAF.
6225 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6226 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
6227 * sysdeps/sparc/crtn.S: Likewise.
6228
6229 2012-02-17 Ulrich Drepper <drepper@gmail.com>
6230
6231 * aout/Makefile: Remove.
6232
6233 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
6234
6235 [BZ #13058]
6236 * manual/examples/argp-ex1.c (main): Format definition in GNU
6237 style.
6238 * manual/examples/argp-ex2.c (main): Likewise.
6239 * manual/examples/argp-ex3.c (main): Likewise.
6240 * manual/examples/argp-ex4.c (main): Likewise.
6241 * manual/examples/longopt.c (main): Use new-style prototype
6242 definition.
6243 * manual/examples/strncat.c (main): Specify return type and use
6244 (void) for arguments.
6245 * manual/examples/subopt.c (main): Use char **argv argument.
6246
6247 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6248
6249 [BZ #5077]
6250 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
6251 rounding modes.
6252
6253 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
6254
6255 [BZ #6907]
6256 * manual/string.texi (strchr): Change when strchrnul is
6257 recommended.
6258
6259 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
6260
6261 [BZ #174]
6262 * manual/locale.texi (setlocale): Document LOCPATH.
6263
6264 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6265
6266 [BZ #10210]
6267 * manual/process.texi (execle): Move @dots{} before last argument.
6268
6269 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
6270
6271 [BZ #12047]
6272 * manual/charset.texi (Generic Charset Conversion): Fix typo
6273 (LC_TYPE -> LC_CTYPE).
6274
6275 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
6276
6277 [BZ #5805]
6278 * manual/arith.texi (scalbn): Use @var{} on parameter names.
6279 (scalbnf): Likewise.
6280 (scalbnl): Likewise.
6281 (scalbln): Likewise.
6282 (scalblnf): Likewise.
6283 (scalblnl): Likewise.
6284 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
6285 (vwarnx): Likewise.
6286 (verr): Likewise.
6287 (verrx): Likewise.
6288 * manual/filesys.texi (telldir): Use braces around return type.
6289 * manual/llio.texi (mmap): Add space after comma.
6290 (mmap64): Likewise.
6291 * manual/math.texi (jn): Use @var{} on parameter names.
6292 (jnf): Likewise.
6293 (jnl): Likewise.
6294 (yn): Likewise.
6295 (ynf): Likewise.
6296 (ynl): Likewise.
6297 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
6298 line.
6299 * manual/resource.texi (ulimit): Use @dots{} instead of literal
6300 "...".
6301 (sched_get_priority_min): Remove semicolon on @deftypefun line.
6302 (sched_get_priority_max): Likewise.
6303 * manual/signal.texi (sigvec): Add space after comma.
6304 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
6305 names.
6306 (if_indextoname): Likewise.
6307 (if_freenameindex): Likewise.
6308 (sendto): Use ',' instead of '.' in prototype.
6309 * manual/startup.texi (syscall): Use @dots{} instead of literal
6310 "...".
6311 * manual/stdio.texi (__fpending): Separate initial words of
6312 paragraph from @deftypefun line.
6313 * manual/syslog.texi (syslog): Use @dots{} instead of literal
6314 "...".
6315 (vsyslog): Use @var{} on parameter names.
6316 * manual/terminal.texi (stty): Use @var{} on parameter names.
6317 * manual/users.texi (getutmp): Use @var{} on parameter names.
6318 (getutmpx): Likewise.
6319
6320 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6321
6322 [BZ #6884]
6323 * manual/stdio.texi (fopen): Fix typos in description of
6324 ",ccs=STRING".
6325
6326 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
6327
6328 [BZ #4026]
6329 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
6330 get clock_id definition.
6331
6332 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
6333
6334 [BZ #4822]
6335 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
6336 (madvise): Cast every argument to void on its own.
6337
6338 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6339
6340 [BZ #9902]
6341 * manual/startup.texi (Exit Status): Fix typo.
6342
6343 2012-02-17 Joseph Myers <joseph@codesourcery.com>
6344
6345 [BZ #10140]
6346 * manual/examples/argp-ex1.c: Include <stdlib.h>.
6347 * manual/examples/argp-ex2.c: Likewise.
6348 * manual/examples/argp-ex3.c: Likewise.
6349
6350 2012-02-16 Richard Henderson <rth@redhat.com>
6351
6352 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
6353 * sysdeps/s390/s390-32/initfini.c: Remove.
6354 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
6355 * sysdeps/s390/s390-64/initfini.c: Remove.
6356
6357 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6358
6359 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
6360 compiler output for sysdeps/generic/initfini.c.
6361 * sysdeps/sh/elf/initfini.c: Remove file.
6362
6363 2012-02-16 David S. Miller <davem@davemloft.net>
6364
6365 [BZ #11494]
6366 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
6367
6368 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
6369 * sysdeps/sparc/crti.S: New file.
6370 * sysdeps/sparc/crtn.S: New file.
6371 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
6372 * sysdeps/sparc/sparc64/Makefile: Likewise.
6373
6374 2012-02-15 Mike Frysinger <vapier@gentoo.org>
6375
6376 [BZ #3335]
6377 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
6378
6379 2012-02-15 Roland McGrath <roland@hack.frob.com>
6380
6381 [BZ #4822]
6382 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
6383
6384 * mach/devstream.c (cookie_io_functions_t): Macro removed.
6385 (write, read, close): Likewise.
6386 Patch by Aurelien Jarno <aurelien@aurel32.net>.
6387
6388 2012-02-15 Joseph Myers <joseph@codesourcery.com>
6389
6390 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
6391 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
6392 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
6393 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
6394 <bits/signalfd.h>.
6395 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
6396 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6397 bits/signalfd.h.
6398
6399 2012-02-14 Marek Polacek <polacek@redhat.com>
6400
6401 * sysdeps/x86_64/crti.S: New file.
6402 * sysdeps/x86_64/crtn.S: New file.
6403 * sysdeps/x86_64/elf/initfini.c: Remove file.
6404
6405 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6406
6407 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
6408 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
6409 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
6410 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
6411 <bits/inotify.h>.
6412 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
6413 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6414 bits/inotify.h.
6415
6416 2012-02-13 Joseph Myers <joseph@codesourcery.com>
6417
6418 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
6419 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
6420 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
6421 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
6422 <bits/eventfd.h>.
6423 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
6424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
6425 bits/eventfd.h.
6426
6427 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
6428
6429 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
6430 __feraiseexcept instead of feraiseexcept.
6431
6432 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
6433 nanosleep invocations.
6434 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
6435 strings, and add error checking for a nanosleep invocations.
6436
6437 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
6438
6439 Replace FSF snail mail address with URLs, as per GNU coding standards.
6440 Most of the snail mail addresses were wrong anyway, and omitting
6441 them makes the source code easier to maintain. Almost all of the
6442 changes are to license notices and to locale LC_IDENTIFICATION
6443 addresses, except for this one:
6444 * manual/libc.texinfo: In "Published by", give the FSF's URL,
6445 not its snail mail address.
6446
6447 2012-02-09 Richard Henderson <rth@twiddle.net>
6448
6449 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
6450 of kernel-features.h.
6451
6452 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
6453
6454 2012-02-08 Marek Polacek <polacek@redhat.com>
6455
6456 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
6457 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
6458 * sysdeps/gnu/_G_config.h: Likewise.
6459 * sysdeps/generic/_G_config.h: Likewise.
6460
6461 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
6462
6463 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
6464 tests.
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6466
6467 * sysdeps/powerpc/powerpc32/crti.S: New file.
6468 * sysdeps/powerpc/powerpc32/crtn.S: New file.
6469 * sysdeps/powerpc/powerpc64/crti.S: New file.
6470 * sysdeps/powerpc/powerpc64/crtn.S: New file.
6471
6472 * Makeconfig (have-initfini): Don't set.
6473 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
6474 * configure.in (nopic_initfini): Don't substitute.
6475 * config.h.in (HAVE_INITFINI): Don't #undef.
6476 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
6477 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
6478
6479 2012-02-08 Joseph Myers <joseph@codesourcery.com>
6480
6481 Support crti.S and crtn.S provided directly by architectures.
6482 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
6483 [crti.S in sysdirs] (omit-deps): Likewise.
6484 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
6485 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
6486 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
6487 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
6488 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
6489 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
6490 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
6491 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
6492 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
6493 compiler output for sysdeps/generic/initfini.c.
6494 * sysdeps/i386/elf/Makefile: Remove file.
6495 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
6496
6497 2012-02-07 Marek Polacek <polacek@redhat.com>
6498
6499 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
6500 * sysdeps/gnu/_G_config.h: Likewise.
6501 * sysdeps/mach/hurd/_G_config.h: Likewise.
6502
6503 2012-02-07 Marek Polacek <polacek@redhat.com>
6504
6505 * math/Makefile (tests): Add tst-CMPLX2.
6506 * math/tst-CMPLX2.c: New file.
6507
6508 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
6509
6510 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
6511
6512 * math/libm-test.inc (jn_test): Add missing L suffix.
6513
6514 2012-02-06 Marek Polacek <polacek@redhat.com>
6515
6516 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
6517 * sysdeps/i386/fpu/e_powf.S: Likewise.
6518 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
6519 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6520 * sysdeps/i386/fpu/e_acosh.S: Likewise.
6521 * sysdeps/i386/fpu/e_pow.S: Likewise.
6522 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
6523 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
6524 * sysdeps/i386/fpu/s_expm1.S: Likewise.
6525 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
6526 * sysdeps/i386/fpu/e_log2.S: Likewise.
6527 * sysdeps/i386/fpu/e_log2l.S: Likewise.
6528 * sysdeps/i386/fpu/e_scalb.S: Likewise.
6529 * sysdeps/i386/fpu/e_powl.S: Likewise.
6530 * sysdeps/i386/fpu/s_log1p.S: Likewise.
6531 * sysdeps/i386/fpu/e_log10f.S: Likewise.
6532 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
6533 * sysdeps/i386/fpu/e_logl.S: Likewise.
6534 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
6535 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
6536 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
6537 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
6538 * sysdeps/i386/fpu/e_log2f.S: Likewise.
6539 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
6540 * sysdeps/i386/fpu/e_log.S: Likewise.
6541 * sysdeps/i386/fpu/s_cexp.S: Likewise.
6542 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
6543 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
6544 * sysdeps/i386/fpu/e_logf.S: Likewise.
6545 * sysdeps/i386/fpu/e_log10l.S: Likewise.
6546 * sysdeps/i386/fpu/e_atanh.S: Likewise.
6547 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
6548 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
6549 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6550 * sysdeps/i386/fpu/e_log10.S: Likewise.
6551 * sysdeps/i386/fpu/s_frexp.S: Likewise.
6552 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
6553 * sysdeps/i386/fpu/s_asinh.S: Likewise.
6554 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
6555 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
6556 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
6557 * sysdeps/i386/asm-syntax.h: Likewise.
6558 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
6559 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
6560 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
6561 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
6562 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
6563 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
6564 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
6565 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
6566 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
6567 * sysdeps/powerpc/sysdep.h: Likewise.
6568 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
6569 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
6570
6571 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6572
6573 [BZ #411]
6574 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
6575
6576 2012-02-06 Joseph Myers <joseph@codesourcery.com>
6577
6578 * sysdeps/i386/sysdep.h: Include <features.h>.
6579 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
6580 version.
6581
6582 2012-02-05 Joseph Myers <joseph@codesourcery.com>
6583
6584 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
6585 Define.
6586 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
6587 LOAD_PIC_REG_STR.
6588
6589 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6590
6591 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
6592 (SETUP_PIC_REG): Use GET_PC_THUNK.
6593 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
6594 macro.
6595
6596 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6597
6598 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
6599 for non-PIC compilation.
6600 (SETUP_PIC_REG): Add .p2align directive.
6601 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
6602 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
6603 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
6604 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
6605 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
6606 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
6607 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
6608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
6609 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6610 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6611 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6612 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6613 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6614 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6615 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
6616 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
6617 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
6618 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
6619 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
6620 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
6621 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
6622 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
6623 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
6624 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
6625 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
6626 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
6627 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
6628 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
6629 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
6630 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
6631 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
6632 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6633 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
6634 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
6635 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
6636 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
6637 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
6638 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
6639 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
6640 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
6641 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
6642
6643 2012-02-03 Joseph Myers <joseph@codesourcery.com>
6644
6645 * math/tst-CMPLX.c: Include <stdio.h>.
6646
6647 2012-01-31 Joseph Myers <joseph@codesourcery.com>
6648
6649 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
6650 float.
6651 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6652 * sysdeps/sparc/bits/mathdef.h: Likewise.
6653
6654 2012-01-31 Marek Polacek <polacek@redhat.com>
6655
6656 * libio/libio.h: Don't define _PARAMS.
6657 * locale/programs/config.h: Don't define PARAMS.
6658 * stdlib/strtol_l.c: Likewise.
6659 (__strtol_l): Remove PARAMS from the prototype.
6660
6661 2012-01-31 Ulrich Drepper <drepper@gmail.com>
6662
6663 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
6664 names. Just use the correct names. Remove unnecessary wrapper
6665 functions.
6666 * malloc/arena.c: Likewise.
6667 * malloc/hooks.c: Likewise.
6668
6669 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
6670 ARENA_TEST says not to. Simplify test for creation of a new arena.
6671 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
6672
6673 2012-01-30 Ulrich Drepper <drepper@gmail.com>
6674
6675 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
6676 into tail calls.
6677 (update_get_addr): New function.
6678 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
6679 GET_ADDR_MODULE parameter.
6680
6681 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6682
6683 * crypt/cert.c: Remove __STDC__ conditionals.
6684 * crypt/crypt-entry.c: Likewise.
6685 * crypt/crypt_util.c: Likewise.
6686 * libio/filedoalloc.c: Likewise.
6687 * libio/fileops.c: Likewise.
6688 * libio/genops.c: Likewise.
6689 * libio/iofclose.c: Likewise.
6690 * libio/iofdopen.c: Likewise.
6691 * libio/iofopen.c: Likewise.
6692 * libio/iofopen64.c: Likewise.
6693 * libio/iogetdelim.c: Likewise.
6694 * libio/iopopen.c: Likewise.
6695 * libio/obprintf.c: Likewise.
6696 * libio/oldfileops.c: Likewise.
6697 * libio/oldiofclose.c: Likewise.
6698 * libio/oldiofdopen.c: Likewise.
6699 * libio/oldiofopen.c: Likewise.
6700 * libio/oldiopopen.c: Likewise.
6701 * libio/wfiledoalloc.c: Likewise.
6702 * libio/wgenops.c: Likewise.
6703 * locale/programs/xmalloc.c: Likewise.
6704 * misc/syslog.c: Likewise.
6705 * stdio-common/xbug.c: Likewise.
6706 * string/memchr.c: Likewise.
6707 * string/memcmp.c: Likewise.
6708 * string/memrchr.c: Likewise.
6709 * string/rawmemchr.c: Likewise.
6710 * sysdeps/posix/getcwd.c: Likewise.
6711 * time/strftime_l.c: Likewise.
6712
6713 2012-01-30 Joseph Myers <joseph@codesourcery.com>
6714
6715 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
6716 * config.make.in (config-cflags-sse2avx): Define.
6717 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
6718 Fix typo.
6719
6720 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
6721
6722 * scripts/config.guess: Update from upstream config git repository.
6723 * scripts/config.sub: Likewise.
6724
6725 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
6726
6727 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
6728 (EM_NUM): Update.
6729 (R_TILEPRO_*, R_TILEGX_*): New macros.
6730
6731 * scripts/firstversions.awk: Fix bug in version range handling.
6732
6733 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
6734
6735 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
6736
6737 * include/sys/epoll.h: New file.
6738 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
6739 libc_hidden_def.
6740
6741 2012-01-28 Ulrich Drepper <drepper@gmail.com>
6742
6743 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
6744 Avoid unnecessary __WORDSIZE == 64 test.
6745 (fmaxf): Use VEX format if possible.
6746 (fmax): Likewise.
6747 (fminf): Likewise.
6748 (fmin): Likewise.
6749
6750 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
6751 * math/math_private.h: Remove libc_fegetround* and
6752 libc_fesetround*.
6753 * sysdeps/i386/configure.in: Check for -msse2avx.
6754 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
6755 also if SSE2AVX is defined.
6756 Remove libc_fegetround* and libc_fesetround*.
6757 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
6758 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
6759 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
6760 of HAS_YMM_USABLE.
6761 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6762 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6763 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6764 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6765 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6766
6767 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
6768
6769 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6770
6771 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
6772 size is not set.
6773 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
6774
6775 2012-01-27 Ulrich Drepper <drepper@gmail.com>
6776
6777 [BZ #13618]
6778 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
6779 relocation.
6780 * Makeconfig (libm): Define.
6781 * elf/Makefile: Add rules to build and run tst-relsort1.
6782 * elf/tst-relsort1.c: New file.
6783 * elf/tst-relsort1mod1.c: New file.
6784 * elf/tst-relsort1mod2.c: New file.
6785
6786 2012-01-27 Joseph Myers <joseph@codesourcery.com>
6787
6788 * math/s_ldexp.c: Remove __STDC__ conditionals.
6789 * math/s_ldexpf.c: Likewise.
6790 * math/s_ldexpl.c: Likewise.
6791 * math/s_nextafter.c: Likewise.
6792 * math/s_nexttowardf.c: Likewise.
6793 * math/s_significand.c: Likewise.
6794 * math/s_significandf.c: Likewise.
6795 * math/s_significandl.c: Likewise.
6796 * math/w_jnl.c: Likewise.
6797 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
6798 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
6799 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
6800 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
6801 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
6802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6803 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
6804 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
6805 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
6806 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
6807 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
6808 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
6809 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
6810 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
6811 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
6812 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
6813 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
6814 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
6815 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6816 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
6817 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
6818 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6819 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6820 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6821 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6822 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6823 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6824 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6825 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
6826 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6827 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6828 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
6829 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6830 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
6831 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
6832 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6833 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
6834 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
6835 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
6836 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
6837 * sysdeps/ieee754/k_standard.c: Likewise.
6838 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6839 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6840 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6841 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
6842 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
6843 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6844 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6845 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
6846 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
6847 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
6848 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6849 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
6850 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
6851 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
6852 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
6853 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6854 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6855 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6856 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6857 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
6858 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6859 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6860 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6861 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6862 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6863 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6864 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
6865 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
6866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
6867 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
6868 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
6869 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
6870 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
6871 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
6872 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
6873 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
6874 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
6875 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
6876 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
6877 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
6878 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
6879 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
6880 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6881 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
6882 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
6883 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
6884 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6885 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6886 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
6887 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6888 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
6889 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6890 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6891 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
6892 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
6893 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
6894 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
6895 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
6896 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
6897 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
6898 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
6899 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
6900 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
6901 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6902 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
6903 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
6904 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
6905 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
6906 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
6907 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
6908 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
6909 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
6910 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
6912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
6913 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
6916 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
6917 * sysdeps/ieee754/s_matherr.c: Likewise.
6918 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
6919 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6920 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6921 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6922
6923 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6924
6925 * crypt/md5.h: Remove __STDC__ conditionals.
6926 * libio/libioP.h: Likewise.
6927 * locale/programs/config.h: Likewise.
6928 * sysdeps/generic/sysdep.h: Likewise.
6929 * sysdeps/i386/asm-syntax.h: Likewise.
6930 * sysdeps/s390/asm-syntax.h: Likewise.
6931 * sysdeps/unix/sysdep.h: Likewise.
6932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6934
6935 2012-01-26 Joseph Myers <joseph@codesourcery.com>
6936
6937 * libio/libio.h: Remove __STDC__ conditionals.
6938 * malloc/obstack.h: Likewise.
6939 * math/complex.h: Likewise.
6940 * math/math.h: Likewise.
6941 * sysdeps/generic/_G_config.h: Likewise.
6942 * sysdeps/gnu/_G_config.h: Likewise.
6943 * sysdeps/mach/hurd/_G_config.h: Likewise.
6944 * sysdeps/powerpc/bits/mathdef.h: Likewise.
6945 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
6946 * sysdeps/sparc/bits/mathdef.h: Likewise.
6947
6948 2012-01-26 Ulrich Drepper <drepper@gmail.com>
6949
6950 [BZ #13583]
6951 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
6952 Clean up HAS_* macros.
6953 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
6954 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
6955 possible.
6956 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
6957 HAS_AVX.
6958 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
6959 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
6960 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
6961 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
6962 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
6963
6964 2012-01-25 Joseph Myers <joseph@codesourcery.com>
6965
6966 * elf/tst-unique3.cc (gets): Remove declaration.
6967 * elf/tst-unique3lib.cc (gets): Likewise.
6968 * elf/tst-unique3lib2.cc (gets): Likewise.
6969 * elf/tst-unique4.cc (gets): Likewise.
6970
6971 2012-01-24 Ulrich Drepper <drepper@gmail.com>
6972
6973 * include/stdio.h: Add C++ protection. Add gets declarations and
6974 definitions.
6975 * debug/tst-chk1.c: Don't declare gets here.
6976 * stdio-common/tst-gets.c: Likewise.
6977
6978 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6979
6980 * posix/glob: Remove directory.
6981
6982 2012-01-24 Joseph Myers <joseph@codesourcery.com>
6983
6984 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
6985
6986 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
6987
6988 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
6989 of the non-standard EPFNOSUPPORT.
6990
6991 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
6992
6993 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
6994 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
6995 ANYWHERE set to 1 only on KERN_NO_SPACE error.
6996
6997 2012-01-21 Ulrich Drepper <drepper@gmail.com>
6998
6999 * wcsmbs/uchar.h: Test __STDC_VERSION__.
7000
7001 2012-01-20 Ulrich Drepper <drepper@gmail.com>
7002
7003 * nscd/aicache.c (addhstaiX): Do not cache negative results of
7004 transient errors.
7005 * nscd/grpcache.c (cache_addgr): Likewise.
7006 * nscd/hstcache.c (cache_addhst): Likewise.
7007 * nscd/initgrcache.c (addinitgroupsX): Likewise.
7008 * nscd/pwdcache.c (cache_addpw): Likewise.
7009 * nscd/servicescache.c (cache_addserv): Likewise.
7010
7011 2012-01-16 Ulrich Drepper <drepper@gmail.com>
7012
7013 * malloc/malloc.c: Various cleanups.
7014 * malloc/hooks.c: Likewise.
7015
7016 * stdlib/Makefile (tests): Add bug-fmtmsg1.
7017 * stdlib/bug-fmtmsg1.c: New file.
7018
7019 * stdlib/fmtmsg.c (init): Add missing unlock.
7020 Patch by Peng Haitao <penght@cn.fujitsu.com>.
7021
7022 2012-01-12 Marek Polacek <polacek@redhat.com>
7023
7024 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
7025 and _GNU_SOURCE.
7026
7027 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
7028
7029 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
7030 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
7031 macro to ensure uniqueness of label name.
7032 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7033 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7034
7035 2012-01-11 Ulrich Drepper <drepper@gmail.com>
7036
7037 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
7038
7039 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
7040 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7041 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7042 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
7043
7044 2012-01-10 Ulrich Drepper <drepper@gmail.com>
7045
7046 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
7047
7048 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
7049 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7050 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7051
7052 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
7053
7054 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
7055 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7056 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7057 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
7058
7059 * math/bits/math-finite.h: Add ldexp support.
7060
7061 2012-01-10 Marek Polacek <polacek@redhat.com>
7062
7063 * locale/programs/localedef.h (show_archive_content): Add noreturn
7064 attribute.
7065
7066 2012-01-09 Ulrich Drepper <drepper@gmail.com>
7067
7068 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
7069
7070 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7071
7072 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
7073
7074 * io/Makefile (headers): Add bits/poll2.h.
7075
7076 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
7077
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
7079 typo #include statement.
7080
7081 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7082
7083 * include/sys/cdefs.h: Define __attribute_alloc_size.
7084 * catgets/gencat.c: Add alloc_size attribute and apply consistently
7085 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
7086 * elf/pldd.c: Likewise.
7087 * iconv/iconv_charmap.c: Likewise.
7088 * iconv/iconvconfig.c: Likewise.
7089 * iconv/strtab.c: Likewise.
7090 * locale/programs/locale.c: Likewise.
7091 * locale/programs/localedef.h: Likewise.
7092 * locale/programs/simple-hash.c: Likewise.
7093 * nscd/nscd.h: Likewise.
7094 * nss/makedb.c: Likewise.
7095 * sysdeps/generic/ldconfig.h: Likewise.
7096 * locale/programs/localedef.c: Remove xmalloc prototype.
7097 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
7098
7099 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
7100
7101 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
7102 appropriate.
7103
7104 2012-01-08 Ulrich Drepper <drepper@gmail.com>
7105
7106 * math/Makefile (tests): Add tst-CMPLX.
7107 * math/tst-CMPLX.c: New file.
7108
7109 * math/complex.h (CMPLXL): Fix typo.
7110
7111 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
7112 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
7113 GLIBC_2.16.
7114 * debug/tst-chk1.c: Add poll and ppoll tests.
7115 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
7116 * include/sys/poll.h: Add hidden proto for ppoll.
7117 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
7118 * sysdeps/mach/hurd/ppoll.c: Likewise.
7119 * io/ppoll.c: Likewise.
7120 * debug/poll_chk.c: New file.
7121 * debug/ppoll_chk.c: New file.
7122 * include/bits/poll2.h: New file.
7123 * io/bits/poll2.h: New file.
7124
7125 [BZ #1350]
7126 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
7127
7128 * configure.in: static is always set to yes. Remove.
7129 * config.make.in: Don't set build-static.
7130 * Makeconfig: Remove use of build-static.
7131 * dlfcn/Makefile: Likewise.
7132 * elf/Makefile: Likewise.
7133 * math/Makefile: Likewise.
7134 * misc/Makefile: Likewise.
7135 * nptl/Makefile: Likewise.
7136 * sysdeps/mach/hurd/Makefile: Likewise.
7137
7138 * configure.in: PWD_P is not used anymore.
7139 * config.make.in: Remove PWD_P entry.
7140
7141 * configure.in: Remove last remnants of RANLIB.
7142 No need to check for signed size_t anymore.
7143 Don't set libc_commonpagesize and libc_relro_required here for Alpha
7144 and IA-64.
7145 Remove __builtin_expect test because we require at least gcc 3.4.
7146 * aclocal.m4: Likewise.
7147
7148 * wcsmbs/mbrtoc16.c: Implement using towc function.
7149 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
7150 * wcsmbs/wcsmbsload.c: Likewise.
7151 * iconv/gconv_simple.c: Likewise.
7152 * iconv/gconv_int.h: Likewise.
7153 * iconv/gconv_builtin.h: Likewise.
7154 * iconv/iconv_prog.c: Remove CHAR16 handling.
7155
7156 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
7157
7158 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
7159
7160 * configure.in: Remove --with-elf and --enable-bounded options.
7161 Dont set base_machine for ia64. More non-ELF conditions removed.
7162 Remove testing and setting of leading underscore information.
7163 * config.make.in (build-bounded): Set to no.
7164 * config.h.in: Remove NO_UNDERSCORES entry.
7165 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
7166 them.
7167 * csu/start.c: Remove !NO_UNDERSCORE code.
7168 * locale/localeinfo.h: Likewise.
7169 * sysdeps/generic/machine-gmon.h: Likewise.
7170 * sysdeps/generic/sysdep.h: Likewise.
7171 * sysdeps/i386/sysdep.h: Likewise.
7172 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7173 * sysdeps/mach/sysdep.h: Likewise.
7174 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7175 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7176 * sysdeps/sh/sysdep.h: Likewise.
7177 * sysdeps/sparc/sparc32/alloca.S: Likewise.
7178 * sysdeps/unix/i386/sysdep.S: Likewise.
7179 * sysdeps/unix/sparc/start.c: Likewise.
7180 * sysdeps/unix/sparc/sysdep.S: Likewise.
7181 * sysdeps/unix/sparc/sysdep.h: Likewise.
7182 * sysdeps/unix/start.c: Likewise.
7183 * sysdeps/unix/x86_64/sysdep.S: Likewise.
7184 * sysdeps/x86_64/sysdep.h: Likewise.
7185
7186 2012-01-07 Ulrich Drepper <drepper@gmail.com>
7187
7188 [BZ #13553]
7189 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
7190 for non-gcc.
7191 * argp/argp-fmtstream.h: Use const instead __const.
7192 * argp/argp.h: Likewise.
7193 * assert/assert.h: Likewise.
7194 * bits/fenv.h: Likewise.
7195 * bits/sched.h: Likewise.
7196 * bits/sigset.h: Likewise.
7197 * bits/sigthread.h: Likewise.
7198 * catgets/nl_types.h: Likewise.
7199 * conform/data/pthread.h-data: Likewise.
7200 * crypt/crypt-private.h: Likewise.
7201 * crypt/crypt.h: Likewise.
7202 * crypt/crypt_util.c: Likewise.
7203 * ctype/ctype.h: Likewise.
7204 * debug/execinfo.h: Likewise.
7205 * debug/mbsnrtowcs_chk.c: Likewise.
7206 * debug/mbsrtowcs_chk.c: Likewise.
7207 * debug/wcsnrtombs_chk.c: Likewise.
7208 * debug/wcsrtombs_chk.c: Likewise.
7209 * debug/wcstombs_chk.c: Likewise.
7210 * dirent/dirent.h: Likewise.
7211 * dlfcn/dlfcn.h: Likewise.
7212 * elf/neededtest4.c: Likewise.
7213 * grp/grp.h: Likewise.
7214 * gshadow/gshadow.h: Likewise.
7215 * iconv/gconv.h: Likewise.
7216 * iconv/gconv_int.h: Likewise.
7217 * iconv/gconv_simple.c: Likewise.
7218 * iconv/iconv.h: Likewise.
7219 * iconv/loop.c: Likewise.
7220 * iconv/skeleton.c: Likewise.
7221 * include/aio.h: Likewise.
7222 * include/aliases.h: Likewise.
7223 * include/argz.h: Likewise.
7224 * include/arpa/inet.h: Likewise.
7225 * include/assert.h: Likewise.
7226 * include/dirent.h: Likewise.
7227 * include/dlfcn.h: Likewise.
7228 * include/execinfo.h: Likewise.
7229 * include/fcntl.h: Likewise.
7230 * include/fenv.h: Likewise.
7231 * include/glob.h: Likewise.
7232 * include/grp.h: Likewise.
7233 * include/libintl.h: Likewise.
7234 * include/mntent.h: Likewise.
7235 * include/netdb.h: Likewise.
7236 * include/pwd.h: Likewise.
7237 * include/rpc/netdb.h: Likewise.
7238 * include/sched.h: Likewise.
7239 * include/search.h: Likewise.
7240 * include/shadow.h: Likewise.
7241 * include/signal.h: Likewise.
7242 * include/stdio.h: Likewise.
7243 * include/stdlib.h: Likewise.
7244 * include/string.h: Likewise.
7245 * include/sys/socket.h: Likewise.
7246 * include/sys/stat.h: Likewise.
7247 * include/sys/statfs.h: Likewise.
7248 * include/sys/statvfs.h: Likewise.
7249 * include/sys/syslog.h: Likewise.
7250 * include/sys/time.h: Likewise.
7251 * include/sys/uio.h: Likewise.
7252 * include/time.h: Likewise.
7253 * include/unistd.h: Likewise.
7254 * include/utmp.h: Likewise.
7255 * include/wchar.h: Likewise.
7256 * include/wctype.h: Likewise.
7257 * inet/aliases.h: Likewise.
7258 * inet/arpa/inet.h: Likewise.
7259 * inet/netinet/ether.h: Likewise.
7260 * inet/netinet/in.h: Likewise.
7261 * intl/libintl.h: Likewise.
7262 * io/bits/fcntl2.h: Likewise.
7263 * io/fcntl.h: Likewise.
7264 * io/ftw.h: Likewise.
7265 * io/sys/poll.h: Likewise.
7266 * io/sys/stat.h: Likewise.
7267 * io/sys/statfs.h: Likewise.
7268 * io/sys/statvfs.h: Likewise.
7269 * io/utime.h: Likewise.
7270 * libio/bits/stdio.h: Likewise.
7271 * libio/bits/stdio2.h: Likewise.
7272 * libio/libio.h: Likewise.
7273 * libio/libioP.h: Likewise.
7274 * libio/stdio.h: Likewise.
7275 * locale/lc-ctype.c: Likewise.
7276 * locale/locale.h: Likewise.
7277 * login/utmp.h: Likewise.
7278 * malloc/arena.c: Likewise.
7279 * malloc/malloc.c: Likewise.
7280 * malloc/malloc.h: Likewise.
7281 * malloc/mcheck.c: Likewise.
7282 * malloc/mtrace.c: Likewise.
7283 * math/bits/mathcalls.h: Likewise.
7284 * math/fenv.h: Likewise.
7285 * math/math_private.h: Likewise.
7286 * misc/bits/error.h: Likewise.
7287 * misc/bits/syslog.h: Likewise.
7288 * misc/err.h: Likewise.
7289 * misc/error.h: Likewise.
7290 * misc/fstab.h: Likewise.
7291 * misc/mntent.h: Likewise.
7292 * misc/regexp.h: Likewise.
7293 * misc/search.h: Likewise.
7294 * misc/sgtty.h: Likewise.
7295 * misc/sys/mman.h: Likewise.
7296 * misc/sys/syslog.h: Likewise.
7297 * misc/sys/uio.h: Likewise.
7298 * misc/sys/xattr.h: Likewise.
7299 * misc/ttyent.h: Likewise.
7300 * nis/rpcsvc/ypclnt.h: Likewise.
7301 * nss/nss.h: Likewise.
7302 * posix/bits/unistd.h: Likewise.
7303 * posix/fnmatch.h: Likewise.
7304 * posix/glob.h: Likewise.
7305 * posix/sched.h: Likewise.
7306 * posix/spawn.h: Likewise.
7307 * posix/sys/wait.h: Likewise.
7308 * posix/unistd.h: Likewise.
7309 * posix/wordexp.h: Likewise.
7310 * pwd/pwd.h: Likewise.
7311 * resolv/netdb.h: Likewise.
7312 * resource/sys/resource.h: Likewise.
7313 * rt/aio.h: Likewise.
7314 * rt/bits/mqueue2.h: Likewise.
7315 * rt/mqueue.h: Likewise.
7316 * shadow/shadow.h: Likewise.
7317 * signal/signal.h: Likewise.
7318 * socket/send.c: Likewise.
7319 * socket/sendto.c: Likewise.
7320 * socket/sys/socket.h: Likewise.
7321 * stdio-common/printf.h: Likewise.
7322 * stdlib/bits/stdlib.h: Likewise.
7323 * stdlib/fmtmsg.h: Likewise.
7324 * stdlib/monetary.h: Likewise.
7325 * stdlib/stdlib.h: Likewise.
7326 * stdlib/ucontext.h: Likewise.
7327 * streams/stropts.h: Likewise.
7328 * string/argz.h: Likewise.
7329 * string/bits/string2.h: Likewise.
7330 * string/string.h: Likewise.
7331 * string/strings.h: Likewise.
7332 * sunrpc/rpc/auth.h: Likewise.
7333 * sunrpc/rpc/auth_des.h: Likewise.
7334 * sunrpc/rpc/clnt.h: Likewise.
7335 * sunrpc/rpc/netdb.h: Likewise.
7336 * sunrpc/rpc/pmap_clnt.h: Likewise.
7337 * sunrpc/rpc/xdr.h: Likewise.
7338 * sysdeps/generic/inttypes.h: Likewise.
7339 * sysdeps/generic/net/if.h: Likewise.
7340 * sysdeps/generic/sys/swap.h: Likewise.
7341 * sysdeps/gnu/net/if.h: Likewise.
7342 * sysdeps/gnu/utmpx.h: Likewise.
7343 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
7344 * sysdeps/i386/i486/bits/string.h: Likewise.
7345 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
7346 * sysdeps/s390/bits/string.h: Likewise.
7347 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
7348 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
7349 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
7350 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
7351 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
7352 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
7353 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
7354 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
7355 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
7356 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
7357 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
7358 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7359 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
7360 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7361 * sysdeps/unix/sysv/linux/readv.c: Likewise.
7362 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
7363 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7364 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7368 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
7369 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
7370 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
7371 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
7372 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
7373 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
7374 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7375 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
7376 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
7377 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
7378 * sysvipc/sys/ipc.h: Likewise.
7379 * sysvipc/sys/msg.h: Likewise.
7380 * sysvipc/sys/sem.h: Likewise.
7381 * sysvipc/sys/shm.h: Likewise.
7382 * termios/termios.h: Likewise.
7383 * time/sys/time.h: Likewise.
7384 * time/time.h: Likewise.
7385 * wcsmbs/bits/wchar2.h: Likewise.
7386 * wcsmbs/uchar.h: Likewise.
7387 * wcsmbs/wchar.h: Likewise.
7388 * wctype/wctype.h: Likewise.
7389
7390 [BZ #13551]
7391 * Makeconfig: Remove all but ELF support including AIX support.
7392 * Makerules: Likewise.
7393 * config.h.in: Likewise.
7394 * config.make.in: Likewise.
7395 * configure: Likewise.
7396 * configure.in: Likewise.
7397 * csu/Makefile: Likewise.
7398 * csu/version.c: Likewise.
7399 * debug/Makefile: Likewise.
7400 * dlfcn/Makefile: Likewise.
7401 * elf/Makefile: Likewise.
7402 * extra-lib.mk: Likewise.
7403 * iconv/Makefile: Likewise.
7404 * include/libc-symbols.h: Likewise.
7405 * include/shlib-compat.h: Likewise.
7406 * resolv/Makefile: Likewise.
7407 * resolv/res_libc.c: Likewise.
7408 * rt/Makefile: Likewise.
7409 * sysdeps/i386/asm-syntax.h: Likewise.
7410 * sysdeps/i386/sysdep.h: Likewise.
7411 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
7412 * sysdeps/mach/sysdep.h: Likewise.
7413 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
7414 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
7415 * sysdeps/s390/asm-syntax.h: Likewise.
7416 * sysdeps/s390/s390-32/sysdep.h: Likewise.
7417 * sysdeps/s390/s390-64/sysdep.h: Likewise.
7418 * sysdeps/sh/sysdep.h: Likewise.
7419 * sysdeps/unix/sparc/sysdep.h: Likewise.
7420 * sysdeps/wordsize-32/divdi3.c: Likewise.
7421 * sysdeps/x86_64/sysdep.h: Likewise.
7422
7423 * argp/Versions: Remove _argp_unlock_xxx.
7424
7425 [BZ #13559]
7426 * abilist/ld.abilist: Update. Adjust for removal of tls option.
7427 * abilist/libBrokenLocale.abilist: Likewise.
7428 * abilist/libanl.abilist: Likewise.
7429 * abilist/libc.abilist: Likewise.
7430 * abilist/libcrypt.abilist: Likewise.
7431 * abilist/libdl.abilist: Likewise.
7432 * abilist/libm.abilist: Likewise.
7433 * abilist/libnsl.abilist: Likewise.
7434 * abilist/libpthread.abilist: Likewise.
7435 * abilist/libresolv.abilist: Likewise.
7436 * abilist/librt.abilist: Likewise.
7437 * abilist/libthread_db.abilist: Likewise.
7438 * abilist/libutil.abilist: Likewise.
7439 * abilist/libnss_db.abilist: New file.
7440
7441 * scripts/abilist.awk: Add support for indirect functions.
7442
7443 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
7444
7445 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
7446
7447 * shlib-versions: Remove entries for ports architectures.
7448
7449 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
7450 files in ports.
7451 * elf/stackguard-macros.h: Remove support for IA-64.
7452 * elf/tst-auditmod1.c: Likewise.
7453 * sysdeps/generic/ldsodefs.h: Likewise.
7454
7455 * sysdeps/unix/sysv/linux/configure.in: Ports should define
7456 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
7457 configure files.
7458
7459 [BZ #13552]
7460 * configure.in: Remove --enable-omitfp support.
7461 * FAQ.in: Adjust.
7462 * config.make.in: Likewise.
7463 * Makeconfig: Likewise.
7464 * manual/install.texi: Likewise.
7465
7466 In case anyone cares, the IA-64 architecture could move to ports.
7467 * sysdeps/ia64/*: Removed.
7468 * sysdeps/unix/sysv/linux/ia64/*: Removed.
7469 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
7470
7471 [BZ #13555]
7472 * configure.in: Remove entries for unsupported architectures.
7473
7474 [BZ #13533]
7475 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
7476 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
7477 routines.
7478 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
7479 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
7480 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
7481 fall back to using wcrtomb.
7482 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
7483 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
7484 renaming.
7485 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
7486 * wcsmbs/tst-c16c32-1.c: New file.
7487
7488 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
7489 local variable.
7490
7491 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
7492
7493 * elf/tst-unique3.cc: Add explicit declaration of gets.
7494 * elf/tst-unique3lib.cc: Likewise.
7495 * elf/tst-unique3lib2.cc: Likewise.
7496 * elf/tst-unique4.cc: Likewise.
7497
7498 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
7499
7500 2012-01-06 Joseph Myers <joseph@codesourcery.com>
7501
7502 [BZ #13566]
7503 * assert/assert.h (static_assert): Don't define for C++.
7504 * libio/stdio.h (gets): Do declare for C++ <= C++11.
7505 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
7506
7507 2012-01-03 Ulrich Drepper <drepper@gmail.com>
7508
7509 * iconv/loop.c (single loop): Fix assertion in storing of
7510 remaining bytes.
7511
7512 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
7513
7514 2012-01-01 Ulrich Drepper <drepper@gmail.com>
7515
7516 * posix/getconf.c: Update copyright year.
7517 * nss/getent.c: Likewise.
7518 * nss/makedb.c: Likewise.
7519 * iconv/iconvconfig.c: Likewise.
7520 * iconv/iconv_prog.c: Likewise.
7521 * elf/ldconfig.c: Likewise.
7522 * elf/pldd.c: Likewise.
7523 * elf/sotruss.ksh: Likewise.
7524 * catgets/gencat.c: Likewise.
7525 * csu/version.c: Likewise.
7526 * elf/ldd.bash.in: Likewise.
7527 * elf/sprof.c (print_version): Likewise.
7528 * locale/programs/locale.c: Likewise.
7529 * locale/programs/localedef.c: Likewise.
7530 * login/programs/pt_chown.c: Likewise.
7531 * nscd/nscd.c (print_version): Likewise.
7532 * debug/xtrace.sh: Likewise.
7533 * malloc/memusage.sh: Likewise.
7534 * malloc/mtrace.pl: Likewise.
7535 * debug/catchsegv.sh: Likewise.
7536
7537 2011-12-30 Jakub Jelinek <jakub@redhat.com>
7538
7539 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
7540 pure attribute.
7541
7542 2011-12-24 Ulrich Drepper <drepper@gmail.com>
7543
7544 [BZ #13533]
7545 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
7546 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
7547 transformations.
7548 * iconv/gconv_int.h: Likewise.
7549 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
7550 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
7551 from libc for GLIBC_2.16.
7552 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
7553 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
7554 * wcsmbs/uchar.h: Really define mbstate_t.
7555 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
7556 * wcsmbs/c16rtomb.c: New file.
7557 * wcsmbs/mbrtoc16.c: New file.
7558 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
7559 for C/POSIX locale.
7560 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
7561 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
7562
7563 * wcsmbs/wchar.h: Add missing __restrict.
7564
7565 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7566
7567 [BZ #13532]
7568 * time/Makefile (routines): Add timespec_get.
7569 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
7570 * time/time.h: Define TIME_UTC and declare timespec_get. Define
7571 timespec for ISO C11.
7572 * time/timespec_get.c: New file.
7573 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
7574 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
7575
7576 [BZ #13531]
7577 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
7578 * stdlib/stdlib.h: Declare aligned_alloc.
7579 * Versions.def: Add GLIBC_2.16 for libc.
7580 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
7581
7582 [BZ 13527]
7583 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
7584 ISO C11.
7585
7586 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
7587 code.
7588
7589 [BZ #13528]
7590 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
7591
7592 [BZ #13529]
7593 * assert/assert.h (static_assert): Define.
7594
7595 * version.h: Update for 2.16 development version.
7596
7597 [BZ #13526]
7598 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
7599 _ISOC11_SOURCE.
7600
7601 * version.h (RELEASE): Bump for 2.15 release.
7602 * include/features.h (__GLIBC_MINOR__): Bump to 15.
7603
7604 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
7605 Patch by Marek Polacek <mpolacek@redhat.com>.
7606
7607 * bits/byteswap.h: Protect long long constants with __extension__.
7608 * sysdeps/i386/bits/byteswap.h: Likewise.
7609 * sysdeps/ia64/bits/byteswap.h: Likewise.
7610 * sysdeps/s390/bits/byteswap.h: Likewise.
7611 * sysdeps/x86_64/bits/byteswap.h: Likewise.
7612
7613 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7614
7615 [BZ #13540]
7616 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
7617 destination buffer.
7618 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7619
7620 2011-12-23 Marek Polacek <polacek@redhat.com>
7621
7622 * elf/dl-addr.c (determine_info): Add inline keyword.
7623 * elf/tst-auditmod4b.c (check_avx): Likewise.
7624 * elf/tst-auditmod6b.c (check_avx): Likewise.
7625 * elf/tst-auditmod6c.c (check_avx): Likewise.
7626 * elf/tst-auditmod7b.c (check_avx): Likewise.
7627
7628 2011-12-23 Ulrich Drepper <drepper@gmail.com>
7629
7630 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
7631 !__SSE_MATH__.
7632
7633 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7634
7635 [BZ #13540]
7636 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
7637 processing for last bytes.
7638
7639 2011-08-06 Bruno Haible <bruno@clisp.org>
7640
7641 [BZ #13061]
7642 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
7643 U+0385, not to U+1FEE.
7644
7645 [BZ #13062]
7646 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
7647 entry for U+00A5 U+0301.
7648
7649 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7650
7651 [BZ #13166]
7652 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
7653 buffer for the output is too small.
7654
7655 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
7656 optimization.
7657
7658 [BZ #13185]
7659 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
7660 SSE flags if possible.
7661
7662 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7663
7664 [BZ #13540]
7665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
7666 processing for last bytes.
7667
7668 2011-12-22 Joseph Myers <joseph@codesourcery.com>
7669
7670 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
7671 (syscall-list-default-options, syscall-list-default-condition)
7672 (syscall-list-includes): Define.
7673 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
7674 list of ABIs and options and #if conditions for each ABI. Do not
7675 handle common syscalls between ABIs specially.
7676 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
7677 Remove.
7678 (syscall-list-variants, syscall-list-32bit-options)
7679 (syscall-list-32bit-condition, syscall-list-64bit-options)
7680 (syscall-list-64bit-condition): Define.
7681 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
7682 (syscall-list-variants, syscall-list-32bit-options)
7683 (syscall-list-32bit-condition, syscall-list-64bit-options)
7684 (syscall-list-64bit-condition): Define.
7685 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
7686 Remove.
7687 (syscall-list-variants, syscall-list-32bit-options)
7688 (syscall-list-32bit-condition, syscall-list-64bit-options)
7689 (syscall-list-64bit-condition): Define.
7690 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
7691 Remove.
7692 (syscall-list-variants, syscall-list-32bit-options)
7693 (syscall-list-32bit-condition, syscall-list-64bit-options)
7694 (syscall-list-64bit-condition): Define.
7695
7696 2011-12-22 Ulrich Drepper <drepper@gmail.com>
7697
7698 * locale/iso-639.def: Add brx entry.
7699
7700 [BZ #13328]
7701 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
7702 Proposed by Mariusz_Cukr <marcukr@op.pl>.
7703
7704 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
7705 __feraiseexcept_renamed.
7706
7707 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7708
7709 [BZ #13538]
7710 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
7711 EPOLLET with unsigned values.
7712 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
7713 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
7714
7715 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
7716 to large cancellation.
7717 * math/s_cacoshf.c: Likewise.
7718 * math/s_cacoshl.c: Likewise.
7719
7720 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
7721
7722 [BZ #13305]
7723 [BZ #12786]
7724 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
7725 * math/s_cacoshf.c: Likewise.
7726 * math/s_cacoshl.c: Likewise.
7727
7728 2011-12-21 Ulrich Drepper <drepper@gmail.com>
7729
7730 [BZ #13439]
7731 * iconv/gconv.h: Define __GCONV_SWAP.
7732 * iconvdata/unicode.c: The swap bit must be stored in __flags.
7733 * iconvdata/utf-16.c: Likewise.
7734 * iconvdata/utf-32.c: Likewise.
7735
7736 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
7737
7738 [BZ #13524]
7739 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
7740 numerator after shifting it by one limb.
7741
7742 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
7743
7744 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
7745 under [__USE_EXTERN_INLINES].
7746
7747 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7748
7749 [BZ #13446]
7750 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
7751
7752 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7753
7754 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
7755 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
7756 optimized code.
7757 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
7758 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
7759 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
7760 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
7761 for strncasecmp/strncasecmp_l compilation.
7762 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
7763 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
7764
7765 2011-12-08 Marek Polacek <mpolacek@redhat.com>
7766
7767 [BZ #13484]
7768 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
7769 of __asm__.
7770
7771 2011-12-17 Ulrich Drepper <drepper@gmail.com>
7772
7773 [BZ #13506]
7774 * time/tzfile.c (__tzfile_read): Check values from file header.
7775
7776 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
7777
7778 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
7779 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
7780 * powerpc/powerpc32/dl-start.S: Likewise.
7781 * powerpc/powerpc32/elf/start.S: Likewise.
7782 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7783 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
7784 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
7785 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
7786 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
7787 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
7788 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
7789 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
7790 * powerpc/powerpc32/fpu/s_round.S: Likewise.
7791 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
7792 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
7793 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
7794 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7795 * powerpc/powerpc32/memset.S: Likewise.
7796 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
7797 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
7798 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
7799 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
7800 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
7801 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
7802 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
7803 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
7804 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
7805 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
7806 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
7807 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
7808 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
7809
7810 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7811
7812 * math/libm-test.inc: Added more nearbyint tests.
7813 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
7814 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
7815 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
7816 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
7817
7818 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
7819
7820 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
7821 FD_CLOEXEC.
7822
7823 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7824
7825 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
7826 Add wcscpy-ssse3 wcscpy-c.
7827 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
7828 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
7829 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
7830 * sysdeps/x86_64/wcschr.S: New file.
7831 * sysdeps/x86_64/wcsrchr.S: New file.
7832 * string/test-strcmp.c: Remove checking of wcscmp function for
7833 wrong alignments.
7834 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
7835 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
7836 wcsrchr-sse2 wcsrchr-c.
7837 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
7838 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
7839 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
7840 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
7841 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
7842 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
7843 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
7844 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
7845 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
7846 * wcsmbc/wcschr.c (WCSCHR): New macro.
7847
7848 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
7849
7850 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
7851 * wcsmbs/test-wcsrchr.c: New file.
7852 * string/test-strrchr.c: Add wcsrchr support.
7853 (WIDE): New macro.
7854 * wcsmbs/test-wcscpy.c: New file.
7855 * string/test-strcpy.c: Add wcscpy support.
7856 (WIDE): New macro.
7857
7858 2011-12-10 Ulrich Drepper <drepper@gmail.com>
7859
7860 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
7861 the inner loop.
7862
7863 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
7864
7865 [BZ #13472]
7866 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
7867
7868 2011-12-04 Ulrich Drepper <drepper@gmail.com>
7869
7870 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
7871 Minor optimizations.
7872
7873 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
7874 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
7875 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
7876
7877 2011-12-03 Ulrich Drepper <drepper@gmail.com>
7878
7879 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
7880 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
7881 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
7882 for gcc to avoid warnings.
7883 * inet/Makefile (tests): Add tst-checks.
7884 * inet/tst-checks.c: New file.
7885
7886 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
7887 warning.
7888
7889 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
7890 __wmemcmp_sse2.
7891
7892 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
7893 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
7894
7895 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
7896
7897 2011-12-02 Ulrich Drepper <drepper@gmail.com>
7898
7899 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
7900 problem.
7901
7902 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
7903
7904 2011-11-29 Joseph Myers <joseph@codesourcery.com>
7905
7906 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
7907 conditional on GCC version.
7908 (__arch_compare_and_exchange_val_8_acq)
7909 (__arch_compare_and_exchange_val_16_acq)
7910 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
7911 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
7912 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
7913
7914 2011-12-02 Joseph Myers <joseph@codesourcery.com>
7915
7916 * sysdeps/sh/backtrace.c: New file.
7917
7918 2011-12-02 Andreas Schwab <schwab@redhat.com>
7919
7920 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
7921 parenthesis.
7922
7923 2011-12-01 Andreas Schwab <schwab@redhat.com>
7924
7925 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
7926 falling back to utime.
7927
7928 2011-11-30 Andreas Schwab <schwab@redhat.com>
7929
7930 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
7931 expectations for float.
7932
7933 2011-11-29 Andreas Schwab <schwab@redhat.com>
7934
7935 * locale/weight.h (findidx): Add parameter len.
7936 * locale/weightwc.h (findidx): Likewise.
7937 * posix/fnmatch_loop.c (FCT): Adjust caller.
7938 * posix/regcomp.c (build_equiv_class): Likewise.
7939 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
7940 * posix/regexec.c (check_node_accept_bytes): Likewise.
7941 * string/strcoll_l.c (STRCOLL): Likewise.
7942 * string/strxfrm_l.c (STRXFRM): Likewise.
7943
7944 2011-11-17 Ulrich Drepper <drepper@gmail.com>
7945
7946 * Makefile.in: Remove CVSOPT handling.
7947 * configure.in: Remove use of AC_REVISION.
7948 * iconvdata/Makefile (distribute): No need to filter out CVS.
7949 * scripts/list-sources.sh: Remove CVS, subversion and monotone
7950 handling.
7951
7952 2011-11-16 Andreas Schwab <schwab@redhat.com>
7953
7954 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
7955 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
7956 [USE_AS_STRNCASECMP_L]: Likewise.
7957 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
7958 NO_TLS_DIRECT_SEG_REFS.
7959 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
7960 Fix argument offsets for non-PIC.
7961 [USE_AS_STRNCASECMP_L]: Likewise.
7962 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
7963 NO_TLS_DIRECT_SEG_REFS.
7964
7965 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7966
7967 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
7968 O_CLOEXEC.
7969 * locale/loadlocale.c (_nl_load_locale): Likewise.
7970
7971 2011-11-15 Andreas Schwab <schwab@redhat.com>
7972
7973 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
7974 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
7975 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
7976 (SYSCALL_GETTIME): Set errno on error.
7977
7978 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
7979 count references to noai6ai_cached.
7980
7981 2011-11-15 Ulrich Drepper <drepper@gmail.com>
7982
7983 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
7984
7985 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
7986 FD_CLOEXEC for /proc/self/maps.
7987
7988 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
7989 FD_CLOEXEC for /proc/meminfo.
7990
7991 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
7992 gai.conf.
7993
7994 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
7995 FD_CLOEXEC for given file.
7996
7997 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
7998
7999 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
8000 FD_CLOEXEC for /etc/hosts.
8001 (_gethtent): Likewise.
8002
8003 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
8004
8005 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
8006 cancellation and set FD_CLOEXEC for /etc/netgroup.
8007
8008 * nss/nss_files/files-key.c (search): Don't allow cancellation when
8009 reading /etc/publickey.
8010
8011 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
8012 allow cancellation when reading /etc/group.
8013
8014 * nss/nss_files/files-alias.c (internal_setent): Don't allow
8015 cancellation.
8016 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
8017
8018 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
8019 when using data file.
8020
8021 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
8022
8023 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
8024 (write_nis_obj): Use "c" and "e" in fopen.
8025
8026 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
8027
8028 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
8029
8030 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
8031
8032 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
8033
8034 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
8035 locale.alias.
8036
8037 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
8038
8039 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
8040
8041 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
8042
8043 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
8044 file parsing and set FD_CLOEXEC.
8045
8046 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8047
8048 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
8049
8050 2011-11-14 Andreas Schwab <schwab@redhat.com>
8051
8052 * malloc/arena.c (arena_get2): Don't call reused_arena when
8053 _int_new_arena failed.
8054
8055 2011-11-14 Ulrich Drepper <drepper@gmail.com>
8056
8057 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
8058 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
8059 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
8060 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
8061 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
8062 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
8063 to compile strcasecmp and strncasecmp.
8064 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
8065 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
8066
8067 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
8068
8069 2011-11-13 Ulrich Drepper <drepper@gmail.com>
8070
8071 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
8072 locale-defines.sym to gen-as-const-headers.
8073 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
8074 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
8075 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
8076 to compile strcasecmp and strncasecmp.
8077 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
8078 strcasecmp_l and strncasecmp_l.
8079 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
8080 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
8081 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
8082 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
8083 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
8084 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
8085 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
8086 * sysdeps/i386/i686/multiarch/strncase.S: New file.
8087 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
8088 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
8089 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
8090
8091 2011-11-12 Ulrich Drepper <drepper@gmail.com>
8092
8093 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
8094 result of SYSDEP_GETTIME_CPU to retval.
8095 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
8096 parameter list to macro. Remove trailing semicolon. Adjust users.
8097
8098 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
8099 variable.
8100
8101 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
8102 mantissa words.
8103 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
8104
8105 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
8106 from unused variable.
8107
8108 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
8109 DWARF definitions.
8110 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
8111 for assembling.
8112
8113 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
8114 over namespaces.
8115
8116 * sunrpc/rpc_prot.c (rejected): Fix case value.
8117
8118 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
8119 unsigned long long int to avoid warnings in shift.
8120
8121 * posix/regex_internal.c (re_string_reconstruct): Actually use result
8122 of use of trans.
8123 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
8124 variable tmp.
8125
8126 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
8127 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
8128 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
8129
8130 * nis/nis_table.c (nis_list): Use variable of correct type for
8131 result of __follow_path call.
8132
8133 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8134
8135 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
8136 of math functions ceil, trunc, floor, round, and sqrt, when
8137 avaliable on the platform.
8138 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
8139 name clash.
8140 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
8141 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
8142 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
8143
8144 2011-10-30 Marek Polacek <mpolacek@redhat.com>
8145
8146 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
8147 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
8148
8149 2011-11-11 Roland McGrath <roland@hack.frob.com>
8150
8151 * include/unistd.h: Fix __readlink return type.
8152 Reported by Chris Metcalf <cmetcalf@tilera.com>.
8153
8154 2011-11-11 Ulrich Drepper <drepper@gmail.com>
8155
8156 * stdlib/ucontext.h: Undo last change for makecontext.
8157
8158 2011-11-11 Andreas Schwab <schwab@redhat.com>
8159
8160 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
8161
8162 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
8163 * setjmp/setjmp.h: Mark functions as non-leaf.
8164 * setjmp/bits/setjmp2.h: Likewise.
8165 * stdlib/ucontext.h: Likewise.
8166
8167 2011-11-10 Andreas Schwab <schwab@redhat.com>
8168
8169 * malloc/arena.c (_int_new_arena): Don't increment narenas.
8170 (reused_arena): Don't check arena limit.
8171 (arena_get2): Atomically check arena limit.
8172
8173 2011-11-08 Ulrich Drepper <drepper@gmail.com>
8174
8175 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
8176 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
8177
8178 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
8179 instructions.
8180
8181 2011-11-07 Andreas Schwab <schwab@redhat.com>
8182
8183 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
8184 handler when locking.
8185
8186 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
8187 Fix size of allocated buffer.
8188
8189 2011-11-04 Andreas Schwab <schwab@redhat.com>
8190
8191 [BZ #10103]
8192 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
8193 declarations for long double functions.
8194 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
8195
8196 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
8197
8198 2011-11-03 Andreas Schwab <schwab@redhat.com>
8199
8200 * nscd/nscd.c (main): Don't start AVC thread until credentials are
8201 installed.
8202
8203 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
8204 is disabled.
8205
8206 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
8207
8208 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
8209
8210 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
8211
8212 * include/alloca.h (stackinfo_alloca_round): Define.
8213 (extend_alloca): Use it.
8214 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
8215 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
8216 here.
8217
8218 * scripts/check-local-headers.sh: Ignore libaudit.h.
8219
8220 * nscd/Makefile (extra-objs): Make recursively expanded.
8221
8222 2011-11-01 Ulrich Drepper <drepper@gmail.com>
8223
8224 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
8225 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
8226
8227 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
8228 * posix/tst-rfc3484-2.c: Likewise.
8229 * posix/tst-rfc3484-3.c: Likewise.
8230
8231 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8232 process_vm_writev.
8233 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
8234 process_vm_writev.
8235 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
8236 process_vm_writev from libc using GLIBC_2.15 version.
8237
8238 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
8239
8240 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
8241
8242 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
8243 stack usage.
8244
8245 2011-10-31 Ulrich Drepper <drepper@gmail.com>
8246
8247 [BZ #13367]
8248 * nss/getent.c (initgroups_keys): Show error message in case no group
8249 names are given.
8250
8251 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
8252 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
8253 __bump_nl_timestamp.
8254 * nscd/connections (nscd_init): When host database is served open
8255 netlink socket and request notification about configuration changes.
8256 (main_loop_poll): Track netlink file descriptor and bump timestamp
8257 in case data becomes available.
8258 (main_loop_epoll): Likewise.
8259 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
8260 (database_pers_head): Add extra_data fileds.
8261 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
8262 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
8263 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
8264 Adjust caller.
8265 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
8266 in6ai data, call __free_in6ai.
8267 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
8268 Add -DHAVE_NETLINK.
8269 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
8270 interface information. Reuse previous data if netlink timestamp
8271 is not changed.
8272 (__bump_nl_timestamp): New function.
8273 (__free_in6ai): New function.
8274
8275 2011-10-30 Ulrich Drepper <drepper@gmail.com>
8276
8277 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
8278 close_not_cancel_no_status here.
8279 (__check_pf): Reorganize code a bit to not call close twice if OOM.
8280
8281 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8282
8283 [BZ #13276]
8284 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
8285 return value.
8286
8287 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
8288 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
8289 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
8290
8291 2011-07-03 Andreas Jaeger <aj@suse.de>
8292
8293 [BZ #10709]
8294 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
8295 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
8296 * math/libm-test.inc (sin_test): Add test case.
8297
8298 2011-10-29 Ulrich Drepper <drepper@gmail.com>
8299
8300 [BZ #13337]
8301 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
8302 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8303
8304 * elf/chroot_canon.c (chroot_canon): Cleanups.
8305
8306 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
8307
8308 [BZ #13335]
8309 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
8310 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
8311
8312 * string/test-strchr.c: Make usable for strchrnul testing.
8313 * string/test-strchrnul.c: New file.
8314 * string/Makefile (strop-tests): Add strchrnul.
8315
8316 * po/it.po: Update from translation team.
8317 * po/es.po: Likewise.
8318
8319 2011-10-28 Ulrich Drepper <drepper@gmail.com>
8320
8321 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
8322 the three constants needed as parameters. Drop the others.
8323 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
8324 __m128i_strloadu_tolower.
8325 Create and initialize variable zero and use it in all the places
8326 where _mm_setzero_si128 was used.
8327
8328 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
8329 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
8330 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
8331 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
8332 anymore.
8333 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
8334 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
8335 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
8336 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
8337 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
8338 __mpranred, __mptan.
8339 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
8340 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
8341 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
8342 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
8343 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
8344 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
8345 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
8346 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
8347 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
8348
8349 2011-10-28 Andreas Schwab <schwab@redhat.com>
8350
8351 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
8352 redefine if SHARED.
8353 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
8354
8355 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
8356 wide char related routines to wcsmbs subdir.
8357
8358 2011-10-27 Andreas Schwab <schwab@redhat.com>
8359
8360 [BZ #13344]
8361 * misc/sys/cdefs.h (__THROWNL): Define.
8362 * posix/unistd.h: Use __THREADNL instead of __THREAD
8363 for memory synchronization functions.
8364
8365 2011-10-26 Roland McGrath <roland@hack.frob.com>
8366
8367 [BZ #13349]
8368 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
8369 doesn't exist.
8370 * manual/stdio.texi (Obstack Streams): Node removed.
8371
8372 2011-10-26 Andreas Schwab <schwab@redhat.com>
8373
8374 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
8375 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8376 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8377
8378 * math/math_private.h (math_force_eval): Allow non-addressable
8379 arguments.
8380 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
8381
8382 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8383
8384 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
8385 file is not needed.
8386
8387 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
8388 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
8389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
8390 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
8391 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
8392 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
8393 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
8394 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
8395 Add AVX variants.
8396 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
8397 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
8398 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
8399 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
8400 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
8401 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
8402 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
8403 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
8404 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
8405 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
8406 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
8407 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
8408 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
8409 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
8410 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
8411 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
8412 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
8413 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
8414 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
8415
8416 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
8417 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
8418
8419 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
8420 place. Use VEX encoding when compiling for AVX.
8421
8422 2011-10-25 Andreas Schwab <schwab@redhat.com>
8423
8424 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
8425 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
8426
8427 * string/test-strchr.c (do_test): Don't generate NUL bytes.
8428
8429 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8430
8431 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
8432 useless if() expression.
8433 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8434 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8435 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8436 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8437 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8438 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8439 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8440 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8441 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8442 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
8443 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
8444 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8445 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
8446 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8447 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
8448 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8449 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
8450 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
8451 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8452
8453 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
8454
8455 2011-10-25 Andreas Schwab <schwab@redhat.com>
8456
8457 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
8458 condition.
8459 * elf/dl-fini.c (_dl_sort_fini): Likewise.
8460
8461 2011-10-25 Ulrich Drepper <drepper@gmail.com>
8462
8463 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
8464 .text section. Avoid duplicate constants.
8465 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8466 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8469 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8471 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8472 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8473 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8474 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
8475 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8476 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8477 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8478 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8479 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8480 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8481 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8482 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8483 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8484 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8485 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8486 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8487 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8488 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
8489 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
8490 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
8491 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
8492 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
8493 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
8494 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
8495 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
8496 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
8497 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8498 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
8499 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
8500 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
8501 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
8502 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
8503 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
8504 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
8505 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
8506 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
8507 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
8508 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
8509 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
8510
8511 2011-10-24 Ulrich Drepper <drepper@gmail.com>
8512
8513 * sysdeps/x86_64/dla.h: Move to ...
8514 * sysdeps/x86_64/fpu/dla.h: ...here.
8515 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
8516 situations. Use __builtin_fma only for gcc 4.6 and up.
8517
8518 * config.make.in: Add have-mfma4 entry.
8519 * configure.in: Substitute libc_cv_cc_fma4.
8520 * math/Makefile (dbl-only-routines): Add sincostab.
8521 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
8522 Use __sincostab not sincos.
8523 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
8524 name is a macro.
8525 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8526 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8528 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
8529 using __copysign.
8530 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
8531 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
8532 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
8533 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
8534 and __inv.
8535 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
8536 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
8537 __copysign.
8538 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
8539 define aliases when function name is a macro.
8540 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
8541 sysdeps/ieee754/dbl-64/sincos.tbl.
8542 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
8543 fma4-enabled routines.
8544 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
8545 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
8546 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
8547 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
8548 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
8549 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
8550 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
8551 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
8552 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
8553 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
8554 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
8555 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
8556 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
8557 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
8558 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
8559 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
8560 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
8561 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
8562 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
8563 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
8564 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
8565 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
8566 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
8567 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
8568 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
8569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
8570 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
8571 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
8572 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
8573 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
8574
8575 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
8576 rename.
8577 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8578 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8579 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8580 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8581 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8582 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8583 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8585
8586 2011-10-24 Andreas Schwab <schwab@redhat.com>
8587
8588 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
8589
8590 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8591
8592 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
8593
8594 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
8595 prediction.
8596 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
8597
8598 * string/strnlen.c: Don't define STRNLEN, reverse logic.
8599 Remove unused variable magic_bits.
8600 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
8601
8602 * string/strnlen.c: Define and use STRNLEN macro.
8603 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
8604 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
8605 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
8606 * wcsmbs/wcslen.c: Define and use WCSLEN.
8607 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
8608 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
8609 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
8610 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
8611 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
8612 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
8613 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
8614
8615 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8616
8617 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8618 strnlen-sse2-no-bsf.
8619 Rename strlen-no-bsf to strlen-sse2-no-bsf.
8620 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
8621 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
8622 Add strnlen support.
8623 (USE_AS_STRNLEN): New macro.
8624 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
8625 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
8626 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
8627 * sysdeps/x86_64/wcslen.S: New file.
8628
8629 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
8630
8631 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
8632 XMM-moves are used for copying on small sizes.
8633
8634 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8635
8636 * wcsmbs/Makefile (strop-tests): Add wcschr.
8637 * wcsmbs/test-wcschr.c: New file.
8638 * string/test-strchr.c: Update.
8639 Add wcschr support.
8640 (WIDE): New macro.
8641
8642 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8643
8644 * wcsmbs/Makefile (strop-tests): Add wcslen.
8645 * wcsmbs/test-wcslen.c: New file.
8646 * string/test-strlen.c: Update.
8647 Add wcslen support.
8648 (WIDE): New macro.
8649
8650 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8651
8652 * po/it.po: Update from translation team.
8653
8654 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8655
8656 * sysdeps/x86_64/wcscmp.S: Update.
8657 Fix wrong comparison semantics.
8658 wcscmp shall use signed comparison not unsigned.
8659 Don't use substraction to avoid overflow bug.
8660 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
8661 * wcsmbc/wcscmp.c: Likewise.
8662 * string/test-strcmp.c: Likewise.
8663 Add new tests to check cases with negative values.
8664
8665 2011-10-23 Ulrich Drepper <drepper@gmail.com>
8666
8667 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
8668 * sysdeps/x86_64/dla.h: ...here. New file.
8669 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
8670 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8678
8679 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
8680
8681 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
8682 __ynl_finite aliases.
8683
8684 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8685
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8687
8688 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
8689 define DLA_FMA.
8690 [DLA_FMA] (EMULV): Use DLA_FMA.
8691 [DLA_FMA] (MUL12): Use EMULV.
8692 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
8693 that are not needed.
8694 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8701
8702 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
8703
8704 * math/s_nan.c: Undef __nan.
8705 * math/s_nanf.c: Undef __nanf.
8706 * math/s_nanl.c: Undef __nanl.
8707 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
8708 "math_private.h".
8709
8710 2011-10-22 Ulrich Drepper <drepper@gmail.com>
8711
8712 * math/s_catan.c: Add branch predictions.
8713 * math/s_catanf.c: Likewise.
8714 * math/s_catanh.c: Likewise.
8715 * math/s_catanhf.c: Likewise.
8716 * math/s_catanhl.c: Likewise.
8717 * math/s_catanl.c: Likewise.
8718 * math/s_cexp.c: Likewise.
8719 * math/s_cexpf.c: Likewise.
8720 * math/s_cexpl.c: Likewise.
8721 * math/s_clog.c: Likewise.
8722 * math/s_clog10.c: Likewise.
8723 * math/s_clog10f.c: Likewise.
8724 * math/s_clog10l.c: Likewise.
8725 * math/s_clogf.c: Likewise.
8726 * math/s_clogl.c: Likewise.
8727 * math/s_csqrt.c: Likewise.
8728 * math/s_csqrtf.c: Likewise.
8729 * math/s_csqrtl.c: Likewise.
8730 * math/s_ctanf.c: Likewise.
8731 * math/s_ctanh.c: Likewise.
8732 * math/s_ctanhf.c: Likewise.
8733 * math/s_ctanhl.c: Likewise.
8734 * math/s_ctanl.c: Likewise.
8735
8736 * math/math_private.h: Define __nan, __nanf, __nanl.
8737 * math/s_cacosh.c: Include <math_private.h>.
8738 * math/s_cacoshl.c: Likewise.
8739 * math/s_casinh.c: Likewise.
8740 * math/s_casinhf.c: Likewise.
8741 * math/s_casinhl.c: Likewise.
8742 * math/s_ccos.c: Rely entire on ccosh.
8743 * math/s_ccosf.c: Rely entire on ccoshf.
8744 * math/s_ccosl.c: Rely entirely on ccoshl.
8745 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
8746 Remove tests for FE_INVALID.
8747 * math/s_ccoshf.c: Likewise.
8748 * math/s_ccoshl.c: Likewise.
8749 * math/s_csin.c: Likewise.
8750 * math/s_csinf.c: Likewise.
8751 * math/s_csinh.c Likewise.
8752 * math/s_csinhf.c: Likewise.
8753 * math/s_csinhl.c: Likewise.
8754 * math/s_csinl.c: Likewise.
8755 * math/s_ctan.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
8757 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
8758 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
8759
8760 2011-10-21 Ulrich Drepper <drepper@gmail.com>
8761
8762 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
8763 compilation problems.
8764
8765 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
8766 __builtin_expect.
8767
8768 2011-10-20 Ulrich Drepper <drepper@gmail.com>
8769
8770 * sysdeps/i386/configure.in: Test for -mfma4 option.
8771 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
8772 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
8773 COMMON_CPUID_INDEX_80000001.
8774 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
8775 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
8776 use it if FMA3 is not supported.
8777 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
8778
8779 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
8780 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
8781
8782 2011-10-20 Andreas Schwab <schwab@redhat.com>
8783
8784 [BZ #12892]
8785 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
8786 it would create a cycle with a link time dependency.
8787
8788 2011-10-19 Ulrich Drepper <drepper@gmail.com>
8789
8790 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
8791 instruction.
8792 * string/Makefile (strop-tests): Add rawmemchr.
8793 * string/test-rawmemchr.c: New file.
8794
8795 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
8796 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
8797 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
8798 when compiling str{,n}casecmp and when AVX is available. Hook up
8799 new optimized code in initializers.
8800
8801 2011-10-19 Andreas Schwab <schwab@redhat.com>
8802
8803 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
8804 __feraiseexcept instead of feraiseexcept.
8805
8806 2011-10-18 Ulrich Drepper <drepper@gmail.com>
8807
8808 * math/math_private.h: Define defaults for libc_fetestexcept and
8809 libc_feupdateenv.
8810 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
8811 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8812 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
8813 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8814 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
8815 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8816 libc_fetestexcept and libc_feupdateenv.
8817
8818 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
8819 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
8820 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
8821 * sysdeps/x86_64/fpu/math_private.h: Define special version of
8822 libc_feholdexcept_setround.
8823
8824 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
8825 Add s_nearbyint-c and s_nearbyintf-c.
8826 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
8827 nearbyintf inlines.
8828 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
8829 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
8830 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
8831 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
8832
8833 * math/math_private.h: Define defaults for libc_fegetround,
8834 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
8835 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
8836 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
8837 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
8838 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
8839 standard functions.
8840 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8841 Remove comments and hacks for old compiler versions.
8842 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
8843 libc_fegetround, libc_fesetround, libc_feholdexcept, and
8844 libc_feholdexceptl.
8845
8846 2011-10-18 Andreas Schwab <schwab@redhat.com>
8847
8848 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
8849 (__feraiseexcept_renamed): Add __NTH.
8850 (feraiseexcept): Add __NTH. Rename local variables to fix
8851 namespace violations.
8852
8853 2011-10-17 Ulrich Drepper <drepper@gmail.com>
8854
8855 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
8856
8857 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
8858
8859 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
8860 recently added interfaces.
8861 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
8862
8863 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
8864 about macro parameter expansion.
8865
8866 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
8867 __NO_MATH_INLINES is defined. Cleanups.
8868
8869 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
8870 and __floorf is target has SSE4.1.
8871 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
8872 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
8873 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
8874 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
8875
8876 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
8877 name.
8878 (floorf): Likewise.
8879
8880 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
8881
8882 2011-10-17 Andreas Schwab <schwab@redhat.com>
8883
8884 * misc/sys/cdefs.h: Fix last change.
8885
8886 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
8887 database lookup.
8888
8889 2011-10-16 Ulrich Drepper <drepper@gmail.com>
8890
8891 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
8892
8893 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
8894 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8895 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8896 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
8897 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
8898 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
8899 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
8900 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
8901 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
8902 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
8903 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
8904 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
8905 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
8906 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
8907 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
8908 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
8909 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
8910 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
8911 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
8912 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
8913 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
8914 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
8915
8916 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
8917 ceil, ceilf, floor, floorf.
8918
8919 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
8920 Perform IRELATIVE relocations last.
8921
8922 * elf/do-rel.h: Add another parameter nrelative, replacing the
8923 local variable with the same name. Change name of the function
8924 to end in Rel or Rela (uppercase).
8925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
8926 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
8927 elf_dynamic_do_##reloc function.
8928
8929 2011-10-15 Ulrich Drepper <drepper@gmail.com>
8930
8931 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
8932 is sufficient, at least on modern CPUs.
8933
8934 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
8935
8936 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
8937 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
8938
8939 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
8940 __expl_finite.
8941 * math/bits/math-finite.h: Add entries for exp.
8942 * math/e_expl.c: Add __*_finite alias.
8943 * sysdeps/i386/fpu/e_exp.S: Likewise.
8944 * sysdeps/i386/fpu/e_expf.S: Likewise.
8945 * sysdeps/i386/fpu/e_expl.c: Likewise.
8946 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8947 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
8948 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
8949 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
8950 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
8951 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8952 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8953
8954 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
8955 is sufficient, at least on modern CPUs.
8956
8957 * ctype/ctype-info.c (__ctype_init): Define.
8958 * include/ctype.h (__ctype_init): Declare.
8959 (__ctype_b_loc): The variable is always initialized.
8960 (__ctype_toupper_loc): Likewise.
8961 (__ctype_tolower_loc): Likewise.
8962 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
8963 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
8964
8965 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
8966
8967 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
8968
8969 * configure.in: Also look in $cxxmachine/include for C++ system
8970 headers.
8971
8972 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
8973
8974 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
8975 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
8976 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
8977 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
8978 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
8979 (USE_AS_WMEMCMP): New macro.
8980 Fixing indents.
8981 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
8982 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
8983 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
8984 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
8985 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
8986 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
8987 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
8988 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
8989 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
8990 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
8991 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
8992 (USE_AS_WMEMCMP): New macro.
8993 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
8994 * sysdeps/string/test-memcmp.c: Update.
8995 Fix simple_wmemcmp.
8996 Add new tests.
8997 * wcsmbs/wmemcmp.c: Update.
8998 (WMEMCMP): New macro.
8999 Fix overflow bug.
9000
9001 2011-10-12 Andreas Jaeger <aj@suse.de>
9002
9003 [BZ #13268]
9004 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
9005
9006 2011-10-15 Ulrich Drepper <drepper@gmail.com>
9007
9008 * libio/iofwide.c (do_length): Avoid warning.
9009
9010 * ctype/ctype.h (__isctype_f): Add missing __THROW.
9011
9012 2011-10-14 Ulrich Drepper <drepper@gmail.com>
9013
9014 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
9015
9016 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
9017 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
9018 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
9019 * sysdeps/i386/i686/fpu/e_log.S: New file.
9020 * sysdeps/i386/i686/fpu/e_logf.S: New file.
9021 * sysdeps/i386/i686/fpu/e_logl.S: New file.
9022
9023 * ctype/ctype.h: Add support for inlined isXXX functions when
9024 compiling C++ code.
9025
9026 2011-10-14 Andreas Schwab <schwab@redhat.com>
9027
9028 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9029
9030 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
9031
9032 2011-10-13 Roland McGrath <roland@hack.frob.com>
9033
9034 [BZ #13291]
9035 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
9036
9037 2011-10-13 Andreas Schwab <schwab@redhat.com>
9038
9039 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
9040 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
9041 feraiseexcept.
9042
9043 * sysdeps/x86_64/memrchr.S: Check for zero size.
9044
9045 * string/stratcliff.c: Add memrchr tests.
9046
9047 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9048
9049 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
9050 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
9051 rawmemchr-sse2 rawmemchr-sse2-bsf.
9052 * sysdeps/i386/i686/multiarch/memchr.S: New file.
9053 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
9054 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
9055 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
9056 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
9057 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
9058 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
9059 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
9060 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
9061 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
9062 * string/memrchr.c (MEMRCHR): New macro.
9063
9064 2011-10-12 Ulrich Drepper <drepper@gmail.com>
9065
9066 Add integration with gcc's -ffinite-math-only and optimize wrapper
9067 functions in libm.
9068 * Versions.def: Define GLIBC_2.15 version for libm.
9069 * math/Makefile (headers): Add bits/math-finite.h.
9070 * math/bits/math-finite.h: New file.
9071 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
9072 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
9073 * math/e_acoshl.c: Add __*_finite alias.
9074 * math/e_acosl.c: Likewise.
9075 * math/e_asinl.c: Likewise.
9076 * math/e_atan2l.c: Likewise.
9077 * math/e_atanhl.c: Likewise.
9078 * math/e_coshl.c: Likewise.
9079 * math/e_exp10.c: Likewise.
9080 * math/e_exp10f.c: Likewise.
9081 * math/e_exp10l.c: Likewise.
9082 * math/e_exp2l.c: Likewise.
9083 * math/e_fmodl.c: Likewise.
9084 * math/e_gammal_r.c: Likewise.
9085 * math/e_hypotl.c: Likewise.
9086 * math/e_j0l.c: Likewise.
9087 * math/e_j1l.c: Likewise.
9088 * math/e_jnl.c: Likewise.
9089 * math/e_lgammal_r.c: Likewise.
9090 * math/e_log10l.c: Likewise.
9091 * math/e_log2l.c: Likewise.
9092 * math/e_logl.c: Likewise.
9093 * math/e_powl.c: Likewise.
9094 * math/e_sinhl.c: Likewise.
9095 * math/e_sqrtl.c: Likewise.
9096 * math/e_scalb.c: Completely rewritten and optimized.
9097 * math/e_scalbf.c: Likewise.
9098 * math/e_scalbl.c: Likewise.
9099 * math/w_acos.c: Likewise.
9100 * math/w_acosf.c: Likewise.
9101 * math/w_acosl.c: Likewise.
9102 * math/w_acosh.c: Likewise.
9103 * math/w_acoshf.c: Likewise.
9104 * math/w_acoshl.c: Likewise.
9105 * math/w_asin.c: Likewise.
9106 * math/w_asinf.c: Likewise.
9107 * math/w_asinl.c: Likewise.
9108 * math/w_atan2.c: Likewise.
9109 * math/w_atan2f.c: Likewise.
9110 * math/w_atan2l.c: Likewise.
9111 * math/w_atanh.c: Likewise.
9112 * math/w_atanhf.c: Likewise.
9113 * math/w_atanhl.c: Likewise.
9114 * math/w_exp10.c: Likewise.
9115 * math/w_exp10f.c: Likewise.
9116 * math/w_exp10l.c: Likewise.
9117 * math/w_fmod.c: Likewise.
9118 * math/w_fmodf.c: Likewise.
9119 * math/w_fmodl.c: Likewise.
9120 * math/w_j0.c: Likewise.
9121 * math/w_j0f.c: Likewise.
9122 * math/w_j0l.c: Likewise.
9123 * math/w_j1.c: Likewise.
9124 * math/w_j1f.c: Likewise.
9125 * math/w_j1l.c: Likewise.
9126 * math/w_jn.c: Likewise.
9127 * math/w_jnf.c: Likewise.
9128 * math/w_log.c: Likewise.
9129 * math/w_logf.c: Likewise.
9130 * math/w_logl.c: Likewise.
9131 * math/w_log10.c: Likewise.
9132 * math/w_log10f.c: Likewise.
9133 * math/w_log10l.c: Likewise.
9134 * math/w_log2.c: Likewise.
9135 * math/w_log2f.c: Likewise.
9136 * math/w_log2l.c: Likewise.
9137 * math/w_pow.c: Likewise.
9138 * math/w_powf.c: Likewise.
9139 * math/w_powl.c: Likewise.
9140 * math/w_remainder.c: Likewise.
9141 * math/w_remainderf.c: Likewise.
9142 * math/w_remainderl.c: Likewise.
9143 * math/w_scalb.c: Likewise.
9144 * math/w_scalbf.c: Likewise.
9145 * math/w_scalbl.c: Likewise.
9146 * math/w_sqrt.c: Likewise.
9147 * math/w_sqrtf.c: Likewise.
9148 * math/w_sqrtl.c: Likewise.
9149 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
9150 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
9151 used.
9152 * math/math_private.h: Declare __kernel_standard_f.
9153 * math/w_cosh.c: Remove cruft and optimize a bit.
9154 * math/w_coshf.c: Likewise.
9155 * math/w_coshl.c: Likewise.
9156 * math/w_exp2.c: Likewise.
9157 * math/w_exp2f.c: Likewise.
9158 * math/w_exp2l.c: Likewise.
9159 * math/w_hypot.c: Likewise.
9160 * math/w_hypotf.c: Likewise.
9161 * math/w_hypotl.c: Likewise.
9162 * math/w_lgamma.c: Likewise.
9163 * math/w_lgamma_r.c: Likewise.
9164 * math/w_lgammaf.c: Likewise.
9165 * math/w_lgammaf_r.c: Likewise.
9166 * math/w_lgammal.c: Likewise.
9167 * math/w_lgammal_r.c: Likewise.
9168 * math/w_sinh.c: Likewise.
9169 * math/w_sinhf.c: Likewise.
9170 * math/w_sinhl.c: Likewise.
9171 * math/w_tgamma.c: Likewise.
9172 * math/w_tgammaf.c: Likewise.
9173 * math/w_tgammal.c: Likewise.
9174 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9175 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9176 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
9177 Minor optimizations. Pretty printing. Remove cruft.
9178 * sysdeps/i386/fpu/e_acosf.S: Likewise.
9179 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9180 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9181 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9182 * sysdeps/i386/fpu/e_acosl.c: Likewise.
9183 * sysdeps/i386/fpu/e_asin.S: Likewise.
9184 * sysdeps/i386/fpu/e_asinf.S: Likewise.
9185 * sysdeps/i386/fpu/e_atan2.S: Likewise.
9186 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
9187 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
9188 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9189 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9190 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9191 * sysdeps/i386/fpu/e_exp10.S: Likewise.
9192 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
9193 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
9194 * sysdeps/i386/fpu/e_exp2.S: Likewise.
9195 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
9196 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
9197 * sysdeps/i386/fpu/e_fmod.S: Likewise.
9198 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
9199 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
9200 * sysdeps/i386/fpu/e_hypot.S: Likewise.
9201 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
9202 * sysdeps/i386/fpu/e_log.S: Likewise.
9203 * sysdeps/i386/fpu/e_log10.S: Likewise.
9204 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9205 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9206 * sysdeps/i386/fpu/e_log2.S: Likewise.
9207 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9208 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9209 * sysdeps/i386/fpu/e_logf.S: Likewise.
9210 * sysdeps/i386/fpu/e_logl.S: Likewise.
9211 * sysdeps/i386/fpu/e_pow.S: Likewise.
9212 * sysdeps/i386/fpu/e_powf.S: Likewise.
9213 * sysdeps/i386/fpu/e_powl.S: Likewise.
9214 * sysdeps/i386/fpu/e_remainder.S: Likewise.
9215 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
9216 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
9217 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9218 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9219 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9220 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
9221 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
9222 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
9223 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
9224 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
9225 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9226 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
9227 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9228 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
9229 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9230 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
9231 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
9232 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
9233 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9234 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
9235 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
9236 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
9237 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
9238 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9239 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9240 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
9241 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9242 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
9244 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
9245 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9246 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9247 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
9248 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
9249 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
9250 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
9251 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9252 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
9253 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
9254 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9256 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
9257 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
9258 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
9259 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
9260 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
9261 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
9262 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
9263 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
9264 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
9265 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
9266 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
9267 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9268 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
9269 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
9270 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
9271 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
9272 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9273 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
9274 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
9275 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9276 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9277 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
9278 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
9279 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
9280 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
9281 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
9282 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
9283 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
9284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
9285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
9288 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
9289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
9290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
9293 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
9294 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
9295 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
9296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
9297 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
9298 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
9299 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
9300 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
9301 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9302 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
9303 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
9304 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
9305 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9306 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9307 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
9308 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
9309 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9310 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
9311 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9312 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
9313 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9314 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
9315 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
9316 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9317 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9318 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
9319 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
9320 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9321 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9322 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9323 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
9324 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
9325 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
9326 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
9327 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9328 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9329 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9330 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9331 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
9332 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9333 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
9334 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
9335 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
9336 (__isnanf): Likewise.
9337 (__isinf_ns): Likewise.
9338 (__isinf_nsf): Likewise.
9339 (__finite): Likewise.
9340 (__finitef): Likewise.
9341 (__ieee754_sqrt): Define as macro.
9342 (__ieee754_sqrtf): Define as macro.
9343 (__ieee754_sqrtl): Define as macro.
9344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
9345 inlined copy.
9346 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
9347 __FINITE_MATH_ONLY__ consistent.
9348 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
9349
9350 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
9351
9352 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
9353 of rawmemchr.
9354
9355 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
9356
9357 2011-10-09 Ulrich Drepper <drepper@gmail.com>
9358
9359 * po/ja.po: Update from translation team.
9360
9361 2011-10-08 Roland McGrath <roland@hack.frob.com>
9362
9363 * locale/programs/locarchive.c (prepare_address_space): New function.
9364 (create_archive, enlarge_archive, open_archive): Use it.
9365
9366 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
9367 inside [SHARED], where it is used.
9368
9369 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
9370
9371 * nss/getent.c (netgroup_keys): Remove unused variable.
9372 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
9373
9374 2011-10-08 Ulrich Drepper <drepper@gmail.com>
9375
9376 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
9377 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
9378 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
9379 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
9380 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
9381 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
9382 * math/Makefile (libm-calls): Add s_isinf_ns.
9383 * math/divtc3.c: Use __isinf_nsl instead of isinf.
9384 * math/multc3.c: Likewise.
9385 * math/s_casin.c: Likewise.
9386 * math/s_casinf.c: Likewise.
9387 * math/s_casinl.c: Likewise.
9388 * math/s_ccos.c: Likewise.
9389 * math/s_ccosf.c: Likewise.
9390 * math/s_ccosl.c: Likewise.
9391 * math/s_ctan.c: Likewise.
9392 * math/s_ctanf.c: Likewise.
9393 * math/s_ctanh.c: Likewise.
9394 * math/s_ctanhf.c: Likewise.
9395 * math/s_ctanhl.c: Likewise.
9396 * math/s_ctanl.c: Likewise.
9397 * math/w_fmod.c: Likewise.
9398 * math/w_fmodf.c: Likewise.
9399 * math/w_fmodl.c: Likewise.
9400 * math/w_remainder.c: Likewise.
9401 * math/w_remainderf.c: Likewise.
9402 * math/w_remainderl.c: Likewise.
9403 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
9404 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
9405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
9406 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
9407 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
9408 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
9409 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
9410 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
9411
9412 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
9413 of the number.
9414 * stdio-common/printf_fphex.c: Likewise.
9415 * stdio-common/printf_size.c: Likewise.
9416
9417 * math/e_exp10.c: Include math_private.h using <...> not "...".
9418 * math/e_exp10f.c: Likewise.
9419 * math/e_exp10l.c: Likewise.
9420 * math/e_exp2l.c: Likewise.
9421 * math/e_j0l.c: Likewise.
9422 * math/e_j1l.c: Likewise.
9423 * math/e_jnl.c: Likewise.
9424 * math/e_lgammal_r.c: Likewise.
9425 * math/e_rem_pio2l.c: Likewise.
9426 * math/e_scalb.c: Likewise.
9427 * math/e_scalbf.c: Likewise.
9428 * math/e_scalbl.c: Likewise.
9429 * math/k_cosl.c: Likewise.
9430 * math/k_sinl.c: Likewise.
9431 * math/k_tanl.c: Likewise.
9432 * math/s_cacoshf.c: Likewise.
9433 * math/s_catan.c: Likewise.
9434 * math/s_catanf.c: Likewise.
9435 * math/s_catanh.c: Likewise.
9436 * math/s_catanhf.c: Likewise.
9437 * math/s_catanhl.c: Likewise.
9438 * math/s_catanl.c: Likewise.
9439 * math/s_ccosh.c: Likewise.
9440 * math/s_ccoshf.c: Likewise.
9441 * math/s_ccoshl.c: Likewise.
9442 * math/s_cexp.c: Likewise.
9443 * math/s_cexpf.c: Likewise.
9444 * math/s_cexpl.c: Likewise.
9445 * math/s_clog.c: Likewise.
9446 * math/s_clog10.c: Likewise.
9447 * math/s_clog10f.c: Likewise.
9448 * math/s_clog10l.c: Likewise.
9449 * math/s_clogf.c: Likewise.
9450 * math/s_clogl.c: Likewise.
9451 * math/s_csin.c: Likewise.
9452 * math/s_csinf.c: Likewise.
9453 * math/s_csinh.c: Likewise.
9454 * math/s_csinhf.c: Likewise.
9455 * math/s_csinhl.c: Likewise.
9456 * math/s_csinl.c: Likewise.
9457 * math/s_csqrt.c: Likewise.
9458 * math/s_csqrtf.c: Likewise.
9459 * math/s_csqrtl.c: Likewise.
9460 * math/s_ctan.c: Likewise.
9461 * math/s_ctanf.c: Likewise.
9462 * math/s_ctanh.c: Likewise.
9463 * math/s_ctanhf.c: Likewise.
9464 * math/s_ctanhl.c: Likewise.
9465 * math/s_ctanl.c: Likewise.
9466 * math/s_ldexp.c: Likewise.
9467 * math/s_ldexpf.c: Likewise.
9468 * math/s_ldexpl.c: Likewise.
9469 * math/s_significand.c: Likewise.
9470 * math/s_significandf.c: Likewise.
9471 * math/s_significandl.c: Likewise.
9472 * math/w_acos.c: Likewise.
9473 * math/w_acosf.c: Likewise.
9474 * math/w_acosh.c: Likewise.
9475 * math/w_acoshf.c: Likewise.
9476 * math/w_acoshl.c: Likewise.
9477 * math/w_acosl.c: Likewise.
9478 * math/w_asin.c: Likewise.
9479 * math/w_asinf.c: Likewise.
9480 * math/w_asinl.c: Likewise.
9481 * math/w_atan2.c: Likewise.
9482 * math/w_atan2f.c: Likewise.
9483 * math/w_atan2l.c: Likewise.
9484 * math/w_atanh.c: Likewise.
9485 * math/w_atanhf.c: Likewise.
9486 * math/w_atanhl.c: Likewise.
9487 * math/w_cosh.c: Likewise.
9488 * math/w_coshf.c: Likewise.
9489 * math/w_coshl.c: Likewise.
9490 * math/w_dremf.c: Likewise.
9491 * math/w_exp10.c: Likewise.
9492 * math/w_exp10f.c: Likewise.
9493 * math/w_exp10l.c: Likewise.
9494 * math/w_exp2.c: Likewise.
9495 * math/w_exp2f.c: Likewise.
9496 * math/w_fmod.c: Likewise.
9497 * math/w_fmodf.c: Likewise.
9498 * math/w_fmodl.c: Likewise.
9499 * math/w_hypot.c: Likewise.
9500 * math/w_hypotf.c: Likewise.
9501 * math/w_hypotl.c: Likewise.
9502 * math/w_j0.c: Likewise.
9503 * math/w_j0f.c: Likewise.
9504 * math/w_j0l.c: Likewise.
9505 * math/w_j1.c: Likewise.
9506 * math/w_j1f.c: Likewise.
9507 * math/w_j1l.c: Likewise.
9508 * math/w_jn.c: Likewise.
9509 * math/w_jnf.c: Likewise.
9510 * math/w_jnl.c: Likewise.
9511 * math/w_lgamma.c: Likewise.
9512 * math/w_lgamma_r.c: Likewise.
9513 * math/w_lgammaf.c: Likewise.
9514 * math/w_lgammaf_r.c: Likewise.
9515 * math/w_lgammal.c: Likewise.
9516 * math/w_lgammal_r.c: Likewise.
9517 * math/w_log.c: Likewise.
9518 * math/w_log10.c: Likewise.
9519 * math/w_log10f.c: Likewise.
9520 * math/w_log10l.c: Likewise.
9521 * math/w_log2.c: Likewise.
9522 * math/w_log2f.c: Likewise.
9523 * math/w_log2l.c: Likewise.
9524 * math/w_logf.c: Likewise.
9525 * math/w_logl.c: Likewise.
9526 * math/w_pow.c: Likewise.
9527 * math/w_powf.c: Likewise.
9528 * math/w_powl.c: Likewise.
9529 * math/w_remainder.c: Likewise.
9530 * math/w_remainderf.c: Likewise.
9531 * math/w_remainderl.c: Likewise.
9532 * math/w_scalb.c: Likewise.
9533 * math/w_scalbf.c: Likewise.
9534 * math/w_scalbl.c: Likewise.
9535 * math/w_sinh.c: Likewise.
9536 * math/w_sinhf.c: Likewise.
9537 * math/w_sinhl.c: Likewise.
9538 * math/w_sqrt.c: Likewise.
9539 * math/w_sqrtf.c: Likewise.
9540 * math/w_sqrtl.c: Likewise.
9541 * math/w_tgamma.c: Likewise.
9542 * math/w_tgammaf.c: Likewise.
9543 * math/w_tgammal.c: Likewise.
9544
9545 * po/ja.po: Update from translation team.
9546
9547 2011-09-29 Andreas Jaeger <aj@suse.de>
9548
9549 [BZ #13179]
9550 * sunrpc/netname.c (netname2host): Fix logic.
9551
9552 [BZ #6779]
9553 [BZ #6783]
9554 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
9555 correctly.
9556 * math/w_remainder.c (__remainder): Likewise.
9557 * math/w_remainderf.c (__remainderf): Likewise.
9558 * math/libm-test.inc (remainder_test): Add test cases.
9559
9560 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9561
9562 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
9563 sdiv_qrnnd.
9564
9565 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9566
9567 * string/test-memcmp.c: Avoid unncessary #defines.
9568 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
9569
9570 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
9571
9572 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
9573 Use new sse2 version for core i3 - i7 as it's faster
9574 than sse42 version.
9575 (bit_Prefer_PMINUB_for_stringop): New.
9576 * sysdeps/x86_64/rawmemchr.S: Update.
9577 Replace with faster SSE2 version.
9578 * sysdeps/x86_64/memrchr.S: New file.
9579 * sysdeps/x86_64/memchr.S: Update.
9580 Replace with faster SSE2 version.
9581
9582 2011-09-12 Marek Polacek <mpolacek@redhat.com>
9583
9584 * elf/dl-load.c (lose): Add cast to avoid warning.
9585
9586 2011-10-07 Ulrich Drepper <drepper@gmail.com>
9587
9588 * po/ca.po: Update from translation team.
9589
9590 * inet/getnetgrent_r.c: Hook up nscd.
9591 * nscd/Makefile (routines): Add nscd_netgroup.
9592 (nscd-modules): Add netgroupcache.
9593 (CFLAGS-netgroupcache.c): Define.
9594 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
9595 (cache_search): Add const to second parameter.
9596 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
9597 INNETGR.
9598 (dbs): Add netgrdb entry.
9599 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
9600 (verify_persistent_db): Handle netgrdb.
9601 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
9602 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
9603 GETFDNETGR.
9604 (netgroup_response_header): Define.
9605 (innetgroup_response_header): Define.
9606 (datahead): Add netgroup_response_header and innetgroup_response_header
9607 elements.
9608 * nscd/nscd.conf: Add entries for netgroup cache.
9609 * nscd/nscd.h (dbtype): Add netgrdb.
9610 (_PATH_NSCD_NETGROUP_DB): Define.
9611 (netgroup_iov_disabled): Declare.
9612 (xmalloc, xcalloc, xrealloc): Move declarations here.
9613 (cache_search): Adjust prototype.
9614 Add netgroup-related prototypes.
9615 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
9616 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
9617 (__nscd_innetgr): Declare.
9618 * nscd/selinux.c (perms): Use access_vector_t as element type and
9619 add netgroup-related initializers.
9620 * nscd/netgroupcache.c: New file.
9621 * nscd/nscd_netgroup.c: New file.
9622 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
9623 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
9624 For four parameters use innetgr.
9625 * nss/nss_files/files-init.c: Add definition and callback for netgr.
9626 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
9627 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
9628 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
9629
9630 * nscd/connections.c (register_traced_file): Don't register file
9631 for disabled databases.
9632
9633 2011-10-06 Ulrich Drepper <drepper@gmail.com>
9634
9635 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
9636
9637 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
9638 from tree and freeing node.
9639
9640 2011-09-25 Jiri Olsa <jolsa@redhat.com>
9641
9642 * nss/nsswitch.c (__nss_database_lookup): Handle
9643 nss_parse_service_list out of memory case.
9644
9645 2011-09-15 Jiri Olsa <jolsa@redhat.com>
9646
9647 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
9648 out of memory case.
9649
9650 2011-10-04 Andreas Schwab <schwab@redhat.com>
9651
9652 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
9653 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
9654 pass it down.
9655 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
9656 elf_machine_rela, elf_machine_lazy_rel.
9657 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
9658 (ELF_DYNAMIC_DO_REL): Likewise.
9659 (ELF_DYNAMIC_DO_RELA): Likewise.
9660 (ELF_DYNAMIC_RELOCATE): Likewise.
9661 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
9662 to ELF_DYNAMIC_DO_REL.
9663 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
9664 (dl_main): In trace mode always set __RTLD_NOIFUNC.
9665 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
9666 elf_machine_rela.
9667 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
9668 skip_ifunc, don't call ifunc function if non-zero.
9669 (elf_machine_rela): Likewise.
9670 (elf_machine_lazy_rel): Likewise.
9671 (elf_machine_lazy_rela): Likewise.
9672 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
9673 (elf_machine_lazy_rel): Likewise.
9674 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
9675 Likewise.
9676 (elf_machine_lazy_rel): Likewise.
9677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9678 Likewise.
9679 (elf_machine_lazy_rel): Likewise.
9680 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
9681 (elf_machine_lazy_rel): Likewise.
9682 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
9683 (elf_machine_lazy_rel): Likewise.
9684 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9685 (elf_machine_lazy_rel): Likewise.
9686 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
9687 (elf_machine_lazy_rel): Likewise.
9688 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
9689 (elf_machine_lazy_rel): Likewise.
9690 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9691 (elf_machine_lazy_rel): Likewise.
9692
9693 2011-09-28 Ulrich Drepper <drepper@gmail.com>
9694
9695 * nss/nss_files/files-init.c (_nss_files_init): Use static
9696 initialization for all the *_traced_file variables.
9697
9698 2011-09-28 Andreas Schwab <schwab@redhat.com>
9699
9700 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9701
9702 2011-09-27 Roland McGrath <roland@hack.frob.com>
9703
9704 [BZ #13226]
9705 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
9706
9707 2011-09-27 Andreas Schwab <schwab@redhat.com>
9708
9709 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
9710 Reread the line before reparsing it.
9711
9712 2011-09-26 Andreas Schwab <schwab@redhat.com>
9713
9714 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
9715
9716 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
9717 Maxim Kuvyrkov <maxim@codesourcery.com>
9718 Joseph Myers <joseph@codesourcery.com>
9719
9720 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
9721 if needed for __stack_chk_guard.
9722
9723 2011-09-19 Roland McGrath <roland@hack.frob.com>
9724
9725 * sysdeps/posix/spawni.c (script_execute): Always define it.
9726 It will be optimized away if unused.
9727 (maybe_script_execute): New function.
9728 (__spawni): Call it.
9729
9730 * Makerules: Don't include tls.make.
9731 (config-tls): Always set to thread.
9732 * tls.make.c: File removed.
9733
9734 2011-09-19 Mike Frysinger <vapier@gentoo.org>
9735
9736 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
9737 * config.make.in (CPPFLAGS-config): New substituted variable.
9738
9739 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9740
9741 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
9742
9743 [BZ #13192]
9744 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
9745 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
9746
9747 2011-09-15 Roland McGrath <roland@hack.frob.com>
9748
9749 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
9750 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
9751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
9752 (CALL_FAIL): Likewise.
9753 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
9754 (CALL_FAIL): Macro removed.
9755 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
9756
9757 2011-09-15 Ulrich Drepper <drepper@gmail.com>
9758
9759 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
9760 for __FINITE_MATH_ONLY__ == 1.
9761
9762 2011-09-15 Andreas Schwab <schwab@redhat.com>
9763
9764 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
9765 __ieee754_sqrt instead of sqrt.
9766 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
9767 __ieee754_sqrtf instead of sqrtf.
9768 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
9769 __floorf instead of floorf.
9770 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
9771 __floorf, __truncf instead of floorf, truncf.
9772
9773 2011-09-14 Ulrich Drepper <drepper@gmail.com>
9774
9775 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
9776
9777 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
9778 __extern_always_inline.
9779 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
9780 32-bit.
9781
9782 2011-09-14 Andreas Schwab <schwab@redhat.com>
9783
9784 * elf/rtld.c (dl_main): Also relocate in dependency order when
9785 doing symbol dependency testing.
9786
9787 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
9788
9789 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
9790 Always define `refsym'.
9791
9792 2011-09-13 Andreas Schwab <schwab@redhat.com>
9793
9794 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
9795 (__FD_ELT): Renamed from __FDELT.
9796 * misc/bits/select2.h (__FD_ELT): Likewise.
9797 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
9798 __FD_MASK instead of __FDELT, __FDMASK.
9799 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9800 Likewise.
9801 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
9802 Likewise.
9803
9804 * elf/Makefile (gen-ldd): Fix pattern.
9805
9806 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
9807 (init_tls): Likewise.
9808
9809 2011-09-12 Ulrich Drepper <drepper@gmail.com>
9810
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
9812
9813 2011-09-12 Andreas Schwab <schwab@redhat.com>
9814
9815 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
9816 `struct cmsghdr *' instead of `void *'.
9817 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
9818 Likewise.
9819
9820 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
9821
9822 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
9823 if non-absolute.
9824 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
9825 ldd_rewrite_script.
9826
9827 2011-09-11 Ulrich Drepper <drepper@gmail.com>
9828
9829 * configure.in: Remove --with-tls option.
9830 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
9831 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
9832 out in case it is missing.
9833 * sysdeps/ia64/elf/configure.in: Likewise.
9834 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
9835 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
9836 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
9837 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
9838 * sysdeps/sh/elf/configure.in: Likewise.
9839 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
9840 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9841 * sysdeps/x86_64/elf/configure.in: Likewise.
9842 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
9843 * sysdeps/mach/hurd/tls.h: Likewise.
9844
9845 [BZ #13067]
9846 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
9847
9848 [BZ #13090]
9849 * configure.in: Fix use of AC_INIT.
9850
9851 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
9852
9853 2011-09-10 Ulrich Drepper <drepper@gmail.com>
9854
9855 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
9856 __set_errno.
9857 * malloc/hooks.c: Likewise.
9858
9859 [BZ #11929]
9860 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
9861 variables statically.
9862 (narenas): Initialize.
9863 (list_lock): Initialize.
9864 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
9865 initializtion of main_arena and list_lock. Small cleanups.
9866 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
9867 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
9868 Add initializers to main_arena and mp_.
9869 (malloc_state): Remove pagesize member. Change all users to use
9870 GLRO(dl_pagesize).
9871
9872 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
9873 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
9874 is always initialized.
9875
9876 * malloc/malloc.c: Removed unused configurations and dead code.
9877 * malloc/arena.c: Likewise.
9878 * malloc/hooks.c: Likewise.
9879 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
9880
9881 * include/tls.h: Removed. USE___THREAD must always be defined.
9882 * bits/libc-tsd.h: Don't handle !USE___THREAD.
9883 * elf/dl-libc.c: Likewise.
9884 * elf/dl-tsd.c: Likewise.
9885 * include/errno.h: Likewise.
9886 * include/netdb.h: Likewise.
9887 * include/resolv.h: Likewise.
9888 * inet/herrno-loc.c: Likewise.
9889 * inet/herrno.c: Likewise.
9890 * malloc/arena.c: Likewise.
9891 * malloc/hooks.c: Likewise.
9892 * malloc/malloc.c: Likewise.
9893 * resolv/res-state.c: Likewise.
9894 * resolv/res_libc.c: Likewise.
9895 * sysdeps/i386/dl-machine.h: Likewise.
9896 * sysdeps/ia64/dl-machine.h: Likewise.
9897 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9898 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9899 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9900 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9901 * sysdeps/sh/dl-machine.h: Likewise.
9902 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9903 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9904 * sysdeps/unix/i386/sysdep.S: Likewise.
9905 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9906 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
9907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
9908 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
9910 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9911 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
9912 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
9913 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9914 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9915 * sysdeps/unix/x86_64/sysdep.S: Likewise.
9916 * sysdeps/x86_64/dl-machine.h: Likewise.
9917 * tls.make.c: Likewise.
9918
9919 * configure.in: Remove --with-__thread option. Make tests for
9920 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
9921 tls_model attribute fail if no support is available. Remove
9922 USE_IN_LIBIO.
9923 * Makeconfig: Adjust for dropped configure option. All features are
9924 now mandatory.
9925 * Makerules: Likewise.
9926 * Versions.def: Likewise.
9927 * argp/argp-fmtstream.c: Likewise.
9928 * argp/argp-fmtstream.h: Likewise.
9929 * argp/argp-help.c: Likewise.
9930 * assert/assert.c: Likewise.
9931 * config.h.in: Likewise.
9932 * config.make.in: Likewise.
9933 * configure: Likewise.
9934 * configure.in: Likewise.
9935 * csu/Versions: Likewise.
9936 * csu/init.c: Likewise.
9937 * elf/tst-audit2.c: Likewise.
9938 * elf/tst-tls10.c: Likewise.
9939 * elf/tst-tls10.h: Likewise.
9940 * elf/tst-tls11.c: Likewise.
9941 * elf/tst-tls12.c: Likewise.
9942 * elf/tst-tls14.c: Likewise.
9943 * elf/tst-tlsmod11.c: Likewise.
9944 * elf/tst-tlsmod12.c: Likewise.
9945 * elf/tst-tlsmod13.c: Likewise.
9946 * elf/tst-tlsmod13a.c: Likewise.
9947 * elf/tst-tlsmod14a.c: Likewise.
9948 * elf/tst-tlsmod15b.c: Likewise.
9949 * elf/tst-tlsmod16a.c: Likewise.
9950 * elf/tst-tlsmod16b.c: Likewise.
9951 * elf/tst-tlsmod7.c: Likewise.
9952 * elf/tst-tlsmod8.c: Likewise.
9953 * elf/tst-tlsmod9.c: Likewise.
9954 * gmon/gmon.c: Likewise.
9955 * grp/fgetgrent_r.c: Likewise.
9956 * grp/putgrent.c: Likewise.
9957 * hurd/fopenport.c: Likewise.
9958 * include/libc-symbols.h: Likewise.
9959 * include/tls.h: Likewise.
9960 * intl/gettextP.h: Likewise.
9961 * intl/loadinfo.h: Likewise.
9962 * locale/global-locale.c: Likewise.
9963 * locale/localeinfo.h: Likewise.
9964 * mach/devstream.c: Likewise.
9965 * malloc/arena.c: Likewise.
9966 * malloc/set-freeres.c: Likewise.
9967 * misc/err.c: Likewise.
9968 * misc/getttyent.c: Likewise.
9969 * misc/mntent_r.c: Likewise.
9970 * posix/getopt.c: Likewise.
9971 * posix/wordexp.c: Likewise.
9972 * pwd/fgetpwent_r.c: Likewise.
9973 * resolv/Versions: Likewise.
9974 * resolv/res_hconf.c: Likewise.
9975 * shadow/fgetspent_r.c: Likewise.
9976 * shadow/putspent.c: Likewise.
9977 * stdio-common/printf_fphex.c: Likewise.
9978 * stdio-common/tmpfile.c: Likewise.
9979 * stdlib/abort.c: Likewise.
9980 * stdlib/fmtmsg.c: Likewise.
9981 * sunrpc/auth_unix.c: Likewise.
9982 * sunrpc/clnt_perr.c: Likewise.
9983 * sunrpc/clnt_tcp.c: Likewise.
9984 * sunrpc/clnt_udp.c: Likewise.
9985 * sunrpc/clnt_unix.c: Likewise.
9986 * sunrpc/openchild.c: Likewise.
9987 * sunrpc/svc_simple.c: Likewise.
9988 * sunrpc/svc_tcp.c: Likewise.
9989 * sunrpc/svc_udp.c: Likewise.
9990 * sunrpc/svc_unix.c: Likewise.
9991 * sunrpc/xdr.c: Likewise.
9992 * sunrpc/xdr_array.c: Likewise.
9993 * sunrpc/xdr_rec.c: Likewise.
9994 * sunrpc/xdr_ref.c: Likewise.
9995 * sunrpc/xdr_stdio.c: Likewise.
9996
9997 2011-09-09 Ulrich Drepper <drepper@gmail.com>
9998
9999 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
10000
10001 2011-07-03 Andreas Jaeger <aj@suse.de>
10002
10003 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
10004 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
10005 regenerate with gen-libm-tests.pl.
10006
10007 2010-05-12 Petr Baudis <pasky@suse.cz>
10008
10009 [BZ #11589]
10010 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
10011 around j0() zero points by switching to j1().
10012 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10016
10017 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10018
10019 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
10020 instead of 0.
10021 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
10022 instead of 0. .
10023 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10024 Patch in part by Pavel Roskin <proski@gnu.org>.
10025
10026 [BZ #13138]
10027 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
10028 realloc.
10029 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
10030 Free memory block if necessary.
10031
10032 [BZ #12847]
10033 * libio/genops.c (INTDEF): For string streams the _lock pointer can
10034 be NULL. Don't lock in this case.
10035
10036 2011-09-09 Roland McGrath <roland@hack.frob.com>
10037
10038 * elf/elf.h (ELFOSABI_GNU): New macro.
10039 (ELFOSABI_LINUX): Define to that.
10040
10041 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
10042
10043 * string/strncat.c (strncat): Undef the symbol in case it has been
10044 defined in bits/string.h.
10045
10046 2011-09-09 Ulrich Drepper <drepper@gmail.com>
10047
10048 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
10049
10050 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
10051 link map.
10052
10053 2011-08-17 Andreas Jaeger <aj@suse.de>
10054
10055 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
10056
10057 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
10058 Ian Lance Taylor <iant@google.com>
10059
10060 * math/libm-test.inc (lround_test): New testcase.
10061 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
10062
10063 2011-09-08 Ulrich Drepper <drepper@gmail.com>
10064
10065 * Makefile: Remove support for automatic cvs check-ins.
10066 * Makerules: Likewise.
10067 * config.make.in: Likewise.
10068 * configure.in: Likewise.
10069 * intl/Makefile: Likewise.
10070 * locale/Makefile: Likewise.
10071 * po/Makefile: Likewise.
10072 * posix/Makefile: Likewise.
10073 * sysdeps/gnu/Makefile: Likewise.
10074 * sysdeps/mach/hurd/Makefile: Likewise.
10075 * sysdeps/sparc/sparc32/Makefile: Likewise.
10076
10077 [BZ #13118]
10078 * posix/Makefile (bug-regex32-ENV): Define.
10079 Patch by John Stanley <jpsinthemix@verizon.net>.
10080
10081 * misc/Makefile (headers): Add bits/select2.h.
10082 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
10083 * misc/bits/select2.h: New file.
10084 * include/bits/select2.h: New file.
10085 * debug/Makefile (routines): Add fdelt_chk.
10086 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
10087 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
10088 FD_ISSET.
10089 * debug/fdelt_chk.c: New file.
10090
10091 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
10092 * wcsmbs/test-wmemcmp.c: Likewise.
10093 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
10094 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
10095
10096 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10097
10098 * string/Makefile (strop-tests): Add memcmp.
10099 * string/test-wmemcmp.c: New file.
10100 * string/test-memcmp.c: Add wmemcmp support.
10101
10102 2011-09-08 Roland McGrath <roland@hack.frob.com>
10103
10104 [BZ #13153]
10105 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
10106 2011-07-19 change.
10107
10108 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
10109 garbage value in a __mach_port_mod_refs call in the cases of the
10110 task-self and thread-self ports.
10111
10112 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
10113
10114 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
10115
10116 2011-09-08 Andreas Schwab <schwab@redhat.com>
10117
10118 * elf/dl-load.c (lose): Check for non-null L.
10119
10120 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10121
10122 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
10123
10124 * elf/dl-libc.c (dlerror_run): Pass back error code from
10125 dl_catch_error.
10126
10127 [BZ #13123]
10128 * elf/dl-load.c (lose): Free l_origin if it is valid.
10129
10130 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
10131 names.
10132 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
10133 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10134 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10135 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10136 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
10137 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
10138
10139 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10140
10141 * sysdeps/powerpc/fpu/e_hypot.c: New file.
10142 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
10143 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
10144 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
10145 * sysdeps/powerpc/fpu/k_cosf.c: New file.
10146 * sysdeps/powerpc/fpu/k_sinf.c: New file.
10147 * sysdeps/powerpc/fpu/s_cosf.c: New file.
10148 * sysdeps/powerpc/fpu/s_sinf.c: New file.
10149 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
10150 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
10151
10152 2011-08-15 Alan Modra <amodra@gmail.com>
10153
10154 [BZ #13092]
10155 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
10156 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
10157 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
10158 ppc_mcount to static-only-routines.
10159 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
10160 __mcount_internal.
10161 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
10162 __mcount_internal with usual JUMPTARGET. Remove useless nop.
10163
10164 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
10165
10166 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
10167 for finite and infinity parameters.
10168
10169 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10170
10171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
10172 and add nop instructions for throughput optimization.
10173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
10174
10175 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
10176
10177 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
10178 aligned copy for power7 with vector-scalar instructions.
10179 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10180
10181 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
10182
10183 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
10184 AVX check.
10185
10186 2011-09-07 Andreas Schwab <schwab@redhat.com>
10187
10188 [BZ #13144]
10189 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
10190 last change.
10191
10192 2011-09-07 Ulrich Drepper <drepper@gmail.com>
10193
10194 * sysdeps/unix/sysv/linux/x86_64/init-first.c
10195 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
10196 syscall wrapper around clock_gettime in __vdso_clock_gettime.
10197 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
10198 clock_gettime.
10199
10200 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10201
10202 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
10203 Forgot to demangle the pointer.
10204
10205 * sysdeps/i386/sysdep.h: Define atom_text_section.
10206 * sysdeps/x86_64/sysdep.h: Likewise.
10207 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
10208 section with atom_text_section.
10209 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
10210 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
10211 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
10212 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10213 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
10214
10215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
10216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
10217 already be defined. Change to take two parameters and don't assign
10218 result to variable. Adjust all users.
10219 Define INTERNAL_GETTIME if not already defined.
10220 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
10221 call.
10222 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
10223 HAVE_CLOCK_GETTIME_VSYSCALL.
10224 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
10225
10226 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
10227 gettimeofday vsyscall, just use time.
10228
10229 2011-09-06 Andreas Schwab <schwab@redhat.com>
10230
10231 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
10232 <errno.h>.
10233
10234 2011-09-06 Ulrich Drepper <drepper@gmail.com>
10235
10236 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
10237 syscall on x86-64.
10238 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
10239 syscall.
10240 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
10241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
10242 syscall if possible.
10243
10244 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10245
10246 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
10247 e_ident. Don't pass to find_mapsXX.
10248 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
10249
10250 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10251
10252 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10253 strchr-sse2-no-bsf strrchr-sse2-no-bsf
10254 * sysdeps/x86_64/multiarch/strchr.S: Update.
10255 Check bit_slow_BSF bit.
10256 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10257 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
10258 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
10259
10260 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10261
10262 [BZ #13134]
10263 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
10264 before glibc 2.15.
10265 (tryshell): Define.
10266 (__spawni): Change last parameter to be flag. Test
10267 SPAWN_XFLAGS_USE_PATH flag to use path or not.
10268 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
10269 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
10270 * posix/spawni.c: Likewise.
10271 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
10272 * posix/spawnp.c: Likewise. Change normal version to use
10273 SPAWN_XFLAGS_USE_PATH.
10274 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
10275 SPAWN_XFLAGS_TRY_SHELL.
10276
10277 [BZ #13150]
10278 * posix/glob.h: Remove gcc 1.x support.
10279
10280 [BZ #13068]
10281 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
10282
10283 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10284
10285 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10286 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
10287 strrchr-sse2-bsf
10288 * sysdeps/i386/i686/multiarch/strchr.S: New file.
10289 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
10290 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
10291 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
10292 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
10293 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
10294
10295 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10296
10297 * sysdeps/x86_64/wcscmp.S: New file.
10298
10299 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
10300 wcscmp-c wcscmp-sse2
10301 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
10302 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
10303 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
10304 * wcsmbs/wcscmp.c: Allow renaming.
10305
10306 2011-09-05 David S. Miller <davem@davemloft.net>
10307
10308 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
10309 stack slot, rather than the struct return pointer slot.
10310 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
10311 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
10312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
10313 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
10314
10315 2011-09-05 Ulrich Drepper <drepper@gmail.com>
10316
10317 * po/ja.po: Update from translation team.
10318
10319 [BZ #13144]
10320 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
10321 kernel in 64-bit binaries.
10322
10323 2011-09-01 David S. Miller <davem@davemloft.net>
10324
10325 * elf/elf.h (HWCAP_SPARC_*): Move to..
10326 * sysdeps/sparc/sysdep.h: this new file and add new values.
10327 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
10328 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
10329 _DL_HWCAP_COUNT to 24.
10330 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
10331 entries.
10332 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
10333 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
10334 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
10335 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
10336 instead of magic constants.
10337 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
10338
10339 2011-08-31 David S. Miller <davem@davemloft.net>
10340
10341 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
10342 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
10343 Reimplement to do errno handling inline.
10344 (SYSCALL_ERROR_HANDLER): New macro.
10345 (__SYSCALL_STRING): Do not do errno handling in asm.
10346 (__CLONE_SYSCALL_STRING): Delete.
10347 (__INTERNAL_SYSCALL_STRING): Delete.
10348 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
10349 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
10350 (PSEUDO): Reimplement to do errno handling inline.
10351 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
10352 (SYSCALL_ERROR_HANDLER): New macro.
10353 (__SYSCALL_STRING): Do not do errno handling in asm.
10354 (__CLONE_SYSCALL_STRING): Delete.
10355 (__INTERNAL_SYSCALL_STRING): Delete.
10356 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
10357 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
10358 i386.
10359 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
10360 (inline_syscall*): Add 'err' argument.
10361 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
10362 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
10363 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
10364 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
10365
10366 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
10367 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
10368
10369 2011-08-30 Andreas Schwab <schwab@redhat.com>
10370
10371 * elf/rtld.c (dl_main): Relocate objects in dependency order.
10372
10373 2011-08-29 Jiri Olsa <jolsa@redhat.com>
10374
10375 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
10376 directive.
10377
10378 2011-08-24 David S. Miller <davem@davemloft.net>
10379
10380 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
10381
10382 2011-08-24 Andreas Schwab <schwab@redhat.com>
10383
10384 * elf/Makefile: Add rules to build and run unload8 test.
10385 * elf/unload8.c: New file.
10386 * elf/unload8mod1.c: New file.
10387 * elf/unload8mod1x.c: New file.
10388 * elf/unload8mod2.c: New file.
10389 * elf/unload8mod3.c: New file.
10390
10391 * elf/dl-close.c (_dl_close_worker): Reset private search list if
10392 it wasn't used.
10393
10394 2011-08-23 David S. Miller <davem@davemloft.net>
10395
10396 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
10397 subtract stack bias.
10398 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
10399 %sp not %fp in calculations.
10400 (_JMPBUF_UNWINDS_ADJ): Likewise.
10401
10402 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
10403 (aio_suspend): Call it to force an exception region around the
10404 AIO_MISC_WAIT() invocation.
10405
10406 2011-08-23 Andreas Schwab <schwab@redhat.com>
10407
10408 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
10409 backslash.
10410
10411 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
10412
10413 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
10414 protection macro.
10415 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
10416 and <dl-machine.h>.
10417 (Elf64_FuncDesc): Remove.
10418
10419 2011-08-22 David S. Miller <davem@davemloft.net>
10420
10421 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
10422 sigaltstack check, add missing cfi directives.
10423 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
10424 missing cfi directives, and sigaltstack handling.
10425
10426 2011-08-16 Andreas Schwab <schwab@redhat.com>
10427
10428 [BZ #11724]
10429 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
10430 object is seen twice.
10431 * elf/dl-fini.c (_dl_sort_fini): Likewise.
10432
10433 * elf/Makefile (distribute): Add tst-initorder2.c.
10434 (tests): Add tst-initorder2.
10435 (modules-names): Add tst-initorder2a tst-initorder2b
10436 tst-initorder2c tst-initorder2d. Add rules to build them.
10437 ($(objpfx)tst-initorder2.out): New rule.
10438 * elf/tst-initorder2.c: New file.
10439 * elf/tst-initorder2.exp: New file.
10440
10441 2011-08-22 Andreas Schwab <schwab@redhat.com>
10442
10443 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
10444
10445 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
10446 dependencies back to end of function.
10447
10448 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
10449 $(elfobjdir)/ld.so.
10450
10451 2011-08-21 Ulrich Drepper <drepper@gmail.com>
10452
10453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
10454 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
10455 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
10456 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
10457 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
10458 of __vdso_gettimeofday.
10459 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
10460 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
10461 attribute_hidden.
10462 (_libc_vdso_platform_setup): Remove initialization of
10463 __vdso_gettimeofday and __vdso_time.
10464
10465 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10466
10467 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
10468 and fgetc_unlocked.
10469 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
10470 getc_unlocked.
10471
10472 * elf/dl-open.c (add_to_global): Report additions to the global scope
10473 for LD_DEBUG=scopes.
10474 (dl_open_worker): Also print scope of newly loaded dependencies.
10475 (_dl_show_scope): Indicate if there is no scope.
10476
10477 [BZ #13114]
10478 * stdio-common/Makefile (tests): Add bug24.
10479 * stdio-common/bug24.c: New file.
10480
10481 2011-08-19 Andreas Jaeger <aj@suse.de>
10482
10483 [BZ #13114]
10484 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
10485 non-existant file when using close-on-exec mode.
10486
10487 2011-08-20 Ulrich Drepper <drepper@gmail.com>
10488
10489 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
10490 the very first instruction.
10491
10492 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
10493 the CFI state in the end.
10494 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
10495 inclusion of dl-trampoline.h.
10496 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
10497
10498 2011-08-19 Andreas Schwab <schwab@redhat.com>
10499
10500 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
10501 expectations for long double.
10502
10503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
10504 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
10505
10506 2011-08-14 David S. Miller <davem@davemloft.net>
10507
10508 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
10509 artificual limit depends upon the system page size.
10510
10511 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10512
10513 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
10514 * resolv/Makefile: Define CFLAGS-libresolv.
10515
10516 2011-08-17 Andreas Schwab <schwab@redhat.com>
10517
10518 * nss/makedb.c (compute_tables): Make variables used in nested
10519 function static.
10520
10521 2011-08-17 Ulrich Drepper <drepper@gmail.com>
10522
10523 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
10524 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
10525 if buffer was too small.
10526
10527 * elf/pldd.c (main): Attach to all threads in the process.
10528 Rewrite /proc handling to use *at functions.
10529
10530 2011-08-16 Ulrich Drepper <drepper@gmail.com>
10531
10532 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
10533 specifies first scope to show.
10534 (dl_open_worker): Update callers. Move printing scope of new
10535 object to before the relocation.
10536 * elf/rtld.c (dl_main): Update _dl_show_scope call.
10537 * sysdeps/generic/ldsodefs.h: Update declaration.
10538
10539 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
10540 string for the scope number.
10541
10542 2011-08-14 Ulrich Drepper <drepper@gmail.com>
10543
10544 * nscd/servicescache.c (cache_addserv): Make sure written is always
10545 initialized.
10546
10547 2011-08-14 Roland McGrath <roland@hack.frob.com>
10548
10549 * sysdeps/i386/i486/bits/atomic.h
10550 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
10551 statement expression, so as to suppress "set but not used" warning.
10552 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
10553
10554 * string/strncat.c (STRNCAT): Use prototype definition.
10555
10556 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
10557 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
10558 -Iprograms here.
10559 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
10560 (localedef-modules): Add localedef.
10561 (locale-modules): Add locale.
10562
10563 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
10564 * elf/rtld.c (dl_main): Invert order of assignment in last change,
10565 to avoid a warning.
10566
10567 2011-08-14 David S. Miller <davem@davemloft.net>
10568
10569 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
10570 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
10571
10572 2011-08-13 Ulrich Drepper <drepper@gmail.com>
10573
10574 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
10575 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
10576 * elf/rtld.c (dl_main): Set l_name of vDSO.
10577 Call _dl_show_scope when DL_DEBUG_SCOPES.
10578 (process_dl_debug): Recognize scopes flag and also set it for all.
10579 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
10580 Declare _dl_show_scope.
10581
10582 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
10583 (do_dlopen): Pass caller_dlopen to dl_open.
10584 (__libc_dlopen_mode): Initialize caller_dlopen.
10585
10586 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
10587 of libc. Make tolower call locale-independent. Optimize a bit by
10588 using isdigit instead of isalnum.
10589 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
10590
10591 2011-08-12 Ulrich Drepper <drepper@gmail.com>
10592
10593 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
10594 was a dependency or dynamically loaded.
10595
10596 2011-08-11 Ulrich Drepper <drepper@gmail.com>
10597
10598 * intl/l10nflist.c: Allow architecture-specific pop function.
10599 * sysdeps/x86_64/l10nflist.c: New file.
10600
10601 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
10602 classification.
10603
10604 2011-08-10 Andreas Schwab <schwab@redhat.com>
10605
10606 * include/dirent.h: Add libc_hidden_proto for scandirat and
10607 scandirat64. Don't declare __scandirat64.
10608 * dirent/scandirat.c: Add libc_hidden_def.
10609 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
10610 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
10611
10612 2011-08-10 David S. Miller <davem@davemloft.net>
10613
10614 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
10615 enum.
10616 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10617 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10618 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10619
10620 2011-08-09 Ulrich Drepper <drepper@gmail.com>
10621
10622 * Versions.def [libc]: Add GLIBC_2.15.
10623 * dirent/Makefile (routines): Add scandirat and scandirat64.
10624 * dirent/Versions [libc]: Export scandirat and scandirat64 for
10625 GLIBC_2.15.
10626 * dirent/dirent.h: Declare scandirat and scandirat64.
10627 * dirent/scandirat.c: New file.
10628 * dirent/scandirat64.c: New file.
10629 * sysdeps/wordsize-64/scandirat.c: New file.
10630 * sysdeps/wordsize-64/scandirat64.c: New file.
10631 * dirent/opendir.c: Define opendirat.
10632 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
10633 using scandirat.
10634 * dirent/scandir64.c: Adjust for scandir.c change.
10635 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
10636 __scandirat64, and __scandir_cancel_handler.
10637 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
10638 additional parameter and use openat instead of open (outside of ld.so).
10639 Add new __opendir as wrapper around __opendirat.
10640 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
10641 here without requiring old scandirat implementation.
10642
10643 2011-08-08 Ulrich Drepper <drepper@gmail.com>
10644
10645 * dirent/scandir.c (cancel_handler): Renamed to
10646 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
10647 defined. Adjust users.
10648 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
10649 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
10650
10651 2011-08-04 Ulrich Drepper <drepper@gmail.com>
10652
10653 * string/test-string.h (IMPL): Use __STRING to expand name and then
10654 stringify it.
10655
10656 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
10657 of cleanups.
10658
10659 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10660
10661 * string/Makefile: Update.
10662 (strop-tests): Append strncat.
10663 * string/test-wcscmp.c: New file.
10664 New comprehensive test for wcscmp.
10665 * string/test-strcmp.c: Update.
10666 (WIDE): New define.
10667
10668 2011-07-22 Andreas Schwab <schwab@redhat.com>
10669
10670 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
10671 line.
10672
10673 2011-07-26 Andreas Schwab <schwab@redhat.com>
10674
10675 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
10676 encoding to ACE if AI_IDN.
10677
10678 2011-08-01 Jakub Jelinek <jakub@redhat.com>
10679
10680 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
10681 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
10682
10683 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10684
10685 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
10686 Fix overflow bug in strncat.
10687 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
10688
10689 * string/test-strncat.c: Update.
10690 Add new tests for checking overflow bugs.
10691
10692 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10693
10694 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
10695 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
10696 * sysdeps/i386/i686/multiarch/strcat.S: New file.
10697 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
10698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
10699 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
10700 * sysdeps/i386/i686/multiarch/strncat.S: New file.
10701 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
10702 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
10703
10704 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
10705 (USE_AS_STRCAT): Define.
10706 Add strcat and strncat support.
10707 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
10708
10709 2011-07-25 Andreas Schwab <schwab@redhat.com>
10710
10711 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
10712 __n bigger than INT_MAX+1.
10713 (__strncmp_g): Likewise.
10714
10715 2011-07-23 Ulrich Drepper <drepper@gmail.com>
10716
10717 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
10718 * libio/stido.h: Likewise.
10719
10720 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
10721 (AF_NFC): Define.
10722 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
10723 (AF_NFC): Define.
10724
10725 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
10726 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10727 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10728 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
10729 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10730
10731 [BZ #13021]
10732 * scripts/test-installation.pl: Don't expect libnss_test1 to be
10733 installed.
10734
10735 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
10736 typo.
10737 (_dl_x86_64_save_sse): Likewise.
10738
10739 2011-07-22 Ulrich Drepper <drepper@gmail.com>
10740
10741 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
10742 OSXSAVE.
10743 (_dl_x86_64_save_sse): Likewise.
10744
10745 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
10746
10747 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
10748
10749 2011-07-21 Andreas Schwab <schwab@redhat.com>
10750
10751 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
10752 change.
10753 (_dl_x86_64_save_sse): Use correct AVX check.
10754
10755 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10756
10757 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
10758 bug in strncpy/strncat.
10759 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
10760
10761 2011-07-21 Ulrich Drepper <drepper@gmail.com>
10762
10763 * string/tester.c (test_strcat): Add tests for different alignments
10764 of source and destination.
10765 (test_strncat): Likewise.
10766
10767 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10768
10769 [BZ #12852]
10770 * posix/glob.c (glob): Check passed in values before using them in
10771 expressions to avoid some overflows.
10772 (glob_in_dir): Likewise.
10773
10774 [BZ #13007]
10775 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
10776 check for AVX enablement so that we don't crash with old kernels and
10777 new hardware.
10778 * elf/tst-audit4.c: Add same checks here.
10779 * elf/tst-audit6.c: Likewise.
10780
10781 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
10782
10783 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
10784
10785 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
10786
10787 2011-07-20 Ulrich Drepper <drepper@gmail.com>
10788
10789 * po/cs.po: Update from translation team.
10790 * po/bg.po: Likewise.
10791
10792 2011-07-12 Marek Polacek <mpolacek@redhat.com>
10793
10794 * misc/sys/cdefs.h: Add support for const attribute.
10795 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
10796 to gnu_dev_{major,minor,makedev} functions.
10797
10798 2011-07-20 Marek Polacek <mpolacek@redhat.com>
10799
10800 * intl/dcigettext.c (get_output_charset): Add missing bracket.
10801
10802 2011-07-20 Andreas Schwab <schwab@redhat.com>
10803
10804 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
10805 strlen results.
10806
10807 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10808
10809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
10810 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
10811 register in order to avoid conflicts with the soft frame pointer
10812 being held in r11 when necessary.
10813 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
10814 (INTERNAL_VSYSCALL_NCS): Likewise.
10815
10816 2011-07-14 Marek Polacek <mpolacek@redhat.com>
10817
10818 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
10819 * elf/dl-fini.c (_dl_fini): Adjust caller.
10820 * elf/dl-close.c (_dl_close_worker): Likewise.
10821 * sysdeps/generic/ldsodefs.h: Adjust declaration.
10822
10823 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10824
10825 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
10826 "aux_cache->nlibs < 0".
10827
10828 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
10829 in the reload-count case.
10830
10831 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10832
10833 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10834 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
10835 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
10836 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
10837 * sysdeps/x86_64/multiarch/strcat.S: New file.
10838 * sysdeps/x86_64/multiarch/strncat.S: New file.
10839 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
10840 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
10841 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
10842 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
10843 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
10844 (USE_AS_STRCAT): Define.
10845 Add strcat and strncat support.
10846 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
10847 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10848 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
10849 * string/strncat.c: Update.
10850 (USE_AS_STRNCAT): Define.
10851 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10852 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
10853 and i7.
10854 * sysdeps/x86_64/multiarch/init-arch.h
10855 (bit_Prefer_PMINUB_for_stringop): New.
10856 (index_Prefer_PMINUB_for_stringop): Likewise.
10857 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
10858 bit_Prefer_PMINUB_for_stringop.
10859
10860 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10861
10862 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
10863 buffer64.
10864 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
10865 of casting of buffer.
10866 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
10867 buffer32 and buffer64.
10868 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
10869 writes instead of casting of buffer.
10870 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
10871 buffer32.
10872 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
10873 casting of buffer.
10874
10875 2011-07-19 Andreas Schwab <schwab@redhat.com>
10876
10877 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
10878
10879 2011-07-19 Ulrich Drepper <drepper@gmail.com>
10880
10881 * nscd/nscd.c (termination_handler): Don't do anything for a database
10882 if it has not yet been initialized.
10883
10884 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10885
10886 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10887
10888 2011-07-15 Marek Polacek <mpolacek@redhat.com>
10889
10890 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
10891
10892 2011-07-18 Ulrich Drepper <drepper@gmail.com>
10893
10894 * po/nl.po: Update from translation team.
10895 * po/sv.po: Likewise.
10896
10897 2011-07-16 Roland McGrath <roland@hack.frob.com>
10898
10899 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
10900 now disallowed by GCC.
10901
10902 * configure.in (use-default-link): Default to yes if a test -shared
10903 link meets our qualifications.
10904 * configure: Regenerated.
10905
10906 * config.make.in (output-format): New variable.
10907 * configure.in: Check for ld --print-output-format support.
10908 * configure: Regenerated.
10909 * Makerules ($(common-objpfx)format.lds)
10910 [$(output-format) != unknown]: Just use $(output-format),
10911 instead of the linker-script munging.
10912
10913 2011-07-14 Roland McGrath <roland@hack.frob.com>
10914
10915 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
10916 of $(common-objpfx)shlib.lds.
10917 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
10918
10919 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
10920 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
10921
10922 * configure.in (-z relro check): Adjust test code to add a large
10923 writable data section after it.
10924 * configure: Regenerated.
10925
10926 2011-07-11 Roland McGrath <roland@hack.frob.com>
10927
10928 * configure.in (-z relro check): Fix test code to make the variable
10929 truly const.
10930 * configure: Regenerated.
10931
10932 2011-07-11 Ulrich Drepper <drepper@gmail.com>
10933
10934 * nscd/nscd.h (struct traced_file): Define.
10935 (struct database_dyn): Remove inotify_descr, reset_res, and filename
10936 elements. Add traced_files.
10937 (inotify_fd): Declare.
10938 (register_traced_file): Declare.
10939 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
10940 (inotify_fd): Export.
10941 (resolv_conf_descr): Remove.
10942 (nscd_init): Move inotify descriptor creation to main.
10943 Don't register files for notification here.
10944 (register_traced_file): New function.
10945 (invalidate_cache): Don't use reset_res to determine whether to call
10946 res_init, go through the list of registered files.
10947 (main_loop_poll): The inotify descriptors are now stored in the
10948 structures for the traced files.
10949 (main_loop_epoll): Likewise
10950 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
10951 to __nss_disable_nscd.
10952 * nscd/cache.c (prune_cache): There is no single inotify descriptor
10953 for a database anymore. Check the records for all the registered
10954 files instead.
10955 * nss/Makefile (libnss_files-routines): Add files-init.
10956 (libnss_db-routines): Add db-init.
10957 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
10958 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
10959 * nss/nss_db/db-init.c: New file.
10960 * nss/nss_files/files-init.c: New file.
10961 * nss/nsswitch.c (nss_load_library): New function. Broken out of
10962 __nss_lookup_function.
10963 (__nss_lookup_function): Call nss_load_library.
10964 (nss_load_all_libraries): New function.
10965 (__nss_disable_nscd): Take parameter with callback function for files
10966 to register. Set is_nscd. Load all the DSOs for the NSS modules
10967 used for the cached services.
10968 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
10969 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
10970 options for features to all the files in nscd.
10971
10972 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
10973
10974 2011-07-10 Roland McGrath <roland@hack.frob.com>
10975
10976 * csu/elf-init.c (__libc_csu_init): Comment typo.
10977
10978 2011-07-09 Ulrich Drepper <drepper@gmail.com>
10979
10980 * po/pl.po: Update from translation team.
10981 * po/ja.po: Likewise.
10982 * po/ru.po: Likewise.
10983 * po/ko.po: Likewise.
10984 * po/fr.po: Likewise.
10985
10986 2011-07-09 Roland McGrath <roland@hack.frob.com>
10987
10988 * configure.in (.ctors/.dtors header and trailer check):
10989 Use an empirical test on a built program.
10990 * configure: Regenerated.
10991
10992 * configure.in (-z relro check): Use an empirical test on a built DSO.
10993 Detect, but do not require, on ia64.
10994 * configure: Regenerated.
10995
10996 * configure.in (READELF): Find it with AC_CHECK_TOOL.
10997 Update tests that use readelf to use $READELF instead.
10998 * configure: Regenerated.
10999
11000 2011-07-08 Ulrich Drepper <drepper@gmail.com>
11001
11002 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
11003 if the result is not used.
11004
11005 2011-07-05 Andreas Jaeger <aj@suse.de>
11006
11007 [BZ#9696]
11008 * stdlib/tst-strtod.c: Add testcase.
11009
11010 2011-07-07 Ulrich Drepper <drepper@gmail.com>
11011
11012 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
11013 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
11014 The latter has a higher limit. Take additional parameter to pass to
11015 the new function.
11016 (__pathconf): Pass file to __statfs_link_max.
11017 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
11018 __statfs_link_max.
11019 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
11020 __statfs_link_max.
11021
11022 [BZ #12868]
11023 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
11024 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11025 Handle Lustre.
11026 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
11027 (__statfs_filesize_max): Likewise.
11028 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
11029
11030 2011-07-05 Andreas Jaeger <aj@suse.de>
11031
11032 * resolv/res_comp.c (dn_skipname): Remove unused variable.
11033
11034 2011-07-06 Marek Polacek <mpolacek@redhat.com>
11035
11036 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
11037 `status' variable.
11038 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
11039 Likewise.
11040
11041 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
11042
11043 * Makefile (strop-tests): Add strncat.
11044 * string/test-strncat.c: New file.
11045
11046 2011-06-30 Marek Polacek <mpolacek@redhat.com>
11047
11048 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
11049
11050 2011-06-21 Andreas Jaeger <aj@suse.de>
11051
11052 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
11053 Copy rule from iconvdata/Makefile.
11054
11055 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11056
11057 [BZ #12922]
11058 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
11059 but no long options are defined, just return 'W'.
11060
11061 2011-06-22 Marek Polacek <mpolacek@redhat.com>
11062
11063 [BZ #9696]
11064 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
11065
11066 2011-07-06 Ulrich Drepper <drepper@gmail.com>
11067
11068 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
11069 netgroups to read.
11070 (innetgr): Likewise.
11071
11072 2011-07-05 Roland McGrath <roland@hack.frob.com>
11073
11074 * config.make.in (install_root): Default to $(DESTDIR).
11075
11076 2011-07-05 Ulrich Drepper <drepper@gmail.com>
11077
11078 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
11079
11080 2011-07-02 Roland McGrath <roland@hack.frob.com>
11081
11082 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
11083
11084 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
11085 containing directory rather than embedding absolute directory names.
11086
11087 * scripts/check-local-headers.sh: Rewritten using awk.
11088 Match by word, not by line. Print error messages for matches.
11089 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
11090
11091 * Makerules [shlib-lds-flags empty]:
11092 ($(common-objpfx)libc_pic.opts): New target.
11093 ($(common-objpfx)libc_pic.os.clean): New target.
11094 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
11095
11096 * config.make.in (OBJCOPY): New variable.
11097 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
11098 * configure: Regenerated.
11099
11100 * config.make.in (use-default-link): New variable.
11101 * configure.in (use_default_link): Grok --with-default-link to set it.
11102 * configure: Regenerated.
11103 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
11104 (shlib-lds, shlib-lds-flags): Define to empty.
11105
11106 * Makerules (shlib-lds): New variable.
11107 (shlib-lds-flags): New variable.
11108 (build-shlib, build-moduile, build-module-asneeded): Use it.
11109 ($(common-objpfx)libc.so): Use $(shlib-lds).
11110 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
11111 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
11112
11113 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
11114 DT_FLAGS/DT_FLAGS_1 with zero flags.
11115
11116 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
11117 linker script munging.
11118
11119 2011-07-02 Ulrich Drepper <drepper@gmail.com>
11120
11121 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
11122 as 128-bit value.
11123 * crypt/sha512.c (sha512_process_block): Perform total addition using
11124 128-bit if possible.
11125 (__sha512_finish_ctx): Likewise.
11126 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
11127 as 64-bit value.
11128 * crypt/sha256.c (SWAP64): Define.
11129 (sha256_process_block): Perform total addition using 64-bit if
11130 possible.
11131 (__sha256_finish_ctx): Likewise.
11132
11133 2011-07-01 Ulrich Drepper <drepper@gmail.com>
11134
11135 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
11136 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11137 * nscd/hstcache.c (cache_addhst): Likewise.
11138 * nscd/grpcache.c (cache_addgr): Likewise.
11139 * nscd/aicache.c (addhstaiX): Likewise
11140 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
11141
11142 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
11143
11144 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
11145 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11146 * nscd/hstcache.c (cache_addhst): Likewise.
11147 * nscd/grpcache.c (cache_addgr): Likewise.
11148 * nscd/aicache.c (addhstaiX): Likewise
11149
11150 2011-07-01 Andreas Schwab <schwab@redhat.com>
11151
11152 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
11153 domain only when needed.
11154
11155 2011-06-30 Andreas Schwab <schwab@redhat.com>
11156
11157 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
11158 is always restored.
11159
11160 2011-06-29 Ulrich Drepper <drepper@gmail.com>
11161
11162 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
11163 are re-adding the entry.
11164 * nscd/servicescache.c (cache_addserv): Likewise.
11165
11166 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
11167
11168 * sysdeps/generic/dl-irel.h: fix protection against multiple
11169 inclusions.
11170 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
11171
11172 2011-06-28 Ulrich Drepper <drepper@gmail.com>
11173
11174 [BZ #12935]
11175 * malloc/memusage.sh: Fix quoting in message.
11176 * debug/xtrace.sh: Likewise.
11177
11178 * configure.in: Remove support for --experimental-malloc option, make
11179 it the default.
11180 * config.make.in: Likewise.
11181 * malloc/Makefile: Likewise.
11182
11183 2011-06-27 Andreas Schwab <schwab@redhat.com>
11184
11185 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
11186 two-byte characters.
11187
11188 2011-06-27 Roland McGrath <roland@hack.frob.com>
11189
11190 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
11191 AC_CACHE_CHECK invocation.
11192 * configure: Regenerated.
11193
11194 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
11195
11196 2011-06-27 Ulrich Drepper <drepper@gmail.com>
11197
11198 [BZ #12350]
11199 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
11200 bit from old_res_options.
11201
11202 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
11203
11204 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
11205 value type for setfct.
11206
11207 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
11208
11209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11210 __gettimeofday instead of gettimeofday.
11211
11212 2011-06-26 Ulrich Drepper <drepper@gmail.com>
11213
11214 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
11215
11216 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
11217
11218 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
11219
11220 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
11221 info.
11222
11223 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11224
11225 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11226 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11227 strcpy-sse2-unaligned strncpy-sse2-unaligned
11228 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
11229 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
11230 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
11231 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
11232 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
11233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
11234 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
11235 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
11236 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
11237 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
11238 (STRCPY): Support SSE2 and SSSE3 versions.
11239
11240 2011-06-24 Ulrich Drepper <drepper@gmail.com>
11241
11242 [BZ #12874]
11243 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
11244 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
11245 kernels which artificially limit size of requests.
11246
11247 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
11248
11249 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11250 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
11251 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
11252 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
11253 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
11254 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
11255 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
11256 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
11257 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
11258 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
11259 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
11260 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
11261 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
11262 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
11263 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
11264 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11265 Enable unaligned load optimization for Intel Core i3, i5 and i7
11266 processors.
11267 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
11268 Define.
11269 (index_Fast_Unaligned_Load): Define.
11270 (HAS_FAST_UNALIGNED_LOAD): Define.
11271
11272 2011-06-23 Marek Polacek <mpolacek@redhat.com>
11273
11274 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
11275
11276 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11277
11278 [BZ #12907]
11279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
11280 until it is clear that the information is realy needed.
11281 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
11282
11283 2011-06-22 Andreas Schwab <schwab@redhat.com>
11284
11285 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
11286
11287 2011-06-22 Ulrich Drepper <drepper@gmail.com>
11288
11289 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
11290 /sys/devices/system/cpu/online if it is usable.
11291
11292 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
11293 reading the information from the /proc filesystem to once a second.
11294
11295 2011-06-21 Andreas Jaeger <aj@suse.de>
11296
11297 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
11298 NULL after inclusion of kernel headers.
11299
11300 2011-06-21 Ulrich Drepper <drepper@gmail.com>
11301
11302 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
11303 calls to internal_setent.
11304
11305 [BZ #12885]
11306 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
11307 addresses using gethostbyname4_r ignore IPv4 addresses.
11308
11309 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
11310 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
11311
11312 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
11313
11314 2011-06-20 David S. Miller <davem@davemloft.net>
11315
11316 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
11317 inclusions.
11318 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
11319
11320 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
11321 (elf_irel): Use it.
11322 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
11323 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
11324 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
11325 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
11326 * sysdeps/x86_64/dl-irel.h: Likewise.
11327
11328 * elf/dl-runtime.c: Use elf_ifunc_invoke.
11329 * elf/dl-sym.c: Likewise.
11330
11331 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11332
11333 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
11334 need to dereference resplen2.
11335
11336 2011-06-14 Andreas Schwab <schwab@redhat.com>
11337
11338 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
11339
11340 2011-06-15 Ulrich Drepper <drepper@gmail.com>
11341
11342 * Makeconfig: Define vardbdir and inst_vardbdir.
11343 * nss/Makefile: Add rules to install db-Makefile.
11344
11345 * nss/nss_db/db-XXX.c: Cleanup.
11346
11347 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
11348 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
11349 GLIBC_PRIVATE.
11350 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
11351 * nss/makedb.c: Implement -g option to specify that value strings
11352 are generated and should not be added to table iterated over for
11353 get*ent calls.
11354 * nss/nss_db/db-initgroups.c: New file.
11355
11356 * nss/getent.c: Add support for initgroups lookups through getgrouplist
11357 interface.
11358
11359 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
11360 (internal_getgrouplist): Adjust to name change.
11361 Update use_initgroups_entry if this is not the first call.
11362 * nss/databases.def: Add initgroups entry.
11363
11364 * nss/makedb.c (compute_tables): Check result of multiple hash table
11365 sizes to minimize maximum chain length.
11366
11367 2011-06-14 Ulrich Drepper <drepper@gmail.com>
11368
11369 * Versions.def: Add entry for libnss_db.
11370 * shlib-versions: Likewise.
11371 * nss/Makefile: Add rules to build libnss_db.
11372 * nss/Versions: Add libnss_db information. Organize libnss_files
11373 entries better.
11374 * nss/db-Makefile: Add gshadow support. Change rules for the new
11375 makedb progra. Some minor improvements to generate smaller files.
11376 * nss/nss_db/nss_db.h: Move NSS database header data structures to
11377 here from...
11378 * nss/makedb.c: ...here.
11379 Improve database format to be smaller and require less memory at
11380 runtime.
11381 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
11382 db anymore.
11383 * nss/nss_db/db-netgrp.c: Likewise.
11384 * nss/nss_db/db-open.c: Likewise.
11385 * nss/nss_files/flies-XXX.x: Adjust comments.
11386 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
11387 * nss/nss_files/files-grp.c: Likewise.
11388 * nss/nss_files/files-hosts.c: Likewise.
11389 * nss/nss_files/files-network.c: Likewise.
11390 * nss/nss_files/files-proto.c: Likewise.
11391 * nss/nss_files/files-pwd.c: Likewise.
11392 * nss/nss_files/files-rpc.c: Likewise.
11393 * nss/nss_files/files-service.c: Likewise.
11394 * nss/nss_files/files-sgrp.c: Likewise.
11395 * nss/nss_files/files-spwd.c: Likewise.
11396 * nss/nss_db/db-alias.c: Removed.
11397 * nss/nss_db/dummy-db.h: Removed.
11398
11399 2011-06-02 Ulrich Drepper <drepper@gmail.com>
11400
11401 * nss/makedb.c: Rewritten to not use database library.
11402 * nss/Makefile: Update to build new makedb program.
11403
11404 2011-06-14 Andreas Jaeger <aj@suse.de>
11405
11406 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
11407 memset declaration.
11408
11409 2011-06-10 Andreas Schwab <schwab@redhat.com>
11410
11411 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
11412 tmpbuf.
11413
11414 2011-06-10 Roland McGrath <roland@hack.frob.com>
11415
11416 * Makerules (shlib.lds): Fail if the linker script comes out empty.
11417 * elf/Makefile ($(objpfx)ld.so): Likewise.
11418
11419 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
11420 Don't list ld.so twice in dependencies.
11421
11422 * posix/bug-regex31.c: Include <stdlib.h>.
11423
11424 * nscd/hstcache.c (cache_addhst): Remove unused variable.
11425
11426 * nis/nss_compat/compat-spwd.c
11427 (getspent_next_nss_netgr): Remove unused variable.
11428 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
11429
11430 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
11431 nonmembers" output to use the right array.
11432
11433 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
11434
11435 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
11436
11437 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
11438 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
11439 * catgets/gencat.c (read_input_file): Likewise.
11440 * locale/programs/locarchive.c (enlarge_archive): Likewise.
11441
11442 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
11443 variable definition inside #if's controlling its use.
11444
11445 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
11446
11447 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
11448
11449 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
11450
11451 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
11452 unreachable code.
11453
11454 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
11455
11456 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
11457 * configure: Regenerated.
11458
11459 * Makerules: Revert last change.
11460 * elf/Makefile: Likewise.
11461
11462 2011-06-09 Roland McGrath <roland@hack.frob.com>
11463
11464 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
11465 * elf/Makefile ($(objpfx)librtld.os): Likewise.
11466 (reloc-link): Likewise.
11467
11468 2011-06-09 Ulrich Drepper <drepper@gmail.com>
11469
11470 * elf/Makefile: Add rules to build pldd.
11471 * elf/pldd.c: New file.
11472 * elf/pldd-xx.c: New file.
11473
11474 2011-06-07 Ulrich Drepper <drepper@gmail.com>
11475
11476 * version.h: Update for 2.15 development version.
11477
11478 2011-06-07 David S. Miller <davem@davemloft.net>
11479
11480 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
11481 ifuncs.
11482 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
11483 elf_machine_lazy_rel): Likewise.
11484 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
11485 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
11486 elf_machine_lazy_rel): Likewise.
11487 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
11488 dl_hwcap via passed in argument.
11489 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
11490 Likewise.
11491
11492 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11493
11494 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
11495
11496 2011-06-06 Roland McGrath <roland@hack.frob.com>
11497
11498 [BZ #12849]
11499 * manual/fdl-1.1.texi: New file, verbatim from:
11500 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
11501 * manual/lgpl-2.1.texi: New file, verbatim from:
11502 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
11503 * manual/Makefile (licenses): New variable, list those new file names.
11504 (texis): Use it.
11505 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
11506
11507 * manual/fdl.texi: File removed.
11508 * manual/lesser.texi: File removed.
11509 * manual/libc.texinfo (Copying, Documentation License):
11510 Use new @include file names, put @appendix directive before @include.
11511
11512 2011-06-04 Jakub Jelinek <jakub@redhat.com>
11513
11514 [BZ #12841]
11515 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
11516 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
11517 (mq_open): Add __NTH.
11518
11519 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
11520
11521 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11522 Assume Intel Core i3/i5/i7 processor if AVX is available.
11523
11524 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11525
11526 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
11527 typo.
11528
11529 2011-05-31 Andreas Schwab <schwab@redhat.com>
11530
11531 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
11532 memory. Use alloca_account. Fix memory leak when retrying.
11533
11534 2011-05-31 Ulrich Drepper <drepper@gmail.com>
11535
11536 * version.h (RELEASE): Bump for 2.14 release.
11537 * include/features.h (__GLIBC_MINOR__): Bump to 14.
11538
11539 * config.make.in (RANLIB): Remove entry.
11540
11541 2011-05-30 Ulrich Drepper <drepper@gmail.com>
11542
11543 * po/Makefile (po-sed-cmd): Add ksh to extensions.
11544 (libc.pot): Work around missing support for .ksh extension in xgettext.
11545
11546 [BZ #12684]
11547 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
11548 if both request failed.
11549 (send_dg): In case of server errors clear resplen or *resplen2.
11550
11551 [BZ #12454]
11552 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
11553 when there are multiple maps.
11554 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
11555 (_dl_fini): Remove test here.
11556
11557 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
11558
11559 2011-05-29 Ulrich Drepper <drepper@gmail.com>
11560
11561 [BZ #12350]
11562 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
11563 bit from old_res_options.
11564 (gaih_inet): Likewise.
11565
11566 [BZ #11099]
11567 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
11568 as signed.
11569
11570 * resolv/res_init.c (res_setoptions): Make the code more compact.
11571
11572 [BZ #11558]
11573 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
11574 set RES_USEVC.
11575
11576 [BZ #11634]
11577 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
11578
11579 * malloc/malloc.h: Mark malloc hook variables as deprecated.
11580
11581 [BZ #11781]
11582 * malloc/malloc.h: Declare malloc hook variables as volatile.
11583
11584 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
11585 in last patch.
11586
11587 [BZ #11799]
11588 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
11589 raise in the comment.
11590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
11591 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
11592 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
11593
11594 2011-05-28 Ulrich Drepper <drepper@gmail.com>
11595
11596 [BZ #12811]
11597 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
11598 grow the buffers more if it already has to be sufficient.
11599 (build_wcs_upper_buffer): Likewise.
11600 * posix/regexec.c (check_matching): Likewise.
11601 (clean_state_log_if_needed): Likewise.
11602 (extend_buffers): Don't enlarge buffers beyond size of the input
11603 buffer.
11604 Patches mostly by Emil Wojak <emil@wojak.eu>.
11605 * posix/bug-regex32.c: New file.
11606 * posix/Makefile (tests): Add bug-regex32.
11607
11608 * locale/findlocale.c (_nl_find_locale): Return right away if
11609 _nl_explode_name failed.
11610 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
11611
11612 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
11613
11614 * debug/xtrace.sh: Unify messages.
11615 * malloc/memusage.sh: Likewise.
11616
11617 [BZ #12813]
11618 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
11619 time symbol from vDSO. Substitute with vsyscall if not available.
11620 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
11621 __vdso_time.
11622
11623 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
11624 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
11625 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
11626 Add sendmmsg and internal_sendmmsg.
11627 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
11628 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
11629 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
11630
11631 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
11632 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
11633 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
11634
11635 2011-05-27 Ulrich Drepper <drepper@gmail.com>
11636
11637 [BZ #12813]
11638 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
11639 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
11640 available.
11641 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
11642 __vdso_getcpu.
11643
11644 [BZ #12814]
11645 * iconvdata/Makefile (tests): Add bug-iconv9.
11646 * iconvdata/bug-iconv9.c: New file.
11647
11648 2011-05-27 Andreas Schwab <schwab@redhat.com>
11649
11650 [BZ #12814]
11651 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
11652
11653 2011-05-25 Jakub Jelinek <jakub@redhat.com>
11654
11655 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11656 (struct user_regs_struct): Change intcs field back to cs.
11657
11658 2011-05-25 Ulrich Drepper <drepper@gmail.com>
11659
11660 * po/ja.po: Update from translation team.
11661
11662 2011-05-23 Ulrich Drepper <drepper@gmail.com>
11663
11664 [BZ #12795]
11665 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
11666 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
11667
11668 2011-05-20 Andreas Schwab <schwab@redhat.com>
11669
11670 * stdlib/longlong.h: Update from GCC.
11671
11672 2011-05-23 Andreas Schwab <schwab@redhat.com>
11673
11674 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
11675 parameter name.
11676 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
11677 Add parameter name.
11678 (__sysconf): Pass it down.
11679
11680 2011-05-22 Ulrich Drepper <drepper@gmail.com>
11681
11682 [BZ #12671]
11683 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
11684 some situations.
11685 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
11686 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
11687 add in in __libc_use_alloca calls. Adjust callers.
11688 (glob): Use malloc in some situations.
11689
11690 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
11691 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
11692 pltexit.
11693
11694 2011-05-21 Ulrich Drepper <drepper@gmail.com>
11695
11696 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
11697 and CLOCK_BOOTTIME_ALARM.
11698
11699 [BZ #12782]
11700 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
11701 is returned.
11702
11703 * string/_strerror.c (__strerror_r): Print negative errors as signed
11704 numbers.
11705
11706 [BZ #12777]
11707 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
11708 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
11709 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
11710
11711 * configure.in: Fix typo in redirection and correct removal of test
11712 files in two cases.
11713
11714 [BZ #12788]
11715 * locale/setlocale.c (new_composite_name): Fix test to check for
11716 identical name of all categories.
11717
11718 [BZ #12792]
11719 * libio/filedoalloc.c (local_isatty): New function.
11720 (_IO_file_doallocate): Use local_isatty.
11721 * stdio-common/perror.c (perror): In case a new stream is used
11722 forward the stream error.
11723 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
11724 error flag.
11725
11726 2011-05-20 Ulrich Drepper <drepper@gmail.com>
11727
11728 [BZ #11869]
11729 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
11730 alloca.
11731 * include/alloca.h (extend_alloca_account): Define.
11732
11733 [BZ #11857]
11734 * posix/regex.h: Fix comments with documentation of user-accessible
11735 fields after compilation and describe correct free'ing of pattern
11736 after re_compile_pattern.
11737 Patch by Reuben Thomas <rrt@sc3d.org>.
11738
11739 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
11740
11741 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
11742 and -mno-altivec to prevent the compiler from using Altivec and/or
11743 VSX instructions when the corresponding registers are not available.
11744
11745 2011-05-19 Andreas Schwab <schwab@redhat.com>
11746
11747 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
11748
11749 2011-05-19 Ulrich Drepper <drepper@gmail.com>
11750
11751 * libio/freopen.c (freopen): Use __dup2, not dup2.
11752 * libio/freopen64.c (freopen64): Likewise.
11753
11754 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
11755
11756 [BZ #12775]
11757 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
11758 * math/Makefile (tests): Add test-powl.
11759 (CFLAGS-test-powl.c): Define.
11760 * math/test-powl.c: New file.
11761
11762 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
11763
11764 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
11765
11766 2011-05-17 Ulrich Drepper <drepper@gmail.com>
11767
11768 [BZ #11837]
11769 * iconvdata/gb18030.c: Update to GB18020-2005.
11770
11771 2011-05-16 Ulrich Drepper <drepper@gmail.com>
11772
11773 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
11774 RE_SYNTAX_POSIX_AWK): Update to match recent development.
11775 Patch by Aharon Robbins <arnold@skeeve.com>.
11776
11777 [BZ #11892]
11778 * stdlib/putenv.c (putenv): Don't always create copy of the variable
11779 on the stack.
11780
11781 [BZ #11895]
11782 * misc/pselect.c (__pselect): Handle timeout value errors hidden
11783 through underflows.
11784
11785 [BZ #12766]
11786 * misc/error.c (error_at_line): Ensure file_name and old_file_name
11787 point to strings before performing equality test for error_one_per_line
11788 mode.
11789
11790 [BZ #11697]
11791 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
11792
11793 [BZ #11820]
11794 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
11795 (struct user_fpregs_struct): Avoid __uint*_t types.
11796
11797 [BZ #6420]
11798 * malloc/mtrace.c (tr_where): Add additional parameter to point to
11799 symbol info. Use it instead of calling _dl_addr locally.
11800 (lock_and_info): New function.
11801 (tr_freehook): Call lock_and_info and pass symbol info as additional
11802 parameter to tr_where.
11803 (tr_mallochook): Likewise.
11804 (tr_reallochook): Likewise.
11805 (tr_memalignhook): Likewise.
11806
11807 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
11808 used and couldn't be at all thread-safe.
11809
11810 2011-05-15 Ulrich Drepper <drepper@gmail.com>
11811
11812 * libio/freopen.c (freopen): Don't close old file descriptor
11813 before the new one is opened. Instead dup the new file descriptor
11814 to the old one after the new stream is created.
11815 * libio/freopen64.c (freopen64): Likewise.
11816 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
11817 * libio/fileops.c (_IO_new_file_close_it): Handle new
11818 _IO_FLAGS2_NOCLOSE flag.
11819 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
11820 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
11821 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
11822 _IO_FLAGS2_NOCLOSE flag.
11823 * include/unistd.h: Add hidden_proto for dup3.
11824 Define __have_dup3.
11825 * io/dup3.c: Define hidden symbol.
11826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
11827
11828 [BZ #7101]
11829 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
11830 when an incomplete long option is used.
11831 * posix/tst-getopt_long1.c: New file.
11832 * posix/Makefile (tests): Add tst-getopt_long1.
11833
11834 [BZ #10138]
11835 * scripts/config.guess: Update from autoconf-2.68.
11836 * scripts/config.sub: Likewise.
11837
11838 [BZ #10157]
11839 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
11840 tests into ...
11841 (has_cpuclock): ...this. New function.
11842 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
11843 macro here based on has_cpuclock code.
11844
11845 [BZ #10149]
11846 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11847 First byte (not low byte) is now always NUL.
11848 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
11849
11850 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
11851 Use non-cancelable interfaces.
11852
11853 [BZ #9809]
11854 * locale/iso-639.def: Add entry for Sorani.
11855
11856 [BZ #11901]
11857 * include/stdlib.h: Move include protection to the right place.
11858 Define abort_msg_s. Declare __abort_msg with it.
11859 * stdlib/abort.c (__abort_msg): Adjust type.
11860 * assert/assert.c (__assert_fail_base): New function. Majority
11861 of code from __assert_fail. Allocate memory for __abort_msg with
11862 mmap.
11863 (__assert_fail): Now call __assert_fail_base.
11864 * assert/assert-perr.c: Remove bulk of implementation. Use
11865 __assert_fail_base.
11866 * include/assert.hL Declare __assert_fail_base.
11867 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
11868 mmap.
11869 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
11870
11871 2011-05-14 Ulrich Drepper <drepper@gmail.com>
11872
11873 [BZ #11952]
11874 [BZ #12453]
11875 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
11876 until all modules are registered in the DTV.
11877 * elf/Makefile: Add rules to build and run tst-tls19.
11878 * elf/tst-tls19.c: New file.
11879 * elf/tst-tls19mod1.c: New file.
11880 * elf/tst-tls19mod2.c: New file.
11881 * elf/tst-tls19mod3.c: New file.
11882 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
11883
11884 [BZ #12083]
11885 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
11886 correctly.
11887
11888 [BZ #12601]
11889 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
11890 two-byte sequence errors.
11891 * iconvdata/Makefile (tests): Add bug-iconv8.
11892 * iconvdata/bug-iconv8.c: New file.
11893
11894 [BZ #12626]
11895 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
11896 buf2 definition.
11897
11898 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
11899
11900 [BZ #12432]
11901 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
11902 (dummy_getcfa): New function.
11903 (init): Get _Unwind_GetCFA address, use dummy if not found.
11904 (backtrace_helper): In recursion check, also check whether CFA changes.
11905 (__backtrace): Completely initialize arg.
11906
11907 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
11908 storing incomplete byte sequence in state object. Avoid testing for
11909 guaranteed too small input if we know there is enough data available.
11910
11911 2011-05-11 Andreas Schwab <schwab@redhat.com>
11912
11913 * Makeconfig (+link-pie): Indent.
11914 * Rules (binaries-pie): Define if $(have-fpie) and
11915 $(build-shared).
11916 (binaries-shared): Also filter out $(binaries-pie).
11917 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
11918 * nscd/Makefile (others-pie): Add nscd.
11919 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
11920 ($(objpfx)nscd): Remove command override.
11921 * login/Makefile (others-pie): Add pt_chown.
11922 ($(objpfx)pt_chown): Remove command override.
11923 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
11924 remove command overrides.
11925
11926 2011-05-13 Ulrich Drepper <drepper@gmail.com>
11927
11928 * libio/tst_putwc.c: Fix error messages.
11929
11930 [BZ #12724]
11931 * libio/fileops.c (_IO_new_file_close_it): Always flush when
11932 currently writing and seek to current position when not.
11933 * libio/Makefile (tests): Add bug-fclose1.
11934 * libio/bug-fclose1.c: New file.
11935
11936 2011-05-12 Ulrich Drepper <drepper@gmail.com>
11937
11938 [BZ #12511]
11939 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
11940 don't set DF_1_NODELETE here.
11941 (do_lookup_x): When entering new entry test for copy relocation
11942 and if necessary set DF_1_NODELETE flag.
11943 * elf/tst-unique4.cc: New file.
11944 * elf/tst-unique4.h: New file.
11945 * elf/tst-unique4lib.cc: New file.
11946 * elf/Makefile: Add rules to build and run tst-unique4.
11947 Patch by Piotr Bury <pbury@goahead.com>.
11948
11949 2011-05-11 Ulrich Drepper <drepper@gmail.com>
11950
11951 [BZ #12052]
11952 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
11953
11954 [BZ #12625]
11955 * misc/mntent_r.c (addmntent): Flush the stream after the output
11956
11957 [BZ #12393]
11958 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
11959 (is_trusted_path_normalize): Skip initial colon. Append slash
11960 to empty buffer. Duplicate is_trusted_path code but allow
11961 constructed patch to be prefix.
11962 (is_dst): Allow $ORIGIN followed by /.
11963 (_dl_dst_substitute): Correct clearing of check_for_trusted.
11964 Correct testing of result of is_trusted_path_normalize
11965 (decompose_rpath): Fix warning.
11966
11967 2011-05-10 Ulrich Drepper <drepper@gmail.com>
11968
11969 [BZ #11257]
11970 * grp/initgroups.c (internal_getgrouplist): When we found the service
11971 list through the initgroups entry in nsswitch.conf do not always
11972 continue on a successful lookup. Don't always use the
11973 __nss_group_database value if it is set.
11974 * nss/nsswitch.conf (initgroups): Change action for successful db
11975 lookup to continue for compatibility.
11976
11977 2011-05-09 Ulrich Drepper <drepper@gmail.com>
11978
11979 [BZ #11532]
11980 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
11981 and CP774 modules.
11982 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
11983 and CP774 modules.
11984 * iconvdata/tst-tables.sh: Likewise.
11985 * iconvdata/cp770.c: New file.
11986 * iconvdata/cp771.c: New file.
11987 * iconvdata/cp772.c: New file.
11988 * iconvdata/cp773.c: New file.
11989 * iconvdata/cp774.c: New file.
11990 * iconvdata/testdata/CP770: New file.
11991 * iconvdata/testdata/CP770..UTF8: New file.
11992 * iconvdata/testdata/CP771: New file.
11993 * iconvdata/testdata/CP771..UTF8: New file.
11994 * iconvdata/testdata/CP772: New file.
11995 * iconvdata/testdata/CP772..UTF8: New file.
11996 * iconvdata/testdata/CP773: New file.
11997 * iconvdata/testdata/CP773..UTF8: New file.
11998 * iconvdata/testdata/CP774: New file.
11999 * iconvdata/testdata/CP774..UTF8: New file.
12000
12001 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
12002 END CHARMAP line.
12003 * iconvdata/gen-8bit-gap.sh: Likewise.
12004 * iconvdata/gen-8bit.sh: Likewise.
12005
12006 * locale/iso-639.def: Add ary entry.
12007
12008 [BZ #11258]
12009 * locale/C-translit.h.in: Add U20A1 transliteration.
12010
12011 [BZ #12178]
12012 * locale/iso-639.def: Add wae entry.
12013 Patch by Kevin Bortis <bortis@translate-wae.ch>.
12014
12015 [BZ #12545]
12016 * locale/programs/localedef.c (construct_output_path): Use ssize_t
12017 for n.
12018
12019 [BZ #12711]
12020 * locale/C-translit.h.in: Add entry for U20B9.
12021 Patch by pravin.d.s@gmail.com.
12022
12023 2011-05-08 Ulrich Drepper <drepper@gmail.com>
12024
12025 [BZ #12713]
12026 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
12027 ENAMETOOLONG use generic getcwd.
12028 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
12029 in rtld. Use *stat64.
12030 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
12031 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
12032 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
12033 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
12034 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
12035 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
12036 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
12037 __fstatat64 macros.
12038 * include/dirent.h: Add libc_hidden_proto for rewinddir.
12039 * dirent/rewinddir.c: Add libc_hidden_def.
12040 * sysdeps/mach/hurd/rewinddir.c: Likewise.
12041 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
12042
12043 * include/dirent.h (__alloc_dir): Add flags parameter.
12044 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
12045 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
12046 __alloc_dir.
12047 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
12048 from fdopendir if O_CLOEXEC is already set.
12049
12050 2011-03-15 Alan Modra <amodra@gmail.com>
12051
12052 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
12053 l_tls_firstbyte_offset non-zero. Save padding offset in
12054 l_tls_firstbyte_offset for later use.
12055 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
12056 freeing static tls block.
12057
12058 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
12059
12060 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
12061 where #ifdef was intended. The intent is to prevent ARG_MAX from
12062 being defined by the kernel headers.
12063
12064 2011-05-07 Ulrich Drepper <drepper@gmail.com>
12065
12066 [BZ #12734]
12067 * resolv/resolv.h: Define RES_NOTLDQUERY.
12068 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
12069 no-tld-query and set RES_NOTLDQUERY.
12070 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
12071 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
12072 modern BIND to search name as TLD unless forbidden.
12073
12074 2011-05-07 Petr Baudis <pasky@suse.cz>
12075 Ulrich Drepper <drepper@gmail.com>
12076
12077 [BZ #12393]
12078 * elf/dl-load.c (fillin_rpath): Move trusted path check...
12079 (is_trusted_path): ...to here.
12080 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
12081 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
12082 using is_trusted_path_normalize() in setuid scripts.
12083
12084 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
12085
12086 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
12087 __BEGIN/__END_DECLS.
12088
12089 2011-05-06 Ulrich Drepper <drepper@gmail.com>
12090
12091 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
12092 NSS_STATUS_NOTFOUND if no record was found.
12093
12094 2011-05-05 Andreas Schwab <schwab@redhat.com>
12095
12096 * sunrpc/Makefile (headers): Add rpc/netdb.h.
12097 (headers-not-in-tirpc): Remove rpc/netdb.h
12098 * resolv/netdb.h: Revert last change.
12099
12100 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
12101
12102 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
12103 circular dependency between libgcc.a and libc.a.
12104
12105 2011-05-05 Andreas Schwab <schwab@redhat.com>
12106
12107 * resolv/netdb.h: Don't include <rpc/netdb.h>.
12108 * nis/Makefile: Don't install rpcsvc/*.
12109 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
12110 instead of <rpc/types.h>.
12111 (MAXHOSTNAMELEN): Define.
12112
12113 2011-05-03 Andreas Schwab <schwab@redhat.com>
12114
12115 * elf/ldconfig.c (add_dir): Don't crash on empty path.
12116
12117 2011-04-28 Maciej Babinski <mbabinski@google.com>
12118
12119 [BZ #12714]
12120 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
12121 gethostbyname4_r when IPv6 results are possible.
12122
12123 2011-05-02 Ulrich Drepper <drepper@gmail.com>
12124
12125 [BZ #12723]
12126 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
12127 _PC_PIPE_BUF handling.
12128
12129 2011-04-30 Bruno Haible <bruno@clisp.org>
12130
12131 [BZ #12717]
12132 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
12133 * resolv/netdb.h (getnameinfo): Change type of flags parameter
12134 to 'int'.
12135 * inet/getnameinfo.c (getnameinfo): Likewise.
12136
12137 2011-04-29 Ulrich Drepper <drepper@gmail.com>
12138
12139 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
12140 to groups setting in database lookup.
12141 * nss/nsswitch.conf: Add initgroups entry.
12142
12143 2011-04-22 Ulrich Drepper <drepper@gmail.com>
12144
12145 [BZ #12685]
12146 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
12147 mode string.
12148 Patch by Eric Blake <eblake@redhat.com>.
12149
12150 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
12151
12152 * sunrpc/Makefile (need-export-routines): Add svc_run.
12153 (routines): Remove svc_run.
12154 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
12155 * sunrpc/clnt_perr.c (clnt_perrno): Export.
12156 * sunrpc/svc_run.c (svc_run): Likewise.
12157 * sunrpc/svc_udp.c (svcudp_create): Likewise.
12158
12159 2011-04-21 Ulrich Drepper <drepper@gmail.com>
12160
12161 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
12162 problem in reallocation in last patch.
12163
12164 2011-04-20 Ulrich Drepper <drepper@gmail.com>
12165
12166 * sunrpc/Makefile: Move inclusion of Rules.
12167
12168 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12169
12170 * nss/nss_files/files-initgroups.c: New file.
12171 * nss/Makefile (libnss_files-routines): Add files-initgroups.
12172 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
12173 _nss_files_initgroups_dyn.
12174
12175 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
12176
12177 * elf/elf.h (R_ARM_IRELATIVE): Define.
12178
12179 2011-04-19 Ulrich Drepper <drepper@gmail.com>
12180
12181 * po/ru.po: Update from translation team.
12182
12183 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12184
12185 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
12186 dependencies.
12187
12188 2011-02-06 Mike Frysinger <vapier@gentoo.org>
12189
12190 [BZ #12653]
12191 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
12192 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
12193 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
12194 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12195 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12196
12197 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
12198
12199 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
12200 differing bytes.
12201 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12202 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12203 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12204
12205 2011-04-17 Ulrich Drepper <drepper@gmail.com>
12206
12207 [BZ #12420]
12208 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
12209 storing it.
12210 * stdlib/bug-getcontext.c: New file.
12211 * stdlib/Makefile: Add rules to build and run bug-getcontext.
12212
12213 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12214
12215 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
12216 instructions into .machine "z9-109".
12217 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
12218 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
12219
12220 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12221
12222 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
12223 between environment variables and auxiliary vector.
12224
12225 2011-04-16 Ulrich Drepper <drepper@gmail.com>
12226
12227 * Makefile: Add rules to build linkobj/libc.so.
12228 * include/libc-symbols.h: Define libc_hidden_nolink.
12229 * include/rpc/auth.h: Mark functions which are to be hidden.
12230 * include/rpc/auth_des.h: Likewise.
12231 * include/rpc/auth_unix.h: Likewise.
12232 * include/rpc/clnt.h: Likewise.
12233 * include/rpc/des_crypt.h: Likewise.
12234 * include/rpc/key_prot.h: Likewise.
12235 * include/rpc/pmap_clnt.h: Likewise.
12236 * include/rpc/pmap_prot.h: Likewise.
12237 * include/rpc/pmap_rmt.h: Likewise.
12238 * include/rpc/rpc_msg.h: Likewise.
12239 * include/rpc/svc.h: Likewise.
12240 * include/rpc/svc_auth.h: Likewise.
12241 * include/rpc/xdr.h: Likewise.
12242 * nis/Makefile: Link all DSOs against linkobj/libc.so.
12243 * nss/Makefile: Likewise.
12244 * sunrpc/Makefile: Don't install headers. Build library with normal
12245 entry points. Don't build rpcinfo. Link RPC tests appropriately.
12246 * sunrpc/auth_des.c: Hide exported symbols by default, export some
12247 for the compat linking library. Remove use of INTDEF/INTUSE.
12248 * sunrpc/auth_none.c: Likewise.
12249 * sunrpc/auth_unix.c: Likewise.
12250 * sunrpc/authdes_prot.c: Likewise.
12251 * sunrpc/authuxprot.c: Likewise.
12252 * sunrpc/clnt_gen.c: Likewise.
12253 * sunrpc/clnt_perr.c: Likewise.
12254 * sunrpc/clnt_raw.c: Likewise.
12255 * sunrpc/clnt_simp.c: Likewise.
12256 * sunrpc/clnt_tcp.c: Likewise.
12257 * sunrpc/clnt_udp.c: Likewise.
12258 * sunrpc/clnt_unix.c: Likewise.
12259 * sunrpc/des_crypt.c: Likewise.
12260 * sunrpc/des_soft.c: Likewise.
12261 * sunrpc/get_myaddr.c: Likewise.
12262 * sunrpc/key_call.c: Likewise.
12263 * sunrpc/key_prot.c: Likewise.
12264 * sunrpc/netname.c: Likewise.
12265 * sunrpc/pm_getmaps.c: Likewise.
12266 * sunrpc/pm_getport.c: Likewise.
12267 * sunrpc/pmap_clnt.c: Likewise.
12268 * sunrpc/pmap_prot.c: Likewise.
12269 * sunrpc/pmap_prot2.c: Likewise.
12270 * sunrpc/pmap_rmt.c: Likewise.
12271 * sunrpc/publickey.c: Likewise.
12272 * sunrpc/rpc_cmsg.c: Likewise.
12273 * sunrpc/rpc_common.c: Likewise.
12274 * sunrpc/rpc_dtable.c: Likewise.
12275 * sunrpc/rpc_prot.c: Likewise.
12276 * sunrpc/rpc_thread.c: Likewise.
12277 * sunrpc/rtime.c: Likewise.
12278 * sunrpc/svc.c: Likewise.
12279 * sunrpc/svc_auth.c: Likewise.
12280 * sunrpc/svc_authux.c: Likewise.
12281 * sunrpc/svc_raw.c: Likewise.
12282 * sunrpc/svc_run.c: Likewise.
12283 * sunrpc/svc_simple.c: Likewise.
12284 * sunrpc/svc_tcp.c: Likewise.
12285 * sunrpc/svc_udp.c: Likewise.
12286 * sunrpc/svc_unix.c: Likewise.
12287 * sunrpc/svcauth_des.c: Likewise.
12288 * sunrpc/xcrypt.c: Likewise.
12289 * sunrpc/xdr.c: Likewise.
12290 * sunrpc/xdr_array.c: Likewise.
12291 * sunrpc/xdr_float.c: Likewise.
12292 * sunrpc/xdr_intXX_t.c: Likewise.
12293 * sunrpc/xdr_mem.c: Likewise.
12294 * sunrpc/xdr_rec.c: Likewise.
12295 * sunrpc/xdr_ref.c: Likewise.
12296 * sunrpc/xdr_sizeof.c: Likewise.
12297 * sunrpc/xdr_stdio.c: Likewise.
12298
12299 2011-04-10 Ulrich Drepper <drepper@gmail.com>
12300
12301 [BZ #12650]
12302 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
12303 * sysdeps/ia64/dl-tls.h: Likewise.
12304 * sysdeps/powerpc/dl-tls.h: Likewise.
12305 * sysdeps/s390/dl-tls.h: Likewise.
12306 * sysdeps/sh/dl-tls.h: Likewise.
12307 * sysdeps/sparc/dl-tls.h: Likewise.
12308 * sysdeps/x86_64/dl-tls.h: Likewise.
12309 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
12310
12311 2011-03-14 Andreas Schwab <schwab@redhat.com>
12312
12313 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
12314 rpath element also skip the following colon.
12315 (expand_dynamic_string_token): Add is_path parameter and pass
12316 down to DL_DST_REQUIRED and _dl_dst_substitute.
12317 (decompose_rpath): Call expand_dynamic_string_token with
12318 non-zero is_path. Ignore empty rpaths.
12319 (_dl_map_object_from_fd): Call expand_dynamic_string_token
12320 with zero is_path.
12321
12322 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
12323
12324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
12325 Make cancelable.
12326
12327 2011-04-09 Ulrich Drepper <drepper@gmail.com>
12328
12329 [BZ #12655]
12330 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
12331 Patch by Filipe David Manana <fdmanana@apache.org>.
12332
12333 2011-04-07 Andreas Schwab <schwab@redhat.com>
12334
12335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
12336 Maintain aligned stack.
12337 (CHECK_RSP): Remove unused macro.
12338
12339 2011-04-03 Ulrich Drepper <drepper@gmail.com>
12340
12341 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
12342 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
12343
12344 2011-04-02 Ulrich Drepper <drepper@gmail.com>
12345
12346 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
12347
12348 * include/features.h: Mention __USE_XOPEN2K8 in comment.
12349
12350 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
12351
12352 [BZ #12518]
12353 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
12354 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
12355 * sysdeps/x86_64/memmove.c: New file.
12356 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
12357 (memcpy): Renamed to ...
12358 (__new_memcpy): This.
12359 (memcpy): Provide GLIBC_2_14 memcpy.
12360 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
12361 (memcpy): Provide GLIBC_2_2_5 memcpy.
12362
12363 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12364
12365 [BZ #12631]
12366 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
12367
12368 2011-03-30 Andreas Schwab <schwab@redhat.com>
12369
12370 * misc/syncfs.c: New file.
12371 * misc/Makefile (routines): Add syncfs.
12372 * posix/unistd.h: Declare syncfs.
12373 * sysdeps/unix/syscalls.list: Add syncfs.
12374
12375 2011-04-01 Andreas Schwab <schwab@redhat.com>
12376
12377 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
12378 open_by_handle_at.
12379 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
12380 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12382 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12384 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
12385 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12386
12387 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12388
12389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
12390 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12391 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
12392 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12394 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12395 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12396
12397 * io/Makefile: Compile fallocate.c, fallocate64.c, and
12398 sync_file_range.c with -fexceptions.
12399 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
12400 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
12401 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
12402 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
12403 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12404 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
12405 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
12406 sync_file_range as cancellation point
12407 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
12408 now a wrapper around __call_sync_file_range with cancellation handling.
12409 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
12410 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
12411 function name to __call_sync_file_range.
12412 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
12413 Add call_sync_file_range.
12414
12415 2011-04-01 Andreas Schwab <schwab@redhat.com>
12416
12417 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
12418 bits/timex.h.
12419
12420 2011-04-01 Ulrich Drepper <drepper@gmail.com>
12421
12422 * iconv/iconv.h: Fix typo in comment.
12423 * io/fcntl.h: Likewise.
12424 * libio/stdio.h: Likewise.
12425 * posix/spawn.h: Likewise.
12426 * posix/unistd.h: Likewise.
12427 * stdlib/stdlib.h: Likewise.
12428 * time/time.h: Likewise.
12429 * wcsmbs/wchar.h: Likewise.
12430
12431 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
12432 open_by_handle): Add.
12433 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
12434 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
12435 Augment a few comments.
12436 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
12437 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
12438 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
12439 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12440 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
12441 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
12442 open_by_handle.
12443
12444 * io/fcntl.h (AT_EMPTY_PATH): Define.
12445
12446 2011-03-30 Ulrich Drepper <drepper@gmail.com>
12447
12448 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
12449 * sysdeps/unix/sysv/linux/bits/time.h: New file.
12450 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
12451 to...
12452 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
12453 * Versions.def: Add GLIBC_2.14.
12454 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
12455 Export.
12456
12457 2011-03-22 Ulrich Drepper <drepper@gmail.com>
12458
12459 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
12460 round counter.
12461 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12462
12463 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
12464
12465 [BZ #12597]
12466 * string/test-strncmp.c (do_page_test): New function.
12467 (check2): Likewise.
12468 (test_main): Call check2.
12469 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
12470
12471 2011-03-20 Ulrich Drepper <drepper@gmail.com>
12472
12473 [BZ #12587]
12474 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
12475 Handle cache information in CPU leaf 4.
12476 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
12477
12478 2011-03-18 Ulrich Drepper <drepper@gmail.com>
12479
12480 [BZ #12583]
12481 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
12482 character representation.
12483 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
12484
12485 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
12486
12487 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
12488 END(__isnan) to END(__isnanf) to match function entry point/label
12489 EALIGN(__isnanf,...).
12490
12491 2011-03-10 Jakub Jelinek <jakub@redhat.com>
12492
12493 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
12494
12495 2011-03-10 Ulrich Drepper <drepper@gmail.com>
12496
12497 [BZ #12510]
12498 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
12499 copy from the symbol referenced in the relocation to initialize the
12500 used variable.
12501 Patch by Piotr Bury <pbury@goahead.com>.
12502 * elf/Makefile: Add rules to build and tst-unique3.
12503 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
12504 * elf/tst-unique3.cc: New file.
12505 * elf/tst-unique3.h: New file.
12506 * elf/tst-unique3lib.cc: New file.
12507 * elf/tst-unique3lib2.cc: New file.
12508
12509 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
12510
12511 2011-03-10 Mike Frysinger <vapier@gentoo.org>
12512
12513 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
12514 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
12515 to _start.
12516
12517 2011-03-06 Ulrich Drepper <drepper@gmail.com>
12518
12519 * elf/dl-load.c (_dl_map_object): If we are looking for the first
12520 to-be-loaded object along a path to loader is ld.so.
12521
12522 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12523 Ulrich Drepper <drepper@gmail.com>
12524
12525 * sysdeps/x86_64/memset.S: After aligning destination, code
12526 branches to different locations depending on the value of
12527 misalignment, when multiarch is enabled. Fix this.
12528
12529 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
12530
12531 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
12532 Set _x86_64_preferred_memory_instruction for AMD processsors.
12533 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12534 Set bit_Prefer_SSE_for_memop for AMD processors.
12535
12536 2011-03-04 Ulrich Drepper <drepper@gmail.com>
12537
12538 * libio/fmemopen.c (fmemopen): Optimize a bit.
12539
12540 2011-03-03 Andreas Schwab <schwab@redhat.com>
12541
12542 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
12543
12544 2011-03-03 Roland McGrath <roland@redhat.com>
12545
12546 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
12547
12548 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
12549
12550 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
12551 __bzero_ultra1 instead of __memset_ultra1.
12552
12553 2011-02-23 Andreas Schwab <schwab@redhat.com>
12554 Ulrich Drepper <drepper@gmail.com>
12555
12556 [BZ #12509]
12557 * include/link.h (struct link_map): Add l_orig_initfini.
12558 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
12559 returning unsuccessfully.
12560 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
12561 close of a file loaded at startup, restore the original l_initfini
12562 list.
12563 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
12564 list, store the pointer.
12565 * elf/Makefile ($(objpfx)noload-mem): New rule.
12566 (noload-ENV): Define.
12567 (tests): Add $(objpfx)noload-mem.
12568 * elf/noload.c: Include <memcheck.h>.
12569 (main): Call mtrace. Close all opened handles.
12570
12571 2011-02-17 Andreas Schwab <schwab@redhat.com>
12572
12573 [BZ #12454]
12574 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
12575 dependencies are missing.
12576
12577 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
12578
12579 Fix __if_freereq crash: Unlike the generic version which uses free,
12580 Hurd needs munmap.
12581 * sysdeps/mach/hurd/ifreq.h: New file.
12582
12583 2011-01-27 Petr Baudis <pasky@suse.cz>
12584 Ulrich Drepper <drepper@gmail.com>
12585
12586 [BZ 12445]#
12587 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
12588 to extend_alloca().
12589 * stdio-common/bug23.c: New file.
12590 * stdio-common/Makefile (tests): Add bug23.
12591
12592 2010-09-28 Andreas Schwab <schwab@redhat.com>
12593 Ulrich Drepper <drepper@gmail.com>
12594
12595 [BZ #12489]
12596 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
12597 before performing relro protection. At old place add assertion
12598 to make sure nothing changed.
12599
12600 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
12601 Glauber de Oliveira Costa <glommer@gmail.com>
12602
12603 * elf/elf.h: Add new ARM TLS relocs.
12604
12605 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
12606
12607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12608 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
12609 cast from r3.
12610 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
12611 'tests' variable.
12612 * sysdeps/wordsize-64/tst-writev.c: New file.
12613
12614 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
12615
12616 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
12617 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
12618 insns in _dl_start to prevent a TOC reference before relocs are
12619 resolved.
12620
12621 2011-02-15 Ulrich Drepper <drepper@gmail.com>
12622
12623 [BZ #12469]
12624 * Makeconfig: Remove RANLIB definition.
12625 * Makerules: Don't use RANLIB.
12626 * aclocal.m4: Remove ranlib test.
12627 * configure.in: No need to check for ranlib.
12628 * elf/rtld-Rules: Don't use RANLIB.
12629
12630 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
12631
12632 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
12633 protection macro.
12634 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
12635 inclusion protection macro.
12636
12637 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
12638 SIGRTMIN and SIGRTMAX and print information in that case only when
12639 SIGRTMIN is defined.
12640
12641 2011-02-11 Jakub Jelinek <jakub@redhat.com>
12642
12643 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
12644 arginfo fn returning -1.
12645
12646 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
12647 and thousands string is zero terminated.
12648
12649 2011-02-03 Andreas Schwab <schwab@redhat.com>
12650
12651 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
12652 sysdeps/unix/sysv/linux/bits/socket.h.
12653
12654 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
12655
12656 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
12657 (__CPU_COUNT): Remove old macros.
12658 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
12659 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
12660 (__CPU_ALLOC, __CPU_FREE): Add macros.
12661 (__sched_cpualloc, __sched_cpufree): Add declarations.
12662
12663 2011-02-05 Ulrich Drepper <drepper@gmail.com>
12664
12665 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
12666 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
12667 * nscd/aicache.c (addhstaiX): Return timeout of added value.
12668 (readdhstai): Return value of addhstaiX call.
12669 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
12670 (addgrbyX): Return value returned by cache_addgr.
12671 (readdgrbyname): Return value returned by addgrbyX.
12672 (readdgrbygid): Likewise.
12673 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
12674 (addpwbyX): Return value returned by cache_addpw.
12675 (readdpwbyname): Return value returned by addhstbyX.
12676 (readdpwbyuid): Likewise.
12677 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
12678 (addservbyX): Return value returned by cache_addserv.
12679 (readdservbyname): Return value returned by addservbyX:
12680 (readdservbyport): Likewise.
12681 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
12682 (addhstbyX): Return value returned by cache_addhst.
12683 (readdhstbyname): Return value returned by addhstbyX.
12684 (readdhstbyaddr): Likewise.
12685 (readdhstbynamev6): Likewise.
12686 (readdhstbyaddrv6): Likewise.
12687 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
12688 (readdinitgroups): Return value returned by addinitgroupsX.
12689 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
12690 (prune_cache): Keep track of timeout value of re-added entries.
12691 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
12692 * nscd/nscd.h: Adjust prototypes of readd* functions.
12693
12694 2011-02-04 Roland McGrath <roland@redhat.com>
12695
12696 * nis/nis_server.c (nis_servstate): Use the right name for 0.
12697 (nis_stats): Likewise.
12698 * nis/nis_modify.c (nis_modify): Likewise.
12699 * nis/nis_remove.c (nis_remove): Likewise.
12700 * nis/nis_add.c (nis_add): Likewise.
12701
12702 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
12703
12704 * posix/fnmatch_loop.c: Add some consts.
12705
12706 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
12707
12708 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
12709
12710 [BZ #12460]
12711 * config.make.in (config-cflags-novzeroupper): Define.
12712 * configure.in: Substitute libc_cv_cc_novzeroupper.
12713 * elf/Makefile (AVX-CFLAGS): Define.
12714 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
12715 (CFLAGS-tst-auditmod4a.c): Likewise.
12716 (CFLAGS-tst-auditmod4b.c): Likewise.
12717 (CFLAGS-tst-auditmod6b.c): Likewise.
12718 (CFLAGS-tst-auditmod6c.c): Likewise.
12719 (CFLAGS-tst-auditmod7b.c): Likewise.
12720 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
12721
12722 2011-02-02 Ulrich Drepper <drepper@gmail.com>
12723
12724 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
12725 function to the callback.
12726 Patch partly by Jiri Olsa <jolsa@redhat.com>.
12727
12728 2011-02-02 Andreas Schwab <schwab@redhat.com>
12729
12730 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
12731 of errno.
12732
12733 2011-01-19 Ulrich Drepper <drepper@gmail.com>
12734
12735 [BZ #11724]
12736 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
12737 of constructors.
12738 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
12739 of destructors.
12740 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
12741
12742 [BZ #11724]
12743 * elf/Makefile: Add rules to build and run new test.
12744 * elf/tst-initorder.c: New file.
12745 * elf/tst-initorder.exp: New file.
12746 * elf/tst-initordera1.c: New file.
12747 * elf/tst-initordera2.c: New file.
12748 * elf/tst-initordera3.c: New file.
12749 * elf/tst-initordera4.c: New file.
12750 * elf/tst-initorderb1.c: New file.
12751 * elf/tst-initorderb2.c: New file.
12752 * elf/tst-order-a1.c: New file.
12753 * elf/tst-order-a2.c: New file.
12754 * elf/tst-order-a3.c: New file.
12755 * elf/tst-order-a4.c: New file.
12756 * elf/tst-order-b1.c: New file.
12757 * elf/tst-order-b2.c: New file.
12758 * elf/tst-order-main.c: New file.
12759 New test case by George Gensure <werkt0@gmail.com>.
12760
12761 2010-10-01 Andreas Schwab <schwab@redhat.com>
12762
12763 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
12764 decoding ACE if AI_CANONIDN.
12765
12766 2011-01-18 Ulrich Drepper <drepper@gmail.com>
12767
12768 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
12769
12770 2011-01-17 Ulrich Drepper <drepper@gmail.com>
12771
12772 * version.h (RELEASE): Bump for 2.13 release.
12773 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
12774
12775 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
12776
12777 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
12778 MADV_NOHUGEPAGE.
12779 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
12780 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
12781 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
12782 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
12783 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
12784 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
12785
12786 * posix/getconf.c: Update copyright year.
12787 * catgets/gencat.c: Likewise.
12788 * csu/version.c: Likewise.
12789 * debug/catchsegv.sh: Likewise.
12790 * debug/xtrace.sh: Likewise.
12791 * elf/ldconfig.c: Likewise.
12792 * elf/ldd.bash.in: Likewise.
12793 * elf/sprof.c (print_version): Likewise.
12794 * iconv/iconv_prog.c: Likewise.
12795 * iconv/iconvconfig.c: Likewise.
12796 * locale/programs/locale.c: Likewise.
12797 * locale/programs/localedef.c: Likewise.
12798 * malloc/memusage.sh: Likewise.
12799 * malloc/mtrace.pl: Likewise.
12800 * nscd/nscd.c (print_version): Likewise.
12801 * nss/getent.c: Likewise.
12802
12803 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
12804 PF_CAIF, and PF_ALG.
12805 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
12806
12807 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
12808
12809 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
12810 (modules-names): Use them.
12811 (ifunc-test-modules, ifunc-pie-tests): Define.
12812 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
12813 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
12814 (test-extras): Likewise.
12815 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
12816 $(compile-command.c).
12817 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
12818 (all-built-dso): Define.
12819 (check-textrel.out, check-execstack.out): Depend on it.
12820
12821 * configure.in: Don't override --enable-multi-arch.
12822
12823 2011-01-15 Ulrich Drepper <drepper@gmail.com>
12824
12825 [BZ #6812]
12826 * nscd/hstcache.c (tryagain): Define.
12827 (cache_addhst): Return tryagain not notfound for temporary errors.
12828 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
12829 failed.
12830
12831 2011-01-14 Ulrich Drepper <drepper@gmail.com>
12832
12833 [BZ #10563]
12834 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
12835 to make the syscall.
12836 * sysdeps/unix/sysv/linux/setgroups.c: New file.
12837
12838 [BZ #12378]
12839 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
12840 and fall back to matching as normal character if the string ends before
12841 the matching ']' is found. This is what POSIX requires.
12842 * posix/testfnm.c: Adjust test result.
12843 * posix/globtest.sh: Adjust test result. Add new test.
12844 * posix/tst-fnmatch.input: Likewise.
12845 * posix/tst-fnmatch2.c: Add new test.
12846
12847 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
12848
12849 * elf/Makefile (check-execstack): Revert last change. Depend on
12850 check-execstack.h.
12851 (check-execstack.h): New target.
12852 (generated): Add check-execstack.h.
12853 * elf/check-execstack.c: Include "check-execstack.h".
12854 (main): Revert last change.
12855 (handle_file): Return zero if GNU_STACK is absent and
12856 DEFAULT_STACK_PERMS doesn't include PF_X.
12857
12858 2011-01-13 Ulrich Drepper <drepper@gmail.com>
12859
12860 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
12861 in child fails because the descriptor is already closed.
12862 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
12863 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
12864 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
12865
12866 [BZ #12397]
12867 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
12868 syscall.
12869
12870 [BZ #10484]
12871 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
12872 temporary buffer used to handle multi lookups locally.
12873 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
12874
12875 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12876
12877 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
12878 loader is ld.so.
12879
12880 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
12881
12882 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
12883 alignment for SSE2.
12884
12885 2011-01-12 Ulrich Drepper <drepper@gmail.com>
12886
12887 [BZ #12394]
12888 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
12889 characters. When rounding increased number of integer digits recompute
12890 number of groups.
12891 * stdio-common/tst-grouping.c: New file.
12892 * stdio-common/Makefile: Add rules to build and run tst-grouping.
12893
12894 2011-01-09 Ulrich Drepper <drepper@gmail.com>
12895
12896 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
12897 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
12898
12899 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
12900 void.
12901 * bits/select.h: Likewise.
12902
12903 2011-01-08 Ulrich Drepper <drepper@gmail.com>
12904
12905 * po/ja.po: Update from translation team.
12906
12907 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
12908
12909 [BZ #11155]
12910 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
12911 implementation just like for lxstat, fxstatat, et al.
12912
12913 2010-12-27 Jim Meyering <meyering@redhat.com>
12914
12915 [BZ #12348]
12916 * posix/regexec.c (build_trtable): Return failure indication upon
12917 calloc failure. Otherwise, re_search_internal could infloop on OOM.
12918
12919 2010-12-25 Ulrich Drepper <drepper@gmail.com>
12920
12921 [BZ #12201]
12922 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
12923 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
12924 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
12925 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
12926
12927 [BZ #12207]
12928 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
12929
12930 [BZ #12204]
12931 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
12932 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
12933
12934 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
12935
12936 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
12937 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
12938 script has SORT_BY_INIT_PRIORITY.
12939 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
12940 NO_CTORS_DTORS_SECTIONS is defined.
12941 * elf/soinit.c: Likewise.
12942 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
12943 NO_CTORS_DTORS_SECTIONS is defined.
12944 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
12945 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
12946 * sysdeps/sh/init-first.c: Likewise.
12947 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
12948
12949 2010-12-24 Ulrich Drepper <drepper@gmail.com>
12950
12951 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
12952 always use the slow path.
12953
12954 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
12955
12956 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
12957 similar rule which adds the sysdep directories to the header search in
12958 order to pick up the correct platform stackinfo.h.
12959 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
12960 perform test if it is, otherwise return successfully without testing.
12961 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
12962 DEFAULT_STACK_PERMS define in stackinfo.h.
12963 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
12964 defined in stackinfo.h.
12965 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
12966 DEFAULT_STACK_PERMS defined in stackinfo.h.
12967 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
12968 * sysdeps/ia64/stackinfo.h: Likewise.
12969 * sysdeps/s390/stackinfo.h: Likewise.
12970 * sysdeps/sh/stackinfo.h: Likewise.
12971 * sysdeps/sparc/stackinfo.h: Likewise.
12972 * sysdeps/x86_64/stackinfo.h: Likewise.
12973 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
12974 PF_X for powerpc64. Retain PF_X for powerpc32.
12975
12976 2010-12-19 Ulrich Drepper <drepper@gmail.com>
12977
12978 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
12979 accurately.
12980 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
12981 GETDENTS_64BIT_ALIGNED.
12982
12983 2010-12-14 Ulrich Drepper <dreper@gmail.com>
12984
12985 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
12986
12987 2010-12-10 Andreas Schwab <schwab@redhat.com>
12988
12989 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
12990 _GNU_SOURCE.
12991
12992 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
12993 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
12994 Remove __restrict.
12995 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
12996 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
12997
12998 2010-12-09 Ulrich Drepper <drepper@gmail.com>
12999
13000 [BZ #11655]
13001 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
13002 are initialized.
13003
13004 2010-12-09 Jakub Jelinek <jakub@redhat.com>
13005
13006 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
13007
13008 2010-12-03 Ulrich Drepper <drepper@gmail.com>
13009
13010 * po/it.po: Update from translation team.
13011
13012 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
13013
13014 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
13015 unused codes.
13016
13017 2010-11-30 Ulrich Drepper <drepper@gmail.com>
13018
13019 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
13020
13021 2010-11-24 Andreas Schwab <schwab@redhat.com>
13022
13023 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
13024 specially.
13025 (gaih_getanswer_slice): Likewise.
13026
13027 2010-10-20 Jakub Jelinek <jakub@redhat.com>
13028
13029 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
13030
13031 2010-05-31 Petr Baudis <pasky@suse.cz>
13032
13033 [BZ #11149]
13034 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
13035 silently even in the chroot mode.
13036
13037 2010-11-22 Ulrich Drepper <drepper@gmail.com>
13038
13039 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
13040 last patch a bit. Pretty printing
13041
13042 2010-05-31 Petr Baudis <pasky@suse.cz>
13043
13044 [BZ #10085]
13045 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
13046 initialization of skip_initgroups_dyn.
13047
13048 2010-11-19 Ulrich Drepper <drepper@gmail.com>
13049
13050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
13051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
13052
13053 2010-11-16 Ulrich Drepper <drepper@gmail.com>
13054
13055 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
13056
13057 2010-11-11 Andreas Schwab <schwab@redhat.com>
13058
13059 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
13060 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
13061 (tst-fnmatch-ENV): Set MALLOC_TRACE.
13062 ($(objpfx)tst-fnmatch-mem): New rule.
13063 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
13064 * posix/tst-fnmatch.c (main): Call mtrace.
13065
13066 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
13067
13068 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13069 Support Intel processor model 6 and model 0x2c.
13070
13071 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
13072
13073 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
13074 signed comparison.
13075
13076 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
13077
13078 [BZ #12205]
13079 * string/test-strncasecmp.c (check_result): New function.
13080 (do_one_test): Use it.
13081 (check1): New function.
13082 (test_main): Use it.
13083 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
13084 Support strcasecmp and strncasecmp.
13085
13086 2010-11-08 Ulrich Drepper <drepper@gmail.com>
13087
13088 [BZ #12194]
13089 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
13090 * sysdeps/x86_64/bits/byteswap.h: Likewise.
13091
13092 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
13093
13094 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
13095 IFUNC support.
13096 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13097 memset-x86-64.
13098 * sysdeps/x86_64/multiarch/bzero.S: New file.
13099 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
13100 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
13101 * sysdeps/x86_64/multiarch/memset.S: New file.
13102 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
13103 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13104 Set bit_Prefer_SSE_for_memop for Intel processors.
13105 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
13106 Define.
13107 (index_Prefer_SSE_for_memop): Define.
13108 (HAS_PREFER_SSE_FOR_MEMOP): Define.
13109
13110 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
13111
13112 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
13113 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
13114
13115 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
13116
13117 [BZ #12191]
13118 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13119 (__x86_64_raw_data_cache_size_half): Likewise.
13120 (__x86_64_raw_shared_cache_size): Likewise.
13121 (__x86_64_raw_shared_cache_size_half): Likewise.
13122
13123 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
13124 (__x86_64_raw_data_cache_size_half): Likewise.
13125 (__x86_64_raw_shared_cache_size): Likewise.
13126 (__x86_64_raw_shared_cache_size_half): Likewise.
13127 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
13128 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
13129 and __x86_64_raw_shared_cache_size_half. Round
13130 __x86_64_data_cache_size_half, __x86_64_data_cache_size
13131 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
13132 to multiple of 256 bytes.
13133
13134 2010-11-03 Ulrich Drepper <drepper@gmail.com>
13135
13136 [BZ #12167]
13137 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
13138 of inacessible symlinks. Verify result of symlink before returning it.
13139 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
13140 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
13141
13142 2010-10-28 Erich Ritz <erichritz@gmail.com>
13143
13144 * math/math.h (isinf): Fix typo in comment.
13145
13146 2010-11-01 Ulrich Drepper <drepper@gmail.com>
13147
13148 * po/da.po: Update from translation team.
13149
13150 2010-10-26 Ulrich Drepper <drepper@gmail.com>
13151
13152 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
13153 is added to the list.
13154
13155 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13156 Ulrich Drepper <drepper@gmail.com>
13157
13158 * elf/dl-object.c (_dl_new_object): Don't append the new object to
13159 the global list here. Move code to...
13160 (_dl_add_to_namespace_list): ...here. New function.
13161 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
13162 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
13163 * elf/dl-load.c (lose): Don't remove the element from the list.
13164 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
13165 (_dl_map_object): Likewise.
13166
13167 2010-10-25 Ulrich Drepper <drepper@gmail.com>
13168
13169 [BZ #12159]
13170 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
13171 into all bytes of SSE register.
13172 Patch by Richard Li <richardpku@gmail.com>.
13173
13174 2010-10-24 Ulrich Drepper <drepper@gmail.com>
13175
13176 [BZ #12140]
13177 * malloc/malloc.c (_int_free): Fill correct number of bytes when
13178 perturbing.
13179
13180 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
13181
13182 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
13183 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
13184 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
13185 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
13186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
13187 submachine.
13188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
13189
13190 2010-10-22 Andreas Schwab <schwab@redhat.com>
13191
13192 * include/dlfcn.h (__RTLD_SECURE): Define.
13193 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
13194 mode & __RTLD_SECURE instead.
13195 (open_path): Rename preloaded parameter to secure.
13196 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
13197 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
13198 * elf/dl-deps.c (openaux): Likewise.
13199 * elf/rtld.c (struct map_args): Remove is_preloaded.
13200 (map_doit): Don't use it.
13201 (dl_main): Likewise.
13202 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
13203 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
13204
13205 2010-09-09 Andreas Schwab <schwab@redhat.com>
13206
13207 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
13208 (sysd-rules-targets): Remove duplicates.
13209 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
13210 rtld-%.$o dependency.
13211
13212 2010-10-18 Andreas Schwab <schwab@redhat.com>
13213
13214 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
13215 _dl_map_object do it.
13216
13217 2010-10-19 Ulrich Drepper <drepper@gmail.com>
13218
13219 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
13220 fast fma builtins, define the macros in the C99 standard.
13221 (FP_FAST_FMAF): Likewise.
13222 (FP_FAST_FMAL): Likewise.
13223 * sysdeps/x86_64/bits/mathdef.h: Likewise.
13224
13225 * bits/mathdef.h: Update copyright year.
13226 * sysdeps/powerpc/bits/mathdef.h: Likewise.
13227
13228 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
13229
13230 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
13231 builtins, define the macros in the C99 standard.
13232 (FP_FAST_FMAF): Likewise.
13233 (FP_FAST_FMAL): Likewise.
13234 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
13235 multiply/add.
13236 (FP_FAST_FMAF): Likewise.
13237
13238 2010-10-15 Jakub Jelinek <jakub@redhat.com>
13239
13240 [BZ #3268]
13241 * math/libm-test.inc (fma_test): Some new testcases.
13242 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
13243 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
13244 y and infinite z. Do multiplication by C already in long double.
13245 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
13246 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
13247 y and infinite z. Do bitwise or of inexact bit into u.d.
13248 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
13249 * sysdeps/i386/fpu/s_fmaf.S: Removed.
13250 * sysdeps/i386/fpu/s_fma.S: Removed.
13251 * sysdeps/i386/fpu/s_fmal.S: Removed.
13252
13253 2010-10-16 Jakub Jelinek <jakub@redhat.com>
13254
13255 [BZ #3268]
13256 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
13257 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
13258 computation is not scheduled after fetestexcept. Fix value
13259 of minimum denormal long double.
13260
13261 2010-10-14 Jakub Jelinek <jakub@redhat.com>
13262
13263 [BZ #3268]
13264 * math/libm-test.inc (fma_test): Add some more tests.
13265 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
13266 correctly.
13267
13268 2010-10-15 Andreas Schwab <schwab@redhat.com>
13269
13270 * scripts/data/localplt-s390-linux-gnu.data: New file.
13271 * scripts/data/localplt-s390x-linux-gnu.data: New file.
13272
13273 2010-10-13 Jakub Jelinek <jakub@redhat.com>
13274
13275 [BZ #3268]
13276 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
13277 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
13278 instead of dbl-64.
13279 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
13280 inlines.
13281 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
13282 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
13283 if one of x and y is very large and the other is subnormal.
13284 * sysdeps/s390/fpu/s_fmaf.c: New file.
13285 * sysdeps/s390/fpu/s_fma.c: New file.
13286 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
13287 * sysdeps/powerpc/fpu/s_fma.S: New file.
13288 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
13289 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
13290 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
13291
13292 2010-10-12 Jakub Jelinek <jakub@redhat.com>
13293
13294 [BZ #3268]
13295 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
13296 fma tests.
13297 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
13298 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
13299 * sysdeps/i386/i686/multiarch/s_fma.c: Include
13300 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
13301 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
13302 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
13303 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
13304
13305 2010-10-12 Ulrich Drepper <drepper@redhat.com>
13306
13307 [BZ #12078]
13308 * posix/regcomp.c (parse_branch): One more memory leak plugged.
13309 * posix/bug-regex31.input: Add test case.
13310
13311 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13312
13313 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
13314 * posix/bug-regex31.input: New file.
13315
13316 [BZ #12078]
13317 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
13318 (parse_sub_exp): Fix last change, use postorder.
13319
13320 * posix/bug-regex31.c: New file.
13321 * posix/Makefile: Add rules to build and run bug-regex31.
13322
13323 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
13324
13325 [BZ #12078]
13326 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
13327
13328 [BZ #12108]
13329 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
13330 to have entries in sys_siglist.
13331
13332 [BZ #12093]
13333 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
13334 be NULL.
13335
13336 2010-10-07 Jakub Jelinek <jakub@redhat.com>
13337
13338 [BZ #3268]
13339 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
13340 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
13341 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
13342 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
13343 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
13344 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
13345 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
13346 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
13347 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
13348 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
13349 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
13350 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
13351 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
13352 * math/ftestexcept.c (fetestexcept): Likewise.
13353 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
13354 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
13355 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
13356 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
13357 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
13358 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
13359 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
13360
13361 2010-10-11 Ulrich Drepper <drepper@gmail.com>
13362
13363 [BZ #12107]
13364 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
13365 newline.
13366
13367 2010-10-06 Ulrich Drepper <drepper@gmail.com>
13368
13369 * string/bug-strstr1.c: New file.
13370 * string/Makefile: Add rules to build and run bug-strstr1.
13371
13372 2010-10-05 Eric Blake <eblake@redhat.com>
13373
13374 [BZ #12092]
13375 * string/str-two-way.h (two_way_long_needle): Always clear memory
13376 when skipping input due to the shift table.
13377
13378 2010-10-03 Ulrich Drepper <drepper@gmail.com>
13379
13380 [BZ #12005]
13381 * malloc/mcheck.c: Handle large requests.
13382
13383 [BZ #12077]
13384 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
13385 for strncmp and strncasecmp.
13386 * string/stratcliff.c: Add tests for strcmp and strncmp.
13387 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
13388
13389 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
13390
13391 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
13392 __set_fpscr.
13393
13394 2010-09-30 Andreas Jaeger <aj@suse.de>
13395
13396 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
13397 (CGROUP_SUPER_MAGIC): Define.
13398 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13399 Handle btrfs and cgroup file systems.
13400 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
13401 Likewise.
13402
13403 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
13404
13405 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
13406 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
13407
13408 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13409
13410 [BZ #12067]
13411 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
13412 trying to locate the ELF header.
13413
13414 2010-09-27 Andreas Schwab <schwab@redhat.com>
13415
13416 [BZ #11611]
13417 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
13418 Mask out sign-bit copies when constructing f_fsid.
13419
13420 2010-09-24 Petr Baudis <pasky@suse.cz>
13421
13422 * debug/stack_chk_fail_local.c: Add missing licence exception.
13423 * debug/warning-nop.c: Likewise.
13424
13425 2010-09-15 Joseph Myers <joseph@codesourcery.com>
13426
13427 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
13428 implementing getdents64 using getdents syscall, set d_type if
13429 __ASSUME_GETDENTS32_D_TYPE.
13430
13431 2010-09-16 Andreas Schwab <schwab@redhat.com>
13432
13433 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
13434 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
13435
13436 2010-09-21 Ulrich Drepper <drepper@redhat.com>
13437
13438 [BZ #12037]
13439 * posix/unistd.h: Undo change of feature selection for ftruncate from
13440 2010-01-11.
13441
13442 2010-09-20 Ulrich Drepper <drepper@redhat.com>
13443
13444 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
13445 detection.
13446
13447 2010-09-20 Andreas Schwab <schwab@redhat.com>
13448
13449 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
13450 fanotify_mark.
13451 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13452
13453 2010-09-14 Andreas Schwab <schwab@redhat.com>
13454
13455 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
13456 variables after CHECK_SP call.
13457 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
13458
13459 2010-09-13 Andreas Schwab <schwab@redhat.com>
13460 Ulrich Drepper <drepper@redhat.com>
13461
13462 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
13463 re-relocationg ld.so.
13464 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
13465 _dl_init_paths call.
13466 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
13467 here anymore.
13468
13469 2010-09-14 Ulrich Drepper <drepper@redhat.com>
13470
13471 * resolv/res_init.c (__res_vinit): Count the default server we added.
13472
13473 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
13474 Ulrich Drepper <drepper@redhat.com>
13475
13476 [BZ #11968]
13477 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
13478 (____longjmp_chk): Use %ebx for saving value across system call.
13479 Add unwind info.
13480
13481 2010-09-06 Andreas Schwab <schwab@redhat.com>
13482
13483 * manual/Makefile: Don't mix pattern rules with normal rules.
13484
13485 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
13486
13487 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
13488 operation.
13489 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13490 * libio/iofopncook.c (_IO_cookie_init): Likewise.
13491 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13492 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
13494 Likewise.
13495
13496 2010-09-04 Ulrich Drepper <drepper@redhat.com>
13497
13498 [BZ #11979]
13499 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
13500 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
13501
13502 2010-09-02 Ulrich Drepper <drepper@redhat.com>
13503
13504 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
13505 * sysdeps/x86_64/addmul_1.S: Likewise.
13506 * sysdeps/x86_64/lshift.S: Likewise.
13507 * sysdeps/x86_64/mul_1.S: Likewise.
13508 * sysdeps/x86_64/rshift.S: Likewise.
13509 * sysdeps/x86_64/sub_n.S: Likewise.
13510 * sysdeps/x86_64/submul_1.S: Likewise.
13511
13512 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
13513
13514 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
13515 Define __sched_param instead of SCHED_* and sched_param when
13516 <bits/sched.h> is included with __need_schedparam defined.
13517 * bits/sched.h [__need_schedparam]
13518 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
13519 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
13520 (__defined_schedparam): Define to 1.
13521 (__sched_param): New structure, identical to sched_param.
13522 (__need_schedparam): Undefine.
13523
13524 2010-08-31 Mike Frysinger <vapier@gentoo.org>
13525
13526 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
13527 (epoll_create1): Declare.
13528
13529 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
13530
13531 2010-08-31 Andreas Schwab <schwab@redhat.com>
13532
13533 [BZ #7066]
13534 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
13535 shifting retval into place.
13536
13537 2010-09-01 Ulrich Drepper <drepper@redhat.com>
13538
13539 * nis/rpcsvc/nis.h: Update copyright notice.
13540 * nis/rpcsvc/nis.x: Likewise.
13541 * nis/rpcsvc/nis_callback.h: Likewise.
13542 * nis/rpcsvc/nis_callback.x: Likewise.
13543 * nis/rpcsvc/nis_object.x: Likewise.
13544 * nis/rpcsvc/nis_tags.h: Likewise.
13545 * nis/rpcsvc/yp.h: Likewise.
13546 * nis/rpcsvc/yp.x: Likewise.
13547 * nis/rpcsvc/ypupd.h: Likewise.
13548 * nis/yp_xdr.c: Likewise.
13549 * nis/ypupdate_xdr.c: Likewise.
13550
13551 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
13552 mainly the body of pmap_getport. Add parameters to specify timeouts.
13553 (pmap_getport): Use __libc_rpc_getport.
13554 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
13555 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
13556 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
13557
13558 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
13559
13560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
13561 fanotify_mark.
13562
13563 2010-08-27 Roland McGrath <roland@redhat.com>
13564
13565 * sysdeps/i386/i686/multiarch/Makefile
13566 (CFLAGS-varshift.c): New variable.
13567
13568 2010-08-27 Ulrich Drepper <drepper@redhat.com>
13569
13570 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
13571 * sysdeps/i386/i686/multiarch/varshift.c: New file.
13572
13573 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
13574
13575 * sysdeps/x86_64/strlen.S: Minimal code improvement.
13576
13577 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
13578
13579 * sysdeps/x86_64/strlen.S: Unroll the loop.
13580 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13581 strlen-sse2 strlen-sse2-bsf.
13582 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
13583 __strlen_no_bsf if bit_Slow_BSF is set.
13584 (__strlen_sse42): Removed.
13585 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
13586 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
13587
13588 2010-08-25 Roland McGrath <roland@redhat.com>
13589
13590 * sysdeps/x86_64/multiarch/varshift.S: File removed.
13591 * sysdeps/x86_64/multiarch/varshift.c: New file.
13592 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
13593 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
13594 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
13595 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
13596
13597 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
13598
13599 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13600 strlen-sse2 strlen-sse2-bsf.
13601 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
13602 __strlen_sse2_bsf if bit_Slow_BSF is unset.
13603 (__strlen_sse2): Removed.
13604 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
13605 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
13606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
13607 bit_Slow_BSF for Atom.
13608 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
13609 (index_Slow_BSF): Define.
13610 (HAS_SLOW_BSF): Define.
13611
13612 2010-08-25 Ulrich Drepper <drepper@redhat.com>
13613
13614 [BZ #10851]
13615 * resolv/res_init.c (__res_vinit): When no server address at all
13616 is given default to loopback.
13617
13618 2010-08-24 Roland McGrath <roland@redhat.com>
13619
13620 * configure.in: Remove config-name.h generation.
13621 * configure: Regenerated.
13622 * config-name.in: File removed.
13623 * scripts/config-uname.sh: New file.
13624 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
13625 ($(objdir)config-name.h): New target.
13626
13627 * sunrpc/rpc_parse.h: Avoid nested comment.
13628
13629 2010-08-24 Richard Henderson <rth@redhat.com>
13630 Ulrich Drepper <drepper@redhat.com>
13631 H.J. Lu <hongjiu.lu@intel.com>
13632
13633 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
13634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
13635 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
13636 Replace _mm_srli_si128 with __m128i_shift_right. Replace
13637 _mm_alignr_epi8 with _mm_loadu_si128.
13638 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
13639 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
13640 (__m128i_shift_right): Removed.
13641 * sysdeps/i386/i686/multiarch/varshift.h: New file.
13642 * sysdeps/i386/i686/multiarch/varshift.S: New file.
13643 * sysdeps/x86_64/multiarch/varshift.h: New file.
13644 * sysdeps/x86_64/multiarch/varshift.S: New file.
13645
13646 2010-08-21 Mike Frysinger <vapier@gentoo.org>
13647
13648 * configure.in: Move assembler checks to before sysdep dir checking.
13649
13650 2010-08-20 Petr Baudis <pasky@suse.cz>
13651
13652 * LICENSES: Sync the sunrpc license.
13653
13654 2010-08-19 Ulrich Drepper <drepper@redhat.com>
13655
13656 * sunrpc/auth_des.c: Update copyright notice once again.
13657 * sunrpc/auth_none.c: Likewise.
13658 * sunrpc/auth_unix.c: Likewise.
13659 * sunrpc/authdes_prot.c: Likewise.
13660 * sunrpc/authuxprot.c: Likewise.
13661 * sunrpc/bindrsvprt.c: Likewise.
13662 * sunrpc/clnt_gen.c: Likewise.
13663 * sunrpc/clnt_perr.c: Likewise.
13664 * sunrpc/clnt_raw.c: Likewise.
13665 * sunrpc/clnt_simp.c: Likewise.
13666 * sunrpc/clnt_tcp.c: Likewise.
13667 * sunrpc/clnt_udp.c: Likewise.
13668 * sunrpc/clnt_unix.c: Likewise.
13669 * sunrpc/des_crypt.c: Likewise.
13670 * sunrpc/des_soft.c: Likewise.
13671 * sunrpc/get_myaddr.c: Likewise.
13672 * sunrpc/getrpcport.c: Likewise.
13673 * sunrpc/key_call.c: Likewise.
13674 * sunrpc/key_prot.c: Likewise.
13675 * sunrpc/openchild.c: Likewise.
13676 * sunrpc/pm_getmaps.c: Likewise.
13677 * sunrpc/pm_getport.c: Likewise.
13678 * sunrpc/pmap_clnt.c: Likewise.
13679 * sunrpc/pmap_prot.c: Likewise.
13680 * sunrpc/pmap_prot2.c: Likewise.
13681 * sunrpc/pmap_rmt.c: Likewise.
13682 * sunrpc/rpc/auth.h: Likewise.
13683 * sunrpc/rpc/auth_unix.h: Likewise.
13684 * sunrpc/rpc/clnt.h: Likewise.
13685 * sunrpc/rpc/des_crypt.h: Likewise.
13686 * sunrpc/rpc/key_prot.h: Likewise.
13687 * sunrpc/rpc/netdb.h: Likewise.
13688 * sunrpc/rpc/pmap_clnt.h: Likewise.
13689 * sunrpc/rpc/pmap_prot.h: Likewise.
13690 * sunrpc/rpc/pmap_rmt.h: Likewise.
13691 * sunrpc/rpc/rpc.h: Likewise.
13692 * sunrpc/rpc/rpc_des.h: Likewise.
13693 * sunrpc/rpc/rpc_msg.h: Likewise.
13694 * sunrpc/rpc/svc.h: Likewise.
13695 * sunrpc/rpc/svc_auth.h: Likewise.
13696 * sunrpc/rpc/types.h: Likewise.
13697 * sunrpc/rpc/xdr.h: Likewise.
13698 * sunrpc/rpc_clntout.c: Likewise.
13699 * sunrpc/rpc_cmsg.c: Likewise.
13700 * sunrpc/rpc_common.c: Likewise.
13701 * sunrpc/rpc_cout.c: Likewise.
13702 * sunrpc/rpc_dtable.c: Likewise.
13703 * sunrpc/rpc_hout.c: Likewise.
13704 * sunrpc/rpc_main.c: Likewise.
13705 * sunrpc/rpc_parse.c: Likewise.
13706 * sunrpc/rpc_parse.h: Likewise.
13707 * sunrpc/rpc_prot.c: Likewise.
13708 * sunrpc/rpc_sample.c: Likewise.
13709 * sunrpc/rpc_scan.c: Likewise.
13710 * sunrpc/rpc_scan.h: Likewise.
13711 * sunrpc/rpc_svcout.c: Likewise.
13712 * sunrpc/rpc_tblout.c: Likewise.
13713 * sunrpc/rpc_util.c: Likewise.
13714 * sunrpc/rpc_util.h: Likewise.
13715 * sunrpc/rpcinfo.c: Likewise.
13716 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
13717 * sunrpc/rpcsvc/key_prot.x: Likewise.
13718 * sunrpc/rpcsvc/klm_prot.x: Likewise.
13719 * sunrpc/rpcsvc/mount.x: Likewise.
13720 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
13721 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
13722 * sunrpc/rpcsvc/rex.x: Likewise.
13723 * sunrpc/rpcsvc/rstat.x: Likewise.
13724 * sunrpc/rpcsvc/rusers.x: Likewise.
13725 * sunrpc/rpcsvc/sm_inter.x: Likewise.
13726 * sunrpc/rpcsvc/spray.x: Likewise.
13727 * sunrpc/rpcsvc/yppasswd.x: Likewise.
13728 * sunrpc/rtime.c: Likewise.
13729 * sunrpc/svc.c: Likewise.
13730 * sunrpc/svc_auth.c: Likewise.
13731 * sunrpc/svc_authux.c: Likewise.
13732 * sunrpc/svc_raw.c: Likewise.
13733 * sunrpc/svc_run.c: Likewise.
13734 * sunrpc/svc_simple.c: Likewise.
13735 * sunrpc/svc_tcp.c: Likewise.
13736 * sunrpc/svc_udp.c: Likewise.
13737 * sunrpc/svc_unix.c: Likewise.
13738 * sunrpc/svcauth_des.c: Likewise.
13739 * sunrpc/xcrypt.c: Likewise.
13740 * sunrpc/xdr.c: Likewise.
13741 * sunrpc/xdr_array.c: Likewise.
13742 * sunrpc/xdr_float.c: Likewise.
13743 * sunrpc/xdr_mem.c: Likewise.
13744 * sunrpc/xdr_rec.c: Likewise.
13745 * sunrpc/xdr_ref.c: Likewise.
13746 * sunrpc/xdr_sizeof.c: Likewise.
13747 * sunrpc/xdr_stdio.c: Likewise.
13748
13749 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
13750 handling.
13751
13752 2010-08-19 Andreas Schwab <schwab@redhat.com>
13753
13754 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
13755
13756 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
13757
13758 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
13759 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
13760 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
13761 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
13762 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
13763 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
13764 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
13765 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
13766 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
13767 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
13768 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
13769 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
13770 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
13771 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
13772
13773 2010-07-26 Anton Blanchard <anton@samba.org>
13774
13775 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
13776 * malloc/arena.c (heap_trim): Likewise.
13777
13778 2010-08-16 Ulrich Drepper <drepper@redhat.com>
13779
13780 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
13781 here. Not...
13782 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
13783 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
13784
13785 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
13786
13787 * sysdeps/i386/elf/Makefile: New file.
13788
13789 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13790
13791 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
13792 from fanotify_init.
13793 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13794 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13795
13796 2010-08-15 Ulrich Drepper <drepper@redhat.com>
13797
13798 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
13799 of strncasecmp_l.
13800 * sysdeps/multiarch/strcmp.S: Likewise.
13801
13802 2010-08-14 Ulrich Drepper <drepper@redhat.com>
13803
13804 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13805 strncase_l-nonascii.
13806 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13807 Add strncase_l-ssse3.
13808 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
13809 * sysdeps/x86_64/strcmp.S: Likewise.
13810 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
13811 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
13812 * sysdeps/x86_64/strncase.S: New file.
13813 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
13814 * sysdeps/x86_64/strncase_l.S: New file.
13815 * string/Makefile (strop-tests): Add strncasecmp.
13816 * string/test-strncasecmp.c: New file.
13817
13818 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
13819 warning.
13820
13821 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
13822 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
13823
13824 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
13825
13826 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
13827
13828 2010-08-12 Ulrich Drepper <drepper@redhat.com>
13829
13830 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
13831 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
13832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
13833
13834 2010-05-01 Alan Modra <amodra@gmail.com>
13835
13836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
13837 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
13838 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
13839 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
13840 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
13841 tidying. Don't tail-call __sigjmp_save for static lib.
13842 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
13843 save location.
13844 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
13845 (CALL_MCOUNT): Add eh info, and nop after bl.
13846 (TAIL_CALL_SYSCALL_ERROR): New macro.
13847 (PSEUDO_RET): Use it.
13848 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
13849 Correct save location of integer regs and cr.
13850 (_dl_profile_resolve): Correct cr save location. Delete nops
13851 after bl when SHARED. Reduce cfi size a little by better
13852 placement of cfi directives.
13853 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
13854 make a stack frame. Instead use parm save area as a temp.
13855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
13856 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
13857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13858 Don't make a stack frame for parent, use parm save area.
13859 Increase child stack frame to 112 bytes. Don't save unused reg,
13860 and adjust reg usage. Set up cfi on error recovery and
13861 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
13862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
13863 (__makecontext): Add dummy nop after jump to exit.
13864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
13865 Use correct parm save area and cr save, reduce stack frame.
13866 Correct cfi for possible PSEUDO_RET frame setup.
13867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
13868 Branch to local label emitted by PSEUDO_RET rather than
13869 __syscall_error.
13870
13871 2010-08-12 Andreas Schwab <schwab@redhat.com>
13872
13873 [BZ #11904]
13874 * locale/programs/locale.c (print_assignment): New function.
13875 (show_locale_vars): Use it.
13876
13877 2010-08-11 Ulrich Drepper <drepper@redhat.com>
13878
13879 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
13880 field.
13881 (struct statfs64): Likewise.
13882 (_STATFS_F_FLAGS): Define.
13883 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
13884 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13885 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
13886 (ST_VALID): Define locally.
13887 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
13888 __statvfs_getflags, use the provided value.
13889 * sysdeps/unix/sysv/linux/kernel-features.h: Define
13890 __ASSUME_STATFS_F_FLAGS.
13891
13892 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
13893
13894 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
13895 Add sys/fanotify.h.
13896 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
13897 fanotify_mask for GLIBC_2.13.
13898 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
13899 fanotify_init and fanotify_mark.
13900 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13901 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
13902
13903 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
13904 Add prlimit.
13905 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
13906 prlimit64 for GLIBC_2.13.
13907 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
13908 prlimit64.
13909 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
13910 syscall.
13911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13912 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13913 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
13914 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
13915 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
13916 add prlimit alias.
13917 * sysdeps/unix/sysv/linux/prlimit.c: New file.
13918
13919 [BZ #11903]
13920 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
13921 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
13922
13923 * nss/Makefile: Add rules to build and run tst-nss-test1.
13924 * shlib-versions: Add entry for libnss_test1.
13925 * nss/nss_test1.c: New file.
13926 * nss/tst-nss-test1.c: New file.
13927
13928 * nss/nsswitch.c (__nss_database_custom): Define new variable.
13929 (__nss_configure_lookup): Set appropriate entry in
13930 __nss_configure_lookup to true.
13931 * nss/nsswitch.h: Define enum with indeces of databases in
13932 databases and __nss_database_custom arrays. Declare
13933 __nss_database_custom.
13934 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
13935 to avoid using nscd when custom rules are installed.
13936 * nss/getXXbyYY_r.c: Likewise.
13937 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13938
13939 * nss/nss_files/files-parse.c: Whitespace fixes.
13940
13941 2010-08-09 Ulrich Drepper <drepper@redhat.com>
13942
13943 [BZ #11883]
13944 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
13945 * posix/fnmatch_loop.c: Likewise.
13946
13947 2010-07-17 Andi Kleen <ak@linux.intel.com>
13948
13949 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
13950 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
13951 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
13952 * Versions.def [GLIBC_2.13]: Add.
13953
13954 2010-08-06 Ulrich Drepper <drepper@redhat.com>
13955
13956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13957 Also fail if tpwd after pwuid call is NULL.
13958
13959 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
13960
13961 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
13962 when converting to ms.
13963
13964 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13965
13966 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
13967 EOPNOTSUPP errors with ENOTTY.
13968 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
13969 EOPNOTSUPP errors with ENOTTY.
13970
13971 2010-07-31 Ulrich Drepper <drepper@redhat.com>
13972
13973 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
13974 Add strcasecmp_l-ssse3.
13975 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
13976 strcasecmp.
13977 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
13978 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
13979 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
13980
13981 2010-07-30 Ulrich Drepper <drepper@redhat.com>
13982
13983 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
13984
13985 * string/Makefile (strop-tests): Add strcasecmp.
13986 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
13987 strcasecmp_l-nonascii.
13988 (gen-as-const-headers): Add locale-defines.sym.
13989 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
13990 * sysdeps/x86_64/strcasecmp.S: New file.
13991 * sysdeps/x86_64/strcasecmp_l.S: New file.
13992 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
13993 * sysdeps/x86_64/locale-defines.sym: New file.
13994 * string/test-strcasecmp.c: New file.
13995
13996 * string/test-strcasestr.c: Test both ends of the range of characters.
13997 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
13998
13999 2010-07-29 Roland McGrath <roland@redhat.com>
14000
14001 [BZ #11856]
14002 * manual/locale.texi (Yes-or-No Questions): Fix example code.
14003
14004 2010-07-27 Ulrich Drepper <drepper@redhat.com>
14005
14006 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
14007 for ld.so.
14008
14009 2010-07-27 Andreas Schwab <schwab@redhat.com>
14010
14011 * manual/memory.texi (Malloc Tunable Parameters): Document
14012 M_PERTURB.
14013
14014 2010-07-26 Roland McGrath <roland@redhat.com>
14015
14016 [BZ #11840]
14017 * configure.in (-fgnu89-inline check): Set and substitute
14018 gnu89_inline, not libc_cv_gnu89_inline.
14019 * configure: Regenerated.
14020 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
14021
14022 2010-07-26 Ulrich Drepper <drepper@redhat.com>
14023
14024 * string/test-strnlen.c: New file.
14025 * string/Makefile (strop-tests): Add strnlen.
14026 * string/tester.c (test_strnlen): Add a few more test cases.
14027 * string/tst-strlen.c: Better error reporting.
14028
14029 * sysdeps/x86_64/strnlen.S: New file.
14030
14031 2010-07-24 Ulrich Drepper <drepper@redhat.com>
14032
14033 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
14034 lower-latency instructions.
14035
14036 2010-07-23 Ulrich Drepper <drepper@redhat.com>
14037
14038 * string/test-strcasestr.c: New file.
14039 * string/test-strstr.c: New file.
14040 * string/Makefile (strop-tests): Add strstr and strcasestr.
14041 * string/str-two-way.h: Don't undefine MAX.
14042 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
14043
14044 2010-07-21 Andreas Schwab <schwab@redhat.com>
14045
14046 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14047 strcasestr-nonascii.
14048 (CFLAGS-strcasestr-nonascii.c): Define.
14049 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
14050 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
14051 Remove unused attribute.
14052
14053 2010-07-20 Roland McGrath <roland@redhat.com>
14054
14055 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
14056 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
14057 ld.so.cache was broken. With it, there is no way to disable dsocaps
14058 like LD_HWCAP_MASK can disable hwcaps.
14059
14060 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14061
14062 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
14063
14064 2010-07-16 Ulrich Drepper <drepper@redhat.com>
14065
14066 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
14067 call in strcasestr.
14068 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
14069 __strcasestr_sse42_nonascii.
14070 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
14071 strcasestr-nonascii.c.
14072 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
14073
14074 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
14075
14076 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
14077 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
14078 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
14079 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
14080
14081 2010-07-09 Ulrich Drepper <drepper@redhat.com>
14082
14083 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
14084 fcntl.
14085
14086 2010-07-06 Andreas Schwab <schwab@redhat.com>
14087
14088 [BZ #11577]
14089 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
14090 dl_signal_cerror.
14091
14092 2010-07-06 Ulrich Drepper <drepper@redhat.com>
14093
14094 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
14095 _PC_PIPE_BUF using F_GETPIPE_SZ.
14096
14097 2010-07-05 Roland McGrath <roland@redhat.com>
14098
14099 * manual/arith.texi (Rounding Functions): Fix rint description
14100 implicit in round description.
14101
14102 2010-07-02 Ulrich Drepper <drepper@redhat.com>
14103
14104 * elf/Makefile: Fix linking for a few tests to make recent linker
14105 happy.
14106
14107 2010-06-30 Andreas Schwab <schwab@redhat.com>
14108
14109 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
14110 $(common-objpfx)libc_nonshared.a.
14111
14112 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
14113
14114 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
14115 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
14116 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14117 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14118 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
14119 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
14120 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14121 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
14123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
14124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
14125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
14126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
14127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
14128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
14129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
14130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
14131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
14132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
14133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
14134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
14135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
14136 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
14137 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
14138 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
14139 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
14140 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
14141 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
14142 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
14143 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
14144 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
14145 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
14146 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
14147 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
14148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
14149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
14150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
14151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
14152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
14153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
14154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
14155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
14156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
14157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
14159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
14160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
14161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
14162
14163 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
14164
14165 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
14166 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
14167 * string/memmove.c (memmove): Renamed to ...
14168 (MEMMOVE): ...this. Default to memmove.
14169 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
14170 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
14171 (END_CHK): Define.
14172 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14173 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
14174 mempcpy-ssse3-back memmove-ssse3-back.
14175 * sysdeps/x86_64/multiarch/bcopy.S: New file .
14176 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
14177 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
14178 * sysdeps/x86_64/multiarch/memcpy.S: New file.
14179 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
14180 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
14181 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
14182 * sysdeps/x86_64/multiarch/memmove.c: New file.
14183 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
14184 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
14185 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
14186 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
14187 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
14188 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
14189 Define.
14190 (index_Fast_Copy_Backward): Define.
14191 (HAS_ARCH_FEATURE): Define.
14192 (HAS_FAST_REP_STRING): Define.
14193 (HAS_FAST_COPY_BACKWARD): Define.
14194
14195 2010-06-21 Andreas Schwab <schwab@redhat.com>
14196
14197 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
14198 Restore proper fallback handling.
14199
14200 2010-06-19 Ulrich Drepper <drepper@redhat.com>
14201
14202 [BZ #11701]
14203 * posix/group_member.c (__group_member): Correct checking loop.
14204
14205 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
14206 OOM in getpwuid_r correctly. Return error number when the caller
14207 should return, otherwise -1.
14208 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
14209 call returning > 0 value.
14210 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
14211
14212 2010-06-07 Andreas Schwab <schwab@redhat.com>
14213
14214 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
14215 libc_nonshared.a from targets in modules-names.
14216
14217 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
14218
14219 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
14220 requires it.
14221
14222 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
14223
14224 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
14225 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
14226 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
14227 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
14228
14229 2010-06-02 Andreas Schwab <schwab@redhat.com>
14230
14231 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
14232
14233 2010-06-14 Ulrich Drepper <drepper@redhat.com>
14234
14235 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
14236 and F_GETPIPE_SZ.
14237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
14238 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
14239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
14240 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
14241 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
14242 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
14243
14244 2010-06-14 Roland McGrath <roland@redhat.com>
14245
14246 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
14247
14248 2010-06-07 Jakub Jelinek <jakub@redhat.com>
14249
14250 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
14251 __REDIRECT followed by __THROW.
14252 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
14253 * posix/getopt.h (getopt): Likewise.
14254
14255 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
14256
14257 * hurd/lookup-at.c (__file_name_lookup_at): Accept
14258 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
14259 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
14260 in AT_FLAGS.
14261 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
14262 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
14263
14264 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
14265
14266 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
14267
14268 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
14269
14270 [BZ #11640]
14271 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14272 Properly check family and model.
14273
14274 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
14275
14276 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
14277
14278 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
14279
14280 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
14281
14282 2010-05-21 Ulrich Drepper <drepper@redhat.com>
14283
14284 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
14285 symbol reference.
14286
14287 2010-05-19 Andreas Schwab <schwab@redhat.com>
14288
14289 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
14290 symbol reference.
14291
14292 2010-05-21 Andreas Schwab <schwab@redhat.com>
14293
14294 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
14295 and internal_recvmmsg.
14296 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
14297 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
14298 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
14299 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
14300
14301 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
14302 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14303 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14304
14305 2010-05-20 Andreas Schwab <schwab@redhat.com>
14306
14307 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
14308
14309 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
14310
14311 POWER7 optimizations.
14312 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
14313 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
14314
14315 2010-05-19 Ulrich Drepper <drepper@redhat.com>
14316
14317 * version.h: Update for 2.13 development version.
14318
14319 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
14320
14321 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
14322 exceptions. Return 0.
14323
14324 2010-05-07 Roland McGrath <roland@redhat.com>
14325
14326 * elf/ldconfig.c (main): Add a const.
14327
14328 2010-05-06 Ulrich Drepper <drepper@redhat.com>
14329
14330 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
14331 (args_options): Add no-idn option.
14332 (ahosts_keys_int): Add idn_flags to ai_flags.
14333 (parse_option): Handle 'i' option to clear idn_flags.
14334
14335 * malloc/malloc.c (_int_free): Possible race in the most recently
14336 added check. Only act on the data if no current modification
14337 happened.
14338
14339 See ChangeLog.17 for earlier changes.
This page took 0.740392 seconds and 5 git commands to generate.