1 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
3 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
4 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
5 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
6 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
7 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
8 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
11 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
12 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
13 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
15 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
16 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
17 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
20 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
21 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
22 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
23 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
24 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27 2012-07-25 Florian Weimer <fweimer@redhat.com>
29 * Versions.def: Add GLIBC_2.17.
30 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
31 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
32 Introduce __libc_secure_getenv.
33 * stdlib/Versions (2.17): Add secure_getenv
34 (GLIBC_PRIVATE): Add __libc_secure_getenv.
35 * stdlib/secure-getenv.c: Rename __secure_getenv to
36 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37 symbol __secure_getenv for GLIBC_2.0.
38 * stdlib/tst-secure-getenv.c: New.
39 * stdlib/Makefile (tests): Add testcase.
40 * manual/startup.texi (Environment Access): Document
42 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
44 * inet/ruserpass.c (ruserpass): Likewise.
45 * malloc/mtrace.c (mtrace): Likewise.
46 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
47 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
48 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49 * sysdeps/posix/tempname.c: Likewise. Evaluate
51 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
52 __secure_getenv to __libc_secure_getenv.
53 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
54 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
59 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
60 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
61 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
63 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
66 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69 (struct La_i86_retval): Likewise.
70 (struct La_x86_64_regs): Likewise.
71 (struct La_x86_64_retval): Likewise.
72 (struct La_x32_regs): Likewise.
73 (struct La_x32_retval): Likewise.
74 (struct La_ppc32_regs): Likewise.
75 (struct La_ppc32_retval): Likewise.
76 (struct La_ppc64_regs): Likewise.
77 (struct La_ppc64_retval): Likewise.
78 (struct La_sh_regs): Likewise.
79 (struct La_sh_retval): Likewise.
80 (struct La_s390_32_regs): Likewise.
81 (struct La_s390_32_retval): Likewise.
82 (struct La_s390_64_regs): Likewise.
83 (struct La_s390_64_retval): Likewise.
84 (struct La_sparc32_regs): Likewise.
85 (struct La_sparc32_retval): Likewise.
86 (struct La_sparc64_regs): Likewise.
87 (struct La_sparc64_retval): Likewise.
88 (struct audit_ifaces): Remove architecture-specific pltenter and
90 * sysdeps/i386/ldsodefs.h: New file.
91 * sysdeps/powerpc/ldsodefs.h: Likewise.
92 * sysdeps/s390/ldsodefs.h: Likewise.
93 * sysdeps/sh/ldsodefs.h: Likewise.
94 * sysdeps/sparc/ldsodefs.h: Likewise.
95 * sysdeps/x86_64/ldsodefs.h: Likewise.
97 2012-07-25 Marek Polacek <polacek@redhat.com>
100 * math/libm-test.inc (yn_test): Add another test.
101 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
102 to ERANGE when the result is +-Inf.
103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
104 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
106 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
108 2012-07-24 Joseph Myers <joseph@codesourcery.com>
110 * conform/data/time.h-data (NULL): Use macro-constant. Require
112 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
114 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
116 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
118 * configure.in <sysdeps resolving>: Correct printing
120 * configure: Regenerate.
122 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
124 * math/w_ilogb.c: Include <limits.h>.
125 * math/w_ilogbl.c: Likewise.
127 2012-07-20 Joseph Myers <joseph@codesourcery.com>
129 * manual/lang.texi (__va_copy): Document primarily as ISO C99
130 va_copy. Document allowing for unavailable va_copy only as
131 pre-C99 compatibility.
132 * manual/string.texi (Copying and Concatenation): Use va_copy
133 instead of __va_copy in concat example.
135 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
137 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
138 (__sendto): Use create_address_port. Initialize APORT and deallocate
141 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
142 with O_NOLINK passed to __file_name_lookup.
144 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
145 with O_NOLINK passed to __file_name_lookup.
147 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
148 negative N or less than NGIDS.
150 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
151 type to string_t. Set ERANGE as errno and return it if NAME is not big
152 enough. Use memcpy instead of strncpy.
154 2012-07-20 Joseph Myers <joseph@codesourcery.com>
156 * elf/Makefile (check-data): Remove.
157 (localplt.data): New vpath directive.
158 ($(objpfx)check-localplt.out): Use localplt.data from vpath
159 instead of $(check-data).
160 * scripts/data/localplt-generic.data: Move to ...
161 * sysdeps/generic/localplt.data: ... here.
162 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
163 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
164 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
167 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
170 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
173 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
176 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
177 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
179 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
183 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
186 PPC32 and PPC64 files.
187 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
188 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
190 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
192 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
193 __makecontext_ret to ...
194 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
195 ... here and call exit if uc_link is NULL. New file.
196 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
198 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
199 __makecontext_ret to ...
200 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
201 ... here and call exit if uc_link is NULL. New file.
202 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
205 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
207 * elf/elf.h (R_390_IRELATIVE): New definition.
208 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
209 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
210 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
211 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
212 (elf_machine_lazy_rel): Likewise.
213 * sysdeps/s390/dl-irel.h: New file.
214 * sysdeps/s390/s390-64/memcpy.S: New asm code.
215 * sysdeps/s390/s390-64/memset.S: New asm code.
216 * sysdeps/s390/s390-64/memcmp.S: New asm code.
217 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
219 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
220 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
221 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
222 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
223 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
224 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
225 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
226 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
227 * sysdeps/s390/s390-32/memcpy.S: New asm code.
228 * sysdeps/s390/s390-32/memset.S: New asm code.
229 * sysdeps/s390/s390-32/memcmp.S: New asm code.
231 2012-07-17 Marek Polacek <polacek@redhat.com>
234 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
235 * sysdeps/s390/s390-64/configure.in: Likewise.
236 * sysdeps/sparc/configure.in: Likewise.
237 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
238 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
239 * sysdeps/i386/configure.in: Likewise.
240 * sysdeps/x86_64/configure.in: Likewise.
241 * sysdeps/sh/configure.in: Likewise.
242 * sysdeps/s390/s390-32/configure: Regenerated.
243 * sysdeps/s390/s390-64/configure: Likewise.
244 * sysdeps/x86_64/configure: Likewise.
245 * sysdeps/sh/configure: Likewise.
246 * sysdeps/powerpc/powerpc64/configure: Likewise.
247 * sysdeps/powerpc/powerpc32/configure: Likewise.
248 * sysdeps/sparc/configure: Likwise.
249 * sysdeps/i386/configure: Likewise.
251 * elf/dl-open.c: Comment fixes.
253 2012-07-17 Joseph Myers <joseph@codesourcery.com>
255 * Makefile [CXX] (check-data): Remove.
256 [CXX] (c++-types.data): New vpath directive.
257 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
258 vpath. Do not allow for C++ type data being missing.
259 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
260 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
261 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
262 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
263 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
264 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
265 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
268 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
271 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
272 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
274 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
275 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
277 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
278 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
280 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
283 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
286 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
289 * elf/tls-macros.h (TLS_LE): Move architecture-specific
290 definitions to architecture-specific files.
294 * sysdeps/i386/tls-macros.h: New file.
295 * sysdeps/powerpc/tls-macros.h: Likewise.
296 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
297 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
298 * sysdeps/sh/tls-macros.h: Likewise.
299 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
300 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
301 * sysdeps/x86_64/tls-macros.h: Likewise.
303 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
305 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
306 zero value for regular exit case.
308 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
309 (__start_context): Preserve zero value for regular exit case.
311 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
312 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
314 * manual/setjmp.texi (setcontext): Clarify normal process
315 termination when uc_link is the null pointer.
316 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
319 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
321 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
322 preprocessor. Test for each exception mask separately.
324 2012-07-16 Andreas Jaeger <aj@suse.de>
326 * po/ru.po: Update from translation team.
328 2012-07-15 Joseph Myers <joseph@codesourcery.com>
330 * conform/data/string.h-data (NULL): Use macro-constant. Require
332 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
333 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
334 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
335 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
338 2012-07-13 Andreas Jaeger <aj@suse.de>
340 * po/fr.po: Update from translation team.
342 2012-07-12 Marek Polacek <polacek@redhat.com>
345 * math/libm-test.inc (yn_test): Add test for BZ #14173.
346 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
349 2012-07-12 Joseph Myers <joseph@codesourcery.com>
352 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
353 Change to 2.4.1 where previously 2.4.0.
354 * sysdeps/unix/sysv/linux/configure: Regenerated.
355 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
356 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
358 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
359 (__ASSUME_AT_CLKTCK): Remove.
360 (__ASSUME_AT_PAGESIZE): Likewise.
361 (__ASSUME_AT_XID): Likewise.
362 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
363 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
364 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
366 (HAVE_AUX_PAGESIZE): Likewise.
367 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
368 [__ASSUME_AT_CLKTCK]: Make code unconditional.
369 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
371 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
374 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
375 the temporary buffer used to invoke __gethostbyname2_r,
376 __gethostbyaddr_r and gethostbyname4_r to make room for struct
377 host_data / struct gaih_addrtuple.
378 * resolv/nss_dns/dns-host.c (global scope): Move definition of
379 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
380 header file nss/nsswitch.h.
381 * nss/nsswitch.h (global scope): Add definition of implementation
382 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
383 resolv/nss_dns/dns-host.c).
385 2012-07-11 Andreas Jaeger <aj@suse.de>
387 * po/fr.po: Update from translation team.
389 * po/sv.po: Update from translation team
390 * po/fr.po: Another update from translation team.
392 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
394 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
395 for subnormals or multiply small sinh result by itself.
396 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
399 2012-07-11 David S. Miller <davem@davemloft.net>
401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
403 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
406 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
407 (INTERNAL_MARK): Shift it here.
409 2012-07-10 Marek Polacek <polacek@redhat.com>
412 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
413 libc_cv_asm_global_directive with .globl.
414 * configure: Regenerated.
415 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
417 * sysdeps/i386/configure: Regenerated.
418 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
420 * sysdeps/x86_64/configure: Regenerated.
421 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
422 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
423 * elf/tst-unique2mod2.c: Likewise.
424 * elf/tst-unique2mod1.c: Likewise.
425 * elf/tst-unique1mod2.c: Likewise.
426 * elf/tst-unique1mod1.c: Likewise.
427 * sysdeps/s390/s390-32/sysdep.h: Likewise.
428 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
429 * sysdeps/s390/s390-64/sysdep.h: Likewise.
430 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
431 * sysdeps/mach/sysdep.h: Likewise.
432 * sysdeps/i386/sysdep.h: Likewise.
433 * sysdeps/i386/i386-mcount.S: Likewise.
434 * sysdeps/x86_64/_mcount.S: Likewise.
435 * sysdeps/x86_64/sysdep.h: Likewise.
436 * sysdeps/sh/_mcount.S: Likewise.
437 * sysdeps/sh/sysdep.h: Likewise.
438 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
439 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
440 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
441 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
442 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
443 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
444 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
445 * locale/localeinfo.h: Likewise.
446 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
447 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
449 2012-07-09 Roland McGrath <roland@hack.frob.com>
452 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
454 * manual/message.texi (The Uniforum approach): Likewise.
455 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
456 (glibc iconv Implementation): Likewise.
458 2012-07-09 Joseph Myers <joseph@codesourcery.com>
461 * math/s_clog.c (__clog): Avoid scaling a value down where that
462 could result in underflow.
463 * math/s_clog10.c (__clog10): Likewise.
464 * math/s_clog10f.c (__clog10f): Likewise.
465 * math/s_clog10l.c (__clog10l): Likewise.
466 * math/s_clogf.c (__clogf): Likewise.
467 * math/s_clogl.c (__clogl): Likewise.
468 * math/libm-test.inc (clog_test): Add more tests.
469 (clog10_test): Likewise.
470 * sysdeps/i386/fpu/libm-test-ulps: Update.
471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
473 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
476 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
477 by 7 not 8 to examine high bit of fractional part.
480 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
481 for call to __mcount_internal.
482 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
483 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
484 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
486 2012-07-06 Joseph Myers <joseph@codesourcery.com>
489 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
490 approximation for values within 0x1p-13f of an odd multiple of
492 * math/libm-test.inc (tan_test): Do not allow spurious underflow
493 exception. Add more tests.
494 * sysdeps/i386/fpu/libm-test-ulps: Update.
497 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
498 inputs and return -1 for them. Do not check for +Inf in case not
500 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
501 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
502 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
503 and return -1 for them. Do not check for +Inf in case not
505 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
507 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
508 and return -1 for them. Do not check for +Inf in case not
510 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
512 * sysdeps/i386/fpu/libm-test-ulps: Update.
513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
515 2012-07-06 Mike Frysinger <vapier@gentoo.org>
517 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
519 2012-07-05 Joseph Myers <joseph@codesourcery.com>
523 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
524 could result in spurious underflow. Scale down values above
525 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
526 * math/s_csqrtf.c (__csqrtf): Likewise.
527 * math/s_csqrtl.c (__csqrtl): Likewise.
528 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
530 * sysdeps/i386/fpu/libm-test-ulps: Update.
531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
533 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
535 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
537 * catgets/xopen-msg.awk: New file.
538 * catgets/xopen-msg.sed: Removed.
540 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
542 * intl/po2test.awk: New file.
543 * intl/po2test.sed: Removed.
545 2012-07-04 Joseph Myers <joseph@codesourcery.com>
548 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
549 or multiply small sinh result by itself.
550 * math/s_ctanf.c (__ctanf): Likewise.
551 * math/s_ctanh.c (__ctanh): Likewise.
552 * math/s_ctanhf.c (__ctanhf): Likewise.
553 * math/s_ctanhl.c (__ctanhl): Likewise.
554 * math/s_ctanl.c (__ctanl): Likewise.
555 * math/libm-test.inc (ctan_test_tonearest): New function.
556 (ctan_test_towardzero): Likewise.
557 (ctan_test_downward): Likewise.
558 (ctan_test_upward): Likewise.
559 (ctanh_test_tonearest): Likewise.
560 (ctanh_test_towardzero): Likewise.
561 (ctanh_test_downward): Likewise.
562 (ctanh_test_upward): Likewise.
563 (main): Call these new functions.
564 * sysdeps/i386/fpu/libm-test-ulps: Update.
565 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
567 2012-07-03 Mike Frysinger <vapier@gentoo.org>
569 * .gitignore: Delete /ports entry.
571 2012-07-03 Andreas Jaeger <aj@suse.de>
573 * po/bg.po: Update from translation team.
574 * po/cs.po: Likewise.
575 * po/de.po: Likewise.
576 * po/hr.po: Likewise.
577 * po/nl.pl: Likewise.
578 * po/pl.po: Likewise.
579 * po/vi.po: Likewise.
581 2012-07-03 Joseph Myers <joseph@codesourcery.com>
583 * Makeconfig [!+link] (+link-before-libc): New variable.
584 [!+link] (+link-after-libc): Likewise.
585 [!+link] (+link-tests): Likewise.
586 [!+link] (+link): Define in terms of $(+link-before-libc) and
588 [!+link-static] (+link-static-before-libc): New variable.
589 [!+link-static] (+link-static-after-libc): Likewise.
590 [!+link-static] (+link-static-tests): Likewise.
591 [!+link-static] (+link-static): Define in terms of
592 $(+link-static-before-libc) and $(+link-static-after-libc).
593 [build-shared] (link-libc-before-gnulib): New variable.
594 [build-shared] (link-libc-tests): Likewise.
595 [build-shared] (link-libc): Define in terms of
596 $(link-libc-before-gnulib).
597 [!build-shared] (link-libc-tests): New variable.
598 (link-libc-static-tests): New variable.
599 [!gnulib] (gnulib-arch): New variable.
600 [!gnulib] (gnulib-tests): Likewise.
601 [!gnulib] (static-gnulib-arch): Likewise.
602 [!gnulib] (static-gnulib-tests): Likewise.
603 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
604 Define with "=" instead of ":=".
605 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
606 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
607 * Rules (binaries-all-notests): New variable.
608 (binaries-all-tests): Likewise.
609 (binaries-static-notests): Likewise.
610 (binaries-static-tests): Likewise.
611 (binaries-all): Define using $(binaries-all-notests) and
612 $(binaries-all-tests).
613 (binaries-static): Define using $(binaries-static-notests) and
614 $(binaries-static-tests).
615 (binaries-shared-tests): New variable.
616 (binaries-shared-notests): Likewise.
617 (binaries-shared): Remove variable.
618 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
619 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
620 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
621 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
622 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
623 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
624 * elf/Makefile (sln-modules): New variable.
625 (extra-objs): Add $(sln-modules:=.o).
626 (ldconfig-modules): Add static-stubs.
627 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
628 * elf/static-stubs.c: New file.
631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
632 by 7 not 8 to examine high bit of fractional part. Use volatile
633 variables when splitting into final array of floats if
634 __FLT_EVAL_METHOD__ != 0.
635 * math/libm-test.inc (cos_test): Add another test.
636 (sin_test): Likewise.
637 * sysdeps/i386/fpu/libm-test-ulps: Update.
640 * math/libm-test.inc (cosh_test): Add more tests.
642 * version.h (RELEASE): Set to "development".
643 (VERSION): Set to "2.16.90".
645 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
647 * NEWS: Update copyright. Remove last-updated date.
648 Mention math library bug fixes and timezone data changes.
649 * README: Mention GNU/Hurd, x32, and HPPA support status.
651 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
653 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
655 2012-06-27 Andreas Jaeger <aj@suse.de>
657 * manual/contrib.texi (Contributors): Add Samuel Thibault.
659 2012-06-25 Andreas Jaeger <aj@suse.de>
661 * sysdeps/s390/fpu/libm-test-ulps: Update.
663 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
664 Thomas Schwinge <thomas@codesourcery.com>
666 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
667 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
668 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
671 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
673 * sysdeps/mach/start.c: Remove file.
674 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
675 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
676 * sysdeps/sh/init-first.c: Likewise.
678 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
679 registers for frame unwinding purposes, add CFI directives.
680 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
681 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
682 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
685 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
686 __fortify_fail returning.
687 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
689 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
690 sysdeps/sh/____longjmp_chk.S.
691 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
692 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
693 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
694 (gen-as-const-headers): Append sigaltstack-offsets.sym.
696 * sysdeps/sh/abort-instr.h: New file.
697 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
698 process in case exit returns.
700 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
701 initialize the GOT register before use.
703 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
704 calculation of ARGC > 4.
706 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
707 meaningful names to some local labels.
709 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
710 Kaz Kojima <kkojima@rr.iij4u.or.jp>
712 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
713 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
714 (__arch_compare_and_exchange_val_16_acq): Likewise.
715 (__arch_compare_and_exchange_val_32_acq): Likewise.
716 (atomic_exchange_and_add): Fix gUSA sequence.
717 (atomic_add): Likewise.
718 (atomic_add_negative): Likewise.
719 (atomic_add_zero): Likewise.
720 (atomic_bit_test_set): Likewise.
722 2012-06-22 Andreas Schwab <schwab@redhat.com>
725 * include/link.h (struct link_map): Add l_free_initfini.
726 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
728 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
729 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
730 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
733 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
735 * configure.in: Use AC_LANG_SOURCE.
736 * configure: Regenerate.
738 2012-06-22 Roland McGrath <roland@hack.frob.com>
740 * configure.in (libc_cv_localstatedir): New substituted variable.
741 * configure: Regenerated.
742 * config.make.in (localstatedir): New variable, substituted from
743 libc_cv_localstatedir.
744 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
745 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
746 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
747 * sysdeps/gnu/configure: Regenerated.
749 2012-06-21 Jeff Law <law@redhat.com>
752 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
753 free. Simplify list management for _LIBC case.
755 2012-06-21 Joseph Myers <joseph@codesourcery.com>
758 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
759 Clear sign bit of 64-bit integer value before comparing against
762 * sysdeps/mach/configure: Regenerated.
764 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
767 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
769 2012-06-21 Jeff Law <law@redhat.com>
772 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
773 uint16_t for elements in the "seen" array to avoid char overflows.
774 * elf/dl-fini.c (_dl_sort_fini): Likewise.
775 * elf/dl-open.c (dl_open_worker): Likewise.
777 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
779 * scripts/list-sources.sh: Scan PORTS for translations.
780 * po/libc.pot: Regenerated.
782 2012-06-21 Andreas Jaeger <aj@suse.de>
785 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
787 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
788 * bits/byteswap-16.h (__bswap_16): Likewise.
789 * bits/byteswap.h (__bswap_constant_16): Likewise.
791 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
794 * sysdeps/i386/fpu_control.h: Removed.
795 * sysdeps/x86_64/fpu_control.h: Moved to ...
796 * sysdeps/x86/fpu_control.h: Here.
798 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
799 (_FPU_SETCW): Likewise.
801 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
804 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
805 * sysdeps/x86/fpu/bits/mathinline.h: This.
806 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
810 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
811 functions if __x86_64__ is defined.
813 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
815 * string/endian.h: Add !__ASSEMBLER__ condition for including
816 conversion interfaces.
818 2012-06-15 Joseph Myers <joseph@codesourcery.com>
821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
822 of ABS(x) in calculating zero to negative powers other than odd
824 * math/libm-test.inc (pow_test): Add more tests.
826 2012-06-15 Andreas Jaeger <aj@suse.de>
828 * manual/contrib.texi (Contributors): Update entry of Liubov
829 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
832 2012-06-15 Cyril Hrubis <metan@ucw.cz>
834 * string/string.h: Add __wur to GNU version of strerror_r.
836 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
839 * string/Makefile (tests): Add tst-strtok_r.
840 * string/tst-strtok_r.c: New file.
841 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
842 RAX_LP/RDX_LP on SAVE_PTR.
844 2012-06-14 Roland McGrath <roland@hack.frob.com>
846 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
848 2012-06-14 Joseph Myers <joseph@codesourcery.com>
850 * libm_test.inc (csqrt_test): Allow more spurious underflow
857 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
859 * po/Makefile (libc.pot): Use UTF-8 charset.
861 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
864 Suppress sign-conversion warning from FD_SET.
865 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
866 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
867 not unsigned long int.
868 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
870 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
874 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
875 __extern_always_inline instead of __extern_inline.
876 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
877 (__signbit): Likewise.
878 (__signbitl): Support C++ namespace.
879 (lrintf): New inline function.
893 (nearbyint): Likewise.
894 (nearbyintf): Likewise.
896 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
898 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
899 non-default versions.
901 2012-06-11 Roland McGrath <roland@hack.frob.com>
904 * manual/argp.texi (Argp): Reword argp_parse description slightly.
906 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
908 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
909 (FE_UPWARD, FE_DOWNWARD): Don't define.
910 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
911 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
913 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
915 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
916 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
918 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
920 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
921 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
922 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
923 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
925 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
928 * sysdeps/i386/fpu/bits/fenv.h: Removed.
929 * sysdeps/i386/fpu/Implies: New file.
930 * sysdeps/x86_64/fpu/Implies: Likewise.
931 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
932 * sysdeps/x86/fpu/bits/fenv.h: This.
934 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
937 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
940 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
941 character 0xffff that matches the last element of the
944 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
946 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
949 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
951 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
952 values higher than 25.6283.
954 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
956 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
957 subnormal exponent extraction and add some __builtin_expect.
958 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
959 Fix for subnormal mantissa calculation.
961 2012-06-04 Mike Frysinger <vapier@gentoo.org>
963 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
964 cpu2 is -1 and errno is not ENOSYS.
966 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
969 * sysdeps/i386/i486/bits/string.h: Renamed to ...
970 * sysdeps/x86/bits/string.h: This.
971 * sysdeps/x86_64/bits/string.h: Removed.
973 * sysdeps/i386/i486/bits/string.h: Define inline functions only
974 if not compiling for x86-64, but compiling for >= i486.
976 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
977 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
979 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
980 New macro from Linux kernel 3.4.0.
981 (FP_XSTATE_MAGIC2): Likewise.
982 (FP_XSTATE_MAGIC2_SIZE): Likewise.
983 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
984 (struct _fpx_sw_bytes): New struct.
985 (struct _xsave_hdr): Likewise.
986 (struct _ymmh_state): Likewise.
987 (struct _xstate): Likewise.
989 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
990 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
991 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
992 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
993 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
994 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
996 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
997 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
998 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
999 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
1000 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
1001 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
1003 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1006 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
1007 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
1008 (sysdep_headers): Include sys/platform/ppc.h.
1009 * sysdeps/powerpc/test-gettimebase.c: Test for
1010 __ppc_get_timebase() to catch future ISA opcode/insn changes.
1011 * manual/Makefile (appendices): Include platform.texi.
1012 * manual/contrib.texi (Contributors): Update @node pointers.
1013 * manual/maint.texi (Maintenance): Likewise.
1014 (Platform): New node.
1015 * manual/platform.texi: New file. Document the new features.
1017 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1018 Jakub Jelinek <jakub@redhat.com>
1021 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
1022 where __builtin_expect is unavailable.
1024 2012-06-03 David S. Miller <davem@davemloft.net>
1026 * stdlib/longlong.h: Updated from GCC.
1028 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
1031 * sysdeps/powerpc/powerpc32/mcount.c: New file.
1032 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
1035 (GLIBC_2.16): Likewise.
1037 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1039 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
1041 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1044 (default-abi): New variable.
1045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
1046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
1048 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
1050 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
1052 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
1055 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
1056 definition. Document in comment.
1058 2012-06-01 David S. Miller <davem@davemloft.net>
1060 * stdlib/longlong.h: Updated from GCC.
1062 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1065 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
1066 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
1067 sys/debugreg.h sys/io.h here.
1068 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
1069 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
1071 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
1072 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
1073 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
1074 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
1075 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
1076 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
1078 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
1079 Define only if __x86_64__ is defined.
1081 2012-06-01 Joseph Myers <joseph@codesourcery.com>
1084 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
1085 Use int64_t for variable i.
1086 * math/libm-test.inc (fmod_test): Add more tests.
1088 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
1089 z computation is not scheduled after fetestexcept.
1090 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
1091 Use math_force_eval instead of asm to ensure calculation scheduled
1092 before exception test.
1093 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
1094 Ensure a1 + u.d computation is not scheduled after fetestexcept.
1096 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
1098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
1099 computation is not scheduled after fetestexcept.
1101 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
1104 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
1105 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
1107 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1109 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
1110 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
1112 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1115 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
1117 (__WCHAR_MIN): Support __WORDSIZE == 64.
1118 (__WCHAR_MAX): Likewise.
1120 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
1121 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
1124 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
1125 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
1128 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
1129 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
1131 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
1132 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
1134 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
1135 Defined to 1 if __x86_64__ isn't defined.
1136 (_STAT_VER_LINUX_OLD): New.
1137 (st_atime): Remove duplicate.
1138 (st_mtime): Likewise.
1139 (st_ctime): Likewise.
1141 2012-05-31 David S. Miller <davem@davemloft.net>
1143 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
1146 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
1148 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
1152 * elf/dl-reloc.c: Include <_itoa.h>.
1153 (_dl_reloc_bad_type): Remove use of INTUSE.
1154 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
1155 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
1156 * stdio-common/psiginfo.c (psiginfo): Likewise.
1157 * stdio-common/psignal.c (psignal): Likewise.
1158 * string/strsignal.c (strsignal): Likewise.
1159 * include/signal.h (_sys_siglist): Declare hidden proto.
1160 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
1161 INTVARDEF with libc_hidden_data_def.
1162 * stdio-common/itoa-udigits.c: Likewise.
1163 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
1164 (_itoa_lower_digits_internal): Remove declaration.
1165 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
1166 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
1167 (_sys_sigabbrev_internal): Remove aliases.
1168 (_sys_siglist): Define hidden alias.
1170 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
1172 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
1175 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
1178 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
1179 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
1181 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
1182 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
1183 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
1184 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
1185 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
1186 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
1188 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
1189 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
1190 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
1192 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
1200 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
1201 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
1202 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
1204 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
1205 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
1206 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
1207 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
1208 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
1209 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
1211 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
1212 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
1214 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
1215 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
1217 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
1218 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
1219 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
1221 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
1222 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
1224 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
1226 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
1227 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
1228 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
1230 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
1232 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
1234 2012-05-31 Joseph Myers <joseph@codesourcery.com>
1236 * math/math.h (M_El): Use two more decimal places.
1237 (M_LOG2El): Likewise.
1238 (M_LOG10El): Likewise.
1240 (M_LN10l): Likewise.
1242 (M_PI_2l): Likewise.
1243 (M_PI_4l): Likewise.
1244 (M_1_PIl): Likewise.
1245 (M_2_PIl): Likewise.
1246 (M_2_SQRTPIl): Likewise.
1247 (M_SQRT2l): Likewise.
1248 (M_SQRT1_2l): Likewise.
1250 2012-05-31 David S. Miller <davem@davemloft.net>
1252 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
1253 values between float registers.
1254 * sysdeps/sparc/sparc64/memset.S: Likewise.
1255 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1257 2012-05-31 Mike Frysinger <vapier@gentoo.org>
1259 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
1260 -D_FORTIFY_SOURCE=1.
1261 (CPPFLAGS-tst-longjmp_chk.c): Define.
1262 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
1263 (CPPFLAGS-tst-longjmp_chk2.c): Define.
1264 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
1265 CFLAGS-tst-wchar-h.c.
1267 2012-05-31 Marek Polacek <polacek@redhat.com>
1270 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
1271 __endmntent_internal): Remove declaration.
1272 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
1273 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
1274 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
1276 2012-05-30 David S. Miller <davem@davemloft.net>
1278 * sysdeps/sparc/sparc32/soft-fp/q_util.c
1279 (___Q_simulate_exceptions): Use real FP ops rather than writing
1281 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
1284 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1287 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
1288 * sysdeps/x86/bits/xtitypes.h: This.
1290 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
1291 * sysdeps/x86/bits/wordsize.h: This.
1293 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
1294 * sysdeps/x86/bits/huge_vall.h: This.
1296 * sysdeps/i386/bits/select.h: Removed.
1297 * sysdeps/x86_64/bits/select.h: Renamed to ...
1298 * sysdeps/x86/bits/select.h: This.
1300 * sysdeps/i386/bits/setjmp.h: Removed.
1301 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
1302 * sysdeps/x86/bits/setjmp.h: This.
1304 * sysdeps/i386/bits/mathdef.h: Removed.
1305 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
1306 * sysdeps/x86/bits/mathdef.h: This.
1308 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
1311 * include/sys/socket.h (__connect_internal)
1312 (__libc_sa_len_internal): Remove declaration.
1313 (__connect, __libc_sa_len): Declare hidden_proto.
1314 (SA_LEN): Remove use of INTUSE.
1315 * socket/connect.c: Add libc_hidden_def.
1316 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
1317 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
1318 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
1320 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
1321 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
1322 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
1323 of adding _internal alias.
1325 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1328 * sysdeps/i386/bits/link.h: Removed.
1329 * sysdeps/i386/bits/linkmap.h: Likewise.
1330 * sysdeps/x86_64/bits/link.h: Renamed to ...
1331 * sysdeps/x86/bits/link.h: This.
1332 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
1333 * sysdeps/x86/bits/linkmap.h: This.
1335 * sysdeps/i386/bits/endian.h: Removed.
1336 * sysdeps/x86_64/bits/endian.h: Renamed to ...
1337 * sysdeps/x86/bits/endian.h: This.
1339 * sysdeps/i386/bits/byteswap.h: Removed.
1340 * sysdeps/i386/bits/byteswap-16.h: Likewise.
1341 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
1342 * sysdeps/x86/bits/byteswap.h: This.
1343 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
1344 * sysdeps/x86/bits/byteswap-16.h: This.
1345 * sysdeps/i386/Implies: Add x86.
1346 * sysdeps/x86_64/Implies: Likewise.
1348 2012-05-30 David S. Miller <davem@davemloft.net>
1350 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
1351 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
1352 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
1353 (FP_TRAPPING_EXCEPTIONS): Define.
1354 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
1355 (FP_TRAPPING_EXCEPTIONS): Define.
1356 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
1357 subnormals only when inexact has been signalled or underflow
1358 exceptions are enabled.
1359 (_FP_PACK_CANONICAL): Likewise.
1361 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1364 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
1365 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
1367 2012-05-30 Richard Henderson <rth@twiddle.net>
1369 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
1370 with #ifndef NOT_IN_libc.
1372 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
1373 marked to avoid plt entry.
1375 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
1378 * Makeconfig (default-abi): New macro.
1379 (abi-includes): Likewise.
1380 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
1381 $(abi-$(default-abi)-lib-soname) for soname if defined.
1382 ($(common-objpfx)gnu/lib-names.stmp): Generate from
1384 * Makefile (installed-stubs): Likewise.
1385 * include/stubs-biarch.h: Removed.
1386 * scripts/lib-names.awk: Only handle one library at a time.
1387 * scripts/soversions.awk: Remove WORDSIZE support.
1388 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
1390 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
1392 (syscall-list-default-condition): Likewise.
1393 (syscall-list-default-condition): Likewise.
1394 (syscall-list-includes): Likewise.
1395 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
1396 syscall-list-* with abi-*. Handle undefined abi-variants.
1397 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
1398 * sysdeps/unix/sysv/linux/i386/Implies: New file.
1399 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
1400 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
1401 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
1402 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
1404 (syscall-list-32-options): Likewise.
1405 (syscall-list-32-condition): Likewise.
1406 (syscall-list-64-options): Likewise.
1407 (syscall-list-64-condition): Likewise.
1408 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
1410 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
1413 (abi-64-ld-soname): New macro.
1414 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
1415 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
1418 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
1419 * sysdeps/x86_64/x32/shlib-versions: Likewise.
1421 2012-05-30 Joseph Myers <joseph@codesourcery.com>
1423 * sysdeps/unix/sysv/linux/kernel-features.h
1424 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
1425 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
1426 include <kernel-features.h>.
1427 [!__NR_ftruncate64]: Remove conditional code.
1428 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1429 [__NR_ftruncate64]: Make code unconditional.
1430 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1431 * sysdeps/unix/sysv/linux/truncate64.c: Do not
1432 include <kernel-features.h>.
1433 [!__NR_ftruncate64]: Remove conditional code.
1434 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1435 [__NR_ftruncate64]: Make code unconditional.
1436 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
1438 include <kernel-features.h>.
1439 [!__NR_ftruncate64]: Remove conditional code.
1440 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1441 [__NR_ftruncate64]: Make code unconditional.
1442 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
1444 include <kernel-features.h>.
1445 [!__NR_ftruncate64]: Remove conditional code.
1446 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1447 [__NR_ftruncate64]: Make code unconditional.
1448 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
1450 * configure.in (libc_cv_fpie): Weaken to a compile test using
1452 * configure: Regenerated.
1454 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
1457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
1458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
1459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
1461 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
1463 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
1464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
1466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
1469 2012-05-27 David S. Miller <davem@davemloft.net>
1471 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
1473 (__Q_simulate_exceptions): Return void. Change to simulate
1474 exceptions by writing into the %fsr.
1475 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
1476 (__Qp_handle_exceptions): Likewise.
1478 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
1479 __Qp_handle_exceptions.
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
1481 __Qp_handle_exceptions.
1482 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1483 as unused and give dummy FP_RND_NEAREST initializer.
1484 (FP_INHIBIT_RESULTS): Define.
1485 (___Q_simulate_exceptions): Update declaration.
1486 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
1488 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
1489 as unused and give dummy FP_RND_NEAREST initializer.
1490 (__Qp_handle_exceptions): Update declaration.
1491 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
1494 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
1496 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
1497 the temporary FPU control word.
1498 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1499 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
1500 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1501 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
1502 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1503 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1504 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1505 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1506 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1507 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
1508 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
1510 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
1512 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
1515 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
1517 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
1518 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
1519 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
1520 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
1522 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
1523 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
1526 2012-05-27 Ulrich Drepper <drepper@gmail.com>
1528 * po/h.po: Update from translation team.
1530 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
1532 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
1534 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
1535 handling of denormals.
1536 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
1537 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
1538 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
1539 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
1540 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
1541 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
1542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
1545 2012-05-26 Marek Polacek <polacek@redhat.com>
1548 * math/libm-test.inc (fma_test): Don't always expect underflow
1551 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
1554 * elf/tst-execstack.c: Include stackinfo.h.
1555 (do_test): Adjust test case to ensure that pthread_getattr_np
1556 behaviour remains the same after marking stack executable.
1558 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1560 * sysdeps/unix/sysv/linux/kernel-features.h
1561 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
1562 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
1564 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1565 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1566 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
1568 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
1569 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
1571 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
1573 * configure.in: Define the default includes to being none.
1574 * configure: Regenerated.
1576 2012-05-25 Roland McGrath <roland@hack.frob.com>
1578 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
1579 * sysdeps/x86_64/setjmp.S: Likewise.
1580 * sysdeps/i386/bsd-setjmp.S: Likewise.
1581 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1582 * sysdeps/i386/setjmp.S: Likewise.
1583 * sysdeps/i386/__longjmp.S: Likewise.
1584 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
1585 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
1587 * include/stap-probe.h: New file.
1588 * configure.in: Handle --enable-systemtap.
1589 * configure: Regenerated.
1590 * config.h.in (USE_STAP_PROBE): New #undef.
1591 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
1592 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
1593 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1595 2012-05-25 Joseph Myers <joseph@codesourcery.com>
1598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
1599 to 2.4.0 where earlier.
1600 * sysdeps/unix/sysv/linux/configure: Regenerated.
1601 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
1602 <kernel-features.h>.
1603 [__ASSUME_32BITUIDS]: Make code unconditional.
1604 [!__ASSUME_32BITUIDS]: Remove conditional code.
1605 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
1606 <kernel-features.h>.
1607 [__ASSUME_32BITUIDS]: Make code unconditional.
1608 [!__ASSUME_32BITUIDS]: Remove conditional code.
1609 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
1610 [__ASSUME_32BITUIDS]: Make code unconditional.
1611 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
1612 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
1613 <kernel-features.h>.
1614 [__ASSUME_32BITUIDS]: Make code unconditional.
1615 [!__ASSUME_32BITUIDS]: Remove conditional code.
1616 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
1617 <kernel-features.h>.
1618 [__ASSUME_32BITUIDS]: Make code unconditional.
1619 [!__ASSUME_32BITUIDS]: Remove conditional code.
1620 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
1621 <kernel-features.h>.
1622 [__ASSUME_32BITUIDS]: Make code unconditional.
1623 [!__ASSUME_32BITUIDS]: Remove conditional code.
1624 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
1625 <kernel-features.h>.
1626 [__ASSUME_32BITUIDS]: Make code unconditional.
1627 [!__ASSUME_32BITUIDS]: Remove conditional code.
1628 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
1629 <kernel-features.h>.
1630 [__ASSUME_32BITUIDS]: Make code unconditional.
1631 [!__ASSUME_32BITUIDS]: Remove conditional code.
1632 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
1633 <kernel-features.h>.
1634 [__ASSUME_32BITUIDS]: Make code unconditional.
1635 [!__ASSUME_32BITUIDS]: Remove conditional code.
1636 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
1637 <kernel-features.h>.
1638 [__ASSUME_32BITUIDS]: Make code unconditional.
1639 [!__ASSUME_32BITUIDS]: Remove conditional code.
1640 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
1641 <kernel-features.h>.
1642 [__ASSUME_32BITUIDS]: Make code unconditional.
1643 [!__ASSUME_32BITUIDS]: Remove conditional code.
1644 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
1645 <kernel-features.h>.
1646 [__ASSUME_32BITUIDS]: Make code unconditional.
1647 [!__ASSUME_32BITUIDS]: Remove conditional code.
1648 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
1649 <kernel-features.h>.
1650 [__ASSUME_32BITUIDS]: Make code unconditional.
1651 [!__ASSUME_32BITUIDS]: Remove conditional code.
1652 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
1653 <kernel-features.h>.
1654 [__NR_setresgid] (__setresgid): Do not declare.
1655 [__ASSUME_32BITUIDS]: Make code unconditional.
1656 [!__ASSUME_32BITUIDS]: Remove conditional code.
1657 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
1658 <kernel-features.h>.
1659 [__NR_setresuid] (__setresuid): Do not declare.
1660 [__ASSUME_32BITUIDS]: Make code unconditional.
1661 [!__ASSUME_32BITUIDS]: Remove conditional code.
1662 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
1663 <kernel-features.h>.
1664 [__ASSUME_32BITUIDS]: Make code unconditional.
1665 [!__ASSUME_32BITUIDS]: Remove conditional code.
1666 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
1667 <kernel-features.h>.
1668 [__ASSUME_32BITUIDS]: Make code unconditional.
1669 [!__ASSUME_32BITUIDS]: Remove conditional code.
1670 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
1671 <kernel-features.h>.
1672 [__ASSUME_32BITUIDS]: Make code unconditional.
1673 [!__ASSUME_32BITUIDS]: Remove conditional code.
1674 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
1675 <kernel-features.h>.
1676 [__ASSUME_32BITUIDS]: Make code unconditional.
1677 [!__ASSUME_32BITUIDS]: Remove conditional code.
1678 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
1679 <kernel-features.h>.
1680 [__ASSUME_32BITUIDS]: Make code unconditional.
1681 [!__ASSUME_32BITUIDS]: Remove conditional code.
1682 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
1683 <kernel-features.h>.
1684 [__ASSUME_32BITUIDS]: Make code unconditional.
1685 [!__ASSUME_32BITUIDS]: Remove conditional code.
1686 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
1687 <kernel-features.h>.
1688 [__ASSUME_32BITUIDS]: Make code unconditional.
1689 [!__ASSUME_32BITUIDS]: Remove conditional code.
1690 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
1691 <kernel-features.h>.
1692 [__ASSUME_32BITUIDS]: Make code unconditional.
1693 [!__ASSUME_32BITUIDS]: Remove conditional code.
1694 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
1695 <kernel-features.h>.
1696 [__ASSUME_32BITUIDS]: Make code unconditional.
1697 [!__ASSUME_32BITUIDS]: Remove conditional code.
1698 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
1699 <kernel-features.h>.
1700 [__ASSUME_32BITUIDS]: Make code unconditional.
1701 [!__ASSUME_32BITUIDS]: Remove conditional code.
1702 * sysdeps/unix/sysv/linux/kernel-features.h
1703 (__ASSUME_SETRESUID_SYSCALL): Remove.
1704 (__ASSUME_SETRESGID_SYSCALL): Likewise.
1705 (__ASSUME_32BITUIDS): Likewise.
1706 (__ASSUME_LDT_WORKS): Likewise.
1707 (__ASSUME_O_DIRECTORY): Likewise.
1708 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
1709 architecture but not kernel version.
1710 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
1711 (__ASSUME_MMAP2_SYSCALL): Likewise.
1712 (__ASSUME_STAT64_SYSCALL): Likewise.
1713 (__ASSUME_IPC64): Likewise.
1714 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
1715 <kernel-features.h>.
1716 [__ASSUME_32BITUIDS]: Make code unconditional.
1717 [!__ASSUME_32BITUIDS]: Remove conditional code.
1718 * sysdeps/unix/sysv/linux/opendir.c: Do not include
1719 <kernel-features.h>.
1720 [__ASSUME_O_DIRECTORY]: Make code unconditional.
1721 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
1722 132096]: Remove conditional code.
1723 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
1724 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
1725 <kernel-features.h>.
1726 [__ASSUME_32BITUIDS]: Make code unconditional.
1727 [!__ASSUME_32BITUIDS]: Remove conditional code.
1728 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
1729 <kernel-features.h>.
1730 [__ASSUME_32BITUIDS]: Make code unconditional.
1731 [!__ASSUME_32BITUIDS]: Remove conditional code.
1732 * sysdeps/unix/sysv/linux/setegid.c: Do not include
1733 <kernel-features.h>.
1734 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
1736 (__setresgid): Do not declare.
1737 [__ASSUME_32BITUIDS]: Make code unconditional.
1738 [!__ASSUME_32BITUIDS]: Remove conditional code.
1739 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
1740 <kernel-features.h>.
1741 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
1743 (__setresuid): Do not declare.
1744 [__ASSUME_32BITUIDS]: Make code unconditional.
1745 [!__ASSUME_32BITUIDS]: Remove conditional code.
1746 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
1747 <kernel-features.h>.
1748 [__ASSUME_32BITUIDS]: Make code unconditional.
1749 [!__ASSUME_32BITUIDS]: Remove conditional code.
1750 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
1751 <kernel-features.h>.
1752 [__ASSUME_32BITUIDS]: Make code unconditional.
1753 [!__ASSUME_32BITUIDS]: Remove conditional code.
1755 2012-05-25 Richard Henderson <rth@twiddle.net>
1757 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
1758 dl_hwcap to ifunc resolver.
1759 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
1761 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
1762 dl_hwcap to ifunc resolver.
1763 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
1765 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1768 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
1769 for |x| <= 2**-26, not 2**-57.
1770 * math/libm-test.inc (acos_test): Do not allow spurious underflow
1773 2012-05-24 Jeff Law <law@redhat.com>
1775 * stdio-common/Makefile (tests): Add bug25.
1776 * stdio-common/bug25.c: New test.
1778 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
1781 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
1782 multiple of MALLOC_ALIGNMENT in size.
1783 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
1785 2012-05-24 Joseph Myers <joseph@codesourcery.com>
1787 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
1789 (FILENAME_MAX): Use macro-int-constant.
1790 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
1791 (_IOFBF): Use macro-int-constant.
1794 (SEEK_CUR): Likewise.
1795 (SEEK_END): Likewise.
1796 (SEEK_SET): Likewise.
1797 (TMP_MAX): Likewise.
1798 (EOF): Use macro-int-constant. Require < 0.
1799 (NULL): Use macro-constant. Require == 0.
1800 (stdin): Require type to be FILE *.
1803 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
1805 (EXIT_SUCCESS): Likewise.
1806 (NULL): Use macro-constant. Require == 0.
1807 (RAND_MAX): Use macro-int-constant.
1808 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
1809 [C99-based standards] (strtof): Require function.
1810 [C99-based standards] (strtold): Likewise.
1811 [C99-based standards] (strtoll): Likewise.
1812 [C99-based standards] (strtoull): Likewise.
1813 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
1814 [ISO || ISO99 || ISO11] (limits.h): Likewise.
1815 [ISO || ISO99 || ISO11] (math.h): Likewise.
1816 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
1817 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
1818 [ISO || ISO99 || ISO11] (*_t): Do not allow.
1820 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
1823 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
1824 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
1825 * intl/dgettext.c (DCGETTEXT): Likewise.
1826 * intl/gettext.c (DCGETTEXT): Likewise.
1827 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
1828 * posix/regex_internal.h (gettext): Likewise.
1829 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
1831 * include/argz.h (__argz_count_internal)
1832 (__argz_stringify_internal): Remove declaration.
1833 (__argz_count, __argz_stringify): Declare hidden proto.
1834 * intl/dcgettext.c: Remove use of INTDEF.
1835 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
1836 * string/argz-stringify.c: Likewise.
1837 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1838 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1839 Declare hidden proto.
1840 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
1841 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
1842 Declare hidden proto.
1843 * include/stdio.h (__asprintf_internal): Don't declare.
1844 (__asprintf): Don't define as macro. Declare hidden proto.
1845 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
1846 (__fsetlocking): Declare hidden proto.
1847 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
1848 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
1850 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
1851 (_IO_setlinebuf): Remove use of INTUSE.
1852 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
1853 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
1854 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
1856 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
1857 (_IO_do_flush): Remove use of INTUSE.
1858 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
1859 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
1860 (_IO_adjust_column, _IO_least_wmarker)
1861 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
1862 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
1863 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
1864 (_IO_default_doallocate, _IO_wdefault_doallocate)
1865 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
1866 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
1867 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
1868 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
1869 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
1870 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
1871 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
1872 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
1873 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
1874 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
1875 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
1876 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
1877 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
1879 (_IO_flush_all_internal, _IO_adjust_column_internal)
1880 (_IO_default_uflow_internal, _IO_default_finish_internal)
1881 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
1882 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
1883 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
1884 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
1885 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
1886 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
1887 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
1888 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
1889 (_IO_file_close_internal, _IO_file_close_it_internal)
1890 (_IO_file_underflow_internal, _IO_file_overflow_internal)
1891 (_IO_file_init_internal, _IO_file_attach_internal)
1892 (_IO_file_fopen_internal, _IO_file_read_internal)
1893 (_IO_file_sync_internal, _IO_file_seek_internal)
1894 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
1895 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
1896 (_IO_str_underflow_internal, _IO_str_overflow_internal)
1897 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
1898 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
1899 (_IO_list_all_internal, _IO_link_in_internal)
1900 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
1901 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
1902 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
1903 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
1904 (_IO_do_write_internal, _IO_padn_internal)
1905 (_IO_getline_info_internal, _IO_getline_internal)
1906 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
1907 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
1908 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
1909 (_IO_vfscanf_internal, _IO_vfprintf_internal)
1910 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
1911 (_IO_init_internal, _IO_un_link_internal): Don't declare.
1912 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
1913 with libc_hidden_ver, remove use of INTUSE.
1914 * libio/genops.c: Likewise.
1915 * libio/freopen.c: Likewise.
1916 * libio/freopen64.c: Likewise.
1917 * libio/iofclose.c: Likewise.
1918 * libio/iofdopen.c: Likewise.
1919 * libio/iofflush.c: Likewise.
1920 * libio/iofflush_u.c: Likewise.
1921 * libio/iofgets.c: Likewise.
1922 * libio/iofgets_u.c: Likewise.
1923 * libio/iofopen.c: Likewise.
1924 * libio/iofopncook.c: Likewise.
1925 * libio/iofread.c: Likewise.
1926 * libio/iofread_u.c: Likewise.
1927 * libio/ioftell.c: Likewise.
1928 * libio/iofwrite.c: Likewise.
1929 * libio/iogetline.c: Likewise.
1930 * libio/iogets.c: Likewise.
1931 * libio/iogetwline.c: Likewise.
1932 * libio/iopadn.c: Likewise.
1933 * libio/iopopen.c: Likewise.
1934 * libio/ioseekoff.c: Likewise.
1935 * libio/ioseekpos.c: Likewise.
1936 * libio/iosetbuffer.c: Likewise.
1937 * libio/iosetvbuf.c: Likewise.
1938 * libio/ioungetc.c: Likewise.
1939 * libio/ioungetwc.c: Likewise.
1940 * libio/iovdprintf.c: Likewise.
1941 * libio/iovsprintf.c: Likewise.
1942 * libio/iovsscanf.c: Likewise.
1943 * libio/memstream.c: Likewise.
1944 * libio/obprintf.c: Likewise.
1945 * libio/oldfileops.c: Likewise.
1946 * libio/oldiofclose.c: Likewise.
1947 * libio/oldiofdopen.c: Likewise.
1948 * libio/oldiofopen.c: Likewise.
1949 * libio/oldiopopen.c: Likewise.
1950 * libio/oldstdfiles.c: Likewise.
1951 * libio/putc.c: Likewise.
1952 * libio/setbuf.c: Likewise.
1953 * libio/setlinebuf.c: Likewise.
1954 * libio/stdfiles.c: Likewise.
1955 * libio/strops.c: Likewise.
1956 * libio/vasprintf.c: Likewise.
1957 * libio/vscanf.c: Likewise.
1958 * libio/vsnprintf.c: Likewise.
1959 * libio/vswprintf.c: Likewise.
1960 * libio/wfiledoalloc.c: Likewise.
1961 * libio/wfileops.c: Likewise.
1962 * libio/wgenops.c: Likewise.
1963 * libio/wmemstream.c: Likewise.
1964 * libio/wstrops.c: Likewise.
1965 * libio/__fpurge.c: Likewise.
1966 * libio/__fsetlocking.c: Likewise.
1967 * assert/assert.c: Likewise.
1968 * debug/fgets_chk.c: Likewise.
1969 * debug/fgets_u_chk.c: Likewise.
1970 * debug/fread_chk.c: Likewise.
1971 * debug/fread_u_chk.c: Likewise.
1972 * debug/gets_chk.c: Likewise.
1973 * debug/obprintf_chk.c: Likewise.
1974 * debug/vasprintf_chk.c: Likewise.
1975 * debug/vdprintf_chk.c: Likewise.
1976 * debug/vsnprintf_chk.c: Likewise.
1977 * debug/vsprintf_chk.c: Likewise.
1978 * malloc/mtrace.c: Likewise.
1979 * misc/error.c: Likewise.
1980 * misc/syslog.c: Likewise.
1981 * stdio-common/asprintf.c: Likewise.
1982 * stdio-common/fxprintf.c: Likewise.
1983 * stdio-common/getw.c: Likewise.
1984 * stdio-common/isoc99_fscanf.c: Likewise.
1985 * stdio-common/isoc99_scanf.c: Likewise.
1986 * stdio-common/isoc99_vfscanf.c: Likewise.
1987 * stdio-common/isoc99_vscanf.c: Likewise.
1988 * stdio-common/isoc99_vsscanf.c: Likewise.
1989 * stdio-common/printf-prs.c: Likewise.
1990 * stdio-common/printf_fp.c: Likewise.
1991 * stdio-common/printf_fphex.c: Likewise.
1992 * stdio-common/printf_size.c: Likewise.
1993 * stdio-common/putw.c: Likewise.
1994 * stdio-common/scanf.c: Likewise.
1995 * stdio-common/sprintf.c: Likewise.
1996 * stdio-common/tmpfile.c: Likewise.
1997 * stdio-common/vfprintf.c: Likewise.
1998 * stdio-common/vfscanf.c: Likewise.
1999 * stdlib/strfmon_l.c: Likewise.
2000 * sunrpc/openchild.c: Likewise.
2001 * sunrpc/xdr_stdio.c: Likewise.
2002 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2003 * sysdeps/mach/hurd/tmpfile.c: Likewise.
2005 2012-05-24 Roland McGrath <roland@hack.frob.com>
2007 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2009 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
2010 in the third column, to generate for the shared library an IFUNC
2011 that uses _dl_vdso_vsym.
2012 * Makerules (COMPILE.c, compile-stdin.c): New variables.
2013 * Makeconfig (object-suffixes-noshared): New variable.
2015 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
2016 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
2017 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
2018 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
2021 * include/sys/time.h (__gettimeofday): Remove macro.
2022 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
2023 * time/gettimeofday.c (__gettimeofday): Remove #undef.
2025 (__gettimeofday): Add libc_hidden_def.
2026 (gettimeofday): Add libc_hidden_weak.
2027 * sysdeps/mach/gettimeofday.c: Likewise.
2028 * sysdeps/posix/gettimeofday.c: Likewise.
2029 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2030 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
2031 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
2032 (__gettimeofday_internal): Remove strong_alias.
2033 (__gettimeofday): Add libc_hidden_def.
2034 (gettimeofday): Add libc_hidden_weak.
2035 * sysdeps/unix/syscalls.list (gettimeofday):
2036 Remove __gettimeofday_internal alias.
2038 2012-05-24 Daniel Jacobowitz <drow@false.org>
2039 H.J. Lu <hongjiu.lu@intel.com>
2042 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
2043 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
2044 (largebin_index_32_big): New.
2045 (largebin_index): Use it for 16-byte alignment.
2046 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
2047 correction with front_misalign.
2049 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
2051 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
2052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2054 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
2056 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
2058 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
2060 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
2062 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
2064 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
2066 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
2068 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
2070 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
2072 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2074 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
2077 * scripts/data/c++-types-x32-linux-gnu.data: New file.
2078 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
2080 2012-05-24 Joseph Myers <joseph@codesourcery.com>
2084 * math/libm-test.inc (exp_test): Add test from bug 14036.
2085 (pow_test): Add test from bug 10846.
2087 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
2089 (special_function): Do not include flags in test name.
2090 (parse_args): Likewise.
2091 * sysdeps/i386/fpu/libm-test-ulps: Update.
2092 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2093 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2094 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2095 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2097 * math/gen-libm-test.pl (%beautify): Add entries for underflow
2099 * math/libm-test.inc ("Philosophy"): Update comment about
2101 (UNDERFLOW_EXCEPTION): New macro.
2102 (UNDERFLOW_EXCEPTION_OK): Likewise.
2103 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
2104 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
2105 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
2106 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
2107 (INVALID_EXCEPTION_OK): Update value.
2108 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2109 (OVERFLOW_EXCEPTION_OK): Likewise.
2110 (IGNORE_ZERO_INF_SIGN): Likewise.
2111 (test_exceptions): Handle underflow exceptions.
2112 (acos_test): Update for underflow exception expectations.
2113 (cexp_test): Likewise.
2114 (clog_test): Likewise.
2115 (clog10_test): Likewise.
2116 (csqrt_test): Likewise.
2117 (ctan_test): Likewise.
2118 (ctanh_test): Likewise.
2119 (exp_test): Likewise.
2120 (exp10_test): Likewise.
2121 (exp2_test): Likewise.
2122 (expm1_test): Likewise.
2123 (fma_test): Likewise.
2124 (j0_test): Likewise.
2125 (jn_test): Likewise.
2126 (nexttoward_test): Likewise.
2127 (pow_test): Likewise.
2128 (scalbn_test): Likewise.
2129 (scalbln_test): Likewise.
2130 (tan_test): Likewise.
2131 (y1_test): Likewise.
2132 * sysdeps/i386/fpu/libm-test-ulps: Update.
2133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2135 2012-05-23 David S. Miller <davem@davemloft.net>
2137 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2138 (__libc_sigaction): Remove unused local variables.
2140 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2142 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
2144 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
2146 mktime: avoid signed integer overflow
2147 * time/mktime.c (__mktime_internal): Do not mishandle the case
2148 where diff == INT_MIN.
2150 mktime: simplify computation of average
2151 * time/mktime.c (ranged_convert): Use new time_t_avg function
2152 instead of rolling our own (probably-slower) code.
2154 mktime: do not assume signed right shift propagates sign bit
2155 * time/mktime.c (isdst_differ): New static function.
2156 (__mktime_internal): No need to normalize tm_isdst now.
2157 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
2160 mktime: merge another wrapv change from gnulib
2161 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
2162 from some compilers.
2164 mktime: remove incorrect attempt at unusual arithmetics
2165 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
2166 The code didn't really work on such machines anyway.
2167 (TYPE_MINIMUM): Assume two's complement.
2168 (twos_complement_arithmetic): Verify that long_int and time_t
2169 are two's complement (or unsigned, in the latter case).
2171 mktime: check signed shifts on long_int and time_t, too
2172 * time/mktime.c (SHR): Check that shifts work as desired
2173 on the types long_int and time_t too, as SHR is used on
2176 mktime: do not assume 'long' is wide enough
2177 * time/mktime.c (verify): Move decl up.
2178 (long_int): New type.
2179 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
2180 to remove assumption in the code that 'long' is wide enough to
2181 store year values. This assumption is not true on x32 and on
2182 some non-glibc platforms.
2184 mktime: merge wrapv change from gnulib
2185 * time/mktime.c (WRAPV): New macro.
2186 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
2187 (guess_time_tm, __mktime_internal): Do not assume that signed
2188 integer overflow wraps around; modern compilers generate code
2189 where this assumption is no longer valid.
2191 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2193 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2194 Replace "jmp L(pseudo_end)" with "ret".
2195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
2198 2012-05-23 Andreas Jaeger <aj@suse.de>
2200 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
2201 * sysdeps/unix/sysv/linux/poll.c: Remove file.
2203 2012-05-23 Andreas Jaeger <aj@suse.de>
2204 Maximilian Attems <max@stro.at>
2206 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
2209 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
2211 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
2212 code so that pseudo_end is just ret and the stack pointer is
2213 correct also for static library in error case.
2215 2012-05-23 Joseph Myers <joseph@codesourcery.com>
2217 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
2218 move to syscalls.list.
2219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
2220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
2221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
2222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
2224 * manual/install.texi (Running make install): Do not mention Linux
2225 kernel version for which pt_chown is not needed.
2226 (Linux): Do not mention problems with nscd with 2.0 kernels.
2227 * INSTALL: Regenerated.
2229 2012-05-23 Andreas Jaeger <aj@suse.de>
2231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
2232 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
2234 * sysdeps/unix/sysv/linux/s390/bits/mman.h
2235 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2236 * sysdeps/unix/sysv/linux/sh/bits/mman.h
2237 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2238 * sysdeps/unix/sysv/linux/i386/bits/mman.h
2239 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2240 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
2241 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2242 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
2243 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
2244 * sysdeps/unix/sysv/linux/bits/in.h
2245 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
2247 2012-05-22 Roland McGrath <roland@hack.frob.com>
2249 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
2250 (PREPARE_VERSION): Just use assert instead, it will be elided
2251 under [NDEBUG] anyway.
2253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2255 * sysdeps/unix/sysv/linux/Makefile: Include
2256 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
2257 (sysdep_routines): Remove sysctl.
2258 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
2259 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
2260 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
2261 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
2262 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
2264 2012-05-22 Andreas Jaeger <aj@suse.de>
2266 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
2267 that pseudo_end is just ret and the stack pointer is correct also
2268 for static library in error case.
2270 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
2273 * nss/nsswitch.c (defconfig_entries): New variable.
2274 (__nss_database_lookup): Don't leak defconfig entries.
2275 (nss_parse_service_list): Don't leak on error paths.
2276 (free_database_entries): New function.
2277 (free_defconfig): New function.
2278 (free_mem): Move common code to free_database_entries.
2280 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2282 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
2284 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
2286 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2287 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
2288 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
2290 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
2291 (INTERNAL_SYSCALL_TYPES): Likewise.
2292 (LOAD_ARGS_TYPES_[1-6]): Likewise.
2293 (LOAD_REGS_TYPES_[1-6]): Likewise.
2294 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
2295 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
2297 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2299 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
2300 copysignl for GLIBC_2_0.
2301 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
2302 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
2303 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
2304 logbl for GLIBC_2_0.
2305 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2306 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2308 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
2311 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2313 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
2316 * time/mktime.c: Update copyright years.
2318 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
2320 mktime: merge comment-quoting-style change from gnulib
2321 * time/mktime.c: Quote 'like this' in comments.
2322 The GNU coding standards suggest that we no longer quote `like this',
2323 as "`" and "'" are typically rendered asymmetrically nowadays.
2324 The typical gnulib style is to quote 'like this' when quoting
2325 code, and "like this" when quoting English.
2327 * time/mktime.c (compile-command): Add "-I.".
2329 mktime: merge mktime-internal.h change from gnulib
2330 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
2332 mktime: merge time_r change from gnulib
2333 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
2335 mktime: merge DEBUG change from gnulib
2336 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
2337 case system <time.h> has a #define.
2339 mktime: merge <sys/types.h> change from gnulib
2340 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
2341 since <time.t> is now guaranteed to define time_t.
2343 mktime: merge HAVE_CONFIG_H change from gnulib
2344 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
2346 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
2348 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2351 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
2353 (struct rusage): Use anonymous union to pad each field to
2356 2012-05-21 David S. Miller <davem@davemloft.net>
2358 * Makefules (o-iterator): Remove .s cases.
2359 (compile-command.s): Delete.
2360 (COMPILE.s): Delete.
2361 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
2363 2012-05-21 Joseph Myers <joseph@codesourcery.com>
2365 * configure.in (libc_cv_predef_stack_protector): Only consider
2366 "foobar" and "__stack_chk_fail" lines in libc_undefs.
2367 * configure: Regenerated.
2369 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2371 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
2372 New macro. Use R*LP on int and pointer.
2373 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
2374 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
2375 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
2376 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
2378 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
2379 [__WORDSIZE_TIME64_COMPAT32] instead of
2380 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
2381 (struct utmp): Likewise.
2382 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
2383 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
2385 (__WORDSIZE_TIME64_COMPAT32): This.
2386 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
2387 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
2388 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
2389 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
2390 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
2391 (__WORDSIZE_TIME64_COMPAT32): New macro.
2393 2012-05-21 Andreas Jaeger <aj@suse.de>
2395 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
2396 only if [SHARED]. Add prototype for __wcschr_ia32.
2398 2012-05-21 Roland McGrath <roland@hack.frob.com>
2400 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
2401 of %rbp unmolested in the jmp_buf while mangling the low bits.
2402 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
2403 unmolested high bits of %rbp while demangling the low bits.
2404 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
2406 2012-05-21 Andreas Jaeger <aj@suse.de>
2408 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
2409 * sunrpc/svc_simple.c: Use it for registerrpc.
2410 * sunrpc/xcrypt.c: Use it for passwd2des.
2412 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
2414 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2416 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
2417 Don't define if [__SYSCALL_WORDSIZE != 32].
2418 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
2421 2012-05-21 Bruno Haible <bruno@clisp.org>
2422 Andreas Jaeger <aj@suse.de>
2424 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
2425 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
2426 inptr and inend for must_buffer_ch.
2427 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
2428 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
2429 * stdio-common/Makefile (tests): Remove bug15.
2430 (bug15-ENV): Remove macro.
2431 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
2434 2012-05-19 Andreas Jaeger <aj@suse.de>
2435 Roland McGrath <roland@hack.frob.com>
2437 * manual/contrib.texi: Completely rewritten. It contains now an
2438 alphabetical list of contributors and their contributions.
2440 2012-05-21 Richard Henderson <rth@twiddle.net>
2442 * misc/getauxval.c (__getauxval): Use unsigned long int.
2443 * misc/sys/auxv.h: Include <sys/cdefs.h>.
2444 (getauxval): Use unsigned long int.
2446 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
2448 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
2450 2012-05-21 Roland McGrath <roland@hack.frob.com>
2452 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
2453 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
2454 __alignof__ (long double).
2456 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2458 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2460 2012-05-20 Richard Henderson <rth@twiddle.net>
2462 * misc/getauxval.c: New file.
2463 * misc/sys/auxv.h: New file.
2464 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
2465 (routines): Add getauxval.
2466 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
2467 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
2468 * elf/dl-sysdep.c (_dl_auxv): Remove.
2469 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
2470 * elf/dl-support.c (_dl_auxv): New variable.
2471 (_dl_aux_init): Initialize it.
2472 * manual/startup.texi (Auxiliary Vector): New node.
2473 * sysdeps/generic/bits/hwcap.h: New file.
2474 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
2475 * sysdeps/powerpc/sysdep.h: ... here. Include it.
2476 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
2477 * sysdeps/sparc/sysdep.h: ... here. Include it.
2478 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
2479 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
2480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
2482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
2483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
2484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
2485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
2486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
2488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
2489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
2491 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2493 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2495 2012-05-19 David S. Miller <davem@davemloft.net>
2497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2499 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2502 * math/s_ccosh.c: Include <float.h>
2503 (__ccosh): Avoid internal overflow calculating sinh and cosh
2504 values before multiplying by sin and cos values.
2505 * math/s_ccoshf.c: Likewise.
2506 * math/s_ccoshl.c: Likewise.
2507 * math/s_csin.c: Likewise.
2508 * math/s_csinf.c: Likewise.
2509 * math/s_csinl.c: Likewise.
2510 * math/s_csinh.c: Likewise.
2511 * math/s_csinhf.c: Likewise.
2512 * math/s_csinhl.c: Likewise.
2513 * math/libm-test.inc (ccos_test): Add more tests.
2514 (ccosh_test): Likewise.
2515 (csin_test): Likewise.
2516 (csinh_test): Likewise.
2517 * sysdeps/i386/fpu/libm-test-ulps: Update.
2518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2520 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
2522 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
2523 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
2525 * sysdeps/x86_64/x32/_itoa.h: Add comment.
2527 2012-05-19 Joseph Myers <joseph@codesourcery.com>
2529 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
2530 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
2531 * sysdeps/powerpc/soft-fp/Versions: Likewise.
2532 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
2533 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
2534 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
2535 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
2536 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
2537 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
2538 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
2539 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
2540 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
2541 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
2542 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
2543 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
2544 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
2545 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
2546 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
2547 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
2548 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
2549 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
2550 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
2551 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
2552 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
2553 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
2554 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
2555 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
2556 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
2557 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
2558 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
2559 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
2561 2012-05-18 Andreas Jaeger <aj@suse.de>
2563 * csu/.gitignore: Delete.
2565 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2567 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
2568 (timex): Use __syscall_slong_t.
2570 2012-05-18 Andreas Jaeger <aj@suse.de>
2571 Carlos O'Donell <carlos_odonell@mentor.com>
2573 * manual/install.texi (Configuring and compiling): Update
2574 description about files modified in the source directory.
2575 * INSTALL: Regenerated.
2577 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2579 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
2580 value. Use "or" to set return value to -1.
2581 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
2582 negate return value.
2584 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
2586 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
2587 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
2588 failure if the compiler has Graphite support disabled.
2589 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
2591 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
2592 CFLAGS-memmove.c): Likewise.
2593 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
2596 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
2598 * sysdeps/x86_64/x32/_itoa.h: New file.
2600 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
2601 getdents system call only if kernel and user dirents have the
2602 same d_ino and d_off.
2604 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
2605 LLONG_MAX != LONG_MAX.
2606 (_itoa_word): Use _ITOA_WORD_TYPE on value.
2607 (_fitoa_word): Likewise.
2609 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
2611 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
2612 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
2613 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
2615 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
2616 include <bits/wordsize.h>. Check __x86_64__ instead of
2618 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
2619 if __x86_64__ is defined. Use anonymous union on fpstate.
2621 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
2624 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
2626 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
2627 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
2628 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
2629 Refer to _rtld_local_ro instead of _rtld_global_ro.
2630 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
2632 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
2634 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
2636 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
2637 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
2638 of _rtld_global, and rtld_progname instead of _dl_argv[0].
2640 * sysdeps/powerpc/powerpc32/dl-machine.c
2641 (__elf_machine_runtime_setup) [PROF]: Don't reference
2644 2012-05-18 Andreas Jaeger <aj@suse.de>
2646 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
2647 function only available for GCCs before 3.4 since GCC 3.4
2648 introduced a builtin.
2650 (llrintf): Likewise.
2658 (nearbyint): Likewise.
2659 (nearbyintf): Likewise.
2665 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2667 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
2668 on both fields and cast pointer to __syscall_ulong_t.
2670 * bits/types.h (__fsword_t): New type.
2671 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
2672 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
2673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2674 (__FSWORD_T_TYPE): Likewise.
2675 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2676 (__FSWORD_T_TYPE): Likewise.
2677 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2678 (__FSWORD_T_TYPE): Likewise.
2679 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
2680 (__FSWORD_T_TYPE): Likewise.
2681 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
2682 __SWORD_TYPE with __fsword_t.
2683 (statfs64): Likewise.
2685 2012-05-17 David S. Miller <davem@davemloft.net>
2687 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
2689 2012-05-17 Andreas Jaeger <aj@suse.de>
2691 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
2694 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2696 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
2698 2012-05-17 Andreas Jaeger <aj@suse.de>
2700 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
2703 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2705 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
2707 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
2709 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
2710 * sysdeps/x86_64/tst-mallocalign1.c: New file.
2712 2012-05-17 Andreas Jaeger <aj@suse.de>
2713 Carlos O'Donell <carlos_odonell@mentor.com>
2716 * sysdeps/x86_64/multiarch/init-arch.h
2717 (bit_YMM_Usable): Rename to...
2718 (bit_AVX_Usable): ... this.
2719 (bit_FMA4_Usable): New macro.
2720 (bit_XMM_state): New macro.
2721 (bit_YMM_state): New macro.
2722 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
2723 [__ASSEMBLER__] (index_AVX_Usable): ... this.
2724 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
2725 (CPUID_OSXSAVE): New macro.
2726 (CPUID_AVX): New macro.
2727 (CPUID_FMA4): New macro.
2728 (index_YMM_Usable): Rename to...
2729 (index_AVX_Usable): ... this.
2730 (HAS_AVX): Use HAS_ARCH_FEATURE.
2731 (HAS_FMA4): Likewise.
2732 (HAS_YMM_USABLE): Remove.
2733 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2734 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
2736 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
2737 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
2738 * sysdeps/x86_64/multiarch/Makefile: Likewise.
2739 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
2740 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
2742 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
2744 * math/libm-test.c: Support platforms without multiple rounding modes.
2745 * math/bug-nextafter.c: Support platforms without FP exceptions.
2746 * math/bug-nexttoward.c: Likewise.
2747 * math/test-fenv.c: Likewise.
2748 * math/test-misc.c: Likewise.
2749 * stdlib/bug-getcontext.c: Likewise.
2751 2012-05-17 Andreas Jaeger <aj@suse.de>
2753 * manual/examples/search.c (critter_cmp): Change signature to
2755 * manual/string.texi (Collation Functions): Likewise.
2757 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2759 * bits/types.h: Fold copyright years.
2760 * bits/typesizes.h: Likewise.
2761 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
2762 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
2763 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
2764 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
2765 * time/time.h: Likewise.
2767 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
2770 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
2771 in instead of returning them. Return void.
2772 (__libc_mallinfo): Accumulate over all arenas.
2773 (__malloc_stats): Adjust for change in int_mallinfo interface.
2775 2012-05-16 Roland McGrath <roland@hack.frob.com>
2778 * configure.in (NM): Add AC_CHECK_TOOL for it.
2779 (libc_extra_cflags): New substituted variable.
2780 Check for -fstack-protector being used implicitly.
2781 * configure: Regenerated.
2782 * config.make.in (config-extra-cflags): New variable,
2783 gets @libc_extra_cflags@.
2784 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
2787 * configure.in: Check for _FORTIFY_SOURCE being predefined.
2788 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
2789 * configure: Regenerated.
2790 * config.make.in (CPPUNDEFS): New substituted variable.
2791 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
2792 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
2793 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
2795 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2797 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
2798 (mq_attr): Use __syscall_slong_t.
2800 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2802 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
2803 Check __x86_64__ instead of __WORDSIZE.
2804 (_STAT_VER_LINUX): Likewise.
2805 (stat): Check __x86_64__ instead of __WORDSIZE. Use
2806 __syscall_ulong_t and __syscall_slong_t.
2809 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2811 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
2813 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2815 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
2817 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2819 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
2822 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
2823 include <bits/wordsize.h>. Check __x86_64__ instead of
2825 (greg_t): Use "__extension__ long long int" if __x86_64__ is
2827 (mcontext_t): Replace "unsigned long" with "unsigned long long".
2829 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
2830 include <bits/wordsize.h>. Check __x86_64__ instead of
2832 (user_regs_struct): Use "__extension__ unsigned long long"
2833 instead of "unsigned long" if __x86_64__ is defined.
2834 (user): Likewise. Pad after pointer field if __ILP32__ is
2837 2012-05-16 Joseph Myers <joseph@codesourcery.com>
2839 * configure.in (makeinfo): Require version 4.5 or later. Allow
2841 * configure: Regenerated.
2842 * manual/install.texi (texinfo): Increase version requirement to
2844 * INSTALL: Regenerated.
2846 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
2848 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
2850 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
2852 * sysdeps/x86_64/x32/ffs.c: New file.
2854 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
2856 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
2857 defined. Use __syscall_ulong_t.
2858 (shminfo): Use __syscall_ulong_t.
2859 (shm_info): Likewise.
2861 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
2864 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
2866 (msgqnum_t): Use __syscall_ulong_t.
2867 (msglen_t): Likewise.
2868 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
2871 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
2872 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2874 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
2876 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
2877 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
2879 * sysvipc/sys/msg.h (msgbuf): Replace long int with
2882 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
2883 include <bits/wordsize.h>. Check __x86_64__ instead of
2886 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
2887 "unsigned long long int" if __x86_64__ is defined.
2888 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
2890 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
2891 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
2892 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
2894 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
2896 (GET_PC): Cast to uintptr_t first.
2897 (GET_FRAME): Likewise.
2898 (GET_STACK): Likewise.
2900 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
2901 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
2902 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
2903 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
2904 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
2905 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
2906 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
2907 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
2908 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
2909 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
2910 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
2911 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
2912 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
2913 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
2914 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
2915 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
2916 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
2917 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
2918 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
2921 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
2922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
2923 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
2924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
2925 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
2926 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
2927 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
2928 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
2930 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
2932 * Makerules (+depfiles): Also collect depfiles from .oS in
2934 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
2935 .oS, $(libnldbl-routines)).
2937 * Makerules (native-compile-mkdep-flags): Define.
2938 * sunrpc/Makefile (extra-objs): Add $(addprefix
2939 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
2940 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
2941 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
2942 calling $(make-target-directory).
2944 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2946 * bits/types.h (__snseconds_t): Removed.
2947 * time/time.h (struct timespec): Replace __snseconds_t with
2949 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
2950 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
2952 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2953 (__SNSECONDS_T_TYPE): Likewise.
2954 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2955 (__SNSECONDS_T_TYPE): Likewise.
2956 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2957 (__SNSECONDS_T_TYPE): Likewise.
2959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2961 * sysdeps/mach/hurd/bits/typesizes.h
2962 (__SYSCALL_SLONG_TYPE): New macro.
2963 (__SYSCALL_ULONG_TYPE): Likewise.
2965 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2967 * bits/types.h (__syscall_slong_t): New type.
2968 (__syscall_ulong_t): Likewise.
2970 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
2971 (__SYSCALL_ULONG_TYPE): Likewise.
2972 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
2973 (__SYSCALL_SLONG_TYPE): Likewise.
2974 (__SYSCALL_ULONG_TYPE): Likewise.
2975 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
2976 (__SYSCALL_SLONG_TYPE): Likewise.
2977 (__SYSCALL_ULONG_TYPE): Likewise.
2978 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
2979 (__SYSCALL_SLONG_TYPE): Likewise.
2980 (__SYSCALL_ULONG_TYPE): Likewise.
2982 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
2984 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
2985 Add sigaltstack-offsets.sym.
2986 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
2987 <sigaltstack-offsets.h>.
2988 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
2989 longjmp_msg pointer.
2990 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
2991 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
2993 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
2995 2012-05-15 Joseph Myers <joseph@codesourcery.com>
2997 * elf/stackguard-macros.h: Remove file.
2998 * sysdeps/generic/stackguard-macros.h: New file.
2999 * sysdeps/i386/stackguard-macros.h: Likewise.
3000 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3001 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3002 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3003 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3004 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3005 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3006 * sysdeps/x86_64/stackguard-macros.h: Likewise.
3007 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
3008 <elf/stackguard-macros.h>.
3011 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
3012 __aligned__ in attribute.
3013 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
3014 (gregset_t): Likewise.
3016 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3018 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
3019 * sysdeps/x86_64/64/Implies-after: Here. New file.
3020 * sysdeps/x86_64/x32/Implies-after: New file.
3022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3024 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
3025 and access return value for _dl_profile_fixup. Use R10_LP to
3028 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3030 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
3032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3034 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
3035 * sysdeps/x86_64/x32/sysdep.h: New file.
3037 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3039 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
3040 * sysdeps/x86_64/setjmp.S: Likewise.
3042 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3044 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
3045 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
3046 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
3047 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
3048 remove unused global constant.
3050 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
3052 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
3053 include of <not-cancel.h>.
3055 2012-05-15 Roland McGrath <roland@hack.frob.com>
3057 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
3059 2012-05-15 Jeff Law <law@redhat.com>
3060 Andreas Jaeger <aj@suse.de>
3063 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
3065 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
3066 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
3067 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
3068 code changing __hst_map_handle.map.
3070 2012-05-15 Roland McGrath <roland@hack.frob.com>
3072 * configure.in (sysnames): Look for Implies-before and Implies-after
3074 * configure: Regenerated.
3076 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3078 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
3079 8-byte data alignment with LP_SIZE alignment.
3081 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3083 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
3086 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3088 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
3090 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3092 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
3093 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
3094 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
3096 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
3098 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3100 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
3101 (stackinfo_sub_sp): Likewise.
3103 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3105 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
3108 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3110 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
3113 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3115 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
3118 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3120 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
3122 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3124 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
3125 into R11_LP and load __x86_64_shared_cache_size_half into
3128 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
3130 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
3133 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3135 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
3137 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
3139 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
3141 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
3142 powerpc32/power7/fpu/s_logb.c via #include.
3143 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
3144 powerpc32/power7/fpu/s_logbf.c via #include.
3145 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
3146 powerpc32/power7/fpu/s_logbl.c via #include.
3148 2012-05-15 Joseph Myers <joseph@codesourcery.com>
3150 * README.libm: Remove file.
3152 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3154 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
3155 count for x32. Use R*_LP and omit operand-size suffix.
3157 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3159 * shlib-versions: Move x86_64-.*-linux.* entries to ...
3160 * sysdeps/x86_64/64/shlib-versions: Here. New file.
3161 * sysdeps/x86_64/x32/shlib-versions: New file.
3163 2012-05-14 Roland McGrath <roland@hack.frob.com>
3165 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
3166 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
3167 Use _dl_fatal_printf instead.
3169 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3171 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
3172 set if not set by the user. Do not allow for being unset.
3173 * sysdeps/unix/sysv/linux/configure: Regenerated.
3175 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3177 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
3178 the `q' suffix from lea and replace .quad with ASM_ADDR.
3180 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3182 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
3183 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
3185 (PTR_DEMANGLE): Likewise.
3187 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3189 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
3191 (ASM_ADDR): Likewise.
3209 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3211 * sysdeps/x86_64/x32/dl-machine.h: New file.
3213 2012-05-14 Andreas Jaeger <aj@suse.de>
3215 * manual/Makefile (subdir): Remove export of subdir.
3216 (all): Remove target.
3217 (.PHONY): Remove all from list.
3218 (mkinstalldirs): Remove.
3219 (.PHONY): Remove installdirs from list.
3220 ($(inst_infodir)/libc.info): Use make-target-directory.
3221 (installdirs): Remove.
3223 (glibc-targets): Remove.
3226 ($(objpfx)stubs ../po/manual.pot): Remove.
3227 ($(objpfx)stamp%): Remove.
3228 (make-target-directory): Remove.
3229 (subdir_install): Remove.
3237 * manual/.gitignore: Remove, it's not needed anymore.
3238 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
3240 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
3242 (texis): Renamed to $(objpfx)texis.
3243 (texis-path): New, contains path to generated files.
3244 (chapters.%): Use texis-path for complete path, add extra argument
3246 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
3247 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
3248 (summary,texi, stamp-summary): Use complete path of
3249 files. Generate files in build dir.
3250 (dir-add.texi): Build in build dir.
3251 (libm-err.texi,stamp-libm-err): Likewise.
3252 (version.texi, stamp-version): Likewise.
3253 (.%c.texi): Likewise.
3254 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
3255 (mostlyclean): Remove target.
3256 (realclean): Remove target.
3257 (generated): Add new variable with contents from mostlyclean and
3258 realclean, remove entries duplicated in common-mostlyclean, add
3259 stamp-libm-err and stamp-version.
3260 (generated-dirs): Add libc directory.
3261 ($(inst_infodir)/libc.info): Install files from build dir.
3263 * manual/install.texi (Configuring and compiling): Adjust since
3264 the info files are not part of the tar ball anymore.
3266 2012-05-14 Andreas Jaeger <aj@suse.de>
3268 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
3271 2012-05-14 Joseph Myers <joseph@codesourcery.com>
3274 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
3275 to 2.2.0 where earlier.
3276 * sysdeps/unix/sysv/linux/configure: Regenerated.
3277 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
3278 Remove conditional code.
3279 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
3280 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
3281 Remove conditional code.
3282 [!__NR_lchown]: Likewise.
3283 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3284 [__NR_lchown]: Likewise.
3285 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
3286 comment referencing __ASSUME_LCHOWN_SYSCALL.
3287 * sysdeps/unix/sysv/linux/i386/sigaction.c
3288 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3289 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3290 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
3291 Remove conditional code.
3292 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
3293 (__protocol_available): Remove #if 0 code.
3294 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
3296 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
3297 * sysdeps/unix/sysv/linux/kernel-features.h
3298 (__ASSUME_GETCWD_SYSCALL): Don't define.
3299 (__ASSUME_REALTIME_SIGNALS): Likewise.
3300 (__ASSUME_PREAD_SYSCALL): Likewise.
3301 (__ASSUME_PWRITE_SYSCALL): Likewise.
3302 (__ASSUME_POLL_SYSCALL): Likewise.
3303 (__ASSUME_LCHOWN_SYSCALL): Likewise.
3304 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
3306 (__ASSUME_SIOCGIFNAME): Don't define.
3307 (__ASSUME_MSG_NOSIGNAL): Likewise.
3308 (__ASSUME_SENDFILE): Define unconditionally.
3309 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
3310 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
3312 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
3313 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
3314 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3315 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3316 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
3317 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
3318 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
3319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
3320 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3321 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3323 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3324 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
3326 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3327 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3329 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3330 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
3332 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3333 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
3335 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
3336 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
3338 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3339 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
3341 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3342 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3343 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
3344 Remove conditional code.
3345 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3346 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3347 Remove conditional code.
3348 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3349 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
3350 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
3351 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3352 Remove conditional code.
3353 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3354 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
3355 Remove conditional code.
3356 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3357 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
3358 Remove conditional code.
3359 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3360 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
3361 Remove conditional code.
3362 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
3363 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
3364 Remove conditional code.
3365 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3366 * sysdeps/unix/sysv/linux/sh/pwrite64.c
3367 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
3368 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
3369 * sysdeps/unix/sysv/linux/sigaction.c
3370 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3371 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3372 * sysdeps/unix/sysv/linux/sigpending.c
3373 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3374 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3375 * sysdeps/unix/sysv/linux/sigprocmask.c
3376 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3377 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3378 * sysdeps/unix/sysv/linux/sigsuspend.c
3379 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
3380 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
3381 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
3382 (__libc_missing_rt_sigs): Remove.
3383 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
3384 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
3385 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
3386 Remove conditional code.
3387 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
3388 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
3390 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
3391 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
3392 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
3393 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
3395 2012-05-14 Andreas Jaeger <aj@suse.de>
3397 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
3398 it's not used in glibc.
3399 (__coshm1): Likewise.
3400 (__acosh1p): Likewise.
3403 * manual/string.texi (Copying and Concatenation): Add missing
3404 variable in concat example.
3405 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3407 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3410 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
3411 __builtin_clzl with __builtin_clzll.
3413 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
3416 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
3419 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
3421 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
3422 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
3423 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
3424 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
3426 2012-05-14 Mike Frysinger <vapier@gentoo.org>
3428 * NEWS: Update ia64 info.
3430 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
3432 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
3435 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
3437 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
3438 * sysdeps/unix/syscalls.list (dup3): Likewise.
3439 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
3440 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
3442 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3444 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
3445 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
3447 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
3449 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
3451 (TLS_IE): Use mov/add instead of movq/addq to load thread
3453 (TLS_GD_PREFIX): New.
3456 2012-05-11 David S. Miller <davem@davemloft.net>
3458 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
3459 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
3460 (_FPU_SETCW): Likewise.
3462 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3464 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
3467 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
3470 * iconvdata/gb18030.c: Update tables.
3471 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
3472 characters specially.
3473 (BODY for TO_LOOP): Add encoding of missing ranges.
3475 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
3478 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
3479 * sysdeps/mach/hurd/dup3.c: Likewise.
3480 * sysdeps/mach/hurd/readlinkat.c: Likewise.
3481 * sysdeps/powerpc/memmove.c:: Likewise.
3483 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3485 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
3486 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
3488 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3490 * elf/elf.h (R_X86_64_RELATIVE64): New.
3491 (R_X86_64_NUM): Updated.
3492 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
3493 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
3494 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
3495 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
3496 tst-quad1pie tst-quad2pie
3497 (modules-names): Add tst-quadmod1 tst-quadmod2.
3498 ($(objpfx)tst-quad1): New dependency.
3499 ($(objpfx)tst-quad2): Likewise.
3500 ($(objpfx)tst-quad1pie): Likewise.
3501 ($(objpfx)tst-quad2pie): Likewise.
3502 * sysdeps/x86_64/tst-quad1.c: New file.
3503 * sysdeps/x86_64/tst-quad1pie.c: New file.
3504 * sysdeps/x86_64/tst-quad2.c: Likewise.
3505 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
3506 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
3507 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
3508 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
3509 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
3511 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3513 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
3514 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
3515 * streams/stropts.h (t_scalar_t): Define type.
3517 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
3518 (_PATH_PRESERVE): Set to "/var/lib".
3519 (_PATH_RWHODIR): Set to "/var/spool/rwho".
3521 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
3524 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
3525 if __dir_mkfile succeeded.
3527 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
3528 checking for _hurd_dtablesize. Unlock it right after having
3529 finished _hurd_dtable allocation.
3531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3533 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
3534 * sysdeps/mach/hurd/configure: Regenerated.
3535 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
3536 special-casing to...
3537 * sysdeps/gnu/configure.in: ... this new file.
3538 * sysdeps/unix/sysv/linux/configure: Regenerated.
3539 * sysdeps/gnu/configure: New generated file.
3541 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
3542 for Linux: use nsec instead of usec, as well as:
3543 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
3544 members of type struct timespec.
3545 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
3547 (struct stat64): Likewise.
3548 (_STATBUF_ST_NSEC): New macro.
3549 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
3551 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
3552 __strtoul_internal rather than strtoul.
3554 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3556 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
3559 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3561 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
3562 which preserves existing values.
3563 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
3565 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3567 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
3568 TIMEOUT values. Return EINVAL for NFDS values either negative or
3569 greater than FD_SETSIZE.
3571 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3573 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
3574 allocated, call __vm_protect to finish enabling the existing space, and
3575 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
3576 allocate the remainder.
3578 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3580 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
3581 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
3583 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3585 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
3586 sysdeps/mach/hurd/readlink.c.
3588 * posix/tst-sysconf.c (posix_options): Only use
3589 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
3590 _POSIX_SYNCHRONIZED_IO when they are defined
3591 * sysdeps/mach/hurd/bits/posix_opt.h:
3592 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
3593 (_XOPEN_REALTIME): Undefine macro.
3594 (_XOPEN_REALTIME_THREADS): Undefine macro.
3595 (_XOPEN_SHM): Undefine macro.
3596 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
3598 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
3600 (_POSIX_ASYNC_IO): Undefine macro.
3601 (_POSIX_PRIORITIZED_IO): Undefine macro.
3602 (_POSIX_SPIN_LOCKS): Define macro to -1.
3604 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
3605 SA_NODEFER, SA_RESETHAND.
3606 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
3607 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
3610 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3612 * elf/Makefile (pldd-modules): Define unconditionally.
3614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3616 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
3618 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3620 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
3621 Return ENOENT when name is empty.
3622 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
3624 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3626 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
3628 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
3630 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3632 Fix mlock in all cases except non-readable pages.
3633 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
3634 instead of VM_PROT_ALL as parameter to __vm_wire function.
3636 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
3637 (__mkdir): When path is `/', just fail with EEXIST.
3638 * sysdeps/mach/hurd/mkdirat.c: Likewise.
3640 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3642 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
3643 <sys/uio.h> (for writev).
3644 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
3645 and <sys/param.h> (for MIN).
3647 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
3649 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
3650 REQUESTED_TIME. Properly set the remaining time and return EINTR
3653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3655 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
3656 Depend on against $(link-rpcuserlibs).
3658 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3660 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
3661 (__libc_stack_end): Do not use attribute_relro.
3662 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
3663 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
3664 to libthread-provided value.
3665 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
3668 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3671 * bits/libc-lock.h (__libc_once_get): New macro.
3672 * sysdeps/mach/bits/libc-lock.h: Likewise.
3673 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
3674 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
3675 instead of using implementation details.
3677 * libio/fileops.c: Unconditionally include <kernel-features.h>.
3678 * libio/freopen.c: Likewise.
3679 * libio/freopen64.c: Likewise.
3680 * misc/syslog.c: Likewise.
3681 * nscd/connections.c: Likewise.
3682 * nscd/netgroupcache.c: Likewise.
3683 * sysdeps/posix/getcwd.c: Likewise.
3685 2012-05-10 Roland McGrath <roland@hack.frob.com>
3687 * math/w_ilogbf.c: Add #include <limits.h>.
3689 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3691 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
3692 path instead of returning without unlocking.
3694 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
3695 immediate-write ioctls.
3696 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
3698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3700 * sysdeps/mach/hurd/i386/init-first.c (init): Use
3701 __builtin_frame_address instead of making assumptions about the
3702 location of the return address relative to DATA. Force early load of
3704 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
3705 __builtin_frame_address.
3708 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
3709 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
3710 implement dup3 and do some further code clean-ups.
3711 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
3712 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
3714 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3716 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
3718 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
3719 HURD_CRITICAL_END around holding _hurd_dtable_lock.
3720 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
3721 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
3722 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
3725 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
3726 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
3727 when handler == SIG_ERR, not when handler != SIG_ERR.
3729 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3731 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
3732 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
3735 accept4 for GNU Hurd.
3736 * include/sys/socket.h (__libc_accept4): New prototype.
3737 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
3738 to implement __libc_accept4.
3739 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
3741 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
3743 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
3744 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
3745 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
3748 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3750 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
3752 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
3754 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
3755 assertion on O_CLOEXEC flag.
3756 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
3757 * hurd/intern-fd.c: Likewise.
3758 * hurd/port2fd.c: Likewise.
3760 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
3763 * bits/in.h (IPV6_PKTINFO): Define new macro.
3764 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
3766 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3771 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
3772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
3773 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
3774 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
3775 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3776 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
3777 * math/libm-test.inc (logb_test) : Additional logb tests.
3779 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
3780 Andreas Jaeger <aj@suse.de>
3782 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
3783 * configure: Regenerated.
3784 * config.h.in (LINK_OBSOLETE_RPC): New macro.
3785 * config.make.in (link-obsolete-rpc): New substituted variable.
3786 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
3787 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
3788 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3789 (shared-only-routines): Don't set it under [link-obsolete-rpc],
3790 so that libc.a contains the symbols.
3791 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
3792 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
3793 * sunrpc/auth_none.c: Likewise.
3794 * sunrpc/auth_unix.c: Likewise.
3795 * sunrpc/authdes_prot.c: Likewise.
3796 * sunrpc/authuxprot.c: Likewise.
3797 * sunrpc/clnt_gen.c: Likewise.
3798 * sunrpc/clnt_perr.c: Likewise.
3799 * sunrpc/clnt_raw.c: Likewise.
3800 * sunrpc/clnt_simp.c: Likewise.
3801 * sunrpc/clnt_tcp.c: Likewise.
3802 * sunrpc/clnt_udp.c: Likewise.
3803 * sunrpc/clnt_unix.c: Likewise.
3804 * sunrpc/des_crypt.c: Likewise.
3805 * sunrpc/des_soft.c: Likewise.
3806 * sunrpc/get_myaddr.c: Likewise.
3807 * sunrpc/key_call.c: Likewise.
3808 * sunrpc/key_prot.c: Likewise.
3809 * sunrpc/netname.c: Likewise.
3810 * sunrpc/pm_getmaps.c: Likewise.
3811 * sunrpc/pm_getport.c: Likewise.
3812 * sunrpc/pmap_clnt.c: Likewise.
3813 * sunrpc/pmap_prot.c: Likewise.
3814 * sunrpc/pmap_prot2.c: Likewise.
3815 * sunrpc/pmap_rmt.c: Likewise.
3816 * sunrpc/publickey.c: Likewise.
3817 * sunrpc/rpc_cmsg.c: Likewise.
3818 * sunrpc/rpc_common.c: Likewise.
3819 * sunrpc/rpc_dtable.c: Likewise.
3820 * sunrpc/rpc_prot.c: Likewise.
3821 * sunrpc/rpc_thread.c: Likewise.
3822 * sunrpc/rtime.c: Likewise.
3823 * sunrpc/svc.c: Likewise.
3824 * sunrpc/svc_auth.c: Likewise.
3825 * sunrpc/svc_raw.c: Likewise.
3826 * sunrpc/svc_run.c: Likewise.
3827 * sunrpc/svc_tcp.c: Likewise.
3828 * sunrpc/svc_udp.c: Likewise.
3829 * sunrpc/svc_unix.c: Likewise.
3830 * sunrpc/svcauth_des.c: Likewise.
3831 * sunrpc/xcrypt.c: Likewise.
3832 * sunrpc/xdr.c: Likewise.
3833 * sunrpc/xdr_array.c: Likewise.
3834 * sunrpc/xdr_float.c: Likewise.
3835 * sunrpc/xdr_intXX_t.c: Likewise.
3836 * sunrpc/xdr_mem.c: Likewise.
3837 * sunrpc/xdr_rec.c: Likewise.
3838 * sunrpc/xdr_ref.c: Likewise.
3839 * sunrpc/xdr_sizeof.c: Likewise.
3840 * sunrpc/xdr_stdio.c: Likewise.
3842 2012-05-10 Roland McGrath <roland@hack.frob.com>
3844 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
3845 change. Update copyright years.
3847 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3849 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
3851 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
3852 Joseph Myers <joseph@codesourcery.com>
3853 Paul Pluzhnikov <ppluzhnikov@google.com>
3856 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
3858 [cross-compiling] (extra-libs): Likewise.
3859 [cross-compiling] (extra-libs-others): Likewise.
3860 [cross-compiling] (librpcsvc-routines): Likewise.
3861 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
3862 [cross-compiling] (omit-deps): Likewise.
3863 (sunrpc-CPPFLAGS): New variable.
3864 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
3865 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
3866 (cross-rpcgen-objs): New variable.
3867 (extra-objs): Append $(cross-rpcgen-objs).
3868 ($(cross-rpcgen-objs)): New rule.
3869 ($(objpfx)cross-rpcgen): Likewise.
3870 (rpcgen-cmd): Define to use $(built-program-file). Expand
3872 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
3873 ($(objpfx)x%.stmp): Likewise.
3874 * sunrpc/proto.h [IS_IN_build] (_): Define.
3875 [IS_IN_build] (_libc_intl_domainname): Likewise.
3877 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
3879 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
3880 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
3881 and R_X86_64_TPOFF64.
3883 2012-05-10 Joseph Myers <joseph@codesourcery.com>
3885 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
3886 sysdeps/unix/sysv/syscalls.list.
3889 * sysdeps/unix/sysv/syscalls.list: Remove file.
3891 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
3894 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
3895 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
3896 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
3897 (__LC_IDENTIFICATION): Make these macros useful in #if
3898 expressions, as required by C99.
3900 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
3902 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
3903 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
3906 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
3908 * stdlib/longlong.h: Updated from GCC.
3910 2012-05-09 Andreas Jaeger <aj@suse.de>
3912 * nscd/nscd.c (run_modes): Make named enum, reorder so that
3913 default is first entry.
3914 (run_mode): Set type.
3915 (main): Remove informal message about syslog.
3916 (options): Fix typo.
3919 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
3922 (llrintf): Likewise.
3926 (nearbyint): Likewise.
3927 (nearbyintf): Likewise.
3929 2012-05-09 Andreas Jaeger <aj@suse.de>
3930 Pedro Alves <palves@redhat.com>
3932 * nscd/nscd.c (run_mode): Use enum.
3933 (main): Cleanup coding style issue.
3935 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
3936 Andreas Jaeger <aj@suse.de>
3938 * nscd/nscd.c (go_background): Replaced with...
3939 (run_mode): ... this.
3940 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
3941 (options): Add -F --foreground.
3942 (main): Implement it.
3943 (parse_opt): Parse it.
3945 2012-05-09 Andreas Jaeger <aj@suse.de>
3948 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
3949 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
3950 -Wconversion warning.
3951 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
3954 2012-05-09 Joseph Myers <joseph@codesourcery.com>
3956 * conform/data/locale.h-data (NULL): Use macro-constant. Require
3958 (LC_ALL): Use macro-int-constant.
3959 (LC_COLLATE): Likewise.
3960 (LC_CTYPE): Likewise.
3961 (LC_MESSAGES): Likewise.
3962 (LC_MONETARY): Likewise.
3963 (LC_NUMERIC): Likewise.
3964 (LC_TIME): Likewise.
3965 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
3966 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
3967 [ISO || ISO99 || ISO11] (*_t): Do not allow.
3968 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
3970 [C99-based standards] (float_t): Expect type.
3971 [C99-based standards] (double_t): Expect type.
3972 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
3974 [C99-based standards] (HUGE_VALL): Likewise.
3975 [C99-based standards] (INFINITY): Likewise.
3976 [C99-based standards] (NAN): Likewise.
3977 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
3978 [C99-based standards] (FP_NAN): Likewise.
3979 [C99-based standards] (FP_NORMAL): Likewise.
3980 [C99-based standards] (FP_SUBNORMAL): Likewise.
3981 [C99-based standards] (FP_ZERO): Likewise.
3982 [C99-based standards] (FP_FAST_FMA): Use
3983 optional-macro-int-constant. Specify type. Require == 1.
3984 [C99-based standards] (FP_FAST_FMAF): Likewise.
3985 [C99-based standards] (FP_FAST_FMAL): Likewise.
3986 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
3987 [C99-based standards] (FP_ILOGBNAN): Likewise.
3988 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
3990 [C99-based standards] (MATH_ERREXCEPT): Likewise.
3991 [C99-based standards] (math_errhandling): Specify type.
3992 [ISO99 || ISO11] (signgam): Do not allow.
3993 [non-C99-based standards] (copysignf): Do not allow.
3994 [non-C99-based standards] (exp2f): Likewise.
3995 [non-C99-based standards] (log2f): Likewise.
3996 [non-C99-based standards] (modff): Allow.
3997 [non-C99-based standards] (erff): Do not allow.
3998 [non-C99-based standards] (erfcf): Likewise.
3999 [non-C99-based standards] (gammaf): Likewise.
4000 [non-C99-based standards] (hypotf): Likewise.
4001 [non-C99-based standards] (j0f): Likewise.
4002 [non-C99-based standards] (j1f): Likewise.
4003 [non-C99-based standards] (jnf): Likewise.
4004 [non-C99-based standards] (lgammaf): Likewise.
4005 [non-C99-based standards] (tgammaf): Likewise.
4006 [non-C99-based standards] (y0f): Likewise.
4007 [non-C99-based standards] (y1f): Likewise.
4008 [non-C99-based standards] (ynf): Likewise.
4009 [non-C99-based standards] (isnanf): Likewise.
4010 [non-C99-based standards] (acoshf): Likewise.
4011 [non-C99-based standards] (asinhf): Likewise.
4012 [non-C99-based standards] (atanhf): Likewise.
4013 [non-C99-based standards] (cbrtf): Likewise.
4014 [non-C99-based standards] (expm1f): Likewise.
4015 [non-C99-based standards] (ilogbf): Likewise.
4016 [non-C99-based standards] (log1pf): Likewise.
4017 [non-C99-based standards] (logbf): Likewise.
4018 [non-C99-based standards] (nextafterf): Likewise.
4019 [non-C99-based standards] (remainderf): Likewise.
4020 [non-C99-based standards] (rintf): Likewise.
4021 [non-C99-based standards] (scalbf): Likewise.
4022 [non-C99-based standards] (copysignl): Likewise.
4023 [non-C99-based standards] (exp2l): Likewise.
4024 [non-C99-based standards] (log2l): Likewise.
4025 [non-C99-based standards] (modfl): Allow.
4026 [non-C99-based standards] (erfl): Do not allow.
4027 [non-C99-based standards] (erfcl): Likewise.
4028 [non-C99-based standards] (gammal): Likewise.
4029 [non-C99-based standards] (hypotl): Likewise.
4030 [non-C99-based standards] (j0l): Likewise.
4031 [non-C99-based standards] (j1l): Likewise.
4032 [non-C99-based standards] (jnl): Likewise.
4033 [non-C99-based standards] (lgammal): Likewise.
4034 [non-C99-based standards] (tgammal): Likewise.
4035 [non-C99-based standards] (y0l): Likewise.
4036 [non-C99-based standards] (y1l): Likewise.
4037 [non-C99-based standards] (ynl): Likewise.
4038 [non-C99-based standards] (isnanl): Likewise.
4039 [non-C99-based standards] (acoshl): Likewise.
4040 [non-C99-based standards] (asinhl): Likewise.
4041 [non-C99-based standards] (atanhl): Likewise.
4042 [non-C99-based standards] (cbrtl): Likewise.
4043 [non-C99-based standards] (expm1l): Likewise.
4044 [non-C99-based standards] (ilogbl): Likewise.
4045 [non-C99-based standards] (log1pl): Likewise.
4046 [non-C99-based standards] (logbl): Likewise.
4047 [non-C99-based standards] (nextafterl): Likewise.
4048 [non-C99-based standards] (remainderl): Likewise.
4049 [non-C99-based standards] (rintl): Likewise.
4050 [non-C99-based standards] (scalbl): Likewise.
4051 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4052 [non-C99-based standards] (FP_*): Do not allow.
4053 [C99-based standards] (FP_*): Change to
4054 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
4055 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4057 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
4058 (SIG_ERR): Likewise.
4059 [X/Open-based standards] (SIG_HOLD): Likewise.
4060 (SIG_IGN): Likewise.
4061 (SIGABRT): Use macro-int-constant. Specify type. Require
4066 (SIGSEGV): Likewise.
4068 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
4069 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
4070 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
4071 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
4072 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
4073 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
4074 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
4075 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
4076 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
4077 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
4078 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
4079 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
4080 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
4081 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
4082 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
4083 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
4084 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
4085 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
4086 [X/Open-based standards] (SIGTRAP): Likewise.
4087 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
4088 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
4089 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
4090 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
4091 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4094 2012-05-08 Ian Wienand <ianw@vmware.com>
4097 * time/tzset.c (__tzset_parse_tz): Update default rules for
4098 daylight time changes in the Energy Policy Act of 2005.
4100 2012-05-09 Andreas Jaeger <aj@suse.de>
4103 * elf/ldconfig.c (parse_conf): Change string to make clear that
4104 ldconfig only issued a warning if ld.so.conf does not exist.
4106 2012-05-08 David S. Miller <davem@davemloft.net>
4108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
4109 movxtod instead of popping the value on the stack.
4111 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4113 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
4115 * config.h.in: Add HAVE_ARM_PCS_VFP.
4117 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
4120 * include/features.h: Warn if user requests __FORTIFY_SOURCE
4121 checking but the checks are disabled for any reason.
4123 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
4125 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
4126 and ELF64_R_TYPE with ELFW(R_TYPE).
4128 2012-05-08 Joseph Myers <joseph@codesourcery.com>
4130 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
4133 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
4134 (settimeofday): Likewise.
4136 2012-05-08 Mike Frysinger <vapier@gentoo.org>
4138 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
4139 a struct th_u2 inside the union, and move tu_block/tu_code into
4140 a new th_u3 union of tu_block/tu_code inside of that. Move
4141 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
4142 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
4143 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
4144 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
4145 (th_stuff): Change to th_u1.tu_stuff.
4147 (th_msg): Change to th_u1.th_u2.tu_data.
4149 2012-05-07 David S. Miller <davem@davemloft.net>
4151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4154 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
4155 (SETUP_PIC_REG): Use it.
4156 (SETUP_PIC_REG_LEAF): Use it.
4158 2012-05-07 Joseph Myers <joseph@codesourcery.com>
4162 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4164 (EXPL_FINITE): Likewise.
4166 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4167 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4169 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4171 (EXPL_FINITE): Likewise.
4173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
4174 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
4176 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
4177 test of -max_value argument for long double.
4178 * sysdeps/i386/fpu/libm-test-ulps: Update.
4179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4181 2012-05-06 David S. Miller <davem@davemloft.net>
4183 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
4184 quad soft-float symbols whose references which are compiler
4186 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
4188 2012-05-06 Joseph Myers <joseph@codesourcery.com>
4192 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4194 (EXPL_FINITE): Likewise.
4198 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4199 Adjust comments for base varying.
4200 (__expl_finite): Change alias to EXPL_FINITE.
4201 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
4203 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
4204 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
4205 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
4206 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
4207 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
4209 (EXPL_FINITE): Likewise.
4213 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
4214 Adjust comments for base varying.
4215 (__expl_finite): Change alias to EXPL_FINITE.
4216 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
4218 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4221 * math/libm-test.inc (check_float_internal): Correct ulp
4222 calculation for subnormal expected results.
4224 2012-05-06 Andreas Jaeger <aj@suse.de>
4226 * Makeconfig (+math-flags): New, set to -frounding-math.
4227 (+cflags): Add +math-flags so that all of glibc gets compiled with
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
4232 2012-05-05 Joseph Myers <joseph@codesourcery.com>
4234 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
4240 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
4241 (__ieee754_expl): Allow for and saturate large arguments.
4242 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
4243 (u_threshold): Likewise.
4244 (__exp): Call __ieee754_exp before checking for overflow and
4246 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
4247 (u_threshold): Likewise.
4248 (__expf): Call __ieee754_expf before checking for overflow and
4250 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
4251 (u_threshold): Likewise.
4252 (__expl): Call __ieee754_expl before checking for overflow and
4254 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
4255 (__ieee754_expl): Allow for and saturate large arguments.
4256 * math/libm-test.inc (exp_test): Add another test. Do not allow
4257 missing overflow exception on overflow.
4258 (expm1_test): Do not allow missing overflow exception on overflow.
4260 * sysdeps/i386/fpu/e_expl.c: Move to ...
4261 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
4262 rather than using inline asm.
4263 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
4264 * sysdeps/x86_64/fpu/e_expl.S: Copy from
4265 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
4267 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
4274 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4276 * sysdeps/unix/syscalls.list (adjtime): Add entry from
4277 sysdeps/unix/common/syscalls.list.
4280 (ftruncate): Likewise.
4281 (getrusage): Likewise.
4282 (gettimeofday): Likewise.
4283 (setpgid): Likewise.
4284 (setregid): Likewise.
4285 (setreuid): Likewise.
4286 (sigaction): Likewise.
4287 (truncate): Likewise.
4288 (vhangup): Likewise.
4289 * sysdeps/unix/common/syscalls.list: Remove file.
4290 * sysdeps/unix/bsd/Implies: Don't include unix/common.
4291 * sysdeps/unix/sysv/linux/Implies: Likewise.
4293 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
4295 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
4296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
4297 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
4299 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
4301 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
4303 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
4304 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
4306 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
4307 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
4309 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
4310 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
4312 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
4313 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
4315 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
4316 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
4318 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
4319 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
4321 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4323 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
4325 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
4327 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
4329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
4330 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
4332 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
4334 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
4336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
4338 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4340 * sysdeps/unix/common/bits/dirent.h: Remove file.
4341 * sysdeps/unix/common/bits/fcntl.h: Likewise.
4343 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
4344 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
4345 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
4346 * sysdeps/unix/bsd/isatty.c: Likewise.
4347 * sysdeps/unix/bsd/tcdrain.c: Likewise.
4348 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
4349 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
4351 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4354 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
4355 long double comparison inaccuracies.
4356 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
4357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4359 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
4361 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
4362 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
4364 2012-05-04 Joseph Myers <joseph@codesourcery.com>
4367 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
4368 nonzero digits before rounding a hex value.
4369 * stdlib/tst-strtod.c (tests): Add another test.
4371 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4373 * sysdeps/s390/fpu/libm-test-ulps: Update.
4375 2012-05-03 Andreas Jaeger <aj@suse.de>
4377 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
4378 does not get optimized out.
4379 (malloc_opt_barrier): New.
4381 2012-05-03 Andreas Jaeger <aj@suse.de>
4382 Roland McGrath <roland@hack.frob.com>
4384 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
4385 intermediate file deletion.
4386 (generated): Add .symlist files.
4388 2012-05-03 Joseph Myers <joseph@codesourcery.com>
4391 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
4392 Redirect under this condition.
4393 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4394 [__USE_GNU] (__dprintf_chk): Not under this condition.
4395 [__USE_GNU] (__vdprintf_chk): Likewise.
4396 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
4397 under this condition.
4398 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
4399 [__USE_XOPEN2K8] (dprintf): Define under this condition.
4400 [__USE_XOPEN2K8] (vdprintf): Likewise.
4401 [__USE_GNU] (__dprintf_chk): Not under this condition.
4402 [__USE_GNU] (__vdprintf_chk): Likewise.
4403 [__USE_GNU] (dprintf): Likewise.
4404 [__USE_GNU] (vdprintf): Likewise.
4406 2012-05-03 Roland McGrath <roland@hack.frob.com>
4408 * elf/Makefile (common-generated): Set this instead of generated for
4409 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
4410 $(all-built-dso)-derived lists.
4412 2012-05-03 Andreas Jaeger <aj@suse.de>
4414 * sysdeps/i386/fpu/libm-test-ulps: Update.
4418 * scripts/gen-FAQ.pl: Likewise.
4419 * manual/install.texi (Installation): Point to online location of
4421 * Makefile (files-for-dist): Remove FAQ.
4424 2012-05-02 Allan McRae <allan@archlinux.org>
4426 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
4427 (LDFLAGS-reldepmod5.so): Likewise.
4428 (LDFLAGS-reldep6mod1.so): Likewise.
4429 (LDFLAGS-reldep6mod4.so): Likewise.
4430 (LDFLAGS-reldep8mod3.so): Likewise.
4431 (LDFLAGS-unload4mod1.so): Likewise.
4432 (LDFLAGS-unload4mod2.so): Likewise.
4433 (LDFLAGS-tst-initorder): Likewise.
4434 (LDFLAGS-tst-initordera2.so): Likewise.
4435 (LDFLAGS-tst-initordera3.so): Likewise.
4436 (LDFLAGS-tst-initordera4.so): Likewise.
4437 (LDFLAGS-tst-initorderb2.so): Likewise.
4438 (LDFLAGS-noload): Likewise.
4439 (LDFLAGS-next): Likewise.
4440 (LDFLAGS-order2mod1.so): Likewise.
4441 (LDFLAGS-order2mod2.so): Likewise.
4442 (LDFLAGS-tst-initorder2): Likewise.
4443 (LDFLAGS-tst-initorder2a.so): Likewise.
4444 (LDFLAGS-tst-initorder2b.so): Likewise.
4445 (LDFLAGS-tst-initorder2c.so): Likewise.
4446 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
4448 2012-05-02 David S. Miller <davem@davemloft.net>
4450 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4452 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
4455 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
4457 2012-05-02 Andreas Jaeger <aj@suse.de>
4459 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
4460 since we manipulate rounding mode.
4461 (CPPFLAGS-test-idouble.c): Likewise.
4462 (CPPFLAGS-test-ifloat.c): Likewise.
4463 (CFLAGS-test-ldouble.c): Likewise.
4464 (CFLAGS-test-double.c): Likewise.
4465 (CFLAGS-test-float.c): Likewise.
4466 (CFLAGS-test-misc.c): Likewise.
4467 (CFLAGS-test-test-fenv.c): Likewise.
4469 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
4474 comparisons to determine direction to adjust input.
4476 2012-05-01 Roland McGrath <roland@hack.frob.com>
4478 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
4479 output to the target.
4481 * scripts/localplt.awk: New file.
4482 * elf/Makefile ($(objpfx)check-localplt): Target removed.
4483 (check-localplt-CFLAGS): Variable removed.
4484 ($(all-built-dso:=.jmprel)): New static pattern rule.
4485 (generated): Add those targets.
4486 (localplt-built-dso): New variable.
4487 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
4489 * elf/check-localplt.c: File removed.
4491 * scripts/check-execstack.awk: New file.
4492 * elf/Makefile ($(objpfx)check-execstack): Target removed.
4493 (check-execstack-CFLAGS): Variable removed.
4494 ($(objpfx)check-execstack.h): Target removed.
4495 ($(objpfx)execstack-default): New target.
4496 (generated): Add that instead of check-execstack.h.
4497 ($(all-built-dso:=.phdr)): New static pattern rule.
4498 (generated): Add those targets.
4499 * elf/check-execstack.c: File removed.
4501 * scripts/check-textrel.awk: New file.
4502 * elf/Makefile ($(objpfx)check-textrel): Target removed.
4503 (check-textrel-CFLAGS): Variable removed.
4504 (all-built-dso): Use := to define.o
4505 ($(all-built-dso:=.dyn)): New static pattern rule.
4506 (generated): Add those targets.
4507 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
4508 * config.make.in (READELF): New substituted variable.
4509 * elf/check-textrel.c: File removed.
4511 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4513 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
4515 * conform/data/ctype.h-data [C99-based standards] (isblank):
4517 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
4518 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
4519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4520 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
4521 Specify type. Require positive value.
4524 [ISO || POSIX] (EILSEQ): Do not expect.
4525 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
4526 Specify type. Require positive value.
4527 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
4528 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
4529 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
4530 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
4531 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
4532 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
4533 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
4534 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
4535 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
4536 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
4537 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
4538 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
4539 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
4540 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
4541 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
4542 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
4543 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
4544 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
4545 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
4546 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
4547 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
4548 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
4549 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
4550 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
4551 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
4552 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
4553 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
4554 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
4555 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
4556 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
4557 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
4558 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
4559 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
4560 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
4561 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
4562 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
4563 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
4564 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
4565 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
4566 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
4567 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
4568 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
4569 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
4570 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
4571 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
4572 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
4573 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
4574 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
4575 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
4576 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
4577 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
4578 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
4579 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
4580 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
4581 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
4582 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
4583 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
4584 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
4585 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
4586 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
4587 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
4588 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
4589 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
4590 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
4591 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
4592 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
4593 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
4594 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
4595 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
4596 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
4597 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
4598 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
4599 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
4600 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
4601 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
4602 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
4603 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
4605 (FLT_ROUNDS): Expect as macro, not constant.
4606 (FLT_MANT_DIG): Use macro-int-constant.
4607 (DBL_MANT_DIG): Likewise.
4608 (LDBL_MANT_DIG): Likewise.
4609 (FLT_DIG): Likewise.
4610 (DBL_DIG): Likewise.
4611 (LDBL_DIG): Likewise.
4612 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
4613 (DBL_MIN_EXP): Likewise.
4614 (LDBL_MIN_EXP): Likewise.
4615 (FLT_MAX_EXP): Use macro-int-constant.
4616 (DBL_MAX_EXP): Likewise.
4617 (LDBL_MAX_EXP): Likewise.
4618 (FLT_MAX_10_EXP): Likewise.
4619 (DBL_MAX_10_EXP): Likewise.
4620 (LDBL_MAX_10_EXP): Likewise.
4621 (FLT_MAX): Use macro-constant.
4622 (DBL_MAX): Likewise.
4623 (LDBL_MAX): Likewise.
4624 (FLT_EPSILON): Use macro-constant. Give upper bound.
4625 (DBL_EPSILON): Likewise.
4626 (LDBL_EPSILON): Likewise.
4627 (FLT_MIN): Likewise.
4628 (DBL_MIN): Likewise.
4629 (LDBL_MIN): Likewise.
4630 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
4631 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
4632 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
4633 [ISO11] (FLT_HAS_SUBNORM): Likewise.
4634 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
4635 [ISO11] (DBL_DECIMAL_DIG): Likewise.
4636 [ISO11] (FLT_DECIMAL_DIG): Likewise.
4637 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
4638 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
4639 [ISO11] (FLT_TRUE_MIN): Likewise.
4640 [ISO11] (LDBL_TRUE_MIN): Likewise.
4641 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4642 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
4643 (SCHAR_MIN): Use macro-int-constant. Specify type.
4644 (SCHAR_MAX): Likewise.
4645 (UCHAR_MAX): Likewise.
4646 (CHAR_MIN): Likewise.
4647 (CHAR_MAX): Likewise.
4648 (MB_LEN_MAX): Use macro-int-constant.
4649 (SHRT_MIN): Use macro-int-constant. Specify type.
4650 (SHRT_MAX): Likewise.
4651 (USHRT_MAX): Likewise.
4652 (INT_MAX): Likewise.
4653 (INT_MIN): Use macro-int-constant. Specify type. Make upper
4655 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
4657 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4659 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
4660 bound negative. Suffix upper bound with "L".
4661 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
4663 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
4665 [C99-based standards] (LLONG_MAX): Likewise.
4666 [C99-based standards] (ULLONG_MAX): Likewise.
4667 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
4669 [ISO11] (max_align_t): Require type.
4670 [ISO || ISO99 || ISO11] (*_t): Do not allow.
4672 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
4673 from $CFLAGS, without defining away __attribute__ calls.
4674 (checknamespace): Use $CFLAGS_namespace.
4676 * conform/conformtest.pl (@keywords): Only include C99 keywords
4677 for standards based on C99 or C11.
4679 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
4681 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
4684 * conform/conformtest.pl: Handle "macro-int-constant" and test for
4685 usability of symbols in #if.
4687 * conform/conformtest.pl: If macro or constant types start
4688 "promoted:", expect the symbol to be of the following type
4689 promoted by the integer promotions.
4691 * conform/conformtest.pl: Parse all "constant" and "macro" lines
4692 in one place. Also handle "macro-constant".
4694 * conform/conformtest.pl: Only accept expected macro values with
4695 "==". Parse all "macro" lines in one place.
4696 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
4698 * conform/conformtest.pl: Handle braced types on "constant" lines
4699 instead of handling "typed-constant".
4700 * conform/data/signal.h-data: Use "constant" instead of
4703 * conform/conformtest.pl: Handle "optional-" at start of lines in
4704 one place rather than duplicating several cases. Handle each
4705 format of "macro" line with initial "optional-".
4707 * conform/conformtest.pl: Only accept expected constant or
4708 optional-constant values with "==". Parse all "constant" lines in
4709 one place. Parse all "optional-constant" lines in one place.
4710 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
4711 * conform/data/fmtmsg.h-data: Likewise.
4712 * conform/data/netinet/in.h-data: Likewise.
4713 * conform/data/tar.h-data: Likewise.
4714 * conform/data/limits.h-data: Use "==" form on "constant" and
4715 "optional-constant" lines.
4717 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
4718 Use -std=c99 for XOPEN2K.
4719 (@knownproblems): Remove.
4720 (newtoken): Don't check %isknown.
4722 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
4723 Do not expect macro.
4724 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
4725 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
4726 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
4727 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
4728 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
4729 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
4730 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
4731 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
4732 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
4733 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
4734 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
4735 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
4736 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
4737 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
4738 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
4739 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
4740 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
4741 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
4742 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
4743 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
4744 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
4745 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
4746 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
4747 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
4748 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
4749 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
4750 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
4751 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
4752 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
4753 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
4754 [XPG3] (acosh): Likewise.
4755 [XPG3] (asinh): Likewise.
4756 [XPG3] (atanh): Likewise.
4757 [XPG3] (cbrt): Likewise.
4758 [XPG3] (expm1): Likewise.
4759 [XPG3] (ilogb): Likewise.
4760 [XPG3] (log1p): Likewise.
4761 [XPG3] (logb): Likewise.
4762 [XPG3] (nextafter): Likewise.
4763 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
4764 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
4765 [XPG3] (remainder): Likewise.
4766 [XPG3] (rint): Likewise.
4767 [XPG3 || XPG4 || UNIX98] (round): Likewise.
4768 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
4769 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
4770 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
4771 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
4772 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
4773 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
4774 [UNIX98 || XOPEN2K] (scalb): Expect.
4775 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
4776 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
4777 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
4778 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
4779 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
4780 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
4781 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
4782 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
4783 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
4784 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
4785 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
4786 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
4787 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
4788 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
4789 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
4790 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
4791 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
4792 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
4793 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
4794 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
4795 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
4796 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
4797 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
4798 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
4799 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
4800 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
4801 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
4802 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
4803 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
4804 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
4805 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
4806 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
4807 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
4808 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
4809 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
4810 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
4811 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
4812 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
4813 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
4814 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
4815 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
4816 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
4817 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
4818 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
4819 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
4820 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
4821 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
4822 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
4823 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
4824 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
4825 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
4826 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
4827 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
4828 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
4829 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
4830 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
4831 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
4832 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
4833 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
4834 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
4835 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
4836 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
4837 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
4838 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
4839 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
4840 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
4841 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
4842 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
4843 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
4844 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
4845 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
4846 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
4847 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
4848 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
4849 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
4850 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
4851 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
4852 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
4853 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
4854 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
4855 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
4856 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
4857 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
4858 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
4859 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
4860 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
4861 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
4862 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
4863 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
4864 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
4865 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
4866 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
4867 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
4868 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
4869 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
4870 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
4871 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
4872 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
4873 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
4874 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
4875 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
4876 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
4877 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
4878 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
4879 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
4880 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
4881 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
4882 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
4883 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
4884 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
4885 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
4886 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
4887 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
4888 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
4889 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
4890 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
4891 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
4892 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
4893 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
4894 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
4895 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
4896 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
4897 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
4898 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
4899 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
4900 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
4901 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
4902 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
4903 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
4904 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
4905 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
4906 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
4907 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
4908 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
4909 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
4910 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
4911 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
4913 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
4914 _XOPEN_SOURCE_EXTENDED for XPG4.
4916 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
4918 * Makeconfig (localtime): Remove variable.
4919 (inst_localtime-file): Likewise.
4921 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
4925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
4927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
4929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
4933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
4935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
4937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
4939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4942 2012-05-01 Joseph Myers <joseph@codesourcery.com>
4946 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
4947 comparisons to determine direction to adjust input.
4948 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
4949 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
4950 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
4952 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
4954 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
4956 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
4957 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
4959 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
4961 * math/libm-test.inc (nexttoward_test): Add more tests.
4963 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
4966 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
4967 in version GLIBC_2.1, not GLIBC_2.0.
4968 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
4971 2012-04-30 Joseph Myers <joseph@codesourcery.com>
4974 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
4976 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4977 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
4978 * math/libm-test.inc (acos_test): Add more tests.
4979 (asin_test): Likewise.
4980 * sysdeps/i386/fpu/libm-test-ulps: Update.
4981 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4984 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
4986 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
4987 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
4988 * math/libm-test.inc (acos_test_tonearest): New function.
4989 (acos_test_towardzero): Likewise.
4990 (acos_test_downward): Likewise.
4991 (acos_test_upward): Likewise.
4992 (asin_test_tonearest): Likewise.
4993 (asin_test_towardzero): Likewise.
4994 (asin_test_downward): Likewise.
4995 (asin_test_upward): Likewise.
4996 (main): Call the new functions.
4997 * sysdeps/i386/fpu/libm-test-ulps: Update.
4998 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5002 * math/e_exp10.c: Include <float.h>.
5003 (__ieee754_exp10): Handle underflow here rather than multiplying
5004 large negative argument by M_LN10.
5005 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
5007 * math/e_exp10l.c: Include <float.h>.
5008 (__ieee754_exp10l): Handle underflow here rather than multiplying
5009 large negative argument by M_LN10l.
5010 * math/libm-test.inc (exp10_test): Add another test. Do not allow
5011 spurious overflow exception on underflow.
5013 2012-04-29 Marek Polacek <polacek@redhat.com>
5015 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
5016 (__fortify_function): New macro.
5017 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
5018 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
5019 __extern_always_inline.
5020 * libio/bits/stdio2.h: Likewise.
5021 * libio/bits/stdio.h: Likewise.
5022 * string/string.h: Likewise.
5023 * string/bits/string3.h: Likewise.
5024 * include/stdio.h: Likewise.
5025 * stdlib/bits/stdlib.h: Likewise.
5026 * stdlib/stdlib.h: Likewise.
5027 * rt/bits/mqueue2.h: Likewise.
5028 * rt/mqueue.h: Likewise.
5029 * posix/bits/unistd.h: Likewise.
5030 * posix/unistd.h: Likewise.
5031 * io/bits/poll2.h: Likewise.
5032 * io/bits/fcntl2.h: Likewise.
5033 * io/fcntl.h: Likewise.
5034 * io/sys/poll.h: Likewise.
5035 * misc/bits/syslog.h: Likewise.
5036 * misc/bits/syslog-ldbl.h: Likewise.
5037 * misc/sys/syslog.h: Likewise.
5038 * socket/bits/socket2.h: Likewise.
5039 * socket/sys/socket.h: Likewise.
5040 * debug/tst-chk1.c: Likewise.
5041 * wcsmbs/bits/wchar2.h: Likewise.
5042 * wcsmbs/bits/wchar-ldbl.h: Likewise.
5043 * wcsmbs/wchar.h: Likewise.
5045 2012-04-29 Andreas Jaeger <aj@suse.de>
5047 * Makerules (tests): Remove enable-check-abi protection.
5048 (check-abi-warn): Remove.
5049 (check-abi-%): Remove check-abi-warn usage.
5051 * configure.in: Remove check-abi configure option.
5052 * configure: Regenerated.
5053 * config.make.in (enable-check-abi): Remove.
5055 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
5058 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
5059 double functions to double *_finite functions.
5062 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
5063 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
5065 * stdio-common/Makefile (tests): Add tst-sprintf3.
5066 * stdio-common/tst-sprintf3.c: New file.
5068 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
5069 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
5071 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5073 * conform/conformtest.pl: Remove duplicate typed-constant
5076 2012-04-28 David S. Miller <davem@davemloft.net>
5078 * Makerules (%.abilist): Add vpath on sysdep_dirs.
5079 (check-abi-%): Remove AWK script prerequisite and explicit
5081 (check-abi): Rewrite to just diff the symlist with the abilist.
5082 (config-tls, config-abi-config): Delete, no longer used.
5083 (update-abi-%): Remove AWK script and explicit abilist directory.
5084 (update-abi): Rewrite to simply compare and conditionally copy the
5085 symlist and the sysdep abilist file. Remove update-abi-config
5087 * abilist/ld.abilist: Remove.
5088 * abilist/libBrokenLocale.abilist: Remove.
5089 * abilist/libanl.abilist: Remove.
5090 * abilist/libcrypt.abilist: Remove.
5091 * abilist/libdl.abilist: Remove.
5092 * abilist/librt.abilist: Remove.
5093 * abilist/libthread_db.abilist: Remove.
5094 * abilist/libutil.abilist: Remove.
5095 * scripts/extract-abilist.awk: Remove.
5096 * scripts/merge-abilist.awk: Remove.
5097 * sysdeps/generic/libcidn.abilist: New file.
5098 * sysdeps/generic/libnss_compat.abilist: New file.
5099 * sysdeps/generic/libnss_db.abilist: New file.
5100 * sysdeps/generic/libnss_dns.abilist: New file.
5101 * sysdeps/generic/libnss_files.abilist: New file.
5102 * sysdeps/generic/libnss_hesiod.abilist: New file.
5103 * sysdeps/generic/libnss_nis.abilist: New file.
5104 * sysdeps/generic/libnss_nisplus.abilist: New file.
5105 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
5106 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
5107 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
5109 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
5110 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
5111 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
5112 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
5113 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
5114 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
5115 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
5116 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
5117 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
5119 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
5120 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
5121 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
5122 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
5124 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
5125 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
5126 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
5127 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
5128 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
5129 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
5131 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
5132 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
5133 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
5135 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
5136 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
5138 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
5140 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
5142 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
5144 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
5146 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
5148 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
5150 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
5152 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
5154 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
5156 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
5158 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
5160 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
5162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
5164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
5166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
5168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
5170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
5172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
5174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
5176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
5178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
5182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
5184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
5186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
5188 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
5189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
5191 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5193 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
5195 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
5197 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
5199 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
5201 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
5203 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5205 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
5207 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
5209 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5211 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
5213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
5214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
5216 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5218 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
5220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
5222 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
5224 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
5226 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
5228 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5230 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
5232 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
5234 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
5238 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
5239 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
5240 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
5242 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
5243 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
5244 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
5245 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
5246 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
5247 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
5248 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
5249 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
5250 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
5251 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
5252 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
5253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
5255 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
5259 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
5261 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
5263 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
5265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
5267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5271 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
5273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
5277 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
5278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
5280 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
5284 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
5286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
5288 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
5290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
5292 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5296 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
5298 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5300 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
5303 2012-04-28 Joseph Myers <joseph@codesourcery.com>
5305 * conform/conformtest.pl: Fix typo in handling typed-constant from
5308 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5310 * README: Cut down references to pre-2.6 Linux kernels and
5311 Linuxthreads. Update lists of configurations in libc and ports
5312 and sort alphabetically. Say "or newer" with Linux kernel version
5315 * config.h.in [IS_IN_build]: Allow compiling without optimization.
5317 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5320 * math/libm-test.inc (logb_test_downward): New test to expose
5321 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
5324 2012-04-27 Joseph Myers <joseph@codesourcery.com>
5327 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
5329 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
5330 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
5332 2012-04-26 Joseph Myers <joseph@codesourcery.com>
5334 * sysdeps/unix/i386/brk.S: Remove file.
5335 * sysdeps/unix/i386/dl-brk.S: Likewise.
5336 * sysdeps/unix/i386/pipe.S: Likewise.
5337 * sysdeps/unix/i386/sigreturn.S: Likewise.
5338 * sysdeps/unix/i386/syscall.S: Likewise.
5339 * sysdeps/unix/i386/vfork.S: Likewise.
5340 * sysdeps/unix/i386/wait.S: Likewise.
5342 * sysdeps/unix/common/tcsendbrk.c: Move to ...
5343 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
5345 * configure.in (arm*-none*): Do not allow without
5346 --enable-hacker-mode.
5347 (netbsd*): Remove case setting base_os.
5348 (386bsd*): Likewise.
5349 (freebsd*): Likewise.
5353 (ultrix*): Likewise.
5354 (newsos*): Likewise.
5364 (solaris[2-9]*): Likewise.
5366 * configure: Regenerated.
5368 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
5372 overflow or cancellation in calculating denominator.
5373 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
5374 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
5375 down expression to avoid unexpected rounding in newer GCCs.
5376 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
5378 2012-04-26 David S. Miller <davem@davemloft.net>
5380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
5381 long-double compat symbols.
5382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
5383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
5384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
5385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
5386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
5387 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
5388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
5389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
5390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
5391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
5393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
5394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
5396 2012-04-25 David S. Miller <davem@davemloft.net>
5398 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
5399 HWCAP_* values only after the memory barriers have been defined.
5400 (atomic_full_barrier): Define.
5401 (atomic_read_barrier): Define.
5402 (atomic_write_barrier): Define.
5404 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5406 * shlib-versions: Add libgcc_s version information.
5407 * sysdeps/generic/libgcc_s.h: Remove.
5408 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
5410 * sysdeps/gnu/unwind-resume.c: Likewise.
5411 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
5413 2012-04-25 David S. Miller <davem@davemloft.net>
5415 * sysdeps/unix/sparc/brk.S: Delete.
5416 * sysdeps/unix/sparc/dl-brk.S: Delete.
5417 * sysdeps/unix/sparc/pipe.S: Delete.
5418 * sysdeps/unix/sparc/sysdep.S: Delete.
5419 * sysdeps/unix/sparc/sysdep.h: Delete.
5420 * sysdeps/unix/sparc/vfork.S: Delete.
5421 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
5422 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
5423 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
5424 ret_ERRVAL, r0, r1, MOVE): Define.
5425 (JUMPTARGET): Remove.
5426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
5427 sysdeps/unix/sparc/sysdep.h
5428 (ENTRY, END): Remove.
5429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5431 2012-04-25 Joseph Myers <joseph@codesourcery.com>
5433 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
5434 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
5437 * timezone/README: Update upstream location and email address for
5439 * timezone/zdump.c: Update from tzcode 2012b.
5440 * timezone/zic.c: Likewise.
5442 * configure.in (libc_cv_as_needed): Remove test.
5443 * configure: Regenerated.
5444 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
5445 conditional definition.
5446 [$(have-as-needed) != yes] (no-as-needed): Likewise.
5447 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
5448 * config.make.in (have-as-needed): Remove variable.
5450 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5451 Paul Pluzhnikov <ppluzhnikov@google.com>
5453 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
5456 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
5458 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
5459 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
5460 * sysdeps/sh/strlen.S: Likewise.
5462 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5464 * sysdeps/unix/fork.S: Remove file.
5465 * sysdeps/unix/i386/fork.S: Likewise.
5466 * sysdeps/unix/sparc/fork.S: Likewise.
5468 * sysdeps/unix/system.c: Remove file.
5469 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
5471 * sysdeps/unix/getegid.S: Remove file.
5472 * sysdeps/unix/geteuid.S: Likewise.
5474 2012-04-24 Roland McGrath <roland@hack.frob.com>
5476 * scripts/check-localplt.awk: New file.
5477 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
5479 * scripts/data/localplt-generic.data: Add a comment.
5481 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
5482 NODE when __dir_mkfile failed.
5483 * sysdeps/mach/hurd/symlinkat.c: Likewise.
5484 Reported by Ludovic Courtès <ludo@gnu.org>.
5486 2012-04-24 Andreas Jaeger <aj@suse.de>
5488 * Makerules (common-clean): Also remove gen-as-const-headers
5491 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5493 * Makerules (native-compile): Do not change working directory for
5494 build. Use $(OUTPUT_OPTION) in command.
5495 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
5497 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5500 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
5501 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
5502 * math/libm-test.inc (floor_test): Add more tests.
5503 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
5505 2012-04-24 Joseph Myers <joseph@codesourcery.com>
5507 * sysdeps/unix/getdents.c: Remove file.
5508 * sysdeps/unix/sysv/getdents.c: Likewise.
5509 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
5511 * sysdeps/unix/syscalls.list (madvise): Add syscall from
5512 sysdeps/unix/mman/syscalls.list.
5514 (mprotect): Likewise.
5517 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
5518 * sysdeps/unix/mman/syscalls.list: Remove.
5519 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
5521 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
5522 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
5523 * configure: Regenerated.
5524 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
5526 * config.make.in (libgcc_s_suffix): Remove variable.
5528 2012-04-23 Joseph Myers <joseph@codesourcery.com>
5530 * sysdeps/unix/sysv/gethostname.c: Move to ...
5531 * sysdeps/posix/gethostname.c: ... here.
5533 * sysdeps/unix/execve.S: Remove file.
5535 * sysdeps/unix/_exit.S: Remove file.
5537 2012-04-23 Andreas Jaeger <aj@suse.de>
5540 * manual/Makefile: Remove make dist support, there's no
5541 need for a stand-alone documentation tar ball.
5542 (TEXI2DVI): Define always, it's not in Makeconfig.
5546 (glibc-doc-$(edition).tar): Removed
5550 (ETAGS): Remove, it's in Makeconfig.
5551 (move-if-change): Remove, it's in Makeconfig.
5553 2013-04-23 Paul Eggert <eggert@cs.ucla.edu>
5556 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
5557 (strtod, strtof, strtold, strtol, strtoul, strtoq)
5558 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
5559 (strtod_l, strtof_l, strtold_l): Remove __wur.
5560 It is not necessarily an error to ignore strtol's return value.
5561 One can reliably look at the stored endptr to decide whether
5562 the number had valid syntax.
5564 2012-04-21 Andreas Jaeger <aj@suse.de>
5567 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
5569 2012-04-21 Joseph Myers <joseph@codesourcery.com>
5571 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
5572 * sysdeps/unix/sysv/Versions: Remove file.
5574 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
5577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5579 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
5582 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
5583 version from __vm86.
5585 2012-04-20 Joseph Myers <joseph@codesourcery.com>
5587 * sysdeps/unix/common/lxstat.c: Remove file.
5588 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
5590 * sysdeps/unix/sysv/Makefile: Remove file.
5592 * sysdeps/unix/sysv/direct.h: Remove file.
5594 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
5595 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
5596 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
5597 * sysdeps/unix/sysv/bits/signum.h: Likewise.
5598 * sysdeps/unix/sysv/bits/stat.h: Likewise.
5599 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
5600 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
5602 * sysdeps/unix/sysv/setrlimit.c: Remove file.
5604 * sysdeps/unix/xmknod.c: Remove file.
5605 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
5607 * sysdeps/unix/sysv/settimeofday.c: Remove file.
5609 * sysdeps/unix/sysv/i386/time.S: Remove file.
5611 * sysdeps/unix/fxstat.c: Remove file.
5612 * sysdeps/unix/xstat.c: Likewise.
5613 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
5615 * sysdeps/unix/sysv/sigaction.c: Remove file.
5617 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
5618 (sysdep_headers): Remove variable.
5619 [termio.h not in sysdep_headers] (generated): Likewise.
5620 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
5621 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
5622 * sysdeps/unix/sysv/tcdrain.c: Likewise.
5623 * sysdeps/unix/sysv/tcflow.c: Likewise.
5624 * sysdeps/unix/sysv/tcflush.c: Likewise.
5625 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
5626 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
5627 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
5628 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
5629 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
5631 * sysdeps/unix/siglist.c: Remove file.
5633 * sysdeps/unix/getppid.S: Remove file.
5635 * sysdeps/unix/mkdir.c: Remove file.
5636 * sysdeps/unix/rmdir.c: Likewise.
5638 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
5640 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
5642 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
5643 errlist-compat value.
5645 2012-04-18 David S. Miller <davem@davemloft.net>
5647 * sysdeps/generic/memcopy.h (reg_char): Delete.
5648 * debug/strcat_chk.c: Use char, not reg_char.
5649 * debug/strcpy_chk.c: Likewise.
5650 * debug/strncat_chk.c: Likewise.
5651 * debug/strncpy_chk.c: Likewise.
5652 * string/memchr.c: Likewise.
5653 * string/memrchr.c: Likewise.
5654 * string/rawmemchr.c: Likewise.
5655 * string/strcat.c: Likewise.
5656 * string/strchr.c: Likewise.
5657 * string/strchrnul.c: Likewise.
5658 * string/strcmp.c: Likewise.
5659 * string/strcpy.c: Likewise.
5660 * string/strncat.c: Likewise.
5661 * string/strncmp.c: Likewise.
5662 * string/strncpy.c: Likewise.
5664 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5666 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
5667 __builtin_memcopy is called when src and dest ranges are known to not
5670 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5672 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
5673 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
5674 fwd_align_merge macro call.
5675 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
5676 bwd_align_merge macro call.
5677 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5679 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
5681 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
5682 bwd_align_merge macros.
5683 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
5684 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
5685 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5687 2012-04-18 David S. Miller <davem@davemloft.net>
5689 * sysdeps/sparc/sparc64/memcopy.h: Delete.
5691 2012-04-18 Andreas Jaeger <aj@suse.de>
5694 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
5695 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
5696 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5698 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
5699 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
5700 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5702 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
5703 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
5704 Adjust for changed ldbl-128 files.
5706 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
5707 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
5708 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
5710 2012-04-17 David S. Miller <davem@davemloft.net>
5712 * sysdeps/sparc/sparc32/memcopy.h: Delete.
5714 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
5716 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
5717 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
5718 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
5719 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
5720 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
5721 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
5723 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5726 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
5727 * math/libm-test.inc: Add ilogb errno and exception tests.
5728 * math/w_ilogb.c: New file: ilogb wrapper.
5729 * math/w_ilogbf.c: New file: ilogbf wrapper.
5730 * math/w_ilogbl.c: New file: ilogbl wrapper.
5731 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
5732 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
5733 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
5734 exception being thrown with 0.0 as argument.
5735 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
5736 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
5737 exception being thrown with 0.0 as argument.
5738 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
5739 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5740 exception being thrown with 0.0 as argument.
5741 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
5742 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
5743 exception being thrown with 0.0 as argument.
5744 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
5745 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
5746 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
5747 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
5748 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
5749 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
5750 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
5751 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
5752 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
5754 2012-04-17 Petr Baudis <pasky@ucw.cz>
5756 * include/sys/uio.h: Change __vector to __iovec to avoid clash
5759 2012-04-16 Marek Polacek <polacek@redhat.com>
5761 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
5763 2012-04-16 Marek Polacek <polacek@redhat.com>
5765 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
5766 operands of fdivp instruction.
5768 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5770 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
5771 * elf/tst-auditmod3b.c: Likewise.
5772 * elf/tst-auditmod4b.c: Likewise.
5773 * elf/tst-auditmod5b.c: Likewise.
5774 * elf/tst-auditmod6b.c: Likewise.
5775 * elf/tst-auditmod6c.c: Likewise.
5776 * elf/tst-auditmod7b.c: Likewise.
5777 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
5778 * sysdeps/x86_64/preconfigure.in: Likewise.
5779 * sysdeps/x86_64/preconfigure: Regenerated.
5781 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
5783 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
5786 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
5788 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
5789 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
5791 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
5794 * locale/iso-639.def: Fix gl language name. Spotted by
5797 2012-04-12 Roland McGrath <roland@hack.frob.com>
5800 * libio/libio.h (__io_write_fn): Update comment.
5802 2012-04-12 Petr Baudis <pasky@ucw.cz>
5805 * stdio.texi (Hook Functions): The user provided writer function
5806 is not allowed to return -1.
5808 2012-04-11 David S. Miller <davem@davemloft.net>
5810 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5812 2012-04-11 Mike Frysinger <vapier@gentoo.org>
5814 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
5815 Add a leading slash to rtkaio.
5817 2012-04-11 Jim Meyering <meyering@redhat.com>
5820 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
5821 It is not necessarily an error to ignore fwrite's return
5822 value. One can reliably use ferror to test for errors after
5825 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5827 * bits/types.h (__snseconds_t): New type.
5828 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
5830 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
5831 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
5832 (__SNSECONDS_T_TYPE): Likewise.
5833 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
5834 (__SNSECONDS_T_TYPE): Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
5836 (__SNSECONDS_T_TYPE): Likewise.
5838 2012-04-10 Andreas Jaeger <aj@suse.de>
5841 * manual/time.texi (Processor Time): Return type of times is
5842 elapsed real time since an arbitrary point in the past.
5843 (CPU Time): Move CLK_TCK from here...
5844 (Processor Time): ...to here. Correct description.
5845 * manual/conf.texi (Constants for Sysconf): Correct description of
5848 2012-04-10 David S. Miller <davem@davemloft.net>
5851 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
5852 where the is a gap between DT_REL(A) and DT_JMPREL.
5854 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
5856 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
5857 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5858 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5860 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5862 * elf/dl-support.c (_dl_inhibit_cache): New variable.
5863 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
5864 (dl_main): Handle --inhibit-cache.
5865 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
5867 * elf/dl-load.c (_dl_map_object): Use it.
5868 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
5870 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5873 * sysdeps/i386/fpu/e_powl.S (p78): New object.
5874 (__ieee754_powl): Saturate large exponents rather than testing for
5875 overflow of y*log2(x).
5876 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
5877 * math/libm-test.inc (pow_test): Do not permit spurious overflow
5881 * math/s_ctan.c: Include <float.h>.
5882 (__ctan): Avoid internal overflow or cancellation in calculating
5884 * math/s_ctanf.c: Likewise.
5885 * math/s_ctanl.c: Likewise.
5886 * math/s_ctanh.c: Likewise.
5887 * math/s_ctanhf.c: Likewise.
5888 * math/s_ctanhl.c: Likewise.
5889 * math/libm-test.inc (ctan_test): Add more tests.
5890 (ctanh_test): Likewise.
5891 * sysdeps/i386/fpu/libm-test-ulps: Update.
5892 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5894 2012-04-09 Andreas Jaeger <aj@suse.de>
5897 * manual/filesys.texi (Directory Entries): Mention that d_namlen
5898 is an optional BSD extension.
5901 * manual/stdio.texi (Opening Streams): Document additional fopen
5904 2012-04-09 Roland McGrath <roland@hack.frob.com>
5906 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
5907 %eax without telling the compiler.
5909 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
5912 * manual/install.texi: Use sourceware.org.
5914 2012-04-09 Joseph Myers <joseph@codesourcery.com>
5917 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
5918 (__ieee754_pow): Generate overflow and underflow using huge*huge
5919 and tiny*tiny rather than just returning constant infinity or zero
5920 for large exponents.
5921 * math/libm-test.inc (pow_test): Require overflow exceptions for
5922 applicable cases of large exponents.
5925 * sysdeps/i386/fpu/e_pow.S (p10): New object.
5926 (__ieee754_pow): Use iterative multiplication algorithm only for
5927 integer exponents with absolute value below 1024. Check for odd
5928 integer exponents when using algorithm for real exponents.
5929 * math/libm-test.inc (pow_test): Add more tests.
5930 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5932 2012-04-08 Joseph Myers <joseph@codesourcery.com>
5935 * math/libm-test.inc (exp_test): Do not allow overflow exception
5938 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
5941 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
5942 instead of __kernel_standard_f.
5944 2012-04-08 Mike Frysinger <vapier@gentoo.org>
5946 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
5947 * sysdeps/x86_64/memset_chk.S: Likewise.
5949 2012-04-08 Andreas Jaeger <aj@suse.de>
5952 * manual/startup.texi (Environment Access): Describe return value
5953 for putenv and setenv.
5956 * manual/filesys.texi (Directory Entries): Add description for
5960 * manual/filesys.texi (Directory Entries): Clarify that it's file
5961 system not operating system in the description of DT_UNKNOWN.
5964 * manual/syslog.texi (closelog): Fix reference, it's openlog.
5966 2012-04-08 Stephen Compall <s11@member.fsf.org>
5969 * manual/llio.texi (Opening and Closing Files): Add cross
5970 reference to explain mode argument.
5972 2012-04-07 Mike Frysinger <vapier@gentoo.org>
5974 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
5975 * sysdeps/x86_64/memset_chk.S: Likewise.
5977 2012-04-07 David S. Miller <davem@davemloft.net>
5979 * elf/elf.h (R_SPARC_WDISP10): Define.
5980 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
5982 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
5983 R_SPARC_SIZE64 and R_SPARC_H34.
5985 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
5987 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
5988 conditions and remove no longer applicable assertion.
5990 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5992 * bits/byteswap.h: Include <features.h>.
5993 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
5994 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
5996 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
5998 * bits/byteswap.h (__bswap_16): Removed.
5999 Include <bits/byteswap-16.h> to get __bswap_16.
6000 * sysdeps/i386/bits/byteswap.h: Likewise.
6001 * sysdeps/s390/bits/byteswap.h: Likewise.
6002 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6003 * bits/byteswap-16.h: New file.
6004 * sysdeps/i386/bits/byteswap-16.h: Likewise.
6005 * sysdeps/s390/bits/byteswap-16.h: Likewise.
6006 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
6007 * string/Makefile (headers): Add bits/byteswap-16.h.
6009 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
6012 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
6014 * nss/Makefile (tests-static, tests): Add tst-nss-static.
6015 * nss/tst-nss-static.c: New.
6017 2012-04-06 Robert Millan <rmh@gnu.org>
6020 * manual/llio.texi (File Position Primitive): lseek
6021 refers to WHENCE when it really means OFFSET.
6023 2012-04-06 Andreas Jaeger <aj@suse.de>
6025 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
6026 strncmp declarations.
6028 * abilist/libc.abilist: Add __poll and __ppoll.
6030 2012-04-05 David S. Miller <davem@davemloft.net>
6032 * scripts/check-local-headers.sh: Accept a host triplet in the
6033 path matched by the exclude regexp.
6035 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
6037 * sysdeps/powerpc/powerpc32/dl-machine.h
6038 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
6039 * sysdeps/s390/s390-32/dl-machine.h
6040 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6041 * sysdeps/sparc/sparc32/dl-machine.h
6042 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6043 * sysdeps/sparc/sparc64/dl-machine.h
6044 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
6046 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
6048 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
6049 undefined symbol errors.
6051 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
6054 2012-04-05 Michael Matz <matz@suse.de>
6057 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
6059 2012-04-05 Andreas Jaeger <aj@suse.de>
6062 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
6065 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6067 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
6068 which ROUND is no valid rounding mode.
6070 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6072 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
6074 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
6076 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6078 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
6079 an exception using FPU order intentionally.
6081 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
6083 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
6084 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
6085 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
6086 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
6088 2012-04-05 Simon Josefsson <simon@josefsson.org>
6091 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
6092 EINVAL when BUFLEN is too smal.
6094 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
6097 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
6098 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
6100 2012-04-03 Andreas Jaeger <aj@suse.de>
6103 * manual/setjmp.texi (System V contexts): Fix sentence.
6106 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
6107 New macro for this case.
6108 [!__GNUC__] (__bswap_64): New inline function for this case.
6109 * sysdeps/x86_64/bits/byteswap.h: Likewise.
6110 * bits/byteswap.h: Likewise.
6111 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
6112 ull, guard with __GLIBC_HAVE_LONG_LONG.
6114 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
6115 __GLIBC_HAVE_LONG_LONG.
6117 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
6118 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
6120 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6123 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
6124 inptr and inend, rather than using last_ch.
6126 2012-04-02 David S. Miller <davem@davemloft.net>
6128 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
6129 * stdio-common/printf-parse.h (read_int): Change return type to
6130 'int', return -1 on INT_MAX overflow.
6131 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
6132 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
6133 overflows INT_MAX. Check for overflow of in-format-string precision
6134 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
6135 SIZE_MAX not INT_MAX for integer overflow test.
6136 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
6137 skip the construct in the format string but do not record anything.
6138 * stdio-common/bug22.c: Adjust to test both width/prevision
6139 INT_MAX overflow as well as total length INT_MAX overflow. Check
6140 explicitly for proper errno values.
6142 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
6144 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
6146 * string/test-strcmp.c [! WIDE]: Likewise.
6147 * time/tst-mktime2.c: Likewise for INT_MAX.
6148 * string/test-string.h: #include <sys/param.h> for MIN.
6150 * csu/init-first.c (__libc_init_first): Call __ctype_init.
6151 * sysdeps/i386/init-first.c (init): Likewise.
6152 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
6153 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
6154 * sysdeps/sh/init-first.c (init): Likewise.
6156 2012-04-01 Ulrich Drepper <drepper@gmail.com>
6158 * po/ru.po: Update from translation team.
6159 * po/vi.po: Likewise.
6161 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
6163 * resolv/nss_dns/dns-host.c: Merge copyright years.
6165 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
6167 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
6168 Optimize memcpy with prefetch if
6169 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
6170 src, dst pointers have unequal 16 byte alignments.
6172 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
6175 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
6176 from a CNAME entry and return the minimum ttl for the query.
6177 (gaih_getanswer_slice): Likewise.
6179 2012-03-30 Jeff Law <law@redhat.com>
6181 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
6183 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
6184 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
6186 * resolv/nss_dns/dns-host.c: Update copyright year.
6188 2012-03-30 Ulrich Drepper <drepper@gmail.com>
6190 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
6191 requests to save a system call. Fix check that all bytes are sent.
6193 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
6194 comments for sendmmsg.
6196 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6199 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
6200 with only 1 character between 0x0041 and 0x01b0.
6201 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
6202 * wcsmbs/tst-mbsnrtowcs.c: New file.
6204 2012-03-29 David S. Miller <davem@davemloft.net>
6206 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
6207 small copies by hand.
6209 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6212 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
6213 _nss_compat_initgroups_dyn): Fall back to malloc/free
6214 for large group memberships.
6216 2012-03-28 David S. Miller <davem@davemloft.net>
6218 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
6219 that branches into memcpy.
6220 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
6222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
6223 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
6224 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
6226 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
6228 * sysdeps/sparc/mempcpy.S: New file.
6230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
6231 the IFUNC routine in the libc case.
6232 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
6234 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
6235 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
6236 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
6237 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
6238 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
6239 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
6240 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
6241 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
6243 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
6244 loop to 256 bytes instead of 64 bytes and fix test signedness.
6246 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
6247 * sysdeps/sparc/sparc32/Makefile: rather than here...
6248 * sysdeps/sparc/sparc64/Makefile: and here.
6250 2012-03-28 Ulrich Drepper <drepper@gmail.com>
6252 * malloc/mallocbug.c: Avoid warnings about unused variables.
6254 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6257 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
6258 in the right place. Discard and retry query if response is
6259 larger than input buffer size.
6261 2012-03-28 Joseph Myers <joseph@codesourcery.com>
6266 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
6267 x for large integer exponent.
6268 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6269 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
6270 sign of result as needed afterwards.
6271 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
6272 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
6273 result for underflowing pow the same as for overflow.
6274 (__kernel_standard_l): Handle powl overflow and underflow here
6275 rather than calling __kernel_standard.
6276 * math/libm-test.inc (pow_test): Add more tests.
6291 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
6292 * sysdeps/ieee754/k_standard.c: Include <float.h>.
6293 (__kernel_standard_l): New function.
6294 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
6296 * math/w_acosl.c (__acosl): Likewise.
6297 * math/w_asinl.c (__asinl): Likewise.
6298 * math/w_atan2l.c (__atan2l): Likewise.
6299 * math/w_atanhl.c (__atanhl): Likewise.
6300 * math/w_coshl.c (__coshl): Likewise.
6301 * math/w_exp10l.c (__exp10l): Likewise.
6302 * math/w_exp2l.c (__exp2l): Likewise.
6303 * math/w_fmodl.c (__fmodl): Likewise.
6304 * math/w_hypotl.c (__hypotl): Likewise.
6305 * math/w_j0l.c (__j0l, __y0l): Likewise.
6306 * math/w_j1l.c (__j1l, __y1l): Likewise.
6307 * math/w_jnl.c (__jnl, __ynl): Likewise.
6308 * math/w_lgammal.c (__lgammal): Likewise.
6309 * math/w_log10l.c (__log10l): Likewise.
6310 * math/w_log2l.c (__log2l): Likewise.
6311 * math/w_logl.c (__logl): Likewise.
6312 * math/w_powl.c (__powl): Likewise.
6313 * math/w_remainderl.c (__remainderl): Likewise.
6314 * math/w_scalbl.c (sysv_scalbl): Likewise.
6315 * math/w_sinhl.c (__sinhl): Likewise.
6316 * math/w_sqrtl.c (__sqrtl): Likewise.
6317 * math/w_tgammal.c (__tgammal): Likewise.
6318 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
6319 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
6320 * math/libm-test.inc (acos_test): Add more tests.
6321 (acosh_test): Likewise.
6322 (asin_test): Likewise.
6323 (atanh_test): Likewise.
6324 (exp_test): Likewise.
6325 (exp10_test): Likewise.
6326 (exp2_test): Likewise.
6327 (expm1_test): Likewise.
6328 (lgamma_test): Likewise.
6329 (log_test): Likewise.
6330 (log10_test): Likewise.
6331 (log1p_test): Likewise.
6332 (log2_test): Likewise.
6333 (pow_test): Do not allow some spurious overflow exceptions.
6334 (sqrt_test): Add more tests.
6335 (tgamma_test): Likewise.
6336 (y0_test): Likewise.
6337 (y1_test): Likewise.
6338 (yn_test): Likewise.
6340 2012-03-27 Anton Blanchard <anton@samba.org>
6342 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
6344 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
6345 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
6346 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
6348 2012-03-27 David S. Miller <davem@davemloft.net>
6350 * conform/Makefile: Run run-conformtest.sh using $(BASH).
6352 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
6355 2012-03-27 Andreas Jaeger <aj@suse.de>
6357 * sysdeps/x86_64/elf/configure.in: Moved to ...
6358 * sysdeps/x86_64/configure.in: ... here.
6359 * sysdeps/x86_64/elf/start.S: Moved to ...
6360 * sysdeps/x86_64/start.S: ... here.
6361 * sysdeps/x86_64/elf/configure: Delete.
6363 * sysdeps/x86_64/configure.in: Merge contents from
6364 sysdeps/i386/configure.in (without i686 check).
6366 * sysdeps/i386/elf/Versions: Merge into ...
6367 * sysdeps/i386/Versions: ... this.
6368 * sysdeps/i386/elf/Versions: Delete file.
6369 * sysdeps/i386/elf/start.S: Moved to ...
6370 * sysdeps/i386/start.S: ...here.
6371 * sysdeps/i386/elf/configure.in: Merge into...
6372 * sysdeps/i386/configure.in: ...here.
6373 * sysdeps/i386/elf/configure.in: Delete file.
6374 * sysdeps/i386/elf/configure: Delete file.
6376 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
6377 * debug/backtracesyms.c: ... here.
6378 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
6379 * debug/backtracesymsfd.c: ... here.
6380 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
6381 * sysdeps/generic/ifunc-sel.h: ... here.
6383 * sysdeps/unix/i386/start.c: Delete file.
6384 * sysdeps/unix/sparc/start.c: Delete file.
6385 * sysdeps/unix/start.c: Delete file.
6387 * sysdeps/sh/elf/configure.in: Moved to ...
6388 * sysdeps/sh/configure.in: ... here.
6389 * sysdeps/sh/elf/start.S: Moved to ...
6390 * sysdeps/sh/start.S: ... here.
6391 * sysdeps/sh/elf/configure: Delete file.
6393 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
6394 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
6395 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
6396 * sysdeps/powerpc/powerpc64/entry.h: ... here.
6397 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
6398 * sysdeps/powerpc/powerpc64/start.S: here.
6399 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
6400 * sysdeps/powerpc/powerpc64/Makefile: ... this.
6401 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
6402 * sysdeps/powerpc/powerpc64/configure.in: ... this.
6403 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
6405 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
6406 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
6407 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
6408 * sysdeps/powerpc/powerpc32/start.S: ... here.
6409 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
6410 * sysdeps/powerpc/powerpc32/configure.in: ... this.
6411 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
6413 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
6414 * sysdeps/powerpc/ifunc-sel.h: ... here.
6415 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
6416 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
6418 * sysdeps/sparc/elf/configure.in: Moved to ...
6419 * sysdeps/sparc/configure.in: ... here.
6420 * sysdeps/sparc/elf/configure: Delete file.
6421 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
6422 * sysdeps/sparc/sparc32/start.S: ... here.
6423 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
6424 * sysdeps/sparc/sparc64/start.S: ... here.
6425 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
6426 * sysdeps/sparc/sparc32/Makefile: ... this.
6427 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
6428 * sysdeps/sparc/sparc64/Makefile: ... this.
6430 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
6431 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
6432 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
6433 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
6434 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
6435 * sysdeps/s390/s390-32/setjmp.S: ... here.
6436 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
6437 * sysdeps/s390/s390-32/configure.in: ... here.
6438 * sysdeps/s390/s390-32/elf/configure: Delete file.
6439 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
6440 * sysdeps/s390/s390-32/start.S: ... here.
6442 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
6443 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
6444 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
6445 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
6446 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
6447 * sysdeps/s390/s390-64/setjmp.S: ... here.
6448 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
6449 * sysdeps/s390/s390-64/configure.in: ... here
6450 * sysdeps/s390/s390-64/elf/configure: Delete file.
6451 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
6452 * sysdeps/s390/s390-64/start.S: ... here.
6453 * sysdeps/s390/s390-64/elf/configure: Delete.
6455 * configure.in: Remove support for elf directories in sysdeps.
6457 * configure: Regenerated.
6458 * sysdeps/i386/configure: Regenerated.
6459 * sysdeps/powerpc/powerpc32/configure: Regenerated.
6460 * sysdeps/powerpc/powerpc64/configure: Regenerated.
6461 * sysdeps/s390/s390-32/configure: Regenerated.
6462 * sysdeps/s390/s390-64/configure: Regenerated.
6463 * sysdeps/sh/configure: Regenerated.
6464 * sysdeps/sparc/configure: Regenerated.
6465 * sysdeps/x86_64/configure: Regenerated.
6467 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
6469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6471 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
6472 denormal result into account.
6474 2012-03-25 Roland McGrath <roland@hack.frob.com>
6476 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
6477 Reported by Allan McRae <allan@archlinux.org>.
6479 2012-03-23 Jeff Law <law@redhat.com>
6481 * nss/getnssent.c (__nss_getent): Fix typo.
6483 2012-03-23 David S. Miller <davem@davemloft.net>
6485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6487 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
6489 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
6490 to pad to uint64_t for each field.
6491 (dl_tls_index): Replace unsigned long with uint64_t.
6493 2012-03-23 Daniel Jacobowitz <dmj@google.com>
6494 Paul Pluzhnikov <ppluzhnikov@google.com>
6497 * grp/Makefile (otherlibs): Don't set it.
6498 * inet/Makefile (otherlibs): Likewise.
6499 * login/Makefile (otherlibs): Likewise.
6500 * nscd/Makefile (otherlibs): Likewise.
6501 * posix/Makefile (otherlibs): Likewise.
6502 * pwd/Makefile (otherlibs): Likewise.
6503 * rt/Makefile (otherlibs): Likewise.
6504 * sunrpc/Makefile (otherlibs): Likewise.
6505 * nss/Makefile (otherlibs): Likewise.
6506 Add libnss_files to routines and static-only-routines.
6507 ($(objpfx)getent): Remove rule.
6508 * resolv/Makefile: Add libnss_dns and libresolv to routines and
6509 static-only-routines.
6511 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6514 * math/s_cexp.c: Include <float.h>.
6515 (__cexp): Handle exp result overflowing not necessarily
6516 overflowing both real and imaginary parts of result.
6517 * math/s_cexpf.c: Likewise.
6518 * math/s_cexpl.c: Likewise.
6519 * math/libm-test.inc (cexp_test): Add more tests.
6520 * sysdeps/i386/fpu/libm-test-ulps: Update.
6521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6523 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6525 * include/link.h (ELFW): New macro.
6526 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
6527 Replace ELF64_R_TYPE with ELFW(R_TYPE).
6529 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6531 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
6534 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6536 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
6538 (struct La_x32_retval): Likewise.
6540 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
6542 * sysdeps/x86_64/preconfigure.in: New file.
6543 * sysdeps/x86_64/preconfigure: New generated file.
6545 2012-03-22 Joseph Myers <joseph@codesourcery.com>
6548 * math/e_exp2l.c: Include <float.h>.
6549 (__ieee754_exp2l): Handle overflow and underflow cases
6550 separately. Only pass fractional part of argument to
6552 * math/libm-test.inc (exp2_test): Add more tests.
6554 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
6555 negating x to take absolute value.
6556 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
6558 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
6559 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
6561 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
6562 computing low part if x was negated.
6563 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
6565 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6567 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
6569 (pltexit): Cast int_retval to ptrdiff_t.
6570 * elf/tst-auditmod3b.c: Likewise.
6571 * elf/tst-auditmod4b.c: Likewise.
6572 * elf/tst-auditmod5b.c: Likewise.
6573 * elf/tst-auditmod6b.c: Likewise.
6574 * elf/tst-auditmod6c.c: Likewise.
6575 * elf/tst-auditmod7b.c: Likewise.
6577 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
6578 and x32_gnu_pltexit.
6580 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
6582 (La_x32_regs): New macro.
6583 (La_x32_retval): Likewise.
6584 (la_x32_gnu_pltenter): New function prototype.
6585 (la_x32_gnu_pltexit): Likewise.
6587 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
6589 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
6592 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6594 * configure.in (libc_cv_cc_nofma): Check for option to disable
6595 generation of FMA instructions.
6596 * configure: Regenerate.
6597 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
6598 * sysdeps/ieee754/dbl-64/Makefile: New file.
6599 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
6600 Remove brandred-fma4.
6601 (CFLAGS-brandred-fma4.c): Remove.
6602 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
6603 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
6605 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
6608 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6610 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
6611 LLONG_MAX != LONG_MAX.
6612 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6613 (_fitoa_word): Likewise.
6614 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
6615 LLONG_MAX != LONG_MAX.
6616 * stdio-common/_itowa.h: Include <_itoa.h>.
6617 (_itowa_word): Use _ITOA_WORD_TYPE on value.
6618 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
6619 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
6620 only if not defined.
6621 (_ITOA_WORD_TYPE): Likewise.
6622 (_itoa_word): Use _ITOA_WORD_TYPE on value.
6623 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
6625 2012-03-21 David S. Miller <davem@davemloft.net>
6627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6629 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
6631 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
6632 of x86_64 when setting libc_cv_slibdir, libdir and
6634 * sysdeps/unix/sysv/linux/configure: Regenerated.
6636 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6638 * manual/lang.texi (Old Varargs): Remove section.
6639 (How Variadic): Update menu.
6640 (va_start): Do not mention varargs.h.
6642 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6643 Joseph Myers <joseph@codesourcery.com>
6645 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
6647 * configure: Regenerated.
6649 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
6651 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
6652 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
6655 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6658 * Makefile (files-for-dist): Remove NOTES.
6659 (NOTES): Remove rule.
6660 * README: Don't refer to NOTES.
6661 * manual/creature.texi: Don't include macros.texi.
6662 * manual/intro.texi (creature.texi): Remove comment referring to
6665 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
6666 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
6667 * configure: Regenerated.
6668 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
6670 (libc_cv_as_i686): Likewise.
6671 (libc_cv_cc_avx): Likewise.
6672 (libc_cv_cc_sse2avx): Likewise.
6673 (libc_cv_cc_fma4): Likewise.
6674 (libc_cv_cc_novzeroupper): Likewise.
6675 * sysdeps/i386/configure: Regenerated.
6678 * sysdeps/i386/fpu/s_cexp.S: Remove.
6679 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
6680 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
6681 * math/libm-test.inc (cexp_test): Add more tests.
6682 * sysdeps/i386/fpu/libm-test-ulps: Update.
6683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6685 2012-03-21 Allan McRae <allan@archlinux.org>
6687 * timezone/Makefile: Do not install iso3166.tab and zone.tab
6689 2012-03-21 Joseph Myers <joseph@codesourcery.com>
6692 * math/w_exp2.c: Do not include <float.h>.
6693 (o_threshold, u_threshold): Remove.
6694 (__exp2): Calculate result before checking finiteness and calling
6696 * math/w_exp2f.c: Likewise.
6697 * math/w_exp2l.c: Likewise.
6698 * math/libm-test.inc (exp2_test): Require overflow exception for
6702 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
6703 range of signed 64-bit integers before using fistpll. Remove
6704 checks for whether integers fit in mantissa bits.
6705 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
6706 the range of signed 32-bit integers before using fistpl. Remove
6707 checks for whether integers fit in mantissa bits.
6708 * sysdeps/i386/fpu/e_powl.S (p64): New object.
6709 (__ieee754_powl): Test for y outside the range of signed 64-bit
6710 integers before using fistpll. Reduce 64-bit values to 63-bit
6712 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
6713 divide-by-zero is raised for zero to large negative powers.
6714 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
6715 (__ieee754_powl): Test for y outside the range of signed 64-bit
6716 integers before using fistpll. Reduce 64-bit values to 63-bit
6718 * math/libm-test.inc (pow_test): Add more tests.
6720 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6722 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
6723 <stdio-common/_itoa.h>.
6724 * debug/segfault.c: Likewise.
6725 * elf/dl-cache.c: Likewise.
6726 * elf/dl-minimal.c: Likewise.
6727 * elf/dl-misc.c: Likewise.
6728 * elf/dl-sysdep.c: Likewise.
6729 * elf/dl-version.c: Likewise.
6730 * elf/rtld.c: Likewise.
6731 * hurd/hurdsock.c: Likewise.
6732 * hurd/lookup-retry.c: Likewise.
6733 * malloc/malloc.c: Likewise.
6734 * malloc/mtrace.c: Likewise.
6735 * nscd/nscd_getgr_r.c: Likewise.
6736 * nscd/nscd_getpw_r.c: Likewise.
6737 * nscd/nscd_getserv_r.c: Likewise.
6738 * posix/getopt_init.c: Likewise.
6739 * posix/wordexp.c: Likewise.
6740 * stdio-common/_itoa.c: Likewise.
6741 * stdio-common/printf_fphex.c: Likewise.
6742 * stdio-common/vfprintf.c: Likewise.
6743 * string/_strerror.c: Likewise.
6744 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
6745 * sysdeps/i386/i686/hp-timing.h: Likewise.
6746 * sysdeps/mach/_strerror.c: Likewise.
6747 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
6748 * sysdeps/mach/hurd/sethostid.c: Likewise.
6749 * sysdeps/mach/hurd/xmknodat.c: Likewise.
6750 * sysdeps/mach/xpg-strerror.c: Likewise.
6751 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6752 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6753 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
6754 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
6755 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6756 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
6757 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6758 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6759 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
6760 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
6761 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
6762 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
6763 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
6764 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6765 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6766 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
6767 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
6768 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
6769 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
6770 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
6771 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
6773 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
6775 * stdio-common/_itoa.h: Moved to ...
6776 * sysdeps/generic/_itoa.h: Here.
6778 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
6780 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
6781 instead of "_itoa.h" and "_itowa.h".
6782 * stdio-common/vfprintf.: Likewise.
6784 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6786 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
6788 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
6789 (__signbit): Likwise.
6793 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
6795 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
6798 2012-03-20 Joseph Myers <joseph@codesourcery.com>
6800 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
6801 OVERFLOW_EXCEPTION_OK.
6802 * math/libm-test.inc ("Philosophy"): Update comment about
6804 (OVERFLOW_EXCEPTION): Define.
6805 (OVERFLOW_EXCEPTION_OK): Likewise.
6806 (INVALID_EXCEPTION_OK): Renumber.
6807 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6808 (IGNORE_ZERO_INF_SIGN): Likewise.
6809 (test_exceptions): Handle FE_OVERFLOW.
6810 (exp10_test): Expect overflow exceptions.
6811 (exp2_test): Likewise.
6812 (expm1_test): Likewise.
6813 (nextafter_test): Likewise.
6814 (pow_test): Likewise.
6815 (scalbn_test): Likewise.
6816 (scalbln_test): Likewise.
6818 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6820 * sysdeps/x86_64/bits/atomic.h
6821 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
6823 (atomic_exchange_acq): Likewise.
6824 (__arch_exchange_and_add_body): Likewise.
6825 (__arch_add_body): Likewise.
6826 (atomic_add_negative): Likewise.
6827 (atomic_add_zero): Likewise.
6829 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6831 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
6832 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
6834 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6836 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
6837 Check __x86_64__ instead of __WORDSIZE.
6839 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6841 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
6843 2012-03-19 David S. Miller <davem@davemloft.net>
6845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
6847 * sysdeps/sparc/fpu/fenv_private.h: New file.
6848 * sysdeps/sparc/fpu/math_private.h: Use it.
6849 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
6851 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
6852 (libc_feholdexcept_setroundl): Remove.
6853 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
6855 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
6856 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
6858 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6860 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
6861 int64_t instead of long int.
6862 (INSERT_WORDS64): Likwise.
6864 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
6866 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
6867 _Unwind_GetCFA return to _Unwind_Ptr first.
6869 2012-03-19 Joseph Myers <joseph@codesourcery.com>
6872 * math/s_clog.c: Include <float.h>.
6873 (__clog): Scale large or subnormal inputs.
6874 * math/s_clogf.c: Likewise.
6875 * math/s_clogl.c: Likewise.
6876 * math/s_clog10.c: Include <float.h>.
6877 (M_LOG10_2): Define.
6878 (__clog10): Scale large or subnormal inputs.
6879 * math/s_clog10f.c: Likewise.
6880 * math/s_clog10l.c: Likewise.
6881 * math/libm-test.inc (clog_test): Add more tests.
6882 (clog10_test): Likewise.
6883 * sysdeps/i386/fpu/libm-test-ulps: Update.
6884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6887 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
6889 * math/libm-test.inc (atan2_test): Add another test.
6891 * Makerules (common-objdir-compile): Remove.
6892 * sysdeps/unix/Makefile (config-generated): Do not add
6893 $(unix-generated) to variable.
6894 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
6895 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
6897 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
6899 [generic bits/local_lim.h] (before-compile): Do not append to
6901 [generic bits/local_lim.h] (common-generated): Likewise.
6902 [generic sys/param.h] (before-compile): Do not append to variable.
6903 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
6904 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
6905 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
6906 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
6908 [generic sys/param.h] (sys/param.h-includes): Remove variable.
6909 [generic sys/param.h] (sys/param.h-includes): Remove rule.
6910 [generic sys/param.h] ($(addprefix
6911 $(common-objpfx),$(sys/param.h-includes))): Likewise.
6912 [generic sys/param.h] (common-generated): Do not append to
6914 [generic sys/param.h] (sysdep_headers): Likewise.
6915 [generic bits/errno.h] (before-compile): Do not append to
6917 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
6919 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
6920 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
6921 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
6922 [generic bits/errno.h] (common-generated): Do not append to
6924 [generic bits/ioctls.h] (before-compile): Do not append to
6926 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
6928 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
6929 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
6930 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
6932 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
6933 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
6934 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
6935 [generic bits/ioctls.h] (common-generated): Do not append to
6937 [generic sys/syscall.h] (syscall.h): Remove variable.
6938 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
6940 [generic sys/syscall.h] (before-compile): Do not append to
6942 [generic sys/syscall.h] (common-generated): Likewise.
6943 * sysdeps/unix/errnos-tmpl.c: Remove file.
6944 * sysdeps/unix/errnos.awk: Likewise.
6945 * sysdeps/unix/ioctls-tmpl.c: Likewise.
6946 * sysdeps/unix/ioctls.awk: Likewise.
6947 * sysdeps/unix/mk-local_lim.c: Likewise.
6948 * sysdeps/unix/snarf-ioctls: Likewise.
6950 2012-03-19 Richard Henderson <rth@twiddle.net>
6952 * sysdeps/i386/fpu/fenv_private.h: New file.
6953 * sysdeps/i386/fpu/math_private.h: Use it.
6954 (math_opt_barrier, math_force_eval): Remove.
6955 (libc_feholdexcept_setround_53bit): Remove.
6956 (libc_feupdateenv_53bit): Remove.
6957 * sysdeps/x86_64/fpu/math_private.h: Likewise.
6958 (math_opt_barrier, math_force_eval): Remove.
6959 (libc_feholdexcept): Remove.
6960 (libc_feholdexcept_setround): Remove.
6961 (libc_fetestexcept, libc_fesetenv): Remove.
6962 (libc_feupdateenv_test): Remove.
6963 (libc_feupdateenv, libc_feholdsetround): Remove.
6964 (libc_feresetround): Remove.
6966 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
6967 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
6969 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
6970 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
6971 (libc_feupdateenv_testl): New.
6972 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
6973 (libc_feupdateenv_testf): New.
6974 (libc_feupdateenv): Use libc_feupdateenv_test.
6975 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
6976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
6978 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
6979 (libc_feholdsetroundf, libc_feholdsetroundl): New.
6980 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
6981 (libc_feresetround_noex): New.
6982 (libc_feresetround_noexf): New.
6983 (libc_feresetround_noexl): New.
6984 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
6985 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
6986 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
6987 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
6989 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
6990 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
6992 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
6993 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
6994 SET_RESTORE_ROUND_NOEX.
6995 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
6996 SET_RESTORE_ROUND_NOEXF.
6997 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
6998 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
6999 (libc_feholdsetroundf): New.
7000 (libc_feresetround, libc_feresetroundf): New.
7002 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
7003 (libc_feholdexcept_setround_53bit): Convert from macro to function.
7004 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
7006 * sysdeps/generic/math_private.h: Include <fenv.h>.
7007 (default_libc_feholdexcept): New.
7008 (default_libc_feholdexcept_setround): New.
7009 (default_libc_fesetenv, default_libc_feupdateenv): New.
7010 (libc_feholdexcept): Only define if undefined.
7011 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
7012 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
7013 (libc_feholdexcept_setroundl): Likewise.
7014 (libc_feholdexcept_setround_53bit): Likewise.
7015 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
7016 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
7017 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
7018 (libc_feupdateenv_53bit): Likewise.
7019 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
7020 (libc_feholdexcept): Convert from macro to inline function.
7021 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
7022 (libc_fesetenv, libc_feupdateenv): Likewise.
7024 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
7025 not previously defined.
7026 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
7027 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
7028 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
7029 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
7030 * sysdeps/ieee754/flt-32/math_private.h: New file.
7031 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
7032 math_private.h below SET_FLOAT_WORD.
7033 (__isnan, __isinf_ns, __finite): Remove.
7034 (__isnanf, __isinf_nsf, __finitef): Remove.
7036 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
7038 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7040 2012-03-17 David S. Miller <davem@davemloft.net>
7043 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
7046 2012-03-16 David S. Miller <davem@davemloft.net>
7048 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
7052 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
7054 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
7055 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
7056 sysdep_routines when subdir is sysvipc.
7057 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
7060 * sysdeps/sparc/fpu/libm-test/ulps: Update.
7062 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7064 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
7067 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
7070 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
7071 (__lround): Renamed to ...
7072 (__llround): This. Replace long int with long long int.
7073 Define lround functions as aliases of llround functions.
7074 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
7076 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7078 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
7079 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
7080 adresses to uintptr_t. Replace "long int" and "unsigned long
7081 int" with "greg_t" on va_arg.
7083 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7085 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
7086 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
7088 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
7089 Move e_machine check before EI_CLASS check. Handle x32
7090 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
7091 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
7092 SKIP_EM_IA_64 and include
7093 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
7095 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
7096 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
7097 (add_system_dir): New macro.
7099 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
7100 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
7102 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7113 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
7115 * math/w_j0f.c (j0f): Likewise.
7117 * math/w_j0l.c (__j0l): Likewise.
7119 * math/w_j1.c (j1): Likewise.
7121 * math/w_j1f.c (j1f): Likewise.
7123 * math/w_j1l.c (__j1l): Likewise.
7125 * math/w_jn.c (jn): Likewise.
7127 * math/w_jnf.c (jnf): Likewise.
7129 * math/w_jnl.c (__jnl): Likewise.
7131 * math/libm-test.inc (j0_test): Add more tests.
7132 (j1_test): Likewise.
7133 (jn_test): Likewise. Add trailing semicolon to existing test.
7134 (y0_test): Likewise.
7135 (y1_test): Likewise.
7136 * sysdeps/i386/fpu/libm-test-ulps: Update.
7137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
7142 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
7143 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
7144 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
7145 (__tanl): Set errno for infinite argument.
7146 * sysdeps/i386/fpu/mptan.c: Remove.
7147 * sysdeps/i386/fpu/s_tan.S: Likewise.
7148 * sysdeps/i386/fpu/s_tanl.S: Likewise.
7149 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
7150 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
7151 * math/libm-test.inc (tan_test): Add more tests and enable more
7152 tests for double and long double.
7153 * sysdeps/i386/fpu/libm-test-ulps: Update.
7154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7156 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7158 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
7159 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
7161 2012-03-16 Roland McGrath <roland@hack.frob.com>
7163 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
7164 * configure.in: Use it for both main tree and add-ons.
7165 * configure: Regenerated.
7167 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
7169 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
7171 2012-03-16 Joseph Myers <joseph@codesourcery.com>
7173 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
7177 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
7178 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
7179 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
7180 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
7181 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
7183 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
7184 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
7186 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
7187 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
7188 * sysdeps/i386/fpu/s_cosl.S: Likewise.
7189 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
7190 * sysdeps/i386/fpu/s_sinl.S: Likewise.
7191 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
7192 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
7193 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
7194 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
7195 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
7196 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
7197 * math/libm-test.inc (cos_test): Add more tests and enable more
7198 tests for long double.
7199 (sin_test): Likewise.
7200 (sincos_test): Likewise.
7201 * sysdeps/i386/fpu/libm-test-ulps: Update.
7202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7204 2012-03-16 David S. Miller <davem@davemloft.net>
7206 * sysdeps/sparc/fpu/math_private.h: New file.
7208 2012-03-15 David S. Miller <davem@davemloft.net>
7210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
7212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
7213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
7215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
7216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
7217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
7218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
7219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
7220 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
7222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7224 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
7225 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
7227 * sysdeps/sparc/sparc-ifunc.h: New file.
7228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
7230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
7233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
7235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
7236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
7237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
7246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
7248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
7249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
7250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
7251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
7252 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7254 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
7255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
7256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7258 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7262 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
7263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
7264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
7265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
7266 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
7267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
7268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
7269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
7270 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
7271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
7273 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7275 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
7277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7279 2012-03-15 Andreas Jaeger <aj@suse.de>
7282 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
7283 ieee754/flt-32 implementation for sin, cos and sincos.
7284 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
7285 * sysdeps/i386/fpu/s_cosf.S: Likewise.
7286 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
7287 * sysdeps/i386/fpu/s_sinf.S: Likewise.
7288 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
7289 ieee754/flt-32 implementation for tan.
7291 * math/libm-test.inc (cos_test): Enable some large input tests for
7293 (sin_test): Likewise.
7294 (sincos_test): Likewise.
7295 (tan_test): Add tests for large input.
7297 * sysdeps/i386/fpu/libm-test-ulps: Update.
7299 2012-03-15 Andreas Jaeger <aj@suse.de>
7302 * math/libm-test.inc (cos_test): Add more test cases.
7303 (sin_test): Likewise.
7304 (sincos_test): Likewise.
7306 2012-03-15 Andreas Jaeger <aj@suse.de>
7309 * math/libm-test.inc (cos_test): Add a test case for large input
7311 (sin_test): Likewise.
7312 (sincos_test): Likewise.
7314 2012-03-15 Andreas Jaeger <aj@suse.de>,
7315 Joseph Myers <joseph@codesourcery.com>
7318 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7319 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
7320 * sysdeps/i386/fpu/branred.c: Likewise.
7321 * sysdeps/i386/fpu/dosincos.c: Likewise.
7322 * sysdeps/i386/fpu/mpa.c: Likewise.
7323 * sysdeps/i386/fpu/s_cos.S: Likewise.
7324 * sysdeps/i386/fpu/s_sin.S: Likewise.
7325 * sysdeps/i386/fpu/s_sincos.S: Likewise.
7326 * sysdeps/i386/fpu/sincos32.c: Likewise.
7328 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
7330 (libc_feupdateenv_53bit): Define.
7331 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
7333 (libc_feupdateenv_53bit): Define.
7335 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
7336 53 bit (without extend i386 double precision).
7338 * math/libm-test.inc (sincos_test): Add tests for large input.
7342 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7344 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
7346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7348 2012-03-15 David S. Miller <davem@davemloft.net>
7350 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
7351 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
7352 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
7353 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
7354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
7355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
7356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
7357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
7358 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
7359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
7360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
7361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
7362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
7363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
7364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
7365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
7367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
7368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
7370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
7371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
7373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
7374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
7376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
7377 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
7378 fmin/fmax sysdep routines.
7379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7381 2012-03-14 David S. Miller <davem@davemloft.net>
7383 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
7384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
7385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
7386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
7387 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
7388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
7389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
7390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
7391 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
7392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
7393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
7394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
7395 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
7396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
7397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
7398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
7399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
7400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
7401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
7402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
7403 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
7404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
7405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
7406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
7407 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
7408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
7409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
7410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
7411 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
7413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
7415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
7416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
7418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
7419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
7421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
7422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
7424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
7425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
7427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
7428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
7430 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
7432 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
7434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
7436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
7438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
7440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
7442 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
7443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
7445 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
7446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
7448 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
7449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
7451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
7452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
7455 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7460 * sysdeps/sparc/configure.in: New file.
7461 * sysdeps/sparc/configure: Generate.
7462 * configure.in (libc_cv_sparc_as_vis3): Substitute.
7463 * configure: Regenerate.
7464 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
7465 * config.make.in (have-as-vis3): New.
7466 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
7467 available use -Av9d instead of -Av9a.
7468 * sysdeps/sparc/sparc64/Makefile: Likewise.
7469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
7470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
7472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
7474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
7476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
7478 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
7479 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
7480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
7481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
7482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
7484 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
7485 fzeros/fnegs to load 0x80000000 into a float register instead of
7487 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
7489 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7491 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
7493 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
7494 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
7495 ($(inst_includedir)/bits/syscall.h): Remove rule.
7496 ($(objpfx)bits/syscall.d): Include instead of
7497 $(objpfx)syscall-list.d.
7498 (generated): Change syscall-list.h and syscall-list.d to
7499 bits/syscall.h and bits/syscall.d.
7501 2012-03-14 Roland McGrath <roland@hack.frob.com>
7504 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
7506 2012-03-14 Joseph Myers <joseph@codesourcery.com>
7509 * math/s_csqrt.c: Include <float.h>.
7510 (__csqrt): Scale large or subnormal inputs.
7511 * math/s_csqrtf.c: Likewise.
7512 * math/s_csqrtl.c: Likewise.
7513 * math/libm-test.inc (csqrt_test): Add more tests.
7514 * sysdeps/i386/fpu/libm-test-ulps: Update.
7515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7518 * math/libm-test.inc (hypot_test): Add more tests.
7520 2012-03-13 David S. Miller <davem@davemloft.net>
7523 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
7524 double-precision for the calculation instead of scaling.
7526 2012-03-13 Joseph Myers <joseph@codesourcery.com>
7528 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
7529 manipulate bits before adding and subtracting TWO52[sx].
7530 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
7531 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
7533 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
7535 2012-03-13 David S. Miller <davem@davemloft.net>
7537 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
7538 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
7539 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
7540 rtld-global-offsets.h
7541 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7543 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
7546 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
7548 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
7549 'err' in the ifdef scope in which it is actually used.
7551 * nss/nss_db/db-init.c: Include string.h
7553 2012-03-12 David S. Miller <davem@davemloft.net>
7555 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
7556 masking out of the most significant byte of random value used.
7557 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7558 Fix coding style in previous change.
7560 * sysdeps/unix/sysv/linux/kernel-features.h
7561 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
7562 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
7564 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
7567 2012-03-11 David S. Miller <davem@davemloft.net>
7569 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
7570 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
7571 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
7572 for 'resultvar' otherwise things get truncated on 64-bit.
7574 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
7575 Fix masking out of the most significant byte of random value used.
7577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7579 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
7581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7583 2012-03-09 David S. Miller <davem@davemloft.net>
7585 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
7586 variables with appropriate CPP guards.
7587 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
7588 frame pointer, not the stack pointer. Correct layout comments. Fix test
7589 on resulting framesize and the management of the outregs buffer for pltexit.
7590 Preserve floating point return values across _dl_call_pltexit call.
7591 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
7592 framesize and the management of the outregs buffer for pltexit.
7593 Preserve floating point return values across _dl_call_pltexit
7595 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
7596 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
7597 (print_exit): Fix format string for return register value.
7599 2012-03-10 Joseph Myers <joseph@codesourcery.com>
7601 * sunrpc/Makefile (others): Add rpcgen.
7602 ($(objpfx)rpcgen): Remove special build rule and dependency on
7604 * sunrpc/rpcgen.c: New file.
7606 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
7609 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
7610 * stdio-common/bug-vfprintf-nargs.c: Likewise.
7611 * sysdeps/i386/crti.S: Likewise.
7612 * sysdeps/i386/crtn.S: Likewise.
7613 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
7614 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
7615 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
7616 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
7617 * sysdeps/sh/crti.S: Likewise.
7618 * sysdeps/sh/crtn.S: Likewise.
7619 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
7622 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
7624 * locale/programs/locfile-kw.gperf: Likewise.
7625 * locale/programs/charmap-kw.h: Regenerated.
7626 * locale/programs/locfile-kw.h: Likewise.
7629 * intl/plural.y: Replace FSF snail mail address with URL.
7630 * intl/plural.c: Regenerated.
7632 2012-03-09 Richard Henderson <rth@twiddle.net>
7634 * include/math_private.h: Remove file.
7635 * math/math_private.h: Move file ...
7636 * sysdeps/generic/math_private.h: ... here.
7638 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
7639 * sysdeps/powerpc/fpu/math_private.h: Likewise.
7640 * sysdeps/x86_64/fpu/math_private.h: Likewise.
7642 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
7643 and <math_private.h>.
7644 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
7645 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
7646 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
7647 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
7648 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
7649 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
7650 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
7651 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
7652 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
7653 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
7654 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
7655 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
7656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
7657 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
7659 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
7660 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
7661 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7662 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
7664 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
7665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
7666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
7667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7668 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
7669 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
7670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
7671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
7672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
7673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
7674 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
7675 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
7676 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
7677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
7678 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
7679 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
7680 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
7681 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
7682 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
7683 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
7684 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
7685 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
7686 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
7687 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
7688 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
7689 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
7690 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
7691 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
7692 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
7693 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
7694 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
7695 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
7696 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
7697 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
7698 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
7699 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
7700 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
7701 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
7702 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
7703 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
7704 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
7705 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
7706 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
7707 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
7708 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
7709 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
7710 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
7711 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
7712 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
7713 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
7714 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7715 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
7716 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7717 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7718 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
7719 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
7720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
7721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7722 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
7723 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
7724 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7725 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
7726 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7727 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
7728 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7729 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
7730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
7731 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
7732 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
7733 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
7734 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
7735 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
7736 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
7737 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
7738 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
7739 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
7740 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
7741 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7742 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7743 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
7744 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
7745 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
7746 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
7747 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
7748 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
7749 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
7750 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
7751 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
7752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
7753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
7754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
7755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
7756 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
7757 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
7758 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
7759 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
7760 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
7761 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
7762 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
7763 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
7764 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
7765 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
7766 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
7767 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
7768 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
7769 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
7770 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
7771 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
7772 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
7773 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
7774 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
7775 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
7776 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
7777 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
7778 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
7779 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
7780 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
7781 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
7782 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
7783 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
7784 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
7785 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
7786 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
7787 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
7788 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
7789 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
7790 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
7791 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
7792 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
7793 * sysdeps/ieee754/k_standard.c: Likewise.
7794 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
7795 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7796 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7797 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7798 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7799 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7800 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7801 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7802 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7806 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7807 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7808 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7809 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7810 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7811 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7812 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7813 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7814 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7815 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7817 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7818 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7819 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7820 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7821 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7822 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7823 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7824 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7825 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7826 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7827 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7828 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7829 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
7831 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
7832 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7833 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7834 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7835 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7836 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7837 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7838 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
7844 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
7845 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7846 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7847 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7848 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7849 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7850 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7853 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7854 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7855 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7856 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7857 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
7858 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
7861 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
7863 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
7864 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
7865 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7866 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
7867 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
7868 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
7869 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
7870 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
7871 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
7872 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
7873 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
7874 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
7875 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
7876 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
7877 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
7878 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
7879 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
7880 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
7881 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7882 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7883 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
7884 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
7885 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
7886 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
7887 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
7888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
7889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
7890 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
7891 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
7892 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
7893 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
7894 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
7895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
7896 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
7897 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
7898 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
7899 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
7900 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
7901 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
7903 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
7904 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
7906 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
7907 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
7908 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
7909 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
7910 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
7911 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
7912 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
7913 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7914 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7915 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
7916 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7917 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
7918 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
7919 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
7920 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7921 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
7922 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
7923 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
7924 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7925 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7926 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7927 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7928 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
7929 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
7930 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
7931 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7932 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7933 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
7934 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
7935 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7936 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
7937 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
7938 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
7939 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7940 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7941 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
7942 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
7943 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
7944 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7945 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
7946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
7947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7948 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
7949 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
7950 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
7951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
7952 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
7953 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7954 * sysdeps/ieee754/s_lib_version.c: Likewise.
7955 * sysdeps/ieee754/s_matherr.c: Likewise.
7956 * sysdeps/ieee754/s_signgam.c: Likewise.
7957 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7958 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7959 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
7960 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
7961 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
7962 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
7963 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
7964 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
7965 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
7966 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
7967 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
7968 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
7969 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
7970 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7971 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
7972 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
7973 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
7974 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
7975 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
7976 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7979 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7981 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
7982 * sunrpc/rpc_main.c: Likewise.
7983 * sunrpc/rpc_svcout.c: Likewise.
7985 2012-03-09 David S. Miller <davem@davemloft.net>
7987 * include/math_private.h: New file.
7989 2012-03-09 Joseph Myers <joseph@codesourcery.com>
7991 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
7992 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
7993 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
7994 from <bits/socket_type.h>.
7995 (enum __socket_type): Don't define here.
7996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
7997 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8001 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
8004 * Makerules ($(inst_includedir)/%.h): New rule.
8005 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
8006 (install-others): Remove variable setting.
8007 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
8009 2012-03-08 Richard Henderson <rth@twiddle.net>
8011 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
8012 from macro to inline function; merge with the
8013 !__LIBC_INTERNAL_MATH_INLINES version.
8014 (__ieee754_sqrtf): Likewise.
8016 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
8018 (__rintf, __floor, __floorf): Likewise.
8020 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
8021 macro to inline function.
8022 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
8024 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
8025 not <math/math_private.h>.
8027 2012-03-08 David S. Miller <davem@davemloft.net>
8029 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
8031 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
8033 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
8035 * resolv/gai_misc.c (handle_requests): Fix struct timespec
8037 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
8038 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
8040 2012-03-08 Ulrich Drepper <drepper@gmail.com>
8042 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
8043 be defined individually, they must be defined as a block. Define
8044 S for printing a string instead of hidint the different by using a
8045 macro for adding the 'l'.
8046 * stdio-common/tst-fphex-wide.c: Adjust.
8048 2012-03-07 Marek Polacek <polacek@redhat.com>
8050 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
8052 2012-03-08 Marek Polacek <polacek@redhat.com>
8055 * stdio-common/Makefile (tests): Add tst-fphex-wide.
8056 * stdio-common/tst-fphex.c: Define a few macros to make the
8057 test reusable. Use them.
8058 * stdio-common/tst-fphex-wide.c: New file.
8060 2012-03-08 Joseph Myers <joseph@codesourcery.com>
8063 * manual/macros.texi (gnusystems): New macro.
8064 (nongnusystems): Likewise.
8065 (gnulinuxhurdsystems): Likewise.
8066 (gnuhurdsystems): Likewise..
8067 (gnulinuxsystems): Likewise.
8068 * manual/charset.texi: Use new macros or @theglibc{} to refer to
8069 variants of the GNU system, not "GNU system".
8070 * manual/conf.texi: Likewise.
8071 * manual/errno.texi: Likewise. Update example of errno macro
8073 * manual/filesys.texi: Likewise.
8074 (getumask): Document as specific to GNU/Hurd.
8075 * manual/install.texi: Likewise. Reword some references to
8077 * manual/intro.texi: Likewise.
8078 * manual/io.texi: Likewise.
8079 (File Name Portability): Detail which constraints are inapplicable
8080 to all GNU systems and which are only inapplicable to GNU/Hurd.
8081 * manual/job.texi: Likewise.
8082 * manual/llio.texi: Likewise.
8083 (O_NOCTTY): Document as present on GNU/Linux.
8084 * manual/maint.texi: Likewise.
8085 * manual/memory.texi: Likewise.
8086 * manual/pattern.texi: Likewise.
8087 * manual/pipe.texi: Likewise.
8088 * manual/process.texi: Likewise.
8089 * manual/resource.texi: Likewise.
8090 (RUSAGE_CHILDREN): Remove statement about specifying a particular
8092 * manual/setjmp.texi: Likewise.
8093 * manual/signal.texi: Likewise.
8094 * manual/startup.texi: Likewise.
8095 * manual/stdio.texi: Likewise.
8096 * manual/terminal.texi: Likewise.
8097 (ONLCR): Document as POSIX.
8098 (OXTABS): Document availability on GNU/Linux as XTABS.
8099 (ONOEOT): Document availability separately from other bits.
8100 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
8101 * manual/time.texi: Likewise.
8102 * manual/users.texi: Likewise.
8103 * INSTALL: Regenerated.
8104 * sysdeps/gnu/errlist.c: Regenerated.
8106 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
8107 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
8108 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
8110 * configure: Regenerated.
8112 2012-03-07 Joseph Myers <joseph@codesourcery.com>
8114 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
8115 default includes instead of AC_HEADER_CHECK.
8116 * sysdeps/i386/configure: Regenerated.
8119 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
8120 * math/s_cacoshf.c (__cacoshf): Likewise.
8121 * math/s_cacoshl.c (__cacoshl): Likewise.
8122 * math/s_casinh.c (__casinh): Set signs of result from argument.
8123 * math/s_casinhf.c (__casinhf): Likewise.
8124 * math/s_casinhl.c (__casinhl): Likewise.
8125 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
8126 (casinh_test): Add more tests.
8127 * sysdeps/i386/fpu/libm-test-ulps: Update.
8128 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8130 2012-03-07 Ulrich Drepper <drepper@gmail.com>
8132 * po/zh_TW.po: Update from translation team.
8134 * login/Makefile (distribute): Remove variable.
8135 * catgets/Makefile: Likewise.
8136 * mach/Makefile: Likewise.
8137 * malloc/Makefile: Likewise.
8138 * misc/Makefile: Likewise.
8139 * iconv/Makefile: Likewise.
8140 * nscd/Makefile: Likewise.
8141 * hurd/Makefile: Likewise.
8142 * manual/Makefile: Likewise.
8143 * locale/Makefile: Likewise.
8144 * intl/Makefile: Likewise.
8145 * conform/Makefile: Likewise.
8146 * nss/Makefile: Likewise.
8147 * time/Makefile: Likewise.
8148 * soft-fp/Makefile: Likewise.
8149 * dirent/Makefile: Likewise.
8150 * gmon/Makefile: Likewise.
8151 * po/Makefile: Likewise.
8152 * rt/Makefile: Likewise.
8153 * socket/Makefile: Likewise.
8154 * math/Makefile: Likewise.
8155 * signal/Makefile: Likewise.
8156 * debug/Makefile: Likewise.
8157 * elf/Makefile: Likewise.
8158 * timezone/Makefile: Likewise.
8159 * stdlib/Makefile: Likewise.
8160 * iconvdata/Makefile: Likewise.
8161 * sunrpc/Makefile: Likewise.
8162 * io/Makefile: Likewise.
8163 * argp/Makefile: Likewise.
8164 * inet/Makefile: Likewise.
8165 * hesiod/Makefile: Likewise.
8166 * grp/Makefile: Likewise.
8167 * csu/Makefile: Likewise.
8168 * wctype/Makefile: Likewise.
8169 * crypt/Makefile: Likewise.
8170 * libio/Makefile: Likewise.
8171 * string/Makefile: Likewise.
8172 * nis/Makefile: Likewise.
8173 * resolv/Makefile: Likewise.
8174 * stdio-common/Makefile: Likewise.
8175 * wcsmbs/Makefile: Likewise.
8176 * dlfcn/Makefile: Likewise.
8177 * posix/Makefile: Likewise.
8180 * timezone/Makefile: Don't install timezone files, just the programs
8183 2012-03-06 Ulrich Drepper <drepper@gmail.com>
8185 * nss/databases.def: Add missing gshadow entry.
8187 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
8189 2012-03-06 Marek Polacek <polacek@redhat.com>
8192 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
8193 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
8194 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
8195 * stdio-common/tst-long-dbl-fphex.c: New file.
8197 2012-03-06 David S. Miller <davem@davemloft.net>
8199 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
8200 (set_obp_int): New function.
8201 (get_obp_int): New function.
8202 (__get_clockfreq_via_dev_openprom): Likewise.
8203 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
8204 Avoid unused variable warnings on 'val' and use builtin_expect.
8205 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
8207 (INLINE_CLONE_SYSCALL): Likewise.
8209 2012-03-05 David S. Miller <davem@davemloft.net>
8211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8213 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
8215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8217 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
8219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
8221 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8223 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
8224 Replace gettimeofday with __vdso_gettimeofday.
8226 * sysdeps/unix/sysv/linux/x86_64/init-first.c
8227 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
8228 __vdso_clock_gettime and __vdso_getcpu.
8230 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
8231 time with __vdso_time.
8233 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8235 * manual/lang.texi (size_t): Note types to which size_t may be
8236 equivalent with the GNU C Library, but do not describe when
8237 differences between them are significant.
8239 2012-03-05 Andreas Jaeger <aj@suse.de>
8241 * sysdeps/i386/fpu/libm-test-ulps: Update.
8243 2012-03-05 Joseph Myers <joseph@codesourcery.com>
8246 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
8247 (__ieee754_pow): Save and restore rounding mode and use
8248 round-to-nearest for main computations.
8249 * math/libm-test.inc (pow_test_tonearest): New function.
8250 (pow_test_towardzero): Likewise.
8251 (pow_test_downward): Likewise.
8252 (pow_test_upward): Likewise.
8253 (main): Call the new functions.
8254 * sysdeps/i386/fpu/libm-test-ulps: Update.
8255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8258 * math/libm-test.inc (cosh_test_tonearest): New function.
8259 (cosh_test_towardzero): Likewise.
8260 (cosh_test_downward): Likewise.
8261 (cosh_test_upward): Likewise.
8262 (sinh_test_tonearest): Likewise.
8263 (sinh_test_towardzero): Likewise.
8264 (sinh_test_downward): Likewise.
8265 (sinh_test_upward): Likewise.
8266 (main): Call the new functions.
8267 * sysdeps/i386/fpu/libm-test-ulps: Update.
8268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8270 2012-03-05 Tom de Vries <tom@codesourcery.com>
8272 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
8273 default stack guard is set in last bytes.
8274 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
8276 2012-03-05 Kees Cook <keescook@chromium.org>
8278 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
8281 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
8282 possibly allocate from heap instead of stack.
8283 * stdio-common/bug-vfprintf-nargs.c: New file.
8284 * stdio-common/Makefile (tests): Add nargs overflow test.
8286 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
8288 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8290 2012-03-03 Marek Polacek <polacek@redhat.com>
8292 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
8293 * math/math_private.h: Likewise.
8294 * stdlib/tst-strtod.c: Likewise.
8295 * sysdeps/i386/i486/bits/atomic.h: Likewise.
8296 * sysdeps/x86_64/bits/atomic.h: Likewise.
8298 2012-03-02 David S. Miller <davem@davemloft.net>
8300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
8301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
8302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
8303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
8304 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
8305 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
8306 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
8307 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
8309 2012-03-02 Roland McGrath <roland@hack.frob.com>
8312 * manual/examples/README: New file, says the example source files
8313 can be used under GPL>=2.
8314 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
8315 line containing just "*/".
8316 * manual/examples/add.c: Add copyright header (GPL>=2).
8317 * manual/examples/argp-ex1.c: Likewise.
8318 * manual/examples/argp-ex2.c: Likewise.
8319 * manual/examples/argp-ex3.c: Likewise.
8320 * manual/examples/argp-ex4.c: Likewise.
8321 * manual/examples/atexit.c: Likewise.
8322 * manual/examples/db.c: Likewise.
8323 * manual/examples/dir.c: Likewise.
8324 * manual/examples/dir2.c: Likewise.
8325 * manual/examples/execinfo.c: Likewise.
8326 * manual/examples/filecli.c: Likewise.
8327 * manual/examples/filesrv.c: Likewise.
8328 * manual/examples/fmtmsgexpl.c: Likewise.
8329 * manual/examples/genpass.c: Likewise.
8330 * manual/examples/inetcli.c: Likewise.
8331 * manual/examples/inetsrv.c: Likewise.
8332 * manual/examples/isockad.c: Likewise.
8333 * manual/examples/longopt.c: Likewise.
8334 * manual/examples/memopen.c: Likewise.
8335 * manual/examples/memstrm.c: Likewise.
8336 * manual/examples/mkfsock.c: Likewise.
8337 * manual/examples/mkisock.c: Likewise.
8338 * manual/examples/mygetpass.c: Likewise.
8339 * manual/examples/pipe.c: Likewise.
8340 * manual/examples/popen.c: Likewise.
8341 * manual/examples/rprintf.c: Likewise.
8342 * manual/examples/search.c: Likewise.
8343 * manual/examples/select.c: Likewise.
8344 * manual/examples/setjmp.c: Likewise.
8345 * manual/examples/sigh1.c: Likewise.
8346 * manual/examples/sigusr.c: Likewise.
8347 * manual/examples/stpcpy.c: Likewise.
8348 * manual/examples/strdupa.c: Likewise.
8349 * manual/examples/strftim.c: Likewise.
8350 * manual/examples/strncat.c: Likewise.
8351 * manual/examples/subopt.c: Likewise.
8352 * manual/examples/swapcontext.c: Likewise.
8353 * manual/examples/termios.c: Likewise.
8354 * manual/examples/testopt.c: Likewise.
8355 * manual/examples/testpass.c: Likewise.
8356 * manual/examples/timeval_subtract.c: Likewise.
8359 * manual/time.texi (Elapsed Time): Move timeval_subtract example
8361 * manual/timeval_subtract.c.texi: ... here, new file.
8363 2012-03-02 David S. Miller <davem@davemloft.net>
8365 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
8367 2012-03-02 Joseph Myers <joseph@codesourcery.com>
8370 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
8371 (__sin): Save and restore rounding mode and use round-to-nearest
8372 for all computations.
8373 (__cos): Save and restore rounding mode and use round-to-nearest
8374 for all computations.
8375 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
8377 (tan): Save and restore rounding mode and use round-to-nearest for
8379 * math/libm-test.inc (cos_test_tonearest): New function.
8380 (cos_test_towardzero): Likewise.
8381 (cos_test_downward): Likewise.
8382 (cos_test_upward): Likewise.
8383 (sin_test_tonearest): Likewise.
8384 (sin_test_towardzero): Likewise.
8385 (sin_test_downward): Likewise.
8386 (sin_test_upward): Likewise.
8387 (tan_test_tonearest): Likewise.
8388 (tan_test_towardzero): Likewise.
8389 (tan_test_downward): Likewise.
8390 (tan_test_upward): Likewise.
8391 (main): Call the new functions.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8396 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
8397 small n, then large n, before computing and testing k+n.
8398 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8401 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8403 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
8404 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8405 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8406 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8407 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8408 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
8411 * math/libm-test.inc (scalbn_test): Add more tests.
8412 (scalbln_test): Likewise.
8414 * manual/filesys.texi (mode_t): Describe constraints on size and
8415 signedness, not exact equivalence to a particular type.
8417 (ino64_t): Likewise.
8419 (nlink_t): Likewise.
8420 (blkcnt_t): Likewise.
8421 (blkcnt64_t): Likewise.
8422 * manual/llio.texi (off_t): Likewise.
8425 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
8426 (__ieee754_exp): Save and restore rounding mode and use
8427 round-to-nearest for all computations.
8428 * math/libm-test.inc (exp_test_tonearest): New function.
8429 (exp_test_towardzero): Likewise.
8430 (exp_test_downward): Likewise.
8431 (exp_test_upward): Likewise.
8432 (main): Call the new functions.
8433 * sysdeps/i386/fpu/libm-test-ulps: Update.
8434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8436 2012-03-01 Chris Demetriou <cgd@google.com>
8438 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
8439 have predictable order.
8441 2012-03-01 David S. Miller <davem@davemloft.net>
8443 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
8445 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
8446 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
8447 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
8448 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
8450 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
8451 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
8452 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
8453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
8454 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
8455 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
8456 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
8457 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
8458 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
8460 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8462 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
8463 * sysdeps/sparc/fpu/libm-test-ulps: to here.
8464 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
8466 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
8467 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8468 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
8469 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8470 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8471 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8473 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8474 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
8475 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8476 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8477 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8479 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8481 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8482 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
8483 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
8484 * sysdeps/sparc/elf/configure: Regenerated.
8486 2012-03-01 Joseph Myers <joseph@codesourcery.com>
8488 * configure.in (AS, LD): Require binutils 2.20 or later.
8489 * configure: Regenerated.
8490 * manual/install.texi (Tools for Compilation): Give binutils 2.20
8491 as required minimum version.
8492 * INSTALL: Regenerated.
8496 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
8497 before squaring exponent.
8498 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
8499 bottom long double and 27 bits of top long double before squaring
8501 * math/libm-test.inc (erfc_test): Add more tests.
8502 * sysdeps/i386/fpu/libm-test-ulps: Update.
8503 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
8504 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8506 2012-03-01 Kai Tietz <ktietz@redhat.com>
8508 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
8509 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
8510 containing bit-fields.
8511 * soft-fp/extended.h (_FP_UNION_E): Likewise.
8512 * soft-fp/single.h (_FP_UNION_S): Likewise.
8513 * soft-fp/double.h (_FP_UNION_D): Likewise.
8515 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8518 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
8519 not include ../strcmp.S.
8520 [USE_AS_STRNCASECMP_L]: Likewise.
8521 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
8522 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
8523 * sysdeps/i386/i686/multiarch/strncase_l-c.c
8524 (__strncasecmp_l_ia32): Define as alias to
8525 __strncasecmp_l_nonascii.
8528 * math/libm-test.inc (expm1_test): Add test for bug 5794.
8529 * sysdeps/i386/fpu/libm-test-ulps: Update.
8530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8532 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8535 2012-02-29 Jeff Law <law@redhat.com>
8537 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
8540 2012-02-29 Marek Polacek <polacek@redhat.com>
8543 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
8544 * elf/Makefile: Add rules to run tst-unused-dep.out.
8546 2012-02-28 David S. Miller <davem@davemloft.net>
8548 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
8549 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
8550 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
8552 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
8553 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
8555 2012-02-29 Joseph Myers <joseph@codesourcery.com>
8557 * math/libm-test.inc (llround_test): Move one test from
8558 lround_test. Use TEST_f_L in moved test.
8559 (lround_test): Move misplaced test to llround_test. Add testcase
8562 2012-02-28 Ulrich Drepper <drepper@gmail.com>
8564 * sysdeps/x86_64/fpu/e_expf.S: New file.
8565 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
8567 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
8570 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
8571 of remain_len that may cause incomplete multi-byte character and
8573 * posix/bug-regex33.c: New file.
8574 * posix/Makefile (tests): Add bug-regex33.
8576 2012-02-28 Joseph Myers <joseph@codesourcery.com>
8578 * manual/macros.texi: New file.
8579 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
8580 * manual/libc.texinfo: Include macros.texi.
8581 * manual/creatute.texi: Likewise.
8582 * manual/install.texi: Likewise.
8583 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
8584 @glibcadj{} in references to the GNU C Library.
8585 * manual/charset.texi: Likewise.
8586 * manual/conf.texi: Likewise.
8587 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
8588 when not using those macros.
8589 * manual/creature.texi: Likewise.
8590 * manual/crypt.texi: Likewise.
8591 * manual/errno.texi: Likewise.
8592 * manual/filesys.texi: Likewise.
8593 * manual/header.texi: Likewise.
8594 * manual/install.texi: Likewise.
8595 * manual/intro.texi: Likewise.
8596 * manual/io.texi: Likewise.
8597 * manual/job.texi: Likewise.
8598 * manual/lang.texi: Likewise.
8599 * manual/libc.texiinfo: Likewise.
8600 * manual/llio.texi: Likewise.
8601 * manual/locale.texi: Likewise.
8602 * manual/maint.texi: Likewise.
8603 * manual/math.texi: Likewise.
8604 * manual/memory.texi: Likewise.
8605 * manual/message.texi: Likewise.
8606 * manual/nss.texi: Likewise.
8607 * manual/pattern.texi: Likewise.
8608 * manual/process.texi: Likewise.
8609 * manual/resource.texi: Likewise.
8610 * manual/search.texi: Likewise.
8611 * manual/setjmp.texi: Likewise.
8612 * manual/signal.texi: Likewise.
8613 * manual/socket.texi: Likewise.
8614 * manual/startup.texi: Likewise.
8615 * manual/stdio.texi: Likewise.
8616 * manual/string.texi: Likewise.
8617 * manual/sysinfo.texi: Likewise.
8618 * manual/syslog.texi: Likewise.
8619 * manual/terminal.texi: Likewise.
8620 * manual/time.texi: Likewise.
8621 * manual/users.texi: Likewise.
8622 * INSTALL: Regenerated.
8623 * NOTES: Regenerated.
8624 * sysdeps/gnu/errlist.c: Regenerated.
8626 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
8628 * include/dirent.h: Include <dirstream.h> before
8631 2012-02-28 David S. Miller <davem@davemloft.net>
8633 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
8634 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
8635 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
8636 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
8638 2012-02-27 David S. Miller <davem@davemloft.net>
8640 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
8641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
8642 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
8643 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
8645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
8646 frame pointer instead of stack pointer relative arg slot.
8647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8648 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8649 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8651 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
8654 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
8656 2012-02-27 David S. Miller <davem@davemloft.net>
8658 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
8659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
8661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
8662 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8663 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8664 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
8665 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
8667 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8669 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
8670 later. Allow versions 5-9.
8671 * configure: Regenerated.
8672 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
8673 required minimum version and 4.6 as recommended version. Do not
8674 mention bugs in GCC 2.7 and 2.8.
8675 * INSTALL: Regenerated.
8677 2012-02-27 David S. Miller <davem@davemloft.net>
8679 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
8680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
8681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
8682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
8683 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
8684 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
8685 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
8686 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
8688 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
8689 manipulate bits before adding and subtracting TWO112[sx].
8690 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
8692 2012-02-27 Roland McGrath <roland@hack.frob.com>
8695 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
8696 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
8697 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
8698 being in POSIX, because they are in 1003.1-2008.
8700 * rt/tst-aio.c: Include <fcntl.h>.
8701 * rt/tst-aio7.c: Likewise.
8702 * rt/tst-aio64.c: Likewise.
8704 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
8706 2012-02-27 Joseph Myers <joseph@codesourcery.com>
8708 * manual/install.texi (--with-headers): Describe headers as
8709 interface headers, not private headers.
8710 (Specific advice for GNU/Linux systems): Describe use of headers
8711 from "make headers_install", not private headers from older
8713 * INSTALL: Regenerated.
8714 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
8716 * sysdeps/unix/sysv/linux/configure: Regenerated.
8718 * manual/llio.texi (fclean): Remove documentation.
8720 * manual/Makefile (libc-texi-generated): New variable. Include
8722 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
8723 $(libc-texi-generated), not duplicated list of files.
8724 (version.texi, stamp-version): New rules.
8725 (realclean): Remove $(libc-texi-generated), not individual files
8726 from that list. Do not remove dir-add.texinfo.
8727 * manual/libc.texinfo: Comment out uses of edition numbers and
8728 references to printed manual. Remove last-updated dates.
8729 (EDITION): Comment out.
8731 (VERSION, UPDATED): Remove.
8732 (version.texi): Include.
8734 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
8736 * sysdeps/posix/spawni.c: Include <signal.h>.
8737 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
8738 * sysdeps/pthread/aio_fsync.c: Likewise.
8740 2012-02-26 Ulrich Drepper <drepper@gmail.com>
8742 * conform/Makefile (tests): Run only when not cross-compiling and
8743 when fast-check is not defined.
8745 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
8746 * conform/data/limits.h-data: Fixes for POSIX2008.
8747 * conform/run-conformtest.sh: Run all tests.
8748 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
8750 * include/bits/dlfcn.h: Likewise.
8751 * include/langinfo.h: Likewise.
8752 * include/monetary.h: Likewise.
8753 * include/sys/poll.h: Likewise.
8755 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
8757 * posix/spawn.h: Define __need_sigset_t.
8758 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
8759 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
8760 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
8761 to get sigevent_t only.
8762 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
8764 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
8765 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
8766 process_vm_writev only for __USE_GNU.
8767 * termios/termios.h: Declare tcgetsid also for POSIX2008.
8769 * conform/Makefile: For now ignore errors from run-conformtest.
8770 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
8771 POSIX to avoid namespace pollution. Don't prepend headers.
8772 * conform/data/aio.h-data: Fixes for POSIX testing.
8773 * conform/data/fcntl.h-data: Likewise.
8774 * conform/data/glob.h-data: Likewise.
8775 * conform/data/grp.h-data: Likewise.
8776 * conform/data/pthread.h-data: Likewise.
8777 * conform/data/pwd.h-data: Likewise.
8778 * conform/data/signal.h-data: Likewise.
8779 * conform/data/spawn.h-data: Likewise.
8780 * conform/data/stdio.h-data: Likewise.
8781 * conform/data/stdlib.h-data: Likewise.
8782 * conform/data/stropts.h-data: Likewise.
8783 * conform/data/sys/mman.h-data: Likewise.
8784 * conform/data/sys/stat.h-data: Likewise.
8785 * conform/data/sys/types.h-data: Likewise.
8786 * conform/data/sys/wait.h-data: Likewise.
8787 * conform/data/time.h-data: Likewise.
8788 * conform/data/unistd.h-data: Likewise.
8789 * conform/data/utime.h-data: Likewise.
8791 * io/sys/stat.h: fchmod was always in POSIX.
8792 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
8793 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
8794 * rt/aio.h: Define __need_timespec before including <time.h>.
8795 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
8796 struct. Add forward declaration of pthread_attr_t and use it in
8798 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
8799 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
8800 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
8801 always remove CLK_TCK definition.
8803 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
8805 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
8807 2012-02-25 Ulrich Drepper <drepper@gmail.com>
8809 * conform/run-conformtest.sh: New file.
8810 * conform/Makefile: Run run-conformtest for tests.
8811 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
8814 * conform/data/uchar.h-data: New file.
8815 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
8816 * conform/data/arpa/inet.h-data: Likewise.
8817 * conform/data/assert.h-data: Likewise.
8818 * conform/data/complex.h-data: Likewise.
8819 * conform/data/cpio.h-data: Likewise.
8820 * conform/data/ctype.h-data: Likewise.
8821 * conform/data/dirent.h-data: Likewise.
8822 * conform/data/dlfcn.h-data: Likewise.
8823 * conform/data/errno.h-data: Likewise.
8824 * conform/data/fcntl.h-data: Likewise.
8825 * conform/data/float.h-data: Likewise.
8826 * conform/data/fmtmsg.h-data: Likewise.
8827 * conform/data/fnmatch.h-data: Likewise.
8828 * conform/data/ftw.h-data: Likewise.
8829 * conform/data/glob.h-data: Likewise.
8830 * conform/data/grp.h-data: Likewise.
8831 * conform/data/iconv.h-data: Likewise.
8832 * conform/data/inttypes.h-data: Likewise.
8833 * conform/data/langinfo.h-data: Likewise.
8834 * conform/data/libgen.h-data: Likewise.
8835 * conform/data/limits.h-data: Likewise.
8836 * conform/data/locale.h-data: Likewise.
8837 * conform/data/math.h-data: Likewise.
8838 * conform/data/monetary.h-data: Likewise.
8839 * conform/data/mqueue.h-data: Likewise.
8840 * conform/data/ndbm.h-data: Likewise.
8841 * conform/data/net/if.h-data: Likewise.
8842 * conform/data/netdb.h-data: Likewise.
8843 * conform/data/netinet/in.h-data: Likewise.
8844 * conform/data/nl_types.h-data: Likewise.
8845 * conform/data/poll.h-data: Likewise.
8846 * conform/data/pthread.h-data: Likewise.
8847 * conform/data/pwd.h-data: Likewise.
8848 * conform/data/regex.h-data: Likewise.
8849 * conform/data/sched.h-data: Likewise.
8850 * conform/data/search.h-data: Likewise.
8851 * conform/data/semaphore.h-data: Likewise.
8852 * conform/data/setjmp.h-data: Likewise.
8853 * conform/data/signal.h-data: Likewise.
8854 * conform/data/spawn.h-data: Likewise.
8855 * conform/data/stdarg.h-data: Likewise.
8856 * conform/data/stdio.h-data: Likewise.
8857 * conform/data/stdlib.h-data: Likewise.
8858 * conform/data/string.h-data: Likewise.
8859 * conform/data/strings.h-data: Likewise.
8860 * conform/data/stropts.h-data: Likewise.
8861 * conform/data/sys/ipc.h-data: Likewise.
8862 * conform/data/sys/mman.h-data: Likewise.
8863 * conform/data/sys/msg.h-data: Likewise.
8864 * conform/data/sys/resource.h-data: Likewise.
8865 * conform/data/sys/select.h-data: Likewise.
8866 * conform/data/sys/sem.h-data: Likewise.
8867 * conform/data/sys/shm.h-data: Likewise.
8868 * conform/data/sys/socket.h-data: Likewise.
8869 * conform/data/sys/stat.h-data: Likewise.
8870 * conform/data/sys/statvfs.h-data: Likewise.
8871 * conform/data/sys/time.h-data: Likewise.
8872 * conform/data/sys/timeb.h-data: Likewise.
8873 * conform/data/sys/times.h-data: Likewise.
8874 * conform/data/sys/types.h-data: Likewise.
8875 * conform/data/sys/uio.h-data: Likewise.
8876 * conform/data/sys/un.h-data: Likewise.
8877 * conform/data/sys/utsname.h-data: Likewise.
8878 * conform/data/sys/wait.h-data: Likewise.
8879 * conform/data/syslog.h-data: Likewise.
8880 * conform/data/tar.h-data: Likewise.
8881 * conform/data/termios.h-data: Likewise.
8882 * conform/data/utime.h-data: Likewise.
8883 * conform/data/utmpx.h-data: Likewise.
8884 * conform/data/varargs.h-data: Likewise.
8885 * conform/data/wchar.h-data: Likewise.
8886 * conform/data/wctype.h-data: Likewise.
8887 * conform/data/wordexp.h-data: Likewise.
8889 * include/stropts.h: New file.
8890 * include/uchar.h: New file.
8891 * include/aio.h: Changes to allow conformtest.pl to use the headers.
8892 * include/assert.h: Likewise.
8893 * include/ctype.h: Likewise.
8894 * include/dirent.h: Likewise.
8895 * include/dlfcn.h: Likewise.
8896 * include/fcntl.h: Likewise.
8897 * include/fnmatch.h: Likewise.
8898 * include/glob.h: Likewise.
8899 * include/grp.h: Likewise.
8900 * include/libio.h: Likewise.
8901 * include/locale.h: Likewise.
8902 * include/math.h: Likewise.
8903 * include/net/if.h: Likewise.
8904 * include/netdb.h: Likewise.
8905 * include/netinet/in.h: Likewise.
8906 * include/pthread.h: Likewise.
8907 * include/pwd.h: Likewise.
8908 * include/regex.h: Likewise.
8909 * include/sched.h: Likewise.
8910 * include/search.h: Likewise.
8911 * include/setjmp.h: Likewise.
8912 * include/signal.h: Likewise.
8913 * include/stdio.h: Likewise.
8914 * include/stdlib.h: Likewise.
8915 * include/string.h: Likewise.
8916 * include/sys/cdefs.h: Likewise.
8917 * include/sys/mman.h: Likewise.
8918 * include/sys/msg.h: Likewise.
8919 * include/sys/resource.h: Likewise.
8920 * include/sys/select.h: Likewise.
8921 * include/sys/socket.h: Likewise.
8922 * include/sys/stat.h: Likewise.
8923 * include/sys/statvfs.h: Likewise.
8924 * include/sys/time.h: Likewise.
8925 * include/sys/times.h: Likewise.
8926 * include/sys/uio.h: Likewise.
8927 * include/sys/utsname.h: Likewise.
8928 * include/sys/wait.h: Likewise.
8929 * include/termios.h: Likewise.
8930 * include/time.h: Likewise.
8931 * include/ulimit.h: Likewise.
8932 * include/unistd.h: Likewise.
8933 * include/utime.h: Likewise.
8934 * include/wchar.h: Likewise.
8935 * include/wctype.h: Likewise.
8936 * include/wordexp.h: Likewise.
8938 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
8940 * time/time.h: TIME_UTC must be a macro.
8941 Make timespec_get available for ISO C11 only as well.
8943 2012-02-24 Ulrich Drepper <drepper@gmail.com>
8945 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
8946 Reported by Peng Haitao <penght@cn.fujitsu.com>.
8948 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8950 * configure.in: Use -o not -a in test for unsupported multi-arch.
8952 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8954 * manual/texinfo.tex: Update to version 2012-01-19.16.
8956 2012-02-24 Joseph Myers <joseph@codesourcery.com>
8958 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
8960 2012-02-24 Roland McGrath <roland@hack.frob.com>
8963 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
8964 * manual/fdl-1.3.texi: New file.
8965 * manual/fdl-1.1.texi: File removed.
8968 * manual/libc.texinfo (FDL_VERSION): New @set.
8969 Use it for mention of FDL in cover text.
8970 (Documentation License): Use it in @include file name.
8972 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8973 Roland McGrath <roland@hack.frob.com>
8976 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
8977 not LONG_LONG_MAX and LONG_LONG_MIN.
8978 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
8979 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
8981 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
8983 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8987 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
8988 manipulate bits before adding and subtracting TWO23[sx].
8989 * math/libm-test.inc (nearbyint_test): Add more tests.
8991 2012-02-22 Joseph Myers <joseph@codesourcery.com>
8994 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
8995 bits before adding and subtracting TWO23[sx].
8996 * math/libm-test.inc (rint_test): Add more tests.
8997 (rint_test_tonearest): Likewise.
8998 (rint_test_towardzero): Likewise.
8999 (rint_test_downward): Likewise.
9000 (rint_test_upward: Likewise.
9002 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9005 * include/stdc-predef.h: New file. Extracted from features.h.
9006 * include/features.h: Include stdc-predef.h.
9007 * Makefile (headers): Add stdc-predef.h.
9008 * CONFORMANCE (Compiler limitations): Update.
9010 2012-02-22 Joseph Myers <joseph@codesourcery.com>
9012 * manual/libc.texinfo (VERSION, UPDATED): Revert.
9014 2012-02-21 David S. Miller <davem@davemloft.net>
9016 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
9017 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9019 2012-02-20 David S. Miller <davem@davemloft.net>
9021 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
9022 using a normal save/restore sequence, rather than allocating a
9023 dummy stack frame just to store a frame pointer and restore.
9024 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9026 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9028 * manual/install.texi: Fix stray word in line-wrapped comment.
9030 2012-02-20 David S. Miller <davem@davemloft.net>
9032 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
9033 both binutils and gcc support GOTDATA.
9035 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
9036 "rd %pc" in the PIC register setup sequences.
9038 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
9039 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9040 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
9041 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9042 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
9043 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
9044 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
9045 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
9046 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
9047 (SYSCALL_ERROR_HANDLER): Likewise.
9048 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
9049 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
9050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
9051 (SYSCALL_ERROR_HANDLER): Likewise.
9053 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
9054 (HAVE_GCC_GOTDATA): New.
9055 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
9056 relocation support in both binutils and gcc.
9057 * sysdeps/sparc/elf/configure: Regenerate.
9059 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
9060 * sysdeps/sparc/sparc32/elf/configure: Delete.
9061 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
9062 * sysdeps/sparc/sparc64/elf/configure: Delete.
9063 * sysdeps/sparc/elf/configure.in: New file.
9064 * sysdeps/sparc/elf/configure: Generate.
9066 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
9067 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
9068 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
9069 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
9070 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
9072 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9074 * manual/install.texi: Do not mention specific glibc version
9076 * manual/libc.texinfo (VERSION, UPDATED): Update.
9077 (@copying): Use @copyright{} and range of years.
9079 2012-02-21 Joseph Myers <joseph@codesourcery.com>
9082 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
9083 [crti.S not in sysdirs] (generated): Do not append.
9084 [crti.S not in sysdirs] (omit-deps): Likewise.
9085 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
9086 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
9087 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
9088 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
9089 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
9091 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
9092 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
9093 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
9094 * csu/defs.awk: Remove file.
9095 * sysdeps/generic/initfini.c: Likewise.
9096 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
9098 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
9101 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9103 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
9104 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
9105 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
9106 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
9107 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
9108 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
9110 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
9111 (__EPOLL_PACKED): Define to empty if not defined by
9113 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
9114 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9117 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9119 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
9120 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
9121 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
9122 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
9124 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
9125 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9128 2012-02-20 Joseph Myers <joseph@codesourcery.com>
9130 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
9132 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
9133 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
9134 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
9135 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9137 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
9139 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9140 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
9142 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
9144 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
9145 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
9147 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
9149 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
9152 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
9154 * math/w_acos.c: Use non-signaling floating-point comparisons.
9155 * math/w_acosf.c: Likewise.
9156 * math/w_acosh.c: Likewise.
9157 * math/w_acoshf.c: Likewise.
9158 * math/w_acoshl.c: Likewise.
9159 * math/w_acosl.c: Likewise.
9160 * math/w_asin.c: Likewise.
9161 * math/w_asinf.c: Likewise.
9162 * math/w_asinl.c: Likewise.
9163 * math/w_atanh.c: Likewise.
9164 * math/w_atanhf.c: Likewise.
9165 * math/w_atanhl.c: Likewise.
9166 * math/w_exp2.c: Likewise.
9167 * math/w_exp2f.c: Likewise.
9168 * math/w_exp2l.c: Likewise.
9169 * math/w_j0.c: Likewise.
9170 * math/w_j0f.c: Likewise.
9171 * math/w_j0l.c: Likewise.
9172 * math/w_j1.c: Likewise.
9173 * math/w_j1f.c: Likewise.
9174 * math/w_j1l.c: Likewise.
9175 * math/w_jn.c: Likewise.
9176 * math/w_jnf.c: Likewise.
9177 * math/w_log.c: Likewise.
9178 * math/w_log10.c: Likewise.
9179 * math/w_log10f.c: Likewise.
9180 * math/w_log10l.c: Likewise.
9181 * math/w_log2.c: Likewise.
9182 * math/w_log2f.c: Likewise.
9183 * math/w_log2l.c: Likewise.
9184 * math/w_logf.c: Likewise.
9185 * math/w_logl.c: Likewise.
9186 * math/w_sqrt.c: Likewise.
9187 * math/w_sqrtf.c: Likewise.
9188 * math/w_sqrtl.c: Likewise.
9189 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
9190 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9191 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
9192 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9193 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9195 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9198 * manual/string.texi (strnlen): Use correct parameter name in
9199 equivalent expression.
9201 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9204 * manual/users.texi (seteuid): Consistently use neweuid for
9207 2012-02-19 Joseph Myers <joseph@codesourcery.com>
9210 * manual/nss.texi (Services in the NSS configuration): Correct
9211 list of services in example configuration file.
9213 2012-02-19 Nick Bowler <nbowler@draconx.ca>
9216 * manual/arith.texi: Remove statements about negative zero
9217 behaving identically to zero.
9219 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9222 * manual/install.texi: Do not document upgrading from libc5.
9224 2012-02-18 Joseph Myers <joseph@codesourcery.com>
9227 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
9229 2012-02-18 David S. Miller <davem@davemloft.net>
9231 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
9232 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
9233 %o7 across the call.
9234 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
9236 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
9238 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
9239 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
9240 * sysdeps/sparc/crtn.S: Likewise.
9242 2012-02-17 Ulrich Drepper <drepper@gmail.com>
9244 * aout/Makefile: Remove.
9246 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
9249 * manual/examples/argp-ex1.c (main): Format definition in GNU
9251 * manual/examples/argp-ex2.c (main): Likewise.
9252 * manual/examples/argp-ex3.c (main): Likewise.
9253 * manual/examples/argp-ex4.c (main): Likewise.
9254 * manual/examples/longopt.c (main): Use new-style prototype
9256 * manual/examples/strncat.c (main): Specify return type and use
9257 (void) for arguments.
9258 * manual/examples/subopt.c (main): Use char **argv argument.
9260 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9263 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
9266 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
9269 * manual/string.texi (strchr): Change when strchrnul is
9272 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
9275 * manual/locale.texi (setlocale): Document LOCPATH.
9277 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9280 * manual/process.texi (execle): Move @dots{} before last argument.
9282 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
9285 * manual/charset.texi (Generic Charset Conversion): Fix typo
9286 (LC_TYPE -> LC_CTYPE).
9288 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
9291 * manual/arith.texi (scalbn): Use @var{} on parameter names.
9292 (scalbnf): Likewise.
9293 (scalbnl): Likewise.
9294 (scalbln): Likewise.
9295 (scalblnf): Likewise.
9296 (scalblnl): Likewise.
9297 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
9301 * manual/filesys.texi (telldir): Use braces around return type.
9302 * manual/llio.texi (mmap): Add space after comma.
9304 * manual/math.texi (jn): Use @var{} on parameter names.
9310 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
9312 * manual/resource.texi (ulimit): Use @dots{} instead of literal
9314 (sched_get_priority_min): Remove semicolon on @deftypefun line.
9315 (sched_get_priority_max): Likewise.
9316 * manual/signal.texi (sigvec): Add space after comma.
9317 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
9319 (if_indextoname): Likewise.
9320 (if_freenameindex): Likewise.
9321 (sendto): Use ',' instead of '.' in prototype.
9322 * manual/startup.texi (syscall): Use @dots{} instead of literal
9324 * manual/stdio.texi (__fpending): Separate initial words of
9325 paragraph from @deftypefun line.
9326 * manual/syslog.texi (syslog): Use @dots{} instead of literal
9328 (vsyslog): Use @var{} on parameter names.
9329 * manual/terminal.texi (stty): Use @var{} on parameter names.
9330 * manual/users.texi (getutmp): Use @var{} on parameter names.
9331 (getutmpx): Likewise.
9333 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9336 * manual/stdio.texi (fopen): Fix typos in description of
9339 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
9342 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
9343 get clock_id definition.
9345 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
9348 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
9349 (madvise): Cast every argument to void on its own.
9351 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9354 * manual/startup.texi (Exit Status): Fix typo.
9356 2012-02-17 Joseph Myers <joseph@codesourcery.com>
9359 * manual/examples/argp-ex1.c: Include <stdlib.h>.
9360 * manual/examples/argp-ex2.c: Likewise.
9361 * manual/examples/argp-ex3.c: Likewise.
9363 2012-02-16 Richard Henderson <rth@redhat.com>
9365 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
9366 * sysdeps/s390/s390-32/initfini.c: Remove.
9367 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
9368 * sysdeps/s390/s390-64/initfini.c: Remove.
9370 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9372 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
9373 compiler output for sysdeps/generic/initfini.c.
9374 * sysdeps/sh/elf/initfini.c: Remove file.
9376 2012-02-16 David S. Miller <davem@davemloft.net>
9379 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
9381 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
9382 * sysdeps/sparc/crti.S: New file.
9383 * sysdeps/sparc/crtn.S: New file.
9384 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
9385 * sysdeps/sparc/sparc64/Makefile: Likewise.
9387 2012-02-15 Mike Frysinger <vapier@gentoo.org>
9390 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
9392 2012-02-15 Roland McGrath <roland@hack.frob.com>
9395 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
9397 * mach/devstream.c (cookie_io_functions_t): Macro removed.
9398 (write, read, close): Likewise.
9399 Patch by Aurelien Jarno <aurelien@aurel32.net>.
9401 2012-02-15 Joseph Myers <joseph@codesourcery.com>
9403 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
9404 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
9405 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
9406 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
9408 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
9409 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9412 2012-02-14 Marek Polacek <polacek@redhat.com>
9414 * sysdeps/x86_64/crti.S: New file.
9415 * sysdeps/x86_64/crtn.S: New file.
9416 * sysdeps/x86_64/elf/initfini.c: Remove file.
9418 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9420 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
9421 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
9422 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
9423 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
9425 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
9426 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9429 2012-02-13 Joseph Myers <joseph@codesourcery.com>
9431 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
9432 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
9433 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
9434 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
9436 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
9437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9440 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
9442 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
9443 __feraiseexcept instead of feraiseexcept.
9445 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
9446 nanosleep invocations.
9447 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
9448 strings, and add error checking for a nanosleep invocations.
9450 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
9452 Replace FSF snail mail address with URLs, as per GNU coding standards.
9453 Most of the snail mail addresses were wrong anyway, and omitting
9454 them makes the source code easier to maintain. Almost all of the
9455 changes are to license notices and to locale LC_IDENTIFICATION
9456 addresses, except for this one:
9457 * manual/libc.texinfo: In "Published by", give the FSF's URL,
9458 not its snail mail address.
9460 2012-02-09 Richard Henderson <rth@twiddle.net>
9462 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
9463 of kernel-features.h.
9465 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
9467 2012-02-08 Marek Polacek <polacek@redhat.com>
9469 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
9470 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
9471 * sysdeps/gnu/_G_config.h: Likewise.
9472 * sysdeps/generic/_G_config.h: Likewise.
9474 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
9476 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
9478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9480 * sysdeps/powerpc/powerpc32/crti.S: New file.
9481 * sysdeps/powerpc/powerpc32/crtn.S: New file.
9482 * sysdeps/powerpc/powerpc64/crti.S: New file.
9483 * sysdeps/powerpc/powerpc64/crtn.S: New file.
9485 * Makeconfig (have-initfini): Don't set.
9486 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
9487 * configure.in (nopic_initfini): Don't substitute.
9488 * config.h.in (HAVE_INITFINI): Don't #undef.
9489 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
9490 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
9492 2012-02-08 Joseph Myers <joseph@codesourcery.com>
9494 Support crti.S and crtn.S provided directly by architectures.
9495 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
9496 [crti.S in sysdirs] (omit-deps): Likewise.
9497 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
9498 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
9499 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
9500 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
9501 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
9502 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
9503 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
9504 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
9505 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
9506 compiler output for sysdeps/generic/initfini.c.
9507 * sysdeps/i386/elf/Makefile: Remove file.
9508 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
9510 2012-02-07 Marek Polacek <polacek@redhat.com>
9512 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
9513 * sysdeps/gnu/_G_config.h: Likewise.
9514 * sysdeps/mach/hurd/_G_config.h: Likewise.
9516 2012-02-07 Marek Polacek <polacek@redhat.com>
9518 * math/Makefile (tests): Add tst-CMPLX2.
9519 * math/tst-CMPLX2.c: New file.
9521 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
9523 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
9525 * math/libm-test.inc (jn_test): Add missing L suffix.
9527 2012-02-06 Marek Polacek <polacek@redhat.com>
9529 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
9530 * sysdeps/i386/fpu/e_powf.S: Likewise.
9531 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
9532 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
9533 * sysdeps/i386/fpu/e_acosh.S: Likewise.
9534 * sysdeps/i386/fpu/e_pow.S: Likewise.
9535 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
9536 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
9537 * sysdeps/i386/fpu/s_expm1.S: Likewise.
9538 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
9539 * sysdeps/i386/fpu/e_log2.S: Likewise.
9540 * sysdeps/i386/fpu/e_log2l.S: Likewise.
9541 * sysdeps/i386/fpu/e_scalb.S: Likewise.
9542 * sysdeps/i386/fpu/e_powl.S: Likewise.
9543 * sysdeps/i386/fpu/s_log1p.S: Likewise.
9544 * sysdeps/i386/fpu/e_log10f.S: Likewise.
9545 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
9546 * sysdeps/i386/fpu/e_logl.S: Likewise.
9547 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
9548 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
9549 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
9550 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
9551 * sysdeps/i386/fpu/e_log2f.S: Likewise.
9552 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
9553 * sysdeps/i386/fpu/e_log.S: Likewise.
9554 * sysdeps/i386/fpu/s_cexp.S: Likewise.
9555 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
9556 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
9557 * sysdeps/i386/fpu/e_logf.S: Likewise.
9558 * sysdeps/i386/fpu/e_log10l.S: Likewise.
9559 * sysdeps/i386/fpu/e_atanh.S: Likewise.
9560 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
9561 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
9562 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
9563 * sysdeps/i386/fpu/e_log10.S: Likewise.
9564 * sysdeps/i386/fpu/s_frexp.S: Likewise.
9565 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
9566 * sysdeps/i386/fpu/s_asinh.S: Likewise.
9567 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
9568 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
9569 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
9570 * sysdeps/i386/asm-syntax.h: Likewise.
9571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
9572 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
9573 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
9574 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
9575 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
9576 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
9577 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
9578 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
9579 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
9580 * sysdeps/powerpc/sysdep.h: Likewise.
9581 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
9582 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
9584 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9587 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
9589 2012-02-06 Joseph Myers <joseph@codesourcery.com>
9591 * sysdeps/i386/sysdep.h: Include <features.h>.
9592 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
9595 2012-02-05 Joseph Myers <joseph@codesourcery.com>
9597 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
9599 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
9602 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9604 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
9605 (SETUP_PIC_REG): Use GET_PC_THUNK.
9606 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
9609 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9611 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
9612 for non-PIC compilation.
9613 (SETUP_PIC_REG): Add .p2align directive.
9614 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
9615 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
9616 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
9617 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
9618 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
9619 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
9620 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
9621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
9622 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
9623 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
9624 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
9625 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
9626 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
9627 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
9628 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
9629 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
9630 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
9631 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
9632 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
9633 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
9634 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
9635 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
9636 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
9637 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
9638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
9639 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
9640 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
9641 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
9642 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
9643 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
9644 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
9645 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
9646 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
9647 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
9648 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
9649 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
9650 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
9651 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
9652 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
9653 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
9654 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
9656 2012-02-03 Joseph Myers <joseph@codesourcery.com>
9658 * math/tst-CMPLX.c: Include <stdio.h>.
9660 2012-01-31 Joseph Myers <joseph@codesourcery.com>
9662 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
9664 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9665 * sysdeps/sparc/bits/mathdef.h: Likewise.
9667 2012-01-31 Marek Polacek <polacek@redhat.com>
9669 * libio/libio.h: Don't define _PARAMS.
9670 * locale/programs/config.h: Don't define PARAMS.
9671 * stdlib/strtol_l.c: Likewise.
9672 (__strtol_l): Remove PARAMS from the prototype.
9674 2012-01-31 Ulrich Drepper <drepper@gmail.com>
9676 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
9677 names. Just use the correct names. Remove unnecessary wrapper
9679 * malloc/arena.c: Likewise.
9680 * malloc/hooks.c: Likewise.
9682 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
9683 ARENA_TEST says not to. Simplify test for creation of a new arena.
9684 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
9686 2012-01-30 Ulrich Drepper <drepper@gmail.com>
9688 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
9690 (update_get_addr): New function.
9691 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
9692 GET_ADDR_MODULE parameter.
9694 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9696 * crypt/cert.c: Remove __STDC__ conditionals.
9697 * crypt/crypt-entry.c: Likewise.
9698 * crypt/crypt_util.c: Likewise.
9699 * libio/filedoalloc.c: Likewise.
9700 * libio/fileops.c: Likewise.
9701 * libio/genops.c: Likewise.
9702 * libio/iofclose.c: Likewise.
9703 * libio/iofdopen.c: Likewise.
9704 * libio/iofopen.c: Likewise.
9705 * libio/iofopen64.c: Likewise.
9706 * libio/iogetdelim.c: Likewise.
9707 * libio/iopopen.c: Likewise.
9708 * libio/obprintf.c: Likewise.
9709 * libio/oldfileops.c: Likewise.
9710 * libio/oldiofclose.c: Likewise.
9711 * libio/oldiofdopen.c: Likewise.
9712 * libio/oldiofopen.c: Likewise.
9713 * libio/oldiopopen.c: Likewise.
9714 * libio/wfiledoalloc.c: Likewise.
9715 * libio/wgenops.c: Likewise.
9716 * locale/programs/xmalloc.c: Likewise.
9717 * misc/syslog.c: Likewise.
9718 * stdio-common/xbug.c: Likewise.
9719 * string/memchr.c: Likewise.
9720 * string/memcmp.c: Likewise.
9721 * string/memrchr.c: Likewise.
9722 * string/rawmemchr.c: Likewise.
9723 * sysdeps/posix/getcwd.c: Likewise.
9724 * time/strftime_l.c: Likewise.
9726 2012-01-30 Joseph Myers <joseph@codesourcery.com>
9728 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
9729 * config.make.in (config-cflags-sse2avx): Define.
9730 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
9733 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
9735 * scripts/config.guess: Update from upstream config git repository.
9736 * scripts/config.sub: Likewise.
9738 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
9740 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
9742 (R_TILEPRO_*, R_TILEGX_*): New macros.
9744 * scripts/firstversions.awk: Fix bug in version range handling.
9746 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
9748 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
9750 * include/sys/epoll.h: New file.
9751 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
9754 2012-01-28 Ulrich Drepper <drepper@gmail.com>
9756 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
9757 Avoid unnecessary __WORDSIZE == 64 test.
9758 (fmaxf): Use VEX format if possible.
9763 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
9764 * math/math_private.h: Remove libc_fegetround* and
9766 * sysdeps/i386/configure.in: Check for -msse2avx.
9767 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
9768 also if SSE2AVX is defined.
9769 Remove libc_fegetround* and libc_fesetround*.
9770 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
9771 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
9772 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
9774 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9775 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9776 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9777 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9778 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9780 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
9782 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
9786 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
9788 2012-01-27 Ulrich Drepper <drepper@gmail.com>
9791 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
9793 * Makeconfig (libm): Define.
9794 * elf/Makefile: Add rules to build and run tst-relsort1.
9795 * elf/tst-relsort1.c: New file.
9796 * elf/tst-relsort1mod1.c: New file.
9797 * elf/tst-relsort1mod2.c: New file.
9799 2012-01-27 Joseph Myers <joseph@codesourcery.com>
9801 * math/s_ldexp.c: Remove __STDC__ conditionals.
9802 * math/s_ldexpf.c: Likewise.
9803 * math/s_ldexpl.c: Likewise.
9804 * math/s_nextafter.c: Likewise.
9805 * math/s_nexttowardf.c: Likewise.
9806 * math/s_significand.c: Likewise.
9807 * math/s_significandf.c: Likewise.
9808 * math/s_significandl.c: Likewise.
9809 * math/w_jnl.c: Likewise.
9810 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
9811 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
9812 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
9813 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
9814 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
9832 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
9834 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
9837 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
9842 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
9843 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
9844 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
9845 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
9846 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
9847 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
9848 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
9849 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
9850 * sysdeps/ieee754/k_standard.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
9868 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
9869 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
9870 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
9874 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
9879 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9880 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
9881 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
9882 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9883 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9884 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
9885 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
9886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
9887 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9888 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
9889 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
9890 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9891 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
9893 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9894 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9895 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
9896 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9897 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
9898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
9899 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
9900 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9901 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9902 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
9903 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
9904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
9905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
9906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
9907 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
9909 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
9910 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
9911 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9912 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9913 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
9914 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
9915 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9916 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9917 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9918 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
9919 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
9920 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9921 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9922 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9923 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9924 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
9925 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
9926 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9927 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
9928 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
9929 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
9930 * sysdeps/ieee754/s_matherr.c: Likewise.
9931 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
9932 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9936 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9938 * crypt/md5.h: Remove __STDC__ conditionals.
9939 * libio/libioP.h: Likewise.
9940 * locale/programs/config.h: Likewise.
9941 * sysdeps/generic/sysdep.h: Likewise.
9942 * sysdeps/i386/asm-syntax.h: Likewise.
9943 * sysdeps/s390/asm-syntax.h: Likewise.
9944 * sysdeps/unix/sysdep.h: Likewise.
9945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
9946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
9948 2012-01-26 Joseph Myers <joseph@codesourcery.com>
9950 * libio/libio.h: Remove __STDC__ conditionals.
9951 * malloc/obstack.h: Likewise.
9952 * math/complex.h: Likewise.
9953 * math/math.h: Likewise.
9954 * sysdeps/generic/_G_config.h: Likewise.
9955 * sysdeps/gnu/_G_config.h: Likewise.
9956 * sysdeps/mach/hurd/_G_config.h: Likewise.
9957 * sysdeps/powerpc/bits/mathdef.h: Likewise.
9958 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
9959 * sysdeps/sparc/bits/mathdef.h: Likewise.
9961 2012-01-26 Ulrich Drepper <drepper@gmail.com>
9964 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
9965 Clean up HAS_* macros.
9966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
9967 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
9969 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
9971 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
9972 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
9973 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
9974 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
9975 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
9977 2012-01-25 Joseph Myers <joseph@codesourcery.com>
9979 * elf/tst-unique3.cc (gets): Remove declaration.
9980 * elf/tst-unique3lib.cc (gets): Likewise.
9981 * elf/tst-unique3lib2.cc (gets): Likewise.
9982 * elf/tst-unique4.cc (gets): Likewise.
9984 2012-01-24 Ulrich Drepper <drepper@gmail.com>
9986 * include/stdio.h: Add C++ protection. Add gets declarations and
9988 * debug/tst-chk1.c: Don't declare gets here.
9989 * stdio-common/tst-gets.c: Likewise.
9991 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9993 * posix/glob: Remove directory.
9995 2012-01-24 Joseph Myers <joseph@codesourcery.com>
9997 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
9999 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
10001 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
10002 of the non-standard EPFNOSUPPORT.
10004 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
10006 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
10007 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
10008 ANYWHERE set to 1 only on KERN_NO_SPACE error.
10010 2012-01-21 Ulrich Drepper <drepper@gmail.com>
10012 * wcsmbs/uchar.h: Test __STDC_VERSION__.
10014 2012-01-20 Ulrich Drepper <drepper@gmail.com>
10016 * nscd/aicache.c (addhstaiX): Do not cache negative results of
10018 * nscd/grpcache.c (cache_addgr): Likewise.
10019 * nscd/hstcache.c (cache_addhst): Likewise.
10020 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10021 * nscd/pwdcache.c (cache_addpw): Likewise.
10022 * nscd/servicescache.c (cache_addserv): Likewise.
10024 2012-01-16 Ulrich Drepper <drepper@gmail.com>
10026 * malloc/malloc.c: Various cleanups.
10027 * malloc/hooks.c: Likewise.
10029 * stdlib/Makefile (tests): Add bug-fmtmsg1.
10030 * stdlib/bug-fmtmsg1.c: New file.
10032 * stdlib/fmtmsg.c (init): Add missing unlock.
10033 Patch by Peng Haitao <penght@cn.fujitsu.com>.
10035 2012-01-12 Marek Polacek <polacek@redhat.com>
10037 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
10040 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
10042 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
10043 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
10044 macro to ensure uniqueness of label name.
10045 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10046 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10048 2012-01-11 Ulrich Drepper <drepper@gmail.com>
10050 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
10052 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
10053 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
10054 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10055 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
10057 2012-01-10 Ulrich Drepper <drepper@gmail.com>
10059 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
10061 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
10062 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
10063 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
10065 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
10067 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
10068 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
10069 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
10070 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
10072 * math/bits/math-finite.h: Add ldexp support.
10074 2012-01-10 Marek Polacek <polacek@redhat.com>
10076 * locale/programs/localedef.h (show_archive_content): Add noreturn
10079 2012-01-09 Ulrich Drepper <drepper@gmail.com>
10081 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
10083 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10085 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
10087 * io/Makefile (headers): Add bits/poll2.h.
10089 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
10091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
10092 typo #include statement.
10094 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10096 * include/sys/cdefs.h: Define __attribute_alloc_size.
10097 * catgets/gencat.c: Add alloc_size attribute and apply consistently
10098 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
10099 * elf/pldd.c: Likewise.
10100 * iconv/iconv_charmap.c: Likewise.
10101 * iconv/iconvconfig.c: Likewise.
10102 * iconv/strtab.c: Likewise.
10103 * locale/programs/locale.c: Likewise.
10104 * locale/programs/localedef.h: Likewise.
10105 * locale/programs/simple-hash.c: Likewise.
10106 * nscd/nscd.h: Likewise.
10107 * nss/makedb.c: Likewise.
10108 * sysdeps/generic/ldconfig.h: Likewise.
10109 * locale/programs/localedef.c: Remove xmalloc prototype.
10110 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
10112 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10114 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
10117 2012-01-08 Ulrich Drepper <drepper@gmail.com>
10119 * math/Makefile (tests): Add tst-CMPLX.
10120 * math/tst-CMPLX.c: New file.
10122 * math/complex.h (CMPLXL): Fix typo.
10124 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
10125 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
10127 * debug/tst-chk1.c: Add poll and ppoll tests.
10128 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
10129 * include/sys/poll.h: Add hidden proto for ppoll.
10130 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
10131 * sysdeps/mach/hurd/ppoll.c: Likewise.
10132 * io/ppoll.c: Likewise.
10133 * debug/poll_chk.c: New file.
10134 * debug/ppoll_chk.c: New file.
10135 * include/bits/poll2.h: New file.
10136 * io/bits/poll2.h: New file.
10139 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
10141 * configure.in: static is always set to yes. Remove.
10142 * config.make.in: Don't set build-static.
10143 * Makeconfig: Remove use of build-static.
10144 * dlfcn/Makefile: Likewise.
10145 * elf/Makefile: Likewise.
10146 * math/Makefile: Likewise.
10147 * misc/Makefile: Likewise.
10148 * nptl/Makefile: Likewise.
10149 * sysdeps/mach/hurd/Makefile: Likewise.
10151 * configure.in: PWD_P is not used anymore.
10152 * config.make.in: Remove PWD_P entry.
10154 * configure.in: Remove last remnants of RANLIB.
10155 No need to check for signed size_t anymore.
10156 Don't set libc_commonpagesize and libc_relro_required here for Alpha
10158 Remove __builtin_expect test because we require at least gcc 3.4.
10159 * aclocal.m4: Likewise.
10161 * wcsmbs/mbrtoc16.c: Implement using towc function.
10162 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
10163 * wcsmbs/wcsmbsload.c: Likewise.
10164 * iconv/gconv_simple.c: Likewise.
10165 * iconv/gconv_int.h: Likewise.
10166 * iconv/gconv_builtin.h: Likewise.
10167 * iconv/iconv_prog.c: Remove CHAR16 handling.
10169 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
10171 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
10173 * configure.in: Remove --with-elf and --enable-bounded options.
10174 Dont set base_machine for ia64. More non-ELF conditions removed.
10175 Remove testing and setting of leading underscore information.
10176 * config.make.in (build-bounded): Set to no.
10177 * config.h.in: Remove NO_UNDERSCORES entry.
10178 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
10180 * csu/start.c: Remove !NO_UNDERSCORE code.
10181 * locale/localeinfo.h: Likewise.
10182 * sysdeps/generic/machine-gmon.h: Likewise.
10183 * sysdeps/generic/sysdep.h: Likewise.
10184 * sysdeps/i386/sysdep.h: Likewise.
10185 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10186 * sysdeps/mach/sysdep.h: Likewise.
10187 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10188 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10189 * sysdeps/sh/sysdep.h: Likewise.
10190 * sysdeps/sparc/sparc32/alloca.S: Likewise.
10191 * sysdeps/unix/i386/sysdep.S: Likewise.
10192 * sysdeps/unix/sparc/start.c: Likewise.
10193 * sysdeps/unix/sparc/sysdep.S: Likewise.
10194 * sysdeps/unix/sparc/sysdep.h: Likewise.
10195 * sysdeps/unix/start.c: Likewise.
10196 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10197 * sysdeps/x86_64/sysdep.h: Likewise.
10199 2012-01-07 Ulrich Drepper <drepper@gmail.com>
10202 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
10204 * argp/argp-fmtstream.h: Use const instead __const.
10205 * argp/argp.h: Likewise.
10206 * assert/assert.h: Likewise.
10207 * bits/fenv.h: Likewise.
10208 * bits/sched.h: Likewise.
10209 * bits/sigset.h: Likewise.
10210 * bits/sigthread.h: Likewise.
10211 * catgets/nl_types.h: Likewise.
10212 * conform/data/pthread.h-data: Likewise.
10213 * crypt/crypt-private.h: Likewise.
10214 * crypt/crypt.h: Likewise.
10215 * crypt/crypt_util.c: Likewise.
10216 * ctype/ctype.h: Likewise.
10217 * debug/execinfo.h: Likewise.
10218 * debug/mbsnrtowcs_chk.c: Likewise.
10219 * debug/mbsrtowcs_chk.c: Likewise.
10220 * debug/wcsnrtombs_chk.c: Likewise.
10221 * debug/wcsrtombs_chk.c: Likewise.
10222 * debug/wcstombs_chk.c: Likewise.
10223 * dirent/dirent.h: Likewise.
10224 * dlfcn/dlfcn.h: Likewise.
10225 * elf/neededtest4.c: Likewise.
10226 * grp/grp.h: Likewise.
10227 * gshadow/gshadow.h: Likewise.
10228 * iconv/gconv.h: Likewise.
10229 * iconv/gconv_int.h: Likewise.
10230 * iconv/gconv_simple.c: Likewise.
10231 * iconv/iconv.h: Likewise.
10232 * iconv/loop.c: Likewise.
10233 * iconv/skeleton.c: Likewise.
10234 * include/aio.h: Likewise.
10235 * include/aliases.h: Likewise.
10236 * include/argz.h: Likewise.
10237 * include/arpa/inet.h: Likewise.
10238 * include/assert.h: Likewise.
10239 * include/dirent.h: Likewise.
10240 * include/dlfcn.h: Likewise.
10241 * include/execinfo.h: Likewise.
10242 * include/fcntl.h: Likewise.
10243 * include/fenv.h: Likewise.
10244 * include/glob.h: Likewise.
10245 * include/grp.h: Likewise.
10246 * include/libintl.h: Likewise.
10247 * include/mntent.h: Likewise.
10248 * include/netdb.h: Likewise.
10249 * include/pwd.h: Likewise.
10250 * include/rpc/netdb.h: Likewise.
10251 * include/sched.h: Likewise.
10252 * include/search.h: Likewise.
10253 * include/shadow.h: Likewise.
10254 * include/signal.h: Likewise.
10255 * include/stdio.h: Likewise.
10256 * include/stdlib.h: Likewise.
10257 * include/string.h: Likewise.
10258 * include/sys/socket.h: Likewise.
10259 * include/sys/stat.h: Likewise.
10260 * include/sys/statfs.h: Likewise.
10261 * include/sys/statvfs.h: Likewise.
10262 * include/sys/syslog.h: Likewise.
10263 * include/sys/time.h: Likewise.
10264 * include/sys/uio.h: Likewise.
10265 * include/time.h: Likewise.
10266 * include/unistd.h: Likewise.
10267 * include/utmp.h: Likewise.
10268 * include/wchar.h: Likewise.
10269 * include/wctype.h: Likewise.
10270 * inet/aliases.h: Likewise.
10271 * inet/arpa/inet.h: Likewise.
10272 * inet/netinet/ether.h: Likewise.
10273 * inet/netinet/in.h: Likewise.
10274 * intl/libintl.h: Likewise.
10275 * io/bits/fcntl2.h: Likewise.
10276 * io/fcntl.h: Likewise.
10277 * io/ftw.h: Likewise.
10278 * io/sys/poll.h: Likewise.
10279 * io/sys/stat.h: Likewise.
10280 * io/sys/statfs.h: Likewise.
10281 * io/sys/statvfs.h: Likewise.
10282 * io/utime.h: Likewise.
10283 * libio/bits/stdio.h: Likewise.
10284 * libio/bits/stdio2.h: Likewise.
10285 * libio/libio.h: Likewise.
10286 * libio/libioP.h: Likewise.
10287 * libio/stdio.h: Likewise.
10288 * locale/lc-ctype.c: Likewise.
10289 * locale/locale.h: Likewise.
10290 * login/utmp.h: Likewise.
10291 * malloc/arena.c: Likewise.
10292 * malloc/malloc.c: Likewise.
10293 * malloc/malloc.h: Likewise.
10294 * malloc/mcheck.c: Likewise.
10295 * malloc/mtrace.c: Likewise.
10296 * math/bits/mathcalls.h: Likewise.
10297 * math/fenv.h: Likewise.
10298 * math/math_private.h: Likewise.
10299 * misc/bits/error.h: Likewise.
10300 * misc/bits/syslog.h: Likewise.
10301 * misc/err.h: Likewise.
10302 * misc/error.h: Likewise.
10303 * misc/fstab.h: Likewise.
10304 * misc/mntent.h: Likewise.
10305 * misc/regexp.h: Likewise.
10306 * misc/search.h: Likewise.
10307 * misc/sgtty.h: Likewise.
10308 * misc/sys/mman.h: Likewise.
10309 * misc/sys/syslog.h: Likewise.
10310 * misc/sys/uio.h: Likewise.
10311 * misc/sys/xattr.h: Likewise.
10312 * misc/ttyent.h: Likewise.
10313 * nis/rpcsvc/ypclnt.h: Likewise.
10314 * nss/nss.h: Likewise.
10315 * posix/bits/unistd.h: Likewise.
10316 * posix/fnmatch.h: Likewise.
10317 * posix/glob.h: Likewise.
10318 * posix/sched.h: Likewise.
10319 * posix/spawn.h: Likewise.
10320 * posix/sys/wait.h: Likewise.
10321 * posix/unistd.h: Likewise.
10322 * posix/wordexp.h: Likewise.
10323 * pwd/pwd.h: Likewise.
10324 * resolv/netdb.h: Likewise.
10325 * resource/sys/resource.h: Likewise.
10326 * rt/aio.h: Likewise.
10327 * rt/bits/mqueue2.h: Likewise.
10328 * rt/mqueue.h: Likewise.
10329 * shadow/shadow.h: Likewise.
10330 * signal/signal.h: Likewise.
10331 * socket/send.c: Likewise.
10332 * socket/sendto.c: Likewise.
10333 * socket/sys/socket.h: Likewise.
10334 * stdio-common/printf.h: Likewise.
10335 * stdlib/bits/stdlib.h: Likewise.
10336 * stdlib/fmtmsg.h: Likewise.
10337 * stdlib/monetary.h: Likewise.
10338 * stdlib/stdlib.h: Likewise.
10339 * stdlib/ucontext.h: Likewise.
10340 * streams/stropts.h: Likewise.
10341 * string/argz.h: Likewise.
10342 * string/bits/string2.h: Likewise.
10343 * string/string.h: Likewise.
10344 * string/strings.h: Likewise.
10345 * sunrpc/rpc/auth.h: Likewise.
10346 * sunrpc/rpc/auth_des.h: Likewise.
10347 * sunrpc/rpc/clnt.h: Likewise.
10348 * sunrpc/rpc/netdb.h: Likewise.
10349 * sunrpc/rpc/pmap_clnt.h: Likewise.
10350 * sunrpc/rpc/xdr.h: Likewise.
10351 * sysdeps/generic/inttypes.h: Likewise.
10352 * sysdeps/generic/net/if.h: Likewise.
10353 * sysdeps/generic/sys/swap.h: Likewise.
10354 * sysdeps/gnu/net/if.h: Likewise.
10355 * sysdeps/gnu/utmpx.h: Likewise.
10356 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
10357 * sysdeps/i386/i486/bits/string.h: Likewise.
10358 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
10359 * sysdeps/s390/bits/string.h: Likewise.
10360 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
10361 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
10362 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
10363 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
10364 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
10365 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
10366 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
10367 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
10368 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
10369 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
10370 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
10371 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
10372 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
10373 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
10374 * sysdeps/unix/sysv/linux/readv.c: Likewise.
10375 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
10376 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
10377 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
10378 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
10379 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
10380 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10381 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
10382 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
10383 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
10384 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
10385 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
10386 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
10387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10388 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
10389 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
10390 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
10391 * sysvipc/sys/ipc.h: Likewise.
10392 * sysvipc/sys/msg.h: Likewise.
10393 * sysvipc/sys/sem.h: Likewise.
10394 * sysvipc/sys/shm.h: Likewise.
10395 * termios/termios.h: Likewise.
10396 * time/sys/time.h: Likewise.
10397 * time/time.h: Likewise.
10398 * wcsmbs/bits/wchar2.h: Likewise.
10399 * wcsmbs/uchar.h: Likewise.
10400 * wcsmbs/wchar.h: Likewise.
10401 * wctype/wctype.h: Likewise.
10404 * Makeconfig: Remove all but ELF support including AIX support.
10405 * Makerules: Likewise.
10406 * config.h.in: Likewise.
10407 * config.make.in: Likewise.
10408 * configure: Likewise.
10409 * configure.in: Likewise.
10410 * csu/Makefile: Likewise.
10411 * csu/version.c: Likewise.
10412 * debug/Makefile: Likewise.
10413 * dlfcn/Makefile: Likewise.
10414 * elf/Makefile: Likewise.
10415 * extra-lib.mk: Likewise.
10416 * iconv/Makefile: Likewise.
10417 * include/libc-symbols.h: Likewise.
10418 * include/shlib-compat.h: Likewise.
10419 * resolv/Makefile: Likewise.
10420 * resolv/res_libc.c: Likewise.
10421 * rt/Makefile: Likewise.
10422 * sysdeps/i386/asm-syntax.h: Likewise.
10423 * sysdeps/i386/sysdep.h: Likewise.
10424 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
10425 * sysdeps/mach/sysdep.h: Likewise.
10426 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
10427 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
10428 * sysdeps/s390/asm-syntax.h: Likewise.
10429 * sysdeps/s390/s390-32/sysdep.h: Likewise.
10430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
10431 * sysdeps/sh/sysdep.h: Likewise.
10432 * sysdeps/unix/sparc/sysdep.h: Likewise.
10433 * sysdeps/wordsize-32/divdi3.c: Likewise.
10434 * sysdeps/x86_64/sysdep.h: Likewise.
10436 * argp/Versions: Remove _argp_unlock_xxx.
10439 * abilist/ld.abilist: Update. Adjust for removal of tls option.
10440 * abilist/libBrokenLocale.abilist: Likewise.
10441 * abilist/libanl.abilist: Likewise.
10442 * abilist/libc.abilist: Likewise.
10443 * abilist/libcrypt.abilist: Likewise.
10444 * abilist/libdl.abilist: Likewise.
10445 * abilist/libm.abilist: Likewise.
10446 * abilist/libnsl.abilist: Likewise.
10447 * abilist/libpthread.abilist: Likewise.
10448 * abilist/libresolv.abilist: Likewise.
10449 * abilist/librt.abilist: Likewise.
10450 * abilist/libthread_db.abilist: Likewise.
10451 * abilist/libutil.abilist: Likewise.
10452 * abilist/libnss_db.abilist: New file.
10454 * scripts/abilist.awk: Add support for indirect functions.
10456 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
10458 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
10460 * shlib-versions: Remove entries for ports architectures.
10462 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
10464 * elf/stackguard-macros.h: Remove support for IA-64.
10465 * elf/tst-auditmod1.c: Likewise.
10466 * sysdeps/generic/ldsodefs.h: Likewise.
10468 * sysdeps/unix/sysv/linux/configure.in: Ports should define
10469 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
10473 * configure.in: Remove --enable-omitfp support.
10475 * config.make.in: Likewise.
10476 * Makeconfig: Likewise.
10477 * manual/install.texi: Likewise.
10479 In case anyone cares, the IA-64 architecture could move to ports.
10480 * sysdeps/ia64/*: Removed.
10481 * sysdeps/unix/sysv/linux/ia64/*: Removed.
10482 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
10485 * configure.in: Remove entries for unsupported architectures.
10488 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
10489 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
10491 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
10492 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
10493 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
10494 fall back to using wcrtomb.
10495 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
10496 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
10498 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
10499 * wcsmbs/tst-c16c32-1.c: New file.
10501 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
10504 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
10506 * elf/tst-unique3.cc: Add explicit declaration of gets.
10507 * elf/tst-unique3lib.cc: Likewise.
10508 * elf/tst-unique3lib2.cc: Likewise.
10509 * elf/tst-unique4.cc: Likewise.
10511 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
10513 2012-01-06 Joseph Myers <joseph@codesourcery.com>
10516 * assert/assert.h (static_assert): Don't define for C++.
10517 * libio/stdio.h (gets): Do declare for C++ <= C++11.
10518 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
10520 2012-01-03 Ulrich Drepper <drepper@gmail.com>
10522 * iconv/loop.c (single loop): Fix assertion in storing of
10525 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
10527 2012-01-01 Ulrich Drepper <drepper@gmail.com>
10529 * posix/getconf.c: Update copyright year.
10530 * nss/getent.c: Likewise.
10531 * nss/makedb.c: Likewise.
10532 * iconv/iconvconfig.c: Likewise.
10533 * iconv/iconv_prog.c: Likewise.
10534 * elf/ldconfig.c: Likewise.
10535 * elf/pldd.c: Likewise.
10536 * elf/sotruss.ksh: Likewise.
10537 * catgets/gencat.c: Likewise.
10538 * csu/version.c: Likewise.
10539 * elf/ldd.bash.in: Likewise.
10540 * elf/sprof.c (print_version): Likewise.
10541 * locale/programs/locale.c: Likewise.
10542 * locale/programs/localedef.c: Likewise.
10543 * login/programs/pt_chown.c: Likewise.
10544 * nscd/nscd.c (print_version): Likewise.
10545 * debug/xtrace.sh: Likewise.
10546 * malloc/memusage.sh: Likewise.
10547 * malloc/mtrace.pl: Likewise.
10548 * debug/catchsegv.sh: Likewise.
10550 2011-12-30 Jakub Jelinek <jakub@redhat.com>
10552 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
10555 2011-12-24 Ulrich Drepper <drepper@gmail.com>
10558 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
10559 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
10561 * iconv/gconv_int.h: Likewise.
10562 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
10563 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
10564 from libc for GLIBC_2.16.
10565 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
10566 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
10567 * wcsmbs/uchar.h: Really define mbstate_t.
10568 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
10569 * wcsmbs/c16rtomb.c: New file.
10570 * wcsmbs/mbrtoc16.c: New file.
10571 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
10572 for C/POSIX locale.
10573 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
10574 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
10576 * wcsmbs/wchar.h: Add missing __restrict.
10578 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10581 * time/Makefile (routines): Add timespec_get.
10582 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
10583 * time/time.h: Define TIME_UTC and declare timespec_get. Define
10584 timespec for ISO C11.
10585 * time/timespec_get.c: New file.
10586 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
10587 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
10590 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
10591 * stdlib/stdlib.h: Declare aligned_alloc.
10592 * Versions.def: Add GLIBC_2.16 for libc.
10593 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
10596 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
10599 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
10603 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
10606 * assert/assert.h (static_assert): Define.
10608 * version.h: Update for 2.16 development version.
10611 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
10614 * version.h (RELEASE): Bump for 2.15 release.
10615 * include/features.h (__GLIBC_MINOR__): Bump to 15.
10617 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
10618 Patch by Marek Polacek <mpolacek@redhat.com>.
10620 * bits/byteswap.h: Protect long long constants with __extension__.
10621 * sysdeps/i386/bits/byteswap.h: Likewise.
10622 * sysdeps/ia64/bits/byteswap.h: Likewise.
10623 * sysdeps/s390/bits/byteswap.h: Likewise.
10624 * sysdeps/x86_64/bits/byteswap.h: Likewise.
10626 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
10630 destination buffer.
10631 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
10633 2011-12-23 Marek Polacek <polacek@redhat.com>
10635 * elf/dl-addr.c (determine_info): Add inline keyword.
10636 * elf/tst-auditmod4b.c (check_avx): Likewise.
10637 * elf/tst-auditmod6b.c (check_avx): Likewise.
10638 * elf/tst-auditmod6c.c (check_avx): Likewise.
10639 * elf/tst-auditmod7b.c (check_avx): Likewise.
10641 2011-12-23 Ulrich Drepper <drepper@gmail.com>
10643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
10646 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10649 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
10650 processing for last bytes.
10652 2011-08-06 Bruno Haible <bruno@clisp.org>
10655 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
10656 U+0385, not to U+1FEE.
10659 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
10660 entry for U+00A5 U+0301.
10662 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10665 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
10666 buffer for the output is too small.
10668 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
10672 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
10673 SSE flags if possible.
10675 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10678 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
10679 processing for last bytes.
10681 2011-12-22 Joseph Myers <joseph@codesourcery.com>
10683 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
10684 (syscall-list-default-options, syscall-list-default-condition)
10685 (syscall-list-includes): Define.
10686 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
10687 list of ABIs and options and #if conditions for each ABI. Do not
10688 handle common syscalls between ABIs specially.
10689 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
10691 (syscall-list-variants, syscall-list-32bit-options)
10692 (syscall-list-32bit-condition, syscall-list-64bit-options)
10693 (syscall-list-64bit-condition): Define.
10694 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
10695 (syscall-list-variants, syscall-list-32bit-options)
10696 (syscall-list-32bit-condition, syscall-list-64bit-options)
10697 (syscall-list-64bit-condition): Define.
10698 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
10700 (syscall-list-variants, syscall-list-32bit-options)
10701 (syscall-list-32bit-condition, syscall-list-64bit-options)
10702 (syscall-list-64bit-condition): Define.
10703 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
10705 (syscall-list-variants, syscall-list-32bit-options)
10706 (syscall-list-32bit-condition, syscall-list-64bit-options)
10707 (syscall-list-64bit-condition): Define.
10709 2011-12-22 Ulrich Drepper <drepper@gmail.com>
10711 * locale/iso-639.def: Add brx entry.
10714 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
10715 Proposed by Mariusz_Cukr <marcukr@op.pl>.
10717 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
10718 __feraiseexcept_renamed.
10720 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10723 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
10724 EPOLLET with unsigned values.
10725 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
10726 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
10728 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
10729 to large cancellation.
10730 * math/s_cacoshf.c: Likewise.
10731 * math/s_cacoshl.c: Likewise.
10733 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
10737 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
10738 * math/s_cacoshf.c: Likewise.
10739 * math/s_cacoshl.c: Likewise.
10741 2011-12-21 Ulrich Drepper <drepper@gmail.com>
10744 * iconv/gconv.h: Define __GCONV_SWAP.
10745 * iconvdata/unicode.c: The swap bit must be stored in __flags.
10746 * iconvdata/utf-16.c: Likewise.
10747 * iconvdata/utf-32.c: Likewise.
10749 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
10752 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
10753 numerator after shifting it by one limb.
10755 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
10757 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
10758 under [__USE_EXTERN_INLINES].
10760 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10763 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
10765 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10767 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
10768 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
10770 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
10771 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
10772 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
10773 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
10774 for strncasecmp/strncasecmp_l compilation.
10775 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
10776 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
10778 2011-12-08 Marek Polacek <mpolacek@redhat.com>
10781 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
10784 2011-12-17 Ulrich Drepper <drepper@gmail.com>
10787 * time/tzfile.c (__tzfile_read): Check values from file header.
10789 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
10791 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
10792 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
10793 * powerpc/powerpc32/dl-start.S: Likewise.
10794 * powerpc/powerpc32/elf/start.S: Likewise.
10795 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10796 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
10797 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
10798 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
10799 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
10800 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
10801 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
10802 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
10803 * powerpc/powerpc32/fpu/s_round.S: Likewise.
10804 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
10805 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
10806 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
10807 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
10808 * powerpc/powerpc32/memset.S: Likewise.
10809 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
10810 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10811 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10812 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10813 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10814 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
10815 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
10816 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
10817 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
10818 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
10819 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
10820 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
10821 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
10823 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10825 * math/libm-test.inc: Added more nearbyint tests.
10826 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
10827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
10828 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
10829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
10831 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
10833 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
10836 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10838 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
10839 Add wcscpy-ssse3 wcscpy-c.
10840 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
10841 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
10842 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
10843 * sysdeps/x86_64/wcschr.S: New file.
10844 * sysdeps/x86_64/wcsrchr.S: New file.
10845 * string/test-strcmp.c: Remove checking of wcscmp function for
10847 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
10848 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
10849 wcsrchr-sse2 wcsrchr-c.
10850 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
10851 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
10852 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
10853 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
10854 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
10855 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
10856 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
10857 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
10858 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
10859 * wcsmbc/wcschr.c (WCSCHR): New macro.
10861 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
10863 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
10864 * wcsmbs/test-wcsrchr.c: New file.
10865 * string/test-strrchr.c: Add wcsrchr support.
10867 * wcsmbs/test-wcscpy.c: New file.
10868 * string/test-strcpy.c: Add wcscpy support.
10871 2011-12-10 Ulrich Drepper <drepper@gmail.com>
10873 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
10876 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
10879 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
10881 2011-12-04 Ulrich Drepper <drepper@gmail.com>
10883 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
10884 Minor optimizations.
10886 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
10887 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
10888 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10890 2011-12-03 Ulrich Drepper <drepper@gmail.com>
10892 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
10893 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
10894 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
10895 for gcc to avoid warnings.
10896 * inet/Makefile (tests): Add tst-checks.
10897 * inet/tst-checks.c: New file.
10899 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
10902 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
10905 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
10906 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
10908 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
10910 2011-12-02 Ulrich Drepper <drepper@gmail.com>
10912 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
10915 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
10917 2011-11-29 Joseph Myers <joseph@codesourcery.com>
10919 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
10920 conditional on GCC version.
10921 (__arch_compare_and_exchange_val_8_acq)
10922 (__arch_compare_and_exchange_val_16_acq)
10923 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
10924 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
10925 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
10927 2011-12-02 Joseph Myers <joseph@codesourcery.com>
10929 * sysdeps/sh/backtrace.c: New file.
10931 2011-12-02 Andreas Schwab <schwab@redhat.com>
10933 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
10936 2011-12-01 Andreas Schwab <schwab@redhat.com>
10938 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
10939 falling back to utime.
10941 2011-11-30 Andreas Schwab <schwab@redhat.com>
10943 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
10944 expectations for float.
10946 2011-11-29 Andreas Schwab <schwab@redhat.com>
10948 * locale/weight.h (findidx): Add parameter len.
10949 * locale/weightwc.h (findidx): Likewise.
10950 * posix/fnmatch_loop.c (FCT): Adjust caller.
10951 * posix/regcomp.c (build_equiv_class): Likewise.
10952 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
10953 * posix/regexec.c (check_node_accept_bytes): Likewise.
10954 * string/strcoll_l.c (STRCOLL): Likewise.
10955 * string/strxfrm_l.c (STRXFRM): Likewise.
10957 2011-11-17 Ulrich Drepper <drepper@gmail.com>
10959 * Makefile.in: Remove CVSOPT handling.
10960 * configure.in: Remove use of AC_REVISION.
10961 * iconvdata/Makefile (distribute): No need to filter out CVS.
10962 * scripts/list-sources.sh: Remove CVS, subversion and monotone
10965 2011-11-16 Andreas Schwab <schwab@redhat.com>
10967 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
10968 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
10969 [USE_AS_STRNCASECMP_L]: Likewise.
10970 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
10971 NO_TLS_DIRECT_SEG_REFS.
10972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
10973 Fix argument offsets for non-PIC.
10974 [USE_AS_STRNCASECMP_L]: Likewise.
10975 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
10976 NO_TLS_DIRECT_SEG_REFS.
10978 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10980 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
10982 * locale/loadlocale.c (_nl_load_locale): Likewise.
10984 2011-11-15 Andreas Schwab <schwab@redhat.com>
10986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
10987 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
10988 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
10989 (SYSCALL_GETTIME): Set errno on error.
10991 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
10992 count references to noai6ai_cached.
10994 2011-11-15 Ulrich Drepper <drepper@gmail.com>
10996 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
10998 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
10999 FD_CLOEXEC for /proc/self/maps.
11001 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
11002 FD_CLOEXEC for /proc/meminfo.
11004 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
11007 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
11008 FD_CLOEXEC for given file.
11010 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
11012 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
11013 FD_CLOEXEC for /etc/hosts.
11014 (_gethtent): Likewise.
11016 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
11018 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
11019 cancellation and set FD_CLOEXEC for /etc/netgroup.
11021 * nss/nss_files/files-key.c (search): Don't allow cancellation when
11022 reading /etc/publickey.
11024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
11025 allow cancellation when reading /etc/group.
11027 * nss/nss_files/files-alias.c (internal_setent): Don't allow
11029 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
11031 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
11032 when using data file.
11034 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
11036 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
11037 (write_nis_obj): Use "c" and "e" in fopen.
11039 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
11041 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
11043 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
11045 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
11047 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
11050 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
11052 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
11054 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
11056 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
11057 file parsing and set FD_CLOEXEC.
11059 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11061 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
11063 2011-11-14 Andreas Schwab <schwab@redhat.com>
11065 * malloc/arena.c (arena_get2): Don't call reused_arena when
11066 _int_new_arena failed.
11068 2011-11-14 Ulrich Drepper <drepper@gmail.com>
11070 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
11071 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
11072 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
11073 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11074 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11075 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
11076 to compile strcasecmp and strncasecmp.
11077 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
11078 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
11080 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
11082 2011-11-13 Ulrich Drepper <drepper@gmail.com>
11084 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
11085 locale-defines.sym to gen-as-const-headers.
11086 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
11087 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
11088 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
11089 to compile strcasecmp and strncasecmp.
11090 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
11091 strcasecmp_l and strncasecmp_l.
11092 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
11093 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
11094 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
11095 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
11096 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
11097 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
11098 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
11099 * sysdeps/i386/i686/multiarch/strncase.S: New file.
11100 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
11101 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
11102 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
11104 2011-11-12 Ulrich Drepper <drepper@gmail.com>
11106 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
11107 result of SYSDEP_GETTIME_CPU to retval.
11108 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
11109 parameter list to macro. Remove trailing semicolon. Adjust users.
11111 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
11114 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
11116 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
11118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
11119 from unused variable.
11121 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
11123 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
11126 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
11129 * sunrpc/rpc_prot.c (rejected): Fix case value.
11131 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
11132 unsigned long long int to avoid warnings in shift.
11134 * posix/regex_internal.c (re_string_reconstruct): Actually use result
11136 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
11139 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
11140 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
11141 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
11143 * nis/nis_table.c (nis_list): Use variable of correct type for
11144 result of __follow_path call.
11146 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11148 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
11149 of math functions ceil, trunc, floor, round, and sqrt, when
11150 avaliable on the platform.
11151 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
11153 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
11154 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
11155 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
11157 2011-10-30 Marek Polacek <mpolacek@redhat.com>
11159 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
11160 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11162 2011-11-11 Roland McGrath <roland@hack.frob.com>
11164 * include/unistd.h: Fix __readlink return type.
11165 Reported by Chris Metcalf <cmetcalf@tilera.com>.
11167 2011-11-11 Ulrich Drepper <drepper@gmail.com>
11169 * stdlib/ucontext.h: Undo last change for makecontext.
11171 2011-11-11 Andreas Schwab <schwab@redhat.com>
11173 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
11175 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
11176 * setjmp/setjmp.h: Mark functions as non-leaf.
11177 * setjmp/bits/setjmp2.h: Likewise.
11178 * stdlib/ucontext.h: Likewise.
11180 2011-11-10 Andreas Schwab <schwab@redhat.com>
11182 * malloc/arena.c (_int_new_arena): Don't increment narenas.
11183 (reused_arena): Don't check arena limit.
11184 (arena_get2): Atomically check arena limit.
11186 2011-11-08 Ulrich Drepper <drepper@gmail.com>
11188 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
11189 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
11191 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
11194 2011-11-07 Andreas Schwab <schwab@redhat.com>
11196 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
11197 handler when locking.
11199 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
11200 Fix size of allocated buffer.
11202 2011-11-04 Andreas Schwab <schwab@redhat.com>
11205 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
11206 declarations for long double functions.
11207 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
11209 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
11211 2011-11-03 Andreas Schwab <schwab@redhat.com>
11213 * nscd/nscd.c (main): Don't start AVC thread until credentials are
11216 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
11219 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
11221 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
11223 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
11225 * include/alloca.h (stackinfo_alloca_round): Define.
11226 (extend_alloca): Use it.
11227 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
11228 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
11231 * scripts/check-local-headers.sh: Ignore libaudit.h.
11233 * nscd/Makefile (extra-objs): Make recursively expanded.
11235 2011-11-01 Ulrich Drepper <drepper@gmail.com>
11237 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
11238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
11240 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
11241 * posix/tst-rfc3484-2.c: Likewise.
11242 * posix/tst-rfc3484-3.c: Likewise.
11244 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
11246 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
11248 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
11249 process_vm_writev from libc using GLIBC_2.15 version.
11251 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
11253 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
11255 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
11258 2011-10-31 Ulrich Drepper <drepper@gmail.com>
11261 * nss/getent.c (initgroups_keys): Show error message in case no group
11264 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
11265 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
11266 __bump_nl_timestamp.
11267 * nscd/connections (nscd_init): When host database is served open
11268 netlink socket and request notification about configuration changes.
11269 (main_loop_poll): Track netlink file descriptor and bump timestamp
11270 in case data becomes available.
11271 (main_loop_epoll): Likewise.
11272 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
11273 (database_pers_head): Add extra_data fileds.
11274 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
11275 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
11276 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
11278 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
11279 in6ai data, call __free_in6ai.
11280 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
11281 Add -DHAVE_NETLINK.
11282 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
11283 interface information. Reuse previous data if netlink timestamp
11285 (__bump_nl_timestamp): New function.
11286 (__free_in6ai): New function.
11288 2011-10-30 Ulrich Drepper <drepper@gmail.com>
11290 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
11291 close_not_cancel_no_status here.
11292 (__check_pf): Reorganize code a bit to not call close twice if OOM.
11294 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11297 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
11300 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
11301 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
11302 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
11304 2011-07-03 Andreas Jaeger <aj@suse.de>
11307 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
11308 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
11309 * math/libm-test.inc (sin_test): Add test case.
11311 2011-10-29 Ulrich Drepper <drepper@gmail.com>
11314 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
11315 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11317 * elf/chroot_canon.c (chroot_canon): Cleanups.
11319 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
11322 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
11323 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
11325 * string/test-strchr.c: Make usable for strchrnul testing.
11326 * string/test-strchrnul.c: New file.
11327 * string/Makefile (strop-tests): Add strchrnul.
11329 * po/it.po: Update from translation team.
11330 * po/es.po: Likewise.
11332 2011-10-28 Ulrich Drepper <drepper@gmail.com>
11334 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
11335 the three constants needed as parameters. Drop the others.
11336 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
11337 __m128i_strloadu_tolower.
11338 Create and initialize variable zero and use it in all the places
11339 where _mm_setzero_si128 was used.
11341 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
11342 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
11343 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
11344 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
11346 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
11347 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
11348 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
11349 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
11350 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
11351 __mpranred, __mptan.
11352 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
11353 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
11354 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
11355 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
11356 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
11357 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
11358 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
11359 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
11360 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
11362 2011-10-28 Andreas Schwab <schwab@redhat.com>
11364 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
11365 redefine if SHARED.
11366 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
11368 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
11369 wide char related routines to wcsmbs subdir.
11371 2011-10-27 Andreas Schwab <schwab@redhat.com>
11374 * misc/sys/cdefs.h (__THROWNL): Define.
11375 * posix/unistd.h: Use __THREADNL instead of __THREAD
11376 for memory synchronization functions.
11378 2011-10-26 Roland McGrath <roland@hack.frob.com>
11381 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
11383 * manual/stdio.texi (Obstack Streams): Node removed.
11385 2011-10-26 Andreas Schwab <schwab@redhat.com>
11387 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
11388 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11389 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11391 * math/math_private.h (math_force_eval): Allow non-addressable
11393 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
11395 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11397 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
11398 file is not needed.
11400 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
11401 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
11402 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
11403 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
11404 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
11405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
11406 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
11407 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
11409 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
11410 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
11411 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
11412 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
11413 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
11414 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
11415 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
11416 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
11417 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
11418 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
11419 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
11420 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
11421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
11422 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
11423 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
11424 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
11425 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
11426 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
11427 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
11429 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
11430 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
11432 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
11433 place. Use VEX encoding when compiling for AVX.
11435 2011-10-25 Andreas Schwab <schwab@redhat.com>
11437 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
11438 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
11440 * string/test-strchr.c (do_test): Don't generate NUL bytes.
11442 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11444 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
11445 useless if() expression.
11446 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
11447 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
11448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11449 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11450 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11451 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
11452 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11453 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11454 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
11455 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
11456 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
11457 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11458 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
11459 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11460 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
11461 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
11462 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
11463 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
11464 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
11466 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
11468 2011-10-25 Andreas Schwab <schwab@redhat.com>
11470 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
11472 * elf/dl-fini.c (_dl_sort_fini): Likewise.
11474 2011-10-25 Ulrich Drepper <drepper@gmail.com>
11476 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
11477 .text section. Avoid duplicate constants.
11478 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
11479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11480 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
11481 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11482 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11483 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11484 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11486 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
11487 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
11488 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
11489 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
11490 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
11491 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
11492 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
11493 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
11494 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
11495 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
11496 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
11497 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11498 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
11499 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
11500 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
11501 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
11502 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
11503 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
11504 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
11505 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
11506 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
11507 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
11508 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
11509 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
11510 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11511 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
11512 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
11513 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
11514 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
11515 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
11516 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
11517 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
11518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
11519 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
11520 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
11521 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
11522 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
11524 2011-10-24 Ulrich Drepper <drepper@gmail.com>
11526 * sysdeps/x86_64/dla.h: Move to ...
11527 * sysdeps/x86_64/fpu/dla.h: ...here.
11528 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
11529 situations. Use __builtin_fma only for gcc 4.6 and up.
11531 * config.make.in: Add have-mfma4 entry.
11532 * configure.in: Substitute libc_cv_cc_fma4.
11533 * math/Makefile (dbl-only-routines): Add sincostab.
11534 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
11535 Use __sincostab not sincos.
11536 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
11538 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11539 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11540 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
11543 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
11544 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
11545 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
11546 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
11548 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
11549 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
11551 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
11552 define aliases when function name is a macro.
11553 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
11554 sysdeps/ieee754/dbl-64/sincos.tbl.
11555 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
11556 fma4-enabled routines.
11557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
11558 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
11559 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
11560 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
11561 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
11562 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
11563 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
11564 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
11565 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
11566 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
11567 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
11568 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
11569 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
11570 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
11571 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
11572 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
11573 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
11574 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
11575 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
11576 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
11577 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
11578 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
11579 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
11580 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
11581 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
11582 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
11583 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
11584 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
11585 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
11586 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
11588 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
11590 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11593 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11595 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11596 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11597 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11599 2011-10-24 Andreas Schwab <schwab@redhat.com>
11601 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
11603 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11605 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
11607 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
11609 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
11611 * string/strnlen.c: Don't define STRNLEN, reverse logic.
11612 Remove unused variable magic_bits.
11613 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
11615 * string/strnlen.c: Define and use STRNLEN macro.
11616 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
11617 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
11618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
11619 * wcsmbs/wcslen.c: Define and use WCSLEN.
11620 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
11621 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
11622 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
11623 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
11624 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
11625 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
11626 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
11628 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11630 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11631 strnlen-sse2-no-bsf.
11632 Rename strlen-no-bsf to strlen-sse2-no-bsf.
11633 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
11634 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
11635 Add strnlen support.
11636 (USE_AS_STRNLEN): New macro.
11637 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
11638 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
11639 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
11640 * sysdeps/x86_64/wcslen.S: New file.
11642 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
11644 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
11645 XMM-moves are used for copying on small sizes.
11647 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11649 * wcsmbs/Makefile (strop-tests): Add wcschr.
11650 * wcsmbs/test-wcschr.c: New file.
11651 * string/test-strchr.c: Update.
11652 Add wcschr support.
11655 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11657 * wcsmbs/Makefile (strop-tests): Add wcslen.
11658 * wcsmbs/test-wcslen.c: New file.
11659 * string/test-strlen.c: Update.
11660 Add wcslen support.
11663 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11665 * po/it.po: Update from translation team.
11667 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11669 * sysdeps/x86_64/wcscmp.S: Update.
11670 Fix wrong comparison semantics.
11671 wcscmp shall use signed comparison not unsigned.
11672 Don't use substraction to avoid overflow bug.
11673 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
11674 * wcsmbc/wcscmp.c: Likewise.
11675 * string/test-strcmp.c: Likewise.
11676 Add new tests to check cases with negative values.
11678 2011-10-23 Ulrich Drepper <drepper@gmail.com>
11680 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
11681 * sysdeps/x86_64/dla.h: ...here. New file.
11682 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
11683 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11684 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11685 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11686 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11687 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
11688 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11689 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11690 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11692 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
11694 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
11695 __ynl_finite aliases.
11697 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11699 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11701 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
11703 [DLA_FMA] (EMULV): Use DLA_FMA.
11704 [DLA_FMA] (MUL12): Use EMULV.
11705 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
11706 that are not needed.
11707 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
11708 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
11709 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
11710 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
11711 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
11712 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
11713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
11715 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
11717 * math/s_nan.c: Undef __nan.
11718 * math/s_nanf.c: Undef __nanf.
11719 * math/s_nanl.c: Undef __nanl.
11720 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
11723 2011-10-22 Ulrich Drepper <drepper@gmail.com>
11725 * math/s_catan.c: Add branch predictions.
11726 * math/s_catanf.c: Likewise.
11727 * math/s_catanh.c: Likewise.
11728 * math/s_catanhf.c: Likewise.
11729 * math/s_catanhl.c: Likewise.
11730 * math/s_catanl.c: Likewise.
11731 * math/s_cexp.c: Likewise.
11732 * math/s_cexpf.c: Likewise.
11733 * math/s_cexpl.c: Likewise.
11734 * math/s_clog.c: Likewise.
11735 * math/s_clog10.c: Likewise.
11736 * math/s_clog10f.c: Likewise.
11737 * math/s_clog10l.c: Likewise.
11738 * math/s_clogf.c: Likewise.
11739 * math/s_clogl.c: Likewise.
11740 * math/s_csqrt.c: Likewise.
11741 * math/s_csqrtf.c: Likewise.
11742 * math/s_csqrtl.c: Likewise.
11743 * math/s_ctanf.c: Likewise.
11744 * math/s_ctanh.c: Likewise.
11745 * math/s_ctanhf.c: Likewise.
11746 * math/s_ctanhl.c: Likewise.
11747 * math/s_ctanl.c: Likewise.
11749 * math/math_private.h: Define __nan, __nanf, __nanl.
11750 * math/s_cacosh.c: Include <math_private.h>.
11751 * math/s_cacoshl.c: Likewise.
11752 * math/s_casinh.c: Likewise.
11753 * math/s_casinhf.c: Likewise.
11754 * math/s_casinhl.c: Likewise.
11755 * math/s_ccos.c: Rely entire on ccosh.
11756 * math/s_ccosf.c: Rely entire on ccoshf.
11757 * math/s_ccosl.c: Rely entirely on ccoshl.
11758 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
11759 Remove tests for FE_INVALID.
11760 * math/s_ccoshf.c: Likewise.
11761 * math/s_ccoshl.c: Likewise.
11762 * math/s_csin.c: Likewise.
11763 * math/s_csinf.c: Likewise.
11764 * math/s_csinh.c Likewise.
11765 * math/s_csinhf.c: Likewise.
11766 * math/s_csinhl.c: Likewise.
11767 * math/s_csinl.c: Likewise.
11768 * math/s_ctan.c: Likewise.
11769 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
11770 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
11771 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
11773 2011-10-21 Ulrich Drepper <drepper@gmail.com>
11775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
11776 compilation problems.
11778 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
11781 2011-10-20 Ulrich Drepper <drepper@gmail.com>
11783 * sysdeps/i386/configure.in: Test for -mfma4 option.
11784 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
11785 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
11786 COMMON_CPUID_INDEX_80000001.
11787 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
11788 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
11789 use it if FMA3 is not supported.
11790 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
11792 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
11793 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
11795 2011-10-20 Andreas Schwab <schwab@redhat.com>
11798 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
11799 it would create a cycle with a link time dependency.
11801 2011-10-19 Ulrich Drepper <drepper@gmail.com>
11803 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
11805 * string/Makefile (strop-tests): Add rawmemchr.
11806 * string/test-rawmemchr.c: New file.
11808 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
11809 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
11810 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
11811 when compiling str{,n}casecmp and when AVX is available. Hook up
11812 new optimized code in initializers.
11814 2011-10-19 Andreas Schwab <schwab@redhat.com>
11816 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
11817 __feraiseexcept instead of feraiseexcept.
11819 2011-10-18 Ulrich Drepper <drepper@gmail.com>
11821 * math/math_private.h: Define defaults for libc_fetestexcept and
11823 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
11824 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
11825 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
11826 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11827 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
11828 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11829 libc_fetestexcept and libc_feupdateenv.
11831 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
11832 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
11833 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
11834 * sysdeps/x86_64/fpu/math_private.h: Define special version of
11835 libc_feholdexcept_setround.
11837 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
11838 Add s_nearbyint-c and s_nearbyintf-c.
11839 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
11840 nearbyintf inlines.
11841 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
11842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
11843 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
11844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
11846 * math/math_private.h: Define defaults for libc_fegetround,
11847 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
11848 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
11849 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
11850 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
11851 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
11852 standard functions.
11853 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
11854 Remove comments and hacks for old compiler versions.
11855 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
11856 libc_fegetround, libc_fesetround, libc_feholdexcept, and
11857 libc_feholdexceptl.
11859 2011-10-18 Andreas Schwab <schwab@redhat.com>
11861 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
11862 (__feraiseexcept_renamed): Add __NTH.
11863 (feraiseexcept): Add __NTH. Rename local variables to fix
11864 namespace violations.
11866 2011-10-17 Ulrich Drepper <drepper@gmail.com>
11868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
11870 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
11872 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
11873 recently added interfaces.
11874 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
11876 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
11877 about macro parameter expansion.
11879 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
11880 __NO_MATH_INLINES is defined. Cleanups.
11882 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
11883 and __floorf is target has SSE4.1.
11884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
11885 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
11886 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
11887 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
11889 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
11891 (floorf): Likewise.
11893 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
11895 2011-10-17 Andreas Schwab <schwab@redhat.com>
11897 * misc/sys/cdefs.h: Fix last change.
11899 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
11902 2011-10-16 Ulrich Drepper <drepper@gmail.com>
11904 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
11906 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
11907 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
11908 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
11909 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
11910 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
11911 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
11912 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
11913 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
11914 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
11915 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
11916 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
11917 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
11918 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
11919 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
11920 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
11921 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
11922 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
11923 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
11924 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
11925 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
11926 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
11927 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
11929 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
11930 ceil, ceilf, floor, floorf.
11932 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
11933 Perform IRELATIVE relocations last.
11935 * elf/do-rel.h: Add another parameter nrelative, replacing the
11936 local variable with the same name. Change name of the function
11937 to end in Rel or Rela (uppercase).
11938 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
11939 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
11940 elf_dynamic_do_##reloc function.
11942 2011-10-15 Ulrich Drepper <drepper@gmail.com>
11944 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
11945 is sufficient, at least on modern CPUs.
11947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
11949 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
11950 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
11952 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
11954 * math/bits/math-finite.h: Add entries for exp.
11955 * math/e_expl.c: Add __*_finite alias.
11956 * sysdeps/i386/fpu/e_exp.S: Likewise.
11957 * sysdeps/i386/fpu/e_expf.S: Likewise.
11958 * sysdeps/i386/fpu/e_expl.c: Likewise.
11959 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
11960 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
11961 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
11962 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11963 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
11964 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
11965 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
11967 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
11968 is sufficient, at least on modern CPUs.
11970 * ctype/ctype-info.c (__ctype_init): Define.
11971 * include/ctype.h (__ctype_init): Declare.
11972 (__ctype_b_loc): The variable is always initialized.
11973 (__ctype_toupper_loc): Likewise.
11974 (__ctype_tolower_loc): Likewise.
11975 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
11976 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
11978 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
11980 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
11982 * configure.in: Also look in $cxxmachine/include for C++ system
11985 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
11987 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
11988 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
11989 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
11990 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
11991 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
11992 (USE_AS_WMEMCMP): New macro.
11994 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
11995 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
11996 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
11997 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
11998 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
11999 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
12000 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
12001 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
12002 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
12003 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
12004 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
12005 (USE_AS_WMEMCMP): New macro.
12006 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
12007 * sysdeps/string/test-memcmp.c: Update.
12008 Fix simple_wmemcmp.
12010 * wcsmbs/wmemcmp.c: Update.
12011 (WMEMCMP): New macro.
12014 2011-10-12 Andreas Jaeger <aj@suse.de>
12017 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
12019 2011-10-15 Ulrich Drepper <drepper@gmail.com>
12021 * libio/iofwide.c (do_length): Avoid warning.
12023 * ctype/ctype.h (__isctype_f): Add missing __THROW.
12025 2011-10-14 Ulrich Drepper <drepper@gmail.com>
12027 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
12029 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
12030 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
12031 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
12032 * sysdeps/i386/i686/fpu/e_log.S: New file.
12033 * sysdeps/i386/i686/fpu/e_logf.S: New file.
12034 * sysdeps/i386/i686/fpu/e_logl.S: New file.
12036 * ctype/ctype.h: Add support for inlined isXXX functions when
12037 compiling C++ code.
12039 2011-10-14 Andreas Schwab <schwab@redhat.com>
12041 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12043 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
12045 2011-10-13 Roland McGrath <roland@hack.frob.com>
12048 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
12050 2011-10-13 Andreas Schwab <schwab@redhat.com>
12052 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
12053 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
12056 * sysdeps/x86_64/memrchr.S: Check for zero size.
12058 * string/stratcliff.c: Add memrchr tests.
12060 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12062 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12063 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
12064 rawmemchr-sse2 rawmemchr-sse2-bsf.
12065 * sysdeps/i386/i686/multiarch/memchr.S: New file.
12066 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
12067 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
12068 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
12069 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
12070 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
12071 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
12072 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
12073 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
12074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
12075 * string/memrchr.c (MEMRCHR): New macro.
12077 2011-10-12 Ulrich Drepper <drepper@gmail.com>
12079 Add integration with gcc's -ffinite-math-only and optimize wrapper
12081 * Versions.def: Define GLIBC_2.15 version for libm.
12082 * math/Makefile (headers): Add bits/math-finite.h.
12083 * math/bits/math-finite.h: New file.
12084 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
12085 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
12086 * math/e_acoshl.c: Add __*_finite alias.
12087 * math/e_acosl.c: Likewise.
12088 * math/e_asinl.c: Likewise.
12089 * math/e_atan2l.c: Likewise.
12090 * math/e_atanhl.c: Likewise.
12091 * math/e_coshl.c: Likewise.
12092 * math/e_exp10.c: Likewise.
12093 * math/e_exp10f.c: Likewise.
12094 * math/e_exp10l.c: Likewise.
12095 * math/e_exp2l.c: Likewise.
12096 * math/e_fmodl.c: Likewise.
12097 * math/e_gammal_r.c: Likewise.
12098 * math/e_hypotl.c: Likewise.
12099 * math/e_j0l.c: Likewise.
12100 * math/e_j1l.c: Likewise.
12101 * math/e_jnl.c: Likewise.
12102 * math/e_lgammal_r.c: Likewise.
12103 * math/e_log10l.c: Likewise.
12104 * math/e_log2l.c: Likewise.
12105 * math/e_logl.c: Likewise.
12106 * math/e_powl.c: Likewise.
12107 * math/e_sinhl.c: Likewise.
12108 * math/e_sqrtl.c: Likewise.
12109 * math/e_scalb.c: Completely rewritten and optimized.
12110 * math/e_scalbf.c: Likewise.
12111 * math/e_scalbl.c: Likewise.
12112 * math/w_acos.c: Likewise.
12113 * math/w_acosf.c: Likewise.
12114 * math/w_acosl.c: Likewise.
12115 * math/w_acosh.c: Likewise.
12116 * math/w_acoshf.c: Likewise.
12117 * math/w_acoshl.c: Likewise.
12118 * math/w_asin.c: Likewise.
12119 * math/w_asinf.c: Likewise.
12120 * math/w_asinl.c: Likewise.
12121 * math/w_atan2.c: Likewise.
12122 * math/w_atan2f.c: Likewise.
12123 * math/w_atan2l.c: Likewise.
12124 * math/w_atanh.c: Likewise.
12125 * math/w_atanhf.c: Likewise.
12126 * math/w_atanhl.c: Likewise.
12127 * math/w_exp10.c: Likewise.
12128 * math/w_exp10f.c: Likewise.
12129 * math/w_exp10l.c: Likewise.
12130 * math/w_fmod.c: Likewise.
12131 * math/w_fmodf.c: Likewise.
12132 * math/w_fmodl.c: Likewise.
12133 * math/w_j0.c: Likewise.
12134 * math/w_j0f.c: Likewise.
12135 * math/w_j0l.c: Likewise.
12136 * math/w_j1.c: Likewise.
12137 * math/w_j1f.c: Likewise.
12138 * math/w_j1l.c: Likewise.
12139 * math/w_jn.c: Likewise.
12140 * math/w_jnf.c: Likewise.
12141 * math/w_log.c: Likewise.
12142 * math/w_logf.c: Likewise.
12143 * math/w_logl.c: Likewise.
12144 * math/w_log10.c: Likewise.
12145 * math/w_log10f.c: Likewise.
12146 * math/w_log10l.c: Likewise.
12147 * math/w_log2.c: Likewise.
12148 * math/w_log2f.c: Likewise.
12149 * math/w_log2l.c: Likewise.
12150 * math/w_pow.c: Likewise.
12151 * math/w_powf.c: Likewise.
12152 * math/w_powl.c: Likewise.
12153 * math/w_remainder.c: Likewise.
12154 * math/w_remainderf.c: Likewise.
12155 * math/w_remainderl.c: Likewise.
12156 * math/w_scalb.c: Likewise.
12157 * math/w_scalbf.c: Likewise.
12158 * math/w_scalbl.c: Likewise.
12159 * math/w_sqrt.c: Likewise.
12160 * math/w_sqrtf.c: Likewise.
12161 * math/w_sqrtl.c: Likewise.
12162 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
12163 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
12165 * math/math_private.h: Declare __kernel_standard_f.
12166 * math/w_cosh.c: Remove cruft and optimize a bit.
12167 * math/w_coshf.c: Likewise.
12168 * math/w_coshl.c: Likewise.
12169 * math/w_exp2.c: Likewise.
12170 * math/w_exp2f.c: Likewise.
12171 * math/w_exp2l.c: Likewise.
12172 * math/w_hypot.c: Likewise.
12173 * math/w_hypotf.c: Likewise.
12174 * math/w_hypotl.c: Likewise.
12175 * math/w_lgamma.c: Likewise.
12176 * math/w_lgamma_r.c: Likewise.
12177 * math/w_lgammaf.c: Likewise.
12178 * math/w_lgammaf_r.c: Likewise.
12179 * math/w_lgammal.c: Likewise.
12180 * math/w_lgammal_r.c: Likewise.
12181 * math/w_sinh.c: Likewise.
12182 * math/w_sinhf.c: Likewise.
12183 * math/w_sinhl.c: Likewise.
12184 * math/w_tgamma.c: Likewise.
12185 * math/w_tgammaf.c: Likewise.
12186 * math/w_tgammal.c: Likewise.
12187 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
12188 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
12189 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
12190 Minor optimizations. Pretty printing. Remove cruft.
12191 * sysdeps/i386/fpu/e_acosf.S: Likewise.
12192 * sysdeps/i386/fpu/e_acosh.S: Likewise.
12193 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
12194 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
12195 * sysdeps/i386/fpu/e_acosl.c: Likewise.
12196 * sysdeps/i386/fpu/e_asin.S: Likewise.
12197 * sysdeps/i386/fpu/e_asinf.S: Likewise.
12198 * sysdeps/i386/fpu/e_atan2.S: Likewise.
12199 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
12200 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
12201 * sysdeps/i386/fpu/e_atanh.S: Likewise.
12202 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
12203 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
12204 * sysdeps/i386/fpu/e_exp10.S: Likewise.
12205 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
12206 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
12207 * sysdeps/i386/fpu/e_exp2.S: Likewise.
12208 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
12209 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
12210 * sysdeps/i386/fpu/e_fmod.S: Likewise.
12211 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
12212 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
12213 * sysdeps/i386/fpu/e_hypot.S: Likewise.
12214 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
12215 * sysdeps/i386/fpu/e_log.S: Likewise.
12216 * sysdeps/i386/fpu/e_log10.S: Likewise.
12217 * sysdeps/i386/fpu/e_log10f.S: Likewise.
12218 * sysdeps/i386/fpu/e_log10l.S: Likewise.
12219 * sysdeps/i386/fpu/e_log2.S: Likewise.
12220 * sysdeps/i386/fpu/e_log2f.S: Likewise.
12221 * sysdeps/i386/fpu/e_log2l.S: Likewise.
12222 * sysdeps/i386/fpu/e_logf.S: Likewise.
12223 * sysdeps/i386/fpu/e_logl.S: Likewise.
12224 * sysdeps/i386/fpu/e_pow.S: Likewise.
12225 * sysdeps/i386/fpu/e_powf.S: Likewise.
12226 * sysdeps/i386/fpu/e_powl.S: Likewise.
12227 * sysdeps/i386/fpu/e_remainder.S: Likewise.
12228 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
12229 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
12230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
12231 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
12232 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
12233 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
12234 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
12235 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
12236 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12237 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12238 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12239 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12240 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12241 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12242 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12243 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12244 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12245 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12246 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12247 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
12248 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12249 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12250 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12251 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12252 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12253 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12254 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12255 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12256 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12257 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
12258 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
12259 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
12260 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
12261 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
12262 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
12263 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
12264 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
12265 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
12266 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
12267 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
12268 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
12270 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
12271 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
12272 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
12273 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
12274 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
12275 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
12276 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
12277 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
12286 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
12287 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
12288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
12289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
12290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
12291 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
12307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
12308 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
12309 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
12310 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
12311 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
12312 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12313 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
12314 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
12315 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
12316 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
12317 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
12318 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
12319 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
12320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
12321 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
12322 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
12323 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
12324 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
12326 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
12327 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
12328 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
12329 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
12330 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
12331 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
12332 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
12333 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
12334 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
12335 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
12336 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
12337 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
12338 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
12339 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
12340 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
12341 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
12342 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
12343 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
12344 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
12345 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
12346 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
12347 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
12348 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
12349 (__isnanf): Likewise.
12350 (__isinf_ns): Likewise.
12351 (__isinf_nsf): Likewise.
12352 (__finite): Likewise.
12353 (__finitef): Likewise.
12354 (__ieee754_sqrt): Define as macro.
12355 (__ieee754_sqrtf): Define as macro.
12356 (__ieee754_sqrtl): Define as macro.
12357 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
12359 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
12360 __FINITE_MATH_ONLY__ consistent.
12361 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
12363 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
12365 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
12368 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
12370 2011-10-09 Ulrich Drepper <drepper@gmail.com>
12372 * po/ja.po: Update from translation team.
12374 2011-10-08 Roland McGrath <roland@hack.frob.com>
12376 * locale/programs/locarchive.c (prepare_address_space): New function.
12377 (create_archive, enlarge_archive, open_archive): Use it.
12379 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
12380 inside [SHARED], where it is used.
12382 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
12384 * nss/getent.c (netgroup_keys): Remove unused variable.
12385 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
12387 2011-10-08 Ulrich Drepper <drepper@gmail.com>
12389 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
12390 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
12391 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
12392 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
12393 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
12394 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
12395 * math/Makefile (libm-calls): Add s_isinf_ns.
12396 * math/divtc3.c: Use __isinf_nsl instead of isinf.
12397 * math/multc3.c: Likewise.
12398 * math/s_casin.c: Likewise.
12399 * math/s_casinf.c: Likewise.
12400 * math/s_casinl.c: Likewise.
12401 * math/s_ccos.c: Likewise.
12402 * math/s_ccosf.c: Likewise.
12403 * math/s_ccosl.c: Likewise.
12404 * math/s_ctan.c: Likewise.
12405 * math/s_ctanf.c: Likewise.
12406 * math/s_ctanh.c: Likewise.
12407 * math/s_ctanhf.c: Likewise.
12408 * math/s_ctanhl.c: Likewise.
12409 * math/s_ctanl.c: Likewise.
12410 * math/w_fmod.c: Likewise.
12411 * math/w_fmodf.c: Likewise.
12412 * math/w_fmodl.c: Likewise.
12413 * math/w_remainder.c: Likewise.
12414 * math/w_remainderf.c: Likewise.
12415 * math/w_remainderl.c: Likewise.
12416 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
12417 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
12418 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
12419 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
12420 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
12421 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
12422 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
12423 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
12425 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
12427 * stdio-common/printf_fphex.c: Likewise.
12428 * stdio-common/printf_size.c: Likewise.
12430 * math/e_exp10.c: Include math_private.h using <...> not "...".
12431 * math/e_exp10f.c: Likewise.
12432 * math/e_exp10l.c: Likewise.
12433 * math/e_exp2l.c: Likewise.
12434 * math/e_j0l.c: Likewise.
12435 * math/e_j1l.c: Likewise.
12436 * math/e_jnl.c: Likewise.
12437 * math/e_lgammal_r.c: Likewise.
12438 * math/e_rem_pio2l.c: Likewise.
12439 * math/e_scalb.c: Likewise.
12440 * math/e_scalbf.c: Likewise.
12441 * math/e_scalbl.c: Likewise.
12442 * math/k_cosl.c: Likewise.
12443 * math/k_sinl.c: Likewise.
12444 * math/k_tanl.c: Likewise.
12445 * math/s_cacoshf.c: Likewise.
12446 * math/s_catan.c: Likewise.
12447 * math/s_catanf.c: Likewise.
12448 * math/s_catanh.c: Likewise.
12449 * math/s_catanhf.c: Likewise.
12450 * math/s_catanhl.c: Likewise.
12451 * math/s_catanl.c: Likewise.
12452 * math/s_ccosh.c: Likewise.
12453 * math/s_ccoshf.c: Likewise.
12454 * math/s_ccoshl.c: Likewise.
12455 * math/s_cexp.c: Likewise.
12456 * math/s_cexpf.c: Likewise.
12457 * math/s_cexpl.c: Likewise.
12458 * math/s_clog.c: Likewise.
12459 * math/s_clog10.c: Likewise.
12460 * math/s_clog10f.c: Likewise.
12461 * math/s_clog10l.c: Likewise.
12462 * math/s_clogf.c: Likewise.
12463 * math/s_clogl.c: Likewise.
12464 * math/s_csin.c: Likewise.
12465 * math/s_csinf.c: Likewise.
12466 * math/s_csinh.c: Likewise.
12467 * math/s_csinhf.c: Likewise.
12468 * math/s_csinhl.c: Likewise.
12469 * math/s_csinl.c: Likewise.
12470 * math/s_csqrt.c: Likewise.
12471 * math/s_csqrtf.c: Likewise.
12472 * math/s_csqrtl.c: Likewise.
12473 * math/s_ctan.c: Likewise.
12474 * math/s_ctanf.c: Likewise.
12475 * math/s_ctanh.c: Likewise.
12476 * math/s_ctanhf.c: Likewise.
12477 * math/s_ctanhl.c: Likewise.
12478 * math/s_ctanl.c: Likewise.
12479 * math/s_ldexp.c: Likewise.
12480 * math/s_ldexpf.c: Likewise.
12481 * math/s_ldexpl.c: Likewise.
12482 * math/s_significand.c: Likewise.
12483 * math/s_significandf.c: Likewise.
12484 * math/s_significandl.c: Likewise.
12485 * math/w_acos.c: Likewise.
12486 * math/w_acosf.c: Likewise.
12487 * math/w_acosh.c: Likewise.
12488 * math/w_acoshf.c: Likewise.
12489 * math/w_acoshl.c: Likewise.
12490 * math/w_acosl.c: Likewise.
12491 * math/w_asin.c: Likewise.
12492 * math/w_asinf.c: Likewise.
12493 * math/w_asinl.c: Likewise.
12494 * math/w_atan2.c: Likewise.
12495 * math/w_atan2f.c: Likewise.
12496 * math/w_atan2l.c: Likewise.
12497 * math/w_atanh.c: Likewise.
12498 * math/w_atanhf.c: Likewise.
12499 * math/w_atanhl.c: Likewise.
12500 * math/w_cosh.c: Likewise.
12501 * math/w_coshf.c: Likewise.
12502 * math/w_coshl.c: Likewise.
12503 * math/w_dremf.c: Likewise.
12504 * math/w_exp10.c: Likewise.
12505 * math/w_exp10f.c: Likewise.
12506 * math/w_exp10l.c: Likewise.
12507 * math/w_exp2.c: Likewise.
12508 * math/w_exp2f.c: Likewise.
12509 * math/w_fmod.c: Likewise.
12510 * math/w_fmodf.c: Likewise.
12511 * math/w_fmodl.c: Likewise.
12512 * math/w_hypot.c: Likewise.
12513 * math/w_hypotf.c: Likewise.
12514 * math/w_hypotl.c: Likewise.
12515 * math/w_j0.c: Likewise.
12516 * math/w_j0f.c: Likewise.
12517 * math/w_j0l.c: Likewise.
12518 * math/w_j1.c: Likewise.
12519 * math/w_j1f.c: Likewise.
12520 * math/w_j1l.c: Likewise.
12521 * math/w_jn.c: Likewise.
12522 * math/w_jnf.c: Likewise.
12523 * math/w_jnl.c: Likewise.
12524 * math/w_lgamma.c: Likewise.
12525 * math/w_lgamma_r.c: Likewise.
12526 * math/w_lgammaf.c: Likewise.
12527 * math/w_lgammaf_r.c: Likewise.
12528 * math/w_lgammal.c: Likewise.
12529 * math/w_lgammal_r.c: Likewise.
12530 * math/w_log.c: Likewise.
12531 * math/w_log10.c: Likewise.
12532 * math/w_log10f.c: Likewise.
12533 * math/w_log10l.c: Likewise.
12534 * math/w_log2.c: Likewise.
12535 * math/w_log2f.c: Likewise.
12536 * math/w_log2l.c: Likewise.
12537 * math/w_logf.c: Likewise.
12538 * math/w_logl.c: Likewise.
12539 * math/w_pow.c: Likewise.
12540 * math/w_powf.c: Likewise.
12541 * math/w_powl.c: Likewise.
12542 * math/w_remainder.c: Likewise.
12543 * math/w_remainderf.c: Likewise.
12544 * math/w_remainderl.c: Likewise.
12545 * math/w_scalb.c: Likewise.
12546 * math/w_scalbf.c: Likewise.
12547 * math/w_scalbl.c: Likewise.
12548 * math/w_sinh.c: Likewise.
12549 * math/w_sinhf.c: Likewise.
12550 * math/w_sinhl.c: Likewise.
12551 * math/w_sqrt.c: Likewise.
12552 * math/w_sqrtf.c: Likewise.
12553 * math/w_sqrtl.c: Likewise.
12554 * math/w_tgamma.c: Likewise.
12555 * math/w_tgammaf.c: Likewise.
12556 * math/w_tgammal.c: Likewise.
12558 * po/ja.po: Update from translation team.
12560 2011-09-29 Andreas Jaeger <aj@suse.de>
12563 * sunrpc/netname.c (netname2host): Fix logic.
12567 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
12569 * math/w_remainder.c (__remainder): Likewise.
12570 * math/w_remainderf.c (__remainderf): Likewise.
12571 * math/libm-test.inc (remainder_test): Add test cases.
12573 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12575 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
12578 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12580 * string/test-memcmp.c: Avoid unncessary #defines.
12581 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
12583 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12585 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
12586 Use new sse2 version for core i3 - i7 as it's faster
12587 than sse42 version.
12588 (bit_Prefer_PMINUB_for_stringop): New.
12589 * sysdeps/x86_64/rawmemchr.S: Update.
12590 Replace with faster SSE2 version.
12591 * sysdeps/x86_64/memrchr.S: New file.
12592 * sysdeps/x86_64/memchr.S: Update.
12593 Replace with faster SSE2 version.
12595 2011-09-12 Marek Polacek <mpolacek@redhat.com>
12597 * elf/dl-load.c (lose): Add cast to avoid warning.
12599 2011-10-07 Ulrich Drepper <drepper@gmail.com>
12601 * po/ca.po: Update from translation team.
12603 * inet/getnetgrent_r.c: Hook up nscd.
12604 * nscd/Makefile (routines): Add nscd_netgroup.
12605 (nscd-modules): Add netgroupcache.
12606 (CFLAGS-netgroupcache.c): Define.
12607 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
12608 (cache_search): Add const to second parameter.
12609 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
12611 (dbs): Add netgrdb entry.
12612 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
12613 (verify_persistent_db): Handle netgrdb.
12614 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
12615 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
12617 (netgroup_response_header): Define.
12618 (innetgroup_response_header): Define.
12619 (datahead): Add netgroup_response_header and innetgroup_response_header
12621 * nscd/nscd.conf: Add entries for netgroup cache.
12622 * nscd/nscd.h (dbtype): Add netgrdb.
12623 (_PATH_NSCD_NETGROUP_DB): Define.
12624 (netgroup_iov_disabled): Declare.
12625 (xmalloc, xcalloc, xrealloc): Move declarations here.
12626 (cache_search): Adjust prototype.
12627 Add netgroup-related prototypes.
12628 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
12629 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
12630 (__nscd_innetgr): Declare.
12631 * nscd/selinux.c (perms): Use access_vector_t as element type and
12632 add netgroup-related initializers.
12633 * nscd/netgroupcache.c: New file.
12634 * nscd/nscd_netgroup.c: New file.
12635 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
12636 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
12637 For four parameters use innetgr.
12638 * nss/nss_files/files-init.c: Add definition and callback for netgr.
12639 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
12640 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
12641 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
12643 * nscd/connections.c (register_traced_file): Don't register file
12644 for disabled databases.
12646 2011-10-06 Ulrich Drepper <drepper@gmail.com>
12648 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
12650 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
12651 from tree and freeing node.
12653 2011-09-25 Jiri Olsa <jolsa@redhat.com>
12655 * nss/nsswitch.c (__nss_database_lookup): Handle
12656 nss_parse_service_list out of memory case.
12658 2011-09-15 Jiri Olsa <jolsa@redhat.com>
12660 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
12661 out of memory case.
12663 2011-10-04 Andreas Schwab <schwab@redhat.com>
12665 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
12666 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
12668 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
12669 elf_machine_rela, elf_machine_lazy_rel.
12670 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
12671 (ELF_DYNAMIC_DO_REL): Likewise.
12672 (ELF_DYNAMIC_DO_RELA): Likewise.
12673 (ELF_DYNAMIC_RELOCATE): Likewise.
12674 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
12675 to ELF_DYNAMIC_DO_REL.
12676 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
12677 (dl_main): In trace mode always set __RTLD_NOIFUNC.
12678 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
12680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
12681 skip_ifunc, don't call ifunc function if non-zero.
12682 (elf_machine_rela): Likewise.
12683 (elf_machine_lazy_rel): Likewise.
12684 (elf_machine_lazy_rela): Likewise.
12685 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
12686 (elf_machine_lazy_rel): Likewise.
12687 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
12689 (elf_machine_lazy_rel): Likewise.
12690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12692 (elf_machine_lazy_rel): Likewise.
12693 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
12694 (elf_machine_lazy_rel): Likewise.
12695 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
12696 (elf_machine_lazy_rel): Likewise.
12697 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12698 (elf_machine_lazy_rel): Likewise.
12699 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
12700 (elf_machine_lazy_rel): Likewise.
12701 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
12702 (elf_machine_lazy_rel): Likewise.
12703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12704 (elf_machine_lazy_rel): Likewise.
12706 2011-09-28 Ulrich Drepper <drepper@gmail.com>
12708 * nss/nss_files/files-init.c (_nss_files_init): Use static
12709 initialization for all the *_traced_file variables.
12711 2011-09-28 Andreas Schwab <schwab@redhat.com>
12713 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
12715 2011-09-27 Roland McGrath <roland@hack.frob.com>
12718 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
12720 2011-09-27 Andreas Schwab <schwab@redhat.com>
12722 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12723 Reread the line before reparsing it.
12725 2011-09-26 Andreas Schwab <schwab@redhat.com>
12727 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
12729 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
12730 Maxim Kuvyrkov <maxim@codesourcery.com>
12731 Joseph Myers <joseph@codesourcery.com>
12733 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
12734 if needed for __stack_chk_guard.
12736 2011-09-19 Roland McGrath <roland@hack.frob.com>
12738 * sysdeps/posix/spawni.c (script_execute): Always define it.
12739 It will be optimized away if unused.
12740 (maybe_script_execute): New function.
12741 (__spawni): Call it.
12743 * Makerules: Don't include tls.make.
12744 (config-tls): Always set to thread.
12745 * tls.make.c: File removed.
12747 2011-09-19 Mike Frysinger <vapier@gentoo.org>
12749 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
12750 * config.make.in (CPPFLAGS-config): New substituted variable.
12752 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12754 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
12757 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
12758 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
12760 2011-09-15 Roland McGrath <roland@hack.frob.com>
12762 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
12763 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
12764 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
12765 (CALL_FAIL): Likewise.
12766 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
12767 (CALL_FAIL): Macro removed.
12768 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
12770 2011-09-15 Ulrich Drepper <drepper@gmail.com>
12772 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
12773 for __FINITE_MATH_ONLY__ == 1.
12775 2011-09-15 Andreas Schwab <schwab@redhat.com>
12777 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
12778 __ieee754_sqrt instead of sqrt.
12779 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
12780 __ieee754_sqrtf instead of sqrtf.
12781 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
12782 __floorf instead of floorf.
12783 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
12784 __floorf, __truncf instead of floorf, truncf.
12786 2011-09-14 Ulrich Drepper <drepper@gmail.com>
12788 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
12790 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
12791 __extern_always_inline.
12792 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
12795 2011-09-14 Andreas Schwab <schwab@redhat.com>
12797 * elf/rtld.c (dl_main): Also relocate in dependency order when
12798 doing symbol dependency testing.
12800 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
12802 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12803 Always define `refsym'.
12805 2011-09-13 Andreas Schwab <schwab@redhat.com>
12807 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
12808 (__FD_ELT): Renamed from __FDELT.
12809 * misc/bits/select2.h (__FD_ELT): Likewise.
12810 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
12811 __FD_MASK instead of __FDELT, __FDMASK.
12812 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12814 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
12817 * elf/Makefile (gen-ldd): Fix pattern.
12819 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
12820 (init_tls): Likewise.
12822 2011-09-12 Ulrich Drepper <drepper@gmail.com>
12824 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
12826 2011-09-12 Andreas Schwab <schwab@redhat.com>
12828 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
12829 `struct cmsghdr *' instead of `void *'.
12830 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
12833 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
12835 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
12837 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
12838 ldd_rewrite_script.
12840 2011-09-11 Ulrich Drepper <drepper@gmail.com>
12842 * configure.in: Remove --with-tls option.
12843 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
12844 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
12845 out in case it is missing.
12846 * sysdeps/ia64/elf/configure.in: Likewise.
12847 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
12848 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
12849 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
12850 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
12851 * sysdeps/sh/elf/configure.in: Likewise.
12852 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
12853 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
12854 * sysdeps/x86_64/elf/configure.in: Likewise.
12855 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
12856 * sysdeps/mach/hurd/tls.h: Likewise.
12859 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
12862 * configure.in: Fix use of AC_INIT.
12864 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
12866 2011-09-10 Ulrich Drepper <drepper@gmail.com>
12868 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
12870 * malloc/hooks.c: Likewise.
12873 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
12874 variables statically.
12875 (narenas): Initialize.
12876 (list_lock): Initialize.
12877 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
12878 initializtion of main_arena and list_lock. Small cleanups.
12879 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
12880 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
12881 Add initializers to main_arena and mp_.
12882 (malloc_state): Remove pagesize member. Change all users to use
12885 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
12886 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
12887 is always initialized.
12889 * malloc/malloc.c: Removed unused configurations and dead code.
12890 * malloc/arena.c: Likewise.
12891 * malloc/hooks.c: Likewise.
12892 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
12894 * include/tls.h: Removed. USE___THREAD must always be defined.
12895 * bits/libc-tsd.h: Don't handle !USE___THREAD.
12896 * elf/dl-libc.c: Likewise.
12897 * elf/dl-tsd.c: Likewise.
12898 * include/errno.h: Likewise.
12899 * include/netdb.h: Likewise.
12900 * include/resolv.h: Likewise.
12901 * inet/herrno-loc.c: Likewise.
12902 * inet/herrno.c: Likewise.
12903 * malloc/arena.c: Likewise.
12904 * malloc/hooks.c: Likewise.
12905 * malloc/malloc.c: Likewise.
12906 * resolv/res-state.c: Likewise.
12907 * resolv/res_libc.c: Likewise.
12908 * sysdeps/i386/dl-machine.h: Likewise.
12909 * sysdeps/ia64/dl-machine.h: Likewise.
12910 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12911 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12912 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12913 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12914 * sysdeps/sh/dl-machine.h: Likewise.
12915 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12916 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12917 * sysdeps/unix/i386/sysdep.S: Likewise.
12918 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
12919 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
12920 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
12921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12922 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
12923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12924 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
12926 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
12927 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12928 * sysdeps/unix/x86_64/sysdep.S: Likewise.
12929 * sysdeps/x86_64/dl-machine.h: Likewise.
12930 * tls.make.c: Likewise.
12932 * configure.in: Remove --with-__thread option. Make tests for
12933 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
12934 tls_model attribute fail if no support is available. Remove
12936 * Makeconfig: Adjust for dropped configure option. All features are
12938 * Makerules: Likewise.
12939 * Versions.def: Likewise.
12940 * argp/argp-fmtstream.c: Likewise.
12941 * argp/argp-fmtstream.h: Likewise.
12942 * argp/argp-help.c: Likewise.
12943 * assert/assert.c: Likewise.
12944 * config.h.in: Likewise.
12945 * config.make.in: Likewise.
12946 * configure: Likewise.
12947 * configure.in: Likewise.
12948 * csu/Versions: Likewise.
12949 * csu/init.c: Likewise.
12950 * elf/tst-audit2.c: Likewise.
12951 * elf/tst-tls10.c: Likewise.
12952 * elf/tst-tls10.h: Likewise.
12953 * elf/tst-tls11.c: Likewise.
12954 * elf/tst-tls12.c: Likewise.
12955 * elf/tst-tls14.c: Likewise.
12956 * elf/tst-tlsmod11.c: Likewise.
12957 * elf/tst-tlsmod12.c: Likewise.
12958 * elf/tst-tlsmod13.c: Likewise.
12959 * elf/tst-tlsmod13a.c: Likewise.
12960 * elf/tst-tlsmod14a.c: Likewise.
12961 * elf/tst-tlsmod15b.c: Likewise.
12962 * elf/tst-tlsmod16a.c: Likewise.
12963 * elf/tst-tlsmod16b.c: Likewise.
12964 * elf/tst-tlsmod7.c: Likewise.
12965 * elf/tst-tlsmod8.c: Likewise.
12966 * elf/tst-tlsmod9.c: Likewise.
12967 * gmon/gmon.c: Likewise.
12968 * grp/fgetgrent_r.c: Likewise.
12969 * grp/putgrent.c: Likewise.
12970 * hurd/fopenport.c: Likewise.
12971 * include/libc-symbols.h: Likewise.
12972 * include/tls.h: Likewise.
12973 * intl/gettextP.h: Likewise.
12974 * intl/loadinfo.h: Likewise.
12975 * locale/global-locale.c: Likewise.
12976 * locale/localeinfo.h: Likewise.
12977 * mach/devstream.c: Likewise.
12978 * malloc/arena.c: Likewise.
12979 * malloc/set-freeres.c: Likewise.
12980 * misc/err.c: Likewise.
12981 * misc/getttyent.c: Likewise.
12982 * misc/mntent_r.c: Likewise.
12983 * posix/getopt.c: Likewise.
12984 * posix/wordexp.c: Likewise.
12985 * pwd/fgetpwent_r.c: Likewise.
12986 * resolv/Versions: Likewise.
12987 * resolv/res_hconf.c: Likewise.
12988 * shadow/fgetspent_r.c: Likewise.
12989 * shadow/putspent.c: Likewise.
12990 * stdio-common/printf_fphex.c: Likewise.
12991 * stdio-common/tmpfile.c: Likewise.
12992 * stdlib/abort.c: Likewise.
12993 * stdlib/fmtmsg.c: Likewise.
12994 * sunrpc/auth_unix.c: Likewise.
12995 * sunrpc/clnt_perr.c: Likewise.
12996 * sunrpc/clnt_tcp.c: Likewise.
12997 * sunrpc/clnt_udp.c: Likewise.
12998 * sunrpc/clnt_unix.c: Likewise.
12999 * sunrpc/openchild.c: Likewise.
13000 * sunrpc/svc_simple.c: Likewise.
13001 * sunrpc/svc_tcp.c: Likewise.
13002 * sunrpc/svc_udp.c: Likewise.
13003 * sunrpc/svc_unix.c: Likewise.
13004 * sunrpc/xdr.c: Likewise.
13005 * sunrpc/xdr_array.c: Likewise.
13006 * sunrpc/xdr_rec.c: Likewise.
13007 * sunrpc/xdr_ref.c: Likewise.
13008 * sunrpc/xdr_stdio.c: Likewise.
13010 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13012 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
13014 2011-07-03 Andreas Jaeger <aj@suse.de>
13016 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
13017 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
13018 regenerate with gen-libm-tests.pl.
13020 2010-05-12 Petr Baudis <pasky@suse.cz>
13023 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
13024 around j0() zero points by switching to j1().
13025 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
13026 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
13027 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
13028 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
13030 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13032 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
13034 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
13036 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
13037 Patch in part by Pavel Roskin <proski@gnu.org>.
13040 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
13042 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
13043 Free memory block if necessary.
13046 * libio/genops.c (INTDEF): For string streams the _lock pointer can
13047 be NULL. Don't lock in this case.
13049 2011-09-09 Roland McGrath <roland@hack.frob.com>
13051 * elf/elf.h (ELFOSABI_GNU): New macro.
13052 (ELFOSABI_LINUX): Define to that.
13054 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
13056 * string/strncat.c (strncat): Undef the symbol in case it has been
13057 defined in bits/string.h.
13059 2011-09-09 Ulrich Drepper <drepper@gmail.com>
13061 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
13063 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
13066 2011-08-17 Andreas Jaeger <aj@suse.de>
13068 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
13070 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
13071 Ian Lance Taylor <iant@google.com>
13073 * math/libm-test.inc (lround_test): New testcase.
13074 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
13076 2011-09-08 Ulrich Drepper <drepper@gmail.com>
13078 * Makefile: Remove support for automatic cvs check-ins.
13079 * Makerules: Likewise.
13080 * config.make.in: Likewise.
13081 * configure.in: Likewise.
13082 * intl/Makefile: Likewise.
13083 * locale/Makefile: Likewise.
13084 * po/Makefile: Likewise.
13085 * posix/Makefile: Likewise.
13086 * sysdeps/gnu/Makefile: Likewise.
13087 * sysdeps/mach/hurd/Makefile: Likewise.
13088 * sysdeps/sparc/sparc32/Makefile: Likewise.
13091 * posix/Makefile (bug-regex32-ENV): Define.
13092 Patch by John Stanley <jpsinthemix@verizon.net>.
13094 * misc/Makefile (headers): Add bits/select2.h.
13095 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
13096 * misc/bits/select2.h: New file.
13097 * include/bits/select2.h: New file.
13098 * debug/Makefile (routines): Add fdelt_chk.
13099 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
13100 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
13102 * debug/fdelt_chk.c: New file.
13104 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
13105 * wcsmbs/test-wmemcmp.c: Likewise.
13106 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
13107 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
13109 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13111 * string/Makefile (strop-tests): Add memcmp.
13112 * string/test-wmemcmp.c: New file.
13113 * string/test-memcmp.c: Add wmemcmp support.
13115 2011-09-08 Roland McGrath <roland@hack.frob.com>
13118 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
13121 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
13122 garbage value in a __mach_port_mod_refs call in the cases of the
13123 task-self and thread-self ports.
13125 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
13127 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
13129 2011-09-08 Andreas Schwab <schwab@redhat.com>
13131 * elf/dl-load.c (lose): Check for non-null L.
13133 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13135 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
13137 * elf/dl-libc.c (dlerror_run): Pass back error code from
13141 * elf/dl-load.c (lose): Free l_origin if it is valid.
13143 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
13145 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13146 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13148 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13149 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13150 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
13152 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13154 * sysdeps/powerpc/fpu/e_hypot.c: New file.
13155 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
13156 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
13157 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
13158 * sysdeps/powerpc/fpu/k_cosf.c: New file.
13159 * sysdeps/powerpc/fpu/k_sinf.c: New file.
13160 * sysdeps/powerpc/fpu/s_cosf.c: New file.
13161 * sysdeps/powerpc/fpu/s_sinf.c: New file.
13162 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
13163 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
13165 2011-08-15 Alan Modra <amodra@gmail.com>
13168 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
13169 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
13170 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
13171 ppc_mcount to static-only-routines.
13172 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
13174 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
13175 __mcount_internal with usual JUMPTARGET. Remove useless nop.
13177 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
13179 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
13180 for finite and infinity parameters.
13182 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
13184 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
13185 and add nop instructions for throughput optimization.
13186 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13188 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
13190 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
13191 aligned copy for power7 with vector-scalar instructions.
13192 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13194 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
13196 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
13199 2011-09-07 Andreas Schwab <schwab@redhat.com>
13202 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
13205 2011-09-07 Ulrich Drepper <drepper@gmail.com>
13207 * sysdeps/unix/sysv/linux/x86_64/init-first.c
13208 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
13209 syscall wrapper around clock_gettime in __vdso_clock_gettime.
13210 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
13213 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13215 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
13216 Forgot to demangle the pointer.
13218 * sysdeps/i386/sysdep.h: Define atom_text_section.
13219 * sysdeps/x86_64/sysdep.h: Likewise.
13220 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
13221 section with atom_text_section.
13222 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13223 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13224 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
13225 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13226 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
13228 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
13229 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
13230 already be defined. Change to take two parameters and don't assign
13231 result to variable. Adjust all users.
13232 Define INTERNAL_GETTIME if not already defined.
13233 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
13235 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
13236 HAVE_CLOCK_GETTIME_VSYSCALL.
13237 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
13239 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
13240 gettimeofday vsyscall, just use time.
13242 2011-09-06 Andreas Schwab <schwab@redhat.com>
13244 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
13247 2011-09-06 Ulrich Drepper <drepper@gmail.com>
13249 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
13251 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
13253 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
13254 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
13255 syscall if possible.
13257 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13259 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
13260 e_ident. Don't pass to find_mapsXX.
13261 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
13263 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13265 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13266 strchr-sse2-no-bsf strrchr-sse2-no-bsf
13267 * sysdeps/x86_64/multiarch/strchr.S: Update.
13268 Check bit_slow_BSF bit.
13269 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13270 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
13271 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
13273 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13276 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
13278 (tryshell): Define.
13279 (__spawni): Change last parameter to be flag. Test
13280 SPAWN_XFLAGS_USE_PATH flag to use path or not.
13281 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
13282 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
13283 * posix/spawni.c: Likewise.
13284 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
13285 * posix/spawnp.c: Likewise. Change normal version to use
13286 SPAWN_XFLAGS_USE_PATH.
13287 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
13288 SPAWN_XFLAGS_TRY_SHELL.
13291 * posix/glob.h: Remove gcc 1.x support.
13294 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
13296 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13298 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13299 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
13301 * sysdeps/i386/i686/multiarch/strchr.S: New file.
13302 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
13303 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
13304 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
13305 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
13306 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
13308 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13310 * sysdeps/x86_64/wcscmp.S: New file.
13312 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
13313 wcscmp-c wcscmp-sse2
13314 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
13315 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
13316 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
13317 * wcsmbs/wcscmp.c: Allow renaming.
13319 2011-09-05 David S. Miller <davem@davemloft.net>
13321 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
13322 stack slot, rather than the struct return pointer slot.
13323 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
13324 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
13325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
13326 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
13328 2011-09-05 Ulrich Drepper <drepper@gmail.com>
13330 * po/ja.po: Update from translation team.
13333 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
13334 kernel in 64-bit binaries.
13336 2011-09-01 David S. Miller <davem@davemloft.net>
13338 * elf/elf.h (HWCAP_SPARC_*): Move to..
13339 * sysdeps/sparc/sysdep.h: this new file and add new values.
13340 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
13341 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
13342 _DL_HWCAP_COUNT to 24.
13343 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13345 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
13346 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
13347 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
13348 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
13349 instead of magic constants.
13350 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
13352 2011-08-31 David S. Miller <davem@davemloft.net>
13354 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
13355 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
13356 Reimplement to do errno handling inline.
13357 (SYSCALL_ERROR_HANDLER): New macro.
13358 (__SYSCALL_STRING): Do not do errno handling in asm.
13359 (__CLONE_SYSCALL_STRING): Delete.
13360 (__INTERNAL_SYSCALL_STRING): Delete.
13361 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
13362 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
13363 (PSEUDO): Reimplement to do errno handling inline.
13364 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
13365 (SYSCALL_ERROR_HANDLER): New macro.
13366 (__SYSCALL_STRING): Do not do errno handling in asm.
13367 (__CLONE_SYSCALL_STRING): Delete.
13368 (__INTERNAL_SYSCALL_STRING): Delete.
13369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
13370 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
13372 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
13373 (inline_syscall*): Add 'err' argument.
13374 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
13375 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
13376 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
13377 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
13379 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
13380 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
13382 2011-08-30 Andreas Schwab <schwab@redhat.com>
13384 * elf/rtld.c (dl_main): Relocate objects in dependency order.
13386 2011-08-29 Jiri Olsa <jolsa@redhat.com>
13388 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
13391 2011-08-24 David S. Miller <davem@davemloft.net>
13393 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
13395 2011-08-24 Andreas Schwab <schwab@redhat.com>
13397 * elf/Makefile: Add rules to build and run unload8 test.
13398 * elf/unload8.c: New file.
13399 * elf/unload8mod1.c: New file.
13400 * elf/unload8mod1x.c: New file.
13401 * elf/unload8mod2.c: New file.
13402 * elf/unload8mod3.c: New file.
13404 * elf/dl-close.c (_dl_close_worker): Reset private search list if
13407 2011-08-23 David S. Miller <davem@davemloft.net>
13409 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
13410 subtract stack bias.
13411 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
13412 %sp not %fp in calculations.
13413 (_JMPBUF_UNWINDS_ADJ): Likewise.
13415 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
13416 (aio_suspend): Call it to force an exception region around the
13417 AIO_MISC_WAIT() invocation.
13419 2011-08-23 Andreas Schwab <schwab@redhat.com>
13421 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
13424 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
13426 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
13428 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
13429 and <dl-machine.h>.
13430 (Elf64_FuncDesc): Remove.
13432 2011-08-22 David S. Miller <davem@davemloft.net>
13434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
13435 sigaltstack check, add missing cfi directives.
13436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
13437 missing cfi directives, and sigaltstack handling.
13439 2011-08-16 Andreas Schwab <schwab@redhat.com>
13442 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
13443 object is seen twice.
13444 * elf/dl-fini.c (_dl_sort_fini): Likewise.
13446 * elf/Makefile (distribute): Add tst-initorder2.c.
13447 (tests): Add tst-initorder2.
13448 (modules-names): Add tst-initorder2a tst-initorder2b
13449 tst-initorder2c tst-initorder2d. Add rules to build them.
13450 ($(objpfx)tst-initorder2.out): New rule.
13451 * elf/tst-initorder2.c: New file.
13452 * elf/tst-initorder2.exp: New file.
13454 2011-08-22 Andreas Schwab <schwab@redhat.com>
13456 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
13458 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
13459 dependencies back to end of function.
13461 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
13462 $(elfobjdir)/ld.so.
13464 2011-08-21 Ulrich Drepper <drepper@gmail.com>
13466 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
13467 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
13468 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
13469 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
13470 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
13471 of __vdso_gettimeofday.
13472 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
13473 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
13475 (_libc_vdso_platform_setup): Remove initialization of
13476 __vdso_gettimeofday and __vdso_time.
13478 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13480 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
13481 and fgetc_unlocked.
13482 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
13485 * elf/dl-open.c (add_to_global): Report additions to the global scope
13486 for LD_DEBUG=scopes.
13487 (dl_open_worker): Also print scope of newly loaded dependencies.
13488 (_dl_show_scope): Indicate if there is no scope.
13491 * stdio-common/Makefile (tests): Add bug24.
13492 * stdio-common/bug24.c: New file.
13494 2011-08-19 Andreas Jaeger <aj@suse.de>
13497 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
13498 non-existant file when using close-on-exec mode.
13500 2011-08-20 Ulrich Drepper <drepper@gmail.com>
13502 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
13503 the very first instruction.
13505 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
13506 the CFI state in the end.
13507 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
13508 inclusion of dl-trampoline.h.
13509 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
13511 2011-08-19 Andreas Schwab <schwab@redhat.com>
13513 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
13514 expectations for long double.
13516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
13517 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
13519 2011-08-14 David S. Miller <davem@davemloft.net>
13521 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
13522 artificual limit depends upon the system page size.
13524 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13526 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
13527 * resolv/Makefile: Define CFLAGS-libresolv.
13529 2011-08-17 Andreas Schwab <schwab@redhat.com>
13531 * nss/makedb.c (compute_tables): Make variables used in nested
13534 2011-08-17 Ulrich Drepper <drepper@gmail.com>
13536 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
13537 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
13538 if buffer was too small.
13540 * elf/pldd.c (main): Attach to all threads in the process.
13541 Rewrite /proc handling to use *at functions.
13543 2011-08-16 Ulrich Drepper <drepper@gmail.com>
13545 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
13546 specifies first scope to show.
13547 (dl_open_worker): Update callers. Move printing scope of new
13548 object to before the relocation.
13549 * elf/rtld.c (dl_main): Update _dl_show_scope call.
13550 * sysdeps/generic/ldsodefs.h: Update declaration.
13552 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
13553 string for the scope number.
13555 2011-08-14 Ulrich Drepper <drepper@gmail.com>
13557 * nscd/servicescache.c (cache_addserv): Make sure written is always
13560 2011-08-14 Roland McGrath <roland@hack.frob.com>
13562 * sysdeps/i386/i486/bits/atomic.h
13563 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
13564 statement expression, so as to suppress "set but not used" warning.
13565 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
13567 * string/strncat.c (STRNCAT): Use prototype definition.
13569 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
13570 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
13572 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
13573 (localedef-modules): Add localedef.
13574 (locale-modules): Add locale.
13576 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
13577 * elf/rtld.c (dl_main): Invert order of assignment in last change,
13578 to avoid a warning.
13580 2011-08-14 David S. Miller <davem@davemloft.net>
13582 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
13583 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
13585 2011-08-13 Ulrich Drepper <drepper@gmail.com>
13587 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
13588 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
13589 * elf/rtld.c (dl_main): Set l_name of vDSO.
13590 Call _dl_show_scope when DL_DEBUG_SCOPES.
13591 (process_dl_debug): Recognize scopes flag and also set it for all.
13592 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
13593 Declare _dl_show_scope.
13595 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
13596 (do_dlopen): Pass caller_dlopen to dl_open.
13597 (__libc_dlopen_mode): Initialize caller_dlopen.
13599 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
13600 of libc. Make tolower call locale-independent. Optimize a bit by
13601 using isdigit instead of isalnum.
13602 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
13604 2011-08-12 Ulrich Drepper <drepper@gmail.com>
13606 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
13607 was a dependency or dynamically loaded.
13609 2011-08-11 Ulrich Drepper <drepper@gmail.com>
13611 * intl/l10nflist.c: Allow architecture-specific pop function.
13612 * sysdeps/x86_64/l10nflist.c: New file.
13614 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
13617 2011-08-10 Andreas Schwab <schwab@redhat.com>
13619 * include/dirent.h: Add libc_hidden_proto for scandirat and
13620 scandirat64. Don't declare __scandirat64.
13621 * dirent/scandirat.c: Add libc_hidden_def.
13622 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
13623 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
13625 2011-08-10 David S. Miller <davem@davemloft.net>
13627 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
13629 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13631 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13633 2011-08-09 Ulrich Drepper <drepper@gmail.com>
13635 * Versions.def [libc]: Add GLIBC_2.15.
13636 * dirent/Makefile (routines): Add scandirat and scandirat64.
13637 * dirent/Versions [libc]: Export scandirat and scandirat64 for
13639 * dirent/dirent.h: Declare scandirat and scandirat64.
13640 * dirent/scandirat.c: New file.
13641 * dirent/scandirat64.c: New file.
13642 * sysdeps/wordsize-64/scandirat.c: New file.
13643 * sysdeps/wordsize-64/scandirat64.c: New file.
13644 * dirent/opendir.c: Define opendirat.
13645 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
13647 * dirent/scandir64.c: Adjust for scandir.c change.
13648 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
13649 __scandirat64, and __scandir_cancel_handler.
13650 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
13651 additional parameter and use openat instead of open (outside of ld.so).
13652 Add new __opendir as wrapper around __opendirat.
13653 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
13654 here without requiring old scandirat implementation.
13656 2011-08-08 Ulrich Drepper <drepper@gmail.com>
13658 * dirent/scandir.c (cancel_handler): Renamed to
13659 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
13660 defined. Adjust users.
13661 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
13662 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
13664 2011-08-04 Ulrich Drepper <drepper@gmail.com>
13666 * string/test-string.h (IMPL): Use __STRING to expand name and then
13669 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
13672 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13674 * string/Makefile: Update.
13675 (strop-tests): Append strncat.
13676 * string/test-wcscmp.c: New file.
13677 New comprehensive test for wcscmp.
13678 * string/test-strcmp.c: Update.
13679 (WIDE): New define.
13681 2011-07-22 Andreas Schwab <schwab@redhat.com>
13683 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
13686 2011-07-26 Andreas Schwab <schwab@redhat.com>
13688 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
13689 encoding to ACE if AI_IDN.
13691 2011-08-01 Jakub Jelinek <jakub@redhat.com>
13693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
13694 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
13696 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13698 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
13699 Fix overflow bug in strncat.
13700 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13702 * string/test-strncat.c: Update.
13703 Add new tests for checking overflow bugs.
13705 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13707 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
13708 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
13709 * sysdeps/i386/i686/multiarch/strcat.S: New file.
13710 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
13711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
13712 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
13713 * sysdeps/i386/i686/multiarch/strncat.S: New file.
13714 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
13715 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
13717 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
13718 (USE_AS_STRCAT): Define.
13719 Add strcat and strncat support.
13720 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13722 2011-07-25 Andreas Schwab <schwab@redhat.com>
13724 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
13725 __n bigger than INT_MAX+1.
13726 (__strncmp_g): Likewise.
13728 2011-07-23 Ulrich Drepper <drepper@gmail.com>
13730 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
13731 * libio/stido.h: Likewise.
13733 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
13735 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
13738 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
13739 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
13740 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
13741 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
13742 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
13745 * scripts/test-installation.pl: Don't expect libnss_test1 to be
13748 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
13750 (_dl_x86_64_save_sse): Likewise.
13752 2011-07-22 Ulrich Drepper <drepper@gmail.com>
13754 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
13756 (_dl_x86_64_save_sse): Likewise.
13758 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
13760 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
13762 2011-07-21 Andreas Schwab <schwab@redhat.com>
13764 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
13766 (_dl_x86_64_save_sse): Use correct AVX check.
13768 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13770 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
13771 bug in strncpy/strncat.
13772 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
13774 2011-07-21 Ulrich Drepper <drepper@gmail.com>
13776 * string/tester.c (test_strcat): Add tests for different alignments
13777 of source and destination.
13778 (test_strncat): Likewise.
13780 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13783 * posix/glob.c (glob): Check passed in values before using them in
13784 expressions to avoid some overflows.
13785 (glob_in_dir): Likewise.
13788 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
13789 check for AVX enablement so that we don't crash with old kernels and
13791 * elf/tst-audit4.c: Add same checks here.
13792 * elf/tst-audit6.c: Likewise.
13794 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
13796 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
13798 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
13800 2011-07-20 Ulrich Drepper <drepper@gmail.com>
13802 * po/cs.po: Update from translation team.
13803 * po/bg.po: Likewise.
13805 2011-07-12 Marek Polacek <mpolacek@redhat.com>
13807 * misc/sys/cdefs.h: Add support for const attribute.
13808 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
13809 to gnu_dev_{major,minor,makedev} functions.
13811 2011-07-20 Marek Polacek <mpolacek@redhat.com>
13813 * intl/dcigettext.c (get_output_charset): Add missing bracket.
13815 2011-07-20 Andreas Schwab <schwab@redhat.com>
13817 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
13820 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13822 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
13823 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
13824 register in order to avoid conflicts with the soft frame pointer
13825 being held in r11 when necessary.
13826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
13827 (INTERNAL_VSYSCALL_NCS): Likewise.
13829 2011-07-14 Marek Polacek <mpolacek@redhat.com>
13831 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
13832 * elf/dl-fini.c (_dl_fini): Adjust caller.
13833 * elf/dl-close.c (_dl_close_worker): Likewise.
13834 * sysdeps/generic/ldsodefs.h: Adjust declaration.
13836 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13838 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
13839 "aux_cache->nlibs < 0".
13841 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
13842 in the reload-count case.
13844 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
13846 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13847 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
13848 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
13849 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
13850 * sysdeps/x86_64/multiarch/strcat.S: New file.
13851 * sysdeps/x86_64/multiarch/strncat.S: New file.
13852 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
13853 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
13854 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
13855 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
13856 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
13857 (USE_AS_STRCAT): Define.
13858 Add strcat and strncat support.
13859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
13860 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
13861 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
13862 * string/strncat.c: Update.
13863 (USE_AS_STRNCAT): Define.
13864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13865 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
13867 * sysdeps/x86_64/multiarch/init-arch.h
13868 (bit_Prefer_PMINUB_for_stringop): New.
13869 (index_Prefer_PMINUB_for_stringop): Likewise.
13870 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
13871 bit_Prefer_PMINUB_for_stringop.
13873 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13875 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
13877 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
13878 of casting of buffer.
13879 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
13880 buffer32 and buffer64.
13881 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
13882 writes instead of casting of buffer.
13883 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
13885 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
13888 2011-07-19 Andreas Schwab <schwab@redhat.com>
13890 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
13892 2011-07-19 Ulrich Drepper <drepper@gmail.com>
13894 * nscd/nscd.c (termination_handler): Don't do anything for a database
13895 if it has not yet been initialized.
13897 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13899 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13901 2011-07-15 Marek Polacek <mpolacek@redhat.com>
13903 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
13905 2011-07-18 Ulrich Drepper <drepper@gmail.com>
13907 * po/nl.po: Update from translation team.
13908 * po/sv.po: Likewise.
13910 2011-07-16 Roland McGrath <roland@hack.frob.com>
13912 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
13913 now disallowed by GCC.
13915 * configure.in (use-default-link): Default to yes if a test -shared
13916 link meets our qualifications.
13917 * configure: Regenerated.
13919 * config.make.in (output-format): New variable.
13920 * configure.in: Check for ld --print-output-format support.
13921 * configure: Regenerated.
13922 * Makerules ($(common-objpfx)format.lds)
13923 [$(output-format) != unknown]: Just use $(output-format),
13924 instead of the linker-script munging.
13926 2011-07-14 Roland McGrath <roland@hack.frob.com>
13928 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
13929 of $(common-objpfx)shlib.lds.
13930 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
13932 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
13933 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
13935 * configure.in (-z relro check): Adjust test code to add a large
13936 writable data section after it.
13937 * configure: Regenerated.
13939 2011-07-11 Roland McGrath <roland@hack.frob.com>
13941 * configure.in (-z relro check): Fix test code to make the variable
13943 * configure: Regenerated.
13945 2011-07-11 Ulrich Drepper <drepper@gmail.com>
13947 * nscd/nscd.h (struct traced_file): Define.
13948 (struct database_dyn): Remove inotify_descr, reset_res, and filename
13949 elements. Add traced_files.
13950 (inotify_fd): Declare.
13951 (register_traced_file): Declare.
13952 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
13953 (inotify_fd): Export.
13954 (resolv_conf_descr): Remove.
13955 (nscd_init): Move inotify descriptor creation to main.
13956 Don't register files for notification here.
13957 (register_traced_file): New function.
13958 (invalidate_cache): Don't use reset_res to determine whether to call
13959 res_init, go through the list of registered files.
13960 (main_loop_poll): The inotify descriptors are now stored in the
13961 structures for the traced files.
13962 (main_loop_epoll): Likewise
13963 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
13964 to __nss_disable_nscd.
13965 * nscd/cache.c (prune_cache): There is no single inotify descriptor
13966 for a database anymore. Check the records for all the registered
13968 * nss/Makefile (libnss_files-routines): Add files-init.
13969 (libnss_db-routines): Add db-init.
13970 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
13971 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
13972 * nss/nss_db/db-init.c: New file.
13973 * nss/nss_files/files-init.c: New file.
13974 * nss/nsswitch.c (nss_load_library): New function. Broken out of
13975 __nss_lookup_function.
13976 (__nss_lookup_function): Call nss_load_library.
13977 (nss_load_all_libraries): New function.
13978 (__nss_disable_nscd): Take parameter with callback function for files
13979 to register. Set is_nscd. Load all the DSOs for the NSS modules
13980 used for the cached services.
13981 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
13982 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
13983 options for features to all the files in nscd.
13985 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
13987 2011-07-10 Roland McGrath <roland@hack.frob.com>
13989 * csu/elf-init.c (__libc_csu_init): Comment typo.
13991 2011-07-09 Ulrich Drepper <drepper@gmail.com>
13993 * po/pl.po: Update from translation team.
13994 * po/ja.po: Likewise.
13995 * po/ru.po: Likewise.
13996 * po/ko.po: Likewise.
13997 * po/fr.po: Likewise.
13999 2011-07-09 Roland McGrath <roland@hack.frob.com>
14001 * configure.in (.ctors/.dtors header and trailer check):
14002 Use an empirical test on a built program.
14003 * configure: Regenerated.
14005 * configure.in (-z relro check): Use an empirical test on a built DSO.
14006 Detect, but do not require, on ia64.
14007 * configure: Regenerated.
14009 * configure.in (READELF): Find it with AC_CHECK_TOOL.
14010 Update tests that use readelf to use $READELF instead.
14011 * configure: Regenerated.
14013 2011-07-08 Ulrich Drepper <drepper@gmail.com>
14015 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
14016 if the result is not used.
14018 2011-07-05 Andreas Jaeger <aj@suse.de>
14021 * stdlib/tst-strtod.c: Add testcase.
14023 2011-07-07 Ulrich Drepper <drepper@gmail.com>
14025 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
14026 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
14027 The latter has a higher limit. Take additional parameter to pass to
14029 (__pathconf): Pass file to __statfs_link_max.
14030 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
14032 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
14036 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
14037 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
14039 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
14040 (__statfs_filesize_max): Likewise.
14041 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
14043 2011-07-05 Andreas Jaeger <aj@suse.de>
14045 * resolv/res_comp.c (dn_skipname): Remove unused variable.
14047 2011-07-06 Marek Polacek <mpolacek@redhat.com>
14049 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
14051 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
14054 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
14056 * Makefile (strop-tests): Add strncat.
14057 * string/test-strncat.c: New file.
14059 2011-06-30 Marek Polacek <mpolacek@redhat.com>
14061 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
14063 2011-06-21 Andreas Jaeger <aj@suse.de>
14065 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
14066 Copy rule from iconvdata/Makefile.
14068 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14071 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
14072 but no long options are defined, just return 'W'.
14074 2011-06-22 Marek Polacek <mpolacek@redhat.com>
14077 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
14079 2011-07-06 Ulrich Drepper <drepper@gmail.com>
14081 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
14083 (innetgr): Likewise.
14085 2011-07-05 Roland McGrath <roland@hack.frob.com>
14087 * config.make.in (install_root): Default to $(DESTDIR).
14089 2011-07-05 Ulrich Drepper <drepper@gmail.com>
14091 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
14093 2011-07-02 Roland McGrath <roland@hack.frob.com>
14095 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
14097 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
14098 containing directory rather than embedding absolute directory names.
14100 * scripts/check-local-headers.sh: Rewritten using awk.
14101 Match by word, not by line. Print error messages for matches.
14102 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
14104 * Makerules [shlib-lds-flags empty]:
14105 ($(common-objpfx)libc_pic.opts): New target.
14106 ($(common-objpfx)libc_pic.os.clean): New target.
14107 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
14109 * config.make.in (OBJCOPY): New variable.
14110 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
14111 * configure: Regenerated.
14113 * config.make.in (use-default-link): New variable.
14114 * configure.in (use_default_link): Grok --with-default-link to set it.
14115 * configure: Regenerated.
14116 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
14117 (shlib-lds, shlib-lds-flags): Define to empty.
14119 * Makerules (shlib-lds): New variable.
14120 (shlib-lds-flags): New variable.
14121 (build-shlib, build-moduile, build-module-asneeded): Use it.
14122 ($(common-objpfx)libc.so): Use $(shlib-lds).
14123 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
14124 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
14126 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
14127 DT_FLAGS/DT_FLAGS_1 with zero flags.
14129 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
14130 linker script munging.
14132 2011-07-02 Ulrich Drepper <drepper@gmail.com>
14134 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
14136 * crypt/sha512.c (sha512_process_block): Perform total addition using
14137 128-bit if possible.
14138 (__sha512_finish_ctx): Likewise.
14139 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
14141 * crypt/sha256.c (SWAP64): Define.
14142 (sha256_process_block): Perform total addition using 64-bit if
14144 (__sha256_finish_ctx): Likewise.
14146 2011-07-01 Ulrich Drepper <drepper@gmail.com>
14148 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
14149 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14150 * nscd/hstcache.c (cache_addhst): Likewise.
14151 * nscd/grpcache.c (cache_addgr): Likewise.
14152 * nscd/aicache.c (addhstaiX): Likewise
14153 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
14155 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
14157 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
14158 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14159 * nscd/hstcache.c (cache_addhst): Likewise.
14160 * nscd/grpcache.c (cache_addgr): Likewise.
14161 * nscd/aicache.c (addhstaiX): Likewise
14163 2011-07-01 Andreas Schwab <schwab@redhat.com>
14165 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
14166 domain only when needed.
14168 2011-06-30 Andreas Schwab <schwab@redhat.com>
14170 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
14171 is always restored.
14173 2011-06-29 Ulrich Drepper <drepper@gmail.com>
14175 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
14176 are re-adding the entry.
14177 * nscd/servicescache.c (cache_addserv): Likewise.
14179 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
14181 * sysdeps/generic/dl-irel.h: fix protection against multiple
14183 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
14185 2011-06-28 Ulrich Drepper <drepper@gmail.com>
14188 * malloc/memusage.sh: Fix quoting in message.
14189 * debug/xtrace.sh: Likewise.
14191 * configure.in: Remove support for --experimental-malloc option, make
14193 * config.make.in: Likewise.
14194 * malloc/Makefile: Likewise.
14196 2011-06-27 Andreas Schwab <schwab@redhat.com>
14198 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
14199 two-byte characters.
14201 2011-06-27 Roland McGrath <roland@hack.frob.com>
14203 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
14204 AC_CACHE_CHECK invocation.
14205 * configure: Regenerated.
14207 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
14209 2011-06-27 Ulrich Drepper <drepper@gmail.com>
14212 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
14213 bit from old_res_options.
14215 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
14217 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
14218 value type for setfct.
14220 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
14222 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14223 __gettimeofday instead of gettimeofday.
14225 2011-06-26 Ulrich Drepper <drepper@gmail.com>
14227 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
14229 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
14231 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
14233 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
14236 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
14239 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14240 strcpy-sse2-unaligned strncpy-sse2-unaligned
14241 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
14242 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
14243 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
14244 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
14245 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
14246 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
14247 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
14248 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
14249 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
14250 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
14251 (STRCPY): Support SSE2 and SSSE3 versions.
14253 2011-06-24 Ulrich Drepper <drepper@gmail.com>
14256 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
14257 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
14258 kernels which artificially limit size of requests.
14260 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
14262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
14263 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
14264 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
14265 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
14266 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
14267 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
14268 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
14269 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
14270 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
14271 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
14272 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
14273 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
14274 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
14275 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
14276 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
14277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14278 Enable unaligned load optimization for Intel Core i3, i5 and i7
14280 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
14282 (index_Fast_Unaligned_Load): Define.
14283 (HAS_FAST_UNALIGNED_LOAD): Define.
14285 2011-06-23 Marek Polacek <mpolacek@redhat.com>
14287 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
14289 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14292 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
14293 until it is clear that the information is realy needed.
14294 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
14296 2011-06-22 Andreas Schwab <schwab@redhat.com>
14298 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
14300 2011-06-22 Ulrich Drepper <drepper@gmail.com>
14302 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
14303 /sys/devices/system/cpu/online if it is usable.
14305 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
14306 reading the information from the /proc filesystem to once a second.
14308 2011-06-21 Andreas Jaeger <aj@suse.de>
14310 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
14311 NULL after inclusion of kernel headers.
14313 2011-06-21 Ulrich Drepper <drepper@gmail.com>
14315 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
14316 calls to internal_setent.
14319 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
14320 addresses using gethostbyname4_r ignore IPv4 addresses.
14322 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
14323 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
14325 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
14327 2011-06-20 David S. Miller <davem@davemloft.net>
14329 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
14331 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
14333 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
14334 (elf_irel): Use it.
14335 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
14336 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
14337 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
14338 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
14339 * sysdeps/x86_64/dl-irel.h: Likewise.
14341 * elf/dl-runtime.c: Use elf_ifunc_invoke.
14342 * elf/dl-sym.c: Likewise.
14344 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14346 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
14347 need to dereference resplen2.
14349 2011-06-14 Andreas Schwab <schwab@redhat.com>
14351 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
14353 2011-06-15 Ulrich Drepper <drepper@gmail.com>
14355 * Makeconfig: Define vardbdir and inst_vardbdir.
14356 * nss/Makefile: Add rules to install db-Makefile.
14358 * nss/nss_db/db-XXX.c: Cleanup.
14360 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
14361 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
14363 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
14364 * nss/makedb.c: Implement -g option to specify that value strings
14365 are generated and should not be added to table iterated over for
14367 * nss/nss_db/db-initgroups.c: New file.
14369 * nss/getent.c: Add support for initgroups lookups through getgrouplist
14372 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
14373 (internal_getgrouplist): Adjust to name change.
14374 Update use_initgroups_entry if this is not the first call.
14375 * nss/databases.def: Add initgroups entry.
14377 * nss/makedb.c (compute_tables): Check result of multiple hash table
14378 sizes to minimize maximum chain length.
14380 2011-06-14 Ulrich Drepper <drepper@gmail.com>
14382 * Versions.def: Add entry for libnss_db.
14383 * shlib-versions: Likewise.
14384 * nss/Makefile: Add rules to build libnss_db.
14385 * nss/Versions: Add libnss_db information. Organize libnss_files
14387 * nss/db-Makefile: Add gshadow support. Change rules for the new
14388 makedb progra. Some minor improvements to generate smaller files.
14389 * nss/nss_db/nss_db.h: Move NSS database header data structures to
14391 * nss/makedb.c: ...here.
14392 Improve database format to be smaller and require less memory at
14394 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
14396 * nss/nss_db/db-netgrp.c: Likewise.
14397 * nss/nss_db/db-open.c: Likewise.
14398 * nss/nss_files/flies-XXX.x: Adjust comments.
14399 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
14400 * nss/nss_files/files-grp.c: Likewise.
14401 * nss/nss_files/files-hosts.c: Likewise.
14402 * nss/nss_files/files-network.c: Likewise.
14403 * nss/nss_files/files-proto.c: Likewise.
14404 * nss/nss_files/files-pwd.c: Likewise.
14405 * nss/nss_files/files-rpc.c: Likewise.
14406 * nss/nss_files/files-service.c: Likewise.
14407 * nss/nss_files/files-sgrp.c: Likewise.
14408 * nss/nss_files/files-spwd.c: Likewise.
14409 * nss/nss_db/db-alias.c: Removed.
14410 * nss/nss_db/dummy-db.h: Removed.
14412 2011-06-02 Ulrich Drepper <drepper@gmail.com>
14414 * nss/makedb.c: Rewritten to not use database library.
14415 * nss/Makefile: Update to build new makedb program.
14417 2011-06-14 Andreas Jaeger <aj@suse.de>
14419 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
14420 memset declaration.
14422 2011-06-10 Andreas Schwab <schwab@redhat.com>
14424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
14427 2011-06-10 Roland McGrath <roland@hack.frob.com>
14429 * Makerules (shlib.lds): Fail if the linker script comes out empty.
14430 * elf/Makefile ($(objpfx)ld.so): Likewise.
14432 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
14433 Don't list ld.so twice in dependencies.
14435 * posix/bug-regex31.c: Include <stdlib.h>.
14437 * nscd/hstcache.c (cache_addhst): Remove unused variable.
14439 * nis/nss_compat/compat-spwd.c
14440 (getspent_next_nss_netgr): Remove unused variable.
14441 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
14443 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
14444 nonmembers" output to use the right array.
14446 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
14448 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
14450 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
14451 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
14452 * catgets/gencat.c (read_input_file): Likewise.
14453 * locale/programs/locarchive.c (enlarge_archive): Likewise.
14455 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
14456 variable definition inside #if's controlling its use.
14458 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
14460 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
14462 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
14464 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
14467 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
14469 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
14470 * configure: Regenerated.
14472 * Makerules: Revert last change.
14473 * elf/Makefile: Likewise.
14475 2011-06-09 Roland McGrath <roland@hack.frob.com>
14477 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
14478 * elf/Makefile ($(objpfx)librtld.os): Likewise.
14479 (reloc-link): Likewise.
14481 2011-06-09 Ulrich Drepper <drepper@gmail.com>
14483 * elf/Makefile: Add rules to build pldd.
14484 * elf/pldd.c: New file.
14485 * elf/pldd-xx.c: New file.
14487 2011-06-07 Ulrich Drepper <drepper@gmail.com>
14489 * version.h: Update for 2.15 development version.
14491 2011-06-07 David S. Miller <davem@davemloft.net>
14493 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
14495 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
14496 elf_machine_lazy_rel): Likewise.
14497 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14498 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
14499 elf_machine_lazy_rel): Likewise.
14500 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
14501 dl_hwcap via passed in argument.
14502 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
14505 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14507 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
14509 2011-06-06 Roland McGrath <roland@hack.frob.com>
14512 * manual/fdl-1.1.texi: New file, verbatim from:
14513 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
14514 * manual/lgpl-2.1.texi: New file, verbatim from:
14515 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
14516 * manual/Makefile (licenses): New variable, list those new file names.
14518 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
14520 * manual/fdl.texi: File removed.
14521 * manual/lesser.texi: File removed.
14522 * manual/libc.texinfo (Copying, Documentation License):
14523 Use new @include file names, put @appendix directive before @include.
14525 2011-06-04 Jakub Jelinek <jakub@redhat.com>
14528 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
14529 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
14530 (mq_open): Add __NTH.
14532 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
14534 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14535 Assume Intel Core i3/i5/i7 processor if AVX is available.
14537 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14539 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
14542 2011-05-31 Andreas Schwab <schwab@redhat.com>
14544 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
14545 memory. Use alloca_account. Fix memory leak when retrying.
14547 2011-05-31 Ulrich Drepper <drepper@gmail.com>
14549 * version.h (RELEASE): Bump for 2.14 release.
14550 * include/features.h (__GLIBC_MINOR__): Bump to 14.
14552 * config.make.in (RANLIB): Remove entry.
14554 2011-05-30 Ulrich Drepper <drepper@gmail.com>
14556 * po/Makefile (po-sed-cmd): Add ksh to extensions.
14557 (libc.pot): Work around missing support for .ksh extension in xgettext.
14560 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
14561 if both request failed.
14562 (send_dg): In case of server errors clear resplen or *resplen2.
14565 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
14566 when there are multiple maps.
14567 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
14568 (_dl_fini): Remove test here.
14570 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
14572 2011-05-29 Ulrich Drepper <drepper@gmail.com>
14575 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
14576 bit from old_res_options.
14577 (gaih_inet): Likewise.
14580 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
14583 * resolv/res_init.c (res_setoptions): Make the code more compact.
14586 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
14590 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
14592 * malloc/malloc.h: Mark malloc hook variables as deprecated.
14595 * malloc/malloc.h: Declare malloc hook variables as volatile.
14597 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
14601 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
14602 raise in the comment.
14603 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
14604 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14605 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
14607 2011-05-28 Ulrich Drepper <drepper@gmail.com>
14610 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
14611 grow the buffers more if it already has to be sufficient.
14612 (build_wcs_upper_buffer): Likewise.
14613 * posix/regexec.c (check_matching): Likewise.
14614 (clean_state_log_if_needed): Likewise.
14615 (extend_buffers): Don't enlarge buffers beyond size of the input
14617 Patches mostly by Emil Wojak <emil@wojak.eu>.
14618 * posix/bug-regex32.c: New file.
14619 * posix/Makefile (tests): Add bug-regex32.
14621 * locale/findlocale.c (_nl_find_locale): Return right away if
14622 _nl_explode_name failed.
14623 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
14625 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
14627 * debug/xtrace.sh: Unify messages.
14628 * malloc/memusage.sh: Likewise.
14631 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
14632 time symbol from vDSO. Substitute with vsyscall if not available.
14633 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
14636 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
14637 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
14638 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
14639 Add sendmmsg and internal_sendmmsg.
14640 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
14641 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
14642 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
14644 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
14645 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
14646 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
14648 2011-05-27 Ulrich Drepper <drepper@gmail.com>
14651 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
14652 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
14654 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
14658 * iconvdata/Makefile (tests): Add bug-iconv9.
14659 * iconvdata/bug-iconv9.c: New file.
14661 2011-05-27 Andreas Schwab <schwab@redhat.com>
14664 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
14666 2011-05-25 Jakub Jelinek <jakub@redhat.com>
14668 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14669 (struct user_regs_struct): Change intcs field back to cs.
14671 2011-05-25 Ulrich Drepper <drepper@gmail.com>
14673 * po/ja.po: Update from translation team.
14675 2011-05-23 Ulrich Drepper <drepper@gmail.com>
14678 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
14679 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
14681 2011-05-20 Andreas Schwab <schwab@redhat.com>
14683 * stdlib/longlong.h: Update from GCC.
14685 2011-05-23 Andreas Schwab <schwab@redhat.com>
14687 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
14689 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
14690 Add parameter name.
14691 (__sysconf): Pass it down.
14693 2011-05-22 Ulrich Drepper <drepper@gmail.com>
14696 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
14698 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14699 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
14700 add in in __libc_use_alloca calls. Adjust callers.
14701 (glob): Use malloc in some situations.
14703 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
14704 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
14707 2011-05-21 Ulrich Drepper <drepper@gmail.com>
14709 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
14710 and CLOCK_BOOTTIME_ALARM.
14713 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
14716 * string/_strerror.c (__strerror_r): Print negative errors as signed
14720 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
14721 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
14722 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
14724 * configure.in: Fix typo in redirection and correct removal of test
14725 files in two cases.
14728 * locale/setlocale.c (new_composite_name): Fix test to check for
14729 identical name of all categories.
14732 * libio/filedoalloc.c (local_isatty): New function.
14733 (_IO_file_doallocate): Use local_isatty.
14734 * stdio-common/perror.c (perror): In case a new stream is used
14735 forward the stream error.
14736 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
14739 2011-05-20 Ulrich Drepper <drepper@gmail.com>
14742 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
14744 * include/alloca.h (extend_alloca_account): Define.
14747 * posix/regex.h: Fix comments with documentation of user-accessible
14748 fields after compilation and describe correct free'ing of pattern
14749 after re_compile_pattern.
14750 Patch by Reuben Thomas <rrt@sc3d.org>.
14752 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
14754 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
14755 and -mno-altivec to prevent the compiler from using Altivec and/or
14756 VSX instructions when the corresponding registers are not available.
14758 2011-05-19 Andreas Schwab <schwab@redhat.com>
14760 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
14762 2011-05-19 Ulrich Drepper <drepper@gmail.com>
14764 * libio/freopen.c (freopen): Use __dup2, not dup2.
14765 * libio/freopen64.c (freopen64): Likewise.
14767 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
14770 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
14771 * math/Makefile (tests): Add test-powl.
14772 (CFLAGS-test-powl.c): Define.
14773 * math/test-powl.c: New file.
14775 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
14777 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
14779 2011-05-17 Ulrich Drepper <drepper@gmail.com>
14782 * iconvdata/gb18030.c: Update to GB18020-2005.
14784 2011-05-16 Ulrich Drepper <drepper@gmail.com>
14786 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
14787 RE_SYNTAX_POSIX_AWK): Update to match recent development.
14788 Patch by Aharon Robbins <arnold@skeeve.com>.
14791 * stdlib/putenv.c (putenv): Don't always create copy of the variable
14795 * misc/pselect.c (__pselect): Handle timeout value errors hidden
14796 through underflows.
14799 * misc/error.c (error_at_line): Ensure file_name and old_file_name
14800 point to strings before performing equality test for error_one_per_line
14804 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
14807 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
14808 (struct user_fpregs_struct): Avoid __uint*_t types.
14811 * malloc/mtrace.c (tr_where): Add additional parameter to point to
14812 symbol info. Use it instead of calling _dl_addr locally.
14813 (lock_and_info): New function.
14814 (tr_freehook): Call lock_and_info and pass symbol info as additional
14815 parameter to tr_where.
14816 (tr_mallochook): Likewise.
14817 (tr_reallochook): Likewise.
14818 (tr_memalignhook): Likewise.
14820 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
14821 used and couldn't be at all thread-safe.
14823 2011-05-15 Ulrich Drepper <drepper@gmail.com>
14825 * libio/freopen.c (freopen): Don't close old file descriptor
14826 before the new one is opened. Instead dup the new file descriptor
14827 to the old one after the new stream is created.
14828 * libio/freopen64.c (freopen64): Likewise.
14829 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
14830 * libio/fileops.c (_IO_new_file_close_it): Handle new
14831 _IO_FLAGS2_NOCLOSE flag.
14832 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
14833 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
14834 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
14835 _IO_FLAGS2_NOCLOSE flag.
14836 * include/unistd.h: Add hidden_proto for dup3.
14837 Define __have_dup3.
14838 * io/dup3.c: Define hidden symbol.
14839 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
14842 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
14843 when an incomplete long option is used.
14844 * posix/tst-getopt_long1.c: New file.
14845 * posix/Makefile (tests): Add tst-getopt_long1.
14848 * scripts/config.guess: Update from autoconf-2.68.
14849 * scripts/config.sub: Likewise.
14852 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
14854 (has_cpuclock): ...this. New function.
14855 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
14856 macro here based on has_cpuclock code.
14859 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14860 First byte (not low byte) is now always NUL.
14861 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
14863 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14864 Use non-cancelable interfaces.
14867 * locale/iso-639.def: Add entry for Sorani.
14870 * include/stdlib.h: Move include protection to the right place.
14871 Define abort_msg_s. Declare __abort_msg with it.
14872 * stdlib/abort.c (__abort_msg): Adjust type.
14873 * assert/assert.c (__assert_fail_base): New function. Majority
14874 of code from __assert_fail. Allocate memory for __abort_msg with
14876 (__assert_fail): Now call __assert_fail_base.
14877 * assert/assert-perr.c: Remove bulk of implementation. Use
14878 __assert_fail_base.
14879 * include/assert.hL Declare __assert_fail_base.
14880 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
14882 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
14884 2011-05-14 Ulrich Drepper <drepper@gmail.com>
14888 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
14889 until all modules are registered in the DTV.
14890 * elf/Makefile: Add rules to build and run tst-tls19.
14891 * elf/tst-tls19.c: New file.
14892 * elf/tst-tls19mod1.c: New file.
14893 * elf/tst-tls19mod2.c: New file.
14894 * elf/tst-tls19mod3.c: New file.
14895 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
14898 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
14902 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
14903 two-byte sequence errors.
14904 * iconvdata/Makefile (tests): Add bug-iconv8.
14905 * iconvdata/bug-iconv8.c: New file.
14908 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
14911 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
14914 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
14915 (dummy_getcfa): New function.
14916 (init): Get _Unwind_GetCFA address, use dummy if not found.
14917 (backtrace_helper): In recursion check, also check whether CFA changes.
14918 (__backtrace): Completely initialize arg.
14920 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
14921 storing incomplete byte sequence in state object. Avoid testing for
14922 guaranteed too small input if we know there is enough data available.
14924 2011-05-11 Andreas Schwab <schwab@redhat.com>
14926 * Makeconfig (+link-pie): Indent.
14927 * Rules (binaries-pie): Define if $(have-fpie) and
14929 (binaries-shared): Also filter out $(binaries-pie).
14930 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
14931 * nscd/Makefile (others-pie): Add nscd.
14932 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
14933 ($(objpfx)nscd): Remove command override.
14934 * login/Makefile (others-pie): Add pt_chown.
14935 ($(objpfx)pt_chown): Remove command override.
14936 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
14937 remove command overrides.
14939 2011-05-13 Ulrich Drepper <drepper@gmail.com>
14941 * libio/tst_putwc.c: Fix error messages.
14944 * libio/fileops.c (_IO_new_file_close_it): Always flush when
14945 currently writing and seek to current position when not.
14946 * libio/Makefile (tests): Add bug-fclose1.
14947 * libio/bug-fclose1.c: New file.
14949 2011-05-12 Ulrich Drepper <drepper@gmail.com>
14952 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
14953 don't set DF_1_NODELETE here.
14954 (do_lookup_x): When entering new entry test for copy relocation
14955 and if necessary set DF_1_NODELETE flag.
14956 * elf/tst-unique4.cc: New file.
14957 * elf/tst-unique4.h: New file.
14958 * elf/tst-unique4lib.cc: New file.
14959 * elf/Makefile: Add rules to build and run tst-unique4.
14960 Patch by Piotr Bury <pbury@goahead.com>.
14962 2011-05-11 Ulrich Drepper <drepper@gmail.com>
14965 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
14968 * misc/mntent_r.c (addmntent): Flush the stream after the output
14971 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
14972 (is_trusted_path_normalize): Skip initial colon. Append slash
14973 to empty buffer. Duplicate is_trusted_path code but allow
14974 constructed patch to be prefix.
14975 (is_dst): Allow $ORIGIN followed by /.
14976 (_dl_dst_substitute): Correct clearing of check_for_trusted.
14977 Correct testing of result of is_trusted_path_normalize
14978 (decompose_rpath): Fix warning.
14980 2011-05-10 Ulrich Drepper <drepper@gmail.com>
14983 * grp/initgroups.c (internal_getgrouplist): When we found the service
14984 list through the initgroups entry in nsswitch.conf do not always
14985 continue on a successful lookup. Don't always use the
14986 __nss_group_database value if it is set.
14987 * nss/nsswitch.conf (initgroups): Change action for successful db
14988 lookup to continue for compatibility.
14990 2011-05-09 Ulrich Drepper <drepper@gmail.com>
14993 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
14995 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
14997 * iconvdata/tst-tables.sh: Likewise.
14998 * iconvdata/cp770.c: New file.
14999 * iconvdata/cp771.c: New file.
15000 * iconvdata/cp772.c: New file.
15001 * iconvdata/cp773.c: New file.
15002 * iconvdata/cp774.c: New file.
15003 * iconvdata/testdata/CP770: New file.
15004 * iconvdata/testdata/CP770..UTF8: New file.
15005 * iconvdata/testdata/CP771: New file.
15006 * iconvdata/testdata/CP771..UTF8: New file.
15007 * iconvdata/testdata/CP772: New file.
15008 * iconvdata/testdata/CP772..UTF8: New file.
15009 * iconvdata/testdata/CP773: New file.
15010 * iconvdata/testdata/CP773..UTF8: New file.
15011 * iconvdata/testdata/CP774: New file.
15012 * iconvdata/testdata/CP774..UTF8: New file.
15014 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
15016 * iconvdata/gen-8bit-gap.sh: Likewise.
15017 * iconvdata/gen-8bit.sh: Likewise.
15019 * locale/iso-639.def: Add ary entry.
15022 * locale/C-translit.h.in: Add U20A1 transliteration.
15025 * locale/iso-639.def: Add wae entry.
15026 Patch by Kevin Bortis <bortis@translate-wae.ch>.
15029 * locale/programs/localedef.c (construct_output_path): Use ssize_t
15033 * locale/C-translit.h.in: Add entry for U20B9.
15034 Patch by pravin.d.s@gmail.com.
15036 2011-05-08 Ulrich Drepper <drepper@gmail.com>
15039 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
15040 ENAMETOOLONG use generic getcwd.
15041 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
15042 in rtld. Use *stat64.
15043 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
15044 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
15045 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
15046 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
15047 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
15048 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
15049 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
15050 __fstatat64 macros.
15051 * include/dirent.h: Add libc_hidden_proto for rewinddir.
15052 * dirent/rewinddir.c: Add libc_hidden_def.
15053 * sysdeps/mach/hurd/rewinddir.c: Likewise.
15054 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
15056 * include/dirent.h (__alloc_dir): Add flags parameter.
15057 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
15058 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
15060 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
15061 from fdopendir if O_CLOEXEC is already set.
15063 2011-03-15 Alan Modra <amodra@gmail.com>
15065 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
15066 l_tls_firstbyte_offset non-zero. Save padding offset in
15067 l_tls_firstbyte_offset for later use.
15068 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
15069 freeing static tls block.
15071 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
15073 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
15074 where #ifdef was intended. The intent is to prevent ARG_MAX from
15075 being defined by the kernel headers.
15077 2011-05-07 Ulrich Drepper <drepper@gmail.com>
15080 * resolv/resolv.h: Define RES_NOTLDQUERY.
15081 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
15082 no-tld-query and set RES_NOTLDQUERY.
15083 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
15084 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
15085 modern BIND to search name as TLD unless forbidden.
15087 2011-05-07 Petr Baudis <pasky@suse.cz>
15088 Ulrich Drepper <drepper@gmail.com>
15091 * elf/dl-load.c (fillin_rpath): Move trusted path check...
15092 (is_trusted_path): ...to here.
15093 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
15094 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
15095 using is_trusted_path_normalize() in setuid scripts.
15097 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
15099 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
15100 __BEGIN/__END_DECLS.
15102 2011-05-06 Ulrich Drepper <drepper@gmail.com>
15104 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
15105 NSS_STATUS_NOTFOUND if no record was found.
15107 2011-05-05 Andreas Schwab <schwab@redhat.com>
15109 * sunrpc/Makefile (headers): Add rpc/netdb.h.
15110 (headers-not-in-tirpc): Remove rpc/netdb.h
15111 * resolv/netdb.h: Revert last change.
15113 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
15115 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
15116 circular dependency between libgcc.a and libc.a.
15118 2011-05-05 Andreas Schwab <schwab@redhat.com>
15120 * resolv/netdb.h: Don't include <rpc/netdb.h>.
15121 * nis/Makefile: Don't install rpcsvc/*.
15122 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
15123 instead of <rpc/types.h>.
15124 (MAXHOSTNAMELEN): Define.
15126 2011-05-03 Andreas Schwab <schwab@redhat.com>
15128 * elf/ldconfig.c (add_dir): Don't crash on empty path.
15130 2011-04-28 Maciej Babinski <mbabinski@google.com>
15133 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
15134 gethostbyname4_r when IPv6 results are possible.
15136 2011-05-02 Ulrich Drepper <drepper@gmail.com>
15139 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
15140 _PC_PIPE_BUF handling.
15142 2011-04-30 Bruno Haible <bruno@clisp.org>
15145 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
15146 * resolv/netdb.h (getnameinfo): Change type of flags parameter
15148 * inet/getnameinfo.c (getnameinfo): Likewise.
15150 2011-04-29 Ulrich Drepper <drepper@gmail.com>
15152 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
15153 to groups setting in database lookup.
15154 * nss/nsswitch.conf: Add initgroups entry.
15156 2011-04-22 Ulrich Drepper <drepper@gmail.com>
15159 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
15161 Patch by Eric Blake <eblake@redhat.com>.
15163 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
15165 * sunrpc/Makefile (need-export-routines): Add svc_run.
15166 (routines): Remove svc_run.
15167 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
15168 * sunrpc/clnt_perr.c (clnt_perrno): Export.
15169 * sunrpc/svc_run.c (svc_run): Likewise.
15170 * sunrpc/svc_udp.c (svcudp_create): Likewise.
15172 2011-04-21 Ulrich Drepper <drepper@gmail.com>
15174 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
15175 problem in reallocation in last patch.
15177 2011-04-20 Ulrich Drepper <drepper@gmail.com>
15179 * sunrpc/Makefile: Move inclusion of Rules.
15181 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15183 * nss/nss_files/files-initgroups.c: New file.
15184 * nss/Makefile (libnss_files-routines): Add files-initgroups.
15185 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
15186 _nss_files_initgroups_dyn.
15188 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
15190 * elf/elf.h (R_ARM_IRELATIVE): Define.
15192 2011-04-19 Ulrich Drepper <drepper@gmail.com>
15194 * po/ru.po: Update from translation team.
15196 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15198 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
15201 2011-02-06 Mike Frysinger <vapier@gentoo.org>
15204 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
15205 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
15206 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
15207 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
15208 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
15210 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
15212 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
15214 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
15215 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
15216 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
15218 2011-04-17 Ulrich Drepper <drepper@gmail.com>
15221 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
15223 * stdlib/bug-getcontext.c: New file.
15224 * stdlib/Makefile: Add rules to build and run bug-getcontext.
15226 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15228 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
15229 instructions into .machine "z9-109".
15230 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15231 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15233 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15235 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
15236 between environment variables and auxiliary vector.
15238 2011-04-16 Ulrich Drepper <drepper@gmail.com>
15240 * Makefile: Add rules to build linkobj/libc.so.
15241 * include/libc-symbols.h: Define libc_hidden_nolink.
15242 * include/rpc/auth.h: Mark functions which are to be hidden.
15243 * include/rpc/auth_des.h: Likewise.
15244 * include/rpc/auth_unix.h: Likewise.
15245 * include/rpc/clnt.h: Likewise.
15246 * include/rpc/des_crypt.h: Likewise.
15247 * include/rpc/key_prot.h: Likewise.
15248 * include/rpc/pmap_clnt.h: Likewise.
15249 * include/rpc/pmap_prot.h: Likewise.
15250 * include/rpc/pmap_rmt.h: Likewise.
15251 * include/rpc/rpc_msg.h: Likewise.
15252 * include/rpc/svc.h: Likewise.
15253 * include/rpc/svc_auth.h: Likewise.
15254 * include/rpc/xdr.h: Likewise.
15255 * nis/Makefile: Link all DSOs against linkobj/libc.so.
15256 * nss/Makefile: Likewise.
15257 * sunrpc/Makefile: Don't install headers. Build library with normal
15258 entry points. Don't build rpcinfo. Link RPC tests appropriately.
15259 * sunrpc/auth_des.c: Hide exported symbols by default, export some
15260 for the compat linking library. Remove use of INTDEF/INTUSE.
15261 * sunrpc/auth_none.c: Likewise.
15262 * sunrpc/auth_unix.c: Likewise.
15263 * sunrpc/authdes_prot.c: Likewise.
15264 * sunrpc/authuxprot.c: Likewise.
15265 * sunrpc/clnt_gen.c: Likewise.
15266 * sunrpc/clnt_perr.c: Likewise.
15267 * sunrpc/clnt_raw.c: Likewise.
15268 * sunrpc/clnt_simp.c: Likewise.
15269 * sunrpc/clnt_tcp.c: Likewise.
15270 * sunrpc/clnt_udp.c: Likewise.
15271 * sunrpc/clnt_unix.c: Likewise.
15272 * sunrpc/des_crypt.c: Likewise.
15273 * sunrpc/des_soft.c: Likewise.
15274 * sunrpc/get_myaddr.c: Likewise.
15275 * sunrpc/key_call.c: Likewise.
15276 * sunrpc/key_prot.c: Likewise.
15277 * sunrpc/netname.c: Likewise.
15278 * sunrpc/pm_getmaps.c: Likewise.
15279 * sunrpc/pm_getport.c: Likewise.
15280 * sunrpc/pmap_clnt.c: Likewise.
15281 * sunrpc/pmap_prot.c: Likewise.
15282 * sunrpc/pmap_prot2.c: Likewise.
15283 * sunrpc/pmap_rmt.c: Likewise.
15284 * sunrpc/publickey.c: Likewise.
15285 * sunrpc/rpc_cmsg.c: Likewise.
15286 * sunrpc/rpc_common.c: Likewise.
15287 * sunrpc/rpc_dtable.c: Likewise.
15288 * sunrpc/rpc_prot.c: Likewise.
15289 * sunrpc/rpc_thread.c: Likewise.
15290 * sunrpc/rtime.c: Likewise.
15291 * sunrpc/svc.c: Likewise.
15292 * sunrpc/svc_auth.c: Likewise.
15293 * sunrpc/svc_authux.c: Likewise.
15294 * sunrpc/svc_raw.c: Likewise.
15295 * sunrpc/svc_run.c: Likewise.
15296 * sunrpc/svc_simple.c: Likewise.
15297 * sunrpc/svc_tcp.c: Likewise.
15298 * sunrpc/svc_udp.c: Likewise.
15299 * sunrpc/svc_unix.c: Likewise.
15300 * sunrpc/svcauth_des.c: Likewise.
15301 * sunrpc/xcrypt.c: Likewise.
15302 * sunrpc/xdr.c: Likewise.
15303 * sunrpc/xdr_array.c: Likewise.
15304 * sunrpc/xdr_float.c: Likewise.
15305 * sunrpc/xdr_intXX_t.c: Likewise.
15306 * sunrpc/xdr_mem.c: Likewise.
15307 * sunrpc/xdr_rec.c: Likewise.
15308 * sunrpc/xdr_ref.c: Likewise.
15309 * sunrpc/xdr_sizeof.c: Likewise.
15310 * sunrpc/xdr_stdio.c: Likewise.
15312 2011-04-10 Ulrich Drepper <drepper@gmail.com>
15315 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
15316 * sysdeps/ia64/dl-tls.h: Likewise.
15317 * sysdeps/powerpc/dl-tls.h: Likewise.
15318 * sysdeps/s390/dl-tls.h: Likewise.
15319 * sysdeps/sh/dl-tls.h: Likewise.
15320 * sysdeps/sparc/dl-tls.h: Likewise.
15321 * sysdeps/x86_64/dl-tls.h: Likewise.
15322 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
15324 2011-03-14 Andreas Schwab <schwab@redhat.com>
15326 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
15327 rpath element also skip the following colon.
15328 (expand_dynamic_string_token): Add is_path parameter and pass
15329 down to DL_DST_REQUIRED and _dl_dst_substitute.
15330 (decompose_rpath): Call expand_dynamic_string_token with
15331 non-zero is_path. Ignore empty rpaths.
15332 (_dl_map_object_from_fd): Call expand_dynamic_string_token
15335 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
15337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15340 2011-04-09 Ulrich Drepper <drepper@gmail.com>
15343 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
15344 Patch by Filipe David Manana <fdmanana@apache.org>.
15346 2011-04-07 Andreas Schwab <schwab@redhat.com>
15348 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
15349 Maintain aligned stack.
15350 (CHECK_RSP): Remove unused macro.
15352 2011-04-03 Ulrich Drepper <drepper@gmail.com>
15354 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
15355 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
15357 2011-04-02 Ulrich Drepper <drepper@gmail.com>
15359 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
15361 * include/features.h: Mention __USE_XOPEN2K8 in comment.
15363 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
15366 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
15367 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
15368 * sysdeps/x86_64/memmove.c: New file.
15369 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
15370 (memcpy): Renamed to ...
15371 (__new_memcpy): This.
15372 (memcpy): Provide GLIBC_2_14 memcpy.
15373 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
15374 (memcpy): Provide GLIBC_2_2_5 memcpy.
15376 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15379 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
15381 2011-03-30 Andreas Schwab <schwab@redhat.com>
15383 * misc/syncfs.c: New file.
15384 * misc/Makefile (routines): Add syncfs.
15385 * posix/unistd.h: Declare syncfs.
15386 * sysdeps/unix/syscalls.list: Add syncfs.
15388 2011-04-01 Andreas Schwab <schwab@redhat.com>
15390 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
15392 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
15393 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15394 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15395 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15397 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
15398 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15400 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15402 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
15403 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15404 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
15405 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15406 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15407 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15408 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15410 * io/Makefile: Compile fallocate.c, fallocate64.c, and
15411 sync_file_range.c with -fexceptions.
15412 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
15413 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
15414 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
15415 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
15416 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15417 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15418 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
15419 sync_file_range as cancellation point
15420 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
15421 now a wrapper around __call_sync_file_range with cancellation handling.
15422 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
15423 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
15424 function name to __call_sync_file_range.
15425 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
15426 Add call_sync_file_range.
15428 2011-04-01 Andreas Schwab <schwab@redhat.com>
15430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15433 2011-04-01 Ulrich Drepper <drepper@gmail.com>
15435 * iconv/iconv.h: Fix typo in comment.
15436 * io/fcntl.h: Likewise.
15437 * libio/stdio.h: Likewise.
15438 * posix/spawn.h: Likewise.
15439 * posix/unistd.h: Likewise.
15440 * stdlib/stdlib.h: Likewise.
15441 * time/time.h: Likewise.
15442 * wcsmbs/wchar.h: Likewise.
15444 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
15445 open_by_handle): Add.
15446 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
15447 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
15448 Augment a few comments.
15449 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
15450 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15451 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15453 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
15454 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
15457 * io/fcntl.h (AT_EMPTY_PATH): Define.
15459 2011-03-30 Ulrich Drepper <drepper@gmail.com>
15461 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
15462 * sysdeps/unix/sysv/linux/bits/time.h: New file.
15463 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
15465 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
15466 * Versions.def: Add GLIBC_2.14.
15467 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
15470 2011-03-22 Ulrich Drepper <drepper@gmail.com>
15472 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
15474 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15476 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
15479 * string/test-strncmp.c (do_page_test): New function.
15480 (check2): Likewise.
15481 (test_main): Call check2.
15482 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
15484 2011-03-20 Ulrich Drepper <drepper@gmail.com>
15487 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
15488 Handle cache information in CPU leaf 4.
15489 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
15491 2011-03-18 Ulrich Drepper <drepper@gmail.com>
15494 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
15495 character representation.
15496 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
15498 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
15500 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
15501 END(__isnan) to END(__isnanf) to match function entry point/label
15502 EALIGN(__isnanf,...).
15504 2011-03-10 Jakub Jelinek <jakub@redhat.com>
15506 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
15508 2011-03-10 Ulrich Drepper <drepper@gmail.com>
15511 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
15512 copy from the symbol referenced in the relocation to initialize the
15514 Patch by Piotr Bury <pbury@goahead.com>.
15515 * elf/Makefile: Add rules to build and tst-unique3.
15516 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
15517 * elf/tst-unique3.cc: New file.
15518 * elf/tst-unique3.h: New file.
15519 * elf/tst-unique3lib.cc: New file.
15520 * elf/tst-unique3lib2.cc: New file.
15522 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
15524 2011-03-10 Mike Frysinger <vapier@gentoo.org>
15526 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
15527 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
15530 2011-03-06 Ulrich Drepper <drepper@gmail.com>
15532 * elf/dl-load.c (_dl_map_object): If we are looking for the first
15533 to-be-loaded object along a path to loader is ld.so.
15535 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15536 Ulrich Drepper <drepper@gmail.com>
15538 * sysdeps/x86_64/memset.S: After aligning destination, code
15539 branches to different locations depending on the value of
15540 misalignment, when multiarch is enabled. Fix this.
15542 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
15544 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
15545 Set _x86_64_preferred_memory_instruction for AMD processsors.
15546 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15547 Set bit_Prefer_SSE_for_memop for AMD processors.
15549 2011-03-04 Ulrich Drepper <drepper@gmail.com>
15551 * libio/fmemopen.c (fmemopen): Optimize a bit.
15553 2011-03-03 Andreas Schwab <schwab@redhat.com>
15555 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
15557 2011-03-03 Roland McGrath <roland@redhat.com>
15559 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
15561 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
15563 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
15564 __bzero_ultra1 instead of __memset_ultra1.
15566 2011-02-23 Andreas Schwab <schwab@redhat.com>
15567 Ulrich Drepper <drepper@gmail.com>
15570 * include/link.h (struct link_map): Add l_orig_initfini.
15571 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
15572 returning unsuccessfully.
15573 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
15574 close of a file loaded at startup, restore the original l_initfini
15576 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
15577 list, store the pointer.
15578 * elf/Makefile ($(objpfx)noload-mem): New rule.
15579 (noload-ENV): Define.
15580 (tests): Add $(objpfx)noload-mem.
15581 * elf/noload.c: Include <memcheck.h>.
15582 (main): Call mtrace. Close all opened handles.
15584 2011-02-17 Andreas Schwab <schwab@redhat.com>
15587 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
15588 dependencies are missing.
15590 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15592 Fix __if_freereq crash: Unlike the generic version which uses free,
15594 * sysdeps/mach/hurd/ifreq.h: New file.
15596 2011-01-27 Petr Baudis <pasky@suse.cz>
15597 Ulrich Drepper <drepper@gmail.com>
15600 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
15601 to extend_alloca().
15602 * stdio-common/bug23.c: New file.
15603 * stdio-common/Makefile (tests): Add bug23.
15605 2010-09-28 Andreas Schwab <schwab@redhat.com>
15606 Ulrich Drepper <drepper@gmail.com>
15609 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
15610 before performing relro protection. At old place add assertion
15611 to make sure nothing changed.
15613 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
15614 Glauber de Oliveira Costa <glommer@gmail.com>
15616 * elf/elf.h: Add new ARM TLS relocs.
15618 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
15620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
15621 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
15623 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
15625 * sysdeps/wordsize-64/tst-writev.c: New file.
15627 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
15629 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
15630 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
15631 insns in _dl_start to prevent a TOC reference before relocs are
15634 2011-02-15 Ulrich Drepper <drepper@gmail.com>
15637 * Makeconfig: Remove RANLIB definition.
15638 * Makerules: Don't use RANLIB.
15639 * aclocal.m4: Remove ranlib test.
15640 * configure.in: No need to check for ranlib.
15641 * elf/rtld-Rules: Don't use RANLIB.
15643 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15645 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
15647 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
15648 inclusion protection macro.
15650 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
15651 SIGRTMIN and SIGRTMAX and print information in that case only when
15652 SIGRTMIN is defined.
15654 2011-02-11 Jakub Jelinek <jakub@redhat.com>
15656 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
15657 arginfo fn returning -1.
15659 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
15660 and thousands string is zero terminated.
15662 2011-02-03 Andreas Schwab <schwab@redhat.com>
15664 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
15665 sysdeps/unix/sysv/linux/bits/socket.h.
15667 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
15669 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
15670 (__CPU_COUNT): Remove old macros.
15671 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
15672 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
15673 (__CPU_ALLOC, __CPU_FREE): Add macros.
15674 (__sched_cpualloc, __sched_cpufree): Add declarations.
15676 2011-02-05 Ulrich Drepper <drepper@gmail.com>
15678 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
15679 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
15680 * nscd/aicache.c (addhstaiX): Return timeout of added value.
15681 (readdhstai): Return value of addhstaiX call.
15682 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
15683 (addgrbyX): Return value returned by cache_addgr.
15684 (readdgrbyname): Return value returned by addgrbyX.
15685 (readdgrbygid): Likewise.
15686 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
15687 (addpwbyX): Return value returned by cache_addpw.
15688 (readdpwbyname): Return value returned by addhstbyX.
15689 (readdpwbyuid): Likewise.
15690 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
15691 (addservbyX): Return value returned by cache_addserv.
15692 (readdservbyname): Return value returned by addservbyX:
15693 (readdservbyport): Likewise.
15694 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
15695 (addhstbyX): Return value returned by cache_addhst.
15696 (readdhstbyname): Return value returned by addhstbyX.
15697 (readdhstbyaddr): Likewise.
15698 (readdhstbynamev6): Likewise.
15699 (readdhstbyaddrv6): Likewise.
15700 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
15701 (readdinitgroups): Return value returned by addinitgroupsX.
15702 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
15703 (prune_cache): Keep track of timeout value of re-added entries.
15704 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
15705 * nscd/nscd.h: Adjust prototypes of readd* functions.
15707 2011-02-04 Roland McGrath <roland@redhat.com>
15709 * nis/nis_server.c (nis_servstate): Use the right name for 0.
15710 (nis_stats): Likewise.
15711 * nis/nis_modify.c (nis_modify): Likewise.
15712 * nis/nis_remove.c (nis_remove): Likewise.
15713 * nis/nis_add.c (nis_add): Likewise.
15715 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
15717 * posix/fnmatch_loop.c: Add some consts.
15719 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
15721 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
15724 * config.make.in (config-cflags-novzeroupper): Define.
15725 * configure.in: Substitute libc_cv_cc_novzeroupper.
15726 * elf/Makefile (AVX-CFLAGS): Define.
15727 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
15728 (CFLAGS-tst-auditmod4a.c): Likewise.
15729 (CFLAGS-tst-auditmod4b.c): Likewise.
15730 (CFLAGS-tst-auditmod6b.c): Likewise.
15731 (CFLAGS-tst-auditmod6c.c): Likewise.
15732 (CFLAGS-tst-auditmod7b.c): Likewise.
15733 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
15735 2011-02-02 Ulrich Drepper <drepper@gmail.com>
15737 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
15738 function to the callback.
15739 Patch partly by Jiri Olsa <jolsa@redhat.com>.
15741 2011-02-02 Andreas Schwab <schwab@redhat.com>
15743 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
15746 2011-01-19 Ulrich Drepper <drepper@gmail.com>
15749 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
15751 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
15753 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
15756 * elf/Makefile: Add rules to build and run new test.
15757 * elf/tst-initorder.c: New file.
15758 * elf/tst-initorder.exp: New file.
15759 * elf/tst-initordera1.c: New file.
15760 * elf/tst-initordera2.c: New file.
15761 * elf/tst-initordera3.c: New file.
15762 * elf/tst-initordera4.c: New file.
15763 * elf/tst-initorderb1.c: New file.
15764 * elf/tst-initorderb2.c: New file.
15765 * elf/tst-order-a1.c: New file.
15766 * elf/tst-order-a2.c: New file.
15767 * elf/tst-order-a3.c: New file.
15768 * elf/tst-order-a4.c: New file.
15769 * elf/tst-order-b1.c: New file.
15770 * elf/tst-order-b2.c: New file.
15771 * elf/tst-order-main.c: New file.
15772 New test case by George Gensure <werkt0@gmail.com>.
15774 2010-10-01 Andreas Schwab <schwab@redhat.com>
15776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
15777 decoding ACE if AI_CANONIDN.
15779 2011-01-18 Ulrich Drepper <drepper@gmail.com>
15781 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
15783 2011-01-17 Ulrich Drepper <drepper@gmail.com>
15785 * version.h (RELEASE): Bump for 2.13 release.
15786 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
15788 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
15790 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
15792 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
15793 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
15794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
15795 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
15796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
15797 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
15799 * posix/getconf.c: Update copyright year.
15800 * catgets/gencat.c: Likewise.
15801 * csu/version.c: Likewise.
15802 * debug/catchsegv.sh: Likewise.
15803 * debug/xtrace.sh: Likewise.
15804 * elf/ldconfig.c: Likewise.
15805 * elf/ldd.bash.in: Likewise.
15806 * elf/sprof.c (print_version): Likewise.
15807 * iconv/iconv_prog.c: Likewise.
15808 * iconv/iconvconfig.c: Likewise.
15809 * locale/programs/locale.c: Likewise.
15810 * locale/programs/localedef.c: Likewise.
15811 * malloc/memusage.sh: Likewise.
15812 * malloc/mtrace.pl: Likewise.
15813 * nscd/nscd.c (print_version): Likewise.
15814 * nss/getent.c: Likewise.
15816 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
15817 PF_CAIF, and PF_ALG.
15818 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
15820 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
15822 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
15823 (modules-names): Use them.
15824 (ifunc-test-modules, ifunc-pie-tests): Define.
15825 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
15826 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
15827 (test-extras): Likewise.
15828 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
15829 $(compile-command.c).
15830 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
15831 (all-built-dso): Define.
15832 (check-textrel.out, check-execstack.out): Depend on it.
15834 * configure.in: Don't override --enable-multi-arch.
15836 2011-01-15 Ulrich Drepper <drepper@gmail.com>
15839 * nscd/hstcache.c (tryagain): Define.
15840 (cache_addhst): Return tryagain not notfound for temporary errors.
15841 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
15844 2011-01-14 Ulrich Drepper <drepper@gmail.com>
15847 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
15848 to make the syscall.
15849 * sysdeps/unix/sysv/linux/setgroups.c: New file.
15852 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
15853 and fall back to matching as normal character if the string ends before
15854 the matching ']' is found. This is what POSIX requires.
15855 * posix/testfnm.c: Adjust test result.
15856 * posix/globtest.sh: Adjust test result. Add new test.
15857 * posix/tst-fnmatch.input: Likewise.
15858 * posix/tst-fnmatch2.c: Add new test.
15860 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
15862 * elf/Makefile (check-execstack): Revert last change. Depend on
15864 (check-execstack.h): New target.
15865 (generated): Add check-execstack.h.
15866 * elf/check-execstack.c: Include "check-execstack.h".
15867 (main): Revert last change.
15868 (handle_file): Return zero if GNU_STACK is absent and
15869 DEFAULT_STACK_PERMS doesn't include PF_X.
15871 2011-01-13 Ulrich Drepper <drepper@gmail.com>
15873 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
15874 in child fails because the descriptor is already closed.
15875 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
15876 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
15877 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
15880 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
15884 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
15885 temporary buffer used to handle multi lookups locally.
15886 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
15888 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15890 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
15893 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
15895 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
15896 alignment for SSE2.
15898 2011-01-12 Ulrich Drepper <drepper@gmail.com>
15901 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
15902 characters. When rounding increased number of integer digits recompute
15904 * stdio-common/tst-grouping.c: New file.
15905 * stdio-common/Makefile: Add rules to build and run tst-grouping.
15907 2011-01-09 Ulrich Drepper <drepper@gmail.com>
15909 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
15910 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
15912 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
15914 * bits/select.h: Likewise.
15916 2011-01-08 Ulrich Drepper <drepper@gmail.com>
15918 * po/ja.po: Update from translation team.
15920 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
15923 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
15924 implementation just like for lxstat, fxstatat, et al.
15926 2010-12-27 Jim Meyering <meyering@redhat.com>
15929 * posix/regexec.c (build_trtable): Return failure indication upon
15930 calloc failure. Otherwise, re_search_internal could infloop on OOM.
15932 2010-12-25 Ulrich Drepper <drepper@gmail.com>
15935 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
15936 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
15937 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
15938 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
15941 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
15944 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
15945 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
15947 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
15949 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
15950 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
15951 script has SORT_BY_INIT_PRIORITY.
15952 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
15953 NO_CTORS_DTORS_SECTIONS is defined.
15954 * elf/soinit.c: Likewise.
15955 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
15956 NO_CTORS_DTORS_SECTIONS is defined.
15957 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
15958 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
15959 * sysdeps/sh/init-first.c: Likewise.
15960 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
15962 2010-12-24 Ulrich Drepper <drepper@gmail.com>
15964 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
15965 always use the slow path.
15967 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
15969 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
15970 similar rule which adds the sysdep directories to the header search in
15971 order to pick up the correct platform stackinfo.h.
15972 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
15973 perform test if it is, otherwise return successfully without testing.
15974 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
15975 DEFAULT_STACK_PERMS define in stackinfo.h.
15976 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
15977 defined in stackinfo.h.
15978 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
15979 DEFAULT_STACK_PERMS defined in stackinfo.h.
15980 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
15981 * sysdeps/ia64/stackinfo.h: Likewise.
15982 * sysdeps/s390/stackinfo.h: Likewise.
15983 * sysdeps/sh/stackinfo.h: Likewise.
15984 * sysdeps/sparc/stackinfo.h: Likewise.
15985 * sysdeps/x86_64/stackinfo.h: Likewise.
15986 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
15987 PF_X for powerpc64. Retain PF_X for powerpc32.
15989 2010-12-19 Ulrich Drepper <drepper@gmail.com>
15991 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
15993 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
15994 GETDENTS_64BIT_ALIGNED.
15996 2010-12-14 Ulrich Drepper <dreper@gmail.com>
15998 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
16000 2010-12-10 Andreas Schwab <schwab@redhat.com>
16002 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
16005 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
16006 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
16008 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
16009 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
16011 2010-12-09 Ulrich Drepper <drepper@gmail.com>
16014 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
16017 2010-12-09 Jakub Jelinek <jakub@redhat.com>
16019 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
16021 2010-12-03 Ulrich Drepper <drepper@gmail.com>
16023 * po/it.po: Update from translation team.
16025 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
16027 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
16030 2010-11-30 Ulrich Drepper <drepper@gmail.com>
16032 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
16034 2010-11-24 Andreas Schwab <schwab@redhat.com>
16036 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
16038 (gaih_getanswer_slice): Likewise.
16040 2010-10-20 Jakub Jelinek <jakub@redhat.com>
16042 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
16044 2010-05-31 Petr Baudis <pasky@suse.cz>
16047 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
16048 silently even in the chroot mode.
16050 2010-11-22 Ulrich Drepper <drepper@gmail.com>
16052 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
16053 last patch a bit. Pretty printing
16055 2010-05-31 Petr Baudis <pasky@suse.cz>
16058 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
16059 initialization of skip_initgroups_dyn.
16061 2010-11-19 Ulrich Drepper <drepper@gmail.com>
16063 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
16064 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
16066 2010-11-16 Ulrich Drepper <drepper@gmail.com>
16068 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
16070 2010-11-11 Andreas Schwab <schwab@redhat.com>
16072 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
16073 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
16074 (tst-fnmatch-ENV): Set MALLOC_TRACE.
16075 ($(objpfx)tst-fnmatch-mem): New rule.
16076 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
16077 * posix/tst-fnmatch.c (main): Call mtrace.
16079 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
16081 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16082 Support Intel processor model 6 and model 0x2c.
16084 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
16086 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
16089 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
16092 * string/test-strncasecmp.c (check_result): New function.
16093 (do_one_test): Use it.
16094 (check1): New function.
16095 (test_main): Use it.
16096 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
16097 Support strcasecmp and strncasecmp.
16099 2010-11-08 Ulrich Drepper <drepper@gmail.com>
16102 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
16103 * sysdeps/x86_64/bits/byteswap.h: Likewise.
16105 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
16107 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
16109 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16111 * sysdeps/x86_64/multiarch/bzero.S: New file.
16112 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
16113 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
16114 * sysdeps/x86_64/multiarch/memset.S: New file.
16115 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
16116 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16117 Set bit_Prefer_SSE_for_memop for Intel processors.
16118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
16120 (index_Prefer_SSE_for_memop): Define.
16121 (HAS_PREFER_SSE_FOR_MEMOP): Define.
16123 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
16125 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
16126 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
16128 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
16131 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16132 (__x86_64_raw_data_cache_size_half): Likewise.
16133 (__x86_64_raw_shared_cache_size): Likewise.
16134 (__x86_64_raw_shared_cache_size_half): Likewise.
16136 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
16137 (__x86_64_raw_data_cache_size_half): Likewise.
16138 (__x86_64_raw_shared_cache_size): Likewise.
16139 (__x86_64_raw_shared_cache_size_half): Likewise.
16140 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
16141 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
16142 and __x86_64_raw_shared_cache_size_half. Round
16143 __x86_64_data_cache_size_half, __x86_64_data_cache_size
16144 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
16145 to multiple of 256 bytes.
16147 2010-11-03 Ulrich Drepper <drepper@gmail.com>
16150 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
16151 of inacessible symlinks. Verify result of symlink before returning it.
16152 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16153 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
16155 2010-10-28 Erich Ritz <erichritz@gmail.com>
16157 * math/math.h (isinf): Fix typo in comment.
16159 2010-11-01 Ulrich Drepper <drepper@gmail.com>
16161 * po/da.po: Update from translation team.
16163 2010-10-26 Ulrich Drepper <drepper@gmail.com>
16165 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
16166 is added to the list.
16168 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16169 Ulrich Drepper <drepper@gmail.com>
16171 * elf/dl-object.c (_dl_new_object): Don't append the new object to
16172 the global list here. Move code to...
16173 (_dl_add_to_namespace_list): ...here. New function.
16174 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
16175 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
16176 * elf/dl-load.c (lose): Don't remove the element from the list.
16177 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
16178 (_dl_map_object): Likewise.
16180 2010-10-25 Ulrich Drepper <drepper@gmail.com>
16183 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
16184 into all bytes of SSE register.
16185 Patch by Richard Li <richardpku@gmail.com>.
16187 2010-10-24 Ulrich Drepper <drepper@gmail.com>
16190 * malloc/malloc.c (_int_free): Fill correct number of bytes when
16193 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
16195 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
16196 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
16197 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
16198 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
16199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
16201 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
16203 2010-10-22 Andreas Schwab <schwab@redhat.com>
16205 * include/dlfcn.h (__RTLD_SECURE): Define.
16206 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
16207 mode & __RTLD_SECURE instead.
16208 (open_path): Rename preloaded parameter to secure.
16209 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
16210 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
16211 * elf/dl-deps.c (openaux): Likewise.
16212 * elf/rtld.c (struct map_args): Remove is_preloaded.
16213 (map_doit): Don't use it.
16214 (dl_main): Likewise.
16215 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
16216 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
16218 2010-09-09 Andreas Schwab <schwab@redhat.com>
16220 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
16221 (sysd-rules-targets): Remove duplicates.
16222 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
16223 rtld-%.$o dependency.
16225 2010-10-18 Andreas Schwab <schwab@redhat.com>
16227 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
16228 _dl_map_object do it.
16230 2010-10-19 Ulrich Drepper <drepper@gmail.com>
16232 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
16233 fast fma builtins, define the macros in the C99 standard.
16234 (FP_FAST_FMAF): Likewise.
16235 (FP_FAST_FMAL): Likewise.
16236 * sysdeps/x86_64/bits/mathdef.h: Likewise.
16238 * bits/mathdef.h: Update copyright year.
16239 * sysdeps/powerpc/bits/mathdef.h: Likewise.
16241 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
16243 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
16244 builtins, define the macros in the C99 standard.
16245 (FP_FAST_FMAF): Likewise.
16246 (FP_FAST_FMAL): Likewise.
16247 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
16249 (FP_FAST_FMAF): Likewise.
16251 2010-10-15 Jakub Jelinek <jakub@redhat.com>
16254 * math/libm-test.inc (fma_test): Some new testcases.
16255 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
16256 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
16257 y and infinite z. Do multiplication by C already in long double.
16258 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
16259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
16260 y and infinite z. Do bitwise or of inexact bit into u.d.
16261 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
16262 * sysdeps/i386/fpu/s_fmaf.S: Removed.
16263 * sysdeps/i386/fpu/s_fma.S: Removed.
16264 * sysdeps/i386/fpu/s_fmal.S: Removed.
16266 2010-10-16 Jakub Jelinek <jakub@redhat.com>
16269 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
16270 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
16271 computation is not scheduled after fetestexcept. Fix value
16272 of minimum denormal long double.
16274 2010-10-14 Jakub Jelinek <jakub@redhat.com>
16277 * math/libm-test.inc (fma_test): Add some more tests.
16278 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
16281 2010-10-15 Andreas Schwab <schwab@redhat.com>
16283 * scripts/data/localplt-s390-linux-gnu.data: New file.
16284 * scripts/data/localplt-s390x-linux-gnu.data: New file.
16286 2010-10-13 Jakub Jelinek <jakub@redhat.com>
16289 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
16290 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
16292 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
16294 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
16295 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
16296 if one of x and y is very large and the other is subnormal.
16297 * sysdeps/s390/fpu/s_fmaf.c: New file.
16298 * sysdeps/s390/fpu/s_fma.c: New file.
16299 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
16300 * sysdeps/powerpc/fpu/s_fma.S: New file.
16301 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
16302 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
16303 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
16305 2010-10-12 Jakub Jelinek <jakub@redhat.com>
16308 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
16310 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
16311 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
16312 * sysdeps/i386/i686/multiarch/s_fma.c: Include
16313 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
16314 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
16315 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
16316 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
16318 2010-10-12 Ulrich Drepper <drepper@redhat.com>
16321 * posix/regcomp.c (parse_branch): One more memory leak plugged.
16322 * posix/bug-regex31.input: Add test case.
16324 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16326 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
16327 * posix/bug-regex31.input: New file.
16330 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
16331 (parse_sub_exp): Fix last change, use postorder.
16333 * posix/bug-regex31.c: New file.
16334 * posix/Makefile: Add rules to build and run bug-regex31.
16336 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
16339 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
16342 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
16343 to have entries in sys_siglist.
16346 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
16349 2010-10-07 Jakub Jelinek <jakub@redhat.com>
16352 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
16353 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
16354 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
16355 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
16356 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
16357 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
16358 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
16359 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
16360 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
16361 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
16362 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
16363 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
16364 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
16365 * math/ftestexcept.c (fetestexcept): Likewise.
16366 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
16367 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
16368 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
16369 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
16370 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
16371 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
16372 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16374 2010-10-11 Ulrich Drepper <drepper@gmail.com>
16377 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
16380 2010-10-06 Ulrich Drepper <drepper@gmail.com>
16382 * string/bug-strstr1.c: New file.
16383 * string/Makefile: Add rules to build and run bug-strstr1.
16385 2010-10-05 Eric Blake <eblake@redhat.com>
16388 * string/str-two-way.h (two_way_long_needle): Always clear memory
16389 when skipping input due to the shift table.
16391 2010-10-03 Ulrich Drepper <drepper@gmail.com>
16394 * malloc/mcheck.c: Handle large requests.
16397 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
16398 for strncmp and strncasecmp.
16399 * string/stratcliff.c: Add tests for strcmp and strncmp.
16400 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
16402 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
16404 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
16407 2010-09-30 Andreas Jaeger <aj@suse.de>
16409 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
16410 (CGROUP_SUPER_MAGIC): Define.
16411 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16412 Handle btrfs and cgroup file systems.
16413 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16416 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
16418 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
16419 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
16421 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16424 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
16425 trying to locate the ELF header.
16427 2010-09-27 Andreas Schwab <schwab@redhat.com>
16430 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
16431 Mask out sign-bit copies when constructing f_fsid.
16433 2010-09-24 Petr Baudis <pasky@suse.cz>
16435 * debug/stack_chk_fail_local.c: Add missing licence exception.
16436 * debug/warning-nop.c: Likewise.
16438 2010-09-15 Joseph Myers <joseph@codesourcery.com>
16440 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
16441 implementing getdents64 using getdents syscall, set d_type if
16442 __ASSUME_GETDENTS32_D_TYPE.
16444 2010-09-16 Andreas Schwab <schwab@redhat.com>
16446 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
16447 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
16449 2010-09-21 Ulrich Drepper <drepper@redhat.com>
16452 * posix/unistd.h: Undo change of feature selection for ftruncate from
16455 2010-09-20 Ulrich Drepper <drepper@redhat.com>
16457 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
16460 2010-09-20 Andreas Schwab <schwab@redhat.com>
16462 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
16464 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16466 2010-09-14 Andreas Schwab <schwab@redhat.com>
16468 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
16469 variables after CHECK_SP call.
16470 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
16472 2010-09-13 Andreas Schwab <schwab@redhat.com>
16473 Ulrich Drepper <drepper@redhat.com>
16475 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
16476 re-relocationg ld.so.
16477 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
16478 _dl_init_paths call.
16479 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
16482 2010-09-14 Ulrich Drepper <drepper@redhat.com>
16484 * resolv/res_init.c (__res_vinit): Count the default server we added.
16486 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
16487 Ulrich Drepper <drepper@redhat.com>
16490 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
16491 (____longjmp_chk): Use %ebx for saving value across system call.
16494 2010-09-06 Andreas Schwab <schwab@redhat.com>
16496 * manual/Makefile: Don't mix pattern rules with normal rules.
16498 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
16500 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
16502 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
16503 * libio/iofopncook.c (_IO_cookie_init): Likewise.
16504 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
16505 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
16506 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16509 2010-09-04 Ulrich Drepper <drepper@redhat.com>
16512 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
16513 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
16515 2010-09-02 Ulrich Drepper <drepper@redhat.com>
16517 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
16518 * sysdeps/x86_64/addmul_1.S: Likewise.
16519 * sysdeps/x86_64/lshift.S: Likewise.
16520 * sysdeps/x86_64/mul_1.S: Likewise.
16521 * sysdeps/x86_64/rshift.S: Likewise.
16522 * sysdeps/x86_64/sub_n.S: Likewise.
16523 * sysdeps/x86_64/submul_1.S: Likewise.
16525 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
16527 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
16528 Define __sched_param instead of SCHED_* and sched_param when
16529 <bits/sched.h> is included with __need_schedparam defined.
16530 * bits/sched.h [__need_schedparam]
16531 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
16532 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
16533 (__defined_schedparam): Define to 1.
16534 (__sched_param): New structure, identical to sched_param.
16535 (__need_schedparam): Undefine.
16537 2010-08-31 Mike Frysinger <vapier@gentoo.org>
16539 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
16540 (epoll_create1): Declare.
16542 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
16544 2010-08-31 Andreas Schwab <schwab@redhat.com>
16547 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
16548 shifting retval into place.
16550 2010-09-01 Ulrich Drepper <drepper@redhat.com>
16552 * nis/rpcsvc/nis.h: Update copyright notice.
16553 * nis/rpcsvc/nis.x: Likewise.
16554 * nis/rpcsvc/nis_callback.h: Likewise.
16555 * nis/rpcsvc/nis_callback.x: Likewise.
16556 * nis/rpcsvc/nis_object.x: Likewise.
16557 * nis/rpcsvc/nis_tags.h: Likewise.
16558 * nis/rpcsvc/yp.h: Likewise.
16559 * nis/rpcsvc/yp.x: Likewise.
16560 * nis/rpcsvc/ypupd.h: Likewise.
16561 * nis/yp_xdr.c: Likewise.
16562 * nis/ypupdate_xdr.c: Likewise.
16564 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
16565 mainly the body of pmap_getport. Add parameters to specify timeouts.
16566 (pmap_getport): Use __libc_rpc_getport.
16567 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
16568 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
16569 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
16571 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
16576 2010-08-27 Roland McGrath <roland@redhat.com>
16578 * sysdeps/i386/i686/multiarch/Makefile
16579 (CFLAGS-varshift.c): New variable.
16581 2010-08-27 Ulrich Drepper <drepper@redhat.com>
16583 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
16584 * sysdeps/i386/i686/multiarch/varshift.c: New file.
16586 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
16588 * sysdeps/x86_64/strlen.S: Minimal code improvement.
16590 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
16592 * sysdeps/x86_64/strlen.S: Unroll the loop.
16593 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16594 strlen-sse2 strlen-sse2-bsf.
16595 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
16596 __strlen_no_bsf if bit_Slow_BSF is set.
16597 (__strlen_sse42): Removed.
16598 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
16599 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
16601 2010-08-25 Roland McGrath <roland@redhat.com>
16603 * sysdeps/x86_64/multiarch/varshift.S: File removed.
16604 * sysdeps/x86_64/multiarch/varshift.c: New file.
16605 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
16606 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
16607 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
16608 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16610 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
16612 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
16613 strlen-sse2 strlen-sse2-bsf.
16614 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
16615 __strlen_sse2_bsf if bit_Slow_BSF is unset.
16616 (__strlen_sse2): Removed.
16617 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
16618 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
16619 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16620 bit_Slow_BSF for Atom.
16621 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
16622 (index_Slow_BSF): Define.
16623 (HAS_SLOW_BSF): Define.
16625 2010-08-25 Ulrich Drepper <drepper@redhat.com>
16628 * resolv/res_init.c (__res_vinit): When no server address at all
16629 is given default to loopback.
16631 2010-08-24 Roland McGrath <roland@redhat.com>
16633 * configure.in: Remove config-name.h generation.
16634 * configure: Regenerated.
16635 * config-name.in: File removed.
16636 * scripts/config-uname.sh: New file.
16637 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
16638 ($(objdir)config-name.h): New target.
16640 * sunrpc/rpc_parse.h: Avoid nested comment.
16642 2010-08-24 Richard Henderson <rth@redhat.com>
16643 Ulrich Drepper <drepper@redhat.com>
16644 H.J. Lu <hongjiu.lu@intel.com>
16646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
16647 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
16648 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
16649 Replace _mm_srli_si128 with __m128i_shift_right. Replace
16650 _mm_alignr_epi8 with _mm_loadu_si128.
16651 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
16652 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
16653 (__m128i_shift_right): Removed.
16654 * sysdeps/i386/i686/multiarch/varshift.h: New file.
16655 * sysdeps/i386/i686/multiarch/varshift.S: New file.
16656 * sysdeps/x86_64/multiarch/varshift.h: New file.
16657 * sysdeps/x86_64/multiarch/varshift.S: New file.
16659 2010-08-21 Mike Frysinger <vapier@gentoo.org>
16661 * configure.in: Move assembler checks to before sysdep dir checking.
16663 2010-08-20 Petr Baudis <pasky@suse.cz>
16665 * LICENSES: Sync the sunrpc license.
16667 2010-08-19 Ulrich Drepper <drepper@redhat.com>
16669 * sunrpc/auth_des.c: Update copyright notice once again.
16670 * sunrpc/auth_none.c: Likewise.
16671 * sunrpc/auth_unix.c: Likewise.
16672 * sunrpc/authdes_prot.c: Likewise.
16673 * sunrpc/authuxprot.c: Likewise.
16674 * sunrpc/bindrsvprt.c: Likewise.
16675 * sunrpc/clnt_gen.c: Likewise.
16676 * sunrpc/clnt_perr.c: Likewise.
16677 * sunrpc/clnt_raw.c: Likewise.
16678 * sunrpc/clnt_simp.c: Likewise.
16679 * sunrpc/clnt_tcp.c: Likewise.
16680 * sunrpc/clnt_udp.c: Likewise.
16681 * sunrpc/clnt_unix.c: Likewise.
16682 * sunrpc/des_crypt.c: Likewise.
16683 * sunrpc/des_soft.c: Likewise.
16684 * sunrpc/get_myaddr.c: Likewise.
16685 * sunrpc/getrpcport.c: Likewise.
16686 * sunrpc/key_call.c: Likewise.
16687 * sunrpc/key_prot.c: Likewise.
16688 * sunrpc/openchild.c: Likewise.
16689 * sunrpc/pm_getmaps.c: Likewise.
16690 * sunrpc/pm_getport.c: Likewise.
16691 * sunrpc/pmap_clnt.c: Likewise.
16692 * sunrpc/pmap_prot.c: Likewise.
16693 * sunrpc/pmap_prot2.c: Likewise.
16694 * sunrpc/pmap_rmt.c: Likewise.
16695 * sunrpc/rpc/auth.h: Likewise.
16696 * sunrpc/rpc/auth_unix.h: Likewise.
16697 * sunrpc/rpc/clnt.h: Likewise.
16698 * sunrpc/rpc/des_crypt.h: Likewise.
16699 * sunrpc/rpc/key_prot.h: Likewise.
16700 * sunrpc/rpc/netdb.h: Likewise.
16701 * sunrpc/rpc/pmap_clnt.h: Likewise.
16702 * sunrpc/rpc/pmap_prot.h: Likewise.
16703 * sunrpc/rpc/pmap_rmt.h: Likewise.
16704 * sunrpc/rpc/rpc.h: Likewise.
16705 * sunrpc/rpc/rpc_des.h: Likewise.
16706 * sunrpc/rpc/rpc_msg.h: Likewise.
16707 * sunrpc/rpc/svc.h: Likewise.
16708 * sunrpc/rpc/svc_auth.h: Likewise.
16709 * sunrpc/rpc/types.h: Likewise.
16710 * sunrpc/rpc/xdr.h: Likewise.
16711 * sunrpc/rpc_clntout.c: Likewise.
16712 * sunrpc/rpc_cmsg.c: Likewise.
16713 * sunrpc/rpc_common.c: Likewise.
16714 * sunrpc/rpc_cout.c: Likewise.
16715 * sunrpc/rpc_dtable.c: Likewise.
16716 * sunrpc/rpc_hout.c: Likewise.
16717 * sunrpc/rpc_main.c: Likewise.
16718 * sunrpc/rpc_parse.c: Likewise.
16719 * sunrpc/rpc_parse.h: Likewise.
16720 * sunrpc/rpc_prot.c: Likewise.
16721 * sunrpc/rpc_sample.c: Likewise.
16722 * sunrpc/rpc_scan.c: Likewise.
16723 * sunrpc/rpc_scan.h: Likewise.
16724 * sunrpc/rpc_svcout.c: Likewise.
16725 * sunrpc/rpc_tblout.c: Likewise.
16726 * sunrpc/rpc_util.c: Likewise.
16727 * sunrpc/rpc_util.h: Likewise.
16728 * sunrpc/rpcinfo.c: Likewise.
16729 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
16730 * sunrpc/rpcsvc/key_prot.x: Likewise.
16731 * sunrpc/rpcsvc/klm_prot.x: Likewise.
16732 * sunrpc/rpcsvc/mount.x: Likewise.
16733 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
16734 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
16735 * sunrpc/rpcsvc/rex.x: Likewise.
16736 * sunrpc/rpcsvc/rstat.x: Likewise.
16737 * sunrpc/rpcsvc/rusers.x: Likewise.
16738 * sunrpc/rpcsvc/sm_inter.x: Likewise.
16739 * sunrpc/rpcsvc/spray.x: Likewise.
16740 * sunrpc/rpcsvc/yppasswd.x: Likewise.
16741 * sunrpc/rtime.c: Likewise.
16742 * sunrpc/svc.c: Likewise.
16743 * sunrpc/svc_auth.c: Likewise.
16744 * sunrpc/svc_authux.c: Likewise.
16745 * sunrpc/svc_raw.c: Likewise.
16746 * sunrpc/svc_run.c: Likewise.
16747 * sunrpc/svc_simple.c: Likewise.
16748 * sunrpc/svc_tcp.c: Likewise.
16749 * sunrpc/svc_udp.c: Likewise.
16750 * sunrpc/svc_unix.c: Likewise.
16751 * sunrpc/svcauth_des.c: Likewise.
16752 * sunrpc/xcrypt.c: Likewise.
16753 * sunrpc/xdr.c: Likewise.
16754 * sunrpc/xdr_array.c: Likewise.
16755 * sunrpc/xdr_float.c: Likewise.
16756 * sunrpc/xdr_mem.c: Likewise.
16757 * sunrpc/xdr_rec.c: Likewise.
16758 * sunrpc/xdr_ref.c: Likewise.
16759 * sunrpc/xdr_sizeof.c: Likewise.
16760 * sunrpc/xdr_stdio.c: Likewise.
16762 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
16765 2010-08-19 Andreas Schwab <schwab@redhat.com>
16767 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
16769 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
16771 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
16772 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
16773 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
16774 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
16775 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
16776 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
16777 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
16778 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
16779 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
16780 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
16781 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
16782 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
16783 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
16784 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
16786 2010-07-26 Anton Blanchard <anton@samba.org>
16788 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
16789 * malloc/arena.c (heap_trim): Likewise.
16791 2010-08-16 Ulrich Drepper <drepper@redhat.com>
16793 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
16795 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
16796 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
16798 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
16800 * sysdeps/i386/elf/Makefile: New file.
16802 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16804 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
16805 from fanotify_init.
16806 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
16807 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16809 2010-08-15 Ulrich Drepper <drepper@redhat.com>
16811 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
16813 * sysdeps/multiarch/strcmp.S: Likewise.
16815 2010-08-14 Ulrich Drepper <drepper@redhat.com>
16817 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
16818 strncase_l-nonascii.
16819 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16820 Add strncase_l-ssse3.
16821 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
16822 * sysdeps/x86_64/strcmp.S: Likewise.
16823 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
16824 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
16825 * sysdeps/x86_64/strncase.S: New file.
16826 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
16827 * sysdeps/x86_64/strncase_l.S: New file.
16828 * string/Makefile (strop-tests): Add strncasecmp.
16829 * string/test-strncasecmp.c: New file.
16831 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
16834 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
16835 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
16837 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
16839 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
16841 2010-08-12 Ulrich Drepper <drepper@redhat.com>
16843 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
16844 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
16845 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
16847 2010-05-01 Alan Modra <amodra@gmail.com>
16849 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
16850 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
16851 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
16852 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
16853 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
16854 tidying. Don't tail-call __sigjmp_save for static lib.
16855 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
16857 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
16858 (CALL_MCOUNT): Add eh info, and nop after bl.
16859 (TAIL_CALL_SYSCALL_ERROR): New macro.
16860 (PSEUDO_RET): Use it.
16861 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
16862 Correct save location of integer regs and cr.
16863 (_dl_profile_resolve): Correct cr save location. Delete nops
16864 after bl when SHARED. Reduce cfi size a little by better
16865 placement of cfi directives.
16866 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
16867 make a stack frame. Instead use parm save area as a temp.
16868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
16869 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
16870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
16871 Don't make a stack frame for parent, use parm save area.
16872 Increase child stack frame to 112 bytes. Don't save unused reg,
16873 and adjust reg usage. Set up cfi on error recovery and
16874 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
16876 (__makecontext): Add dummy nop after jump to exit.
16877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
16878 Use correct parm save area and cr save, reduce stack frame.
16879 Correct cfi for possible PSEUDO_RET frame setup.
16880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
16881 Branch to local label emitted by PSEUDO_RET rather than
16884 2010-08-12 Andreas Schwab <schwab@redhat.com>
16887 * locale/programs/locale.c (print_assignment): New function.
16888 (show_locale_vars): Use it.
16890 2010-08-11 Ulrich Drepper <drepper@redhat.com>
16892 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
16894 (struct statfs64): Likewise.
16895 (_STATFS_F_FLAGS): Define.
16896 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
16897 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16898 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
16899 (ST_VALID): Define locally.
16900 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
16901 __statvfs_getflags, use the provided value.
16902 * sysdeps/unix/sysv/linux/kernel-features.h: Define
16903 __ASSUME_STATFS_F_FLAGS.
16905 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
16907 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
16908 Add sys/fanotify.h.
16909 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
16910 fanotify_mask for GLIBC_2.13.
16911 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
16912 fanotify_init and fanotify_mark.
16913 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
16914 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
16916 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
16918 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
16919 prlimit64 for GLIBC_2.13.
16920 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
16922 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
16924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
16925 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
16926 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
16927 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
16928 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
16930 * sysdeps/unix/sysv/linux/prlimit.c: New file.
16933 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
16934 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
16936 * nss/Makefile: Add rules to build and run tst-nss-test1.
16937 * shlib-versions: Add entry for libnss_test1.
16938 * nss/nss_test1.c: New file.
16939 * nss/tst-nss-test1.c: New file.
16941 * nss/nsswitch.c (__nss_database_custom): Define new variable.
16942 (__nss_configure_lookup): Set appropriate entry in
16943 __nss_configure_lookup to true.
16944 * nss/nsswitch.h: Define enum with indeces of databases in
16945 databases and __nss_database_custom arrays. Declare
16946 __nss_database_custom.
16947 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
16948 to avoid using nscd when custom rules are installed.
16949 * nss/getXXbyYY_r.c: Likewise.
16950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16952 * nss/nss_files/files-parse.c: Whitespace fixes.
16954 2010-08-09 Ulrich Drepper <drepper@redhat.com>
16957 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
16958 * posix/fnmatch_loop.c: Likewise.
16960 2010-07-17 Andi Kleen <ak@linux.intel.com>
16962 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
16963 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
16964 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
16965 * Versions.def [GLIBC_2.13]: Add.
16967 2010-08-06 Ulrich Drepper <drepper@redhat.com>
16969 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
16970 Also fail if tpwd after pwuid call is NULL.
16972 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
16974 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
16975 when converting to ms.
16977 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
16979 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
16980 EOPNOTSUPP errors with ENOTTY.
16981 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
16982 EOPNOTSUPP errors with ENOTTY.
16984 2010-07-31 Ulrich Drepper <drepper@redhat.com>
16986 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
16987 Add strcasecmp_l-ssse3.
16988 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
16990 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
16991 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
16992 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
16994 2010-07-30 Ulrich Drepper <drepper@redhat.com>
16996 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
16998 * string/Makefile (strop-tests): Add strcasecmp.
16999 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
17000 strcasecmp_l-nonascii.
17001 (gen-as-const-headers): Add locale-defines.sym.
17002 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
17003 * sysdeps/x86_64/strcasecmp.S: New file.
17004 * sysdeps/x86_64/strcasecmp_l.S: New file.
17005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
17006 * sysdeps/x86_64/locale-defines.sym: New file.
17007 * string/test-strcasecmp.c: New file.
17009 * string/test-strcasestr.c: Test both ends of the range of characters.
17010 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
17012 2010-07-29 Roland McGrath <roland@redhat.com>
17015 * manual/locale.texi (Yes-or-No Questions): Fix example code.
17017 2010-07-27 Ulrich Drepper <drepper@redhat.com>
17019 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
17022 2010-07-27 Andreas Schwab <schwab@redhat.com>
17024 * manual/memory.texi (Malloc Tunable Parameters): Document
17027 2010-07-26 Roland McGrath <roland@redhat.com>
17030 * configure.in (-fgnu89-inline check): Set and substitute
17031 gnu89_inline, not libc_cv_gnu89_inline.
17032 * configure: Regenerated.
17033 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
17035 2010-07-26 Ulrich Drepper <drepper@redhat.com>
17037 * string/test-strnlen.c: New file.
17038 * string/Makefile (strop-tests): Add strnlen.
17039 * string/tester.c (test_strnlen): Add a few more test cases.
17040 * string/tst-strlen.c: Better error reporting.
17042 * sysdeps/x86_64/strnlen.S: New file.
17044 2010-07-24 Ulrich Drepper <drepper@redhat.com>
17046 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
17047 lower-latency instructions.
17049 2010-07-23 Ulrich Drepper <drepper@redhat.com>
17051 * string/test-strcasestr.c: New file.
17052 * string/test-strstr.c: New file.
17053 * string/Makefile (strop-tests): Add strstr and strcasestr.
17054 * string/str-two-way.h: Don't undefine MAX.
17055 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
17057 2010-07-21 Andreas Schwab <schwab@redhat.com>
17059 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
17060 strcasestr-nonascii.
17061 (CFLAGS-strcasestr-nonascii.c): Define.
17062 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
17063 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
17064 Remove unused attribute.
17066 2010-07-20 Roland McGrath <roland@redhat.com>
17068 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
17069 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
17070 ld.so.cache was broken. With it, there is no way to disable dsocaps
17071 like LD_HWCAP_MASK can disable hwcaps.
17073 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17075 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
17077 2010-07-16 Ulrich Drepper <drepper@redhat.com>
17079 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
17080 call in strcasestr.
17081 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
17082 __strcasestr_sse42_nonascii.
17083 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
17084 strcasestr-nonascii.c.
17085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
17087 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
17089 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
17090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
17091 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
17092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
17094 2010-07-09 Ulrich Drepper <drepper@redhat.com>
17096 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
17099 2010-07-06 Andreas Schwab <schwab@redhat.com>
17102 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
17105 2010-07-06 Ulrich Drepper <drepper@redhat.com>
17107 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
17108 _PC_PIPE_BUF using F_GETPIPE_SZ.
17110 2010-07-05 Roland McGrath <roland@redhat.com>
17112 * manual/arith.texi (Rounding Functions): Fix rint description
17113 implicit in round description.
17115 2010-07-02 Ulrich Drepper <drepper@redhat.com>
17117 * elf/Makefile: Fix linking for a few tests to make recent linker
17120 2010-06-30 Andreas Schwab <schwab@redhat.com>
17122 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
17123 $(common-objpfx)libc_nonshared.a.
17125 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
17127 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
17128 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
17129 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17130 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17131 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
17132 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
17133 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17134 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
17136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
17137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
17138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
17139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
17140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
17141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
17142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
17143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
17144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
17145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
17147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
17148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
17149 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
17150 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
17151 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
17152 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
17153 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
17154 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
17155 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
17156 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
17157 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
17158 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
17159 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
17160 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
17161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
17162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
17163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
17164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
17165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
17166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
17167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
17168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
17169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
17170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
17171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
17172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
17173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
17174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
17176 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
17178 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
17179 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
17180 * string/memmove.c (memmove): Renamed to ...
17181 (MEMMOVE): ...this. Default to memmove.
17182 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
17183 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
17185 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17186 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
17187 mempcpy-ssse3-back memmove-ssse3-back.
17188 * sysdeps/x86_64/multiarch/bcopy.S: New file .
17189 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
17190 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
17191 * sysdeps/x86_64/multiarch/memcpy.S: New file.
17192 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
17193 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
17194 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
17195 * sysdeps/x86_64/multiarch/memmove.c: New file.
17196 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
17197 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
17198 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
17199 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
17200 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
17201 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
17203 (index_Fast_Copy_Backward): Define.
17204 (HAS_ARCH_FEATURE): Define.
17205 (HAS_FAST_REP_STRING): Define.
17206 (HAS_FAST_COPY_BACKWARD): Define.
17208 2010-06-21 Andreas Schwab <schwab@redhat.com>
17210 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17211 Restore proper fallback handling.
17213 2010-06-19 Ulrich Drepper <drepper@redhat.com>
17216 * posix/group_member.c (__group_member): Correct checking loop.
17218 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
17219 OOM in getpwuid_r correctly. Return error number when the caller
17220 should return, otherwise -1.
17221 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
17222 call returning > 0 value.
17223 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
17225 2010-06-07 Andreas Schwab <schwab@redhat.com>
17227 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
17228 libc_nonshared.a from targets in modules-names.
17230 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
17232 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
17235 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
17237 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
17238 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
17239 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
17240 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
17242 2010-06-02 Andreas Schwab <schwab@redhat.com>
17244 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
17246 2010-06-14 Ulrich Drepper <drepper@redhat.com>
17248 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
17250 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
17251 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
17252 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17254 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
17255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
17257 2010-06-14 Roland McGrath <roland@redhat.com>
17259 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
17261 2010-06-07 Jakub Jelinek <jakub@redhat.com>
17263 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
17264 __REDIRECT followed by __THROW.
17265 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
17266 * posix/getopt.h (getopt): Likewise.
17268 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
17270 * hurd/lookup-at.c (__file_name_lookup_at): Accept
17271 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
17272 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
17274 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
17275 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
17277 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
17279 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
17281 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
17284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17285 Properly check family and model.
17287 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
17289 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
17291 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
17293 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
17295 2010-05-21 Ulrich Drepper <drepper@redhat.com>
17297 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
17300 2010-05-19 Andreas Schwab <schwab@redhat.com>
17302 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
17305 2010-05-21 Andreas Schwab <schwab@redhat.com>
17307 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
17308 and internal_recvmmsg.
17309 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
17310 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
17311 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
17312 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
17314 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
17315 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
17316 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
17318 2010-05-20 Andreas Schwab <schwab@redhat.com>
17320 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
17322 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
17324 POWER7 optimizations.
17325 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
17326 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
17328 2010-05-19 Ulrich Drepper <drepper@redhat.com>
17330 * version.h: Update for 2.13 development version.
17332 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
17334 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
17335 exceptions. Return 0.
17337 2010-05-07 Roland McGrath <roland@redhat.com>
17339 * elf/ldconfig.c (main): Add a const.
17341 2010-05-06 Ulrich Drepper <drepper@redhat.com>
17343 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
17344 (args_options): Add no-idn option.
17345 (ahosts_keys_int): Add idn_flags to ai_flags.
17346 (parse_option): Handle 'i' option to clear idn_flags.
17348 * malloc/malloc.c (_int_free): Possible race in the most recently
17349 added check. Only act on the data if no current modification
17352 See ChangeLog.17 for earlier changes.